Lune

USENIX Security2025Top-tier venue

Nothing is Unreachable: Automated Synthesis of Robust Code-Reuse Gadget Chains for Arbitrary Exploitation Primitives

Nicolas Bailluet, Emmanuel Fleury, Isabelle Puaut, Erven Rohou

Abstract

Automating gadget chaining is a challenge that has attracted significant attention since the introduction of code-reuse attacks. Influenced by the primitives offered by stack-overflow vulnerabilities, several approaches were proposed that required the attacker to control the stack. Since then, most proposed approaches have had strong requirements on the capabilities of the attacker. However, during the last decade, a plethora of new attack primitives have emerged -e.g. useafter-free, heap-overflow -often breaking the requirements of existing approaches -e.g. controlling the stack. This paper presents a new approach to synthesizing code-reuse gadget chains that supports arbitrary exploitation primitives and layouts. We thoroughly compare the performance of our approach to the state-of-the-art. We show its ability to outperform its competitors by supporting intricate exploitation primitives and layouts that other approaches cannot. Especially, we demonstrate its real-world applicability by synthesizing gadget chains for ten real-world vulnerabilities with diverse exploitation primitives that competing tools struggle with. Among them is our case study: CVE-2022-46152 -which targets a widely used trusted execution environment.

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.

1 top-tier paper has 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

  • ropbot: Reimaging Code Reuse Attack Synthesis cites FUZE: Towards Facilitating Exploit Generation for Kernel Use-After-Free Vulnerabilities
  • ropbot: Reimaging Code Reuse Attack Synthesis cites Automatic Heap Layout Manipulation for Exploitation
  • ropbot: Reimaging Code Reuse Attack Synthesis cites Block Oriented Programming: Automating Data-Only Attacks
  • ropbot: Reimaging Code Reuse Attack Synthesis cites MAZE: Towards Automated Heap Feng Shui
  • Block Oriented Programming: Automating Data-Only Attacks cites The Dynamics of Innocent Flesh on the Bone: Code Reuse Ten Years Later
  • MAZE: Towards Automated Heap Feng Shui cites FUZE: Towards Facilitating Exploit Generation for Kernel Use-After-Free Vulnerabilities
  • MAZE: Towards Automated Heap Feng Shui cites Automatic Heap Layout Manipulation for Exploitation
  • MAZE: Towards Automated Heap Feng Shui cites Block Oriented Programming: Automating Data-Only Attacks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. ropbot: Reimaging Code Reuse Attack SynthesisKyle Zeng, Moritz Schloegel, Christopher Salls, Adam Doupé et al.NDSS 2026 · 1 citation

Builds on8

  1. Block Oriented Programming: Automating Data-Only AttacksKyriakos K. Ispoglou, Bader AlBassam, Trent Jaeger, Mathias PayerCCS 2018 · 143 citations
  2. FUZE: Towards Facilitating Exploit Generation for Kernel Use-After-Free VulnerabilitiesWei Wu, Yueqi Chen, Jun Xu, Xinyu Xing et al.USENIX Security 2018 · 124 citations
  3. 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
  4. Automatic Heap Layout Manipulation for ExploitationSean Heelan, Tom Melham, Daniel KroeningUSENIX Security 2018 · 62 citations
  5. MAZE: Towards Automated Heap Feng ShuiYan Wang, Chao Zhang, Zixuan Zhao, Bolun Zhang et al.USENIX Security 2021 · 25 citations

Related papers

  1. KEPLER: Facilitating Control-flow Hijacking Primitive Evaluation for Linux Kernel VulnerabilitiesWei Wu, Yueqi Chen, Xinyu Xing, Wei ZouUSENIX Security 2019 · 75 citations
  2. Precise and Effective Gadget Chain Mining through Deserialization Guided Call Graph ConstructionYiheng Zhang, Ming Wen, Shunjie Liu, Dongjie He et al.USENIX Security 2025
  3. Sound and Efficient Generation of Data-Oriented Exploits via Programming Language SynthesisYuxi Ling, Gokul Rajiv, Kiran Gopinathan, Ilya SergeyUSENIX Security 2025
  4. Synthesis of Code-Reuse Attacks from p-code ProgramsMark DenHoed, Tom MelhamUSENIX Security 2025
  5. Automated Exploitable Heap Layout Generation for Heap Overflows Through Manipulation Distance-Guided FuzzingBin Zhang, Jiongyi Chen, Runhao Li, Chao Feng et al.USENIX Security 2023
Dusk over the sea between two cliffs drawn in fine vertical lines