From Binary to Source Code: Measuring LLMs Reverse Engineering Capabilities on Obfuscated Binaries
David Schmidt, Patrick Felbauer, Gabriel Gegenhuber, Philip König, Sebastian Raubitzek, Georg Goldenits, Sebastian Schrittwieser
Abstract
Software obfuscation protects intellectual property in Man-at-the-End (MATE) settings. Recent advances in Large Language Models (LLMs) challenge the protection that obfuscation provides by making automated reverse engineering increasingly effective. However, the extent to which obfuscation of native binaries withstands deobfuscation by frontier LLMs is unclear. In this paper, we systematically evaluate the capability of a frontier LLM, GPT 5.5, to reconstruct obfuscated native binaries. We construct a benchmark dataset of 40 C programs augmented with backdoor functionality, enabling us to distinguish complete semantic reconstruction from solutions that reproduce only parts of the program's algorithm. We apply 18 Tigress obfuscation options individually and in pairs, and provide the model with access to the Ghidra and Binary Ninja decompilers through Model Context Protocol (MCP). We evaluate the reconstructed programs based on syntactic correctness, semantic correctness, code simplification, and similarity to the original source code. With extra-high reasoning effort, the model reconstructs functionally equivalent programs for up to 91.7% of the evaluated binaries. Virtualization provides the strongest protection and reduces the execution pass rate to 78.8%. Ghidra and Binary Ninja achieve similar overall reconstruction performance, but Ghidra's settings require up to 59.7% more tokens. Layering transformations can further reduce reconstruction success, although the resulting protection depends on the selected techniques and the order in which they are applied. Overall, our results show that frontier LLMs substantially weaken the protection provided by obfuscation. At the same time, virtualization and selected combinations of transformations continue to provide measurable resistance against automated LLM-based reverse engineering.
Create a lesson
Related papers
Secure-Miner: Improving Secure Code Generation for LLMs by Mining Secure Coding Practices
Shared title terminologycs.CRJunjie Li, Jinqiu Yang
SuriTrain: A Platform to Train Network Intrusion Detection Rule Engineers
Shared title terminologycs.CRKoen T. W. Teuwen, Tom Mulders, Emmanuele Zambon et al.
SABER: Semantics-Anchored Prompt Obfuscation Optimizer Toward Practical LLM Privacy and IP Protection
Shared title terminologycs.CRYaxin Li, Pai Zheng, Jiayu Li et al.
Living-off-the-Agent: Enforcing MCP-to-Kernel Capability Boundaries
Shared title terminologycs.CRJeremy Canale, Fabien Soulis
PQCImplement-Bench: Evaluating LLMs on Implementing NIST Post-Quantum Standards in Production Cryptographic Libraries
Shared title terminologycs.CRSouhardya Saha Dip, Moshood A. Fakorede, A. B. Siddique et al.
Bounds on the Binary Addition Sequence Length of Block MDS Matrices
Shared title terminologycs.CRJianhua Wang, Chunhuan Zhao, Zhen Liu et al.