KubeRosy: A Dynamic System Call Filtering Framework for Containers
Open Access
- 28 October 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 12, 159889-159901
Abstract
With the rapid adoption of cloud environments, container technology has become crucial for the efficient operation of large-scale applications. Although container technology offers high efficiency and scalability through low-level isolation via shared host operating systems, it also introduces security vulnerabilities, such as container escape and privilege escalation attacks through system call exploitation. Seccomp-BPF, one of the most widely used system call filtering mechanisms, supports container environments but cannot update system call policies while containers are running. To address these limitations, we propose KUBEROSY, a system call filtering framework that allows dynamic modification of system call policies without downtime, even during container runtime. KUBEROSY leverages eBPF and LSM hooks to support fine-grained system call policies while ensuring compatibility with existing Seccomp-BPF environments. This approach enables the application of customized, granular system call policies tailored to container environments, thereby reducing the attack surface. Our evaluation shows that KUBEROSY incurs an additional overhead of only 722 ns compared to traditional Seccomp-BPF, which is negligible. Furthermore, KUBEROSY allows for dynamic policy modification without container downtime and provides precise argument-based filtering, demonstrating its practicality and efficiency.Keywords
Funding Information
- National Research Foundation of Korea (NRF) grant
- Korea government (2022R1C1C1006093)
This publication has 9 references indexed in Scilit:
- POSTER: Seccomp profiling with Dynamic Analysis via ChatGPT-assisted Test Code Generation2024
- Optimus: association-based dynamic system call filtering for container attack surface reductionJournal of Cloud Computing, 2024
- Protect the System Call, Protect (Most of) the World with BASTION2023
- Container Instrumentation and Enforcement System for Runtime Security of Kubernetes Platform with eBPFIntelligent Automation and Soft Computing, 2023
- Shrinking the Kernel Attack Surface Through Static and Dynamic Syscall LimitationIEEE Transactions on Services Computing, 2022
- Sprofiler: Automatic Generating System of Container-Native System Call Filtering Rules for Attack Surface Reduction2021
- Prof-gen: Practical Study on System Call Whitelist Generation for Container Attack Surface Reduction2021
- bpfbox2020
- SPEAKER: Split-Phase Execution of Application Containers2017