Enhancing Network Threat Detection with Random Forest-Based NIDS and Permutation Feature Importance

Abstract Network Intrusion Detection Systems (NIDS) are critical for protecting computer networks from unauthorized activities. Traditional NIDS rely on rule-based signatures, which can be limiting in detecting emerging threats. This study investigates the effectiveness of the random forest classifier in advancing NIDS capabilities through machine learning. Using the CICIDS-2017 dataset, the data are preprocessed to enhance their quality by removing redundancies. feature selection and permutation importance were employed to identify the most relevant features. The methodology involves rigorous testing and analysis of the random forest classifier’s performance, focusing on f1-score rates compared to other machine learning models. Results demonstrate that by optimizing class weights, applying a custom prediction function and leveraging 26 key features, the random forest classifier achieves an outstanding 99.8% in the weighted f1-score and 93.31% in the macro f1-score in various attack types. This research highlights the potential of machine learning to significantly enhance NIDS effectiveness, offering a robust defense mechanism against evolving cybersecurity threats in modern networks.

Authors

Institutions

Publication Details

Journal
Journal of Network and Systems Management
Published
2024-10-22
DOI
https://doi.org/10.1007/s10922-024-09874-0
Citations
23
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
8.02

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing Network Threat Detection with Random Forest-Based NIDS and Permutation Feature Importance

Kareem Moussa, Salma Zakzouk, M. Saeed Darweesh, Mohammed Abdelaziz et al.
23 citations
Journal of Network and Systems Management
Network Security and Intrusion Detection
8.02
article

Enhancing Network Threat Detection with Random Forest-Based NIDS and Permutation Feature Importance

Kareem Moussa, Salma Zakzouk, M. Saeed Darweesh, Mohammed Abdelaziz, Abdelrahman Radwan, Hesham Mamdouh, Abdulrahman Salem Abuzaid, Ahmed Ayman AbdElhakeem, Adel Saeed Saad
article en
23 citations

Abstract

Abstract Network Intrusion Detection Systems (NIDS) are critical for protecting computer networks from unauthorized activities. Traditional NIDS rely on rule-based signatures, which can be limiting in detecting emerging threats. This study investigates the effectiveness of the random forest classifier in advancing NIDS capabilities through machine learning. Using the CICIDS-2017 dataset, the data are preprocessed to enhance their quality by removing redundancies. feature selection and permutation importance were employed to identify the most relevant features. The methodology involves rigorous testing and analysis of the random forest classifier’s performance, focusing on f1-score rates compared to other machine learning models. Results demonstrate that by optimizing class weights, applying a custom prediction function and leveraging 26 key features, the random forest classifier achieves an outstanding 99.8% in the weighted f1-score and 93.31% in the macro f1-score in various attack types. This research highlights the potential of machine learning to significantly enhance NIDS effectiveness, offering a robust defense mechanism against evolving cybersecurity threats in modern networks.

Journal of Network and Systems ManagementVol. 33(1)
Benha University (EG), Nile University (EG), Helwan University (EG)
Science and Technology Development Fund, Nile University
Life in Land
Openalex Percentile: Top 2%
Network Security and Intrusion Detection
8.02
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.