Scholarly open access journals, Peer-reviewed, and Refereed Journals, Impact factor 8.14 (Calculate by google scholar and Semantic Scholar | AI-Powered Research Tool) , Multidisciplinary, Monthly, Indexing in all major database & Metadata, Citation Generator, Digital Object Identifier(DOI)
With the rapid growth of network-based systems, ensuring security against cyber threats has become a critical challenge. Traditional intrusion detection systems often fail to detect new or evolving attack patterns in real time. To address this issue, this project presents a Machine Learning-based Intrusion Detection System (IDS) that leverages the Random Forest algorithm for the accurate and efficient detection of network attacks. The system is developed using the NSL-KDD dataset, from which essential features such as duration, protocol type, service, flag, source bytes, destination bytes, and traffic-based metrics are extracted. Categorical features are transformed into numerical values to make them suitable for machine learning processing.
The trained Random Forest classifier is capable of identifying multiple types of network traffic, including Normal, Denial of Service (DoS), Probe, and Unauthorized Access (R2L) attacks. For real-time intrusion monitoring, the system integrates Scapy to capture live network packets, extracts relevant features, and passes them to the trained model to predict traffic types. If an intrusion is detected, an alert message is instantly generated, displaying critical details such as attack type, source IP, destination IP, and timestamp. Furthermore, a user-friendly web interface provides functionalities to view training datasets, analyze attack records, perform manual detection, and monitor traffic via an analytics dashboard. This approach provides scalability, adaptability, and significant improvements in detection accuracy for modern network environments.
Keywords:
Cite Article:
"Intrusion Detection System Using Machine Learning For Real-Time Network", International Journal for Research Trends and Innovation (www.ijrti.org), ISSN:2456-3315, Vol.11, Issue 4, page no.a803-a808, April-2026, Available :http://www.ijrti.org/papers/IJRTI2604113.pdf
Downloads:
00068
ISSN:
2456-3315 | IMPACT FACTOR: 8.14 Calculated By Google Scholar| ESTD YEAR: 2016
An International Scholarly Open Access Journal, Peer-Reviewed, Refereed Journal Impact Factor 8.14 Calculate by Google Scholar and Semantic Scholar | AI-Powered Research Tool, Multidisciplinary, Monthly, Multilanguage Journal Indexing in All Major Database & Metadata, Citation Generator