Strengthening Cybersecurity: DDoS Attack Detection with Deep Learning and Innovative Hybrid Methods

DOI: https://doi.org/10.52549/ijeei.v13i4.7268
Published: 31-12-2025 • Issue: Vol. 13 No. 4: December 2025 • Section: Regular paper

Abstract

Distributed Denial-of-Service (DDoS) attacks continue to disrupt the availability of online services, motivating the development of robust and scalable detection mechanisms. This work proposes a hybrid CNN–LSTM detection framework evaluated in a controlled, sandboxed testbed for traffic generation and monitoring. The framework is implemented under a supervised learning setting and is positioned to incorporate semi-supervised and transfer learning strategies to address label scarcity and potential distribution shift in future extensions. Using a dataset of 6,000 labeled traffic logs and an 80/10/10 train/validation/test split, the proposed model achieves 98.67% accuracy, 98.01% precision, 96.73% recall, and 97.37% F1-score, outperforming Random Forest (96.42%) and a standalone LSTM (97.10%). Overall, the hybrid design supports improved detection robustness and can serve as a practical component within layered DDoS defense strategies (e.g., filtering and elastic scaling) in operational environments.

References

R. Maciel, J. Araujo, C. Melo, P. Pereira, J. Dantas, and P. Maciel, Impact evaluation of DDoS and Malware attack using IoT devices. 2021. doi: 10.1515/9783110619751-001.

Abhishta, R. Joosten, and L. J. M. Nieuwenhuis, “Comparing alternatives to measure the impact of DDoS attack announcements on target stock prices,†J Wirel Mob Netw Ubiquitous Comput Dependable Appl, vol. 8, no. 4, pp. 1–18, 2017, doi: 10.22667/JOWUA.2017.12.31.001.

M. Sachdeva, G. Singh, and K. Kumar, “An emulation based impact analysis of DDoS attacks on web services during flash events,†in 2011 2nd International Conference on Computer and Communication Technology, ICCCT-2011, 2011, pp. 479–484. doi: 10.1109/ICCCT.2011.6075134.

N. Kathirkamanathan, B. Thevarasa, G. Mahadevan, N. Skandhakumar, and N. Kuruwitaarachchi, “Prevention of DDoS Attacks Targeting Financial Services using Supervised Machine Learning and Stacked LSTM,†in 2022 IEEE 7th International conference for Convergence in Technology, I2CT 2022, 2022. doi: 10.1109/I2CT54291.2022.9825228.

R. P. Janivasya and I. D. A. Rachmawati, “DDoS Detection using Machine Learning Approach,†in Procedia Computer Science, 2024, pp. 1157–1164. doi: 10.1016/j.procs.2024.10.345.

H. Guesmi, A. Kalghoum, R. Guesmi, and L. A. Saïdane, SMC: A New Strategy Based on Software-Defined Networking to Mitigate the Impact of Anomalies on Cooperative Cloud, vol. 12983 LNCS. 2021. doi: 10.1007/978-3-030-88207-5_14.

F. A. Olivos Estrada, W. S. Flores-Sotelo, C. R. Barrera-Avalos, W. A. Martínez-Aberga, R. Sulca-Guillen, and J. M. Chávez-Díaz, “Evaluating the impact of risk management and cybersecurity on decision-making in the Peruvian National Informatics System,†Bulletin of Electrical Engineering and Informatics, vol. 14, no. 5, pp. 3816–3830, Oct. 2025, doi: 10.11591/eei.v14i5.9781.

J. O. Nehinbe and U. S. Onyeabor, “An exhaustive study of DDOS attacks and DDOS datasets,†International Journal of Internet Technology and Secured Transactions, vol. 10, no. 3, pp. 268–285, 2020, doi: 10.1504/IJITST.2020.107075.

D. T. Bennet, P. S. Bennet, and D. Anitha, “Securing Smart City Networks - Intelligent Detection of DDoS Cyber Attacks,†in Proceedings of 5th International Conference on Contemporary Computing and Informatics, IC3I 2022, 2022, pp. 1575–1580. doi: 10.1109/IC3I56241.2022.10073271.

S. Huang, “Proposing a self-help privilege for victims of cyber attacks,†George Washington Law Review, vol. 82, no. 4, pp. 1229–1266, 2014.

F. S. Alabbadi, E. M. Al Amaren, and S. I. Aletein, “International Responsibility Arising from Cyberattacks in The Light of the Contemporary International Law,†International Journal of Cyber Criminology, vol. 16, no. 1, pp. 156–169, 2022, doi: 10.5281/zenodo.4766562.

