arXiv:2505.14924eess.SYcs.AR2025-05中稿 · IEEE Embedded Syst…被引 3

将入侵检测嵌入CAN控制器数据通路,实现零软件开销的实时安全防护。

SecCAN: An Extended CAN Controller with Embedded Intrusion Detection

  • 在CAN控制器内部直接检测报文,无需等待完整接收
  • 所有报文尺寸下检测延迟均被隐藏在接收窗口内
  • 适合车载系统部署,资源开销低、能效高

近年研究揭示了车载网络协议(如控制器局域网,CAN)的脆弱性,并提出基于机器学习的入侵检测系统(IDS)作为有效缓解手段。然而,将其高效集成到车辆架构中仍具挑战,现有方法依赖于与ECU耦合的IDS加速器或专用ECU作为加速器,且检测需等待完整报文接收,带来数据搬移和软件开销。本文提出SecCAN,一种新型CAN控制器架构,将IDS能力嵌入控制器数据通路中。该设计使IDS可直接从总线接收报文时进行检测,消除传统方法的开销。我们开发了一款定制量化机器学习加速器作为IDS引擎,嵌入到SecCAN的接收数据路径中,并优化使其推理与协议接收窗口重叠。我们在AMD XCZU7EV FPGA上实现SecCAN,使用多个攻击数据集评估其性能。结果表明,SecCAN可在所有报文尺寸下完全隐藏IDS延迟,以接近顶尖精度检测多种攻击,对ECU无软件开销,每条报文的IDS推理仅消耗73.7 μJ能量。相较于标准CAN控制器,资源开销极小(LUT<30%,FF<1%),非常适合汽车部署。

原文摘要 · Abstract (English)

Recent research has highlighted the vulnerability of in-vehicle network protocols such as controller area networks (CAN) and proposed machine learning-based intrusion detection systems (IDSs) as an effective mitigation technique. However, their efficient integration into vehicular architecture is non-trivial, with existing methods relying on electronic control units (ECUs)-coupled IDS accelerators or dedicated ECUs as IDS accelerators. Here, initiating IDS requires complete reception of a CAN message from the controller, incurring data movement and software overheads. In this paper, we present SecCAN, a novel CAN controller architecture that embeds IDS capability within the datapath of the controller. This integration allows IDS to tap messages directly from within the CAN controller as they are received from the bus, removing overheads incurred by existing ML-based IDSs. A custom-quantised machine-learning accelerator is developed as the IDS engine and embedded into SecCAN's receive data path, with optimisations to overlap the IDS inference with the protocol's reception window. We implement SecCAN on AMD XCZU7EV FPGA to quantify its performance and benefits in hardware, using multiple attack datasets. We show that SecCAN can completely hide the IDS latency within the CAN reception window for all CAN packet sizes and detect multiple attacks with state-of-the-art accuracy with zero software overheads on the ECU and low energy overhead (73.7 uJ per message) for IDS inference. Also, SecCAN incurs limited resource overhead compared to a standard CAN controller (< 30% LUT, < 1% FF), making it ideally suited for automotive deployment.

车联网安全入侵检测FPGA实现

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。