BUSTA: Teaching Small Language Models to Reason About Binary Execution
Organizations: The MITRE Corporation
Abstract
Large Language Models (LLM) are increasingly applied to Reverse Engineering (RE) workflows. RE, however, differs from common LLM coding tasks as it requires models to reason about low-level program behavior. Furthermore, the deployment of tooling in resource-constrained sandboxed RE environments limits the ability to use frontier-scale solutions. We examine whether a targeted LLM training approach can transfer distinct RE skills to open models via inverse basic-block execution: given an x86-64 basic block and a desired output register state, the model predicts the input register values that produce it. Fine-tuning Qwen3-1.7B and Nemotron-3-Nano with Group Relative Policy Optimization (GRPO) raises knowable-register prediction accuracy from 73.2% to 85.3% and from 63.3% to 95.2%, respectively. Frontier models still score highest (up to 99.2%), but our fine-tuned Nemotron-3-Nano comes within four points at a fraction of the parameter count. We release both fine-tuned models and the training dataset.
Figures & tables
| Accuracy (%) | |||||||
| Model | Valid (%) | Cov. (%) | Known | Unk. cls. | Unk. val. | Avg. Tot. Tokens | |
| Open-weight models | |||||||
| qwen3-1.7b | 97.2 | 77.8 | 73.2 | – | 59.5 | 6.3 | 14716 |
| + busta | 94.1 | 89.4 | 85.3 | 72.8 | 10.2 | 7668 | |
| nemotron-3-nano | 72.0 | 68.3 | 63.3 | – | 58.4 | 9.3 | 27968 |
| + busta | 99.8 | 99.5 | 95.2 | 91.2 | 11.8 | 15794 | |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Metric | Definition |
|---|---|
| Valid Response Rate | LLM produces valid output |
| Register Coverage | Number of expected registers predicted |
| Knowable Register Accuracy | Correct prediction / knowable |
| Unknowable Classification Accuracy | LLM correctly determines whether a register is unknowable |
| Unknowable Value Accuracy | Correct prediction / unknowable |
LLMs for Cybersecurity
Large language models for cybersecurity support threat analysis, vulnerability research, security operations, and cyber defense.
See all 258 papers