A. N. H. Dhatreesh Sai, B. H. Tilak, N. Sai Sanjith, P. Suhas, and R. Sanjeetha, “Detection and Mitigation of Low and Slow DDoS attack in an SDN environment,†in 2022 IEEE International Conference on Distributed Computing, VLSI, Electrical Circuits and Robotics, DISCOVER 2022 - Proceedings, 2022, pp. 106–111. doi: 10.1109/DISCOVER55800.2022.9974724.

S. Kumar, A. Guerrero, and C. Navarro, “Cyber Security Flood Attacks and Risk Assessment for Internet of Things (IoT) Distributed Systems,†in 2023 IEEE World AI IoT Congress, AIIoT 2023, 2023, pp. 392–397. doi: 10.1109/AIIoT58121.2023.10174553.

L. Huraj, M. Šimon, and J. Lietava, “Dataset of DDoS attacks on Fibaro home center 3 for smart home security,†Data Brief, vol. 57, 2024, doi: 10.1016/j.dib.2024.110991.

H. Khandare, S. Jain, and R. Doriya, A Survey on HTTP Flooding—A Distributed Denial of Service Attack, vol. 475. 2023. doi: 10.1007/978-981-19-2840-6_4.

L. Kavisankar and C. Chellappan, T-RAP: (TCP Reply Acknowledgement Packet) a resilient filtering model for DDoS attack with spoofed IP address, vol. 197 CCIS. 2011. doi: 10.1007/978-3-642-22543-7_14.

B. Ramesh and S. J. J. Thangaraj, “Distributed Denial of Service (DDOS) in Internet of Things (IoT)Environment: Classification and Overview,†in AIP Conference Proceedings, 2024. doi: 10.1063/5.0219386.

N. Hoque, D. K. Bhattacharyya, and J. K. Kalita, “Botnet in DDoS Attacks: Trends and Challenges,†IEEE Communications Surveys and Tutorials, vol. 17, no. 4, pp. 2242–2270, 2015, doi: 10.1109/COMST.2015.2457491.

K. Soni and S. Singh, “A proposed DoS detection scheme for mitigating DoS attack,†International Journal of Emerging Technology and Advanced Engineering, vol. 10, no. 4, pp. 172–179, 2020.

L. Gondi, S. Sambangi, P. K. Priya, and S. S. Anjum, “A Machine Learning Approach for DDoS Attack Detection in CIC-DDoS2019 Dataset Using Multiple Linear Regression Algorithm,†in Springer Proceedings in Mathematics and Statistics, 2024, pp. 393–403. doi: 10.1007/978-3-031-51167-7_38.

M. A. Ribeiro, M. S. Pereira Fonseca, and J. de Santi, “Detecting and mitigating DDoS attacks with moving target defense approach based on automated flow classification in SDN networks,†Comput Secur, vol. 134, 2023, doi: 10.1016/j.cose.2023.103462.

Q. Shafi and A. Basit, “DDoS Botnet Prevention using Blockchain in Software Defined Internet of Things,†in Proceedings of 2019 16th International Bhurban Conference on Applied Sciences and Technology, IBCAST 2019, 2019, pp. 624–628. doi: 10.1109/IBCAST.2019.8667147.

M. Najafimehr, S. Zarifzadeh, and S. Mostafavi, “A hybrid machine learning approach for detecting unprecedented DDoS attacks,†J Supercomput, vol. 78, no. 6, pp. 8106–8136, Apr. 2022, doi: 10.1007/s11227-021-04253-x.

R. K. Batchu and H. Seetha, “A generalized machine learning model for DDoS attacks detection using hybrid feature selection and hyperparameter tuning,†Computer Networks, vol. 200, p. 108498, Dec. 2021, doi: 10.1016/j.comnet.2021.108498.

S. Sumathi, R. Rajesh, and N. Karthikeyan, “DDoS Attack Detection Using Hybrid Machine Learning Based IDS Models,†J Sci Ind Res (India), vol. 81, no. 3, pp. 276–286, 2022, Accessed: Dec. 12, 2025. [Online]. Available: https://nopr.niscpr.res.in/handle/123456789/59310

Y. Wei, J. Jang-Jaccard, F. Sabrina, A. Singh, W. Xu, and S. Camtepe, “AE-MLP: A Hybrid Deep Learning Approach for DDoS Detection and Classification,†IEEE Access, vol. 9, pp. 146810–146821, 2021, doi: 10.1109/ACCESS.2021.3123791.

D. Alghazzawi, O. Bamasag, H. Ullah, and M. Z. Asghar, “Efficient Detection of DDoS Attacks Using a Hybrid Deep Learning Model with Improved Feature Selection,†Applied Sciences, vol. 11, no. 24, p. 11634, Dec. 2021, doi: 10.3390/app112411634.

