Using Long Short-Term Memory and Convolutional neural networks to Detect Distributed Denial of Service Attacks

Message:
Article Type:
Research/Original Article (دارای رتبه معتبر)
Abstract:

Deep learning is an essential tool for detecting distributed denial of service (DDoS) attacks due to its ability to analyze complex network traffic patterns and respond in real-time. However, a comprehensive examination of the opportunities and challenges in this field is necessary, given its emerging nature. This examination should include real implementations or benchmark data samples. In this paper, we introduce two methods for detecting DDoS attacks: one using Long Short-Term Memory (LSTM) and the other using Convolutional Neural Networks (CNN). Additionally, we propose a new method that combines LSTM and CNN. The results demonstrate that both LSTM and LSTM-CNN methods consistently outperform CNN in terms of accuracy, precision, recovery, and F1 scores. Our investigations reveal that CNN can automatically learn features such as packet size, timing, and source/destination addresses from raw network traffic. On the other hand, LSTM is particularly useful for detecting temporal sequence patterns of attacks in network traffic. The choice between CNN or LSTM for DDoS detection depends on the specific characteristics of the attack dataset and the relative importance of spatial and temporal features in identifying DDoS attacks. Finally, we examine challenges such as overfitting, computational complexity, interpretability, data limitations, and hostile attacks. Doubts surrounding the reporting of results in literature can be attributed to problems with the benchmark dataset used, including limited sample size and variety, lack of labeling, and unbalanced data.

Language:
Persian
Published:
Journal of Applied and Basic Machine Intelligence Research, Volume:2 Issue: 1, 2025
Pages:
14 to 37
https://www.magiran.com/p2824184  
سامانه نویسندگان
  • Matinkhah، Seyed Mojtaba
    Corresponding Author (1)
    Matinkhah, Seyed Mojtaba
    Assistant Professor Computer, University of Yazd, Yazd, Iran
  • Khakbaz، Ali
    Author (2)
    Khakbaz, Ali
    Phd Student IT engineering, University of Tehran, Tehran, Iran
  • Adib Nia، Fazlollah
    Author (3)
    Adib Nia, Fazlollah
    Associate Professor Computer Eng, University of Yazd, Yazd, Iran
اطلاعات نویسنده(گان) توسط ایشان ثبت و تکمیل شده‌است. برای مشاهده مشخصات و فهرست همه مطالب، صفحه رزومه را ببینید.
مقالات دیگری از این نویسنده (گان)