Benchmarking of Machine Learning for Anomaly Based Intrusion Detection Systems in the CICIDS2017 Dataset
Top Cited Papers
Open Access
- 3 February 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 9, 22351-22370
Abstract
An intrusion detection system (IDS) is an important protection instrument for detecting complex network attacks. Various machine learning (ML) or deep learning (DL) algorithms have been proposed for implementing anomaly-based IDS (AIDS). Our review of the AIDS literature identifies some issues in related work, including the randomness of the selected algorithms, parameters, and testing criteria, the application of old datasets, or shallow analyses and validation of the results. This paper comprehensively reviews previous studies on AIDS by using a set of criteria with different datasets and types of attacks to set benchmarking outcomes that can reveal the suitable AIDS algorithms, parameters, and testing criteria. Specifically, this paper applies 10 popular supervised and unsupervised ML algorithms for identifying effective and efficient ML-AIDS of networks and computers. These supervised ML algorithms include the artificial neural network (ANN), decision tree (DT), k-nearest neighbor (k-NN), naive Bayes (NB), random forest (RF), support vector machine (SVM), and convolutional neural network (CNN) algorithms, whereas the unsupervised ML algorithms include the expectation-maximization (EM), k-means, and self-organizing maps (SOM) algorithms. Several models of these algorithms are introduced, and the turning and training parameters of each algorithm are examined to achieve an optimal classifier evaluation. Unlike previous studies, this study evaluates the performance of AIDS by measuring the true positive and negative rates, accuracy, precision, recall, and F-Score of 31 ML-AIDS models. The training and testing time for ML-AIDS models are also considered in measuring their performance efficiency given that time complexity is an important factor in AIDSs. The ML-AIDS models are tested by using a recent and highly unbalanced multiclass CICIDS2017 dataset that involves real-world network attacks. In general, the k-NN-AIDS, DT-AIDS, and NB-AIDS models obtain the best results and show a greater capability in detecting web attacks compared with other models that demonstrate irregular and inferior results.Keywords
Funding Information
- Ministry of Higher Education (MOHE) through Fundamental Research Grant Scheme (FRGS/1/2018/ICT04/UTHM/03/4)
This publication has 60 references indexed in Scilit:
- Network intrusion detection system using J48 Decision Tree2015
- Intrusion Detection in 802.11 Networks: Empirical Evaluation of Threats and a Public DatasetIEEE Communications Surveys & Tutorials, 2015
- Performance analysis of NSL-KDD dataset using ANN2015
- Analysis of KDD Dataset Attributes - Class wise for Intrusion DetectionProcedia Computer Science, 2015
- False alarm minimization techniques in signature-based intrusion detection systems: A surveyComputer Communications, 2014
- Analysis of KDD CUP 99 Dataset using Clustering based Data MiningInternational Journal of Database Theory and Application, 2013
- Data Mining in Intrusion Detection: A Comparative Study of Methods, Types and Data SetsInternational Journal of Information Technology and Computer Science, 2013
- Testing Intrusion detection systemsACM Transactions on Information and System Security, 2000
- The self-organizing mapNeurocomputing, 1998
- The expectation-maximization algorithmIEEE Signal Processing Magazine, 1996