BlackBox: A Container Security Monitor for Protecting Containers on Untrusted Operating Systems
Alexander Van't Hof, Jason Nieh
Abstract
Containers are widely deployed to package, isolate, and multiplex applications on shared computing infrastructure, but rely on the operating system to enforce their security guarantees. This poses a significant security risk as large operating system codebases contain many vulnerabilities. We have created BlackBox, a new container architecture that provides fine-grain protection of application data confidentiality and integrity without trusting the operating system. BlackBox introduces a container security monitor, a small trusted computing base that creates protected physical address spaces (PPASes) for each container such that there is no direct information flow from container to operating system or other container PPASes. Indirect information flow can only happen through the monitor, which only copies data between container PPASes and the operating system as system call arguments, encrypting data as needed to protect interprocess communication through the operating system. Containerized applications do not need to be modified, can still make use of operating system services via system calls, yet their CPU and memory state are isolated and protected from other containers and the operating system. We have implemented BlackBox by leveraging Arm hardware virtualization support, using nested paging to enforce PPASes. The trusted computing base is a few thousand lines of code, many orders of magnitude less than Linux, yet supports widely-used Linux containers with only modest modifications to the Linux kernel. We show that BlackBox provides superior security guarantees over traditional hypervisor and container architectures with only modest performance overhead on real application workloads.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
18 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Veil: A Protected Services Framework for Confidential Virtual Machines cites An Extensible Orchestration and Protection Framework for Confidential Cloud Computing
- Formally Verified Memory Protection for a Commodity Multiprocessor Hypervisor cites HACL: A Verified Modern Cryptographic Library
- Formally Verified Memory Protection for a Commodity Multiprocessor Hypervisor cites A Secure and Formally Verified Linux KVM Hypervisor
- An Extensible Orchestration and Protection Framework for Confidential Cloud Computing cites Occlum: Secure and Efficient Multitasking Inside a Single Enclave of Intel SGX
- CPC: Flexible, Secure, and Efficient CVM Maintenance with Confidential Procedure Calls cites Veil: A Protected Services Framework for Confidential Virtual Machines
- CPC: Flexible, Secure, and Efficient CVM Maintenance with Confidential Procedure Calls cites Formally Verified Memory Protection for a Commodity Multiprocessor Hypervisor
- CPC: Flexible, Secure, and Efficient CVM Maintenance with Confidential Procedure Calls cites Design and Verification of the Arm Confidential Compute Architecture
- CPC: Flexible, Secure, and Efficient CVM Maintenance with Confidential Procedure Calls cites Occlum: Secure and Efficient Multitasking Inside a Single Enclave of Intel SGX
- A Secure and Formally Verified Linux KVM Hypervisor cites HACL: A Verified Modern Cryptographic Library
- Design and Verification of the Arm Confidential Compute Architecture cites Formally Verified Memory Protection for a Commodity Multiprocessor Hypervisor
- Design and Verification of the Arm Confidential Compute Architecture cites HACL: A Verified Modern Cryptographic Library
- Design and Verification of the Arm Confidential Compute Architecture cites A Secure and Formally Verified Linux KVM Hypervisor
Cited by top-tier papers18
- Design and Verification of the Arm Confidential Compute ArchitectureXupeng Li, Xuheng Li, Christoffer Dall, Ronghui Gu et al.OSDI 2022 · 60 citations
- Veil: A Protected Services Framework for Confidential Virtual MachinesAdil Ahmad, Botong Ou, Congyu Liu, Xiaokuan Zhang et al.ASPLOS 2023 · 12 citations
- CPC: Flexible, Secure, and Efficient CVM Maintenance with Confidential Procedure CallsJiahao Chen, Zeyu Mi, Yubin Xia, Haibing Guan et al.USENIX ATC 2024 · 11 citations
- An Extensible Orchestration and Protection Framework for Confidential Cloud ComputingAdil Ahmad, Alex Schultz, Byoungyoung Lee, Pedro FonsecaOSDI 2023 · 10 citations
- Mitigating Scalability Walls of RDMA-based Container NetworksWei Liu, Kun Qian, Zhenhua Li, Feng Qian et al.NSDI 2025 · 9 citations
Builds on7
- HACL*: A Verified Modern Cryptographic LibraryJean Karim Zinzindohoué, Karthikeyan Bhargavan, Jonathan Protzenko, Benjamin BeurdoucheCCS 2017 · 258 citations
- Occlum: Secure and Efficient Multitasking Inside a Single Enclave of Intel SGXYouren Shen, Hongliang Tian, Yu Chen, Kang Chen et al.ASPLOS 2020 · 144 citations
- A Secure and Formally Verified Linux KVM HypervisorShih-Wei Li, Xupeng Li, Ronghui Gu, Jason Nieh et al.S&P 2021 · 72 citations
- Design and Verification of the Arm Confidential Compute ArchitectureXupeng Li, Xuheng Li, Christoffer Dall, Ronghui Gu et al.OSDI 2022 · 60 citations
- Formally Verified Memory Protection for a Commodity Multiprocessor HypervisorShih-Wei Li, Xupeng Li, Ronghui Gu, Jason Nieh et al.USENIX Security 2021 · 48 citations
Related papers
- RContainer: A Secure Container Architecture through Extending ARM CCA Hardware PrimitivesQihang Zhou, Wenzhuo Cao, Xiaoqi Jia, Peng Liu et al.NDSS 2025
- BULKHEAD: Secure, Scalable, and Efficient Kernel Compartmentalization with PKSYinggang Guo, Zicheng Wang, Weiheng Bai, Qingkai Zeng et al.NDSS 2025
- Blindfold: Confidential Memory Management by Untrusted Operating SystemCaihua Li, Seung-Seob Lee, Lin ZhongNDSS 2025
- TME-Box: Scalable In-Process Isolation through Intel TME-MK Memory EncryptionMartin Unterguggenberger, Lukas Lamster, David Schrammel, Martin Schwarzl et al.NDSS 2025
- EKC: A Portable and Extensible Kernel Compartment for De-Privileging Commodity OSJiaqin Yan, Qiujiang Chen, Shuai Zhou, Yuke Peng et al.USENIX Security 2025
