Temporal System Call Specialization for Attack Surface Reduction
Seyedhamed Ghavamnia, Tapti Palit, Shachee Mishra, Michalis Polychronakis
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 38 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Slimium: Debloating the Chromium Browser with Feature Subsetting 引用了 Less is More: Quantifying the Security Benefits of Debloating Web Applications
- Slimium: Debloating the Chromium Browser with Feature Subsetting 引用了 Debloating Software through Piece-Wise Compilation and Loading
- Slimium: Debloating the Chromium Browser with Feature Subsetting 引用了 RAZOR: A Framework for Post-deployment Software Debloating
- Slimium: Debloating the Chromium Browser with Feature Subsetting 引用了 Effective Program Debloating via Reinforcement Learning
- Demons in the Shared Kernel: Abstract Resource Attacks Against OS-level Virtualization 引用了 PeX: A Permission Check Analysis Framework for Linux Kernel
- Less is More: Quantifying the Security Benefits of Debloating Web Applications 引用了 Debloating Software through Piece-Wise Compilation and Loading
- Less is More: Quantifying the Security Benefits of Debloating Web Applications 引用了 Effective Program Debloating via Reinforcement Learning
- RAZOR: A Framework for Post-deployment Software Debloating 引用了 Debloating Software through Piece-Wise Compilation and Loading
- RAZOR: A Framework for Post-deployment Software Debloating 引用了 Effective Program Debloating via Reinforcement Learning
- Effective Program Debloating via Reinforcement Learning 引用了 Debloating Software through Piece-Wise Compilation and Loading
- C2C: Fine-grained Configuration-driven System Call Filtering 引用了 Slimium: Debloating the Chromium Browser with Feature Subsetting
- C2C: Fine-grained Configuration-driven System Call Filtering 引用了 Less is More: Quantifying the Security Benefits of Debloating Web Applications
- C2C: Fine-grained Configuration-driven System Call Filtering 引用了 Debloating Software through Piece-Wise Compilation and Loading
- C2C: Fine-grained Configuration-driven System Call Filtering 引用了 RAZOR: A Framework for Post-deployment Software Debloating
- C2C: Fine-grained Configuration-driven System Call Filtering 引用了 Effective Program Debloating via Reinforcement Learning
引用它的顶会 Paper38
- HARDLOG: Practical Tamper-Proof System Auditing Using a Novel Audit DeviceAdil Ahmad, Sangho Lee, Marcus PeinadoS&P 2022 · 46 次引用
- Slimium: Debloating the Chromium Browser with Feature SubsettingChenxiong Qian, Hyungjoon Koo, ChangSeok Oh, Taesoo Kim 等CCS 2020 · 35 次引用
- Demons in the Shared Kernel: Abstract Resource Attacks Against OS-level VirtualizationNanzi Yang, Wenbo Shen, Jinku Li, Yutian Yang 等CCS 2021 · 32 次引用
- LChecker: Detecting Loose Comparison Bugs in PHPPenghui Li, Wei MengWWW 2021 · 22 次引用
- C2C: Fine-grained Configuration-driven System Call FilteringSeyedhamed Ghavamnia, Tapti Palit, Michalis PolychronakisCCS 2022 · 22 次引用
它引用的 Paper7
- Effective Program Debloating via Reinforcement LearningKihong Heo, Woosuk Lee, Pardis Pashakhanloo, Mayur NaikCCS 2018 · 175 次引用
- Debloating Software through Piece-Wise Compilation and LoadingAnh Quach, Aravind Prakash, Lok-Kwong YanUSENIX Security 2018 · 153 次引用
- RAZOR: A Framework for Post-deployment Software DebloatingChenxiong Qian, Hong Hu, Mansour Alharthi, Simon Pak Ho Chung 等USENIX Security 2019 · 132 次引用
- Less is More: Quantifying the Security Benefits of Debloating Web ApplicationsBabak Amin Azad, Pierre Laperdrix, Nick NikiforakisUSENIX Security 2019 · 100 次引用
- PeX: A Permission Check Analysis Framework for Linux KernelTong Zhang, Wenbo Shen, Dongyoon Lee, Changhee Jung 等USENIX Security 2019 · 77 次引用
相关 Paper
- SysPart: Automated Temporal System Call Filtering for BinariesVidya Lakshmi Rajagopalan, Konstantinos Kleftogiorgos, Enes Göktas, Jun Xu 等CCS 2023 · 10 次引用
- Building Dynamic System Call Sandbox with Partial Order AnalysisQuan Zhang, Chijin Zhou, Yiwen Xu, Zijing Yin 等OOPSLA 2023 · 5 次引用
- LeanBin: Harnessing Lifting and Recompilation to Debloat BinariesIgor Wodiany, Antoniu Pop, Mikel LujánASE 2024 · 1 次引用
- Minimalist: Semi-automated Debloating of PHP Web Applications through Static AnalysisRasoul Jahanshahi, Babak Amin Azad, Nick Nikiforakis, Manuel EgeleUSENIX Security 2023
- Improving Indirect-Call Analysis in LLVM with Type and Data-Flow Co-AnalysisDinghao Liu, Shouling Ji, Kangjie Lu, Qinming HeUSENIX Security 2024 · 13 次引用
