A Generic Technique for Automatically Finding Defense-Aware Code Reuse Attacks
Edward J. Schwartz, Cory F. Cohen, Jeffrey Gennari, Stephanie Schwartz
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Not All Data are Created Equal: Data and Pointer Prioritization for Scalable Protection Against Data-Oriented Attacks 引用了 Block Oriented Programming: Automating Data-Only Attacks
- Not All Data are Created Equal: Data and Pointer Prioritization for Scalable Protection Against Data-Oriented Attacks 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
- ropbot: Reimaging Code Reuse Attack Synthesis 引用了 Sound and Efficient Generation of Data-Oriented Exploits via Programming Language Synthesis
- ropbot: Reimaging Code Reuse Attack Synthesis 引用了 RetSpill: Igniting User-Controlled Data to Burn Away Linux Kernel Protections
- ropbot: Reimaging Code Reuse Attack Synthesis 引用了 Block Oriented Programming: Automating Data-Only Attacks
- ropbot: Reimaging Code Reuse Attack Synthesis 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
- Sound and Efficient Generation of Data-Oriented Exploits via Programming Language Synthesis 引用了 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 引用了 Block Oriented Programming: Automating Data-Only Attacks
- Sound and Efficient Generation of Data-Oriented Exploits via Programming Language Synthesis 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
- Sound and Efficient Generation of Data-Oriented Exploits via Programming Language Synthesis 引用了 Practical Data-Only Attack Generation
- RetSpill: Igniting User-Controlled Data to Burn Away Linux Kernel Protections 引用了 Block Oriented Programming: Automating Data-Only Attacks
- The Dynamics of Innocent Flesh on the Bone: Code Reuse Ten Years Later 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
- Block Oriented Programming: Automating Data-Only Attacks 引用了 Efficient Protection of Path-Sensitive Control Security
- Block Oriented Programming: Automating Data-Only Attacks 引用了 The Dynamics of Innocent Flesh on the Bone: Code Reuse Ten Years Later
- Block Oriented Programming: Automating Data-Only Attacks 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
- Block Oriented Programming: Automating Data-Only Attacks 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- Practical Data-Only Attack Generation 引用了 Not All Data are Created Equal: Data and Pointer Prioritization for Scalable Protection Against Data-Oriented Attacks
- Practical Data-Only Attack Generation 引用了 Efficient Protection of Path-Sensitive Control Security
- Practical Data-Only Attack Generation 引用了 The Dynamics of Innocent Flesh on the Bone: Code Reuse Ten Years Later
- Practical Data-Only Attack Generation 引用了 Block Oriented Programming: Automating Data-Only Attacks
- Practical Data-Only Attack Generation 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
引用它的顶会 Paper被引最多的 5 篇,共 8 篇
- Practical Data-Only Attack GenerationBrian Johannesmeyer, Asia Slowinska, Herbert Bos, Cristiano GiuffridaUSENIX Security 2024 · 16 次引用
- RetSpill: Igniting User-Controlled Data to Burn Away Linux Kernel ProtectionsKyle Zeng, Zhenpeng Lin, Kangjie Lu, Xinyu Xing 等CCS 2023 · 9 次引用
- ropbot: Reimaging Code Reuse Attack SynthesisKyle Zeng, Moritz Schloegel, Christopher Salls, Adam Doupé 等NDSS 2026 · 1 次引用
- Not All Data are Created Equal: Data and Pointer Prioritization for Scalable Protection Against Data-Oriented AttacksSalman Ahmed, Hans Liljestrand, Hani Jamjoom, Matthew Hicks 等USENIX Security 2023
- Sound and Efficient Generation of Data-Oriented Exploits via Programming Language SynthesisYuxi Ling, Gokul Rajiv, Kiran Gopinathan, Ilya SergeyUSENIX Security 2025
它引用的 Paper5
- SOK: (State of) The Art of War: Offensive Techniques in Binary AnalysisYan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens 等S&P 2016 · 1,085 次引用
- Data-Oriented Programming: On the Expressiveness of Non-control Data AttacksHong Hu, Shweta Shinde, Sendroiu Adrian, Zheng Leong Chua 等S&P 2016 · 420 次引用
- Block Oriented Programming: Automating Data-Only AttacksKyriakos K. Ispoglou, Bader AlBassam, Trent Jaeger, Mathias PayerCCS 2018 · 143 次引用
- Efficient Protection of Path-Sensitive Control SecurityRen Ding, Chenxiong Qian, Chengyu Song, William Harris 等USENIX Security 2017 · 123 次引用
- The Dynamics of Innocent Flesh on the Bone: Code Reuse Ten Years LaterVictor van der Veen, Dennis Andriesse, Manolis Stamatogiannakis, Xi Chen 等CCS 2017 · 74 次引用
相关 Paper
- Await() a Second: Evading Control Flow Integrity by Hijacking C++ CoroutinesMarcos Bajo, Christian RossowUSENIX Security 2025
- Crashing Through Defenses: Exploiting Segfaults and Chaining Around Intel CETMarcos Bajo, Ritvik Goyal, Apostolos Chatzianagnostou, Christian RossowS&P 2026
- What Cannot Be Read, Cannot Be Leveraged? Revisiting Assumptions of JIT-ROP DefensesGiorgi Maisuradze, Michael Backes, Christian RossowUSENIX Security 2016 · 41 次引用
- Leakage-Resilient Layout Randomization for Mobile DevicesKjell Braden, Lucas Davi, Christopher Liebchen, Ahmad-Reza Sadeghi 等NDSS 2016 · 90 次引用
- IMIX: In-Process Memory Isolation EXtensionTommaso Frassetto, Patrick Jauernig, Christopher Liebchen, Ahmad-Reza SadeghiUSENIX Security 2018 · 77 次引用
