Abstract
The intrusion detection system (IDS) is an important aspect of network security. This research article presents an analysis of machine and deep learning algorithms for intrusion detection systems. The study utilizes the CICIDS2017 dataset that consists of 79 features. Multilayer perceptrons (MLPs) and random forests (RFs) algorithms are implemented. Four features extraction techniques (information gain, extra tree, random forest, and correlation) are considered for experimentation. Two models have been presented, the first one using the machine learning random forest (RF) algorithm and the second using deep learning multilayer perceptron (MLP) algorithm. The increased accuracy has been observed when using the random forest algorithm. The RF algorithm gives the best results for the four feature selection techniques, thus proving that RF is better than MLP. The RF algorithm gives 99.90% accuracy, and 0.068% false positive rate (FPR) with 36 features. Furthermore, the dimensionality of the features has been reduced from 79 to 18 features with an accuracy of 99.70% and FRP of 0.19%.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Vinayakumar R, Alazab M, Soman KP, Poornachandran P, Al-Nemrat A, Venkatraman S (2019) Deep learning approach for ıntelligent ıntrusion detection system. IEEE Access 7:41525–41550. https://doi.org/10.1109/ACCESS.2019.2895334
Abdulraheem MH, Ibraheem NB (2019) A detailed analysis of new intrusion detection dataset. J Theor Appl Inf Technol 97(17):4519–4537
Hagar AA, Chaudhary DG, Al-bakhrani ALIA, Gawali BW (2020) Big Data analytic using machine learning algorithms for intrusion detection system: a survey, vol 10, no 3, pp 6063–6084
Buczak AL, Guven E (2016) A survey of data mining and machine learning methods for cyber security intrusion detection. IEEE Commun Surv Tutorials 18(2):1153–1176. https://doi.org/10.1109/COMST.2015.2494502
Sathesh A (2019) Enhanced soft computıng approaches for intrusion. J Soft Comput Paradigm 1(2):69–79
Farhan RI, Maolood AT, Hassan NF (2020) Performance analysis of flow-based attacks detection on CSE-CIC-IDS2018 dataset using deep learning. Indonesian J Electr Eng Comput Sci 20(3):1413–1418. https://doi.org/10.11591/ijeecs.v20.i3.pp1413-1418
Karatas G, Demir O, Sahingoz OK (2020) Increasing the performance of machine learning-based IDSs on an imbalanced and up-to-date dataset. IEEE Access 8:32150–32162. https://doi.org/10.1109/ACCESS.2020.2973219
Joe CV, Raj JS (2021) Deniable authentication encryption for privacy protection using blockchain. J Artif Intell Capsule Netw 3(3):259–271
Goeschel K (2016) Reducing false positives in intrusion detection systems using data-mining techniques utilizing support vector machines, decision trees, and Naive Bayes for off-line analysis. In: Conference Proceedings—IEEE SOUTHEASTCON, vol 2016. https://doi.org/10.1109/SECON.2016.7506774
Leevy JL, Khoshgoftaar TM (2020) A survey and analysis of intrusion detection models based on CSE-CIC-IDS2018 Big Data. J Big Data 7(1). https://doi.org/10.1186/s40537-020-00382-x
Almansob SMH, Lomte SS (2017) Addressing challenges in big data intrusion detection system using machine learning techniques. Int J Comput Sci Eng 5(11):127–130. https://doi.org/10.26438/ijcse/v5i11.127130
Peng K, Leung VCM, Huang Q (2018) Clustering approach based on mini batch Kmeans for ıntrusion detection system over Big Data. IEEE Access 6:11897–11906. https://doi.org/10.1109/ACCESS.2018.2810267
Ustebay S, Turgut Z, Aydin MA (2018) Intrusion detection system with recursive feature elimination by using random forest and deep learning classifier. In: 2018 International congress on big data, deep learning and fighting cyber terrorism, pp 71–76
Tang TA, Ali S, Zaidi R, Mclernon D, Mhamdi L, Ghogho M (2018) Deep recurrent neural network for ıntrusion detection in SDN-based networks
Peng K, Leung VCM, Zheng L, Wang S, Huang C, Lin T (2018) Intrusion detection system based on decision tree over big data in fog environment. Wirel Commun Mob Comput 2018. https://doi.org/10.1155/2018/4680867
Potluri S, Henry NF, Diedrich C (2017) Evaluation of hybrid deep learning techniques for ensuring security in networked control systems
Jiang J et al (2018) IEEE International conference on big data science and engineering method for application layer DdoS. In: 2018 17th IEEE International conference on trustworthy security and privacy computer communication. 12th IEEE International conference on big data science and engineering, pp 1565–1569 (2018). https://doi.org/10.1109/TrustCom/BigDataSE.2018.00225
Sharafaldin I, Lashkari AH, Ghorbani AA (2018) Toward generating a new intrusion detection dataset and intrusion traffic characterization. In: ICISSP 2018—Proceedings of 4th International conference on ınformation systems, security and privacy, vol 2018, no Cic, pp 108–116. https://doi.org/10.5220/0006639801080116
Potluri S, Diedrich C (2016) Accelerated deep neural networks for enhanced ıntrusion detection system
Vijayanand R, Devaraj D, Kannapiran B (2018) Intrusion detection system for wireless mesh network using multiple support vector machine classifiers with genetic-algorithm-based feature selection. Comput Secur. https://doi.org/10.1016/j.cose.2018.04.010
Stiawan D, Yazid M, Bamhdi AM (2020) CICIDS-2017 dataset feature analysis with ınformation gain for anomaly detection. IEEE Access XX:1–12. https://doi.org/10.1109/ACCESS.2020.3009843
Abdulhamed R et al (2019) Features dimensionality reduction approaches for machine learning based network. Electronics. https://doi.org/10.3390/electronics8030322
Hamid Y, Balasaraswathi VR, Journaux L, Sugumaran M (2018) Benchmark datasets for network intrusion detection: a review. Int J Netw Secur 20(4):7. https://doi.org/10.6633/IJNS.2018xx.20(x).xx
Othman SM, Ba-Alwi FM, Alsohybe NT, Al-Hashida AY (2018) Intrusion detection model using machine learning algorithm on Big Data environment. J Big Data 5(1). https://doi.org/10.1186/s40537-018-0145-4
Keerthi Vasan K, Surendiran B (2016) Dimensionality reduction using principal component analysis for network intrusion detection. Perspect Sci 8:510–512. https://doi.org/10.1016/j.pisc.2016.05.010
Zhou L, Pan S, Wang J, Vasilakos AV (2017) Machine learning on big data: opportunities and challenges. Neurocomputing 237:350–361. https://doi.org/10.1016/j.neucom.2017.01.026
Genuer R, Poggi JM, Tuleau-Malot C, Villa-Vialaneix N (2017) Random forests for big data. Big Data Res 9:28–46. https://doi.org/10.1016/j.bdr.2017.07.003
Chockwanich N, Visoottiviseth V (2019) Intrusion detection by deep learning with tensorflow. In: International conference on advanced communication technology (ICACT), vol 2019, pp 654–659. https://doi.org/10.23919/ICACT.2019.8701969
Abirami S, Chitra P (2020) Energy-efficient edge based real-time healthcare support system, 1st edn, vol 117, no 1. Elsevier
Basnet RB, Shash R, Johnson C, Walgren L, Doleck T (2019) Towards detecting and classifying network intrusion traffic using deep learning frameworks. J Internet Serv Inf Secur 9(4):1–17. https://doi.org/10.22667/JISIS.2019.11.30.001
Wang L, Jones R (2017) Big data analytics for network intrusion detection: a survey. Int J Netw Commun 7(1):24–31. https://doi.org/10.5923/j.ijnc.20170701.03
Dahiya P, Srivastava DK (2020) Intrusion detection system on big data using deep learning techniques. Int J Innov Technol Exploring Eng 9(4):3242–3247. https://doi.org/10.35940/ijitee.D2011.029420
Fernandes G, Carvalho LF, Rodrigues JJPC, Proença ML (2016) Network anomaly detection using IP flows with principal component analysis and ant colony optimization. J Netw Comput Appl 64:1–11. https://doi.org/10.1016/j.jnca.2015.11.024
Kato K, Klyuev V (2017) Development of a network intrusion detection system using Apache Hadoop and Spark. In: 2017 IEEE conference on dependable security and computing, pp 416–423. https://doi.org/10.1109/DESEC.2017.8073860
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Hagar, A.A., Gawali, B.W. (2023). Implementation of Machine and Deep Learning Algorithms for Intrusion Detection System. In: Rajakumar, G., Du, KL., Vuppalapati, C., Beligiannis, G.N. (eds) Intelligent Communication Technologies and Virtual Mobile Networks. Lecture Notes on Data Engineering and Communications Technologies, vol 131. Springer, Singapore. https://doi.org/10.1007/978-981-19-1844-5_1
Download citation
DOI: https://doi.org/10.1007/978-981-19-1844-5_1
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-19-1843-8
Online ISBN: 978-981-19-1844-5
eBook Packages: EngineeringEngineering (R0)