Skip to content
Open access

Explainable XGBoost-Based Detection of IoT DDoS Attacks Using SHAP Analysis

Jul 2026 · Bilişim Teknolojileri Dergisi · Vol 19, pp. 353-362 · 0 citations · 5 references

TL;DR

This study shows that integrating tree-based machine learning with explainable artificial intelligence can significantly improve both the effectiveness and transparency of intrusion detection systems.

Abstract

The rapid growth of Internet of Things (IoT) networks, accelerated by 5G technologies, has expanded the attack surface and increased vulnerability to Distributed Denial-of-Service (DDoS) attacks. Although machine learning techniques have demonstrated strong detection performance, many intrusion detection systems operate as black-box models, limiting their transparency. To address this limitation, this study proposes an explainable intrusion detection framework based on XGBoost integrated with SHapley Additive exPlanations (SHAP). Evaluated on the ACI-IoT-2023 dataset for binary classification of benign and DDoS traffic, the proposed framework demonstrated high detection performance, achieving 99.93% accuracy and 99.94% F1-score while maintaining a low inference time suitable for real-time intrusion detection. Beyond performance evaluation, explainability analysis was conducted using global and local SHAP analyses, statistical feature behavior analysis, misclassification analysis, and synthetic feature-based validation. The results reveal that temporal traffic characteristics, particularly Idle Max and Flow IAT Min, together with protocol-related behavior, represent the most influential factors in distinguishing malicious from benign traffic. The findings further demonstrate that the proposed framework learns stable and interpretable traffic patterns rather than relying on isolated feature values or arbitrary statistical correlations. Overall, this study shows that integrating tree-based machine learning with explainable artificial intelligence can significantly improve both the effectiveness and transparency of intrusion detection systems.

Read PDF

Similar papers

Open access Aug 2026

Explainable IoT Intrusion Detection Using Random Forest, SMOTE, and SHAP

The proposed RF–SMOTE–SHAP framework delivers a high-performing IoT IDS while providing improved transparency in explaining detection decisions, thereby supporting the development of trustworthy and interpretable IDS solutions for IoT environments.

Julfikar Mawansyah, Anik Nur Handayani, A. Wibawa et al. · 0 citations
Open access Sep 2026

SHAP-Guided Feature Selection for IoT Botnet Detection: A Comparative Study with Conventional Methods

An explainability-guided feature selection framework that employs SHAP values derived from an XGBoost model to rank features and systematically compares its effectiveness with Mutual Information, Analysis of Variance (ANOVA), and Principal Component Analysis (PCA) across nine machine learning classifiers using the N-Ba...

Man Hua, Xin-Yue Zhang, Yan-Ling Li · 0 citations
Open access Sep 2026

Fog-Deployable XGBoost Framework for DDoS Detection in IoT Networks

The rapid growth of Internet of Things (IoT) deployment has increased exposure to Distributed Denial of Service (DDoS) attacks, while the latency and bandwidth costs of cloud-centric intrusion detection constrain real-time response. This paper presents a fog-based DDoS detection framework that combines XGBoost with inf...

Abeer Albalawi, Linda Mohaisen · 0 citations
Open access Sep 2026

XGBoost-Based Intelligent Intrusion Detection for Secure Cloud Computing Using Correlation-Based Feature Selection

Cloud Computing has emerged as an essential platform for the modern applications. But the growing complexity of the attacks puts pressure on the security of cloud environments. Current intrusion detection systems (IDS) have weaknesses of detection inaccuracy, high false alarm rate and low efficiency in processing high-...

Bhagath Singh Jayaprakasam, Rohith Reddy Mandala, Narsing Rao Dyavani et al. · 0 citations
Open access Aug 2026

A Correlation-Based Feature Selection and Weighted XGBoost Framework for Minority IoT Attack Detection

This study proposes a Correlation-Based Feature Selection (CFS)–Weighted XGBoost framework that combines redundancy-aware feature selection with an embedded class-weighted learning classifier to improve minority-attack detection.

M. Alnagdawi, Tariq Bishtawi, Ayman Ghaben · 0 citations
#explainable ai Review Open access Sep 2026

Explainable AI-Based Intrusion Detection Systems for IoT Environments: A Systematic Literature Review

This paper aims to provide a foundational resource to guide future research on reliable, explainable, and practical IoT intrusion detection systems by identifying the problems addressed in current research and highlighting the limitations in the literature.

Murat Varol, Aykut Karakaya · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.