Lune

CCS2019顶会

SLAKE: Facilitating Slab Manipulation for Exploiting Vulnerabilities in the Linux Kernel

Yueqi Chen, Xinyu Xing

摘要

To determine the exploitability for a kernel vulnerability, a secu- rity analyst usually has to manipulate slab and thus demonstrate the capability of obtaining the control over a program counter or performing privilege escalation. However, this is a lengthy process because (1) an analyst typically has no clue about what objects and system calls are useful for kernel exploitation and (2) he lacks the knowledge of manipulating a slab and obtaining the desired layout. In the past, researchers have proposed various techniques to facilitate exploit development. Unfortunately, none of them can be easily applied to address these challenges. On the one hand, this is because of the complexity of the Linux kernel. On the other hand, this is due to the dynamics and non-deterministic of slab variations. In this work, we tackle the challenges above from two perspectives. First, we use static and dynamic analysis techniques to explore the kernel objects, and the corresponding system calls useful for exploitation. Second, we model commonly-adopted exploitation methods and develop a technical approach to facilitate the slab layout adjustment. By extending LLVM as well as Syzkaller, we implement our techniques and name their combination after SLAKE. We evaluate SLAKE by using 27 real-world kernel vulnerabilities, demonstrating that it could not only diversify the ways to perform kernel exploitation but also sometimes escalate the exploitability of kernel vulnerabilities.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • DirtyCred: Escalating Privilege in Linux Kernel 引用了 GREBE: Unveiling Exploitation Potential for Linux Kernel Bugs
  • DirtyCred: Escalating Privilege in Linux Kernel 引用了 A Systematic Study of Elastic Objects in Kernel Exploitation
  • FuzzUSB: Hybrid Stateful Fuzzing of USB Gadget Stacks 引用了 MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
  • FuzzUSB: Hybrid Stateful Fuzzing of USB Gadget Stacks 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • GREBE: Unveiling Exploitation Potential for Linux Kernel Bugs 引用了 MoonShine: Optimizing OS Fuzzer Seed Selection with Trace Distillation
  • GREBE: Unveiling Exploitation Potential for Linux Kernel Bugs 引用了 SemFuzz: Semantics-based Automatic Generation of Proof-of-Concept Exploits
  • GREBE: Unveiling Exploitation Potential for Linux Kernel Bugs 引用了 A Systematic Study of Elastic Objects in Kernel Exploitation
  • GREBE: Unveiling Exploitation Potential for Linux Kernel Bugs 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • GREBE: Unveiling Exploitation Potential for Linux Kernel Bugs 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
  • HEAPSTER: Analyzing the Security of Dynamic Allocators for Monolithic Firmware Images 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
  • Block Oriented Programming: Automating Data-Only Attacks 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
  • A Systematic Study of Elastic Objects in Kernel Exploitation 引用了 Block Oriented Programming: Automating Data-Only Attacks
  • A Systematic Study of Elastic Objects in Kernel Exploitation 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • A Systematic Study of Elastic Objects in Kernel Exploitation 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
  • SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper40

  1. GREBE: Unveiling Exploitation Potential for Linux Kernel BugsZhenpeng Lin, Yueqi Chen, Yuhang Wu, Dongliang Mu 等S&P 2022 · 47 次引用
  2. A Systematic Study of Elastic Objects in Kernel ExploitationYueqi Chen, Zhenpeng Lin, Xinyu XingCCS 2020 · 35 次引用
  3. FuzzUSB: Hybrid Stateful Fuzzing of USB Gadget StacksKyungtae Kim, Taegyu Kim, Ertza Warraich, Byoungyoung Lee 等S&P 2022 · 32 次引用
  4. HEAPSTER: Analyzing the Security of Dynamic Allocators for Monolithic Firmware ImagesFabio Gritti, Fabio Pagani, Ilya Grishchenko, Lukas Dresel 等S&P 2022 · 31 次引用
  5. DirtyCred: Escalating Privilege in Linux KernelZhenpeng Lin, Yuhang Wu, Xinyu XingCCS 2022 · 30 次引用

它引用的 Paper11

  1. SOK: (State of) The Art of War: Offensive Techniques in Binary AnalysisYan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens 等S&P 2016 · 1,085 次引用
  2. Driller: Augmenting Fuzzing Through Selective Symbolic ExecutionNick Stephens, John Grosen, Christopher Salls, Andrew Dutcher 等NDSS 2016 · 1,021 次引用
  3. MoonShine: Optimizing OS Fuzzer Seed Selection with Trace DistillationShankara Pailoor, Andrew Aday, Suman JanaUSENIX Security 2018 · 180 次引用
  4. SemFuzz: Semantics-based Automatic Generation of Proof-of-Concept ExploitsWei You, Peiyuan Zong, Kai Chen, XiaoFeng Wang 等CCS 2017 · 148 次引用
  5. Block Oriented Programming: Automating Data-Only AttacksKyriakos K. Ispoglou, Bader AlBassam, Trent Jaeger, Mathias PayerCCS 2018 · 143 次引用

相关 Paper

  1. SLUBStick: Arbitrary Memory Writes through Practical Software Cross-Cache Attacks within the Linux KernelLukas Maar, Stefan Gast, Martin Unterguggenberger, Mathias Oberhuber 等USENIX Security 2024 · 16 次引用
  2. Playing for K(H)eaps: Understanding and Improving Linux Kernel Exploit ReliabilityKyle Zeng, Yueqi Chen, Haehyun Cho, Xinyu Xing 等USENIX Security 2022
  3. HEAP LOCALIZATION: Cache Side-Channel Based Linux Kernel Heap Exploit TechniquesYoochan Lee, Sihyun Roh, Hyuk Kwon, Byoungyoung Lee 等S&P 2026
  4. FUZE: Towards Facilitating Exploit Generation for Kernel Use-After-Free VulnerabilitiesWei Wu, Yueqi Chen, Jun Xu, Xinyu Xing 等USENIX Security 2018 · 124 次引用
  5. BridgeRouter: Automated Capability Upgrading of Out-Of-Bounds Write Vulnerabilities to Arbitrary Memory Write Primitives in the Linux KernelDongchen Xie, Dongnan He, Wei You, Jianjun Huang 等S&P 2025
黄昏的海面,两侧是细线勾勒的悬崖