协同引导执行与LLM驱动分析用于零日AI生成恶意软件检测
Synergistic Directed Execution and LLM-Driven Analysis for Zero-Day AI-Generated Malware Detection
AI总结:
本文提出了一种结合协同执行与LLM驱动分析的框架,用于高效检测零日AI生成恶意软件,通过改进的路径优先级和反馈机制提升检测准确率。
摘要:
LLM用于自动化恶意软件生成的武器化对传统检测范式构成了生存威胁。AI生成的恶意软件表现出多态性、变形性和上下文感知的逃避能力,使基于签名和浅层启发式防御过时。本文介绍了一种新的混合分析框架,该框架协同结合协同执行与LLM增强的路径优先级和基于深度学习的漏洞分类,以检测具有可证明保证的零日AI生成恶意软件。我们将在程序执行轨迹上的第一阶时序逻辑中正式化检测问题,定义一个格论抽象用于路径约束空间,并在假设分类器正确的情况下证明检测算法的正确性和相对完备性。该框架引入了三种新算法:(i) 一种由LLM引导的协同探索策略,该策略相比深度优先搜索将探索的路径平均数减少了73.2%,同时保持等同的恶意路径覆盖;(ii) 一种基于变压器的路径约束分类器,该分类器在符号执行轨迹上进行训练;(iii) 一个反馈循环,通过从检测结果中学习来迭代改进LLM的优先级策略。我们提供了一个基于angr 9.2、Z3 4.12、Hugging Face Transformers 4.38和PyTorch 2.2的全面实现,配置细节使结果可重复。在EMBER、Malimg、SOREL-20M和一个包含2500个LLM合成样本的新AI-Gen-Malware基准测试中,该方法在传统恶意软件上达到98.7%的准确率,在AI生成威胁上达到97.5%的准确率,优于ClamAV、YARA、MalConv和EMBER-GBDT基线,在AI生成样本上以8.4-52.2个百分点的优势表现。
英文摘要:
The weaponization of LLMs for automated malware generation poses an existential threat to conventional detection paradigms. AI-generated malware exhibits polymorphic, metamorphic, and context-aware evasion capabilities that render signature-based and shallow heuristic defenses obsolete. This paper introduces a novel hybrid analysis framework that synergistically combines \emph{concolic execution} with \emph{LLM-augmented path prioritization} and \emph{deep-learning-based vulnerability classification} to detect zero-day AI-generated malware with provable guarantees. We formalize the detection problem within a first-order temporal logic over program execution traces, define a lattice-theoretic abstraction for path constraint spaces, and prove both the \emph{soundness} and \emph{relative completeness} of our detection algorithm, assuming classifier correctness. The framework introduces three novel algorithms: (i) an LLM-guided concolic exploration strategy that reduces the average number of explored paths by 73.2\% compared to depth-first search while maintaining equivalent malicious-path coverage; (ii) a transformer-based path-constraint classifier trained on symbolic execution traces; and (iii) a feedback loop that iteratively refines the LLM's prioritization policy using reinforcement learning from detection outcomes. We provide a comprehensive implementation built upon \texttt{angr} 9.2, \texttt{Z3} 4.12, Hugging Face Transformers 4.38, and PyTorch 2.2, with configuration details enabling reproducibility. Experimental evaluation on the EMBER, Malimg, SOREL-20M, and a novel AI-Gen-Malware benchmark comprising 2{,}500 LLM-synthesized samples demonstrates that achieves 98.7\% accuracy on conventional malware and 97.5\% accuracy on AI-generated threats, outperforming ClamAV, YARA, MalConv, and EMBER-GBDT baselines by margins of 8.4--52.2 percentage points on AI-generated samples.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。