Despite the high amount of research on networks and systems security, that comes out every day, the field of intrusion detection still attracts the interest of many researchers as one of the most important axes that contribute to understand the attacks behavior for providing an efficient and accurate solution with low cost. Wireless sensor network and Internet of Things are one of the special networks that have several constraints, limited computational resources, and the most vulnerable for attacks, especially, DoS and DDoS attacks, which considered as the most dangerous among all attacks types. Motivating by the considerations mentioned above, and using three benchmark, real-time and well-known datasets: CICDDoS-2019, WSN-DS and CICIoMT2024, we have proposed an efficient intrusion detection approach based on a lightweight learning model called LightGBM. We have compared its performance with two others machine-learning models recommended usually to intrusion detection: Decision Tree and SVM, using the metrics of evaluation: accuracy, precision, F1-score and confusion matrix. Features engineering techniques such as features extraction, features scaling and dimensionality reduction (PCA) as well as data balancing, have been used to improve the accuracy rate of our models in classifying normal and abnormal traffic. The experiment result shows that the LightGBM model is the best model among the three models for the three datasets.
- Madakam S., Ramaswamy R., Tripathi S. Internet of Things (IoT): A Literature Review. Journal of Computer and Communications. 3 (5), 164–173 (2015).
- Moslehi M. M. Exploring coverage and security challenges in wireless sensor networks: A survey. Computer Networks. 260, 111096 (2025).
- Abomhara M., Køien G. M. Cyber security and the internet of things: vulnerabilities, threats, intruders and attacks. Journal of Cyber Security and Mobility. 4, 65–88 (2015).
- Lazrek G., Chetioui K., Balboul Y., Mazer S., El bekkali M. An RFE/Ridge-ML/DL based anomaly intrusion detection approach for securing IoMT system. Results in Engineering. 23, 102659 (2024).
- Al-Hajjar A. L. N., Al-Qurabat A. K. M. An overview of machine learning methods in enabling IoMT-based epileptic seizure detection. Journal of Supercomputing. 79, 16017–16064 (2023).
- Zachos G., Mantas G., Porfyrakis K., Bastos J. M. C. S., Rodriguez J. Anomaly-Based Intrusion Detection for IoMT Networks: Design, Implementation, Dataset Generation and ML Algorithms Evaluation. IEEE Access. 13, 41994–42028 (2025).
- Binbusayyis A. Innovative Defense: Deep Learning-Powered Intrusion Detection for IoT Networks. IEEE Access. 13, 31105–31120 (2025).
- Ethala S., Kumarappan A. A Hybrid Spider Monkey and Hierarchical Particle Swarm Optimization Approach for Intrusion Detection on Internet of Things. Sensors. 22 (21), 8566 (2022).
- Zubair M., Ghubaish A., Unal D., Al-Ali A., et al. Secure Bluetooth Communication in Smart Healthcare Systems: A Novel Community Dataset and Intrusion Detection System. Sensors. 22 (21), 8280 (2022).
- Rani S., Kumar S., Kataria A., Min H. SmartHealth: An intelligent framework to secure IoMT service applications using machine learning. ICT Express. 10 (2), 425–430 (2024).
- Ibrahim M., Al-Wadi A. Enhancing IoMT network security using ensemble learning-based intrusion detection systems. Journal of Engineering Research. 13 (4), 3166–3175 (2024).
- Ksibi S., Jaidi F., Bouhoula A. IoMT security model based on machine learning and risk assessment techniques. 2023 International Wireless Communications and Mobile Computing (IWCMC). 614–619 (2023).
- Binbusayyis A., Alaskar H., Vaiyapuri T., Dinesh M. An investigation and comparison of machine learning approaches for intrusion detection in IoMT network. Journal of Supercomputing. 78 (15), 17403–17422 (2022).
- Pokhrel S., Abbas R., Aryal B. IoT Security: Botnet detection in IoT using Machine learning. Preprint arXiv:2104.02231 (2021).
- Ioannou C., Vassiliou V. Classifying Security Attacks in IoT Networks Using Supervised Learning. 2019 15th International Conference on Distributed Computing in Sensor Systems (DCOSS). 652–658 (2019).
- Sharafaldin I., Habibi A., Hakak S., Ghorbani A. A. Developing Realistic Distributed Denial of Service (DDoS) Attack Dataset and Taxonomy. 2019 International Carnahan Conference on Security Technology (ICCST). 1–8 (2019).
- Dadkhah S., Pinto Neto E. C., Ferreira R., Molokwu R. C., Sadeghi S., Ghorbani A. A. CICIoMT2024: A benchmark dataset for multi-protocol security assessment in IoMT. Internet of Things. 28, 101351 (2024).
- Almomani I., Al-Kasasbeh B., AL-Akhras M. WSN-DS: A Dataset for Intrusion Detection Systems in Wireless Sensor Networks. Journal of Sensors. 4731953 (2061).
- Xu Z., Shen D., Nie T., Kou Y. A hybrid sampling algorithm combining M-SMOTE and ENN based on Random forest for medical imbalanced data. Journal of Biomedical Informatics. 107, 103465 (2020).
- Al-Kasassbeh M., Abbadi M. A., Al-Bustanji A. M. LightGBM algorithm for malware detection. Intelligent Computing. 391–403 (2020).
- Zhang Y. Support Vector Machine Classification Algorithm and Its Application. Information Computing and Applications. 179–186 (2012).
- Salman H. A., Kalakech A., Steiti A. Random forest algorithm overview. Babylonian Journal of Machine Learning. 2024, 69–79 (2024).