Accurate Disassembly of Complex Binaries Without Use of Compiler Metadata
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Disassembly as Weighted Interval Scheduling with Learned Weights 引用了 An In-Depth Analysis of Disassembly on Full-Scale x86/x64 Binaries
- Disassembly as Weighted Interval Scheduling with Learned Weights 引用了 RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization
- Disassembly as Weighted Interval Scheduling with Learned Weights 引用了 Ramblr: Making Reassembly Great Again
- Disassembly as Weighted Interval Scheduling with Learned Weights 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- SAFER: Efficient and Error-Tolerant Binary Instrumentation 引用了 RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization
- SAFER: Efficient and Error-Tolerant Binary Instrumentation 引用了 Ramblr: Making Reassembly Great Again
- SAFER: Efficient and Error-Tolerant Binary Instrumentation 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization 引用了 An In-Depth Analysis of Disassembly on Full-Scale x86/x64 Binaries
- RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization 引用了 Ramblr: Making Reassembly Great Again
- RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- Ramblr: Making Reassembly Great Again 引用了 An In-Depth Analysis of Disassembly on Full-Scale x86/x64 Binaries
- RAZOR: A Framework for Post-deployment Software Debloating 引用了 An In-Depth Analysis of Disassembly on Full-Scale x86/x64 Binaries
- RAZOR: A Framework for Post-deployment Software Debloating 引用了 Ramblr: Making Reassembly Great Again
- Long-Range Indirect Control-Flow Prediction in Stripped Binaries via Dual Virtual Hubs and Multi-Task Graph Learning 引用了 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 引用了 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 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- Analyzing Bytes: Pre-Disassembly Static Binary Analysis 引用了 Disassembly as Weighted Interval Scheduling with Learned Weights
- Analyzing Bytes: Pre-Disassembly Static Binary Analysis 引用了 SAFER: Efficient and Error-Tolerant Binary Instrumentation
- Analyzing Bytes: Pre-Disassembly Static Binary Analysis 引用了 RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization
- Analyzing Bytes: Pre-Disassembly Static Binary Analysis 引用了 Ramblr: Making Reassembly Great Again
- Analyzing Bytes: Pre-Disassembly Static Binary Analysis 引用了 RAZOR: A Framework for Post-deployment Software Debloating
- Analyzing Bytes: Pre-Disassembly Static Binary Analysis 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
引用它的顶会 Paper5
- Diatom: Polylithic Binary Lifting with Data-Flow Summaries and Type-Aware IR LinkingAnshunkang Zhou, Charles ZhangOOPSLA 2026 · 1 次引用
- Disassembly as Weighted Interval Scheduling with Learned WeightsAntonio Flores-Montoya, Junghee Lim, Adam Seitz, Akshay Sood 等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 等CCS 2026
- Analyzing Bytes: Pre-Disassembly Static Binary AnalysisHuan Nguyen, Soumyakant Priyadarshan, Chencheng Jiang, R. SekarPLDI 2026
它引用的 Paper15
- SOK: (State of) The Art of War: Offensive Techniques in Binary AnalysisYan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens 等S&P 2016 · 1,085 次引用
- RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and SanitizationSushant Dinesh, Nathan Burow, Dongyan Xu, Mathias PayerS&P 2020 · 187 次引用
- An In-Depth Analysis of Disassembly on Full-Scale x86/x64 BinariesDennis Andriesse, Xi Chen, Victor van der Veen, Asia Slowinska 等USENIX Security 2016 · 162 次引用
- Ramblr: Making Reassembly Great AgainRuoyu Wang, Yan Shoshitaishvili, Antonio Bianchi, Aravind Machiry 等NDSS 2017 · 155 次引用
- RAZOR: A Framework for Post-deployment Software DebloatingChenxiong Qian, Hong Hu, Mansour Alharthi, Simon Pak Ho Chung 等USENIX Security 2019 · 132 次引用
相关 Paper
- Debin: Predicting Debug Information in Stripped BinariesJingxuan He, Pesho Ivanov, Petar Tsankov, Veselin Raychev 等CCS 2018 · 148 次引用
- 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 等S&P 2021 · 78 次引用
- XDA: Accurate, Robust Disassembly with Transfer LearningKexin Pei, Jonas Guan, David Williams-King, Junfeng Yang 等NDSS 2021
- Egalito: Layout-Agnostic Binary RecompilationDavid Williams-King, Hidenori Kobayashi, Kent Williams-King, Graham Patterson 等ASPLOS 2020 · 68 次引用
