TraceRAG: A LLM-Based Framework for Explainable Android Malware Detection and Behavior Analysis
Not on the map. Why?
Abstract (arXiv)
Sophisticated evasion tactics in malicious Android applications, combined with their intricate behavioral semantics, enable attackers to conceal malicious logic within legitimate functions, underscoring the critical need for robust and in-depth analysis frameworks. However, traditional analysis techniques often fail to recover deeply hidden behaviors or provide human-readable justifications for their decisions. Inspired by advances in large language models (LLMs), we introduce TraceRAG, a retrieval-augmented generation (RAG) framework that bridges natural language queries and Java code to deliver explainable malware detection and analysis. First, TraceRAG generates summaries of method-level code snippets, which are indexed in a vector database. At query time, behavior-focused questions retrieve the most semantically relevant snippets for deeper inspection. Finally, based on the multi-turn analysis results, TraceRAG produces human-readable reports that present the identified malicious behaviors and their corresponding code implementations. Experimental results demonstrate that our method achieves 96% malware detection accuracy and 83.81% behavior identification accuracy based on updated VirusTotal (VT) scans and manual verification. Furthermore, expert evaluation confirms the practical utility of the reports generated by TraceRAG.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). First posted on arXiv 10 Sep 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2025LAMD: Context-driven Android Malware Detection and Classification with LLMs
- 2025Enhancing Android Malware Detection with Retrieval-Augmented Generation
- 2026Malaika: Understanding Malware through Tri-Grounded Agentic Reasoning
- 2026MARD: A Multi-Agent Framework for Robust Android Malware Detection
- 2026Moirae: A Multimodal Agent Collaborative Framework for Dynamic Android Malware Detection
- 2026Evaluating LLMs for Obfuscation Detection and Classification in Android Apps
- 2026Evaluating Retrieval-Augmented Generation for Explainable Malware Analysis
- 2026Towards LLM-Enhanced Android Taint Analysis ↗