Crossref DOIMemberCiteFactoropen accessissn
SJIF Impact Factor 8.659 | ISSN: 2582-3930
IJSREM Logo

International Journal of Scientific Research in Engineering and Management

(Gateway to Global Scholars - An International, Scholarly, Multi-Disciplinary, Open Access Journal)

Peer-Reviewed Journal Designed to Meet UGC's Quality Parameters

HomeCurrent IssuePast IssuesPay OnlineConferencesEditorial BoardAbout UsContact Us
IJSREM

Loading article...

Follow Us

  • Google Scholar
  • ResearchGate
  • Academia.edu
  • Mendeley
  • LinkedIn
  • Facebook
  • Instagram

Journal Policies

  • Peer Review Policy
  • Publication Ethics
  • Copyright Infringement
  • Refund & Cancellation Policy
  • Terms and Conditions
  • Privacy Policy

Journal Identifiers & Licenses

  • ISSN Verified: 2582-3930ISSN Verified: 2582-3930
  • Crossref DOI: 10.55041Crossref DOI: 10.55041
  • SJIF Ranking: 08.659SJIF Ranking: 08.659
  • Licensed under CC BY 4.0Licensed under CC BY 4.0
  • ISO Certification: 9001:2015ISO Certification: 9001:2015
  • Indexed & Cited In: Google ScholarIndexed & Cited In: Google Scholar

Contact Us

International Journal of Scientific Research in Engineering and Management (IJSREM)

#62/1, New No 7, 1st Cross, 2nd Main, Ganganagar, R T Nagar, Bangalore North, Bangalore, Karnataka, India – 560032
[email protected]+91 93911 67991
logos
logos
Working Hours

Mon – Sat: 9:00 AM – 6:00 PM

Sunday: 10:00 AM – 4:00 PM

+91 93911 67991

© 2026 IJSREM – International Journal of Scientific Research in Engineering and Management. This is an open-access journal. Articles are published under the Creative Commons Attribution (CC BY 4.0) License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

DisclaimerPrivacy PolicyTerms and Conditions
ArticlePeer ReviewedOpen AccessPlagiarism Passed
Paper ID:IJSREM66620

AI-Based Network Intrusion Detection System Using Machine Learning

Stream/Area:

-

Subject:

-

Paper ID:

IJSREM66620

Volume:

10 |

8 |

Aug 2026

Pages:

1-18

Publication Frequency:

Monthly (12 issues per year)

DOI
Digital Object Identifier
Not assigned

License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.

Share this article:

Authors

MC

Manohar C

Department of computer science and Engineering

R.L.Jallapa institute of technology

Download Author Certificate
D.KR

Dr .Varalakhmi K R

Department of computer science and Engineering

R.L.Jallapa institute of technology

Download Co-Author Certificate

Author Services & Downloads

Full ArticlesAcceptance Certificate

Abstract

The rapid expansion of computer networks and internet-based services has significantly increased the complexity and frequency of cyberattacks. Traditional Network Intrusion Detection Systems (NIDS), which primarily rely on signature-based detection techniques, are effective against known threats but often fail to identify previously unseen or evolving attacks. To address this limitation, this paper presents an AI-Based Network Intrusion Detection System (AI-NIDS) that combines machine learning with real-time network traffic monitoring to improve intrusion detection capabilities. The proposed system captures live network packets using the Scapy library and extracts essential traffic features, including source and destination IP addresses, protocol type, port numbers, and packet length. These features are processed and classified using a Random Forest machine learning model trained on the NSL-KDD dataset. Based on the prediction results, the system distinguishes normal network traffic from malicious traffic. When suspicious activity is detected, an alert is generated, the intrusion details are stored in SQLite and CSV logs, and the monitoring dashboard is updated using Streamlit for real-time visualization. The experimental evaluation demonstrates that the proposed system provides effective real-time intrusion detection while maintaining efficient performance for continuous network monitoring. The modular architecture enables easy integration, scalability, and future enhancement using advanced machine learning or deep learning techniques. The proposed AI-NIDS offers a practical solution for educational institutions, enterprise networks, and small-to-medium organizations seeking an intelligent and cost-effective approach to network security.

KEYWORDS

Artificial Intelligence Network Intrusion Detection System Machine Learning Random Forest Network Security Scapy Streamlit NSL-KDD.

Cite This Article

Manohar C, Dr .Varalakhmi K R, "AI-Based Network Intrusion Detection System Using Machine Learning," International Journal of Scientific Research in Engineering and Management, vol. 10, no. 8, pp. 1-18, Aug 2026.

Full Article/Conclusion

The increasing complexity of cyber threats has made intelligent intrusion detection systems an essential component of modern network security. Traditional signature-based Network Intrusion Detection Systems (NIDS) are effective in identifying known attacks but often fail to detect previously unseen threats and require frequent signature updates. To overcome these limitations, this research presented an AI-Based Network Intrusion Detection System (AI-NIDS) that integrates machine learning with real-time network traffic monitoring.   The proposed framework employs Scapy for live packet capture, extracts relevant network traffic features, and utilizes a Random Forest classifier trained on the NSL-KDD dataset to classify network traffic as either normal or malicious. Upon detecting suspicious activity, the system automatically generates alerts, records intrusion events in SQLite and CSV logs, and updates an interactive Streamlit dashboard for continuous monitoring.   Experimental evaluation demonstrated that the proposed system achieved a classification accuracy of 97.98%, indicating its effectiveness in identifying malicious network traffic while maintaining efficient real-time performance. The modular architecture allows easy integration of additional machine learning models, datasets, and visualization components. Furthermore, the proposed framework provides a practical and cost-effective solution for educational institutions, enterprise networks, and small-to-medium organizations requiring intelligent network security. Overall, the proposed AI-NIDS successfully combines machine learning, live packet monitoring, automated logging, and dashboard visualization into a unified platform that enhances network security through accurate and real-time intrusion detection.  

References

1.               Tavallaee, M., Bagheri, E., Lu, W., & Ghorbani, A. A., "A Detailed Analysis of the KDD CUP 99 Data Set," IEEE Symposium on Computational Intelligence for Security and Defense Applications, 2009. 2.               Breiman, L., "Random Forests," Machine Learning, 45(1), 5–32, 2001. 3.               Scikit-learn Developers, Scikit-learn Documentation. 4.               Scapy Project Documentation. 5.               Streamlit Documentation. 6.               Pedregosa, F., et al., "Scikit-learn: Machine Learning in Python," Journal of Machine Learning Research, 2011. 7.               McKinney, W., "Data Structures for Statistical Computing in Python," 2010. 8.               Harris, C. R., et al., "Array Programming with NumPy," Nature, 2020. 9.               Python Software Foundation, Python Documentation. 10.           SQLite Documentation.

Editorial & Review Transparency

Publication Date

8/8/2026

Peer Review Type

Double-Blind Peer Review

Review Rounds: 2

Documents

Review Report (Confidential)
Copyright Form (Office)

Article Metrics & Impact

Article Views

0

Total views since publication

PDF Downloads

3

Total downloads since publication

Geographic Reach

5

Indexing, Archiving & Preservation

Google Scholar
Academia
ResearchGate
Crossref
SSRN
Semantic Scholar
Thomson Reuters
WorldCat
Mendeley
OpenAlex
EBSCO
Zenodo

Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.

Ethics, Compliance & Transparency

Plagiarism Screening

This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.

Conflict of Interest

The authors declare no conflict of interest related to this research work.

Funding Information

No funding information available for this research.

Similar & Recommended Articles

Similar Articles by Topic

Related research in the same subject area

Loading similar articles...