Resource-Aware CNN-IIDS for Intrusion Detection in WSNs with Multi-Dataset Evaluation
Received: 16 April 2026 | Revised: 6 May 2026, 21 May 2026, and 23 May 2026 | Accepted: 24 May 2026 | Online: 10 June 2026
Corresponding author: Sumedh Dhengre
Abstract
Wireless Sensor Networks (WSNs) are vulnerable to cyber-attacks due to their limited energy and computational resources. This study proposes a resource-aware Convolutional Neural Network-based Intelligent Intrusion Detection System (CNN-IIDS) for efficient multi-attack detection in WSN environments. The framework integrates hybrid feature engineering, combining traffic-based features with node-level resource metrics. The framework employs a lightweight CNN for automated feature learning and classification. The proposed system detects multiple attacks, including Denial of Service (DoS), User-to-Root (U2R), Remote-to-Local (R2L), and Wormhole attacks. To ensure robustness, the model is evaluated on multiple datasets, including simulation-based and benchmark datasets such as WSN-DS, and is compared with machine learning classifiers, including Random Forest. The experimental results demonstrate high detection accuracy, precision, recall, and low false positive rates. The proposed CNN-IIDS achieves an effective balance between performance and computational efficiency, making it suitable for resource-constrained WSN environments.
Keywords:
Wireless Sensor Networks (WSNs), Intrusion Detection System (IDS), Convolutional Neural Network (CNN), resource-aware model, multi-attack detection, multi-dataset evaluation, network securityReferences
[1] S. Ismail, D. W. Dawoud, and H. Reza, "Securing Wireless Sensor Networks Using Machine Learning and Blockchain: A Review," Future Internet, vol. 15, no. 6, May 2023, Art. no. 200.
[2] T. S. Delwar et al., "The Intersection of Machine Learning and Wireless Sensor Network Security for Cyber-Attack Detection: A Detailed Analysis," Sensors, vol. 24, no. 19, Oct. 2024, Art. no. 6377.
[3] V. Sivagaminathan, M. Sharma, and S. K. Henge, "Intrusion Detection Systems for Wireless Sensor Networks Using Computational Intelligence Techniques," Cybersecurity, vol. 6, no. 1, Oct. 2023, Art. no. 27.
[4] Md. A. Talukder, M. Khalid, and N. Sultana, "A Hybrid Machine Learning Model for Intrusion Detection in Wireless Sensor Networks Leveraging Data Balancing and Dimensionality Reduction," Scientific Reports, vol. 15, no. 1, Feb. 2025, Art. no. 4617.
[5] B. Mopuru and Y. Pachipala, "Advancing IoT Security: Integrative Machine Learning Models for Enhanced Intrusion Detection in Wireless Sensor Networks," Engineering, Technology & Applied Science Research, vol. 14, no. 4, pp. 14840–14847, Aug. 2024.
[6] G. G. Gebremariam, J. Panda, and S. Indu, "Design of Advanced Intrusion Detection Systems Based on Hybrid Machine Learning Techniques in Hierarchically Wireless Sensor Networks," Connection Science, vol. 35, no. 1, Dec. 2023, Art. no. 2246703.
[7] M. Faris, M. N. Mahmud, M. F. M. Salleh, and A. Alnoor, "Wireless Sensor Network Security: A Recent Review Based on State-of-the-Art Works," International Journal of Engineering Business Management, vol. 15, Feb. 2023, Art. no. 18479790231157220.
[8] R. Ahmad, R. Wazirali, and T. Abu-Ain, "Machine Learning for Wireless Sensor Networks Security: An Overview of Challenges and Issues," Sensors, vol. 22, no. 13, Jun. 2022, Art. no. 4730.
[9] Y. Kumar and V. Kumar, "A Systematic Review on Intrusion Detection System in Wireless Networks: Variants, Attacks, and Applications," Wireless Personal Communications, vol. 133, no. 1, pp. 395–452, Nov. 2023.
[10] M. A. Ferrag, L. Maglaras, S. Moschoyiannis, and H. Janicke, "Deep Learning for Cyber Security Intrusion Detection: Approaches, Datasets, and Comparative Study," Journal of Information Security and Applications, vol. 50, Feb. 2020, Art. no. 102419.
[11] Y. Meidan et al., "ProfilIoT: A Machine Learning Approach for IoT Device Identification Based on Network Traffic Analysis," in Proceedings of the Symposium on Applied Computing, Marrakech, Morocco, Apr. 2017, pp. 506–509.
[12] G. Kumar and H. Alqahtani, "Machine Learning Techniques for Intrusion Detection Systems in SDN-Recent Advances, Challenges and Future Directions," Computer Modeling in Engineering & Sciences, vol. 134, no. 1, pp. 89–119, 2023.
[13] B. R. Kikissagbe and M. Adda, "Machine Learning-Based Intrusion Detection Methods in IoT Systems: A Comprehensive Review," Electronics, vol. 13, no. 18, Sep. 2024, Art. no. 3601.
[14] B. Al-Fuhaidi, Z. Farae, F. Al-Fahaidy, G. Nagi, A. Ghallab, and A. Alameri, "Anomaly‐Based Intrusion Detection System in Wireless Sensor Networks Using Machine Learning Algorithms," Applied Computational Intelligence and Soft Computing, vol. 2024, no. 1, Jan. 2024, Art. no. 2625922.
[15] M. H. Rehmani, A. Davy, B. Jennings, and C. Assi, "Software Defined Networks-Based Smart Grid Communication: A Comprehensive Survey," IEEE Communications Surveys & Tutorials, vol. 21, no. 3, pp. 2637–2670, 2019.
[16] K. Padmavathi and M. Shanmugapriya, "A Survey of Attacks, Security Mechanisms and Challenges in Wireless Sensor Networks," International Journal of Computer Science and Information Security, vol. 4, no. 1, pp. 1–9, 2009.
[17] S. K. Jagatheesaperumal, Q.-V. Pham, R. Ruby, Z. Yang, C. Xu, and Z. Zhang, "Explainable AI Over the Internet of Things (IoT): Overview, State-of-the-Art and Future Directions," IEEE Open Journal of the Communications Society, vol. 3, pp. 2106–2136, 2022.
[18] R. Mitchell and I.-R. Chen, "A Survey of Intrusion Detection Techniques for Cyber-physical Systems," ACM Computing Surveys, vol. 46, no. 4, pp. 1–29, Apr. 2014.
[19] Y. Xin et al., "Machine Learning and Deep Learning Methods for Cybersecurity," IEEE Access, vol. 6, pp. 35365–35381, 2018.
[20] D. Jeevaraj et al., "Intrusion Detection in WSN Using Supervised Machine Learning Techniques," International Journal of Intelligent Systems and Applications in Engineering, vol. 12, no. 9, pp. 483–490, 2023.
[21] Md. A. Talukder, S. Sharmin, M. A. Uddin, M. M. Islam, and S. Aryal, "MLSTL-WSN: Machine Learning-Based Intrusion Detection Using SMOTETomek in WSNs," International Journal of Information Security, vol. 23, no. 3, pp. 2139–2158, Jun. 2024.
[22] A. B. Abhale and A. J. Reddy, "Deep Learning Perspectives to Detecting Intrusions in Wireless Sensor Networks," International Journal of Intelligent Systems and Applications in Engineering, vol. 11, no. 2S, pp. 18–26, 2023.
[23] M. Supriya and T. Adilakshmi, "Intrusion Detection in Wireless Sensor Networks Using Histogram Gradient Boosting Classifier," in Proceedings of the 5th International Conference on Data Science, Machine Learning and Applications; Volume 1, vol. 1273, A. Kumar, V. K. Gunjan, S. Senatore, and Y.-C. Hu, Eds. Singapore: Springer Nature Singapore, 2025, pp. 473–480.
[24] S. M. S. Bukhari et al., "Secure and Privacy-Preserving Intrusion Detection in Wireless Sensor Networks: Federated Learning With SCNN-Bi-LSTM for Enhanced Reliability," Ad Hoc Networks, vol. 155, Mar. 2024, Art. no. 103407.
[25] S. Bhardwaj, S. Rawat, and H. B. Maringanti, "Intrusion Detection Utilizing an Ant Colony Optimization-Based Feature Selection and the XGBoost Classifier," Engineering, Technology & Applied Science Research, vol. 16, no. 2, pp. 32989–32994, Apr. 2026.
[26] P. Selvam et al., "Federated Learning-Based Hybrid Convolutional Recurrent Neural Network for Multi-class Intrusion Detection in IoT Networks," Discover Internet of Things, vol. 5, no. 1, Apr. 2025, Art. no. 39.
[27] S. Agrawal et al., "Federated Learning for Intrusion Detection System: Concepts, Challenges and Future Directions." arXiv, 2021.
[28] K. P. Sharma et al., "Interpretable Intrusion Detection for IoT Environments Using a Self-Attention-Based Explainable AI Framework," Scientific Reports, vol. 15, no. 1, Nov. 2025, Art. no. 39937.
[29] H. Tabbaa, S. Ifzarne, and I. Hafidi, "An Online Ensemble Learning Model for Detecting Attacks in Wireless Sensor Networks," arXiv, 2022.
[30] K. Haseeb, N. Islam, T. Saba, A. Rehman, and Z. Mehmood, "LSDAR: A Light-Weight Structure Based Data Aggregation Routing Protocol with Secure Internet of Things Integrated Next-generation Sensor Networks," Sustainable Cities and Society, vol. 54, Mar. 2020, Art. no. 101995.
[31] A. Y. Khan, R. Latif, S. Latif, S. Tahir, G. Batool, and T. Saba, "Malicious Insider Attack Detection in IoTs Using Data Analytics," IEEE Access, vol. 8, pp. 11743–11753, 2020.
[32] K. Haseeb, K. M. Almustafa, Z. Jan, T. Saba, and U. Tariq, "Secure and Energy-Aware Heuristic Routing Protocol for Wireless Sensor Network," IEEE Access, vol. 8, pp. 163962–163974, 2020.
[33] M. Hasan Ali and M. Atif Rasheed, "A Blockchain-Based Multi-Agent Security Framework for E-Commerce Systems," International Journal of Theoretical & Applied Computational Intelligence, pp. 228–245, 2025.
[34] U. Suleiman Bichi and S. Bala Abdullahi, "Human Action Recognition: A Comprehensive Survey of Multimodal Advances, Challenges, and Emerging Directions," International Journal of Theoretical and Applied Computational Intelligence, pp. 305–322, 2025.
Downloads
How to Cite
License
Copyright (c) 2026 Sumedh Dhengre, Shabnam Sayyad

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.
