Data Balancing and CNN based Network Intrusion Detection System

被引:5
作者
Elghalhoud, Omar [1 ]
Naik, Kshirasagar [1 ]
Zaman, Marzia [2 ]
Manzano, Ricardo S. [3 ]
机构
[1] Univ Waterloo, Dept Elect & Comp Engn, Waterloo, ON N2L 3G1, Canada
[2] Cistel Technol, 30 Concourse Gate, Ottawa, ON K2E 7V7, Canada
[3] Cistech Ltd, Ottawa, ON K2E 7K3, Canada
来源
2023 IEEE WIRELESS COMMUNICATIONS AND NETWORKING CONFERENCE, WCNC | 2023年
关键词
Network Security; Data Balancing; Machine Learning; Deep Learning; Convolutional Neural Networks;
D O I
10.1109/WCNC55385.2023.10118702
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Cyber-security experts often require the help of an automated process that filters and classifies network attacks. To apply specific preventive measures for securing networks, the classification of the attack type is the key. Many Machine Learning (ML) models have been proposed as a base for Network Intrusion Detection (NID) systems. However, their performance varies based on multiple factors. For instance, an ML model fitted on a highly imbalanced dataset can be biased toward over-represented attack types. On the other hand, paying attention only to the ML model's performance in the minority classes can negatively affect its performance in the majority classes. This paper proposes an NID system that addresses the issue of imbalanced datasets and uses Convolutional Neural Networks (CNN) to classify the different attack types. We compare the performance of our proposed system to other systems that use: Random Over-Sampling (ROS), Synthetic Minority Oversampling TEchnique (SMOTE), Adaptive Synthetic Sampling (ADASYN), and Generative Adversarial Networks (GAN). Using the NSL-KDD and the BoT-IoT datasets for benchmarking, we show that our proposed system performs well in the minority classes: recall scores of 70.50% and 72.08% on the User to Root (U2R) and Remote to Local (R2L) attack classes of the NSL-KDD dataset, respectively, while maintaining an overall False Alarm Rate (FAR) of 6.50% and a recall of 90.46% on the binary classification task. Our proposed system scores a weighted average F1-Score of 99.45% on the multi-class classification task using the BoT-IoT dataset.
引用
收藏
页数:6
相关论文
共 50 条
[41]   The sound of intrusion: A novel network intrusion detection system [J].
Aldarwbi, Mohammed Y. ;
Lashkari, Arash H. ;
Ghorbani, Ali A. .
COMPUTERS & ELECTRICAL ENGINEERING, 2022, 104
[42]   A modified CNN-IDS model for enhancing the efficacy of intrusion detection system [J].
Abed, Ruqaya Abdulhasan ;
Hamza, Ekhlas Kadhum ;
Humaidi, Amjad J. .
Measurement: Sensors, 2024, 35
[43]   An efficient intrusion detection system for IoT security using CNN decision forest [J].
Bella, Kamal ;
Guezzaz, Azidine ;
Benkirane, Said ;
Azrour, Mourade ;
Fouad, Yasser ;
Benyeogor, Mbadiwe S. ;
Innab, Nisreen .
PeerJ Computer Science, 2024, 10
[44]   Intrusion Detection System After Data Augmentation Schemes Based on the VAE and CVAE [J].
Liu, Chang ;
Antypenko, Ruslan ;
Sushko, Iryna ;
Zakharchenko, Oksana .
IEEE TRANSACTIONS ON RELIABILITY, 2022, 71 (02) :1000-1010
[45]   An Exact Consensus-Based Network Intrusion Detection System [J].
Toulouse, Michel ;
Quang Tran Minh ;
Thao Nguyen .
FUTURE DATA AND SECURITY ENGINEERING, 2017, 10646 :351-367
[46]   Host-Based Intrusion Detection Model Using Siamese Network [J].
Park, Daekyeong ;
Kim, Sangsoo ;
Kwon, Hyukjin ;
Shin, Dongil ;
Shin, Dongkyoo .
IEEE ACCESS, 2021, 9 :76614-76623
[47]   A New Intrusion Detection System Based on Convolutional Neural Network [J].
El Kamali, Anas ;
Chougdali, Khalid ;
Abdellatif, Kobbane .
ICC 2023-IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS, 2023, :2994-2999
[48]   Intrusion Detection System based on Chaotic Opposition for IoT Network [J].
Singh, Richa ;
Ujjwal, R. L. .
INTERNATIONAL JOURNAL OF ELECTRICAL AND COMPUTER ENGINEERING SYSTEMS, 2024, 15 (02) :121-136
[49]   A network intrusion detection system based on deep learning in the IoT [J].
Wang, Xiao ;
Dai, Lie ;
Yang, Guang .
JOURNAL OF SUPERCOMPUTING, 2024, 80 (16) :24520-24558
[50]   Enhancing network security: an intrusion detection system using residual network-based convolutional neural network [J].
Farhan, Saima ;
Mubashir, Jovaria ;
Haq, Yasin Ul ;
Mahmood, Tariq ;
Rehman, Amjad .
CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2025, 28 (04)