A Network Intrusion Detection Method Based on CNN and CBAM

The arrival of the 5G era has opened a new era of the interconnection of everything for the world. Artificial intelligence, autonomous driving, and smart cities have all reached their peaks due to the advent of 5G. However, the network environment is becoming more complex, and the types of cyberattacks are gradually increasing. Once the network device is attacked, the loss it brings cannot be calculated. The intrusion detection system is a very effective measure in protecting network security. In this paper, we proposed a novel network intrusion detection model based on Convolutional Neural Network, which introduces the Convolutional Block Attention Module. Experiments are constructed based on the CIC-IDS2018 dataset. We compare the proposed model with DNN and CNN. The results show that the accuracy of the proposed model can reach 99.8752% in the two-classification case and 97.2887% in the multi-classification case.