Skip to content
Open access

Enhanced Security for Wireless Sensor Networks through Lightweight Machine Learning-Based Anomaly Detection and Attack Classification

2026 · Journal of Cyber Security and Risk Auditing · Vol 2026, pp. 306-335 · 0 citations

TL;DR

The proposed soft-voting ensemble outperformed individual models and achieved highly accurate intrusion detection with strong classification consistency and minimal false alarm rates, making the framework feasible for real-time embedded WSN deployment.

Abstract

Wireless Sensor Networks (WSNs) have become indispensable components of modern cyber-physical systems, supporting healthcare, industrial automation, agriculture, environmental monitoring, and military surveillance. However, their limited computational resources, open wireless communication channels, and unattended long-term deployments expose them to diverse cyberattacks, whilst conventional security mechanisms remain inadequate for such constrained environments. This study aims to develop and evaluate an efficient Machine Learning-based framework for real-time anomaly detection and multi-class attack classification in WSNs. The objective is to enhance network security, maintain detection accuracy, and enable practical deployment on low-resource sensor hardware. Seven supervised and unsupervised learning models, including Random Forest, Support Vector Machine, XGBoost, LSTM, Isolation Forest, Autoencoder, and k-Nearest Neighbour, were assessed using three benchmark datasets: NSL-KDD, UNSW-NB15, and WSN-DS. A tailored feature engineering process selected the most informative network, temporal, and protocol attributes, followed by Bayesianoptimized ensemble learning. The proposed soft-voting ensemble outperformed individual models and achieved highly accurate intrusion detection with strong classification consistency and minimal false alarm rates. Cross-dataset evaluation confirmed robust generalization, while hardware profiling demonstrated low memory usage and fast inference, making the framework feasible for real-time embedded WSN deployment. This research provides a scalable and practical intelligent security solution for WSN environments. Its originality lies in combining high detection performance, lightweight deployment capability, and adversarial robustness analysis, offering significant value for securing future smart infrastructure and resource-constrained IoT systems.

Read PDF

Similar papers

Open access Sep 2026

A Study on Machine Learning for Intrusion Detection in Wireless Sensor Networks: Enhancing Network Security and Threat Detection

Wireless Sensor Networks (WSNs) are widely used in healthcare, environmental monitoring, smart cities, agriculture, military surveillance, and industrial automation. However, their wireless communication, limited computing resources, distributed architecture, and unattended deployment make them vulnerable to attacks su...

D. Malarvizhi, B. Priyanka, H. Shanofar et al. · 0 citations
Open access Sep 2026

LIGHTWEIGHT DEEP LEARNING IDS FOR ENERGY-CONSTRAINED WIRELESS SENSOR NETWORKS

Wireless Sensor Networks (WSNs) are widely used in applications such as environmental monitoring, industrial automation, healthcare, smart cities, and agriculture. These networks consist of small sensor nodes with limited energy, memory, and computational capacity. Due to these limitations and the use of open wireless...

D. Malarvizhi, G. K. Bharathi, M. Varshikasree · 0 citations
Open access Aug 2026

A Computationally Efficient Ensemble Boosting Framework for Optimized DoS Attack Detection in Wireless Sensor Networks

A computationally efficient intrusion detection framework based on the eXtreme Gradient Boosting model, specifically tailored for energy-constrained environments, and designed for deployment at the cluster-head or gateway levels of WSN architectures is proposed.

M. Loughmari, A. El Affar · 0 citations
Open access Aug 2026

Multiclass Cyber Attack Classification in Smart Home IoT Networks Using Ensemble Machine Learning with the ML-EdgeIIoT Dataset

A machine learning-based intrusion detection framework for multiclass classification of eight categories of IoT network attacks, namely Backdoor, MITM, DDoS, Ransomware, Password Attack, SQL Injection, Prob-attacks, and Normal traffic is designed and evaluated while minimizing false positives and false negatives.

Abhay Kumar Ray, Rupak Sharma, Sunil Kumar Pandey · 0 citations
Conference Aug 2026

Intrusion Detection System in Wireless Sensor Network using AI & ML

The WSN systems can be severely threatened by cybersecurity attacks because of their distributed nature and resource limitations. In this study, a new framework for intrusion detection is proposed to perform efficient and effective cybersecurity attacks identification. Three different modules, which cooperate together,...

Prashant Kumar, Deepak Kumar Gupta, Archana Jain et al. · 0 citations
#federated learning Review Open access Sep 2026

A review of lightweight intrusion detection and security mechanisms for resource constrained IoT and WSNs

Resource-constrained Internet of Things (IoT) devices and wireless sensor networks (WSNs) remain difficult to secure using conventional security mechanisms because their sensing, forwarding, and processing nodes operate with limited memory, computation, energy, bandwidth, and software-update capability. These limits ex...

O. Khashan · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.