On the Value of Sequence-Based System Call Filtering for Container Security

Somin Song, Sahil Suneja, Michael V. Le, Byungchul Tak

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

6 Scopus citations

Abstract

One critical attack that exploits kernel vulnerabilities through system call invocations is considered a serious threat to container security since it results in the privilege escalation followed by the infamous container escape. The seccomp kernel feature provides the first line of defense against it. Further, secure container runtimes such as gVisor also make use of it to strengthen security. However, it is known to be brittle since it operates at the granularity of the individual system call. Inadvertent filtering of necessary system calls may inhibit the correct execution while overly generous rules allow the attacks. We believe that, by looking at the sequence of system calls, we can achieve more accurate and effective blocking of attacks in containers. To this end, we built a software tool, Nimos, that performs a combination of static and dynamic analyses of exploit codes in an automated way and investigated the existence of such commonly occurring system call sequences. Then, we analyzed the expected defensive power from applying the sequence-based filtering mechanisms using a large set of collected kernel vulnerabilities to assess the feasibility. We found that there exist a significant number and forms of commonly appearing system call sequences that can be used as a clear signature of the class of attacks. We characterize these common system call sequences that exist among the exploit codes and evaluate the expected effectiveness of a sequence-based system call filtering mechanism for containers.

Original languageEnglish
Title of host publicationProceedings - 2023 IEEE 16th International Conference on Cloud Computing, CLOUD 2023
EditorsClaudio Ardagna, Nimanthi Atukorala, Pete Beckman, Carl K. Chang, Rong N. Chang, Constantinos Evangelinos, Jing Fan, Geoffrey C. Fox, Judy Fox, Christoph Hagleitner, Zhi Jin, Tevfik Kosar, Manish Parashar
PublisherIEEE Computer Society
Pages296-307
Number of pages12
ISBN (Electronic)9798350304817
DOIs
StatePublished - 2023
Event16th IEEE International Conference on Cloud Computing, CLOUD 2023 - Hybrid, Chicago, United States
Duration: 2 Jul 20238 Jul 2023

Publication series

NameIEEE International Conference on Cloud Computing, CLOUD
Volume2023-July
ISSN (Print)2159-6182
ISSN (Electronic)2159-6190

Conference

Conference16th IEEE International Conference on Cloud Computing, CLOUD 2023
Country/TerritoryUnited States
CityHybrid, Chicago
Period2/07/238/07/23

Keywords

  • Linux kernel vulnerability
  • Linux security
  • container security
  • seccomp
  • system call sequence pattern

Fingerprint

Dive into the research topics of 'On the Value of Sequence-Based System Call Filtering for Container Security'. Together they form a unique fingerprint.

Cite this