Lune

CCS2020Top-tier venue

A Systematic Study of Elastic Objects in Kernel Exploitation

Yueqi Chen, Zhenpeng Lin, Xinyu Xing

Abstract

Recent research has proposed various methods to perform kernel exploitation and bypass kernel protection. For example, security researchers have demonstrated an exploitation method that utilizes the characteristic of elastic kernel objects to bypass KASLR, disclose stack/heap cookies, and even perform arbitrary read in the kernel. While this exploitation method is considered a commonly adopted approach to disclosing critical kernel information, there is no evidence indicating a strong need for developing a new defense mechanism to limit this exploitation method. It is because the effectiveness of this exploitation method is demonstrated only on anecdotal kernel vulnerabilities. It is unclear whether such a method is useful for a majority of kernel vulnerabilities. To answer this question, we propose a systematic approach. It utilizes static/dynamic analysis methods to pinpoint elastic kernel objects and then employs constraint solving to pair them to corresponding kernel vulnerabilities. In this work, we implement our proposed method as a tool - ELOISE. Using this tool on three popular OSes (Linux, FreeBSD, and XNU), we discover that elastic objects are pervasive in general caches. Evaluating the effectiveness of these elastic objects on 40 kernel vulnerabilities across three OSes, we observe that they can enable most of the vulnerabilities to bypass KASLR and heap cookie protector. Besides, we also observe that these elastic objects can even escalate the exploitability of some vulnerabilities allowing them to perform arbitrary read in the kernel. Motivated by these observations, we further introduce a new defense mechanism to mitigate the threat of elastic kernel objects. We prototype our defense mechanism on Linux, showing this mechanism introduces negligible overhead.

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.

36 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

  • EPF: Evil Packet Filter cites Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • EPF: Evil Packet Filter cites Breaking Kernel Address Space Layout Randomization with Intel TSX
  • DirtyCred: Escalating Privilege in Linux Kernel cites Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • DirtyCred: Escalating Privilege in Linux Kernel cites GREBE: Unveiling Exploitation Potential for Linux Kernel Bugs
  • DirtyCred: Escalating Privilege in Linux Kernel cites Meltdown: Reading Kernel Memory from User Space
  • Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR cites Breaking Kernel Address Space Layout Randomization with Intel TSX
  • Breaking Kernel Address Space Layout Randomization with Intel TSX cites Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • GREBE: Unveiling Exploitation Potential for Linux Kernel Bugs cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • GREBE: Unveiling Exploitation Potential for Linux Kernel Bugs cites SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
  • Meltdown: Reading Kernel Memory from User Space cites Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • Meltdown: Reading Kernel Memory from User Space cites Breaking Kernel Address Space Layout Randomization with Intel TSX
  • CAMP: Compiler and Allocator-based Heap Memory Protection cites DirtyCred: Escalating Privilege in Linux Kernel
  • SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • SLUBStick: Arbitrary Memory Writes through Practical Software Cross-Cache Attacks within the Linux Kernel cites DirtyCred: Escalating Privilege in Linux Kernel
  • SLUBStick: Arbitrary Memory Writes through Practical Software Cross-Cache Attacks within the Linux Kernel cites Meltdown: Reading Kernel Memory from User Space
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers36

  1. GREBE: Unveiling Exploitation Potential for Linux Kernel BugsZhenpeng Lin, Yueqi Chen, Yuhang Wu, Dongliang Mu et al.S&P 2022 · 47 citations
  2. DirtyCred: Escalating Privilege in Linux KernelZhenpeng Lin, Yuhang Wu, Xinyu XingCCS 2022 · 30 citations
  3. SLUBStick: Arbitrary Memory Writes through Practical Software Cross-Cache Attacks within the Linux KernelLukas Maar, Stefan Gast, Martin Unterguggenberger, Mathias Oberhuber et al.USENIX Security 2024 · 16 citations
  4. EPF: Evil Packet FilterDi Jin, Vaggelis Atlidakis, Vasileios P. KemerlisUSENIX ATC 2023 · 14 citations
  5. CAMP: Compiler and Allocator-based Heap Memory ProtectionZhenpeng Lin, Zheng Yu, Ziyi Guo, Simone Campanoni et al.USENIX Security 2024 · 14 citations

Builds on19

  1. Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher et al.USENIX Security 2018 · 1,456 citations
  2. SOK: (State of) The Art of War: Offensive Techniques in Binary AnalysisYan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens et al.S&P 2016 · 1,085 citations
  3. Driller: Augmenting Fuzzing Through Selective Symbolic ExecutionNick Stephens, John Grosen, Christopher Salls, Andrew Dutcher et al.NDSS 2016 · 1,021 citations
  4. Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLRDaniel Gruss, Clémentine Maurice, Anders Fogh, Moritz Lipp et al.CCS 2016 · 278 citations
  5. Breaking Kernel Address Space Layout Randomization with Intel TSXYeongjin Jang, Sangho Lee, Taesoo KimCCS 2016 · 174 citations

Related papers

  1. SLAKE: Facilitating Slab Manipulation for Exploiting Vulnerabilities in the Linux KernelYueqi Chen, Xinyu XingCCS 2019 · 76 citations
  2. 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 et al.S&P 2025
  3. HEAP LOCALIZATION: Cache Side-Channel Based Linux Kernel Heap Exploit TechniquesYoochan Lee, Sihyun Roh, Hyuk Kwon, Byoungyoung Lee et al.S&P 2026
  4. UniSan: Proactive Kernel Memory Initialization to Eliminate Data LeakagesKangjie Lu, Chengyu Song, Taesoo Kim, Wenke LeeCCS 2016 · 81 citations
  5. SeaK: Rethinking the Design of a Secure Allocator for OS KernelZicheng Wang, Yicheng Guang, Yueqi Chen, Zhenpeng Lin et al.USENIX Security 2024 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines