Original Article

Multiple Classification of Cyber Attacks Using Machine Learning


Department of Computer Engineering, İstanbul University-Cerrahpaşa, İstanbul, Turkey


Department of Computer Engineering, İstanbul Commerce University, İstanbul, Turkey

ELECTRICA 2022; 22: 313-320
DOI: 10.54614/electrica.2022.22031
Read: 2190 Downloads: 874 Published: 24 May 2022

With the rapid growth of technology, the Internet’s use and the number of devices connected to it are growing at a breakneck pace. As a result of this development, network traffic has increased in volume and has become more vulnerable. The focus has been on the development of learning intrusion detection systems in order to detect sophisticated and undetected threats. Because machine learning-based models achieve great accuracy in a short amount of time, they are commonly utilized in intrusion detection systems. Multiple classifications were made in this study to detect assaults on network traffic using machine learning. The model was created using the CICIDS2017 data set, which comprises both current and historical attacks. The high-performance computer was used to rapidly conduct tests on the CICIDS2017 data set, which contains around 2.8 million rows of data. We improved the performance of the machine learning models we developed by cleaning, normalizing, oversampling for an unbalanced number of labels, and reducing the size of the data set using feature selection methods. The random forest, decision tree, logistic regression, and Naive Bayes classifiers were all implemented on the pre-processed data set, and it was observed that the random forest classifier had the highest accuracy of 99.94%.

Cite this article as: E. Yusuf Güven, S. Gülgün, C. Manav, B. Bakır and G. Zeynep Gürkaş Aydın, "Multiple classification of cyber attacks using machine learning," Electrica., 22(2), 313-320, 2022.

EISSN 2619-9831