Balanced Multi-Class Network Intrusion Detection Using Machine Learning

被引:1
|
作者
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
来源
IEEE ACCESS | 2024年 / 12卷
关键词
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 条
  • [21] Multi-Class Intrusion Detection Using Two-Channel Color Mapping in IEEE 802.11 Wireless Network
    Aminanto, Muhamad Erza
    Wicaksono, R. Satrio Hariomurti
    Aminanto, Achmad Eriza
    Tanuwidjaja, Harry Chandra
    Yola, Lin
    Kim, Kwangjo
    IEEE ACCESS, 2022, 10 : 36791 - 36801
  • [22] Multi-class SVM based network intrusion detection with attribute selection using infinite feature selection technique
    Kaushik, Ruchi
    Singh, Vijander
    Kumar, Rajani
    JOURNAL OF DISCRETE MATHEMATICAL SCIENCES & CRYPTOGRAPHY, 2021, 24 (08): : 2137 - 2153
  • [23] Network Intrusion Detection Using Machine Learning Anomaly Detection Algorithms
    Hanifi, Khadija
    Bank, Hasan
    Karsligil, M. Elif
    Yavuz, A. Gokhan
    Guvensan, M. Amac
    2017 25TH SIGNAL PROCESSING AND COMMUNICATIONS APPLICATIONS CONFERENCE (SIU), 2017,
  • [24] Federated learning-based hybrid convolutional recurrent neural network for multi-class intrusion detection in IoT networks
    Prabu Selvam
    P. Karthikeyan
    S. Manochitra
    A. V. L. N. Sujith
    T. Ganesan
    Rajaram Ayyasamy
    Mohammed Shuaib
    Shadab Alam
    A. Rajendran
    Discover Internet of Things, 5 (1):
  • [25] Multi-Class Confidence Detection Using Deep Learning Approach
    Mujahid, Amna
    Aslam, Muhammad
    Khan, Muhammad Usman Ghani
    Martinez-Enriquez, Ana Maria
    Ul Haq, Nazeef
    APPLIED SCIENCES-BASEL, 2023, 13 (09):
  • [26] MaREA: Multi-class Random Forest for Automotive Intrusion Detection
    Caivano, Danilo
    Catalano, Christian
    De Vincentiis, Mirko
    Lako, Alfred
    Pagano, Alessandro
    PRODUCT-FOCUSED SOFTWARE PROCESS IMPROVEMENT, PROFES 2023, PT II, 2024, 14484 : 23 - 34
  • [27] Intrusion Detection on the In-Vehicle Network Using Machine Learning
    Sharmin, Shaila
    Mansor, Hafizah
    2021 3RD INTERNATIONAL CYBER RESILIENCE CONFERENCE (CRC), 2021, : 26 - 31
  • [28] Investigating Network Intrusion Detection Datasets Using Machine Learning
    Amaizu, Gabriel Chukwunonso
    Nwakanma, Cosmas Ifeanyi
    Lee, Jae-Min
    Kim, Dong-Seong
    11TH INTERNATIONAL CONFERENCE ON ICT CONVERGENCE: DATA, NETWORK, AND AI IN THE AGE OF UNTACT (ICTC 2020), 2020, : 1325 - 1328
  • [29] Convolutional Neural Networks for Multi-class Intrusion Detection System
    Potluri, Sasanka
    Ahmed, Shamim
    Diedrich, Christian
    MINING INTELLIGENCE AND KNOWLEDGE EXPLORATION, MIKE 2018, 2018, 11308 : 225 - 238
  • [30] A Network Intrusion Detection System Using Ensemble Machine Learning
    Kiflay, Aklil Zenebe
    Tsokanos, Athanasios
    Kirner, Raimund
    2021 INTERNATIONAL CARNAHAN CONFERENCE ON SECURITY TECHNOLOGY (ICCST), 2021,