Lune

CCS2022顶会

C2C: Fine-grained Configuration-driven System Call Filtering

Seyedhamed Ghavamnia, Tapti Palit, Michalis Polychronakis

摘要

Configuration options allow users to customize application features according to the desired requirements. While the code that corresponds to disabled features is never executed, it still resides in process memory and comprises part of the application's attack surface, e.g., it can be reused for the construction of exploit code. Automatically reducing the attack surface of disabled application features according to a given configuration is thus a desirable defense-indepth capability. The intricacies of modern software design and the complexities of popular programming languages, however, introduce significant challenges in automatically deriving the mapping of configuration options to their corresponding application code. In this paper, we present Configuration-to-Code (C2C), a generic configuration-driven attack surface reduction technique that automatically maps configuration options to application code using static code analysis and instrumentation. C2C operates at a fine-grained level by pruning configuration-dependent conditional branches in the control flow graph, allowing the precise identification of a given configuration option's code at the basic block level. At runtime, C2C reduces the application's attack surface by filtering any system calls required exclusively by disabled features. Using popular applications, we show how security-critical system calls (such as execve) can be automatically disabled when not needed, limiting an attacker's vulnerability exploitation capabilities. System call filtering also reduces the exposed attack surface of the underlying Linux kernel, neutralizing 32 additional CVEs (for a total of 88) compared to previous software specialization techniques.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Kaleidoscope: Precise Invariant-Guided Pointer Analysis 引用了 SHARD: Fine-Grained Kernel Specialization with Context-Aware Hardening
  • PET: Prevent Discovered Errors from Being Triggered in the Linux Kernel 引用了 SHARD: Fine-Grained Kernel Specialization with Context-Aware Hardening
  • Building Dynamic System Call Sandbox with Partial Order Analysis 引用了 Debloating Software through Piece-Wise Compilation and Loading
  • Practical Data-Only Attack Generation 引用了 Debloating Software through Piece-Wise Compilation and Loading
  • 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
  • SHARD: Fine-Grained Kernel Specialization with Context-Aware Hardening 引用了 Less is More: Quantifying the Security Benefits of Debloating Web Applications
  • SHARD: Fine-Grained Kernel Specialization with Context-Aware Hardening 引用了 Debloating Software through Piece-Wise Compilation and Loading
  • SHARD: Fine-Grained Kernel Specialization with Context-Aware Hardening 引用了 RAZOR: A Framework for Post-deployment Software Debloating
  • SHARD: Fine-Grained Kernel Specialization with Context-Aware Hardening 引用了 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
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Practical Data-Only Attack GenerationBrian Johannesmeyer, Asia Slowinska, Herbert Bos, Cristiano GiuffridaUSENIX Security 2024 · 16 次引用
  2. Building Dynamic System Call Sandbox with Partial Order AnalysisQuan Zhang, Chijin Zhou, Yiwen Xu, Zijing Yin 等OOPSLA 2023 · 5 次引用
  3. Kaleidoscope: Precise Invariant-Guided Pointer AnalysisTapti Palit, Pedro FonsecaASPLOS 2024 · 3 次引用
  4. Phoenix: Surviving Unpatched Vulnerabilities via Accurate and Efficient Filtering of Syscall SequencesHugo Kermabon-Bobinnec, Yosr Jarraya, Lingyu Wang, Suryadipta Majumdar 等NDSS 2024
  5. PET: Prevent Discovered Errors from Being Triggered in the Linux KernelZicheng Wang, Yueqi Chen, Qingkai ZengUSENIX Security 2023

它引用的 Paper11

  1. Effective Program Debloating via Reinforcement LearningKihong Heo, Woosuk Lee, Pardis Pashakhanloo, Mayur NaikCCS 2018 · 175 次引用
  2. Debloating Software through Piece-Wise Compilation and LoadingAnh Quach, Aravind Prakash, Lok-Kwong YanUSENIX Security 2018 · 153 次引用
  3. RAZOR: A Framework for Post-deployment Software DebloatingChenxiong Qian, Hong Hu, Mansour Alharthi, Simon Pak Ho Chung 等USENIX Security 2019 · 132 次引用
  4. Less is More: Quantifying the Security Benefits of Debloating Web ApplicationsBabak Amin Azad, Pierre Laperdrix, Nick NikiforakisUSENIX Security 2019 · 100 次引用
  5. SHARD: Fine-Grained Kernel Specialization with Context-Aware HardeningMuhammad Abubakar, Adil Ahmad, Pedro Fonseca, Dongyan XuUSENIX Security 2021 · 47 次引用

相关 Paper

  1. Temporal System Call Specialization for Attack Surface ReductionSeyedhamed Ghavamnia, Tapti Palit, Shachee Mishra, Michalis PolychronakisUSENIX Security 2020
  2. Binary Control-Flow TrimmingMasoud Ghaffarinia, Kevin W. HamlenCCS 2019 · 42 次引用
  3. SysPart: Automated Temporal System Call Filtering for BinariesVidya Lakshmi Rajagopalan, Konstantinos Kleftogiorgos, Enes Göktas, Jun Xu 等CCS 2023 · 10 次引用
  4. Applying System Call Filtering to Real-World Binaries (Experience Paper)Soumyakant Priyadarshan, Seyedhamed GhavamniaISSTA 2026 · 1 次引用
  5. Inferring 1-Minimal Trigger Configurations for Assessing Linux Kernel CVE TriggerabilityTongjie Wei, Peng Zhang, Zhiwen Hu, Xupu Hu 等ISSTA 2026
黄昏的海面,两侧是细线勾勒的悬崖