A. A. Elsaeidy, A. Jamalipour, and K. S. Munasinghe, “A Hybrid Deep Learning Approach for Replay and DDoS Attack Detection in a Smart City,†IEEE Access, vol. 9, pp. 154864–154875, 2021, doi: 10.1109/ACCESS.2021.3128701.

N. Kadam and K. R. Sekhar, “Machine Learning Approach of Hybrid KSVN Algorithm to Detect DDoS Attack in VANET,†International Journal of Advanced Computer Science and Applications, vol. 12, no. 7, pp. 718–722, 2021, doi: 10.14569/IJACSA.2021.0120782.

H. Elubeyd and D. Yiltas-Kaplan, “Hybrid Deep Learning Approach for Automatic DoS/DDoS Attacks Detection in Software-Defined Networks,†Applied Sciences, vol. 13, no. 6, p. 3828, Mar. 2023, doi: 10.3390/app13063828.

A. F. Al-zubidi, A. K. Farhan, and S. M. Towfek, “Predicting DoS and DDoS attacks in network security scenarios using a hybrid deep learning model,†Journal of Intelligent Systems, vol. 33, no. 1, Apr. 2024, doi: 10.1515/jisys-2023-0195.

N. U. Ain, M. Sardaraz, M. Tahir, M. W. Abo Elsoud, and A. Alourani, “Securing IoT Networks Against DDoS Attacks: A Hybrid Deep Learning Approach,†Sensors, vol. 25, no. 5, p. 1346, Feb. 2025, doi: 10.3390/s25051346.

S. Wang, C. Ma, H. Gao, D. Deng, C. Fernandez, and F. Blaabjerg, “Improved hyperparameter Bayesian optimization-bidirectional long short-term memory optimization for high-precision battery state of charge estimation,†Energy, vol. 328, p. 136598, Aug. 2025, doi: 10.1016/j.energy.2025.136598.

A. Saied, R. E. Overill, and T. Radzik, “Detection of known and unknown DDoS attacks using Artificial Neural Networks,†Neurocomputing, vol. 172, pp. 385–393, Jan. 2016, doi: 10.1016/j.neucom.2015.04.101.

M. Mittal, K. Kumar, and S. Behal, “Deep learning approaches for detecting DDoS attacks: a systematic review,†Soft comput, vol. 27, no. 18, pp. 13039–13075, Sep. 2023, doi: 10.1007/s00500-021-06608-1.

M. Subramanian, K. S. Vadivel, and R. Sowmya, “Performance Evaluation of Deep Learning Models in Detection of Distributed Denial of Service Attacks,†in Proceedings of the 5th International Conference on Electronics, Communication and Aerospace Technology, ICECA 2021, 2021, pp. 652–658. doi: 10.1109/ICECA52323.2021.9676091.

M. Subrmanian, K. Shanmugavadivel, P. S. Nandhini, and R. Sowmya, Evaluating the Performance of LSTM and GRU in Detection of Distributed Denial of Service Attacks Using CICDDoS2019 Dataset, vol. 140. 2022. doi: 10.1007/978-981-19-2948-9_38.

S. Malliga, S. V. Kogilavani, and R. Sowmya, “Deep discover: Deep learning models for detecting distributed denial of service (DDOS) attacks,†in AIP Conference Proceedings, 2022. doi: 10.1063/5.0074445.

A. S. A. Issa and Z. Albayrak, “DDoS Attack Intrusion Detection System Based on Hybridization of CNN and LSTM,†Acta Polytechnica Hungarica, vol. 20, no. 2, pp. 105–123, 2023, doi: 10.12700/APH.20.2.2023.2.6.

H. Mennour and S. Mostefai, “Deep learning-based distributed denial-of-service detection,†International Journal of Networking and Virtual Organisations, vol. 26, no. 1–2, pp. 80–103, 2022, doi: 10.1504/IJNVO.2022.121921.

A. S. A. Issa and Z. Albayrak, “DDoS Attack Intrusion Detection System Based on Hybridization of CNN and LSTM,†Acta Polytechnica Hungarica, vol. 20, no. 2, pp. 105–123, 2023, doi: 10.12700/APH.20.2.2023.2.6.

P. Khuphiran, P. Leelaprute, P. Uthayopas, K. Ichikawa, and W. Watanakeesuntorn, “Performance comparison of machine learning models for DDoS attacks detection,†in 2018 22nd International Computer Science and Engineering Conference, ICSEC 2018, 2018. doi: 10.1109/ICSEC.2018.8712757.

