A Stacking-Based Ensemble Model for Multiclass DDoS Detection Using Shallow and Deep Machine Learning Algorithms
Source abstract
Abstract
Distributed Denial-of-Service (DDoS) attacks remain a significant threat to the stability and reliability of modern networked systems. This study presents a hierarchical stacking ensemble that integrates multiple Shallow Machine Learning (S-ML) and Deep Machine Learning (D-ML) algorithms for multiclass DDoS detection. The proposed architecture consists of three layers: Layer Zero (base learners), Layer One (meta learners), and Layer Two (final voting). The base layer combines heterogeneous S-ML and D-ML models, tree-based, kernel-based, and neural architectures, while the meta layer employs regression and neural models trained on meta-features derived from base-layer predictions. The final decision is determined through a voting mechanism that aggregates the outputs of the meta models. Using the CIC-DDoS2019 dataset with a nine-class configuration, the model achieves an accuracy of 91.26% and macro F1-scores above 0.90 across most attack categories. Unlike many prior works that report near-perfect performance under binary or reduced-class settings, our evaluation addresses a more demanding multiclass scenario with large-scale traffic (∼8.85 M flows) and a broad feature space. The results demonstrate that the ensemble provides competitive multiclass detection performance and consistent behavior across heterogeneous attack types, supporting its applicability to high-volume network monitoring environments.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Network Security and Intrusion Detection · Internet Traffic Analysis and Secure E-voting · Anomaly Detection Techniques and Applications
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Computer Science and Engineering Department, Universidad del Norte, Barranquilla 080020, Colombia
Funding
the Internet Address Registry for Latin America and the Caribbean (LACNIC) through the FRIDA Program
References (29)
Show source-provided references
1. Report, G.R. (2025, August 05). DDoS Attack Volume Doubled in H2 2023. Press Release, 2024. “Maximum Attack Power Rose from 800 Gbps to 1.6 Tbps”. Available online: https://gcore.com/press-releases/gcore-radar-report-reveals-ddos-peak-attack-volumes-doubled-in-h2-2023.
2. Intelligence, A.N.T. (2025, July 30). 2025 Global DDoS Weapons Report. White Paper, 2025. Global DDoS Volume, API Gateway Targeting. Available online: https://www.a10networks.com/resources/reports/ddos-weapons-report/.
3. Wahab, S.A., Sultana, S., Tariq, N., Mujahid, M., Khan, J.A., and Mylonas, A. (2025). A Multi-Class Intrusion Detection System for DDoS Attacks in IoT Networks Using Deep Learning and Transformers. Sensors, 25.10.3390/s25154845 ↗
4. Bahashwan, A.A., Anbar, M., Manickam, S., Al-Amiedy, T.A., Aladaileh, M.A., and Hasbullah, I.H. (2023). A Systematic Literature Review on Machine Learning and Deep Learning Approaches for Detecting DDoS Attacks in Software-Defined Networking. Sensors, 23.10.3390/s23094441 ↗
5. An optimized hybrid ensemble machine learning model combining multiple classifiers for detecting advanced persistent threats in networks10.1186/s40537-025-01272-w ↗
6. Chen, S.R., Chen, S.J., and Hsieh, W.B. (2025). Enhancing Machine Learning-Based DDoS Detection Through Hyperparameter Optimization. Electronics, 14.10.3390/electronics14163319 ↗
7. Cloudflare, Inc. (2025, August 03). DDoS Attack Trends for 2024 Q1. Cloudflare Radar Report. Available online: https://radar.cloudflare.com/reports/ddos-2024-q1.
8. Distributed denial-of-service (DDOS) attack detection using supervised machine learning algorithms10.1038/s41598-024-84879-y ↗
9. Distributed denial of service (DDoS) classification based on random forest model with backward elimination algorithm and grid search algorithm10.1038/s41598-025-03868-x ↗
10. Becerra-Suarez, F.L., Fernández-Roman, I., and Forero, M.G. (2024). Improvement of Distributed Denial of Service Attack Detection through Machine Learning and Data Processing. Mathematics, 12.10.3390/math12091294 ↗
11. Improving distributed denial of service attack detection using supervised machine learning10.1016/j.measen.2023.100911 ↗
12. Towards a minimum universal features set for IoT DDoS attack detection10.1186/s40537-025-01146-1 ↗
13. Bashaiwth, A., Binsalleeh, H., and AsSadhan, B. (2023). An Explanation of the LSTM Model Used for DDoS Attacks Classification. Appl. Sci., 13.10.3390/app13158820 ↗
14. Ramzan, M., Shoaib, M., Altaf, A., Arshad, S., Iqbal, F., Castilla, Á.K., and Ashraf, I. (2023). Distributed Denial of Service Attack Detection in Network Traffic Using Deep Learning Algorithm. Sensors, 23.10.3390/s23208642 ↗
15. Optimized MLP-CNN Model to Enhance Detecting DDoS Attacks in SDN Environment10.3390/network3040024 ↗
16. Towards DDoS attack detection using deep learning approach10.1016/j.cose.2023.103251 ↗
17. Cao, B., Li, C., Song, Y., Qin, Y., and Chen, C. (2022). Network Intrusion Detection Model Based on CNN and GRU. Appl. Sci., 12.10.3390/app12094184 ↗
18. A Stacking Ensemble Model with Enhanced Feature Selection for Distributed Denial-of-Service Detection in Software-Defined Networks10.48084/etasr.8976 ↗
19. Enhancing SDN security using ensemble-based machine learning approach for DDoS attack detection
20. Das, S., Ashrafuzzaman, M., Sheldon, F.T., and Shiva, S. (2024). Ensembling Supervised and Unsupervised Machine Learning Algorithms for Detecting Distributed Denial of Service Attacks. Algorithms, 17.10.3390/a17030099 ↗
21. A Stacking Ensemble of Deep Learning Models for IoT Network Intrusion Detection10.1016/j.knosys.2023.110941 ↗
22. Enhanced DDoS Detection Using Advanced Machine Learning and Ensemble Techniques in Software Defined Networking
23. Enhanced Ensemble-Based Distributed Denial-of-Service (DDoS) Attack Detection with Novel Feature Selection: A Robust Cybersecurity Approach10.37256/aie.4220233337 ↗
24. Silva, R.R. (2025, January 15). CIC-DDoS2019 Dataset. Available online: https://www.kaggle.com/datasets/rodrigorosasilva/cic-ddos2019-30gb-full-dataset-csv-files.
25. (2011). Encyclopedia of Machine Learning, Springer.
26. Stacked generalization10.1016/S0893-6080(05)80023-1 ↗
27. One-to-many image generation model based on parameterized quantum circuits10.1016/j.dsp.2025.105340 ↗
28. Quantum generative adversarial network based on the quantum Born machine10.1016/j.aei.2025.103622 ↗
29. Enhanced deep learning and Quantum variational classifier for Large-Scale Data Analysis10.1016/j.knosys.2025.114611 ↗