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 条
[41]   Analyzing Group-Level Emotion with Global Alignment Kernel based Approach [J].
Huang, Xiaohua ;
Dhall, Abhinav ;
Goecke, Roland ;
Pietikainen, Matti ;
Zhao, Guoying .
IEEE TRANSACTIONS ON AFFECTIVE COMPUTING, 2022, 13 (02) :713-728
[42]   District wellness policies and school-level practices in Minnesota, USA [J].
Larson, Nicole ;
Davey, Cynthia ;
Hoffman, Pamela ;
Kubik, Martha Y. ;
Nanney, Marilyn S. .
PUBLIC HEALTH NUTRITION, 2016, 19 (01) :26-35
[43]   Association and Diffusion of Nutrition and Physical Activity Policies on the State and District Level [J].
Taber, Daniel R. ;
Chriqui, Jamie F. ;
Chaloupka, Frank J. .
JOURNAL OF SCHOOL HEALTH, 2012, 82 (05) :201-209
[44]   Composite Kernel of Mutual Learning on Mid-Level Features for Hyperspectral Image Classification [J].
Sima, Haifeng ;
Wang, Jing ;
Guo, Ping ;
Sun, Junding ;
Liu, Hongmin ;
Xu, Mingliang ;
Zou, Youfeng .
IEEE TRANSACTIONS ON CYBERNETICS, 2022, 52 (11) :12217-12230
[45]   Level of support for proposed vaping policies: an online survey of UK vapers, 2024 [J].
Fan, Jiamin ;
Brown, Jamie ;
Cox, Sharon ;
Shahab, Lion ;
Jackson, Sarah E. .
INTERNATIONAL JOURNAL OF DRUG POLICY, 2025, 142
[46]   State-Level Immigrant Policies and Ideal Family Size in the United States [J].
Behrman, Julia A. ;
Weitzman, Abigail .
POPULATION AND DEVELOPMENT REVIEW, 2024, 50 (02) :375-401
[47]   An Approach to Formally Validate and Verify the Compliance of Low Level Access Control Policies [J].
Jaidi, Faouzi ;
Labbene Ayachi, Faten .
2014 IEEE 17TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND ENGINEERING (CSE), 2014, :1550-1557
[48]   State-Level Social and Economic Policies and Their Association With Perinatal and Infant Outcomes [J].
Webster, Jessica L. ;
Paul, David ;
Purtle, Jonathan ;
Locke, Robert ;
Goldstein, Neal D. .
MILBANK QUARTERLY, 2022, 100 (01) :218-260
[49]   State-level tobacco control policies and youth smoking cessation measures [J].
Tworek, Cindy ;
Yamaguchi, Ryoko ;
Kloska, Deborah D. ;
Emery, Sherry ;
Barker, Dianne C. ;
Giovino, Gary A. ;
O'Malley, Patrick M. ;
Chaloupka, Frank J. .
HEALTH POLICY, 2010, 97 (2-3) :136-144
[50]   The implementation of climate change related policies at the subnational level: An analysis of three countries [J].
Antonio Puppim de Oliveira, Jose .
HABITAT INTERNATIONAL, 2009, 33 (03) :253-259