N. G. B. Amma and S. Selvakumar, “Optimization of vector convolutional deep neural network using binary real cumulative incarnation for detection of distributed denial of service attacks,†Neural Comput Appl, vol. 34, no. 4, pp. 2869–2882, 2022, doi: 10.1007/s00521-021-06565-8.

B.-S. Tran, T.-H. Ho, T.-X. Do, and K.-H. Le, Empirical Performance Evaluation of Machine Learning based DDoS Attack Detections, vol. 215. 2022. doi: 10.1007/978-3-030-90119-6_23.

C. Li et al., “Detection and defense of DDoS attack–based on deep learning in OpenFlow-based SDN,†International Journal of Communication Systems, vol. 31, no. 5, 2018, doi: 10.1002/dac.3497.

Canadian Institute for Cybersecurity (CIC), “DDoS evaluation dataset (CIC-DDoS2019),†2019. [Online]. Available: https://www.unb.ca/cic/datasets/ddos-2019.html

K. Chlouverakis, “How artificial intelligence is reshaping the financial services industry.†Accessed: Jan. 02, 2025. [Online]. Available: https://www.ey.com/en_gr/insights/financial-services/how-artificial-intelligence-is-reshaping-the-financial-services-industry.

S. Haribalaji and P. Ranjana, “Distributed Denial of Service (DDOS) Attack Detection Using Classification Algorithm,†in 2024 International Conference on Advances in Data Engineering and Intelligent Computing Systems (ADICS), IEEE, Apr. 2024, pp. 1–6. doi: 10.1109/ADICS58448.2024.10533510.

Z. F. Faruq, T. Mantoro, M. A. Catur Bhakti, and Wandy, “Random Forest Classifier Evaluation in DDoS Detection System for Cyber Defence Preparation,†in 2022 IEEE 8th International Conference on Computing, Engineering and Design (ICCED), IEEE, Jul. 2022, pp. 1–5. doi: 10.1109/ICCED56140.2022.10010341.

A. Maslan, K. M. Bin Mohamad, A. Hamid, H. Pangaribuan, and S. Sitohang, “Feature Selection to Enhance DDoS Detection Using Hybrid N-Gram Heuristic Techniques,†JOIV : International Journal on Informatics Visualization, vol. 7, no. 3, pp. 815–822, Sep. 2023, doi: 10.30630/joiv.7.3.1533.

Y. A. Anli, Z. Ciplak, M. Sakaliuzun, S. Z. Izgu, and K. Yildiz, “DDoS detection in electric vehicle charging stations: A deep learning perspective via CICEV2023 dataset,†Internet of Things, vol. 28, p. 101343, Dec. 2024, doi: 10.1016/j.iot.2024.101343.

Author Biographies

Josías Chávez Campoverde
Pre-Bachelor in Systems Engineering from Universidad de Lima. Experienced in programming language and commercial software. Analyst in scientific research.
Misael Chávez Campoverde
Bachelor in Multimedia Audiovisual Communication (CAM) at Toulouse Lautrec. Experienced in digital marketing, photography, motion graphics in the financial, real estate and creative fields. Analyst in scientific research.
Daniel Chávez Campoverde
Bachelor's Degree in Business Administration from Universidad Tecnológica del Peru. Specialization in Business Analytics at Universidad del Pacífico. Graduate Program at Centennial College, Toronto
Naomi Chávez Campoverde
Bachelor's Degree in Business Administration from the University of Lima, with a specialization in Innovation and Technology. She furthered her academic journey by completing Post-Degree Diplomas in Data Analytics and Sales at Douglas College, Canada, where she gained in-depth knowledge of data-driven decision-making and market dynamics within the Canadian business environment.
Jorge Chávez Díaz
Ph. D in Accounting from Universidad Nacional Federico Villarreal. Master's Degree in Law, Economics, Management. Specialty: Management and Business Administration from the Université de Bordeaux, France. Master's Degree in Accounting with mention in Financial Auditing from ULADECH. Professor and Researcher at postgraduate level at UNMSM and UNFV. Winner of the National Accounting Award 2023 by the Board of Deans of Public Accountants of Peru. Financial consultant and chartered accountant.

How to Cite

[1]
J. Chávez Campoverde, M. Chávez Campoverde, D. Chávez Campoverde, N. Chávez Campoverde, and J. Chávez Díaz, “Strengthening Cybersecurity: DDoS Attack Detection with Deep Learning and Innovative Hybrid Methods”, IJEEI, vol. 13, no. 4, pp. 1121–1132, Dec. 2025, doi: 10.52549/ijeei.v13i4.7268.