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
What Makes Good In-Context Examples for GPT-$3$?
Liu, J., Shen, D., Zhang, Y., Dolan, B., Carin, L., & Chen, W. (2021) · arXiv · doi:10.48550/arxiv.2101.06804 · Cited by 148
Natural Language Generation and Understanding of Big Code for AI-Assisted Programming: A Review
Wong, M.-F., Guo, S., Hang, C.-N., Ho, S.-W., & Tan, C.-W. (2023) · Entropy · doi:10.3390/e25060888 · Cited by 134
LogPrompt: Prompt Engineering Towards Zero-Shot and Interpretable Log Analysis
Liu, Y., Tao, S., Meng, W., Yao, F., Zhao, X., & Yang, H. (2024) · Proceedings of the 2024 IEEE/ACM 46th International Conference on Software Engineering: Companion Proceedings · doi:10.1145/3639478.3643108 · Cited by 96
Large Language Models in Cybersecurity: State-of-the-Art
Motlagh, F., Hajizadeh, M., Majd, M., Najafi, P., Cheng, F., & Meinel, C. (2025) · Proceedings of the 11th International Conference on Information Systems Security and Privacy · doi:10.5220/0013377600003899 · Cited by 92
TIM: threat context-enhanced TTP intelligence mining on unstructured threat data
You, Y., Jiang, J., Jiang, Z., Yang, P., Liu, B., Feng, H., Wang, X., & Li, N. (2022) · Cybersecurity · doi:10.1186/s42400-021-00106-5 · Cited by 80
Survey on Intrusion Detection System Types
Othman, S. M., & T.Alsohybe, F. M. B.-A. N. (2018) · International Journal of Cyber-Security and Digital Forensics · Cited by 77
Automated Retrieval of ATT&CK Tactics and Techniques for Cyber Threat ReportsPreprint
Legoy, V., Caselli, M., Seifert, C., & Peter, A. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2004.14322 · Cited by 76
TTPHunter: Automated Extraction of Actionable Intelligence as TTPs from Narrative Threat Reports
Rani, N., Saha, B., Maurya, V., & Shukla, S. K. (2023) · Australasian Computer Science Week Multiconference (ACSW) · doi:10.1145/3579375.3579391 · Cited by 75
Improving Intrusion Detection System based on Snort rules for network probe attack detection
Khamphakdee, N., Benjamas, N., & Saiyod, S. (2014) · doi:10.1109/icoict.2014.6914042 · Cited by 75
Bagui, S. S., Mink, D., Bagui, S., Ghosh, T., Plenkers, R., McElroy, T., Dulaney, S., & Shabanali, S. (2023) · Data · doi:10.3390/data8010018 · Cited by 54
Attack Hypotheses Generation Based on Threat Intelligence Knowledge Graph
Kaiser, F. K., Dardik, U., Elitzur, A., Zilberman, P., Daniel, N., Wiens, M., Schultmann, F., Elovici, Y., & Puzis, R. (2023) · IEEE Transactions on Dependable and Secure Computing · doi:10.1109/tdsc.2022.3233703 · Cited by 49
Self-citationChakrabarti, S., Chakraborty, M., & Mukhopadhyay, I. (2010) · Proceedings of the International Conference and Workshop on Emerging Trends in Technology · doi:10.1145/1741906.1741914 · Cited by 38
Design and Development of Automated Threat Hunting in Industrial Control Systems
Arafune, M., Rajalakshmi, S., Jaldon, L., Jadidi, Z., Pal, S., Foo, E., & Venkatachalam, N. (2022) · IEEE International Conference on Pervasive Computing and Communications Workshops (PerCom Workshops) · doi:10.1109/percomworkshops53856.2022.9767375 · Cited by 37
Elitzur, A., Puzis, R., & Zilberman, P. (2019) · European Intelligence and Security Informatics Conference · doi:10.1109/eisic49498.2019.9108886 · Cited by 34
Self-citationGenerating Labeled Training Datasets Towards Unified Network Intrusion Detection Systems
Ishibashi, R., Miyamoto, K., Han, C., Ban, T., Takahashi, T., & Takeuchi, J. (2022) · IEEE Access · doi:10.1109/access.2022.3176098 · Cited by 19
Towards Efficient Labeling of Network Incident Datasets Using Tcpreplay and Snort
Masumi, K., Han, C., Ban, T., & Takahashi, T. (2021) · ACM Conference on Data and Application Security and Privacy (CODASPY) · doi:10.1145/3422337.3450326 · Cited by 14
Evaluating ChatGPT-4 in Otolaryngology–Head and Neck Surgery Board Examination using the CVSA ModelPreprint
Long, C., Lowe, K., dos Santos, A., Zhang, J., Alanazi, A. A., O’Brien, D. C., Wright, E. D., & Côté, D. W. J. (2023) · medRxiv · doi:10.1101/2023.05.30.23290758 · Cited by 14
A Framework for Automatic Labeling of Log Datasets from Model-driven Testbeds for HIDS Evaluation
Landauer, M., Frank, M., Skopik, F., Hotwagner, W., Wurzenberger, M., & Rauber, A. (2022) · ACM Workshop on Secure and Trustworthy Cyber-Physical Systems (SaT-CPS) · doi:10.1145/3510547.3517924 · Cited by 13
Automated Mapping of CVE Vulnerability Records to MITRE CWE WeaknessesPreprint
Haddad, A., Aaraj, N., Nakov, P., & Mare, S. F. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2304.11130 · Cited by 13
Attack Tactic Labeling for Cyber Threat Hunting
Lin, S., Li, Z.-J., Chen, T.-Y., & Wu, D.-J. (2022) · International Conference on Advanced Communication Technology · doi:10.23919/icact53585.2022.9728949 · Cited by 11
Automatic Mapping of Vulnerability Information to Adversary Techniques
Mendsaikhan, O., Hasegawa, H., Yamaguchi, Y., & Shimada, H. (2020) · International Conference on Emerging Security Information, Systems and Technologies · Cited by 10
Gabrys, R., Bilinski, M., Fugate, S. J., & Silva, D. (2024) · IEEE Annual Computing and Communication Workshop and Conference (CCWC) · doi:10.1109/ccwc60891.2024.10427746 · Cited by 8
Labeling NIDS Rules with MITRE ATT &CK Techniques Using ChatGPT
Daniel, N., Kaiser, F. K., Dzega, A., Elyashar, A., & Puzis, R. (2024) · Lecture notes in computer science · doi:10.1007/978-3-031-54129-2_5 · Cited by 8
Self-citationDesign and implementation of network instruction detection system based on snort and NTOP
Peng, Y., & Wang, H. (2012) · International Conference on Systems and Informatics (ICSAI) · doi:10.1109/icsai.2012.6223247 · Cited by 8
Towards a better labeling process for network security datasetsPreprint
Garcia, S., & Valeros, V. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2305.01337 · Cited by 7
ChatGPT - Information Security Overview
TOD-RĂILEANU, G., & Axinte, S.-D. (2023) · International Conference on Cybersecurity and Cybercrime (IC3) · doi:10.19107/cybercon.2023.10 · Cited by 5
Generating labelled network datasets of APT with the MITRE CALDERA framework
Gjerstad, J. L. (2022) · NORA - Norwegian Open Research Archives · Cited by 1
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).”
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.