Skip to content
Open access

Intrusion Detection System using NSL-KDD Dataset and Decision Tree Machine Learning Algorithm

2026 · International journal of research and scientific innovation · 0 citations

TL;DR

The outcome of the research proves that all these measures of accuracy show that the decision tree model is precise, reliable and suitable for practical implementation in analysis of firewall logs in order to detect the existing vulnerabilities for system engineers.

Abstract

A firewall is designed to filter traffic, block unauthorized access, and allow authorized access. Modern network hardware contains vulnerabilities that can be exploited by attackers to compromise network security. The aim of this project is to propose an efficient machine learning model to analyze the vulnerabilities in firewall logs. The project implemented decision tree classifier on a NSL-KDD dataset pulled from Kaggle ML repository. This dataset contains 127,000+ instances of vulnerabilities. In order to build a web app, the input features of the dataset were reduced from 41 to 5 within the Streamlit interface to enhance prediction speed, reduce resource consumption etc. The following performance metrics were obtained for the selected model: Accuracy: 99.31%; Precision: 98.98%; Recall: 99.54% and F1-Score: 99.26%. The inclusion of quantitative metrics, visual evaluation and a real time web application prototype that helps bridge academic exploration and industrial relevance serves as a contribution to knowledge in firewall detection system. The outcome of the research proves that all these measures of accuracy show that the decision tree model is precise, reliable and suitable for practical implementation in analysis of firewall logs in order to detect the existing vulnerabilities for system engineers. There are some distinct benefits of applying machine learning to the problem of firewall vulnerability analysis, hence, this study has been able to contribute to the field of firewall and intrusion detection system in modern hardware system.

Read PDF

Similar papers

Open access Aug 2026

Machine learning-based intrusion detection framework using NSL-KDD dataset

SVM-based models with Gaussian and Sigmoid kernels are particularly more accurate (up to 99%) and less sensitive to fluctuations and made flexible technical solutions for effectively managing large and dynamically changing networks.

Anish Antony, S. Thaseen, Ashvini Alashetty et al. · 0 citations
Open access Aug 2026

Application of C4.5 Decision Tree Algorithm for Detecting Cyber Attacks Using IDS

This work constructs a web-based Intrusion Detection System prototype by training an entropy-based Decision Tree classifier, conceptually grounded in the C4.5 framework, on the NSL-KDD benchmark.

Daniel Erick Witopo, Hartana Wijaya · 0 citations
Open access Aug 2026

AI Transparency in Network Intrusion Detection

Machine-learning intrusion detectors often report near-perfect performance on familiar benchmarks, yet their generalization and decision transparency remain uncertain. This study evaluates a reproducible and explainable binary network-intrusion-detection workflow using the NSL-KDD KDDTrain+_20Percent file (25,192 recor...

Dawlat Mustafa Sulaiman · 0 citations
Conference Sep 2026

Network Intrusion Detection Using SNMP MIB Data: A Multi-Device Machine Learning Approach

The increasing complexity and volume of network traffic have made the accurate and timely detection of cyber-attacks a critical challenge. This study proposes a machine learning-based intrusion detection approach using Simple Network Management Protocol - Management Information Base (SNMP-MIB) data collected from four...

Emirhan Erdem, M. Karakose, Kürşat İnce · 0 citations
Open access Sep 2026

AI-Based Network Intrusion Detection System

The increasing use of computer networks, cloud platforms, and connected digital services has created a growing need for intelligent and adaptive cybersecurity solutions. Traditional intrusion detection methods that mainly depend on predefined rules and known attack signatures may have difficulty identifying changing or...

Shruthi Rampure, Vishal · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.