Anti-attack method and system of CAN bus message based on block chain technology
A CAN bus and block chain technology, applied in the anti-attack method and system field of CAN bus messages, can solve the CAN bus environment that cannot effectively resist attacks, the shared secret key is easily cracked by violence, and cannot be applied to high real-time performance and other issues to achieve the effect of preventing malicious tampering of data and enhancing security
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2018-03-02
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention belongs to the field of message anti-attack technology, and in particular relates to an anti-attack method and system for CAN bus messages based on block chain technology. Background technique
[0002] Blockchain technology originated from Bitcoin and is a new application model of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain technology mainly solves the trust problem existing in the openness of the Internet. It is characterized by decentralization, openness and transparency, and allows everyone to participate in database records.
[0003] In the CAN bus, because the CAN bus uses a broadcast mechanism, each ECU can send or monitor the information on the bus, so there is a possibility of being maliciously attacked, such as a hacker impersonating a certain ECU, sending abnormal instructions to other ECUs or resetting Any message sent before wil...
Examples
Embodiment Construction
[0032] In order to make the object, technical solution and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with the examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
[0033] The invention utilizes the principle of block chain technology, and improves the account book method generated in the block chain, generates a code book with a fixed length and updates it in real time. Each ECU uses the same initial codebook, and encrypts the arbitration domain data and codebook monitored each time to obtain the latest codebook. The length of the codebook is fixed at 12 bits. Before sending the message, use the cipherbook to encrypt the data field information, obtain the encrypted data field, and finally send it out. The ECU filters according to the identifier in the arbitration field, and after obt...