journal article·2026-02-06Open access

Towards Privacy-Preserving Deep Learning for Intelligent IoT Botnet Detection

Ariwan M. Rasool, Nader Sohrabi Safa, Consolee Mbarushimana

Applied Sciences· Volume 16· Issue 3

Abstract

Internet of Things (IoT) botnets are networks of infected smart devices controlled by attackers and posing a serious cybersecurity challenge. Developing detection approaches that maintain high accuracy while protecting privacy presents considerable challenges, particularly in large and heterogeneous IoT networks. This paper empirically compares three modelling approaches on Bot-IoT and N-BaIoT in binary and multiclass settings: handcrafted machine learning with random forest (RF), centralised deep learning (CDL) with DNN/LSTM/BiLSTM, and federated deep learning (FDL) with the same architectures. Model hyperparameters are selected via randomised search on stratified subsets and then fixed for final training. Results show near-perfect performance for all approaches in binary detection: on Bot-IoT, CDL-DNN attains perfect accuracy, and RF is virtually perfect (only four benign-to-attack false positives), while FDL models are similarly strong with only small false-positive and false-negative counts. On N-BaIoT, RF and CDL (especially LSTM) are near-perfect, and FDL is very close to CDL. For multiclass detection, CDL-DNN leads on Bot-IoT, RF remains near perfect with minimal cross-class confusion, and FDL trails slightly; on N-BaIoT, FDL-BiLSTM and RF are essentially perfect, with CDL-LSTM close behind. Overall, the findings validate RF as a competitive classical approach, show where centralised representation learning adds value, and demonstrate that federated training preserves most of the centralised accuracy while avoiding raw data centralization (data locality) for scalable deployment.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Network Security and Intrusion Detection · Advanced Malware Detection Techniques · Smart Grid Security and Resilience

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computing and Mathematical Sciences, University of Wolverhampton, Wolverhampton WV1 1LY, UK

Department of Computing, University of Worcester, Worcester WR2 6AJ, UK

References (39)

