SDN-based detection and mitigation of DDoS attacks on smart homes

Garba, Usman Haruna, Toosi, Adel N., Pasha, Muhammad Fermi and Khan, Suleman (2024) SDN-based detection and mitigation of DDoS attacks on smart homes. Computer Communications, 221 . pp. 29-41. ISSN 0140-3664

[thumbnail of VOR]
PDF (VOR) - Published Version
Available under License Creative Commons Attribution.


Official URL:


The adoption of the Internet of Things (IoT) has proliferated across various domains, where everyday objects like refrigerators and washing machines are now equipped with sensors and connected to the internet. Undeniably, the security of such devices, which were not primarily designed for internet connectivity, is of utmost importance but has been largely neglected. In this paper, we propose a framework for real-time DDoS attack detection and mitigation in SDN-enabled smart home networks. We capture network traffic during regular operations and during DDoS attacks. This captured traffic is used to train several machine learning (ML) models, including Support Vector Machine (SVM), Logistic Regression, Decision Trees, and K-Nearest Neighbors (KNN) algorithms. These trained models are executed as SDN controller applications and subsequently employed for real-time attack detection. While we utilize ML techniques to protect IoT devices, we propose the use of SNORT, a signature-based detection technique, to secure the SDN controller itself. Real-world experiments demonstrate that without SNORT, the SDN controller goes offline shortly after an attack, resulting in a 100% packet loss. Furthermore, we show that ML algorithms can efficiently classify traffic into benign and attack traffic, with the Decision Tree algorithm outperforming others with an accuracy of 99%.

Repository Staff Only: item control page