OASIF: An Efficient Obfuscation-Aware Self-Improving Framework for LLM-Based Assembly Code Instruction Following and Comprehension
Reading guide · Based on sections of the original paper
Why read this
Practitioners building LLM tools for defensive reverse engineering or malware triage can use it to judge whether encoder-plus-RL adaptation helps mid-size open models on commercially obfuscated code.
What the authors found
- On VMISA-Bench, the authors call the unseen virtual ISAs out-of-distribution. The authors report single-run gains for Qwen2.5-Coder-Instruct-14B over its own backbone. Success rate rose from 43.5% to 59.4% on Code Virtualizer, 8.7% to 14.5% on Themida v3.0.7, and 32.9% to 49.8% on VMProtect v3.5. Table 1 still shows the best proprietary models ahead, for example 75.4% and 77.2%. 6.1 VMISA-Bench Evaluation
- On the authors' OASIF-Bench, the 14B average rose from 54.7 to 64.5 on a 0–100 scale. The benchmark has 450 expert-curated queries built from 30 source snippets and is scored by GPT-5.4 against expert references. The table shows one regression: DeepSeek-6.7B fell 3.4 on BCF. 6.2 OASIF-Bench Evaluation
- General coding ability declines. HumanEval Pass@1 fell by 1.9 points for Qwen-7B and 4.8 for Qwen-14B, and dropped sharply for DeepSeek-6.7B (66.1 to 50.6). VulBench stayed within about one point, and HumanEval-Decompile compile rate rose slightly. 6.4 Capability Preservation
Main limitation
Each configuration is a single training run with no variance estimate, and the authors concede this. Some reported margins are small, such as a +0.006 BCSD MRR gain for 14B. Training used only OLLVM obfuscation and function-level x86_64 code. Limitations
Where to start
Appendix F Reward Design and Evaluation Decoupling · S13 describes the semantic reward as model self-evaluation. S34 instead says it comes from a privileged reward model that sees the source code. Check this before trusting the 'self-evolving' framing.
Abstract
Large Language Models (LLMs) have recently shown promise in automated binary analysis, yet they remain brittle under commercial-grade obfuscation. We present OASIF, an Obfuscation-Aware Self-evolving Instruction-Following framework for obfuscated assembly comprehension. OASIF couples a token-efficient assembly encoder with a lightweight projector to expose long obfuscated code to a pretrained code LLM under a bounded context budget and follows a three-phase training: (i) feature-space alignment, (ii) supervised instruction fine-tuning, and (iii) online self-evolving reinforcement learning with hybrid rewards, enabling continual adaptation with minimal manual verification. On VMISA-Bench, a challenging out-of-distribution suite featuring three commercial VM-based obfuscators, OASIF consistently improves open-source backbones; Qwen2.5-Coder-Instruct-14B attains Success Rate gains of +15.9, +5.8, and +16.9 percentage points (pp) on Code Virtualizer, Themida (v3.0.7), and VMProtect (v3.5), respectively, and improves the OASIF-Bench average by +9.8. OASIF further delivers stable gains across seven standard BCSD benchmarks while preserving general and domain-relevant capabilities on HumanEval, VulBench, and HumanEval-Decompile.