Malaika: Understanding Malware through Tri-Grounded Agentic Reasoning
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 1 more
Abstract (arXiv)
Recent LLM-based systems have shown promising capabilities for security-focused code analysis. Malware understanding, however, poses a distinct challenge: analysts must reconstruct high-level malicious behaviors under partial observability from sparse, dispersed evidence intertwined with benign functionality. While static analysis can expose security-relevant signals, the central challenge is not merely identifying suspicious code, but determining whether the evidence sufficiently supports an auditable behavior-level conclusion. We formulate malware understanding as a grounded reasoning problem and argue that reliable behavior reconstruction requires three complementary forms of grounding. Domain grounding constrains how behavior hypotheses are generated and evaluated, semantics grounding localizes and connects supporting program evidence, and knowledge grounding supports behavioral attribution through externally verifiable threat knowledge. To study this hypothesis, we present Malaika, a multi-agent framework that operationalizes the three grounding mechanisms through analyst-inspired reasoning, tool-mediated evidence localization, and retrieval-based behavioral attribution. We instantiate Malaika for Android malware analysis and evaluate it on malware-understanding tasks. Results show that Malaika improves analysis quality over prior LLM-based malware-analysis frameworks and demonstrate that reliability depends not only on model capability but also on the reasoning process. In particular, comparisons against malware-analysis systems and frontier agentic frameworks show that grounding-aware reasoning produces more precise and auditable conclusions. Ablation studies further support the grounding hypothesis. These findings suggest that grounding-aware reasoning provides a principled foundation for reliable malware understanding and, more broadly, for evidence-grounded software analysis.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 15 of its 46 references that are in the map. First posted on arXiv 10 Jul 2026.
Builds on
15 of 46 references.
Closest ancestors · 2
Same direction, newest first
- 2026Veritas: Grounding LLM Agents for Reliable Vulnerability Reasoning over Stripped Binaries14 May
- 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoning29 Jan
Other references · 13
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2024DeepSeek-V3 Technical Reportcited by 811
- 2026SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse Taskscited by 315
- 2025PatchPilot: A Cost-Efficient Software Engineering Agent with Early Attempts on Formal Verificationcited by 22
- 2024TESSERACT: Eliminating Experimental Bias in Malware Classification across Space and Time (Extended Version)cited by 9
- 2025TIF: Learning Temporal Invariance in Android Malware Detectorscited by 4
- 2025Is "Knowing It's Malicious Enough?" Evaluating LLMs for Fine-Grained Malware Behavior Auditingcited by 3
- 2026Identifying Adversary Tactics and Techniques in Malware Binaries with an LLM Agentcited by 2
- 2026MARD: A Multi-Agent Framework for Robust Android Malware Detectioncited by 2
- 2026PromptAudit: Auditing Prompt Sensitivity in LLM-Based Vulnerability Detectioncited by 2
- 2025On the Reliability and Stability of Selective Methods in Malware Classification Taskscited by 1
- 2026Trident: Improving Malware Detection with LLMs and Behavioral Featurescited by 1
1 more
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025TraceRAG: A LLM-Based Framework for Explainable Android Malware Detection and Behavior Analysis
- 2026Moirae: A Multimodal Agent Collaborative Framework for Dynamic Android Malware Detection
- 2026Evaluating Retrieval-Augmented Generation for Explainable Malware Analysis
- 2026DiagChain: A Diagnostic Benchmark for Evaluating LLM Agents on Evidence-Grounded Attack Chain Reconstruction
- 2025TraceAegis: Securing LLM-Based Agents via Hierarchical and Behavioral Anomaly Detection
- 2026ALIBI: Adversarial Legitimacy Injection in Binary Input against LLM Malware Analyzers
- 2026MalSkillBench: A Runtime-Verified Benchmark of Malicious Agent Skills
- 2026Bridging Expert Reasoning and LLM Detection: A Knowledge-Driven Framework for Malicious Packages ↗