Analysis of IDS using Feature Selection Approach on NSL-KDD Dataset
Authors: Rahila Rahim, Aamir S Ahanger, Sajad M Khan and Faheem Masoodi
Publishing Date: 26-04-2022
ISBN: 978-93-91842-08-6
Abstract
Due to the increased use of the internet, cyber-attacks are becoming more prominent causing major difficulty in achieving and preventing security risks and threats in the network.There have been a variety of attacks (both passive and aggressive) used to compromise network security and privacy. As a result, network security is becoming an increasingly important aspect in safe guarding and maintaining network dataand resources to ensure dependable, secure access and protection against vulnerabilities. For detecting such attacks quickly and accurately, astrong Intrusion Detection System is required which is a valuable means for detecting intrusions in a network or system by extensively inspecting each packet in the network in real-time, preventing any harm to the user or system resources. In this paper, we proposed astatistical method to train the model with the training data to understand complicated patterns in the dataset and to make intelligent decisions orpredictions whenever it comes across new or previously unseen data instances. For the classification of data, we used five machine learning classifiers such as Support Vector Machine, Decision Tree, Random Forest, AdaBoost, and Logistic Regression. To properly grasp complicated patterns in data, machine learning models require a large amount of data, which iswhy NSL-KDD was utilized to develop and validate supervised machine learning models. Initially, thedataset is pre-processed to remove any unnecessary or undesired dataset features.Feature selection (extra-treeclassifier) were used which combinesthequalitiesofbothfilterandwrappermethods to providefeatures based ontheirimportanceas a result, the dataset dimensionality is reduced, lowering the processing complexity. Finally,the overallclassification accuracy of the various machine learning classifiers wasevaluatedto find the best optimal algorithm for detecting intrusions.
Keywords
Intrusion detection, NIDS, Feature selection, Machine learning, Data classification.
Cite as
Rahila Rahim, Aamir S Ahanger, Sajad M Khan and Faheem Masoodi, "Analysis of IDS using Feature Selection Approach on NSL-KDD Dataset", In: Raju Pal and Praveen Kumar Shukla (eds), SCRS Conference Proceedings on Intelligent Systems, SCRS, India, 2022, pp. 475-481. https://doi.org/10.52458/978-93-91842-08-6-45