XAI-SDN: An Explainable Entropy-Guided Machine Learning Framework for Real-Time DDoS Detection in Software Defined Networks

📅 2026-09-04
📈 Citations: 0
Influential: 0
📄 PDF
📝 Abstract
One of the biggest risks faced by Software Defined Networks (SDN) is the Distributed Denial of Service (DDoS) attack in which a compromised controller can make an entire network unusable. To address these challenges, we suggest an entropy-guided machine learning framework, called XAI-SDN, for real-time DDoS detection in SDN environments which is lightweight and explainable. The framework extends the flow features extracted by CICFlowMeter with eight Shannon entropy metrics obtained by an $\mathcal{O}(1)$ rolling algorithm and uses a Random Forest classifier with SHAP TreeExplainer for providing transparency at the prediction level. On a fixed temporal split, XAI-SDN achieves an accuracy of 99.9987\%, a macro F1-score of 99.9621\%, and an AUC-ROC of 1.0000 on the full 3.59 million flows of the CIC-DDoS2019 SYN benchmark. The pipeline sustains 0.0165~ms per flow (60{,}606 flows/s) without the use of SHAP and 0.5122~ms per flow (1{,}953 flows/s) with full support of SHAP under the 99.14\% prevalence of DDoS traffic, which is a step towards achieving a balance between the detection performance and operational transparency in next-generation SDN security.
Problem

Research questions and friction points this paper is trying to address.

Distributed Denial of Service (DDoS)
Software Defined Networks (SDN)
Real-time Detection
Entropy Metrics
Machine Learning Framework
Innovation

Methods, ideas, or system contributions that make the work stand out.

entropy-guided
explainable AI
real-time DDoS detection
Random Forest
SHAP
A
Adeel Ahmad
AI Center, Faculty of Computer and Information System, Islamic University of Madinah, Saudi Arabia
A
Ali Akarma
AI Center, Faculty of Computer and Information System, Islamic University of Madinah, Saudi Arabia; AI V&V Lab, King Fahd University of Petroleum and Minerals, Dhahran, Saudi Arabia
Ahmad Ali
Ahmad Ali
AI Center, Faculty of Computer and Information System, Islamic University of Madinah, Saudi Arabia
H
Hammad Muneer
Department of Computer Science, Islamia University of Bahawalpur, Pakistan
Toqeer Ali Syed
Toqeer Ali Syed
PHD, Full Professor, Islamic University of Al Madinah Al Munawara
SecurityBlockchainAIMachine LearningDeep Learning and Cloud Computing