A Network Intrusion Detection Model Based on Convolutional Neural Network

  • Wenwei TaoEmail author
  • Wenzhe Zhang
  • Chao Hu
  • Chaohui Hu
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 895)


Intrusion detection is an important research direction in the field of power monitoring network security. The increase of data volume and the diversification of intrusion modes make the traditional detection methods unable to meet the requirements of the current network environment. The emergence of convolutional neural network provides a new way to solve this dilemma. An intrusion detection model based on convolutional neural network is proposed in this paper. The method that converts the flow data into an image is used to represent the flow data in the form of a grayscale image, and use the texture representation in the image to classify the intrusion modes. Through the conversion of traffic data to images, the intrusion detection problem is transformed into image recognition problem, which substitute convolutional neural network technology into the intrusion detection problem. Firstly, the intrusion data set KDD 99 is preprocessed, and generate a two-dimensional image matrix group that meets the requirements. Then, the appropriate model structure for training is selected through comparison experiments. Finally, comparing the trained model with the other machine learning methods is to verify the model about reliability and effectiveness.


Convolutional neural network Image matrix group Intrusion detection 


  1. 1.
    Buczak, A.L., Guven, E.: A survey of data mining and machine learning methods for cyber security intrusion detection. IEEE Commun. Surv. Tutorials 18(2), 1153–1176 (2016)CrossRefGoogle Scholar
  2. 2.
    Nadeem, M., Marshall, O., Singh, S., Fang, X., Yuan, X.: Semi-supervised deep neural network for network intrusion detection. In: KSU Proceedings on Cybersecurity Education, Research and Practice (2016)Google Scholar
  3. 3.
    Staudemeyer, R.C.: Applying long short-term memory recurrent neural networks to intrusion detection. S. Afr. Comput. J. 56(1), 136–154 (2015)Google Scholar
  4. 4.
    Kim, G., Yi, H., Lee, J., Paek, Y., Yoon, S.: LSTM-Based System-Call Language modeling and robust ensemble method for designing Host-Based Intrusion Detection Systems. arXiv preprint arXiv:1611.01726 (2016)
  5. 5.
    Agarap, A.F.: A Neural Network Architecture Combining GatedRecurrent Unit (GRU)and Support Vector Machine (SVM) for Intrusion Detection in Network Traffic Data. arXiv:1709.03082 (2017)
  6. 6.
    Kolosnjaji, B., Zarras, A., Webster, G., Eckert, C.: Deep learning for classification of malware system call sequences. In: 29th Australasian Joint Conference. AI 2016: Advances in Artificial Intelligence, Hobart, pp. 137–149 (2016)Google Scholar
  7. 7.
    Dubey, S., Dubey, J.: KBB: a hybrid method for intrusion detection. In: International Conference on Computer, Communication and Control, pp. 1–6 (2015)Google Scholar
  8. 8.
    Geng, M.X.: A survey of network intrusion detection technology. Network Secur. Technol. Appl. 6, 2830 (2004)Google Scholar
  9. 9.
    Pan, S., Morris, T., Adhikari, U.: Developing a hybrid intrusion detection system using data mining for power systems. IEEE Trans. Smart Grid 6(6), 3104–3113 (2015)CrossRefGoogle Scholar
  10. 10.
    Hinton, G.E.: Deep belief networks. Scholarpedia 4(6), 5947 (2009)CrossRefGoogle Scholar
  11. 11.
    Li, Z., Qin, Z., Huang, K., Yang, X., Ye, S.: Intrusion detection using convolutional neural networks for representation learning. In: Neural Information Processing vol. 10638, pp. 858–866 (2017) Google Scholar
  12. 12.
    Bontemps, L., V., Cao, L., Mcdermott, J., Le-Khac, N. A.: Collective anomaly detection based on long short-term memory recurrent neural networks. In: International Conference on Future Data and Security Engineering, pp. 141–152 (2017)Google Scholar
  13. 13.
    Alom, M.Z., Bontupalli, V.R., Taha, T.M.: Intrusion detection using deep belief networks. In: Aerospace and Electronics Conference, pp. 339–344 (2016)Google Scholar
  14. 14.
    Al-Janabi, S.T.F., Saeed, H. A.: A neural network based anomaly intrusion detection system. In: Developments in E-Systems Engineering, pp. 221–226 (2011)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  1. 1.China Southern Power Grid Co., Ltd.GuangzhouChina
  2. 2.NARI Information & Communication Technology Co., Ltd.NanjingChina
  3. 3.Dingxin Information Technology Co., Ltd.GuangzhouChina

Personalised recommendations