Skip to main content
QUICK REVIEW

[论文解读] Identifying Adversary Tactics and Techniques in Malware Binaries with an LLM Agent

Zhou Xuan, Xiangzhe Xu|arXiv (Cornell University)|Feb 6, 2026
Advanced Malware Detection TechniquesComputer Science被引用 0
一句话总结

本文提出 TTPDetect,这是首个基于大模型的代理,在函数层面和二进制层面对提取恶意软件被剥离后的位置使用混合检索、Context Explorer 和 TTP 特定推理准则来识别 ATT&CK TTP。它还提供了一个带标签的函数级 TTP 数据集,并报告相对于基线的精确率/召回率显著提升。

ABSTRACT

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.

研究动机与目标

  • 直接从剥离二进制文件中映射恶意软件行为到 ATT&CK TTP 的需求,以用于威胁情报和防御规划。
  • 提出 TTPDetect—a 称为结合密集检索和神经检索的 LLM 代理,用于在二进制层面识别有前景的函数–TTP 条目,然后在函数层面对候选对进行分析。
  • 引入覆盖多样化恶意软件家族与平台的函数级 TTP 数据集。
  • 证明 TTPDetect 在函数级 TTP 识别和真实世界的恶意软件样本上达到高精度和召回,并能够发现未报道的 TTP。

提出的方法

  • 混合检索通过结合密集检索(基于嵌入)和神经检索(基于 LLM)来裁剪候选的函数–TTP 对,以识别分析入口点。
  • Context Explorer 在调用图上增量检索相关的函数上下文,以缓解部分观测性问题。
  • TTP 专用推理准则,通过将 LLM 限制在来自 MITRE ATT&CK 的结构化、以 TTP 为重点的准则来实现推理时的对齐。
  • 函数重命名代理,使用 LLM 将反编译的函数分配给语义上有意义的名称,以便下游分析。
  • 三步流程:反编译函数重命名、函数–TTP 对检索、以及使用分析代理进行的 TTP 存在性分析。
  • 使用 AutoGen 与 Claude 3.7 进行评估,利用 IDA Pro 进行反编译代码与 FAISS 进行检索。
  • 以 MITRE ATT&CK v16.1 为基础,并使用带有函数级 TTP 标签的专用数据集进行 grounding。

实验结果

研究问题

  • RQ1RQ1 TTPDetect 在反编译函数中识别 TTP 的准确性如何?
  • RQ2RQ2 TTPDetect 在识别恶意软件二进制中的 TTP 的有效性如何?
  • RQ3RQ3 与基线相比,TTPDetect 的表现如何?
  • RQ4RQ4 TTPDetect 的不同组件如何影响整体性能?

主要发现

  • TTPDetect 在函数级 TTP 识别上达到 93.25% 的精确率和 93.81% 的召回率,分别比基线高出 10.38% 和 18.78%。
  • 对于真实世界的恶意软件样本,TTPDetect 在识别 TTP 方面达到 87.37% 的精确率。
  • 对于具有专家撰写报告的恶意软件,TTPDetect 能回收文档化的 TTP 的 85.7%,且平均每个恶意软件发现 10.5 条此前未报告的 TTP。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。