Large Language Models for Cyber Security: A Systematic Literature Review
Большие языковые модели для кибербезопасности: систематический обзор литературы
2025-09-29
SCID: 54.1/b599pyab
Discuss with AI
Autonomous security agentsCybersecurityLarge language modelsMalware analysisVulnerability detection
Figures from the paper
Abstract (AI)
The rapid advancement of Large Language Models (LLMs) has opened up new opportunities for leveraging artificial intelligence in a variety of application domains, including cybersecurity. As the volume and sophistication of cyber threats continue to grow, there is an increasing need for intelligent systems that can automatically detect vulnerabilities, analyze malware, and respond to attacks. In this survey, we conduct a comprehensive review of the literature on the application of LLMs in cybersecurity (LLM4Security). By comprehensively collecting over 40K relevant papers and systematically analyzing 185 papers from top security and software engineering venues, we aim to provide a holistic view of how LLMs are being used to solve diverse problems across the cybersecurity domain. Through our analysis, we identify several key findings. First, we observe that LLMs are being applied to an expanding range of cybersecurity tasks, including vulnerability detection, malware analysis, and network intrusion detection. Second, we analyze application trends of different LLM architectures (such as encoder-only, encoder-decoder, and decoder-only) across security domains. Third, we identify increasingly sophisticated techniques for adapting LLMs to cybersecurity, such as advanced fine-tuning, prompt engineering, and external augmentation strategies. A significant emerging trend is the use of LLM-based autonomous agents, which represent a paradigm shift from single-task execution to orchestrating complex, multi-step security workflows. Furthermore, we find that the datasets used for training and evaluating LLMs are often limited, highlighting the need for more comprehensive datasets and the use of LLMs for data augmentation. Finally, we discuss the main challenges and opportunities for future research, including the need for more interpretable models, addressing the inherent security risks of LLMs, and their potential for proactive defense. Overall, our survey provides a comprehensive overview of the current state-of-the-art in LLM4Security and identifies several promising directions for future research. We believe that the insights and findings presented in this survey will contribute to the growing body of knowledge on the application of LLMs in cybersecurity and provide valuable guidance for researchers and practitioners working in this field.
Key Findings
1
Cybersecurity adaptation increasingly uses advanced fine-tuning, prompt engineering, and external augmentation strategies.
2
Different LLM architectures—encoder-only, encoder-decoder, and decoder-only—show distinct application trends across cybersecurity domains.
3
Key future priorities include interpretable models, mitigation of LLM security risks, and applications supporting proactive cyber defense.
4
LLM-based autonomous agents are emerging as a shift from single-task execution toward orchestrating complex, multi-step security workflows.
5
LLMs are increasingly applied across cybersecurity tasks including vulnerability detection, malware analysis, and network intrusion detection.
6
The survey systematically analyzes 185 cybersecurity papers selected from over 40,000 relevant publications, providing a broad view of LLM4Security research.
7
Training and evaluation datasets are often limited, motivating more comprehensive datasets and LLM-based data augmentation.
Research Object
Large Language Models applied to cybersecurity
Research Subject
The applications, architectures, adaptation techniques, autonomous-agent use, datasets, challenges, and opportunities of LLMs across cybersecurity tasks
Publication Details
Publication Date
2025-09-29
Journal
Publisher
ISSN
Cited by
134
Access Type
Author Information
Download PDF
Subscribe to digest