DDoS Attack Detection in IoT: A Comparative Resource and Performance Analysis of Deep Learning and Machine Learning Models
Open Access
- 27 June 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 13, 116529-116547
Abstract
The proliferation of Internet of Things (IoT) devices has increased susceptibility to Distributed Denial of Service (DDoS) attacks, exposing the limitations of traditional security mechanisms such as firewalls and rule-based intrusion detection systems (IDS), which often fail due to static rules and limited adaptability in resource-constrained environments. To address these challenges, this study introduces a lightweight IDS leveraging advanced deep learning techniques, including lightweight convolutional neural networks (CNNs) such as MobileNetV3, EfficientNetB0, and other models like CNN and Xception. The proposed IDS employs different lightweight deep learning models on image representations of network traffic data and machine learning models on tabular CSV representations of the same data. The primary challenge stems from the balance of high detection accuracy with the computational efficiency required for real-time IDS deployment in constrained IoT environments. This study proposes a dual-format comparative approach to assess how data representation image-based for deep learning and tabular for traditional machine learning influences detection performance and resource utilization. The evaluation is conducted using the CIC-DDoS2019 dataset, measuring detection metrics including accuracy, precision, recall, and AUC, as well as resource efficiency metrics such as inference time, memory usage, and CPU consumption. The results demonstrate that although lightweight deep learning models like MobileNetV3 and EfficientNetB0 deliver near-perfect AUC scores, their inference times are still too high for real-time applications. Conversely, traditional machine learning models such as Random Forest and SVM provide significantly faster inference with minimal resource consumption, making them better suited for real-time IDS deployment.Keywords
Funding Information
- King Fahd University of Petroleum and Minerals
This publication has 34 references indexed in Scilit:
- Classifying attack traffic in IoT environments via few-shot learningJournal of Information Security and Applications, 2024
- A systematic literature review of recent lightweight detection approaches leveraging machine and deep learning mechanisms in Internet of Things networksJournal of King Saud University Computer and Information Sciences, 2024
- Detection of Denial-of-Service Attack in Wireless Sensor Networks: A Lightweight Machine Learning ApproachIEEE Access, 2023
- Detection of DDoS Attacks in Software Defined Networking Using Machine Learning Models2023
- A Lightweight DNN-based IDS for Detecting IoT Cyberattacks in Edge Computing2022
- Multi‐objective‐based feature selection for DDoS attack detection in IoT networksIET Networks, 2020
- Analysis of KDD-Cup’99, NSL-KDD and UNSW-NB15 Datasets using Deep Learning in IoTProcedia Computer Science, 2020
- A lightweight IoT‐based security framework for inventory automation using wireless sensor networkInternational Journal of Communication Systems, 2019
- Implementing Lightweight IoT-IDS on Raspberry Pi Using Correlation-Based Feature Selection and Its Performance Evaluation2019
- Single Byte Differential Fault Analysis on the LED Lightweight Cipher in the Wireless Sensor NetworkInternational Journal of Computational Intelligence Systems, 2012