journal article·2022-02-08Open access

Combining Unsupervised Approaches for Near Real-Time Network Traffic Anomaly Detection

Francesco Carrera, Vincenzo Dentamaro, Stefano Galantucci, Andrea Iannacone, Donato Impedovo, Giuseppe Pirlo

Applied Sciences· Volume 12· Issue 3

Abstract

The 0-day attack is a cyber-attack based on vulnerabilities that have not yet been published. The detection of anomalous traffic generated by such attacks is vital, as it can represent a critical problem, both in a technical and economic sense, for a smart enterprise as for any system largely dependent on technology. To predict this kind of attack, one solution can be to use unsupervised machine learning approaches, as they guarantee the detection of anomalies regardless of their prior knowledge. It is also essential to identify the anomalous and unknown behaviors that occur within a network in near real-time. Three different approaches have been proposed and benchmarked in exactly the same condition: Deep Autoencoding with GMM and Isolation Forest, Deep Autoencoder with Isolation Forest, and Memory Augmented Deep Autoencoder with Isolation Forest. These approaches are thus the result of combining different unsupervised algorithms. The results show that the addition of the Isolation Forest improves the accuracy values and increases the inference time, although this increase does not represent a relevant problematic factor. This paper also explains the features that the various models consider most important for classifying an event as an attack using the explainable artificial intelligence methodology called Shapley Additive Explanations (SHAP). Experiments were conducted on KDD99, NSL-KDD, and CIC-IDS2017 datasets.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Anomaly Detection Techniques and Applications · Network Security and Intrusion Detection · Smart Grid Security and Resilience

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

BVTech SpA, 20123 Milano, Italy

Department of Computer Science, University of Bari “Aldo Moro”, 70125 Bari, Italy

Funding

Fondo Europeo di Sviluppo Regionale Puglia Programma Operativo Regionale (POR) Puglia 2014-2020-Axis I-Specific Objective 1a-Action 1.1 (Research and Development)-Project Title: CyberSecurity and Security Operation Center (SOC) Product Suite by BV TECH S.

References (37)

