Towards Decentralized Cybersecurity: A Novel Privacy-Preserving Federated Learning Approach for Botnet Attack Detection

The exponential proliferation of IoT devices has led to an alarming surge in botnet-based cyberattacks, necessitating advanced, privacy-preserving, and scalable detection mechanisms. Traditional centralized machine learning approaches for botnet detection face critical challenges, including data privacy risks, communication overhead, and model generalization issues. To address these concerns, this research presents a privacy-preserving Federated Learning (FL) approach for decentralized cybersecurity, using SHapley Additive exPlanations (SHAP)-based feature selection to enhance interpretability and model efficiency. The proposed method enables local models to be trained on edge devices without sharing raw data, preserving user privacy while maintaining robust detection capabilities. Using the MedBiot dataset, we evaluate the effectiveness of FL under both Non-IID and IID settings, where botnet attack types (e.g., Bashlite, Mirai, and Torii) are distributed across multiple federated clients. The experimental results indicate that the non-IID federated models achieved exceptional detection recall (99.98%), with high precision, accuracy, and F1-score across all clients, demonstrating resilience even in highly heterogeneous environments. The IID setting, where data were randomly distributed among clients, also maintained high classification accuracy (≈99.98%), highlighting the significance of localized attack patterns in federated cybersecurity. Additionally, SHAP-based feature selection optimizes performance by identifying the most critical features, reducing computational overhead while preserving explainability. The findings underscore the efficacy of FL for real-world IoT botnet detection, offering a scalable, secure, and interpretable solution to modern cybersecurity challenges.

Authors

Institutions

Publication Details

Journal
Blockchain Research and Applications
Published
2025-08-01
DOI
https://doi.org/10.1016/j.bcra.2025.100355
Citations
4
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
5.95
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Towards Decentralized Cybersecurity: A Novel Privacy-Preserving Federated Learning Approach for Botnet Attack Detection

Md. Alamgir Hossain, Md. Samiul Islam
4 citations
Blockchain Research and Applications
Network Security and Intrusion Detection
5.95
article

Towards Decentralized Cybersecurity: A Novel Privacy-Preserving Federated Learning Approach for Botnet Attack Detection

Md. Alamgir Hossain, Md. Samiul Islam
article en
4 citations

Abstract

The exponential proliferation of IoT devices has led to an alarming surge in botnet-based cyberattacks, necessitating advanced, privacy-preserving, and scalable detection mechanisms. Traditional centralized machine learning approaches for botnet detection face critical challenges, including data privacy risks, communication overhead, and model generalization issues. To address these concerns, this research presents a privacy-preserving Federated Learning (FL) approach for decentralized cybersecurity, using SHapley Additive exPlanations (SHAP)-based feature selection to enhance interpretability and model efficiency. The proposed method enables local models to be trained on edge devices without sharing raw data, preserving user privacy while maintaining robust detection capabilities. Using the MedBiot dataset, we evaluate the effectiveness of FL under both Non-IID and IID settings, where botnet attack types (e.g., Bashlite, Mirai, and Torii) are distributed across multiple federated clients. The experimental results indicate that the non-IID federated models achieved exceptional detection recall (99.98%), with high precision, accuracy, and F1-score across all clients, demonstrating resilience even in highly heterogeneous environments. The IID setting, where data were randomly distributed among clients, also maintained high classification accuracy (≈99.98%), highlighting the significance of localized attack patterns in federated cybersecurity. Additionally, SHAP-based feature selection optimizes performance by identifying the most critical features, reducing computational overhead while preserving explainability. The findings underscore the efficacy of FL for real-world IoT botnet detection, offering a scalable, secure, and interpretable solution to modern cybersecurity challenges.

Blockchain Research and Applications
State University of Bangladesh (BD), Morpho (United States) (US)
Openalex Percentile: Top 4%
Network Security and Intrusion Detection
5.95
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.