Large Language Models for Malware Detection: A Systematic Review, Taxonomy, and Open Challenges
Open Access
- 2 April 2026
- journal article
- review article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 14, 52734-52752
Abstract
The rapid evolution of malware targeting mobile devices, IoT/edge platforms, and traditional computing systems has intensified the need for detection techniques capable of reasoning about complex code semantics and behavioral patterns. Large Language Models (LLMs) have recently emerged as a promising direction due to their ability to encode contextual relationships that are difficult to model with traditional approaches. This topical review presents a comprehensive synthesis of LLM-driven malware detection across heterogeneous environments. Based on 26 peer-reviewed studies published between 2020 and 2025, the review introduces a unified taxonomy spanning static and behavioral embeddings, prompt-driven analyses, reasoning-enhanced architectures, and security-oriented fine-tuning strategies. A structured comparative assessment across effectiveness, robustness, computational efficiency, explainability, and privacy, reveals consistent methodological trends: fine-tuned and hybrid transformer architectures deliver the strongest empirical performance, while prompt-based and lightweight models offer practical benefits for resource-constrained platforms. The review also highlights persistent gaps, including limited adversarial-robustness evaluation, insufficient attention to privacy and governance, and a lack of standardized metrics for explainability and energy efficiency. The study concludes by outlining key research challenges and future opportunities, including scalable robustness testing, privacy-preserving LLM adaptation, lightweight architectures for constrained devices, and more rigorous human-centered explainability benchmarks. This review aims to consolidate existing knowledge and guide the development of reliable and practical LLM-driven malware detection systems.Keywords
This publication has 72 references indexed in Scilit:
- AppPoet: Large language model based android malware detection via multi-view prompt engineeringExpert Systems with Applications, 2024
- Assessing LLMs in malicious code deobfuscation of real-world malware campaignsExpert Systems with Applications, 2024
- SecureBERT: A Domain-Specific Language Model for Cybersecurity2023
- Android Malware Detection Using BERT2022
- An ensemble of pre-trained transformer models for imbalanced multiclass malware classificationComputers & Security, 2022
- Effective and Efficient Hybrid Android Malware Classification Using Pseudo-Label Stacked Auto-EncoderJournal of Network and Systems Management, 2021
- A machine learning based approach to detect malicious android apps using discriminant system callsFuture Generation Computer Systems, 2019
- Malware detection based on deep learning algorithmNeural Computing and Applications, 2017
- Profiling user-trigger dependence for Android malware detectionComputers & Security, 2015
- Comprehensive Behavior Profiling for Proactive Android Malware Detection2014