Show source-provided references
1. Using Bayesian networks for probabilistic identification of zero-day attack paths10.1109/TIFS.2018.2821095 ↗
2. Zhao, S., Ramos, J., Tao, J., Jiang, Z., Li, S., Wu, Z., Pan, G., and Dey, A.K. (2016, January 12–16). Discovering different kinds of smartphone users through their application usage behaviors. Proceedings of the 2016 ACM International Joint Conference on Pervasive and Ubiquitous Computing, Heidelberg, Germany.10.1145/2971648.2971696 ↗
3. Oliveira, N., Praça, I., Maia, E., and Sousa, O. (2021). Intelligent cyber attack detection and classification for network-based intrusion detection systems. Appl. Sci., 11.10.3390/app11041674 ↗
5. Hu, W., Liao, Y., and Vemuri, V.R. (2003, January 21–24). Robust anomaly detection using support vector machines. Proceedings of the International Conference on Machine Learning, Washington, DC, USA.
6. Neural networks for classification: A survey10.1109/5326.897072 ↗
7. Dentamaro, V., Convertini, N., Galantucci, S., Giglio, P., Impedovo, D., and Pirlo, G. (2021, January 7–9). Ensemble Consensus: An Unsupervised Algorithm for Anomaly Detection in Network Security Data. Proceedings of the Itasec21, Virtual Event.
8. Liu, F.T., Ting, K.M., and Zhou, Z.H. (2008, January 15–19). Isolation forest. Proceedings of the 2008 Eighth IEEE International Conference on Data Mining, Pisa, Italy.10.1109/ICDM.2008.17 ↗
9. Breunig, M.M., Kriegel, H.P., Ng, R.T., and Sander, J. (2000, January 16–18). LOF: Identifying density-based local outliers. Proceedings of the 2000 ACM SIGMOD International Conference on Management of Data, Dallas, TX, USA.10.1145/342009.335388 ↗
10. A fast algorithm for the minimum covariance determinant estimator10.1080/00401706.1999.10485670 ↗
11. Tien, C.W., Huang, T.Y., Chen, P.C., and Wang, J.H. (2021). Using Autoencoders for Anomaly Detection and Transfer Learning in IoT. Computers, 10.10.3390/computers10070088 ↗
12. Ahmad, Z., Shahid Khan, A., Nisar, K., Haider, I., Hassan, R., Haque, M.R., Tarmizi, S., and Rodrigues, J.J. (2021). Anomaly Detection Using Deep Neural Network for IoT Architecture. Appl. Sci., 11.10.3390/app11157050 ↗
13. An Ensemble of a Prediction and Learning Mechanism for Improving Accuracy of Anomaly Detection in Network Intrusion Environments10.3390/su131810057 ↗
14. Alsoufi, M.A., Razak, S., Siraj, M.M., Nafea, I., Ghaleb, F.A., Saeed, F., and Nasser, M. (2021). Anomaly-Based Intrusion Detection Systems in IoT Using Deep Learning: A Systematic Literature Review. Appl. Sci., 11.10.3390/app11188383 ↗
15. Riera, T.S., Higuera, J.R.B., Higuera, J.B., Herraiz, J.J.M., and Montalvo, J.A.S. (2020). Prevention and Fighting against Web Attacks through Anomaly Detection Technology. A Systematic Review. Sustainability, 12.10.3390/su12124945 ↗
16. Extended isolation forest10.1109/TKDE.2019.2947676 ↗
17. Mirsky, Y., Doitshman, T., Elovici, Y., and Shabtai, A. (arXiv, 2018). Kitsune: An ensemble of autoencoders for online network intrusion detection, arXiv.10.14722/ndss.2018.23204 ↗
18. Zong, B., Song, Q., Min, M.R., Cheng, W., Lumezanu, C., Cho, D., and Chen, H. (May, January 30). Deep autoencoding gaussian mixture model for unsupervised anomaly detection. Proceedings of the International Conference on Learning Representations, Vancouver, BC, Canada.
19. Zhai, S., Cheng, Y., Lu, W., and Zhang, Z. (2016, January 19–24). Deep structured energy based models for anomaly detection. Proceedings of the International Conference on Machine Learning, PMLR, New York, NY, USA.
20. Gong, D., Liu, L., Le, V., Saha, B., Mansour, M.R., Venkatesh, S., and Hengel, A.v.d. (2019, January 27–28). Memorizing normality to detect anomaly: Memory-augmented deep autoencoder for unsupervised anomaly detection. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Korea.10.1109/ICCV.2019.00179 ↗
21. Semi-supervised Spatio-Temporal Deep Learning for Intrusions Detection in IoT Networks10.1109/JIOT.2021.3060878 ↗
22. Leveraging Semisupervised Hierarchical Stacking Temporal Convolutional Network for Anomaly Detection in IoT Communication10.1109/JIOT.2020.3000771 ↗
23. Deep transfer learning for IoT attack detection10.1109/ACCESS.2020.3000476 ↗
24. Intrusion detection based on fusing deep neural networks and transfer learning
25. Learning Useful Representations in a Deep Network with a Local Denoising Criterion Pierre-Antoine Manzagol
26. (2021, December 13). KDDCUP99 Dataset. Available online: http://kdd.ics.uci.edu/databases/kddcup99/kddcup99.html.
27. Tavallaee, M., Bagheri, E., Lu, W., and Ghorbani, A.A. (2009, January 8–10). A detailed analysis of the KDD CUP 99 data set. Proceedings of the 2009 IEEE Symposium on Computational Intelligence for Security and Defense Applications, Ottawa, ON, Canada.10.1109/CISDA.2009.5356528 ↗
28. Canadian Institute for Cybersecurity (2021, December 13). NSL-KDD Dataset. Available online: https://www.unb.ca/cic/datasets/nsl.html.
29. A study on NSL-KDD dataset for intrusion detection system based on classification algorithms
30. Canadian Institute for Cybersecurity (2021, December 13). CIC-IDS2017 Dataset. Available online: https://www.unb.ca/cic/datasets/ids-2017.html.
31. A detailed analysis of CICIDS2017 dataset for designing Intrusion Detection Systems
32. Sensitivity analysis of k-fold cross validation in prediction error estimation10.1109/TPAMI.2009.187 ↗
33. Kingma, D., and Ba, J. (2015, January 7–9). A method for stochastic optimization. Proceedings of the International Conference for Learning Representations, San Diego, CA, USA.
34. Cortes, D. (arXiv, 2021). Revisiting randomized choices in isolation forests, arXiv.
35. Explaining prediction models and individual predictions with feature contributions10.1007/s10115-013-0679-x ↗
36. Lundberg, S.M., and Lee, S.I. (2017, January 4–9). A unified approach to interpreting model predictions. Proceedings of the 31st International Conference on Neural Information Processing Systems, Long Beach, CA, USA.
37. Lundberg, S. (2021, December 13). SHAP library Documentation. Available online: https://shap-lrjball.readthedocs.io/en/latest/index.html.