Abstract & Overview
In network security, the prompt identification and alleviation of Denial of Service (DoS) attacks are very important. This study examines the efficacy of Long Short-Term Memory (LSTM) models and transfer learning techniques in enhancing the detection capabilities of these attacks. A substantial dataset comprising 28 unique features and 2,160,667 instances is utilised to train a Long Short-Term Memory (LSTM) model. The model, comprising two LSTM layers and a Dense layer, achieves notable accuracy rates of 93.66% in training and 93.57% in validation, accompanied by minimal loss values. Transfer learning is implemented by utilising a pretrained LSTM model as a feature extractor, followed by a CNN-ANN architecture. This approach demonstrates promising outcomes on a secondary dataset, with training and validation accuracies of 99.68% and 99.79% respectively, with negligible loss. The precision, recall, and F1-score metrics underscore the model's efficacy in classifying occurrences of network traffic. The findings underscore the effectiveness of employing LSTM models and transfer learning techniques to tailor security protocols for novel DoS attack patterns. This provides network security specialists with robust capabilities to safeguard against potential threats.