Skip to Main content Skip to Navigation
Conference papers

SNAPPY: Programmable Kernel-Level Policies for Containers

Abstract : Compared to full virtualization, containerization reduces virtualization overhead and resource usage, offers reduced deployment latency and improves reusability. For these reasons, containerization is massively used in an increasing number of applications. However, because containers share a full kernel with the host, they are more vulnerable to attacks that may compromise the host and the other containers on the system. In this paper, we present SNAPPY (Safe Namespaceable And Programmable PolicY), a new framework that allows even unprivileged processes such as containers to safely and dynamically enforce in the kernel fine-grained, stackable and programmable eBPF security policies at runtime. This is done by making working coordinately a new LSM (Linux Security Module) Module, a new security Linux namespace abstraction (policy_NS) and eBPF policies enriched with ’dynamic helpers’. This design especially allows to minimize containers’ attack surface. Our design may be applied to any processes but is particularly suitable for container-based use cases. We show that SNAPPY can effectively increase the security level of containers for different use cases, can be easily integrated with the most relevant norms (OCI, Open Container Initiative) and containerization engines (Docker and runC) and has a performance overhead lower than 0.09% in realistic scenarios.
Complete list of metadatas

https://hal.inria.fr/hal-03108231
Contributor : Jean-Marc Menaud <>
Submitted on : Wednesday, January 13, 2021 - 9:27:33 AM
Last modification on : Tuesday, February 2, 2021 - 2:26:02 PM

File

SACBelair.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-03108231, version 1

Citation

Maxime Belair, Sylvie Laniepce, Jean-Marc Menaud. SNAPPY: Programmable Kernel-Level Policies for Containers. SAC 2021 : 36th ACM/SIGAPP Symposium On Applied Computing, Mar 2021, Gwangju / Virtual, South Korea. ⟨hal-03108231⟩

Share

Metrics

Record views

263

Files downloads

332