Modern vehicles rely on a myriad of electronic control units (ECUs) interconnected via controller area networks (CANs) for critical operations. Despite their ubiquitous use and reliability, CANs are susceptible to sophisticated cyberattacks, particularly masquerade attacks, which inject false data that mimic legitimate messages at the expected frequency. These attacks pose severe risks such as unintended acceleration, brake deactivation, and rogue steering. Traditional intrusion detection systems (IDS) often struggle to detect these subtle intrusions due to their seamless integration into normal traffic. This paper introduces a novel framework for detecting masquerade attacks in the CAN bus using graph machine learning (ML). We hypothesize that the integration of shallow graph embeddings with time series features derived from CAN frames enhances the detection of masquerade attacks. We show that by representing CAN bus frames as message sequence graphs (MSGs) and enriching each node with contextual statistical attributes from time series, we can enhance detection capabilities across various attack patterns compared to using graph-based features only. Our method ensures a comprehensive and dynamic analysis of CAN frame interactions, improving robustness and efficiency. Extensive experiments on the ROAD dataset validate the effectiveness of our approach, demonstrating statistically significant improvements in the detection rates of masquerade attacks compared to a baseline that uses graph-based features only as confirmed by Mann-Whitney U and Kolmogorov-Smirnov tests p < 0.05.
翻译:现代车辆依赖大量通过控制器局域网(CAN)互连的电子控制单元(ECU)执行关键操作。尽管CAN网络应用广泛且可靠,但其易受复杂网络攻击,尤其是伪装攻击,此类攻击以预期频率注入模仿合法消息的虚假数据。这些攻击可能导致严重风险,如意外加速、制动失效和异常转向。传统入侵检测系统(IDS)由于攻击流量与正常流量无缝融合,往往难以检测此类隐蔽入侵。本文提出一种利用图机器学习(ML)检测CAN总线中伪装攻击的新框架。我们假设将浅层图嵌入与从CAN帧提取的时间序列特征相结合,可增强对伪装攻击的检测能力。通过将CAN总线帧表示为消息序列图(MSG),并为每个节点赋予来自时间序列的上下文统计属性,相比仅使用基于图的特征,我们能够提升针对多种攻击模式的检测能力。该方法确保了对CAN帧交互进行全面动态分析,提高了鲁棒性和效率。在ROAD数据集上的大量实验验证了本方法的有效性,与仅使用基于图特征的基线相比,在伪装攻击检测率上显示出统计学显著提升,经Mann-Whitney U和Kolmogorov-Smirnov检验证实p < 0.05。