Accurate Disassembly of Complex Binaries Without Use of Compiler Metadata
Abstract
Accurate disassembly of stripped binaries is the first step in binary analysis, instrumentation and reverse engineering. Complex instruction sets such as the x86 pose major challenges in this context because it is very difficult to distinguish between code and embedded data. To make progress, many recent approaches have either made optimistic assumptions (e.g., absence of embedded data) or relied on additional compiler-generated metadata (e.g., relocation info and/or exception handling metadata). Unfortunately, many complex binaries do contain embedded data, while lacking the additional metadata needed by these techniques. We therefore present a novel approach for accurate disassembly that uses statistical properties of data to detect code, and behavioral properties of code to flag data. We present new static analysis and data-driven probabilistic techniques that are then combined using a prioritized error correction algorithm to achieve results that are 3X to 4X more accurate than the best previous results.
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.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Disassembly as Weighted Interval Scheduling with Learned Weights cites An In-Depth Analysis of Disassembly on Full-Scale x86/x64 Binaries
- Disassembly as Weighted Interval Scheduling with Learned Weights cites RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization
- Disassembly as Weighted Interval Scheduling with Learned Weights cites Ramblr: Making Reassembly Great Again
- Disassembly as Weighted Interval Scheduling with Learned Weights cites SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- SAFER: Efficient and Error-Tolerant Binary Instrumentation cites RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization
- SAFER: Efficient and Error-Tolerant Binary Instrumentation cites Ramblr: Making Reassembly Great Again
- SAFER: Efficient and Error-Tolerant Binary Instrumentation cites SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization cites An In-Depth Analysis of Disassembly on Full-Scale x86/x64 Binaries
- RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization cites Ramblr: Making Reassembly Great Again
- RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization cites SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- Ramblr: Making Reassembly Great Again cites An In-Depth Analysis of Disassembly on Full-Scale x86/x64 Binaries
- RAZOR: A Framework for Post-deployment Software Debloating cites An In-Depth Analysis of Disassembly on Full-Scale x86/x64 Binaries
- RAZOR: A Framework for Post-deployment Software Debloating cites Ramblr: Making Reassembly Great Again
- Long-Range Indirect Control-Flow Prediction in Stripped Binaries via Dual Virtual Hubs and Multi-Task Graph Learning cites An In-Depth Analysis of Disassembly on Full-Scale x86/x64 Binaries
- Long-Range Indirect Control-Flow Prediction in Stripped Binaries via Dual Virtual Hubs and Multi-Task Graph Learning cites RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization
- Long-Range Indirect Control-Flow Prediction in Stripped Binaries via Dual Virtual Hubs and Multi-Task Graph Learning cites SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- Analyzing Bytes: Pre-Disassembly Static Binary Analysis cites Disassembly as Weighted Interval Scheduling with Learned Weights
- Analyzing Bytes: Pre-Disassembly Static Binary Analysis cites SAFER: Efficient and Error-Tolerant Binary Instrumentation
- Analyzing Bytes: Pre-Disassembly Static Binary Analysis cites RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization
- Analyzing Bytes: Pre-Disassembly Static Binary Analysis cites Ramblr: Making Reassembly Great Again
- Analyzing Bytes: Pre-Disassembly Static Binary Analysis cites RAZOR: A Framework for Post-deployment Software Debloating
- Analyzing Bytes: Pre-Disassembly Static Binary Analysis cites SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
Cited by top-tier papers5
- Diatom: Polylithic Binary Lifting with Data-Flow Summaries and Type-Aware IR LinkingAnshunkang Zhou, Charles ZhangOOPSLA 2026 · 1 citation
- Disassembly as Weighted Interval Scheduling with Learned WeightsAntonio Flores-Montoya, Junghee Lim, Adam Seitz, Akshay Sood et al.S&P 2025
- SAFER: Efficient and Error-Tolerant Binary InstrumentationSoumyakant Priyadarshan, Huan Nguyen, Rohit Chouhan, R. SekarUSENIX Security 2023
- Long-Range Indirect Control-Flow Prediction in Stripped Binaries via Dual Virtual Hubs and Multi-Task Graph LearningKun Liu, Zhengming Ding, Chenke Luo, Tianyi Xu et al.CCS 2026
- Analyzing Bytes: Pre-Disassembly Static Binary AnalysisHuan Nguyen, Soumyakant Priyadarshan, Chencheng Jiang, R. SekarPLDI 2026
Builds on15
- 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
- RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and SanitizationSushant Dinesh, Nathan Burow, Dongyan Xu, Mathias PayerS&P 2020 · 187 citations
- An In-Depth Analysis of Disassembly on Full-Scale x86/x64 BinariesDennis Andriesse, Xi Chen, Victor van der Veen, Asia Slowinska et al.USENIX Security 2016 · 162 citations
- Ramblr: Making Reassembly Great AgainRuoyu Wang, Yan Shoshitaishvili, Antonio Bianchi, Aravind Machiry et al.NDSS 2017 · 155 citations
- RAZOR: A Framework for Post-deployment Software DebloatingChenxiong Qian, Hong Hu, Mansour Alharthi, Simon Pak Ho Chung et al.USENIX Security 2019 · 132 citations
Related papers
- Debin: Predicting Debug Information in Stripped BinariesJingxuan He, Pesho Ivanov, Petar Tsankov, Veselin Raychev et al.CCS 2018 · 148 citations
- Datalog DisassemblyAntonio Flores-Montoya, Eric M. SchulteUSENIX Security 2020
- OSPREY: Recovery of Variable and Data Structure via Probabilistic Analysis for Stripped BinaryZhuo Zhang, Yapeng Ye, Wei You, Guanhong Tao et al.S&P 2021 · 78 citations
- XDA: Accurate, Robust Disassembly with Transfer LearningKexin Pei, Jonas Guan, David Williams-King, Junfeng Yang et al.NDSS 2021
- Egalito: Layout-Agnostic Binary RecompilationDavid Williams-King, Hidenori Kobayashi, Kent Williams-King, Graham Patterson et al.ASPLOS 2020 · 68 citations
