Application of Controller Area Network (CAN) bus anomaly detection based on time series prediction

2021 ◽  
Vol 27 ◽  
pp. 100291
Author(s):  
Hongmao Qin ◽  
Mengru Yan ◽  
Haojie Ji
2019 ◽  
Vol 9 (15) ◽  
pp. 3174 ◽  
Author(s):  
Zhou ◽  
Li ◽  
Shen

The in-vehicle controller area network (CAN) bus is one of the essential components for autonomous vehicles, and its safety will be one of the greatest challenges in the field of intelligent vehicles in the future. In this paper, we propose a novel system that uses a deep neural network (DNN) to detect anomalous CAN bus messages. We treat anomaly detection as a cross-domain modelling problem, in which three CAN bus data packets as a group are directly imported into the DNN architecture for parallel training with shared weights. After that, three data packets are represented as three independent feature vectors, which corresponds to three different types of data sequences, namely anchor, positive and negative. The proposed DNN architecture is an embedded triplet loss network that optimizes the distance between the anchor example and the positive example, makes it smaller than the distance between the anchor example and the negative example, and realizes the similarity calculation of samples, which were originally used in face detection. Compared to traditional anomaly detection methods, the proposed method to learn the parameters with shared-weight could improve detection efficiency and detection accuracy. The whole detection system is composed of the front-end and the back-end, which correspond to deep network and triplet loss network, respectively, and are trainable in an end-to-end fashion. Experimental results demonstrate that the proposed technology can make real-time responses to anomalies and attacks to the CAN bus, and significantly improve the detection ratio. To the best of our knowledge, the proposed method is the first used for anomaly detection in the in-vehicle CAN bus.


2021 ◽  
Author(s):  
Xuting Duan ◽  
Huiwen Yan ◽  
Jianshan Zhou

Abstract Because of the rapid development of automobile intelligence and networking, cyber attackers can invade the vehicle network via wired and wireless interfaces, such as physical interfaces, short-range wireless interfaces, and long-range wireless interfaces. Thus, interfering with regular driving will immediately jeopardises the drivers’ and passengers’ personal and property safety. To accomplish security protection for the vehicle CAN (Controller Area Network) bus, we propose an anomaly detection method by calculating the information entropy based on the number of interval messages during the sliding window. It detects periodic attacks on the vehicle CAN bus, such as replay attacks and flooding attacks. First, we calculate the number of interval messages according to the CAN bus baud rate, the number of bits of a single frame message, and the time required to calculate information entropy within the window. Second, we compute the window information entropy of regular packet interval packets and determine the normal threshold range by setting a threshold coefficient. Finally, we calculate the information entropy of the data to be measured, determine whether it is greater than or less than the threshold, and detect the anomaly. The experiment uses CANoe software to simulate the vehicle network. It uses the body frame CAN bus network of a brand automobile body bench as the regular network, simulates attack nodes to attack the regular network periodically, collects message data, and verifies the proposed detection method. The results show that the proposed detection method has lower false-negative and false-positive rates for attack scenarios such as replay attacks and flood attacks across different attack cycles.


2012 ◽  
Vol 163 ◽  
pp. 260-263
Author(s):  
Jing Lin Tong ◽  
Bo Li ◽  
Xiao Bo Wang

This paper introduces the hardware and the communication software design of control system based on Controller Area Network bus. The control system can realize to control the motion of servomotor through high speed C8501F040 single chip microcomputer with Controller Area Network bus and special motion controller - LM628. This system possesses characteristics such as simple structure, high reliability and high performance/price ratio. Key words: CAN bus, LM628, Motion Control System, Communication software


2014 ◽  
Vol 543-547 ◽  
pp. 3499-3502
Author(s):  
Fang Li ◽  
Li Fang Wang

Controller Area Network (CAN) is widely used in automotive and industrial areas. To give guidance in the design process, CAN bus communication model is established using Matlab/SimulinkTM. Considering the error frames on the bus, the formula that calculating CAN response time and bus load is revised. The relating performance indexes of CAN bus is gained separately through calculation and simulation, it concludes that the CAN bus communication model can efficiently simulate the message transfer sequences in the real bus, and achieves an exact result of the performance analysis of the CAN bus system.


Sign in / Sign up

Export Citation Format

Share Document