Show source-provided references
1. Federated learning for malware detection in IoT devices10.1016/j.comnet.2021.108693 ↗
2. Federated learning for the Internet of Things: Applications, challenges, and opportunities10.1109/IOTM.004.2100182 ↗
3. AI techniques for IoT-based DDoS attack detection: Taxonomies, comprehensive review and research challenges10.1016/j.cosrev.2024.100631 ↗
4. Deep learning-based classification model for botnet attack detection10.1007/s12652-020-01848-9 ↗
5. Federated deep learning for zero-day botnet attack detection in IoT-edge devices10.1109/JIOT.2021.3100755 ↗
6. Protecting IoT devices from BotNet threats: A federated machine learning solution
7. Federated learning in mobile edge networks: A comprehensive survey10.1109/COMST.2020.2986024 ↗
8. Towards the development of realistic botnet dataset in the Internet of Things for network forensic analytics: Bot-IoT dataset10.1016/j.future.2019.05.041 ↗
9. N-BaIoT—Network-based detection of IoT botnet attacks using deep autoencoders10.1109/MPRV.2018.03367731 ↗
10. Patil, A., and Deshpande, A. (2023, January 6–7). Evaluating ML models on CTU-13 and IoT-23 datasets. Proceedings of the 3rd International Conference on Advanced Computing Technologies and Applications (ICACTA 2023), Mumbai, India.10.1109/ICACTA58201.2023.10393565 ↗
11. Advancing IoT security: A systematic review of machine learning approaches for the detection of IoT botnets10.1016/j.jksuci.2023.101820 ↗
12. Popoola, S.I., Adebisi, B., Gui, G., Hammoudeh, M., Gacanin, H., and Dancey, D. (2021). Memory-efficient deep learning for botnet attack detection in IoT networks. Electronics, 10.10.3390/electronics10091104 ↗
13. Liu, T., Ding, J., Wang, T., Pan, M., and Chen, M. (2022). Towards fast and accurate federated learning with non-IID data for cloud-based IoT applications. arXiv.10.1142/S0218126622502358 ↗
14. An ensemble multi-view federated learning intrusion detection for IoT10.1109/ACCESS.2021.3107337 ↗
15. Towards asynchronous federated learning based threat detection: A DC-Adam approach10.1016/j.cose.2021.102344 ↗
16. Popoola, S.I., Adebisi, B., Gui, G., Hammoudeh, M., Gacanin, H., and Dancey, D. (TechRxiv, 2022). Optimizing deep learning model hyperparameters for botnet attack detection in IoT networks, TechRxiv, preprint.10.36227/techrxiv.19501885.v1 ↗
17. Optimized detection of cyber-attacks on IoT networks via hybrid deep learning models10.1016/j.adhoc.2025.103770 ↗
18. Internet of Things attack detection using hybrid deep learning model10.1016/j.comcom.2021.05.024 ↗
19. Privacy-preserving federated learning for IoT botnet detection: A federated averaging approach10.62762/TMI.2025.796490 ↗
20. FedMSE: Semi-supervised federated learning approach for IoT network intrusion detection10.1016/j.cose.2025.104337 ↗
21. Intrusion detection for wireless edge networks based on federated learning10.1109/ACCESS.2020.3041793 ↗
22. Internet of Things intrusion detection: Centralized, on-device, or federated learning?10.1109/MNET.011.2000286 ↗
23. Kim, S., Cai, H., Hua, C., Gu, P., Xu, W., and Park, J. (2020, January 9–11). Collaborative anomaly detection for Internet of Things based on federated learning. Proceedings of the 2020 IEEE/CIC International Conference on Communications in China (ICCC 2020), Chongqing, China.10.1109/ICCC49849.2020.9238913 ↗
24. Security of Internet of Things (IoT) using federated learning and deep learning—Recent advancements, issues and prospects10.1016/j.icte.2023.03.006 ↗
25. Yadav, K., and Gupta, B.B. (2021, January 10–12). Clustering based rewarding algorithm to detect adversaries in federated machine learning based IoT environment. Proceedings of the 2021 IEEE International Conference on Consumer Electronics (ICCE 2021), Las Vegas, NV, USA.10.1109/ICCE50685.2021.9427586 ↗
26. Dritsas, E., and Trigka, M. (2025). Federated learning for IoT: A survey of techniques, challenges, and applications. J. Sens. Actuator Netw., 14.10.3390/jsan14010009 ↗
27. Federated deep learning for cybersecurity in the Internet of Things: Concepts, applications, and experimental analysis10.1109/ACCESS.2021.3118642 ↗
28. Churcher, A., Ullah, R., Ahmad, J., Rehman, S.U., Masood, F., Gogate, M., Alqahtani, F., Nour, B., and Buchanan, W.J. (2021). An experimental analysis of attack classification using machine learning in IoT networks. Sensors, 21.10.3390/s21020446 ↗
29. Toward lightweight intrusion detection systems using the optimal and efficient feature pairs of the Bot-IoT 2018 dataset
30. Alkadi, S., Al-Ahmadi, S., and Ben Ismail, M.M. (2023). Toward improved machine learning-based intrusion detection for Internet of Things traffic. Computers, 12.10.3390/computers12080148 ↗
31. A hybrid machine learning model for detecting cybersecurity threats in IoT applications
32. Ensemble averaging deep neural network for botnet detection in heterogeneous IoT devices10.1038/s41598-024-54438-6 ↗
33. Interpretable intrusion detection for IoT environments using a self-attention-based explainable AI framework10.1038/s41598-025-23750-0 ↗
34. Deep learning enabled intrusion detection system for industrial IoT environment10.1016/j.eswa.2024.123808 ↗
35. Shahin, M., Hosseinzadeh, A., and Chen, F.F. (2025). A Two-Stage Hybrid Federated Learning Framework for Privacy-Preserving IoT Anomaly Detection and Classification. IoT, 6.10.3390/iot6030048 ↗
36. Asiri, M., Wazirali, R., Alkhalaf, S., Othman, A., and Al-Maleh, N. (2025). RPFL: A reliable and privacy-preserving framework for federated learning-based IoT malware detection. Electronics, 14.10.3390/electronics14061089 ↗
37. Alamir, R.H., Noor, A., Almukhalfi, H., Almukhlifi, R., and Noor, T.H. (2025). SecFedDNN: A Secure Federated Deep Learning Framework for Edge-Cloud Environments. Systems, 13.10.3390/systems13060463 ↗
38. Wakili, A.A., Guni, S., Khan, S.A., Yu, W., and Jung, W. (2025). Advancing Machine Learning Strategies for Power Consumption-Based IoT Botnet Detection. Sensors, 25.10.3390/s25247553 ↗
39. Senol, K., Gumusbas, K., Ali, B., Almardan, A., and Giray, G. (2024). Privacy-preserving detection of tampered radio-frequency transmissions utilizing federated learning in LoRa networks. Sensors, 24.10.3390/s24227336 ↗