A hybrid machine-learning based security algorithm for improved detection of distributed-denial-of-services attacks in internet of things networks

The Internet of Things (IoT) has emerged as a critical enabler of intelligent and autonomous systems, supporting applications across sectors such as agriculture, healthcare, education, and smart infrastructure. However, the increasing connectivity of IoT devices has significantly expanded the attack surface, making these networks particularly vulnerable to Distributed Denial of Service (DDoS) attacks. Existing detection approaches, including Decision Tree (DT), Linear Regression (LR), and K-means, are often limited by suboptimal classification accuracy, high response latency, and poor adaptability to evolving and zero-day attack patterns, thereby compromising their effectiveness in dynamic IoT environments. To address these limitations, this study proposes a Machine Learning-Based Security (MLBS) framework that integrates K-Nearest Neighbors (KNN) and Recurrent Neural Networks (RNN) to enhance the detection and mitigation of DDoS attacks in IoT networks. The proposed hybrid model leverages the temporal learning capability of RNNs and the instance-based classification strength of KNN to improve both detection accuracy and generalization. The framework was evaluated using the MATLAB simulation environment, where it achieved an accuracy of 98.72%, precision of 97.95%, recall of 98.94%, and an F1-score of 98.39%, outperforming conventional baseline models. Beyond performance improvements, the proposed MLBS framework demonstrates strong performance on previously unseen traffic patterns, indicating its suitability for real-time deployment. The key contribution of this work lies in providing a scalable, adaptive, and high-precision intrusion detection solution that enhances the resilience of IoT networks against both known and emerging DDoS threats.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-10-26
DOI
https://doi.org/10.1038/s41598-026-77311-0
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A hybrid machine-learning based security algorithm for improved detection of distributed-denial-of-services attacks in internet of things networks

Deon Du Plessis, Tshimangadzo Mavin Tshilongamulenzhe, Tonderai Muchenje, Topside Ehleketani Mathonsi et al.
Scientific Reports
Network Security and Intrusion Detection
article

A hybrid machine-learning based security algorithm for improved detection of distributed-denial-of-services attacks in internet of things networks

Deon Du Plessis, Tshimangadzo Mavin Tshilongamulenzhe, Tonderai Muchenje, Topside Ehleketani Mathonsi, Coster Baloyi
article en

Abstract

The Internet of Things (IoT) has emerged as a critical enabler of intelligent and autonomous systems, supporting applications across sectors such as agriculture, healthcare, education, and smart infrastructure. However, the increasing connectivity of IoT devices has significantly expanded the attack surface, making these networks particularly vulnerable to Distributed Denial of Service (DDoS) attacks. Existing detection approaches, including Decision Tree (DT), Linear Regression (LR), and K-means, are often limited by suboptimal classification accuracy, high response latency, and poor adaptability to evolving and zero-day attack patterns, thereby compromising their effectiveness in dynamic IoT environments. To address these limitations, this study proposes a Machine Learning-Based Security (MLBS) framework that integrates K-Nearest Neighbors (KNN) and Recurrent Neural Networks (RNN) to enhance the detection and mitigation of DDoS attacks in IoT networks. The proposed hybrid model leverages the temporal learning capability of RNNs and the instance-based classification strength of KNN to improve both detection accuracy and generalization. The framework was evaluated using the MATLAB simulation environment, where it achieved an accuracy of 98.72%, precision of 97.95%, recall of 98.94%, and an F1-score of 98.39%, outperforming conventional baseline models. Beyond performance improvements, the proposed MLBS framework demonstrates strong performance on previously unseen traffic patterns, indicating its suitability for real-time deployment. The key contribution of this work lies in providing a scalable, adaptive, and high-precision intrusion detection solution that enhances the resilience of IoT networks against both known and emerging DDoS threats.

Scientific Reports
Tshwane University of Technology (ZA)
Tshwane University of Technology
Openalex Percentile: Top 12%
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.

Laika access coming soon