arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.06325cs.CRcs.SE
收藏

利用LLM代理识别恶意软件二进制中的攻击战术与技术

Identifying Adversary Tactics and Techniques in Malware Binaries with an LLM Agent

Purdue University(普渡大学)

Zhou Xuan, Xiangzhe Xu, Mingwei Zheng, Louis Zheng-Hua Tan, Jinyao Guo, Tiantai Zhang, Le Yu, Chengpeng Wang, Xiangyu Zhang

AI总结:

TTPDetect通过结合密集检索与LLM神经检索,利用LLM代理识别恶意软件二进制中的TTPs,实现高精度和召回率。

摘要:

理解恶意软件二进制中的TTPs(战术、技术和程序)对于安全分析和威胁情报至关重要,但在实践中仍具有挑战性。现实中的恶意软件二进制通常剥离了符号,包含大量函数,并将恶意行为分布在多个代码区域,使TTP归因困难。最近的大型语言模型(LLMs)具有强大的代码理解能力,但直接应用于此任务面临在识别分析入口点、在部分可观测性下推理以及与TTP特定决策逻辑不一致的挑战。我们提出了TTPDetect,这是第一个用于识别剥离恶意软件二进制中TTPs的LLM代理。TTPDetect结合密集检索与基于LLM的神经检索,以缩小分析入口点的空间。TTPDetect进一步采用一个函数级分析代理,包括一个Context Explorer,它执行按需、增量上下文检索,以及一个TTP特定推理指南,以实现推理时的对齐。我们构建了一个新数据集,该数据集对不同恶意软件家族和平台的反编译函数进行标记,以TTPs分类。TTPDetect在函数级TTP识别上实现了93.25%的精确度和93.81%的召回率,分别优于基线10.38%和18.78%。当在真实世界恶意软件样本上评估时,TTPDetect在TTP识别上的精确度为87.37%。对于具有专家撰写报告的恶意软件,TTPDetect恢复了85.7%的记录TTPs,并进一步发现,每台恶意软件平均发现10.5个之前未报告的TTPs。

英文摘要:

Understanding TTPs (Tactics, Techniques, and Procedures) in malware binaries is essential for security analysis and threat intelligence, yet remains challenging in practice. Real-world malware binaries are typically stripped of symbols, contain large numbers of functions, and distribute malicious behavior across multiple code regions, making TTP attribution difficult. Recent large language models (LLMs) offer strong code understanding capabilities, but applying them directly to this task faces challenges in identifying analysis entry points, reasoning under partial observability, and misalignment with TTP-specific decision logic. We present TTPDetect, the first LLM agent for recognizing TTPs in stripped malware binaries. TTPDetect combines dense retrieval with LLM-based neural retrieval to narrow the space of analysis entry points. TTPDetect further employs a function-level analyzing agent consisting of a Context Explorer that performs on-demand, incremental context retrieval and a TTP-Specific Reasoning Guideline that achieves inference-time alignment. We build a new dataset that labels decompiled functions with TTPs across diverse malware families and platforms. TTPDetect achieves 93.25% precision and 93.81% recall on function-level TTP recognition, outperforming baselines by 10.38% and 18.78%, respectively. When evaluated on real world malware samples, TTPDetect recognizes TTPs with a precision of 87.37%. For malware with expert-written reports, TTPDetect recovers 85.7% of the documented TTPs and further discovers, on average, 10.5 previously unreported TTPs per malware.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