arXiv · 1712.05493
Mining Sandboxes for Linux Containers
Abstract
A container is a group of processes isolated from other groups via distinct kernel namespaces and resource allocation quota. Attacks against containers often leverage kernel exploits through system call interface. In this paper, we present an approach that mines sandboxes for containers. We first explore the behaviors of a container by leveraging automatic testing, and extract the set of system calls accessed during testing. The set of system calls then results as a sandbox of the container. The mined sandbox restricts the container's access to system calls which are not seen during testing and thus reduces the attack surface. In the experiment, our approach requires less than eleven minutes to mine sandbox for each of the containers. The enforcement of mined sandboxes does not impact the regular functionality of a container and incurs low performance overhead.
Explore related subjects
Keep this discovery
Zhiyuan Wan, David Lo, Xin Xia, Liang Cai, Shanping Li. 2017-12-15. Mining Sandboxes for Linux Containers. https://doi.org/10.1109/icst.2017.16
Cite the original work for its findings. Save a collection to share your selection of sources.