Anomaly, attack, and vulnerability detection in transmitted network traffic using machine learning algorithms

Authors

  • Erika Abigail Katonova Technical University of Kosice, Letna 1/9, 040 01 Kosice, Slovakia https://orcid.org/0009-0005-7150-813X
  • Rastislav Petija Technical University of Kosice, Letna 1/9, 040 01 Kosice, Slovakia
  • Peter Fecilak Technical University of Kosice, Letna 1/9, 040 01 Kosice, Slovakia
  • Tatiana Goloviznina Technical University of Kosice, Letna 1/9, 040 01 Kosice, Slovakia
  • Radoslav Cider Technical University of Kosice, Letna 1/9, 040 01 Kosice, Slovakia

DOI:

https://doi.org/10.14311/AP.2026.66.0553

Keywords:

anomaly detection, machine learning, standard network profile, unsupervised learning, network security

Abstract

This research focuses on developing of a network monitoring tool designed to detect vulnerabilities and suspicious patterns in the communication networks of two levels: application and standard user data flows. We demonstrate that the ML algorithm can improve the real-time detection of security threats within network infrastructures. A CNN-LSTM autoencoder mode was proposed, which learned to reconstruct network flows from normal data and recognise anomalies based on reconstruction errors. Also, a LSTM and Vulnerability classifier was proposed for further classification of attacks and vulnerabilities in anomalous data. The results of the tests demonstrated the model’s high success rate in detecting anomalous traffic. The proposed system was able to detect anomalies, four attack types (Portscan, SQL injection, XSS, and DoS) and three vulnerability classes (SQL, Redis, and sensitive data transmitted in cleartext). The F1 score for anomaly detection was 0.89 and the error rate for attack detection was in an interval of 1–5 %.

Downloads

Download data is not yet available.

References

[1] E. F. Agyemang. Anomaly detection using unsupervised machine learning algorithms: A simulation study. Scientific African 26:e02386, 2024. https://doi.org/10.1016/j.sciaf.2024.e02386

[2] M. Usama, J. Qadir, A. Raza, et al. Unsupervised machine learning for networking: Techniques, applications and research challenges. IEEE Access 7:65579–65615, 2019. https://doi.org/10.1109/ACCESS.2019.2916648

[3] H. S. Emadi, S. M. Mazinani. A novel anomaly detection algorithm using DBSCAN and SVM in wireless sensor networks. Wireless Personal Communications 98(2):2025–2035, 2018. https://doi.org/10.1007/s11277-017-4961-1

[4] R. Aryani, M. Nasrun, C. Setianingsih, M. A. Murti. Clustering data in power management system using k-means clustering algorithm. In 2019 IEEE Asia Pacific Conference on Wireless and Mobile (APWiMob), pp. 164–170. 2019. https://doi.org/10.1109/APWiMob48441.2019.8964143

[5] M. A. Alsoufi, M. M. Siraj, F. A. Ghaleb, et al. An anomaly intrusion detection systems in IoT based on autoencoder: A review. In F. Saeed, F. Mohammed, Y. Fazea (eds.), Advances in Intelligent Computing Techniques and Applications, pp. 224–239. Springer Nature Switzerland, Cham, 2024. https://doi.org/10.1007/978-3-031-59707-7_20

[6] M. Catillo, A. Pecchia, U. Villano. Autolog: Anomaly detection by deep autoencoding of system logs. Expert Systems with Applications 191:116263, 2022. https://doi.org/10.1016/j.eswa.2021.116263

[7] I. Al-Turaiki, N. Altwaijry. A convolutional neural network for improved anomaly-based network intrusion detection. Big Data 9(3):233–252, 2021. https://doi.org/10.1089/big.2020.0263

[8] Y. Mirsky, T. Doitshman, Y. Elovici, A. Shabtai. Kitsune: An ensemble of autoencoders for online network intrusion detection, 2018. arXiv:1802.09089. https://doi.org/10.48550/arXiv.1802.09089

