Author
Abstract
Cyberattacks pose a significant risk to network environments today as they can lead to the compromise of sensitive information, disruption of digital service, and compromise the confidentiality, integrity, and availability of information systems. Signature-based intrusion detection systems and firewalls are effective, but they can't detect unknown, modified and zero-day attacks. This research paper proposes a machine-learning approach to build an Intrusion Detection System for network security based on the NSL-KDD dataset, which helps to overcome this limitation. The proposed system uses supervised machine learning algorithms to classify the network traffic as either normal traffic or attack traffic. The methodology consists of data collection, data preprocessing, categorical features encoding, feature selection, model training, testing, prediction and evaluation. Random Forest is the primary classification algorithm and Support Vector Machine and Logistic Regression (LR) are employed in comparison. The implementation of the system is done in Python with the use of libraries like Pandas, NumPy, Scikit-learn, and Matplotlib. The illustrative results demonstrate that the Random Forest attained the most noteworthy correctness of 96.20% which was superior to SVM and Logistic Regression. The confusion matrix, attack distribution and feature-importance analysis further illustrates the ability of machine learning to be used for effective intrusion detection. These results should be considered as illustrative only and once the final model is run on the chosen data set, these should be swapped with the experimental results. The overall findings of the study indicate that application of machine learning can enhance the performance of IDS and it offers a practical base for future real time and deep learning based intrusion detection systems.
Suggested Citation
Najiullah Amin, 2026.
"Machine Learning-Based Intrusion Detection System for Network Security,"
International Journal of Latest Technology in Engineering, Management & Applied Science, International Journal of Latest Technology in Engineering, Management & Applied Science (IJLTEMAS), vol. 15(5), pages 683-697, May.
Handle:
RePEc:bjb:journl:v:15:y:2026:i:5:p:683-697
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:bjb:journl:v:15:y:2026:i:5:p:683-697. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Dr. Pawan Verma (email available below). General contact details of provider: https://www.ijltemas.in/ .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.