Skip to content

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

cs.CR

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