paper-with-me

Papers

GenKubeSec: LLM-Based Kubernetes Misconfiguration Detection, Localization, Reasoning, and Remediation

2024-05-30 · Ehud Malul, Yair Meidan, Dudu Mimran, Yuval Elovici, Asaf Shabtai

A key challenge associated with Kubernetes configuration files (KCFs) is that they are often highly complex and error-prone, leading to security vulnerabilities and operational setbacks. Rule-based (RB) tools for KCF misconfiguration detection rely on static rule sets, making them inherently limited and unable to detect newly-discovered misconfigurations. RB tools also suffer from misdetection, since mistakes are likely when coding the detection rules. Recent methods for detecting and remediating KCF misconfigurations are limited in terms of their scalability and detection coverage, or due to the fact that they have high expertise requirements and do not offer automated remediation along with misconfiguration detection. Novel approaches that employ LLMs in their pipeline rely on API-based, general-purpose, and mainly commercial models. Thus, they pose security challenges, have inconsistent classification performance, and can be costly. In this paper, we propose GenKubeSec, a comprehensive and adaptive, LLM-based method, which, in addition to detecting a wide variety of KCF misconfigurations, also identifies the exact location of the misconfigurations and provides detailed reasoning about them, along with suggested remediation. When empirically compared with three industry-standard RB tools, GenKubeSec achieved equivalent precision (0.990) and superior recall (0.999). When a random sample of KCFs was examined by a Kubernetes security expert, GenKubeSec's explanations as to misconfiguration localization, reasoning and remediation were 100% correct, informative and useful. To facilitate further advancements in this domain, we share the unique dataset we collected, a unified misconfiguration index we developed for label standardization, our experimentation code, and GenKubeSec itself as an open-source tool.

📄 PDF Abstract BibTeX arXiv:2405.19954

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

LLMSecConfig: An LLM-Based Approach for Fixing Software Container Misconfigurations

2025-02-04 · Ziyang Ye, Triet Huynh Minh Le, M. Ali Babar

Security misconfigurations in Container Orchestrators (COs) can pose serious threats to software systems. While Static Analysis Tools (SATs) can effectively detect these security vulnerabilities, the industry currently l…

ManagementRAGRetrieval-augmented Generation

KubeGuard: LLM-Assisted Kubernetes Hardening via Configuration Files and Runtime Logs Analysis

2025-09-04 · Omri Sgan Cohen, Ehud Malul, Yair Meidan, Dudu Mimran 외 arxiv

The widespread adoption of Kubernetes (K8s) for orchestrating cloud-native applications has introduced significant security challenges, such as misconfigured resources and overly permissive configurations. Failing to add…

Anomaly Detection

LLM-assisted gNB Parameter Configuration for Radio Access Network

2026-05-01 · Yao-Cong Dong, Maria Amparo Canaveras Galdon, Ari Uskudar, Kuntal Chowdhury 외 arxiv

gNB parameter misconfigurations are a common cause of system failures in radio access networks (RANs), and their diagnosis and correction rely on manual analysis of complex network logs that does not scale well. This pap…

Synthetic Data Generation

Reasoning-Driven Anomaly Detection and Localization with Image-Level Supervision

2026-03-28 · Yizhou Jin, Yuezhu Feng, Jinjin Zhang, Peng Wang 외 arxiv

Multimodal large language models (MLLMs) have recently demonstrated remarkable reasoning and perceptual abilities for anomaly detection. However, most approaches remain confined to image-level anomaly detection and textu…

Reinforcement LearningAnomaly Detection

Detection of security smells in IaC scripts through semantics-aware code and language processing

2025-09-23 · Aicha War, Adnan A. Rawass, Abdoul K. Kabore, Jordan Samhi 외 arxiv

Infrastructure as Code (IaC) automates the provisioning and management of IT infrastructure through scripts and tools, streamlining software deployment. Prior studies have shown that IaC scripts often contain recurring s…