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

CN107749845AActive Publication Date: 2018-03-02CHENGDU UNIV OF INFORMATION TECH
6 Cites 13 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2018-03-02

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention belongs to the technical field of anti-attack of messages, and discloses an anti-attack method and system of a CAN bus message based on the block chain technology. The method comprises the following steps: improving an account book generated in a block chain, generating a password with a fixed length and updating the password in real time; performing, by each ECU, encryption processing on arbitration domain data monitored every time and a code book to obtain a new code book; before a message is sent, encrypting the data domain information via the latest code book to obtain an encrypted data domain, and finally sending the data domain; filtering, by the ECU, an identifier in the arbitration domain to obtain the necessary message, analyzing the message to obtain the encrypted data domain, and decrypting the encrypted data domain by using own code book; then judging the validity of the data obtained by decryption; and if the data are valid, executing the data, and otherwise,discarding the data. By adoption of the anti-attack method and system, the counterfeit, replay and other attacks can be defended, and the security of the vehicle is enhanced.
Need to check novelty before this filing date? Find Prior Art

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...