arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.06972cs.CRcs.OS
收藏

BPFContain:解决容器安全的软肋

BPFContain: Fixing the Soft Underbelly of Container Security

William Findlay, David Barrera, Anil Somayaji

摘要:

Linux容器目前提供有限的隔离保证。虽然容器将命名空间和分区资源分开,但用于确保分离的拼凑机制无法保证一致的安全语义。更糟糕的是,试图确保完全覆盖会导致难以理解或审计的政策的混乱。在这里,我们提出了BPFContain,一个新的容器限制机制,旨在与现有的容器管理系统集成。BPFContain结合了一种简单而灵活的策略语言和基于eBPF的实现,允许在几乎任何运行最新内核的Linux系统上部署。在本文中,我们介绍了BPFContain的策略语言,描述了其当前集成到Docker中的实现,并将其与当前的容器限制技术进行了比较。

英文摘要:

Linux containers currently provide limited isolation guarantees. While containers separate namespaces and partition resources, the patchwork of mechanisms used to ensure separation cannot guarantee consistent security semantics. Even worse, attempts to ensure complete coverage results in a mishmash of policies that are difficult to understand or audit. Here we present BPFContain, a new container confinement mechanism designed to integrate with existing container management systems. BPFContain combines a simple yet flexible policy language with an eBPF-based implementation that allows for deployment on virtually any Linux system running a recent kernel. In this paper, we present BPFContain's policy language, describe its current implementation as integrated into docker, and present benchmarks comparing it with current container confinement technologies.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