LLM-based Multi-class Attack Analysis and Mitigation Framework in IoT/IIoT Networks
Seif Ikbarieh, Maanak Gupta, Elmahedi Mahalal

TL;DR
This paper presents a hybrid AI framework combining machine learning and large language models to detect, analyze, and mitigate multi-class attacks in IoT/IIoT networks, with new evaluation metrics and ensemble assessments.
Contribution
It introduces a novel hybrid framework integrating ML and LLMs for attack analysis in IoT, along with structured prompt engineering and new quantitative evaluation metrics.
Findings
Random Forest achieved the best attack detection performance.
ChatGPT-o3 outperformed DeepSeek-R1 in attack analysis and mitigation.
New ensemble evaluation approach for AI-based security responses.
Abstract
The Internet of Things has expanded rapidly, transforming communication and operations across industries but also increasing the attack surface and security breaches. Artificial Intelligence plays a key role in securing IoT, enabling attack detection, attack behavior analysis, and mitigation suggestion. Despite advancements, evaluations remain purely qualitative, and the lack of a standardized, objective benchmark for quantitatively measuring AI-based attack analysis and mitigation hinders consistent assessment of model effectiveness. In this work, we propose a hybrid framework combining Machine Learning (ML) for multi-class attack detection with Large Language Models (LLMs) for attack behavior analysis and mitigation suggestion. After benchmarking several ML and Deep Learning (DL) classifiers on the Edge-IIoTset and CICIoT2023 datasets, we applied structured role-play prompt…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNetwork Security and Intrusion Detection · Adversarial Robustness in Machine Learning · Advanced Malware Detection Techniques
