Research Article

Beyond signatures and thresholds: Intelligent DDoS detection using Convolutional Neural Networks

Yunze Li*
The Hong Kong Polytechnic University

* Corresponding author: [email protected]

Abstract

Distributed Denial of Service (DDoS) attacks have evolved into sophisticated threats against digital infrastructure. This research investigates Convolutional Neural Networks (CNNs) for DDoS detection using the CIC-IDS2017 dataset. A CNN model was developed, leveraging convolutional and pooling layers for hierarchical feature extraction. Preprocessing ensured dataset consistency and generalization. The model achieved 99.978% test accuracy, demonstrating proficiency in recognizing DDoS patterns. Comparatively, a Deep Neural Network (DNN) benchmark obtained 99.9512% accuracy, indicating CNNs’ superiority. However, CNN training time was longer. While results highlight deep learning's potential against DDoS attacks, optimizations for real-time deployment warrant exploration. This empirical evaluation and comparative analysis enriches the discourse on utilizing machine learning for robust cybersecurity.

Keywords: DDoS detection; Convolutional neural networks; Machine learning; Deep learning; Cyber security
Published: August 27, 2024
DOI: 10.54254/2755-2721/67/20240695
Volume: ACE Vol.67
pp. 247-254
Download PDF

References

  1. Gupta, B.B.,, Misra, M., and Joshi, R.C., 2008. An ISP level solution to combat ddos attacks using combined statistical based approach. International Journal of Information Assurance and Security, 3(2), pp.102–110.
  2. Antonakakis, M.,, April, T.,, Bernhard, M.,, Bursztein, E.,, Cochran, J.,, Halderman, A.,, Invernizzi, L.,, Kallitsis, M.,, Kumar, D.,, Lever, C.,, Halderman, J.A.,, Ma, Z.,, Mason, J.,, Menscher, D.,, Seaman, C.,, Sullivan, N.,, Thomas, K., and Zhou, Y.Z., 2017. Understanding the Mirai botnet. [online] Understanding the Mirai Botnet. Available from: https://www.usenix.org/conference/usenixsecurity17/technical-sessions/presentation/antonakakis [Accessed 28 Aug. 2023].
  3. Mirkovic, J., and Reiher, P., 2004. A taxonomy of ddos attack and ddos defense mechanisms. ACM SIGCOMM Computer Communication Review, 34(2), pp.39–53.
  4. Wang, B.,, Zheng, Y.,, Lou, W., and Hou, Y.T., 2014. DDoS attack protection in the era of cloud computing and software-defined networking. 2014 IEEE 22nd International Conference on Network Protocols, pp.624–629.
  5. Wang, H.,, Zhang, D., and Kang , G.S., 2002. Detecting syn flooding attacks. Proceedings.Twenty-First Annual Joint Conference of the IEEE Computer and Communications Societies, pp.1530–1539.
  6. Saied, A.,, Overill, R.E., and Radzik, T., 2016. Detection of known and unknown ddos attacks using artificial neural networks. Neurocomputing, 172, pp.385–393.
  7. Sharafaldin, I.,, Habibi Lashkari, A., and Ghorbani, A.A., 2018. Toward generating a new intrusion detection dataset and intrusion traffic characterization. Proceedings of the 4th International Conference on Information Systems Security and Privacy.
  8. Usha, R., Vamsidhar, Y., 2020. Binary cross entropy with deep learning technique for Image classification. International Journal of Advanced Trends in Computer Science and Engineering, 9(4).
  9. Kingma, D.P., and Ba, J., 2017. Adam: A method for stochastic optimization. [online] arXiv.org. Available from: https://arxiv.org/abs/1412.6980 [Accessed 28 Aug. 2023].
  10. Yingbin, B., Bo, H., Yanhua, Y., Jiatong, L., Yinian, M., Guang, N. Tongliang, L., 2021. Understanding and Improving Early Stopping for Learning with Noisy Labels. 35th Conference on Neural Information Processing Systems.
  11. Madushi, H. P., Yogachandran, R., Safak, D., Ahmet, M. K., and Rongxing, L., 2022. Deep Learning for Encrypted Traffic Classification and Unknown Data Detection [online] arXiv.org. Available from: https://arxiv.org/abs/2203.15501 [Accessed 28 Aug. 2023].