SNAPPY: Programmable Kernel-Level Policies for Containers

被引:3
作者
Belair, Maxime [1 ]
Laniepce, Sylvie [2 ]
Menaud, Jean-Marc [3 ]
机构
[1] Orange Labs, LS2N, IMT Atlantique, Caen, France
[2] Orange Labs, Caen, France
[3] IMT Atlantique, INRIA, LS2N, STACK, Nantes, France
来源
36TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, SAC 2021 | 2021年
关键词
SNAPPY; Container; Security; Namespace; eBPF; Programmable; Policy; LSM; Kernel; Linux; Implementation; Cloud;
D O I
10.1145/3412841.3442037
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:1636 / 1645
页数:10
相关论文
共 50 条
[21]   XenDebugger: a source level kernel debugger on Xen virtualization [J].
Li, Chao ;
Qi, Zhengwei .
2012 INTERNATIONAL SYMPOSIUM ON INFORMATION SCIENCE AND ENGINEERING (ISISE), 2012, :501-505
[22]   A Qualitative Study of Health in All Policies at the Local Level [J].
Mundo, William ;
Manetta, Peter ;
Fort, Meredith P. ;
Sauaia, Angela .
INQUIRY-THE JOURNAL OF HEALTH CARE ORGANIZATION PROVISION AND FINANCING, 2019, 56
[23]   Class-Oriented Weighted Kernel Sparse Representation With Region-Level Kernel for Hyperspectral Imagery Classification [J].
Gan, Le ;
Xia, Junshi ;
Du, Peijun ;
Chanussot, Jocelyn .
IEEE JOURNAL OF SELECTED TOPICS IN APPLIED EARTH OBSERVATIONS AND REMOTE SENSING, 2018, 11 (04) :1118-1130
[24]   State-Level Influences on Community-Level Municipal Sustainable Energy Policies [J].
Farmer, Jayce L. .
URBAN AFFAIRS REVIEW, 2022, 58 (04) :1065-1095
[25]   Internationalization of higher education: Students' choice at the European level and suitable policies at the national level [J].
Andreea, Mirica ;
Parvan, Andrei ;
Tudorel, Andrei .
INNOVATION MANAGEMENT AND SUSTAINABLE ECONOMIC COMPETITIVE ADVANTAGE: FROM REGIONAL DEVELOPMENT TO GLOBAL GROWTH, VOLS I - VI, 2015, 2015, :59-+
[26]   Understanding the IO Performance Gap between OS-level and VM-level Containers in High-Density Deployment [J].
Li, Wentai ;
Zhou, Kaijun ;
Shi, Jiacheng ;
Chen, Xingman ;
Liu, Yadong ;
Wang, Luyuan ;
Gu, Jinyu .
2024 IEEE 44TH INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS, ICDCS 2024, 2024, :438-449
[27]   An Evolutional Topology Optimization Method Based on Kernel Level Set Function [J].
Sato, Takahiro ;
Watanabe, Kota ;
Igarashi, Hajime .
IEEE ACCESS, 2025, 13 :47181-47200
[28]   iKern: Advanced Intrusion Detection and Prevention at the Kernel Level Using eBPF [J].
Hadi, Hassan Jalil ;
Adnan, Mubashir ;
Cao, Yue ;
Hussain, Faisal Bashir ;
Ahmad, Naveed ;
Alshara, Mohammed Ali ;
Javed, Yasir .
TECHNOLOGIES, 2024, 12 (08)
[29]   The Level Structures of the Kernel and Hull on Lattice—Valued Funcetions and Induced Spaces [J].
李永明 .
数学季刊, 1993, (03) :82-87
[30]   A new non-touching ultrasonic measuring method of fixed liquid level for pressure containers [J].
Min, MZ ;
Min, W ;
Cai, HJ ;
Hong, ZX .
FIFTH INTERNATIONAL SYMPOSIUM ON INSTRUMENTATION AND CONTROL TECHNOLOGY, 2003, 5253 :292-295