Yuzhe Liu, Fudan University; Zhijie Liu, ShanghaiTech University; Zhengmin Yu, Fudan University; Shu Wang, Northwest University and Xi'an Key Laboratory of Advanced Computing and Software Security; Ling Jiang, Sen Nie, and Shi Wu, Tencent Security Keen Lab; Zhanyong Tang, Northwest University and Xi'an Key Laboratory of Advanced Computing and Software Security; Yuan Zhang, Fudan University
Stripped binaries dominate real-world security analysis: COTS software, firmware, and malware are released without symbols, obscuring program semantics. Recent LLM-based approaches target narrowly predefined tasks, limiting applicability in intent-driven analysis. Toward general binary analysis, agentic LLMs provide a natural direction, yet achieving generality remains challenging: query intent is hard to ground in stripped binaries, and effective tool-driven analysis is difficult.
We present BINREX, the first agentic framework for general, fully automated static binary analysis. BINREX employs a dual-encoder pipeline to enrich stripped functions with semantic context, paired with hierarchical planning to decompose intents into executable subtasks. It leverages code synthesis to translate subtasks into IDAPython scripts, executed with iterative validation to produce outputs aggregated into the final report.
We evaluate BINREX on BinREval, a benchmark of 72 tasks across seven COTS categories with machine-checkable oracles. BINREX achieves 83.3% success rate, outperforming baselines (Codex: 27.8%, Codex with IDA: 43.1%) while reducing total analysis time from 87.9 to 36.1 hours. On domain benchmarks (Juliet, NYU CTF), BINREX is competitive with task-specific methods on their respective evaluation settings. Human study and industrial deployment confirm practical value: BINREX identifies 395 unknown malware samples with 96× average efficiency gain over experts.
USENIX Security '26 Open Access Sponsored by
King Abdullah University of Science and Technology (KAUST)
Open Access Media
USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.
author = {Yuzhe Liu and Zhijie Liu and Zhengmin Yu and Shu Wang and Ling Jiang and Sen Nie and Shi Wu and Zhanyong Tang and Yuan Zhang},
title = {Towards Generality: {Task-Adaptive} Binary Analysis via Semantic Retrieval and Verifiable Reasoning},
booktitle = {35th USENIX Security Symposium (USENIX Security 26)},
year = {2026},
isbn = {978-1-939133-58-8},
address = {Baltimore, MD},
pages = {2783--2802},
url = {https://www.usenix.org/conference/usenixsecurity26/presentation/liu-yuzhe},
publisher = {USENIX Association},
month = aug
}