LLM-AI-Powered Network Cyberthreat Detection and Mitigation
Network intrusion detection systems are good at detecting suspicious traffic, where translating the results into actionable incident analysis and mitigation guidance can be difficult. This study proposes a fusion network-security model by integrating machine-learning-based traffic classification with the analysis and retrieval-augmented generation (RAG) of a local large language model (LLM) to assist in human incident response. The dataset of TII-SSRC-23 was used, with a subset of five classes containing 498,864 records after discarding duplicates. In the original stratified random split model, XGBoost had 99.99% accuracy and 99.80% macro F1-score. To investigate the impact of multiple flow identifiers per partition, another five-fold Flow-ID-grouped evaluation was performed, and the mean macro F1-score for the five folds was 98.49% (2.39 percentage points) for XGBoost compared to the random-split result. A locally deployed Qwen2.5-3B-Instruct model was used to analyse the structured security alerts generated by the selected classifier. The preliminary paired comparison involved 40 correctly classified malicious alerts in both cases: LLM-only and RAG-assisted. Content from NIST SP 800-61 Rev. 2, MITRE ATT&CK Enterprise, and CISA incident-response playbook was added to the expanded RAG knowledge base. This comparison is preliminary, as the response scores have not yet been independently verified by the researchers using the evaluation rubric. The framework does not perform network changes; it just provides advisory explanations and mitigation recommendations. The findings indicate the potential of combining machine-learning detection with local LLM-based incident-response support, as well as the necessity of human validation and wider testing on independent datasets and models.
Authors
- Hassan Abbas (ORCID: https://orcid.org/0000-0002-7177-2871)
- Javad Rezazadeh (ORCID: https://orcid.org/0000-0002-6851-0117)
- Sadeka Haque
- Ammara Khan
Publication Details
- Journal
- Symmetry
- Published
- 2026-12-03
- DOI
- https://doi.org/10.3390/sym18122042
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00