Network Intrusion Detection Model Based on CNN and GRU
Source abstract
Abstract
A network intrusion detection model that fuses a convolutional neural network and a gated recurrent unit is proposed to address the problems associated with the low accuracy of existing intrusion detection models for the multiple classification of intrusions and low accuracy of class imbalance data detection. In this model, a hybrid sampling algorithm combining Adaptive Synthetic Sampling (ADASYN) and Repeated Edited nearest neighbors (RENN) is used for sample processing to solve the problem of positive and negative sample imbalance in the original dataset. The feature selection is carried out by combining Random Forest algorithm and Pearson correlation analysis to solve the problem of feature redundancy. Then, the spatial features are extracted by using a convolutional neural network, and further extracted by fusing Averagepooling and Maxpooling, using attention mechanism to assign different weights to the features, thus reducing the overhead and improving the model performance. At the same time, a Gated Recurrent Unit (GRU) is used to extract the long-distance dependent information features to achieve comprehensive and effective feature learning. Finally, a softmax function is used for classification. The proposed intrusion detection model is evaluated based on the UNSW_NB15, NSL-KDD, and CIC-IDS2017 datasets, and the experimental results show that the classification accuracy reaches 86.25%, 99.69%, 99.65%, which are 1.95%, 0.47% and 0.12% higher than that of the same type of CNN-GRU, and can solve the problems of low classification accuracy and class imbalance well.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Network Security and Intrusion Detection · Internet Traffic Analysis and Secure E-voting · Anomaly Detection Techniques and Applications
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
College of Air and Missile Defense, Air Force Engineering University, Xi’an 710051, China
College of Computer, Chang’an University, Xi’an 710061, China
Funding
National Natural Science Foundation of China
References (63)
Show source-provided references
1. Yang, L., and Quan, Y. (2018). Dynamic Enabling Cyberspace Defense, People’s Posts and Telecommunications Press.
2. A Novel Selection Method of Network Intrusion Optimal Route Detection Based on Naive Bayesian
3. Intrusion Detection Model of Weighted Navie Bayes Based on Particle Swarm Optimization Algorithm
4. A network intrusion detection system based on a Hidden Naïve Bayes multiclass classifier10.1016/j.eswa.2012.07.009 ↗
5. Teng, L., Teng, S., Tang, F., Zhu, H., Zhang, W., Liu, D., and Liang, L. (2014, January 14). A Collaborative and Adaptive Intrusion Detection Based on SVMs and Decision Trees. Proceedings of the IEEE International Conference on Data Mining Workshop, Shenzhen, China.10.1109/ICDMW.2014.147 ↗
6. SVM Intrusion Detection Model Based on Compressed Sampling
7. Reddy, R.R., Ramadevi, Y., and Sunitha, K.V.N. (2016, January 21–24). Effective discriminant function for intrusion detection using SVM. Proceedings of the International Conference on Advances in Computing, Communications and Informatics (ICACCI), Jaipur, India.10.1109/ICACCI.2016.7732199 ↗
8. An Improved Intrusion Detection Algorithm Based on GA and SVM10.1109/ACCESS.2018.2810198 ↗
9. An Effective Intrusion Detection Framework Based on SVM with Feature Augmentation10.1016/j.knosys.2017.09.014 ↗
10. An SVM-Based Ensemble Approach for Intrusion Detection10.4018/IJITWE.2019010104 ↗
11. Sahu, S., and Mehtre, B.M. (2015, January 10–13). Network intrusion detection system using J48 Decision Tree. Proceedings of the International Conference on Advances in Computing, Communications and Informatics (ICACCI), Kochi, India.10.1109/ICACCI.2015.7275914 ↗
12. Relative Decision Entropy Based Decision Tree Algorithm and Its Application in Intrusion Detection
13. Ahmim, A., Maglaras, L.A., Ferrag, M.A., Derdour, M., and Janicke, H. (2019, January 29–31). A Novel Hierarchical Intrusion Detection System Based on Decision Tree and Rules-Based Models. Proceedings of the 15th International Conference on Distributed Computing in Sensor Systems (DCOSS), Santorini Island, Greece.10.1109/DCOSS.2019.00059 ↗
14. A Multinomial Logistic Regression Modeling Approach for Anomaly Intrusion Detection10.1016/j.cose.2005.05.003 ↗
15. Kamarudin, M.H., Maple, C., Watson, T., and Sofian, H. (2015, January 29–31). Packet Header Intrusion Detection with Binary Logistic Regression Approach in Detecting R2L and U2R Attacks. Proceedings of the Fourth International Conference on Cyber Security, Cyber Warfare, and Digital Forensic (CyberSec), Jakarta, Indonesia.10.1109/CyberSec.2015.28 ↗
16. Ioannou, C., and Vassiliou, V. (November, January 28). An Intrusion Detection System for Constrained WSN and IoT Nodes Based on Binary Logistic Regression. Proceedings of the 21st ACM International Conference on Modeling, Analysis and Simulation of Wireless and Mobile Systems, Montreal, QC, Canada.
17. Deep Learning10.1038/nature14539 ↗
18. Krizhevsky, A., Sutskever, I., and Hinton, G.E. (2012, January 3–6). ImageNet Classification with Deep Convolutional Neural Networks. Proceedings of the Annual Conference on Neural Information Processing Systems (NIPS), Lake Tahoe, NV, USA.
19. Situation, trends and prospects of deep learning applied to cyberspace security
20. Javaid, A., Niyaz, Q., Sun, W., and Alam, M. (2015, January 3–5). A deep learning approach for network intrusion detection system. Proceedings of the 9th EAI International Conference on Bio-inspired Information and Communications Technologies, New York, NY, USA.10.4108/eai.3-12-2015.2262516 ↗
21. HAST-IDS: Learning Hierarchical Spatial-Temporal Features Using Deep Neural Networks to Improve Intrusion Detection10.1109/ACCESS.2017.2780250 ↗
22. A network intrusion detection method incorporating WaveNet and BiGRU
23. Intrusion detection model based on principal component analysis and cyclic neural network
24. Network intrusion detection method based on autoencoder and RESNET
25. Combinatorial Intrusion Detection Model Based on Deep Recurrent Neural Network and Improved SMOTE Algorithm
26. He, H., Bai, Y., Garcia, E.A., and Li, S. (2008, January 1–8). ADASYN: Adaptive synthetic sampling approach for imbalanced learning. Proceedings of the IEEE International Joint Conference on Neural Networks (IEEE World Congress on Computational Intelligence), Hong Kong, China.
27. Review of Classification Methods on Unbalanced Data Sets10.1109/ACCESS.2021.3074243 ↗
28. Research on lane line detection based on RC-DBSCAN
29. TSE-IDS: A two-stage classifier ensemble for intelligent anomaly-based intrusion detection system10.1109/ACCESS.2019.2928048 ↗
30. A convolutional neural-based learning classifier system for detecting database intrusion via insider attack10.1016/j.ins.2019.09.055 ↗
31. Le, T.-T.-H., Kim, Y., and Kim, H. (2019). Network Intrusion Detection Based on Novel Feature Selection Model and Various Recurrent Neural Networks. Appl. Sci., 9.10.3390/app9071392 ↗
32. A hybrid deep learning model for efficient intrusion detection in big data environment10.1016/j.ins.2019.10.069 ↗
33. Louk, M.H.L., and Tama, B.A. (2021). Exploring Ensemble-Based Class Imbalance Learners for Intrusion Detection in Industrial Control Networks. Big Data Cogn. Comput., 5.10.3390/bdcc5040072 ↗
34. Intrusion detection of imbalanced network traffic based on machine learning and deep learning10.1109/ACCESS.2020.3048198 ↗
35. Intrusion detection based on improved density peak clustering for imbalanced data on sensor-cloud systems10.1016/j.sysarc.2021.102212 ↗
36. Alharbi, A., Alosaimi, W., Alyami, H., Rauf, H.T., and Damaševičius, R. (2021). Botnet Attack Detection Using Local Global Best Bat Algorithm for Industrial Internet of Things. Electronics, 10.10.3390/electronics10111341 ↗
37. Toldinas, J., Venčkauskas, A., Damaševičius, R., Grigaliūnas, Š., Morkevičius, N., and Baranauskas, E. (2021). A Novel Approach for Network Intrusion Detection Using Multistage Deep Learning Image Recognition. Electronics, 10.10.3390/electronics10151854 ↗
38. Khan, M.A. (2021). HCRNNIDS: Hybrid Convolutional Recurrent Neural Network-Based Network Intrusion Detection System. Processes, 9.10.3390/pr9050834 ↗
39. A hybrid unsupervised clustering-based anomaly detection method10.26599/TST.2019.9010051 ↗
40. Secure blockchain enabled Cyber-physical systems in healthcare using deep belief network with ResNet model10.1016/j.jpdc.2021.03.011 ↗
41. Panigrahi, R., Borah, S., Bhoi, A.K., Ijaz, M.F., Pramanik, M., Kumar, Y., and Jhaveri, R.H. (2021). A Consolidated Decision Tree-Based Intrusion Detection System for Binary and Multiclass Imbalanced Datasets. Mathematics, 9.10.3390/math9070751 ↗
42. Multi-Stage Optimized Machine Learning Framework for Network Intrusion Detection10.1109/TNSM.2020.3014929 ↗
43. Industrial Security Solution for Virtual Reality10.1109/JIOT.2020.3004469 ↗
44. Siamese Neural Network Based Few-Shot Learning for Anomaly Detection in Industrial Cyber-Physical Systems10.1109/TII.2020.3047675 ↗
45. Variational LSTM Enhanced Anomaly Detection for Industrial Big Data10.1109/TII.2020.3022432 ↗
46. Correlation and variable importance in random forests10.1007/s11222-016-9646-1 ↗
47. Gradient-based learning applied to document recognition10.1109/5.726791 ↗
48. Ferrari, V., Hebert, M., Sminchisescu, C., and Weiss, Y. (2018). CBAM: Convolutional Block Attention Module. Computer Vision—ECCV 2018. ECCV 2018. Lecture Notes in Computer Science, Springer.10.1007/978-3-030-01252-6 ↗
49. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep Residual Learning for Image Recognition. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
50. Xie, S., Girshick, R., Dollár, P., Tu, Z., and He, K. (2017, January 21–26). Aggregated residual transformations for deep neural networks. Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.10.1109/CVPR.2017.634 ↗
51. Debar, H., Mé, L., and Wu, S.F. (2000). Analysis and Results of the 1999 DARPA Off-Line Intrusion Detection Evaluation. Recent Advances in Intrusion Detection. RAID 2000; Lecture Notes in Computer Science, Springer.10.1007/3-540-39945-3 ↗
52. Multi-dimensional feature fusion and stacking ensemble mechanism for network intrusion detection10.1016/j.future.2021.03.024 ↗
53. Tavallaee, M., Bagheri, E., Lu, W., and Ghorbani, A.A. (2009, January 8–10). A detailed analysis of the KDD CUP 99 data set. Proceedings of the 2009 IEEE Symposium on Computational Intelligence for Security and Defense Applications, Ottawa, ON, Canada.10.1109/CISDA.2009.5356528 ↗
54. Multi-layer perceptron for network intrusion detection
55. Damasevicius, R., Venckauskas, A., Grigaliunas, S., Toldinas, J., Morkevicius, N., Aleliunas, T., and Smuikys, P. (2020). LITNET-2020: An Annotated Real-World Network Flow Dataset for Network Intrusion Detection. Electronics, 9.10.3390/electronics9050800 ↗
56. Xiao, Y., and Xiao, X. (2019). An Intrusion Detection System Based on a Simplified Residual Network. Information, 10.10.3390/info10110356 ↗
57. An Intrusion Detection Model Based on Feature Reduction and Convolutional Neural Networks10.1109/ACCESS.2019.2904620 ↗
58. Multivariate Abnormal Detection for Industrial Control Systems Using 1D CNN and GRU10.1109/ACCESS.2020.2993335 ↗
59. Sinha, J., and Manollas, M. (2020, January 26–28). Efficient deep CNN-BILSTM model for network intrusion detection. Proceedings of the 3rd International Conference on Artificial Intelligence and Pattern Recognition, Xiamen, China.10.1145/3430199.3430224 ↗
60. Niu, Q., and Li, X. (2020, January 12–14). A High-performance Web Attack Detection Method based on CNN-GRU Model. Proceedings of the IEEE 4th Information Technology, Networking, Electronic and Automation Control Conference (ITNEC), Chongqing, China.10.1109/ITNEC48623.2020.9085028 ↗
61. Jiang, Y., Jia, M., Zhang, B., and Deng, L. (2021, January 22–24). Malicious Domain Name Detection Model Based on CNN-GRU-Attention. Proceedings of the 33rd Chinese Control and Decision Conference (CCDC), Kunming, China.10.1109/CCDC52312.2021.9602373 ↗
62. A deep learning model to effectively capture mutation information in multivariate time series prediction10.1016/j.knosys.2020.106139 ↗
63. An Air Target Tactical Intention Recognition Model Based on Bidirectional GRU With Attention Mechanism10.1109/ACCESS.2021.3135495 ↗