arXiv:2505.19887cs.SEcs.AI2025-05被引 6

首次系统评估大模型在反混淆中的表现,揭示其能力边界。

Deconstructing Obfuscation: A four-dimensional framework for evaluating Large Language Models assembly code deobfuscation capabilities

  • 构建四维框架解析大模型反混淆能力差异
  • 组合混淆技术导致所有模型完全失效
  • 适合安全研究者与逆向工程初学者参考

大型语言模型(LLMs)在软件工程中展现出潜力,但其在二进制分析中的有效性尚未被探索。本文首次全面评估了七种主流商业LLMs在四种混淆场景(虚假控制流、指令替换、控制流扁平化及其组合)下的汇编代码反混淆能力。实验发现性能差异显著——从自主反混淆到完全失败不等。我们提出基于四个维度的理论框架:推理深度、模式识别、噪声过滤和上下文整合,用以解释这些差异。分析识别出五类错误模式:谓词误解、结构映射错误、控制流误解、算术变换错误和常量传播错误,揭示了大模型处理代码的根本局限。建立三层次抗混淆模型:虚假控制流(低抵抗)、控制流扁平化(中等抵抗)、指令替换/组合技术(高抵抗)。对组合技术的普遍失败表明,复杂混淆仍能有效对抗先进大模型。研究建议采用人机协作范式,让大模型降低特定逆向任务的门槛,同时需人类指导应对复杂情况。本工作为评估新兴能力及开发抗性混淆技术提供了基础。

原文摘要 · Abstract (English)

Large language models (LLMs) have shown promise in software engineering, yet their effectiveness for binary analysis remains unexplored. We present the first comprehensive evaluation of commercial LLMs for assembly code deobfuscation. Testing seven state-of-the-art models against four obfuscation scenarios (bogus control flow, instruction substitution, control flow flattening, and their combination), we found striking performance variations--from autonomous deobfuscation to complete failure. We propose a theoretical framework based on four dimensions: Reasoning Depth, Pattern Recognition, Noise Filtering, and Context Integration, explaining these variations. Our analysis identifies five error patterns: predicate misinterpretation, structural mapping errors, control flow misinterpretation, arithmetic transformation errors, and constant propagation errors, revealing fundamental limitations in LLM code processing.We establish a three-tier resistance model: bogus control flow (low resistance), control flow flattening (moderate resistance), and instruction substitution/combined techniques (high resistance). Universal failure against combined techniques demonstrates that sophisticated obfuscation remains effective against advanced LLMs. Our findings suggest a human-AI collaboration paradigm where LLMs reduce expertise barriers for certain reverse engineering tasks while requiring human guidance for complex deobfuscation. This work provides a foundation for evaluating emerging capabilities and developing resistant obfuscation techniques.x deobfuscation. This work provides a foundation for evaluating emerging capabilities and developing resistant obfuscation techniques.

大模型反混淆逆向工程代码分析

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。