Balanced Multi-Class Network Intrusion Detection Using Machine Learning

被引:3
作者
Khan, Faraz Ahmad [1 ]
Shah, Asghar Ali [2 ]
Alshammry, Nizal [3 ]
Saif, Saifullah [1 ]
Khan, Wasim [1 ]
Malik, Muhammad Osama [4 ]
Ullah, Zahid [5 ]
机构
[1] Univ Engn & Technol Mardan, Mardan 23200, Pakistan
[2] Beaconhouse Int Coll, Dept Comp Sci, Islamabad 46000, Pakistan
[3] Northern Border Univ, Fac Comp & Informat Technol, Dept Comp Sci, Ar Ar 91431, Saudi Arabia
[4] Univ Tulsa, Collin Coll Business, Tulsa, OK 74104 USA
[5] Politecn Milan, Dipartimento Elettron Informaz & Bioingn, I-20133 Milan, Italy
关键词
Accuracy; Random forests; Classification algorithms; Telecommunication traffic; Security; Organizations; Feature extraction; Machine learning algorithms; Firewalls (computing); Biological system modeling; AdaBoost; anomaly detection; binary classification; decision trees; deep learning; intrusion detection; K-nearest neighbor (KNN); logistic regression; machine learning; naive Bayes classifiers; network security; random forests;
D O I
10.1109/ACCESS.2024.3503497
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Cybersecurity is gaining a high position in the IT sector. Connecting more devices to the internet smooths the way for hackers. It is hard for signature-based security tools to detect new attacks that emerge and evolve with slight changes. Researchers are trying to build a Network Intrusion Detection System (NIDS) that can accurately detect the zero-day attacks evolved through minor changes. An anomaly-based NIDS has attracted researchers to develop a system to detect malign traffic in a network using Machine Learning (ML) models. Therefore, in recent years, the designs of modern NIDS for higher detection rates and lower false alarms have been refined by utilizing advanced ML and Deep Learning (DL) approaches. However, it is still a problem for the supervised and unsupervised algorithms to achieve high performance, absolute accuracy, and minimal false alarm rate. This work aims to design an effective NIDS that addresses the current limitation using machine learning models trained on reliable flow-based data (CICIDS-2017). The system will improve the detection accuracy and reduce false alarms in high-speed network environments. To achieve results, the dataset has been balanced using the SMOTE-Tomek Links technique. After cleaning and organizing the dataset, the trained algorithms are Decision Tree, Random Forest, XGBoost, K-Nearest Neighbor, Naive Bayes, Logistic Regression, and AdaBoost algorithm. These algorithms are pulled from literature studies because of their exceptional performance on old datasets. This work has achieved a Decision Tree model with 96.37% accuracy and 96.33% F1-score and the AdaBoost model with 96.37% accuracy and 96.33% F1-score for multiclass classification. For binary classification, the Decision Tree (DT) model has exhibited the highest test accuracy of 99.96%, followed by Random Forest (99.84%), Adaboost (99.77%), and Xgboost (99.57), with the highest average precision of 100% and ROC-AUC of 99.96%. We have also found that binary classification performs better when it takes more time to train each classifier than multiclass classification. This research study incorporates proper validation of the models and achieves high accuracy and exact results compared to the literature. The results show that a balanced CICIDS-2017 dataset improves the performance of decision trees and AdaBoost classifiers. The emplacement of NIDS in networks and their underlying technology are equally significant for detecting real-time attacks.
引用
收藏
页码:178222 / 178236
页数:15
相关论文
共 50 条
[41]   A Lightweight Obfuscated Malware Multi-class Classifier for IoT Using Machine Learning [J].
Cassel, William ;
Majd, Nahid Ebrahimi .
2024 INTERNATIONAL CONFERENCE ON COMPUTING, NETWORKING AND COMMUNICATIONS, ICNC, 2024, :239-243
[42]   Data Driven Network Monitoring and Intrusion Detection using Machine Learning [J].
Williams, Brandon ;
Dong, Xishuang ;
Qian, Lijun .
2020 SEVENTH INTERNATIONAL CONFERENCE ON SOCIAL NETWORK ANALYSIS, MANAGEMENT AND SECURITY (SNAMS), 2020, :262-268
[43]   Network Intrusion Detection Model Using Fused Machine Learning Technique [J].
Alotaibi, Fahad Mazaed .
CMC-COMPUTERS MATERIALS & CONTINUA, 2023, 75 (02) :2479-2490
[44]   Intrusion Detection using Network Traffic Profiling and Machine Learning for IoT [J].
Rose, Joseph R. ;
Swann, Matthew ;
Bendiab, Gueltoum ;
Shiaeles, Stavros ;
Kolokotronis, Nicholas .
PROCEEDINGS OF THE 2021 IEEE 7TH INTERNATIONAL CONFERENCE ON NETWORK SOFTWARIZATION (NETSOFT 2021): ACCELERATING NETWORK SOFTWARIZATION IN THE COGNITIVE AGE, 2021, :409-415
[45]   Multi-Stage Deep Learning for Intrusion Detection in Industrial Internet of Things [J].
Popoola, Segun I. ;
Tsado, Yakubu ;
Ogunjinmi, Abimbola A. ;
Sanchez-Velazquez, Erika ;
Peng, Yonghong ;
Rawat, Danda B. .
IEEE ACCESS, 2025, 13 :60532-60555
[46]   Epileptic Seizure Detection in EEG Signals Using Machine Learning and Deep Learning Techniques [J].
Kode, Hepseeba ;
Elleithy, Khaled ;
Almazaydeh, Laiali .
IEEE ACCESS, 2024, 12 :80657-80668
[47]   Privilege Escalation Attack Detection and Mitigation in Cloud Using Machine Learning [J].
Mehmood, Muhammad ;
Amin, Rashid ;
Muslam, Muhana Magboul Ali ;
Xie, Jiang ;
Aldabbas, Hamza .
IEEE ACCESS, 2023, 11 :46561-46576
[48]   Android malware detection for timely detection using multi-class deep learning methods [J].
Anusha, M. ;
Karthika, M. .
INTERNATIONAL JOURNAL OF INTELLIGENT ENGINEERING INFORMATICS, 2024, 12 (02) :213-235
[49]   A Comparative Study of Using Deep Learning Algorithms in Network Intrusion Detection [J].
Elsayed, Salwa ;
Mohamed, Khalil ;
Madkour, Mohamed Ashraf .
IEEE ACCESS, 2024, 12 :58851-58870
[50]   Enhancing Intrusion Detection System Using Machine Learning and Deep Learning [J].
Madhusudhan, R. ;
Thakur, Shubham Kumar ;
Pravisha, P. .
ADVANCED INFORMATION NETWORKING AND APPLICATIONS, VOL 3, AINA 2024, 2024, 201 :326-337