Lune

USENIX Security2020Top-tier venue

Temporal System Call Specialization for Attack Surface Reduction

Seyedhamed Ghavamnia, Tapti Palit, Shachee Mishra, Michalis Polychronakis

Abstract

Attack surface reduction through the removal of unnecessary application features and code is a promising technique for improving security without incurring any additional overhead. Recent software debloating techniques consider an application's entire lifetime when extracting its code requirements, and reduce the attack surface accordingly. In this paper, we present temporal specialization, a novel approach for limiting the set of system calls available to a process depending on its phase of execution. Our approach is tailored to server applications, which exhibit distinct initialization and serving phases with different system call requirements. We present novel static analysis techniques for improving the precision of extracting the application's call graph for each execution phase, which is then used to pinpoint the system calls used in each phase. We show that requirements change throughout the lifetime of servers, and many dangerous system calls (such as execve) can be disabled after the completion of the initialization phase. We have implemented a prototype of temporal specialization on top of the LLVM compiler, and evaluated its effectiveness with six popular server applications. Our results show that it disables 51% more security-critical system calls compared to existing library specialization approaches, while offering the additional benefit of neutralizing 13 more Linux kernel vulnerabilities that could lead to privilege escalation.

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.

38 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Slimium: Debloating the Chromium Browser with Feature Subsetting cites Less is More: Quantifying the Security Benefits of Debloating Web Applications
  • Slimium: Debloating the Chromium Browser with Feature Subsetting cites Debloating Software through Piece-Wise Compilation and Loading
  • Slimium: Debloating the Chromium Browser with Feature Subsetting cites RAZOR: A Framework for Post-deployment Software Debloating
  • Slimium: Debloating the Chromium Browser with Feature Subsetting cites Effective Program Debloating via Reinforcement Learning
  • Demons in the Shared Kernel: Abstract Resource Attacks Against OS-level Virtualization cites PeX: A Permission Check Analysis Framework for Linux Kernel
  • Less is More: Quantifying the Security Benefits of Debloating Web Applications cites Debloating Software through Piece-Wise Compilation and Loading
  • Less is More: Quantifying the Security Benefits of Debloating Web Applications cites Effective Program Debloating via Reinforcement Learning
  • RAZOR: A Framework for Post-deployment Software Debloating cites Debloating Software through Piece-Wise Compilation and Loading
  • RAZOR: A Framework for Post-deployment Software Debloating cites Effective Program Debloating via Reinforcement Learning
  • Effective Program Debloating via Reinforcement Learning cites Debloating Software through Piece-Wise Compilation and Loading
  • C2C: Fine-grained Configuration-driven System Call Filtering cites Slimium: Debloating the Chromium Browser with Feature Subsetting
  • C2C: Fine-grained Configuration-driven System Call Filtering cites Less is More: Quantifying the Security Benefits of Debloating Web Applications
  • C2C: Fine-grained Configuration-driven System Call Filtering cites Debloating Software through Piece-Wise Compilation and Loading
  • C2C: Fine-grained Configuration-driven System Call Filtering cites RAZOR: A Framework for Post-deployment Software Debloating
  • C2C: Fine-grained Configuration-driven System Call Filtering cites Effective Program Debloating via Reinforcement Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers38

  1. HARDLOG: Practical Tamper-Proof System Auditing Using a Novel Audit DeviceAdil Ahmad, Sangho Lee, Marcus PeinadoS&P 2022 · 46 citations
  2. Slimium: Debloating the Chromium Browser with Feature SubsettingChenxiong Qian, Hyungjoon Koo, ChangSeok Oh, Taesoo Kim et al.CCS 2020 · 35 citations
  3. Demons in the Shared Kernel: Abstract Resource Attacks Against OS-level VirtualizationNanzi Yang, Wenbo Shen, Jinku Li, Yutian Yang et al.CCS 2021 · 32 citations
  4. LChecker: Detecting Loose Comparison Bugs in PHPPenghui Li, Wei MengWWW 2021 · 22 citations
  5. C2C: Fine-grained Configuration-driven System Call FilteringSeyedhamed Ghavamnia, Tapti Palit, Michalis PolychronakisCCS 2022 · 22 citations

Builds on7

  1. Effective Program Debloating via Reinforcement LearningKihong Heo, Woosuk Lee, Pardis Pashakhanloo, Mayur NaikCCS 2018 · 175 citations
  2. Debloating Software through Piece-Wise Compilation and LoadingAnh Quach, Aravind Prakash, Lok-Kwong YanUSENIX Security 2018 · 153 citations
  3. RAZOR: A Framework for Post-deployment Software DebloatingChenxiong Qian, Hong Hu, Mansour Alharthi, Simon Pak Ho Chung et al.USENIX Security 2019 · 132 citations
  4. Less is More: Quantifying the Security Benefits of Debloating Web ApplicationsBabak Amin Azad, Pierre Laperdrix, Nick NikiforakisUSENIX Security 2019 · 100 citations
  5. PeX: A Permission Check Analysis Framework for Linux KernelTong Zhang, Wenbo Shen, Dongyoon Lee, Changhee Jung et al.USENIX Security 2019 · 77 citations

Related papers

  1. SysPart: Automated Temporal System Call Filtering for BinariesVidya Lakshmi Rajagopalan, Konstantinos Kleftogiorgos, Enes Göktas, Jun Xu et al.CCS 2023 · 10 citations
  2. Building Dynamic System Call Sandbox with Partial Order AnalysisQuan Zhang, Chijin Zhou, Yiwen Xu, Zijing Yin et al.OOPSLA 2023 · 5 citations
  3. LeanBin: Harnessing Lifting and Recompilation to Debloat BinariesIgor Wodiany, Antoniu Pop, Mikel LujánASE 2024 · 1 citation
  4. Minimalist: Semi-automated Debloating of PHP Web Applications through Static AnalysisRasoul Jahanshahi, Babak Amin Azad, Nick Nikiforakis, Manuel EgeleUSENIX Security 2023
  5. Improving Indirect-Call Analysis in LLVM with Type and Data-Flow Co-AnalysisDinghao Liu, Shouling Ji, Kangjie Lu, Qinming HeUSENIX Security 2024 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines