Decomperson: How Humans Decompile and What We Can Learn From It
Kevin Burk, Fabio Pagani, Christopher Kruegel, Giovanni Vigna
摘要
Human analysts must reverse engineer binary programs as a prerequisite for a number of security tasks, such as vulnerability analysis, malware detection, and firmware re-hosting. Existing studies of human reversers and the processes they follow are limited in size and often use qualitative metrics that require subjective evaluation.
In this paper, we reframe the problem of reverse engineering binaries as the problem of perfect decompilation, which is the process of recovering, from a binary program, source code that, when compiled, produces binary code that is identical to the original binary. This gives us a quantitative measure of understanding, and lets us examine the reversing process programmatically.
We developed a tool, called DECOMPERSON, that supported a group of reverse engineers during a large-scale security competition designed to collect information about the participants' reverse engineering process, with the well-defined goal of achieving perfect decompilation. Over 150 people participated, and we collected more than 35,000 code submissions, the largest manual reverse engineering dataset to date. This includes snapshots of over 300 successful perfect decompilation attempts. In this paper, we show how perfect decompilation allows programmatic analysis of such large datasets, providing new insights into the reverse engineering process.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Ahoy SAILR! There is No Need to DREAM of C: A Compiler-Aware Structuring Algorithm for Binary Decompilation 引用了 Augmenting Decompiler Output with Learned Variable Names and Types
- Ahoy SAILR! There is No Need to DREAM of C: A Compiler-Aware Structuring Algorithm for Binary Decompilation 引用了 RE-Mind: a First Look Inside the Mind of a Reverse Engineer
- D-Helix: A Generic Decompiler Testing Framework Using Symbolic Differentiation 引用了 Ahoy SAILR! There is No Need to DREAM of C: A Compiler-Aware Structuring Algorithm for Binary Decompilation
- D-Helix: A Generic Decompiler Testing Framework Using Symbolic Differentiation 引用了 Augmenting Decompiler Output with Learned Variable Names and Types
- D-Helix: A Generic Decompiler Testing Framework Using Symbolic Differentiation 引用了 An Observational Investigation of Reverse Engineers' Processes
- DecLLM: LLM-Augmented Recompilable Decompilation for Enabling Programmatic Use of Decompiled Code 引用了 Augmenting Decompiler Output with Learned Variable Names and Types
- An Observational Investigation of Reverse Engineers' Processes 引用了 Rise of the HaCRS: Augmenting Autonomous Cyber Reasoning Systems with Human Assistance
- A Taxonomy of C Decompiler Fidelity Issues 引用了 Augmenting Decompiler Output with Learned Variable Names and Types
- A Taxonomy of C Decompiler Fidelity Issues 引用了 An Observational Investigation of Reverse Engineers' Processes
- A Taxonomy of C Decompiler Fidelity Issues 引用了 RE-Mind: a First Look Inside the Mind of a Reverse Engineer
- RE-Mind: a First Look Inside the Mind of a Reverse Engineer 引用了 An Observational Investigation of Reverse Engineers' Processes
- RE-Mind: a First Look Inside the Mind of a Reverse Engineer 引用了 Rise of the HaCRS: Augmenting Autonomous Cyber Reasoning Systems with Human Assistance
- Source Code Foundation Models are Transferable Binary Analysis Knowledge Bases 引用了 Augmenting Decompiler Output with Learned Variable Names and Types
引用它的顶会 Paper16
- Ahoy SAILR! There is No Need to DREAM of C: A Compiler-Aware Structuring Algorithm for Binary DecompilationZion Leonahenahe Basque, Ati Priya Bajaj, Wil Gibbs, Jude O'Kain 等USENIX Security 2024 · 32 次引用
- A Taxonomy of C Decompiler Fidelity IssuesLuke Dramko, Jeremy Lacomis, Edward J. Schwartz, Bogdan Vasilescu 等USENIX Security 2024 · 23 次引用
- Source Code Foundation Models are Transferable Binary Analysis Knowledge BasesZian Su, Xiangzhe Xu, Ziyang Huang, Kaiyuan Zhang 等NeurIPS 2024 · 17 次引用
- D-Helix: A Generic Decompiler Testing Framework Using Symbolic DifferentiationMuqi Zou, Arslan Khan, Ruoyu Wu, Han Gao 等USENIX Security 2024 · 14 次引用
- DecLLM: LLM-Augmented Recompilable Decompilation for Enabling Programmatic Use of Decompiled CodeWai Kin Wong, Daoyuan Wu, Huaijin Wang, Zongjie Li 等ISSTA 2025 · 8 次引用
它引用的 Paper5
- Understanding Linux MalwareEmanuele Cozzi, Mariano Graziano, Yanick Fratantonio, Davide BalzarottiS&P 2018 · 203 次引用
- Rise of the HaCRS: Augmenting Autonomous Cyber Reasoning Systems with Human AssistanceYan Shoshitaishvili, Michael Weissbacher, Lukas Dresel, Christopher Salls 等CCS 2017 · 57 次引用
- Augmenting Decompiler Output with Learned Variable Names and TypesQibin Chen, Jeremy Lacomis, Edward J. Schwartz, Claire Le Goues 等USENIX Security 2022
- An Observational Investigation of Reverse Engineers' ProcessesDaniel Votipka, Seth M. Rabin, Kristopher K. Micinski, Jeffrey S. Foster 等USENIX Security 2020
- RE-Mind: a First Look Inside the Mind of a Reverse EngineerAlessandro Mantovani, Simone Aonzo, Yanick Fratantonio, Davide BalzarottiUSENIX Security 2022
相关 Paper
- Walking The Last Mile: Studying Decompiler Output Correction in PracticeJoshua Wiedemeier, Simon Klancher, Joel Flores, Max Zheng 等CCS 2025
- DecompileBench: A Comprehensive Benchmark for Evaluating Decompilers in Real-World ScenariosZeyu Gao, Yuxin Cui, Hao Wang, Siliang Qin 等ACL Findings 2025 · 3 次引用
- Evaluating the Effectiveness of DecompilersYing Cao, Runze Zhang, Ruigang Liang, Kai ChenISSTA 2024 · 10 次引用
- Helping Johnny to Analyze Malware: A Usability-Optimized Decompiler and Malware Analysis User StudyKhaled Yakdan, Sergej Dechand, Elmar Gerhards-Padilla, Matthew SmithS&P 2016 · 128 次引用
- How far we have come: testing decompilation correctness of C decompilersZhibo Liu, Shuai WangISSTA 2020 · 53 次引用
