CyberSecurity Intrusion Detection in Industry 4.0 WSN’s Using ML/DL
Main Article Content
Abstract
The increasing deployment of Wireless Sensor Networks (WSNs) in industrial environments exposes critical systems to a variety of cyberattacks. Traditional intrusion detection systems (IDS) often struggle with real-time performance and scalability in resource-constrained environments, limiting their effectiveness in Industry 4.0 applications. This study aims to propose a hybrid machine learning-based IDS that improves detection accuracy, computational efficiency, and adaptability for real-time deployment in industrial WSNs. The proposed system integrates Stacking Classifiers, XGBoost, and Adaboost ensemble learning techniques, designed to enhance attack detection capabilities while minimizing computational overhead. The model was trained and evaluated on a publicly available WSN dataset, employing a 70:30 train-test split and 10-fold cross-validation to ensure robust performance. The system was benchmarked against traditional models like Decision Trees and Random Forests. The proposed model achieved an accuracy of 95.8%, outperforming baseline models (Decision Tree: 84.6%, Random Forest: 90.4%) in terms of recall and F1-score. The system also demonstrated significant computational efficiency, requiring less training time compared to deep learning models while maintaining high detection accuracy. This study presents a novel hybrid IDS solution that balances high accuracy with computational efficiency, making it suitable for real-time intrusion detection in resource-constrained industrial environments. The contributions offer a practical solution for securing WSNs in Industry 4.0, with scalable and adaptable capabilities to detect emerging threats.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
IJCERT Policy:
The published work presented in this paper is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) license. This means that the content of this paper can be shared, copied, and redistributed in any medium or format, as long as the original author is properly attributed. Additionally, any derivative works based on this paper must also be licensed under the same terms. This licensing agreement allows for broad dissemination and use of the work while maintaining the author's rights and recognition.
By submitting this paper to IJCERT, the author(s) agree to these licensing terms and confirm that the work is original and does not infringe on any third-party copyright or intellectual property rights.
References
S. Zhang, S. Wang, and T. Liu, "A machine learning-based intrusion detection system for wireless sensor networks," IEEE Access, vol. 10, pp. 21867–21877, 2022.
J. Liu, Z. Yang, and L. Zhang, "Deep learning for attack detection in wireless sensor networks," IEEE Transactions on Industrial Informatics, vol. 19, no. 3, pp. 2457–2465, 2023.
H. Wang, Y. Wang, and X. Li, "Hybrid intrusion detection system for wireless sensor networks," Journal of Network and Computer Applications, vol. 15, pp. 239–246, 2024.
Y. Zhang, J. Xie, and T. Zhang, "Ensemble methods for intrusion detection in wireless sensor networks," Computers & Security, vol. 115, 2022.
J. Lee, W. Kim, and S. Lee, "A lightweight intrusion detection system for resource-constrained wireless sensor networks," Journal of Low Power Electronics and Applications, vol. 10, no. 4, pp. 1–12, 2023.
D. Patel, R. Mishra, and S. Garg, "Reinforcement learning for real-time intrusion detection in wireless sensor networks," IEEE Transactions on Cybernetics, vol. 54, no. 8, pp. 3463–3475, 2024.
L. Xu, X. Zhou, and Z. Zhang, "Federated learning for privacy-preserving intrusion detection systems in WSNs," IEEE Transactions on Industrial Informatics, vol. 23, no. 2, pp. 1281–1288, 2025.
D. A. Garcia, C. Santar, and A. Lopez, "A review of machine learning techniques for intrusion detection in wireless sensor networks," Journal of Communications and Networks, vol. 27, no. 3, pp. 354–365, 2022.
M. Kumar, R. Kumar, and R. Garg, "Adaptive intrusion detection using XGBoost for WSNs," IEEE Access, vol. 10, pp. 12055–12064, 2023.
Z. Singh, M. Kumar, and P. Ghosh, "Optimization of intrusion detection systems in WSNs using deep reinforcement learning," IEEE Transactions on Network and Service Management, vol. 21, no. 1, pp. 85–97, 2024.
S. Jain and M. Gupta, "A novel hybrid deep learning model for intrusion detection in IoT and WSN," International Journal of Network Security, vol. 22, no. 6, pp. 123–130, 2022.
X. Li, P. Zhang, and J. Li, "A hybrid intrusion detection model for industrial IoT networks," IEEE Internet of Things Journal, vol. 11, no. 5, pp. 2125–2137, 2024.
R. Sharma, S. Singh, and S. Bhattacharyya, "Deep learning-based anomaly detection for secure IoT networks," Future Generation Computer Systems, vol. 113, pp. 349–358, 2023.
S. Zhang, S. Wang, and T. Liu, "A machine learning-based intrusion detection system for wireless sensor networks," IEEE Access, vol. 10, pp. 21867–21877, 2022.
J. Liu, Z. Yang, and L. Zhang, "Deep learning for attack detection in wireless sensor networks," IEEE Transactions on Industrial Informatics, vol. 19, no. 3, pp. 2457–2465, 2023.
H. Wang, Y. Wang, and X. Li, "Hybrid intrusion detection system for wireless sensor networks," Journal of Network and Computer Applications, vol. 15, pp. 239–246, 2024.
Y. Zhang, J. Xie, and T. Zhang, "Ensemble methods for intrusion detection in wireless sensor networks," Computers & Security, vol. 115, 2022.
J. Lee, W. Kim, and S. Lee, "A lightweight intrusion detection system for resource-constrained wireless sensor networks," Journal of Low Power Electronics and Applications, vol. 10, no. 4, pp. 1–12, 2023.
D. Patel, R. Mishra, and S. Garg, "Reinforcement learning for real-time intrusion detection in wireless sensor networks," IEEE Transactions on Cybernetics, vol. 54, no. 8, pp. 3463–3475, 2024.
L. Xu, X. Zhou, and Z. Zhang, "Federated learning for privacy-preserving intrusion detection systems in WSNs," IEEE Transactions on Industrial Informatics, vol. 23, no. 2, pp. 1281–1288, 2025.
https://www.kaggle.com/datasets/bassamkasasbeh1/wsnds
A. Guezzaz, S. Benkirane, M. Azrour, and S. Khurram, “A Reliable Network Intrusion Detection Approach Using Decision Tree with Enhanced Data Quality,” Security and Communication Networks, vol. 2021, pp. 1–8, Aug. 2021, doi: 10.1155/2021/1230593.
T. Markovic, M. Leon, D. Buffoni, and S. Punnekkat, “Random Forest Based on Federated Learning for Intrusion Detection,” Artificial Intelligence Applications and Innovations, pp. 132–144, 2022, doi: 10.1007/978-3-031-08333-4_11.
S. Chalichalamala, N. Govindan, and R. Kasarapu, “Logistic Regression Ensemble Classifier for Intrusion Detection System in Internet of Things,” Sensors, vol. 23, no. 23, p. 9583, Dec. 2023, doi: 10.3390/s23239583.