Recognition of DoS attacks in heterogeneous critical infrasructures via the developed software model of the recurrent LSTM neural network
Keywords
- anomaly detection
- DoS аttacks
- recurrent neural networks
- LSTM architecture
- hyperparameter optimization
- NSL-KDD dataset
- deep learning
Abstract
The article investigates the performance efficiency of the developed recurrent LSTM neural network model designed for the multi-class recognition of network DoS attacks within heterogeneous critical infrastructures. The neural network architecture is constructed in the specific (B×T×41)-6 configuration, where B defines the training batch size, T denotes the sliding sequence time window length, 41 represents the input network traffic parameters from the NSL-KDD dataset, and 6 is the number of target network classes (Normal, Neptune, Smurf, Teardrop, Pod, Land). The optimal parameters of the recurrent model are rigorously determined to incorporate one hidden layer containing 64 hidden units, a sliding sequence window length of 10 network packets, an AdamW optimization algorithm, and an objective Focal Loss function with a focusing parameter γ=2.0. The classification accuracy computed via the optimized recurrent structure securely achieved a peak value of Weighted F1=99.38% at the 23rd training epoch. Empirical validation conducted on the control data subset confirmed the absolute minimization of type I and type II error rates across the majority of traffic categories, while the localized precision drop recorded for the Teardrop class (F1=0.667) is restricted by the tight structural feature convergence with standard traffic vectors.References
Karpinski, M., Shmatko, A., Yevseiev, S., Jancarczyk, D., & Milevskyi, S. (2021). Detection of Intrusion Attacks Using Neural Networks. Proceedings of the International Scientific-Practical Conference «Information Security and Information Technologies», Kharkiv-Odesa, pp. 117–124.
Luzhetskyi, V. A., Voitovych, O. P., & Konopelniuk, S. V. (2018). Intelyktualni tekhnolohii vyiavlennia ta protydii DoS-atakam u komp'iuternykh merezhakh: Monohrafiia [Intelligent technologies for detection and counteraction to DoS-attacks in computer networks: Monograph]. Vinnytsia: VNTU, 244 p.
Saied, A., Overill, R. E., & Radzik, T. (2016). Detection of known and unknown DDoS attacks using Artificial Neural Networks. Neurocomputing, Vol. 172, pp. 385–393. https://doi.org/10.1016/j.neucom.2015.04.101.
Pakhomova, V. M. & Konnov, M. S. (2020). Doslidzhennia dvokh pidkhodiv do vyiavlennia merezhnykh atak iz vykorystanniam neiromerezhnoi tekhnolohii [Investigation of two approaches to the detection of network attacks using neural network technology]. Nauka ta progres transportu [Science and Progress of Transport], No. 3(87), pp. 81–93. https://doi.org/10.15802/stp2020/208233
Pakhomova, V. & Kovalov, R. (2023). Investigation of the possibility of using neurofuzzy network to determine the extent of DoS attack. SWorldJournal. 2023. Issue 21. Part 1. Pp. 92-98. DOI: 10.30888/2663-5712.2023-21-01-037.
Pakhomova, V. M. & Motylenko, V. А. (2022). Studying the possibility of using RBF for determining Smurf attacks based on the KDDCup database. Vceni zapiski tavriysky natsionalnogo university imeni V.I. Vernadskogo. Seria: technical nauki [Scientific Notes of V. I. Vernadsky Taurida National University. Series: Technical sciences]. Vol. 33(72). No. 6. pp. 115-121. DOI: https://doi.org/10.32872/2663-5941/2022.6/20
Elsayed, M. S., Le-Khac, N. A., Dev, S., & Jurcut, A. D. (2020). Network Anomaly Detection Using LSTM Based Autoencoder. Q2SWINet '20: Proceedings of the 16th ACM Symposium on QoS and Security for Wireless and Mobile Networks, Alicante, Spain, pp. 37–45. https://doi.org/10.1145/3416013.3426457.
Canadian Institute for Cybersecurity. (2026). NSL-KDD Dataset. University of New Brunswick (UNB). Available at: https://www.unb.ca/cic/datasets/nsl.html [Accessed April 30, 2026].