Reinforcing Cyber Security: Defensive Machine Learning based Intrusion Detection System for NSL-KDD

In the world of digital transformation, intrusion detection has proven to be valuable in protecting the assets of organizations. In this paper, we propose a new machine learning-based technique; Random Forest (RF) to be implemented as intrusion detection system (IDS), to act as defensive frontier for organizations. However, creating an efficient IDS faces a number of challenges, these challenges summarizes in accuracy (mirrored as false positive rate) and training time. Choosing the right machine learning classifier, to work with the right type of network data is important. Detection accuracy can be enhanced by tuning the classifier towards optimal variables. While, training time can be enhanced by correct pre-processing of network data and selecting the features that are most dominant in correlation with the desired output. We examined several machine learning techniques, we applied several data pre-processing steps on NSL-KDD, also, hyper parameter tuning (manipulation) was performed to optimize classifier performance, finally, feature selection techniques were utilized to reduce training time and enhance overall performance. Random Forest has proven to be the most effective machine learning classifier to be used with NSL-KDD, we achieved the highest accuracy of 99.7% and training time of 30.25 second using only 7 features.

Authors

Institutions

Publication Details

Journal
Journal of Engineering Science and Military Technologies /Journal of Engineering Science and Military Technologies
Published
2025-02-26
DOI
https://doi.org/10.21608/ejmtc.2025.353334.1301
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Reinforcing Cyber Security: Defensive Machine Learning based Intrusion Detection System for NSL-KDD

Ahmed M. Mattar, Mohamed Hussein, Ahmed H. Eid
Journal of Engineering Science and Military Technologies /Journal of Engineering Science and Military Technologies
Network Security and Intrusion Detection
article

Reinforcing Cyber Security: Defensive Machine Learning based Intrusion Detection System for NSL-KDD

Ahmed M. Mattar, Mohamed Hussein, Ahmed H. Eid
article en

Abstract

In the world of digital transformation, intrusion detection has proven to be valuable in protecting the assets of organizations. In this paper, we propose a new machine learning-based technique; Random Forest (RF) to be implemented as intrusion detection system (IDS), to act as defensive frontier for organizations. However, creating an efficient IDS faces a number of challenges, these challenges summarizes in accuracy (mirrored as false positive rate) and training time. Choosing the right machine learning classifier, to work with the right type of network data is important. Detection accuracy can be enhanced by tuning the classifier towards optimal variables. While, training time can be enhanced by correct pre-processing of network data and selecting the features that are most dominant in correlation with the desired output. We examined several machine learning techniques, we applied several data pre-processing steps on NSL-KDD, also, hyper parameter tuning (manipulation) was performed to optimize classifier performance, finally, feature selection techniques were utilized to reduce training time and enhance overall performance. Random Forest has proven to be the most effective machine learning classifier to be used with NSL-KDD, we achieved the highest accuracy of 99.7% and training time of 30.25 second using only 7 features.

Journal of Engineering Science and Military Technologies /Journal of Engineering Science and Military TechnologiesVol. 0(0)
Military Technical College (EG)
Openalex Percentile: Top 96%
Network Security and Intrusion Detection
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.