A Lightweight Intrusion Detection System for Internet of Things: Clustering and Monte Carlo Cross-Entropy Approach

Our modern lives are increasingly shaped by the Internet of Things (IoT), as IoT devices monitor and manage everything from our homes to our workplaces, becoming an essential part of health systems and daily infrastructure. However, this rapid growth in IoT has introduced significant security challe...

Full description

Saved in:
Bibliographic Details
Main Author: Abdulmohsen Almalawi
Format: Article
Language:English
Published: MDPI AG 2025-04-01
Series:Sensors
Subjects:
Online Access:https://www.mdpi.com/1424-8220/25/7/2235
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849769318816940032
author Abdulmohsen Almalawi
author_facet Abdulmohsen Almalawi
author_sort Abdulmohsen Almalawi
collection DOAJ
description Our modern lives are increasingly shaped by the Internet of Things (IoT), as IoT devices monitor and manage everything from our homes to our workplaces, becoming an essential part of health systems and daily infrastructure. However, this rapid growth in IoT has introduced significant security challenges, leading to increased vulnerability to cyber attacks. To address these challenges, machine learning-based intrusion detection systems (IDSs)—traditionally considered a primary line of defense—have been deployed to monitor and detect malicious activities in IoT networks. Despite this, these IDS solutions often struggle with the inherent resource constraints of IoT devices, including limited computational power and memory. To overcome these limitations, we propose an approach to enhance intrusion detection efficiency. First, we introduce a recursive clustering method for data condensation, integrating compactness and entropy-driven sampling to select a highly representative subset from the larger dataset. Second, we adopt a Monte Carlo Cross-Entropy approach combined with a stability metric of features to consistently select the most stable and relevant features, resulting in a lightweight, efficient, and high-accuracy IoT-based IDS. Evaluation of our proposed approach on three IoT datasets from real devices (N-BaIoT, Edge-IIoTset, CICIoT2023) demonstrates comparable classification accuracy while significantly reducing training and testing times by 45× and 15×, respectively, and lowering memory usage by 18×, compared to competitor approaches.
format Article
id doaj-art-656af1c052ab49a7be85130dca91f7f1
institution DOAJ
issn 1424-8220
language English
publishDate 2025-04-01
publisher MDPI AG
record_format Article
series Sensors
spelling doaj-art-656af1c052ab49a7be85130dca91f7f12025-08-20T03:03:27ZengMDPI AGSensors1424-82202025-04-01257223510.3390/s25072235A Lightweight Intrusion Detection System for Internet of Things: Clustering and Monte Carlo Cross-Entropy ApproachAbdulmohsen Almalawi0School of Computer Science & Information Technology, King Abdulaziz University, Jeddah 21589, Saudi ArabiaOur modern lives are increasingly shaped by the Internet of Things (IoT), as IoT devices monitor and manage everything from our homes to our workplaces, becoming an essential part of health systems and daily infrastructure. However, this rapid growth in IoT has introduced significant security challenges, leading to increased vulnerability to cyber attacks. To address these challenges, machine learning-based intrusion detection systems (IDSs)—traditionally considered a primary line of defense—have been deployed to monitor and detect malicious activities in IoT networks. Despite this, these IDS solutions often struggle with the inherent resource constraints of IoT devices, including limited computational power and memory. To overcome these limitations, we propose an approach to enhance intrusion detection efficiency. First, we introduce a recursive clustering method for data condensation, integrating compactness and entropy-driven sampling to select a highly representative subset from the larger dataset. Second, we adopt a Monte Carlo Cross-Entropy approach combined with a stability metric of features to consistently select the most stable and relevant features, resulting in a lightweight, efficient, and high-accuracy IoT-based IDS. Evaluation of our proposed approach on three IoT datasets from real devices (N-BaIoT, Edge-IIoTset, CICIoT2023) demonstrates comparable classification accuracy while significantly reducing training and testing times by 45× and 15×, respectively, and lowering memory usage by 18×, compared to competitor approaches.https://www.mdpi.com/1424-8220/25/7/2235cybersecuritymachine learning (ML)classificationfeature selectionIoT (Internet of Things)attacks
spellingShingle Abdulmohsen Almalawi
A Lightweight Intrusion Detection System for Internet of Things: Clustering and Monte Carlo Cross-Entropy Approach
Sensors
cybersecurity
machine learning (ML)
classification
feature selection
IoT (Internet of Things)
attacks
title A Lightweight Intrusion Detection System for Internet of Things: Clustering and Monte Carlo Cross-Entropy Approach
title_full A Lightweight Intrusion Detection System for Internet of Things: Clustering and Monte Carlo Cross-Entropy Approach
title_fullStr A Lightweight Intrusion Detection System for Internet of Things: Clustering and Monte Carlo Cross-Entropy Approach
title_full_unstemmed A Lightweight Intrusion Detection System for Internet of Things: Clustering and Monte Carlo Cross-Entropy Approach
title_short A Lightweight Intrusion Detection System for Internet of Things: Clustering and Monte Carlo Cross-Entropy Approach
title_sort lightweight intrusion detection system for internet of things clustering and monte carlo cross entropy approach
topic cybersecurity
machine learning (ML)
classification
feature selection
IoT (Internet of Things)
attacks
url https://www.mdpi.com/1424-8220/25/7/2235
work_keys_str_mv AT abdulmohsenalmalawi alightweightintrusiondetectionsystemforinternetofthingsclusteringandmontecarlocrossentropyapproach
AT abdulmohsenalmalawi lightweightintrusiondetectionsystemforinternetofthingsclusteringandmontecarlocrossentropyapproach