汽车工程 ›› 2023, Vol. 45 ›› Issue (7): 1184-1191.doi: 10.19562/j.chinasae.qcgc.2023.07.009

所属专题: 智能网联汽车技术专题-控制2023年

• 专题:汽车智能化关键技术 • 上一篇    下一篇

基于样本熵的车载CAN网络入侵检测

崔英祥,张幽彤,魏洪乾()   

  1. 北京理工大学机械与车辆学院,北京 100081
  • 收稿日期:2022-12-13 修回日期:2023-01-28 出版日期:2023-07-25 发布日期:2023-07-25
  • 通讯作者: 魏洪乾 E-mail:bit_hongqian@126.com
  • 基金资助:
    国家重点研发计划“网络空间安全与治理”(2021YFB3101501);国家自然科学基金(52202461);中国博士后科学基金(2022TQ0032);汽车新技术安徽省工程技术研究中心开放基金(QCKJ202202A)

An Intrusion Detection System for In-vehicle CAN Network Based on Sample Entropy

Yingxiang Cui,Youtong Zhang,Hongqian Wei()   

  1. School of Mechanical Engineering,Beijing Institute of Technology,Beijing 100081
  • Received:2022-12-13 Revised:2023-01-28 Online:2023-07-25 Published:2023-07-25
  • Contact: Hongqian Wei E-mail:bit_hongqian@126.com

摘要:

汽车的智能化和无人化发展增加了对汽车总线网络的依赖,如汽车的实时动力控制、操纵控制等均需要借助车载CAN网络作为信息传递的媒介。然而不像工业互联网等具有完善的信息鉴别和身份认证机制,车载CAN网络缺乏足够的安全防护措施,容易被不法分子入侵。因此,为提高车载CAN网络的安全通信保障,本文提出一种基于样本熵的入侵检测系统(sample entropy-intrusion detection system, SE-IDS)。具体地,通过实时采样汽车的总线数据构建样本熵测试集,利用样本熵的计算方法统计样本熵值,通过观察熵值的突变情况确定该时刻是否有攻击发生。此外,利用实际汽车ECU(electronic control unit)进行了硬件在环测试,分别验证了提出的方法对DOS(denial of service)攻击、模糊攻击、bus-off攻击的检测能力。测试结果表明,DOS攻击、模糊攻击、bus-off攻击均会使稳定的样本熵值出现不可导点,可以据此作为通信异常的标志,从而确定CAN网络遭受的入侵行为。此外,嵌入式设备的在线检测同样验证了该方法在实际ECU上的实时执行能力。

关键词: 汽车总线网络, 入侵检测系统, 样本熵, 攻击模拟

Abstract:

The intelligent and unmanned development of automobiles has increased the dependence on the automobile bus network, such as the real-time power control of the automobile, the automobile steering control, etc., which require the automobile CAN network as the carrier of information transmission. However, unlike the industrial Internet, which has sound mechanism of information identification and identity authentication, the on-board CAN network lacks sufficient security protection measures and is easy to be invaded by criminals. Therefore, in order to enhance the secure communication capability of the vehicle CAN network, an intrusion detection system based on sample entropy is proposed in this paper. Specifically, the sample entropy test set is constructed by sampling the bus data of the car in real time, and the sample entropy value is counted by using the sample entropy calculation method, the sudden change of which is observed to determine whether there is an attack at this moment. In addition, this paper uses the actual automotive ECU to conduct a hardware-in-the-loop test to verify the detection capabilities of the proposed method for DOS attacks, fuzzy attacks, and bus-off attacks. The test results show that DOS attack, fuzzy attack, and bus-off attack will make the stable sample entropy value appear non-conductive point, which can be used as an abnormal sign of communication data to determine the intrusion behavior of CAN network. In addition, the online detection of embedded devices also verifies the real-time execution ability of this method on actual ECUs.

Key words: automobile bus network, intrusion detection system, sample entropy, attack simulation