Netinfo Security ›› 2025, Vol. 25 ›› Issue (3): 478-493.doi: 10.3969/j.issn.1671-1122.2025.03.010

Previous Articles     Next Articles

CAN Bus Intrusion Detection Method Based on Spatio-Temporal Graph Neural Networks

LIU Chenfei1,2, WAN Liang1,2()   

  1. 1. State Key Laboratory of Public Big Data, Guiyang 550025, China
    2. College of Computer Science and Technology, Guizhou University, Guiyang 550025, China
  • Received:2025-01-14 Online:2025-03-10 Published:2025-03-26
  • Contact: WAN Liang E-mail:lwan@gzu.edu.cn

Abstract:

The Controller Area Network in modern intelligent vehicles serves as the primary communication medium connecting various Electronic Control Units. However, it faces numerous security threats due to the lack of encryption and authentication mechanisms. Traditional deep learning-based intrusion detection methods fail to fully consider the contextual relationships and temporal dynamics of CAN messages, leading to insufficient accuracy in detecting complex attacks. This paper proposed a spatio-temporal graph neural network-based intrusion detection method, GNLNet. The method constructed CAN message graphs within predefined time windows using message IDs, captured temporal associations of CAN messages to enhance the modeling of spatio-temporal information. The model first extracted local spatial features using GraphSage, then enhanced node interactions with a bidirectional graph attention network, and finally analyzed time series data with Long Short-Term Memory networks to capture dynamic changes over time. Experimental results on the Car_hacking and Survival_Analysis datasets demonstrate that GNLNet achieve detection accuracy and F1 score to 99% in identifying and classifying complex attacks such as DoS and Fuzzy, surpasses existing methods.

Key words: CAN bus, intrusion detection, spatio-temporal graph neural network, bidirectional graph attention network, spatio-temporal analysis

CLC Number: