The growing adoption of edge computing has introduced new architectural paradigms and increased complexity in IoT ecosystems. This shift, while beneficial in terms of latency, bandwidth, and resilience, also brings unresolved security challenges–particularly in platforms like KubeEdge, which extend Kubernetes functionalities to the edge. In this paper, we present a structured and automated security assessment of a real-world KubeEdge deployment by applying an expert system-based methodology (ESSecA). ESSecA adopts a threat-driven, model-based, and knowledge-supported approach to generate threat models, perform risk analysis, and plan penetration tests. We model the system using the MACM formalism, capturing both components and their interactions. The assessment reveals several security issues, especially concerning the MQTT-based communication between edge and IoT devices. We executed a set of penetration tests, including message tampering and unauthorized device control, exploiting insecure configurations in the MQTT broker. The identified vulnerabilities confirm the need for systematic security evaluations in edge environments. We propose countermeasures and outline future work aimed at enhancing the formal model to support dynamic system configurations and automated mitigation selection. To the best of our knowledge, there is no report in the literature regarding a comprehensive security assessment of a KubeEdge deployment. This work aims to fill that gap by providing the first such analysis.
On the Edge of Security: Threat-Driven Pentest of KubeEdge with ESSecA
Moretta, Felice
;Granata, Daniele;Rak, Massimiliano
2025
Abstract
The growing adoption of edge computing has introduced new architectural paradigms and increased complexity in IoT ecosystems. This shift, while beneficial in terms of latency, bandwidth, and resilience, also brings unresolved security challenges–particularly in platforms like KubeEdge, which extend Kubernetes functionalities to the edge. In this paper, we present a structured and automated security assessment of a real-world KubeEdge deployment by applying an expert system-based methodology (ESSecA). ESSecA adopts a threat-driven, model-based, and knowledge-supported approach to generate threat models, perform risk analysis, and plan penetration tests. We model the system using the MACM formalism, capturing both components and their interactions. The assessment reveals several security issues, especially concerning the MQTT-based communication between edge and IoT devices. We executed a set of penetration tests, including message tampering and unauthorized device control, exploiting insecure configurations in the MQTT broker. The identified vulnerabilities confirm the need for systematic security evaluations in edge environments. We propose countermeasures and outline future work aimed at enhancing the formal model to support dynamic system configurations and automated mitigation selection. To the best of our knowledge, there is no report in the literature regarding a comprehensive security assessment of a KubeEdge deployment. This work aims to fill that gap by providing the first such analysis.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


