Labeling Network Intrusion Detection System (NIDS) Rules with MITRE ATT&CK Techniques: Machine Learning vs. Large Language Models
Open accessThe DOI matches its Crossref record; 37 of the 37 references it cites were found in a registry or an index.
Abstract
Analysts in Security Operations Centers (SOCs) are often occupied with time-consuming investigations of alerts from Network Intrusion Detection Systems (NIDSs). Many NIDS rules lack clear explanations and associations with attack techniques, complicating the alert triage and the generation of attack hypotheses. Large Language Models (LLMs) may be a promising technology to reduce the alert explainability gap by associating rules with attack techniques. In this paper, we investigate the ability of three prominent LLMs (ChatGPT, Claude, and Gemini) to reason about NIDS rules while labeling them with MITRE ATT&CK tactics and techniques. We discuss prompt design and present experiments performed with 973 Snort rules. Our results indicate that while LLMs provide explainable, scalable, and efficient initial mappings, traditional machine learning (ML) models consistently outperform them in accuracy, achieving higher precision, recall, and F1-scores. These results highlight the potential for hybrid LLM-ML approaches to enhance SOC operations and better address the evolving threat landscape. By utilizing automation, the presented methods will enhance the analysis efficiency of SOC alerts, and decrease workloads for analysts.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Figures





Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Comparative analyses show that traditional ML still outperforms LLMs in raw mapping accuracy [137], but LLMs deliver explainability and scalability that ML cannot match.”
From Agentic AI and Large Language Models for Autonomous IoT Cybersecurity: A Systematic Survey, Taxonomy, and Research Roadmap (2026) · cites this paper as [137]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Language Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372
Self-Refine: Iterative Refinement with Self-Feedback
Madaan, A., Tandon, N., Gupta, P., Hallinan, S., Gao, L., Wiegreffe, S., Alon, U., Dziri, N., Prabhumoye, S., Yang, Y., et al. (2023) · arXiv · doi:10.48550/arxiv.2303.17651 · Cited by 2,314
What Makes Good In-Context Examples for GPT-3?
Liu, J., Shen, D., Zhang, Y., Dolan, B., Carin, L., & Chen, W. (2022) · Proceedings of Deep Learning Inside Out (DeeLIO 2022): The 3rd Workshop on Knowledge Extraction and Integration for Deep Learning Architectures · doi:10.18653/v1/2022.deelio-1.10 · Cited by 563
Acing the IOC Game: Toward Automatic Discovery and Analysis of Open-Source Cyber Threat Intelligence
Liao, X., Yuan, K., Wang, X., Li, Z., Xing, L., & Beyah, R. (2016) · Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/2976749.2978315 · Cited by 276
TTPDrill: Automatic and Accurate Extraction of Threat Actions from Unstructured Text of CTI Sources
Husari, G., Al-Shaer, E., Ahmed, M., Chu, B., & Niu, X. (2017) · Proceedings of the 33rd Annual Computer Security Applications Conference · doi:10.1145/3134600.3134646 · Cited by 217
SecureBERT: A Domain-Specific Language Model for Cybersecurity
Aghaei, E., Niu, X., Shadid, W., & Al-Shaer, E. (2023) · Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering · doi:10.1007/978-3-031-25538-0_3 · Cited by 210
AttacKG: Constructing Technique Knowledge Graph from Cyber Threat Intelligence Reports
Li, Z., Zeng, J., Chen, Y., & Liang, Z. (2022) · Lecture Notes in Computer Science · doi:10.1007/978-3-031-17140-6_29 · Cited by 179
Datasets are not enough: Challenges in labeling network traffic
Guerra, J. L., Catania, C. A., & Veas, E. E. (2022) · Computers & Security · doi:10.1016/j.cose.2022.102810 · Cited by 156
Törnberg, P. (2023) · arXiv · doi:10.48550/arxiv.2304.06588 · Cited by 152
Extractor: Extracting Attack Behavior from Threat Reports
Satvat, K., Gjomemo, R., & Venkatakrishnan, V. N. (2021) · 2021 IEEE European Symposium on Security and Privacy (EuroS&P) · doi:10.1109/eurosp51992.2021.00046 · Cited by 151
Research works printed but not linked: 5
- [11] David Chismon and Martyn Ruks. Threat intelligence: Collecting, analysing, evaluating. MWR InfoSecurity Ltd , 3(2):36-42, 2015. -
- [38] Yashovardhan Sharma, Simon Birnbach, and Ivan Martinovic. Radar: Effective network-based malware detection based on the MITRE ATT&CK framework. arXiv preprint arXiv:2212.03793 , 2022. - · arXiv
- [39] Victor Jüttner, Martin Grimmer, and Erik Buchmann. Chatids: Advancing explainable cybersecurity using generative ai. International Journal On Advances in Security , 17(1):2, 2024. -
- [42] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog , 1(8):9, 2019. -
- Chen, M., Tworek, J., Jun, H., Yuan, Q., Pinto, H.P.D.O., Kaplan, J., Edwards, H., Burda, Y., Joseph, N., and Brockman, G. (2021). Evaluating large language models trained on code. arXiv.
Cited by
AI-Augmented SOC: A Survey of LLMs and Agents for Security Automation
Srinivas, S., Kirk, B., Zendejas, J., Espino, M., Boskovich, M., Bari, A., Dajani, K., & Alzahrani, N. (2025) · Journal of Cybersecurity and Privacy · doi:10.3390/jcp5040095 · Cited by 39
LLMs in Cyber Security: Bridging Practice and Education
Atlam, H. F. (2025) · Big Data and Cognitive Computing · doi:10.3390/bdcc9070184 · Cited by 27
Large Language Models for Security Operations Centers: A Comprehensive Survey
Habibzadeh, A., Feyzi, F., & Atani, R. E. (2026) · Journal of Electrical and Computer Engineering · doi:10.1155/jece/3383674 · Cited by 13
“Moreover, linking NIDS Rules with MITRE ATT&CK techniques is another important mapping task mentioned in a recent study [324].”
SoK: Honeypots & LLMs, More Than the Sum of Their Parts?
Bridges, R. A., Mitchell, T. R., Muñoz, M., & Henriksson, T. (2026) · IEEE European Symposium on Security and Privacy · doi:10.1109/eurosp68448.2026.00063 · Cited by 20
Tory, A. R., & Hasan, K. F. (2025) · Computers & Security · doi:10.1016/j.cose.2025.104777 · Cited by 16
“Recent works therefore advocate weighting ATT&CK techniques by industry relevance, either via manual expert curation (CISA, 2021) or automated mining of campaign reports and CVE descriptions (Daniel et al., 2025; Borisenko et al., 2024).”
Nageshwaran, V., & Ezekiel, S. (2026) · doi:10.20944/preprints202606.0142.v1 · Cited by 4
Ann, S., Kim, H. J., Park, S., Cho, S.-J., Kim, J., & Cho, H. (2026) · Electronics · doi:10.3390/electronics15020371 · Cited by 3
A rule-based label harmonization framework for cross-dataset IoT intrusion detection
Rodríguez, M., Mehavilla, L., Alesanco, Á., & García, J. (2026) · Internet of Things · doi:10.1016/j.iot.2026.102030 · Cited by 6
Nageshwaran, V., & Ezekiel, S. (2026) · Electronics · doi:10.3390/electronics15122740 · Cited by 4
Evaluating Explanation Quality in X-IDS Using Feature Alignment Metrics
Alquliti, M., Karafili, E., & Kang, B. (2025) · Lecture notes in computer science · doi:10.1007/978-3-032-00630-1_4 · Cited by 2
ModRTU InjectX: A Command Injection Simulation Tool for Industrial Cybersecurity Research
Dobrády, Z., Nagy, S., & Hidvégi, T. (2025) · International Scientific Conference on Information, Communication and Energy Systems and Technologies (ICEST) · doi:10.1109/icest66328.2025.11098380 · Cited by 2
“For example, Puzis and colleagues developed a system capable of labeling network intrusion detection rules based on MITRE ATT&CK techniques by applying a combination of machine learning models and large language models (LLMs) [13].”
Vladov, S., Vysotska, V., Lytvyn, V., КОМЗЮК, А. Т., Prokudin, O., & Ostapiuk, A. (2025) · Computation · doi:10.3390/computation13090221 · Cited by 2
Özbay, R., Çelebi, M., & Yavanoğlu, U. (2026) · IEEE Access · doi:10.1109/access.2026.3658308 · Cited by 5
Generative AI and Large Language Models
Marozzo, F., & Cantini, R. (2026) · Big Data and Cognitive Computing · doi:10.3390/bdcc10040127 · Cited by 1
MENTOR: Malicious Network Traffic Detection Through Optimized LLM-Based Recognition
Jia, J., Meng, H., Hu, Y., Liu, K., & Guan, J. (2025) · Lecture notes in computer science · doi:10.1007/978-981-96-9914-8_13 · Cited by 2
Sanjeevini, S. H., Sri, K. T., Srivalli, S., & Sowjanya, S. (2025) · International Conference on Intelligent Communication Networks and Computational Techniques (ICICNCT) · doi:10.1109/icicnct66124.2025.11232838
“[6],[7],[12].”
Automatic Generation of Advanced TTP Rules Using Large Language Models
Zhou, L., Li, F., Qi, W., & Wu, W. (2025) · IEEE International Conference on Data Science in Cyberspace · doi:10.1109/dsc67331.2025.00091
“Nir et al. [23] demonstrated that ChatGPT could interpret intrusion detection system (IDS) rules and associate them with appropriate MITRE ATT&CK techniques.”
Prevention Label Enrichment in a Network Intrusion Detection System Benchmark Dataset
Iqbal, M., Ariyus, D., Koprawi, M., & Nugraha, A. F. (2025) · International Conference on Information System & Information Technology (ICISIT) · doi:10.1109/icisit66233.2025.11402953
“This threat risks individual internet users and organizations that possess and maintain essential data [4], [5].”
Li, J., He, G., Rong, W., Yao, X., Wang, Z., Amoon, M., Kumari, S., & Chen, C. (2026) · Expert Systems · doi:10.1111/exsy.70268
Review: Artificial Intelligence Techniques for Identifying Anomalies in Network Traffic
Krivchenkov, A., & Mišņevs, B. (2026) · Lecture notes in networks and systems · doi:10.1007/978-3-032-19245-5_6
Daoud, A., & Hamdi, M. (2026) · Journal of Advances in Information Technology · doi:10.12720/jait.17.5.895-913
“From a data-source perspective, Network-based IDSs (NIDSs) analyze traffic at the packet or flow level to infer intrusions from network behavior, but they must cope with challenges such as high data throughput, encrypted channels, and dynamic protocols [20].”
Systematization of human-centered continuous audit for IoT security compliance
Briliyant, O. C., Javed, A., & Cherdantseva, Y. (2026) · Journal of Cybersecurity · doi:10.1093/cybsec/tyag021 · Cited by 1
GenTI: Benchmarking LLMs for Autonomous IDPS Rule Generation for Unseen Attacks
Hadi, H. J., Khan, M. K., Ahmad, N., Yasmin, R., & Shoker, A. (2026) · IEEE Transactions on Network Science and Engineering · doi:10.1109/tnse.2026.3716998 · Cited by 5
“However, these approaches rely on manual, expert-defined detection logic for each technique [121], [122] [123].”
A Four-Axis Systematization of AI and Cybersecurity in the Era of Large Language Models
Farin, M. A., & Thuraisingham, B. M. (2026) · IEEE Conference on Big Data Security on Cloud (BigDataSecurity) · doi:10.1109/bigdatasecurity69476.2026.00009
“LLMs are vulnerable to adversarial prompting , where attackers manipulate linguistic context to bypass system constraints or developer intent [140], [81].”
Let the Alerts Speak: LLM-Based IDS Alert Interpretation for SOC Triage
Schärmer, A. S., Landauer, M., Skopik, F., Wurzenberger, M., & Squarcina, M. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-35579-9_19
“Focusing on intrusion detection, Sun et al. [26] introduce SHIELD that leverages LLMs for host-based intrusion detection, whereas Nir et al. [21] and J¨uttner et al. [ 9] apply LLMs to explain NIDS rules for non-experts.”
Explainable AI and few-shot prompting in an LLM-based agent for network intrusion detection systems
Labed, A., Saadaoui, I., Kazar, O., & Li, Z. (2026) · Cluster Computing · doi:10.1007/s10586-026-06484-0
“Their strengths in natural language understanding, few-shot learning [47 ], and structured explanation make them suitable for augmenting traditional NIDS [55, 56].”
TSA: A Temporal Sequence Alignment Algorithm for No-Ground-Truth Traffic Data Labeling
Sun, W., Shang, T., He, X., Gao, S.-M., Li, Q., & Wang, P. (2026) · International Conference on Computer Communications and Networks (ICCCN) · doi:10.1109/icccn69946.2026.11662797
“Learning-based methods leverage GANs, human-guided learning, and LLMs [16], [17], while tools such as CREME [15] automate dataset collection for ML-based IDS; however, these approaches frequently suffer from limited interpretability and unstable performance under out-of-distribution traffic.”
Suleiman, M. F. (2026) · International Symposium on Networks, Computers and Communications (ISNCC) · doi:10.1109/isncc70543.2026.11693886
LLM-Driven Alert Correlation and Lifecycle Prediction With Threat Intelligence for Attack Forensics
Lin, Y., Chang, C.-Y., Sudyana, D., Lai, Y., Hwang, R., Lin, P., Wu, E. H., & Lee, W. (2026) · IEEE Transactions on Machine Learning in Communications and Networking · doi:10.1109/tmlcn.2026.3736372
“…(ii) event-or rule-level techniques that enrich individual logs, flows, CVEs, alerts, or NIDS rules with ATT&CK labels [7], [8], [9], [10], [24], [27], and (iii) LLM-or NLP-driven CTI parsing that focuses on extracting techniques from narrative reports rather than live telemetry streams [14],…”
Extracting Attack Pattern From WAF Logs and CTIs Using Contrastive Semantic Learning
Chen, S.-S., Hwang, R., Lin, Y., Pai, T.-W., & Sun, C. (2026) · IEEE Transactions on Network and Service Management · doi:10.1109/tnsm.2026.3738730
“Daniel et al. [41] compared machine-learning and LLM-based approaches for assigning ATT&CK labels to 973 Snort rules.”
Specht, F., & Trsek, H. (2026) · IEEE International Conference on Emerging Technologies and Factory Automation (ETFA) · doi:10.1109/etfa68377.2026.11725049
“According to the existing literature, applying LLMs to ICS cyberattack classification faces three problems: P1: Zero-shot LLMs without access to investigation tools achieve only low classification accuracy on network security tasks [8], [9].”
Metadata
- Authors
- Daniel, N., Kaiser, F. K., Giladi, S., Sharabi, S., Moyal, R., Shpolyansky, S., Murillo, A., Elyashar, A., & Puzis, R.
- Affiliations
- Ben-Gurion University of the Negev (IL)
- Agnostic Intelligence AG, 6300 Zug, Switzerland
- Fujitsu Ltd., Kawasaki 212-0014, Japan
- Corresponding author
- Daniel, Nir
- Venue
- Big Data and Cognitive Computing
- Publisher
- MDPI AG
- Published
- 2025-01-26
- Volume
- 9
- Issue
- 2
- Pages
- 23
- ISSN
- 2504-2289 (ISSN-L)
- OpenAlex
- W4406875947
- Cited by
- 29
- References
- 30
- Citations by year
- 2026: 19 · 2025: 10
- FWCI
- 12.26
- Type
- journal article
- Language
- en
- Open access
- gold
- doi.org
- Licence
- Locations
- Big Data and Cognitive Computing (publishedVersion, cc-by)
- DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
- Funders
- U.S.-Israel Energy Center managed by the Israel-U.S. Binational Industrial Research and Development (BIRD) Foundation
- Fujitsu
- Topics
- Physical Sciences › Computer Science › Computer Networks and Communications › Network Security and Intrusion Detection
- Physical Sciences › Computer Science › Hardware and Architecture › Network Packet Processing and Optimization
- Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
- Keywords
- network intrusion detection, MITRE ATT&CK, large language models, Snort rules, security operations center, alert triage, prompt engineering, machine learning comparison
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.