Gao Fei, Liu Jinshuo, Liu Yingqi, Gao Zhenhai, Zhao Rui
State Key Laboratory of Automotive Simulation and Control, Jilin University, Changchun 130025, China.
College of Automotive Engineering, Jilin University, Changchun 130025, China.
Sensors (Basel). 2024 May 27;24(11):3461. doi: 10.3390/s24113461.
As an enhanced version of standard CAN, the Controller Area Network with Flexible Data (CAN-FD) rate is vulnerable to attacks due to its lack of information security measures. However, although anomaly detection is an effective method to prevent attacks, the accuracy of detection needs further improvement. In this paper, we propose a novel intrusion detection model for the CAN-FD bus, comprising two sub-models: Anomaly Data Detection Model (ADDM) for spotting anomalies and Anomaly Classification Detection Model (ACDM) for identifying and classifying anomaly types. ADDM employs Long Short-Term Memory (LSTM) layers to capture the long-range dependencies and temporal patterns within CAN-FD frame data, thus identifying frames that deviate from established norms. ACDM is enhanced with the attention mechanism that weights LSTM outputs, further improving the identification of sequence-based relationships and facilitating multi-attack classification. The method is evaluated on two datasets: a real-vehicle dataset including frames designed by us based on known attack patterns, and the CAN-FD Intrusion Dataset, developed by the Hacking and Countermeasure Research Lab. Our method offers broader applicability and more refined classification in anomaly detection. Compared with existing advanced LSTM-based and CNN-LSTM-based methods, our method exhibits superior performance in detection, achieving an improvement in accuracy of 1.44% and 1.01%, respectively.
作为标准CAN的增强版本,灵活数据速率控制器局域网(CAN-FD)由于缺乏信息安全措施而容易受到攻击。然而,尽管异常检测是一种有效的防攻击方法,但其检测准确性仍需进一步提高。在本文中,我们提出了一种针对CAN-FD总线的新型入侵检测模型,该模型由两个子模型组成:用于发现异常的异常数据检测模型(ADDM)和用于识别及分类异常类型的异常分类检测模型(ACDM)。ADDM采用长短期记忆(LSTM)层来捕捉CAN-FD帧数据中的长期依赖关系和时间模式,从而识别出偏离既定规范的帧。ACDM通过对LSTM输出进行加权的注意力机制得到增强,进一步改善了基于序列关系的识别,并有助于多攻击分类。该方法在两个数据集上进行了评估:一个是我们基于已知攻击模式设计的包含帧的实车数据集,另一个是由黑客与对策研究实验室开发的CAN-FD入侵数据集。我们的方法在异常检测中具有更广泛的适用性和更精细的分类。与现有的基于先进LSTM和基于CNN-LSTM的方法相比,我们的方法在检测方面表现出卓越的性能,准确率分别提高了1.44%和1.01%。