TY - GEN
T1 - A Survey on Malware Analysis with Large Language Models
AU - Guo, Wenjie
AU - Wen, Haoyuan
AU - Kong, Lingming
AU - Xue, Jingfeng
AU - Hu, Jingjing
AU - Han, Weijie
AU - Wang, Yong
N1 - Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2026.
PY - 2026
Y1 - 2026
N2 - With the rapid development of network technologies, the threat posed by malicious software has become increasingly complex and diverse, evolving from traditional viruses and worms to sophisticated ransomware, advanced persistent threats (APTs), and supply chain attacks. Traditional malware detection methods, such as signature-based detection and traditional machine learning techniques, face significant challenges in addressing the polymorphism and obfuscation of modern malware. Recent advances in generative artificial intelligence (GAI), particularly large language models (LLMs) like GPT-4 and CodeBERT, offer new opportunities for malware detection. GAI leverages self-supervised pretraining to understand code syntax and semantics, enabling automated feature extraction and high-level semantic pattern recognition from raw code. By analyzing the structure and behavior of malicious code, GAI can detect hidden threats, predict attack trends, and process complex multimodal data. This paper provides a comprehensive overview of the current challenges in malware detection, including issues with data imbalance, adversarial attacks, and the high cost of expert-labeled samples. It also explores how GAI-powered LLMs enhance static and dynamic analysis, enable multimodal detection, and improve explainability in malware analysis. By summarizing the contributions of GAI in this field, this paper highlights its transformative potential for malware detection methodologies and addresses future research directions.
AB - With the rapid development of network technologies, the threat posed by malicious software has become increasingly complex and diverse, evolving from traditional viruses and worms to sophisticated ransomware, advanced persistent threats (APTs), and supply chain attacks. Traditional malware detection methods, such as signature-based detection and traditional machine learning techniques, face significant challenges in addressing the polymorphism and obfuscation of modern malware. Recent advances in generative artificial intelligence (GAI), particularly large language models (LLMs) like GPT-4 and CodeBERT, offer new opportunities for malware detection. GAI leverages self-supervised pretraining to understand code syntax and semantics, enabling automated feature extraction and high-level semantic pattern recognition from raw code. By analyzing the structure and behavior of malicious code, GAI can detect hidden threats, predict attack trends, and process complex multimodal data. This paper provides a comprehensive overview of the current challenges in malware detection, including issues with data imbalance, adversarial attacks, and the high cost of expert-labeled samples. It also explores how GAI-powered LLMs enhance static and dynamic analysis, enable multimodal detection, and improve explainability in malware analysis. By summarizing the contributions of GAI in this field, this paper highlights its transformative potential for malware detection methodologies and addresses future research directions.
KW - Black-box Attack
KW - Generative AI
KW - Large Language Model
KW - Malware Detection
KW - Network Security
UR - https://www.scopus.com/pages/publications/105020262312
U2 - 10.1007/978-981-95-3072-4_4
DO - 10.1007/978-981-95-3072-4_4
M3 - Conference contribution
AN - SCOPUS:105020262312
SN - 9789819530717
T3 - Lecture Notes in Computer Science
SP - 41
EP - 52
BT - Knowledge Science, Engineering and Management - 18th International Conference, KSEM 2025, Proceedings
A2 - Zhu, Tianqing
A2 - Zhou, Wanlei
A2 - Zhu, Congcong
PB - Springer Science and Business Media Deutschland GmbH
T2 - 18th International Conference on Knowledge Science, Engineering and Management, KSEM 2025
Y2 - 4 August 2025 through 7 August 2025
ER -