IoT Intrusion Detection Using Machine Learning Classifiers and PCA Dimensionality Reduction for N-BaIoT Dataset

Recently, the rapid expansion of the Internet of Things (IoT) has opened up new possibilities and introduced significant security challenges. This evolution enhances everyday life but also increases risks in various domestic and industrial contexts due to growing threats such as cyberattacks and intrusions. To protect both domestic activities and industrial infrastructures, it is imperative to address these challenges. This study enhances security in IoT and IIoT by exploring machine learning-based intrusion detection techniques. The primary goal is to strengthen system protection and ensure the continuity of essential operations. Utilizing the N-BaIoT dataset, designed to simulate realistic IoT attack scenarios, we evaluated the effectiveness of various multiclass classification methods, including PCA dimensionality reduction. After extensive data preprocessing and the application of several classifiers such as KNN, Random Forest, Naive Bayes, Decision Tree, Extra Trees, and XGBoost, we built an effective IoT IDS. The Extra Trees algorithm, in combination with PCA, showed the best performance, achieving an impressive 99.94% accuracy. This underscores the effectiveness of machine learning in detecting and mitigating IoT and IIoT cyber threats and highlights the importance of selecting appropriate methods for optimal results in complex security environments.

Authors

Institutions

Publication Details

Published
2025-06-08
DOI
https://doi.org/10.1109/icc52391.2025.11161305
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

IoT Intrusion Detection Using Machine Learning Classifiers and PCA Dimensionality Reduction for N-BaIoT Dataset

Khalil Ibrahimi, Mohammed Jouhari, El-Mehdi Hamzaoui, Jalel Ben‐Othman et al.
Network Security and Intrusion Detection
article

IoT Intrusion Detection Using Machine Learning Classifiers and PCA Dimensionality Reduction for N-BaIoT Dataset

Khalil Ibrahimi, Mohammed Jouhari, El-Mehdi Hamzaoui, Jalel Ben‐Othman, Abdelilah Serhane
article en

Abstract

Recently, the rapid expansion of the Internet of Things (IoT) has opened up new possibilities and introduced significant security challenges. This evolution enhances everyday life but also increases risks in various domestic and industrial contexts due to growing threats such as cyberattacks and intrusions. To protect both domestic activities and industrial infrastructures, it is imperative to address these challenges. This study enhances security in IoT and IIoT by exploring machine learning-based intrusion detection techniques. The primary goal is to strengthen system protection and ensure the continuity of essential operations. Utilizing the N-BaIoT dataset, designed to simulate realistic IoT attack scenarios, we evaluated the effectiveness of various multiclass classification methods, including PCA dimensionality reduction. After extensive data preprocessing and the application of several classifiers such as KNN, Random Forest, Naive Bayes, Decision Tree, Extra Trees, and XGBoost, we built an effective IoT IDS. The Extra Trees algorithm, in combination with PCA, showed the best performance, achieving an impressive 99.94% accuracy. This underscores the effectiveness of machine learning in detecting and mitigating IoT and IIoT cyber threats and highlights the importance of selecting appropriate methods for optimal results in complex security environments.

Centre National de la Recherche Scientifique (FR), Université Ibn-Tofail (MA), Université Sorbonne Paris Nord (FR), National Centre for Nuclear Energy, Science and Technology (MA), CentraleSupélec (FR), Moroccan Foundation for Advanced Science, Innovation and Research (MA)
Openalex Percentile: Top 69%
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.