A Two-Stage Machine Learning Model for Detecting Wormhole Attacks in Wireless Sensor Networks
Dandao Xuebao/Journal of Ballistics · 19.06.2026 · 38 (2) · 857-865
DOI: 10.52783/dxjb.v38.423 ↗Kurz gefasst
Fachartikel in der Zeitschrift Dandao Xuebao/Journal of Ballistics, online erschienen am 19.06.2026. Verfasst von Megha B. Patel und 1 weiteren Autor:innen.
Abstract (Originalsprache)
Wireless Sensor Networks (WSNs) underpin many Internet of Things (IoT) applications, yet their open wireless medium, unattended deployment, and limited resources make them highly vulnerable to routing-layer attacks, particularly wormhole attacks that distort network topology without breaking cryptographic primitives. This paper proposes a two-stage Hybrid Machine-Learning Intrusion Detection System (Hybrid‑ML‑IDS) that combines unsupervised K‑means clustering with Random Forest (RF) classification to detect wormhole attacks using flow-level traffic features from the Wormhole at-tack‑Contr2 v2 dataset. In Stage 1, K‑means partitions normalized flows into latent clusters and derives structure-aware features—cluster identifier and centroid-distance statistics—which are concatenated with the original attributes. In Stage 2, a tuned RF classifier is trained on this enriched representation to discriminate normal from wormhole traffic. Experiments on 637,862 network flows (20 attributes plus a binary label, with approximately 76% at-tack and 24% normal instances) show that the proposed K‑means+RF model achieves 99.36% accuracy, 99.50% precision, 99.66% recall, 99.58% F1‑score, and a 1.60% false positive rate on the test set. Comparative evaluation against SVM, KNN, Decision Tree, Naïve Bayes, standalone RF, and XGBoost demonstrates that Hybrid‑ML‑IDS delivers superior wormhole detection capability with modest computational overhead, making it suitable for deployment at WSN gateways and cluster heads.
Zitieren
APA
Patel, M. B., & Patel, M. M. (2026). A Two-Stage Machine Learning Model for Detecting Wormhole Attacks in Wireless Sensor Networks. Dandao Xuebao/Journal of Ballistics, 38(2), 857-865. https://doi.org/10.52783/dxjb.v38.423
Vancouver
Patel MB, Patel MM. A Two-Stage Machine Learning Model for Detecting Wormhole Attacks in Wireless Sensor Networks. Dandao Xuebao/Journal of Ballistics. 2026;38(2):857-865. doi:10.52783/dxjb.v38.423
BibTeX
@article{Patel2026,
author = {Patel, Megha B. and Patel, Manish M.},
title = {A Two-Stage Machine Learning Model for Detecting Wormhole Attacks in Wireless Sensor Networks},
journal = {Dandao Xuebao/Journal of Ballistics},
year = {2026},
volume = {38},
number = {2},
pages = {857--865},
doi = {10.52783/dxjb.v38.423}
}
EUVIMED