Hybrid RNN-GRU-LSTM Model for Accurate Detection of DDoS Attacks on IDS Dataset

Authors

  • Arun Kumar Soma Department of Information Systems & Business Analytics, Park University, Parkville, USA. Author

DOI:

https://doi.org/10.71426/jmt.v2.i1.pp283-291

Keywords:

Distributed Denial of Service, Intrusion Detection System, Deep Learning, Recurrent Neural Network, Gated Recurrent Unit, Long Short-Term Memory, Synthetic Minority Over-sampling Technique.

Abstract

Distributed  Denial  of  Service  (DDoS)  attacks  are  a  persistent  threat  to network security, capable of disrupting critical services. This study proposes a  hybrid  deep  learning  model  that  combines  Recurrent  Neural  Networks (RNN),  Gated  Recurrent  Units  (GRU),  and  Long  Short-Term  Memory (LSTM) networks to effectively detect DDoS attacks in network traffic. Each component of the hybrid model captures unique temporal dependencies—RNN for basic sequence patterns, GRU for efficient short-term memory, and LSTM for long-term memory retention. The model is evaluated using two standard  Intrusion  Detection  System  (IDS)  datasets,  CIC-DDoS2019  and UNSW-NB15,  representing  diverse  attack  scenarios.  Preprocessing techniques, including feature selection, normalization, and class balancing with Synthetic Minority Over-sampling Technique (SMOTE), ensure high-quality input data. Experimental results demonstrate that the hybrid model outperforms standalone RNN, GRU, and LSTM models, achieving superior accuracy,  precision,  recall,  and  F1-score.  Specifically,  the  hybrid  model achieves 97.3% accuracy, 97.0% precision, 97.6% recall, and an AUC of 0.981 on the CIC-DDoS2019 dataset. These results underscore the model’s capability  to  detect  complex  DDoS  patterns  while  maintaining  low  false positive rates. The proposed approach offers a scalable, adaptive, and robust solution for real-time intrusion detection in dynamic network environments, outperforming traditional methods.

References

[1] Rahman MA, Nijhum SMRH. Recurrent neural network-based hybrid deep learning architecture for enhanced network intrusion detection. In: Proceedings of PEEIACON. 2024 Sep. Available from: https://doi.org/10.1109/PEEIACON63629.2024.10800240

[2] Gautam SK, Henry A, Zuhair M, et al. A composite approach of intrusion detection systems: Hybrid RNN and correlation-based feature optimization. Electronics. 2022;11(21):3529. Available from: https://doi.org/10.3390/electronics11213529

[3] Dandotiya M, Makwana RRS. Improving network security with hybrid model for DDoS attack detection. In: Proceedings of ICBDS. 2024 Oct. Available from: https://doi.org/10.1109/ICBDS61829.2024.10837036

[4] Panggabean C, Venkatachalam C, Shah P, et al. Intelligent DoS and DDoS detection: A hybrid GRU-NTM approach to network security. In: Proceedings of ICOSEC. 2024 Sep. Available from: https://doi.org/10.1109/ICOSEC61587.2024.10722438

[5] Kona SS. Detection of DDoS Attacks Using RNN-LSTM and Hybrid Model Ensemble [master’s thesis]. National College of Ireland; 2020 Jan. Available from: https://norma.ncirl.ie/id/eprint/4180

[6] Arcos-Burgos M. Gated recurrent unit and long short-term memory-based hybrid intrusion detection system. In: Cybersecurity and AI. 2023. Available from: https://doi.org/10.1007/978-3-031-35501-1_53

[7] Li J, Zhang X, Yi J, et al. DDoS network attack detection technology based on double-stacked LSTM. In: Proceedings of SPIE. 2022 Aug. Available from: https://doi.org/10.1117/12.2641266

[8] Hnamte V, Hussain J. DDoS detection using hybrid deep neural network approaches. In: Proceedings of I2CT. 2023 Apr. Available from: https://doi.org/10.1109/I2CT57861.2023.10126434

[9] Subramanian M, Shanmugavadivel K, Nandhini PS. Evaluating the performance of LSTM and GRU in detection of distributed denial-of-service attacks using CICDDoS2019 dataset. In: Cyber Threats and Mitigation. 2022. Available from: https://doi.org/10.1007/978-981-19-2948-9_38

[10] Soma AK. Enhancing supply chain transparency and integrity: A permissioned blockchain framework. In: Proceedings of the 2025 International Conference on Emerging Systems and Intelligent Computing (ESIC). IEEE; 2025. p. 819–826. Available from: https://doi.org/10.1109/ESIC64052.2025.10962720

[11] Zabihi A, Parhamfar M, Khodadadi M. Strengthening resilience: A brief review of cybersecurity challenges in IoT-driven smart grids. Journal of Modern Technology. 2024;1(2):106–120. Available from: https://doi.org/10.71426/jmt.v1.i2.pp106-120

[12] Soma AK. Building Aether sensor network using LoRaWAN network. In: Proceedings of the 2025 International Conference on Emerging Systems and Intelligent Computing (ESIC). IEEE; 2025. p. 807–814. Available from: https://doi.org/10.1109/ESIC64052.2025.10962750

Downloads

Published

2025-05-14

How to Cite

[1]
A. K. Soma, “Hybrid RNN-GRU-LSTM Model for Accurate Detection of DDoS Attacks on IDS Dataset”, Journal of Modern Technology, vol. 2, no. 1, pp. 283–291, May 2025, doi: 10.71426/jmt.v2.i1.pp283-291.