Harnessing Large Language Models for Automated Intrusion Detection Rule Generation in Cyber Range
IEEE Network · 2025-09 · 39 (5) · 12-20
DOI: 10.1109/mnet.2025.3582330 ↗Kurz gefasst
Fachartikel in der Zeitschrift IEEE Network, 2025-09. Verfasst von Lei Du und 5 weiteren Autor:innen. Die Arbeit wurde bisher 9-mal zitiert (Crossref) und nennt 15 Literaturangaben. Gefördert von: Shenzhen Science and Technology Program, Major Key Project of PCL, National Natural Science Foundation of China.
Abstract (Originalsprache)
Rule-based network intrusion detection systems hold great promise in cybersecurity due to their remarkable performance in identifying cyberattacks. Unfortunately, these detection rules are manually written by security experts for known attacks and are ineffective against unknown intrusion threats. Despite the progress made in existing work on automatic detection rule generation, the majority of such work focuses on synthesizing overly specific detection rules for input attack samples, neglecting the detection of these attack sample variants. Furthermore, most detection rule generation approaches rely on the content of the rule as an explanation, failing to provide a high-level understanding of both detection rules and attack samples. To tackle these challenges, we propose a novel detection rule generation framework, LLM4Rule, which aims to reproduce and automatically generate detection rules for discovered attacks in a cyber range without compromising real networks and endpoints. LLM4Rule leverages the knowledge reasoning capabilities of large language models (LLMs) to generate detection rules through interaction with LLMs, which consists of three components: preprocessing, detection rule generation, and attack sample mapping. The preprocessing component extracts and converts payloads from discovered attack samples. In the detection rule generation component, we propose a two-stage detection rule generation prompt approach that utilizes the self-correction ability of LLMs to filter invalid rules and enhances the generalization of valid rules to attack variants over the initially generated detection rules. Finally, the attack sample mapping component maps the attack samples to cybersecurity knowledge bases to help security operators better understand the generated detection rules and the attack samples. We conduct extensive experiments to demonstrate the effectiveness of LLM4Rule against four representative detection rule generation approaches on two datasets. The experimental results show that the detection rules generated by LLM4Rule can accurately detect cyberattack variants and effectively map attack samples to cybersecurity knowledge bases.
Förderung
- Shenzhen Science and Technology Program
- Major Key Project of PCL
- National Natural Science Foundation of China
Zitieren
APA
Du, L., Li, J., Yan, H., Chai, Y., Fang, B., & Gu, Z. (2025). Harnessing Large Language Models for Automated Intrusion Detection Rule Generation in Cyber Range. IEEE Network, 39(5), 12-20. https://doi.org/10.1109/mnet.2025.3582330
Vancouver
Du L, Li J, Yan H, Chai Y, Fang B, Gu Z. Harnessing Large Language Models for Automated Intrusion Detection Rule Generation in Cyber Range. IEEE Network. 2025;39(5):12-20. doi:10.1109/mnet.2025.3582330
BibTeX
@article{Du2025,
author = {Du, Lei and Li, Jiarui and Yan, Hao and Chai, Yuhan and Fang, Binxing and Gu, Zhaoquan},
title = {Harnessing Large Language Models for Automated Intrusion Detection Rule Generation in Cyber Range},
journal = {IEEE Network},
year = {2025},
volume = {39},
number = {5},
pages = {12--20},
doi = {10.1109/mnet.2025.3582330}
}
EUVIMED