A Deep Learning Approach for Multiclass Attack Classification in IoT and IIoT Networks Using Convolutional Neural Networks
The rapid expansion of the Internet of Things (IoT) and industrial Internet of Things (IIoT) ecosystems has introduced new security challenges, particularly the need for robust intrusion detection systems (IDSs) capable of adapting to increasingly sophisticated cyberattacks. In this study, we propose a novel intrusion detection approach based on convolutional neural networks (CNNs), designed to automatically extract spatial patterns from network traffic data. Leveraging the DNN-EdgeIIoT dataset, which includes a wide range of attack types and traffic scenarios, we conduct comprehensive experiments to compare the CNN-based model against traditional machine learning techniques, including decision trees, random forests, support vector machines, and K-nearest neighbors. Our approach consistently outperforms baseline models across multiple performance metrics—such as F1 score, precision, and recall—in both binary (benign vs. attack) and multiclass settings (6-class and 15-class classification). The CNN model achieves F1 scores of 1.00, 0.994, and 0.946, respectively, highlighting its strong generalization ability across diverse attack categories. These results demonstrate the effectiveness of deep-learning-based IDSs in enhancing the security posture of IoT and IIoT infrastructures, paving the way for intelligent, adaptive, and scalable threat detection systems.
Authors
- Fatemeh Mahmoudi (ORCID: https://orcid.org/0000-0002-8414-8189)
- Ali Abdi Seyedkolaei (ORCID: https://orcid.org/0000-0002-3822-4881)
- J. García (ORCID: https://orcid.org/0000-0001-9485-7678)
Institutions
- Universidad de Zaragoza (ES)
- University of Mazandaran (IR)
Publication Details
- Journal
- Future Internet
- Published
- 2025-05-22
- DOI
- https://doi.org/10.3390/fi17060230
- Citations
- 8
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 11.90
Funders
- Gobierno de Aragón
- European Regional Development Fund
- Agencia Estatal de Investigación