Skip to main navigation Skip to search Skip to main content

Confine: Automated system call policy generation for container attack surface reduction

  • Stony Brook University
  • Cloudhawk.io

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

124 Scopus citations

Abstract

Reducing the attack surface of the OS kernel is a promising defense-in-depth approach for mitigating the fragile isolation guarantees of container environments. In contrast to hypervisor-based systems, malicious containers can exploit vulnerabilities in the underlying kernel to fully compromise the host and all other containers running on it. Previous container attack surface reduction efforts have relied on dynamic analysis and training using realistic workloads to limit the set of system calls exposed to containers. These approaches, however, do not capture exhaustively all the code that can potentially be needed by future workloads or rare runtime conditions, and are thus not appropriate as a generic solution. Aiming to provide a practical solution for the protection of arbitrary containers, in this paper we present a generic approach for the automated generation of restrictive system call policies for Docker containers. Our system, named Confine, uses static code analysis to inspect the containerized application and all its dependencies, identify the superset of system calls required for the correct operation of the container, and generate a corresponding Seccomp system call policy that can be readily enforced while loading the container. The results of our experimental evaluation with 150 publicly available Docker images show that Confine can successfully reduce their attack surface by disabling 145 or more system calls (out of 326) for more than half of the containers, which neutralizes 51 previously disclosed kernel vulnerabilities.

Original languageEnglish
Title of host publicationRAID 2020 Proceedings - 23rd International Symposium on Research in Attacks, Intrusions and Defenses
PublisherUSENIX Association
Pages443-458
Number of pages16
ISBN (Electronic)9781939133182
StatePublished - 2020
Event23rd International Symposium on Research in Attacks, Intrusions and Defenses, RAID 2020 - Virtual, Online
Duration: Oct 14 2020Oct 16 2020

Publication series

NameRAID 2020 Proceedings - 23rd International Symposium on Research in Attacks, Intrusions and Defenses

Conference

Conference23rd International Symposium on Research in Attacks, Intrusions and Defenses, RAID 2020
CityVirtual, Online
Period10/14/2010/16/20

Fingerprint

Dive into the research topics of 'Confine: Automated system call policy generation for container attack surface reduction'. Together they form a unique fingerprint.

Cite this