Lune

CCS2020Top-tier venue

A Generic Technique for Automatically Finding Defense-Aware Code Reuse Attacks

Edward J. Schwartz, Cory F. Cohen, Jeffrey Gennari, Stephanie Schwartz

Abstract

Code reuse attacks have been the subject of a substantial amount of research during the past decade. This research largely resulted from early work on Return-Oriented Programming (ROP), which showed that the then newly proposed Non-Executable Memory (NX) defense could be bypassed. More recently, the research community has been simultaneously investigating new defenses that are believed to thwart code reuse attacks, such as Control Flow Integrity (CFI), and defense-aware techniques for attacking these defenses, such as Data-Oriented Programming (DOP). Unfortunately, the feasibility of defense-aware attacks are very dependent on the behaviors of the attacked program, which makes it difficult for defenders to understand how much protection a defense such as CFI may provide. To better understand this, researchers have introduced automated defense-aware code reuse attack systems. Unfortunately, the handful of existing systems implement a single fixed, defense-specific strategy that is complex and cannot be used to consider other defenses. In this paper, we propose a generic framework for automatically discovering defense-aware code reuse attacks in executables. Unlike existing work, which utilizes hard-coded strategies for specific defenses, our framework can produce attacks for multiple defenses by analyzing the runtime behavior of the defense. The high-level insight behind our framework is that code reuse attacks can be defined as a state reachability problem, and that defenses prevent some transitions between states. We implement our framework as a tool named Limbo, which employs an existing binary concolic executor to solve the reachability problem. We evaluate Limbo and show that it excels when there is little code available for reuse, making it complementary to existing techniques. We show that, in such scenarios, Limbo outperforms existing systems that automate ROP attacks, as well as systems that automate DOP attacks in the presence of fine-grained CFI, despite having no special knowledge about ROP or DOP attacks.

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.

8 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

  • Not All Data are Created Equal: Data and Pointer Prioritization for Scalable Protection Against Data-Oriented Attacks cites Block Oriented Programming: Automating Data-Only Attacks
  • Not All Data are Created Equal: Data and Pointer Prioritization for Scalable Protection Against Data-Oriented Attacks cites Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • ropbot: Reimaging Code Reuse Attack Synthesis cites Sound and Efficient Generation of Data-Oriented Exploits via Programming Language Synthesis
  • ropbot: Reimaging Code Reuse Attack Synthesis cites RetSpill: Igniting User-Controlled Data to Burn Away Linux Kernel Protections
  • ropbot: Reimaging Code Reuse Attack Synthesis cites Block Oriented Programming: Automating Data-Only Attacks
  • ropbot: Reimaging Code Reuse Attack Synthesis cites Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • Sound and Efficient Generation of Data-Oriented Exploits via Programming Language Synthesis cites Not All Data are Created Equal: Data and Pointer Prioritization for Scalable Protection Against Data-Oriented Attacks
  • Sound and Efficient Generation of Data-Oriented Exploits via Programming Language Synthesis cites Block Oriented Programming: Automating Data-Only Attacks
  • Sound and Efficient Generation of Data-Oriented Exploits via Programming Language Synthesis cites Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • Sound and Efficient Generation of Data-Oriented Exploits via Programming Language Synthesis cites Practical Data-Only Attack Generation
  • RetSpill: Igniting User-Controlled Data to Burn Away Linux Kernel Protections cites Block Oriented Programming: Automating Data-Only Attacks
  • The Dynamics of Innocent Flesh on the Bone: Code Reuse Ten Years Later cites Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • Block Oriented Programming: Automating Data-Only Attacks cites Efficient Protection of Path-Sensitive Control Security
  • Block Oriented Programming: Automating Data-Only Attacks cites The Dynamics of Innocent Flesh on the Bone: Code Reuse Ten Years Later
  • Block Oriented Programming: Automating Data-Only Attacks cites Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • Block Oriented Programming: Automating Data-Only Attacks cites SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
  • Practical Data-Only Attack Generation cites Not All Data are Created Equal: Data and Pointer Prioritization for Scalable Protection Against Data-Oriented Attacks
  • Practical Data-Only Attack Generation cites Efficient Protection of Path-Sensitive Control Security
  • Practical Data-Only Attack Generation cites The Dynamics of Innocent Flesh on the Bone: Code Reuse Ten Years Later
  • Practical Data-Only Attack Generation cites Block Oriented Programming: Automating Data-Only Attacks
  • Practical Data-Only Attack Generation cites Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Practical Data-Only Attack GenerationBrian Johannesmeyer, Asia Slowinska, Herbert Bos, Cristiano GiuffridaUSENIX Security 2024 · 16 citations
  2. RetSpill: Igniting User-Controlled Data to Burn Away Linux Kernel ProtectionsKyle Zeng, Zhenpeng Lin, Kangjie Lu, Xinyu Xing et al.CCS 2023 · 9 citations
  3. ropbot: Reimaging Code Reuse Attack SynthesisKyle Zeng, Moritz Schloegel, Christopher Salls, Adam Doupé et al.NDSS 2026 · 1 citation
  4. Not All Data are Created Equal: Data and Pointer Prioritization for Scalable Protection Against Data-Oriented AttacksSalman Ahmed, Hans Liljestrand, Hani Jamjoom, Matthew Hicks et al.USENIX Security 2023
  5. Sound and Efficient Generation of Data-Oriented Exploits via Programming Language SynthesisYuxi Ling, Gokul Rajiv, Kiran Gopinathan, Ilya SergeyUSENIX Security 2025

Builds on5

  1. 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
  2. Data-Oriented Programming: On the Expressiveness of Non-control Data AttacksHong Hu, Shweta Shinde, Sendroiu Adrian, Zheng Leong Chua et al.S&P 2016 · 420 citations
  3. Block Oriented Programming: Automating Data-Only AttacksKyriakos K. Ispoglou, Bader AlBassam, Trent Jaeger, Mathias PayerCCS 2018 · 143 citations
  4. Efficient Protection of Path-Sensitive Control SecurityRen Ding, Chenxiong Qian, Chengyu Song, William Harris et al.USENIX Security 2017 · 123 citations
  5. The Dynamics of Innocent Flesh on the Bone: Code Reuse Ten Years LaterVictor van der Veen, Dennis Andriesse, Manolis Stamatogiannakis, Xi Chen et al.CCS 2017 · 74 citations

Related papers

  1. Await() a Second: Evading Control Flow Integrity by Hijacking C++ CoroutinesMarcos Bajo, Christian RossowUSENIX Security 2025
  2. Crashing Through Defenses: Exploiting Segfaults and Chaining Around Intel CETMarcos Bajo, Ritvik Goyal, Apostolos Chatzianagnostou, Christian RossowS&P 2026
  3. What Cannot Be Read, Cannot Be Leveraged? Revisiting Assumptions of JIT-ROP DefensesGiorgi Maisuradze, Michael Backes, Christian RossowUSENIX Security 2016 · 41 citations
  4. Leakage-Resilient Layout Randomization for Mobile DevicesKjell Braden, Lucas Davi, Christopher Liebchen, Ahmad-Reza Sadeghi et al.NDSS 2016 · 90 citations
  5. IMIX: In-Process Memory Isolation EXtensionTommaso Frassetto, Patrick Jauernig, Christopher Liebchen, Ahmad-Reza SadeghiUSENIX Security 2018 · 77 citations
Dusk over the sea between two cliffs drawn in fine vertical lines