A Multiclass Machine Learning Framework for Detecting Routing Attacks in RPL-Based IoT Networks Using a Novel Simulation-Driven Dataset
Niharika Panda, Supriya Muthuraman
Amrita Vishwa Vidyapeetham
Key points
From the paper's conclusion- In order to close this gap, this work models both static and mobile networks under benign and adversarial settings by creating a novel, large-scale multiclass RPL attack dataset using Contiki-NG’s Cooja simulator.
Abstract
The use of resource-constrained Low-Power and Lossy Networks (LLNs), where the IPv6 Routing Protocol for LLNs (RPL) is the de facto routing standard, has increased due to the Internet of Things’ (IoT) explosive growth. Because of the dynamic nature of IoT deployments and the lack of in-protocol security, RPL is still quite susceptible to routing-layer attacks like Blackhole, Lowered Rank, version number manipulation, and Flooding despite its lightweight architecture. Lightweight, data-driven intrusion detection methods are necessary since traditional cryptographic countermeasures are frequently unfeasible for LLNs. However, the lack of RPL-specific control-plane semantics in current cybersecurity datasets restricts the use of machine learning (ML) for practical anomaly identification. In order to close this gap, this work models both static and mobile networks under benign and adversarial settings by creating a novel, large-scale multiclass RPL attack dataset using Contiki-NG’s Cooja simulator. To record detailed packet-level and control-plane activity including DODAG Information Object (DIO), DODAG Information Solicitation (DIS), and Destination Advertisement Object (DAO) message statistics along with forwarding and dropping patterns and objective-function fluctuations, a protocol-aware feature extraction pipeline is developed. This dataset is used to evaluate fifteen classifiers, including Logistic Regression (LR), Support Vector Machine (SVM), Decision Tree (DT), k-Nearest Neighbors (KNN), Random Forest (RF), Extra Trees (ET), Gradient Boosting (GB), AdaBoost (AB), and XGBoost (XGB) and several ensemble strategies like soft/hard voting, stacking, and bagging, as part of a comprehensive ML-based detection system. Numerous tests show that ensemble approaches offer better generalization and prediction performance. With overfitting gaps less than 0.006 and low cross-validation variance, the Soft Voting Classifier obtains the greatest accuracy of 99.47%, closely followed by XGBoost with 99.45% and Random Forest with 99.44%.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Energy-aware node reliability and route obfuscation mechanism for traffic analysis attack detection in scalable RPL-based IoT–LLNsThe Computer Journal · 2026
- Federated hybrid deep learning for multi-attack detection and classification in RPL-based 6LoWPAN networksDiscover Computing · 2025
- Next-Gen IoT Security: Deep Learning-Based Detection of RPL Attacks in Mobile Converged NetworksIEEE Open Journal of the Communications Society · 2026
- A QoS-aware hybrid adaptive routing attack detection and mitigation approach for secure IoT-LLN environmentThe Computer Journal · 2026
- Efficient Routing Primitives for Low-power and Lossy Networks in Internet of ThingsEdinburgh Napier Research Repository (Edinburgh Napier University) · 2026
- TRUSTLab dataset: a real-world CICFlowMeter dataset for IoT/edge intrusion detectionFrontiers in Computer Science · 2026