[9] P. Blažek, J. Hajný. Identifikace anomálií v datové komunikaci pomocí entropie. Elektrorevue 18(4):119–123, 2016.

[10] E. Sabeti, S. Oh, P. X. K. Song, A. O. Hero. A pattern dictionary method for anomaly detection. Entropy 24(8):1095, 2022. https://doi.org/10.3390/e24081095

[11] M. Ozkan-Okay, R. Samet, Ö. Aslan, et al. A novel feature selection approach to classify intrusion attacks in network communications. Applied Sciences 13(19):11067, 2023. https://doi.org/10.3390/app131911067

[12] A. A. A. M. H. A. Zubaidi. IoT malware detection based on anomaly traffic identification using CNN-LSTM. In 2024 16th International Conference on Electronics, Computers and Artificial Intelligence (ECAI), pp. 1–6. 2024. https://doi.org/10.1109/ECAI61503.2024.10607471

[13] H. Benaddi, M. Jouhari, K. Ibrahimi, et al. Improvement of anomaly detection system in the IoT networks using CNN-LSTM approach. In GLOBECOM 2023 – 2023 IEEE Global Communications Conference, pp. 3771–3776. 2023. https://doi.org/10.1109/GLOBECOM54140.2023.10437475

[14] I. Goodfellow, Y. Bengio, A. Courville. Deep learning. MIT Press, Cambridge, MA, USA, 2016. [2025-05-19]. http://www.deeplearningbook.org

[15] J. Yi, S. Zhang, L. Tan, Y. Tian. A network traffic abnormal detection method: Sketch-based profile evolution. Applied Sciences 13(16):9087, 2023. https://doi.org/10.3390/app13169087

[16] S. P, K. Palaniappan, B. Duraipandi, U. M. Balasubramanian. Dynamic behavioral profiling for anomaly detection in software-defined IoT networks: A machine learning approach. Peer-to-Peer Networking and Applications 17(4):2450–2469, 2024. https://doi.org/10.1007/s12083-024-01694-y

[17] K. Xu, Y. Wan, G. Xue, F. Wang. Multidimensional behavioral profiling of internet-of-things in edge networks. In Proceedings of the International Symposium on Quality of Service, IWQoS ’19. Association for Computing Machinery, New York, NY, USA, 2019. https://doi.org/10.1145/3326285.3329072

[18] M. S. Gill, D. Lindskog, P. Zavarsky. Profiling network traffic behavior for the purpose of anomaly-based intrusion detection. In 2018 17th IEEE International Conference On Trust, Security And Privacy In Computing And Communications / 12th IEEE International Conference On Big Data Science And Engineering (TrustCom/BigDataSE), pp. 885–890. 2018. https://doi.org/10.1109/TrustCom/BigDataSE.2018.00127

[19] Adobe. Adobe Commerce (Magento) B2B- und B2C-Unternehmenslösungen – Adobe – Adobe Deutschland. [2025-05-19]. https://business.adobe.com/uk/products/commerce.html

[20] Wireshark. Wireshark – Go deep. [2025-05-19]. https://www.wireshark.org

[21] K. Wang, S. J. Stolfo. Anomalous payload-based network intrusion detection. In E. Jonsson, A. Valdes, M. Almgren (eds.), Recent Advances in Intrusion Detection, pp. 203–222. Springer Berlin Heidelberg, Berlin, Heidelberg, 2004. https://doi.org/10.1007/978-3-540-30143-1_11

[22] Splunk. Splunk – Data platform for security, observability & AI. [2025-05-19]. https://www.splunk.com

Downloads

Published

2026-11-10

Issue

Section

Articles

How to Cite

Katonova, E. A., Petija, R., Fecilak, P., Goloviznina, T., & Cider, R. (2026). Anomaly, attack, and vulnerability detection in transmitted network traffic using machine learning algorithms. Acta Polytechnica, 66(5), 553-564. https://doi.org/10.14311/AP.2026.66.0553