Identifying Adversary Tactics and Techniques in Malware Binaries with an LLM Agent
Zhou Xuan, Xiangzhe Xu, Mingwei Zheng, Louis Zheng-Hua Tan, Jinyao Guo, Tiantai Zhang, Le Yu, Chengpeng Wang, Xiangyu Zhang

TL;DR
This paper introduces TTPDetect, an LLM-based system that accurately identifies Tactics, Techniques, and Procedures in stripped malware binaries, improving detection precision and uncovering previously unreported malicious behaviors.
Contribution
The paper presents TTPDetect, the first LLM agent for recognizing TTPs in malware, combining retrieval and reasoning techniques, along with a new dataset for training and evaluation.
Findings
Achieves over 93% precision and recall in function-level TTP recognition.
Outperforms baseline methods by over 10% in accuracy.
Recovers 85.7% of documented TTPs and discovers new TTPs in real malware samples.
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques · Spam and Phishing Detection · Cybercrime and Law Enforcement Studies
