AUT Journal of Electrical Engineering

AUT Journal of Electrical Engineering

A Centralized Machine Learning Intrusion Detection System against Distributed Denial-of-Service Attacks in Wireless Sensor Networks

Document Type : Research Article

Authors
Faculty of Electrical and Computer Engineering, Hakim Sabzevari University, Sabzevar, Iran.
Abstract
Wireless sensor networks (WSNs) are vulnerable to distributed denial-of-service (DDoS) attacks, which can severely degrade overall performance and compromise system availability and reliability. To effectively protect against such attacks, this work introduces a centralized intrusion detection system (IDS) framework utilizing machine learning (ML) techniques. The IDS integrates six different ML models to accurately classify malicious traffic and distinguish it from legitimate network traffic. However, developing and validating a robust ML-based defense solution requires a comprehensive understanding of the attack’s behavior and impact. Therefore, we initially simulate a baseline WSN architecture and conduct different DDoS attacks, focusing specifically on two critical architectural layers: Cluster Heads and the Base Station. To identify vulnerabilities introduced by DDoS traffic saturation and resource exhaustion, the severity of the attacks is further quantified through network-level metrics. This empirical analysis provides four labeled datasets necessary to train the ML models in the IDS framework across multiple operational phases, including the baseline phase before the attacks, the active attack phase during DDoS attacks, and the recovery phase after the attacks. Experimental results demonstrate that the IDS achieves high detection performance and significantly reduces the adverse effects of the attacks. Furthermore, based on the findings, the IDS facilitates rapid network recovery, restoring performance to levels close to normal operations.
Keywords
Subjects

[1] Y.Y. Ghadi, T. Mazhar, T. Al Shloul, T. Shahzad, U.A. Salaria, A. Ahmed, H. Hamam, Machine learning solutions for the security of wireless sensor networks: A review, IEEE Access, 12 (2024) 12699-12719.
[2] R. Bukhowah, A. Aljughaiman, M.H. Rahman, Detection of dos attacks for IoT in information-centric networks using machine learning: Opportunities, challenges, and future research directions, Electronics, 13(6) (2024) 1031.
[3] T. Khan, K. Singh, M. Shariq, K. Ahmad, K. Savita, A. Ahmadian, S. Salahshour, M. Conti, An efficient trust-based decision-making approach for WSNs: Machine learning oriented approach, Computer Communications, 209 (2023) 217-229.
[4] M. Loughmari, A. El Affar, A lightweight machine learning approach for denial-of-service attacks detection in wireless sensor networks, International Journal of Electrical and Computer Engineering (IJECE), 15(2) (2025) 2089-2097.
[5] M.A. Talukder, S. Sharmin, M.A. Uddin, M.M. Islam, S. Aryal, MLSTL-WSN: machine learning-based intrusion detection using SMOTETomek in WSNs, International Journal of Information Security, 23(3) (2024) 2139-2158.
[6] H. Tabbaa, S. Ifzarne, I. Hafidi, An online ensemble learning model for detecting attacks in wireless sensor networks, arXiv preprint arXiv:2204.13814,  (2022).
[7] V. Sivagaminathan, M. Sharma, S.K. Henge, Intrusion detection systems for wireless sensor networks using computational intelligence techniques, Cybersecurity, 6(1) (2023) 27.
[8] M.A. Elsadig, Detection of denial-of-service attack in wireless sensor networks: A lightweight machine learning approach, IEEE Access, 11 (2023) 83537-83552.
[9] R. Wazirali, R. Ahmad, Machine Learning Approaches to Detect DoS and Their Effect on WSNs Lifetime, Computers, Materials & Continua, 70(3) (2022).
[10] A.M. Arabiat, Y.G. Eljaafreh, Intrusion Detection in Wireless Sensor Networks Using ML Based Classification of Denial of Service (DoS) Attacks, Journal of Communications, 20(4) (2025) 501-514.
[11] M. Esmaeili, S.H. Goki, B.H.K. Masjidi, M. Sameh, H. Gharagozlou, A.S. Mohammed, ML‐DDoSnet: IoT intrusion detection based on denial‐of‐service attacks using machine learning methods and NSL‐KDD, Wireless Communications and Mobile Computing, 2022(1) (2022) 8481452.
[12] V.K. Singh, D. Sivashankar, K. Kundan, S. Kumari, An Efficient Intrusion Detection and Prevention System for DDOS Attack in WSN Using SS-LSACNN and TCSLR, Journal of Cyber Security and Mobility, 13(1) (2024) 135-159.
[13] O. Ussatova, A. Zhumabekova, Y. Begimbayeva, E.T. Matson, N. Ussatov, Comprehensive DDoS Attack Classification Using Machine Learning Algorithms, Computers, Materials & Continua, 73(1) (2022).
[14] E. Sivanantham, N.K. Priyadarsini, M. Thankaraj, T.V. Lakshmi, Effective Denial‐of‐Service Attack (DoS) Detection Using Progressive Cyclical Convolutional Neural Network (CNN) in Wireless Sensor Networks, International Journal of Communication Systems, 38(14) (2025) e70217.
[15] M.A. Talukder, M. Khalid, N. Sultana, A hybrid machine learning model for intrusion detection in wireless sensor networks leveraging data balancing and dimensionality reduction, Sci. Rep., 15(1) (2025) 4617.