OASIF:一种高效的混淆感知自改进框架,用于基于LLM的汇编代码指令遵循与理解
OASIF: An Efficient Obfuscation-Aware Self-Improving Framework for LLM-Based Assembly Code Instruction Following and Comprehension
AI总结:
提出OASIF框架,通过令牌高效汇编编码器、轻量投影器和三阶段训练(特征空间对齐、监督指令微调、在线自进化强化学习),提升LLM在商业级混淆汇编代码上的指令遵循与理解能力,在VMISA-Bench上取得显著成功率提升。
摘要:
大型语言模型(LLM)最近在自动化二进制分析中展现出潜力,但在商业级混淆下仍然脆弱。我们提出OASIF,一种混淆感知的自进化指令遵循框架,用于混淆汇编理解。OASIF将令牌高效的汇编编码器与轻量投影器结合,在有限上下文预算下将长混淆代码暴露给预训练的代码LLM,并遵循三阶段训练:(i)特征空间对齐,(ii)监督指令微调,以及(iii)具有混合奖励的在线自进化强化学习,实现以最少人工验证的持续适应。在VMISA-Bench(一个具有挑战性的分布外套件,包含三种商业基于虚拟机的混淆器)上,OASIF持续改进开源骨干模型;Qwen2.5-Coder-Instruct-14B在Code Virtualizer、Themida (v3.0.7)和VMProtect (v3.5)上分别获得+15.9、+5.8和+16.9个百分点(pp)的成功率提升,并在OASIF-Bench平均上提升+9.8。OASIF进一步在七个标准BCSD基准上提供稳定增益,同时在HumanEval、VulBench和HumanEval-Decompile上保持通用和领域相关能力。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。