# US 2020/0394341 A1 · Message source detection in a vehicle bus system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0394341 A1
- Document ID: US20200394341A1
- Status: Published application
- Kind: A1
- Application number: 16/614,452
- Filed: 2019-05-14
- Published: 2020-12-17
- Earliest claimed: 2018-07-24
- Assignees: Enigmatos Ltd.
- Applicants: Enigmatos Ltd.
- Inventors: Charly BITTON; Alexander FOK; Eyal KAMIR; Yoni MALKA; Orit FREDKOF; Liran ZWICKL; Meni DALI; Uriel FRIEDMAN
- Web page: https://patentgrep.com/patent/US20200394341A1

## CPC

- G06F 21/85: interconnection devices, e.g. bus-connected or in-line devices
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- G06N 20/00: Machine learning
- H04L 12/40104: {Security; Encryption; Content protection (cryptographic protocols H04L9/00; protocols for network security H04L63/00)}
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 2012/40215: {Controller Area Network CAN}
- H04L 2012/40273: {the transportation system being a vehicle}
- H04W 4/48: for in-vehicle communication
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

Systems and methods for identifying the source of a message transmitted on the CAN bus of a vehicle, by creating a unique signature for each ECU. The system is further configured to detest malicious activities on a CAN bus system having a given physical configuration. The signature of an ECU is created based on the non-linearity of the CAN bus, by determining from at least one pulse of a read message a training-signature that includes a pair of sub-signatures: a rising-sub-signature of the rising response, and a falling-sub-signature of the falling response, as viewed by said message generating ECU. By reading a plurality of messages from the ECUs operationally integrated on the CAN bus system, a classification & prediction methodology is used to create, for each message generating ECU, from the respective training-signatures, a unique ECU-signature.

## Claims

### Claim 1

A method for creating an ECU-signature for an Electronic Control Unit (ECU), the ECU being integrally operating within a CAN-bus sub-system of a vehicle, the CAN-bus sub-system having at least two ECUs, the method comprising the steps of:
a) reading and storing into a memory storage a plurality of CAN-bus messages, wherein each of said CAN-bus message is generated by an ECU of said at least two ECUs;
b) based on the non-linearity of the CAN bus, determining from at least one pulse of each of said read message a training-signature, wherein each of said training-signatures comprises a pair of sub-signatures:
i) a rising-sub-signature of the rising response, being the impulse response of the rising section of said at least one pulse of the CAN bus system, as viewed by said message generating ECU; and
ii) a falling-sub-signature of the falling response, being the impulse response of the falling section of said at least one pulse of the CAN bus system, as viewed by said message generating ECU; and
c) for each of said message generating ECUs, determine a unique ECU-signature from said respective training-signatures.

### Claim 2 (depends on 1)

The ECU-signature creating method of claim 1, wherein said creating of an ECU-signature is performed for all ECUs operating in the CAN-bus sub-system of the vehicle, and wherein said method further comprises the steps of:
d) extracting from each of said read CAN-bus messages a respective training message-ID;
e) associating each of said training message-ID with a respective training signature that correspond to a mutual read message;
f) recording each of said associated pair of a training signature and a training message-ID; and
g) classifying all of said pairs of said respective training message-IDs and training signatures, yielding K trained-classes, each of said trained-class having a unique signature-vector, wherein each of said trained-classes represents an ECU of said at least two ECUs, and said unique signature-vector is the ECU-signature of that ECU.

### Claim 3 (depends on 2)

The ECU-signature creating method of claim 2, further comprising the steps of:
h) recording said triplets of ECU-features, each comprising a training signature, a training message-ID and respective ECU-ID, in a non-volatile memory storage.

### Claim 4 (depends on 1)

The ECU-signature creating method of claim 1, wherein said read messages are stored in a temporary memory storage.

### Claim 5 (depends on 1)

The ECU-signature creating method of claim 1, wherein the CAN-bus sub-system is replaced by a vehicle bus sub-system selected from the group including Can-FD, Flexray, and Automotive Ethernet Standards.

### Claim 6

A system for creating a unique ECU-signature for an ECU, the ECU being integrally operating within a CAN-bus sub-system of a vehicle, the CAN-bus sub-system having at least two ECUs, the system comprises a classifier comprising:
a) a controller;
b) a listening-sensor; and
c) a temporary memory storage,
wherein, during a training stage, said classifier is configured to:
a) by said listening-sensor, read from the CAN-bus a plurality of CAN-bus messages, wherein each of said CAN-bus message is generated by an ECU of said at least two ECUs, and store said read CAN-bus messages in said temporary memory storage;
b) based on the non-linearity of the CAN bus, determining from at least one pulse of each of said read message a training-signature, wherein each of said training-signatures comprises a pair of sub-signatures:
i) a rising-sub-signature of the rising response, being the impulse response of the rising section of said at least one pulse of the CAN bus system, as viewed by said message generating ECU; and
ii) a falling-sub-signature of the falling response, being the impulse response of the falling section of said at least one pulse of the CAN bus system, as viewed by said message generating ECU; and
c) for each of said message generating ECUs, determine by said controller a unique ECU-signature from said respective training-signatures.

### Claim 7 (depends on 6)

The ECU-signature creating system of claim 6, wherein, during the training stage, said classifier is further configured to:
d) extract from each of said read CAN-bus messages a respective training message-ID;
e) associate each of said training message-ID with a respective training signature that correspond to a mutual read message;
f) store each of said ECU-IDs in a non-volatile memory storage, wherein said stored ECU-ID is associated with a single ECU-signature and with one or more message-IDs; and
g) classify all of said pairs of said respective training message-IDs and training signatures, yielding K trained-classes, each of said trained-class having a unique signature-vector, wherein each of said trained-classes represents an ECU of said at least two ECUs, and said unique signature-vector is the ECU-signature of that ECU.

### Claim 8 (depends on 7)

The ECU-signature creating system of claim 7, wherein during the training stage, said classifier is further configured to:
h) store said triplets of ECU-features, each comprising a training signature, a training message-ID and respective ECU-ID, in a non-volatile memory storage.

### Claim 9 (depends on 6)

The ECU-signature creating system of claim 6, wherein said classifier is an ECU.

### Claim 10 (depends on 6)

The ECU-signature creating system of claim 6, wherein the CAN-bus sub-system is replaced by a vehicle bus system selected from the group including Can-FD, Flexray, and Automotive Ethernet Standards.

### Claim 11 (depends on 3)

A method for detecting unauthorized messages on a CAN bus system of a vehicle, comprising:
during a training stage:
a) creating of an ECU-signature for all ECUs operating in the CAN-bus sub-system of the vehicle, as in claim 3; and
during real-time operation:
b) reading a CAN-bus message generated by an unknown ECU;
c) extracting from said read CAN-bus message a real-time message-ID;
d) based on the non-linearity of the CAN bus, determining from at least one pulse of said read CAN-bus message a real-time-signature, wherein said real-time-signature comprises a pair of sub-signatures:
i) a rising-sub-signature of the rising response, being the impulse response of the rising section of said at least one pulse of the CAN bus system, as viewed by said message generating ECU; and
ii) a falling-sub-signature of the falling response, being the impulse response of the falling section of said at least one pulse of the CAN bus system, as viewed by said message generating ECU;
e) determining a classX of said K trained-classes, to which said real-time-signature belongs;
f) identifying the ECUX associated with classX;
g) if no classX is found, then it is determined that an unauthorized message was sent from an ECU that was installed without authorization;
h) extracting the one or more training message-IDs associated with ECUX;
i) comparing said real-time message-ID with any one of said extracted training message-IDs;
j) if a match is detected, go back to step (b) for reading a next message; and
k) if no match is found, then:
i) it is concluded that an unauthorized actor took control of an ECU;
ii) taking a preconfigured appropriate action; and
iii) go back to step (b) for reading a next message.

### Claim 12 (depends on 11)

The method for detecting unauthorized messages of claim 11, wherein said taking an appropriate action comprises issuing an alert for an unauthorized message.

### Claim 13 (depends on 12)

The method for detecting unauthorized messages of claim 12, wherein said unauthorized message is a malicious message.

### Claim 14 (depends on 11)

The method for detecting unauthorized messages of claim 11, wherein the CAN-bus sub-system is replaced by a vehicle bus system selected from the group including Can-FD, Flexray, and Automotive Ethernet Standards.

### Claim 15 (depends on 8)

A system for detecting unauthorized messages on a CAN bus system of a vehicle, the CAN-bus sub-system having at least two ECUs, the system comprises a classifier comprising:
a) a controller;
b) a listening-sensor; and
c) a temporary memory storage;
wherein, during a training stage, said classifier is configured to:
a) create of an ECU-signature for all ECUs operating in the CAN-bus sub-system of the vehicle, as in claim 8; and
during real-time operation, said classifier is configured to:
b) read a CAN-bus message generated by an unknown ECU;
c) extract from said read CAN-bus message a real-time message-ID;
d) based on the non-linearity of the CAN bus, determine from at least one pulse of said read CAN-bus message a real-time-signature, wherein said real-time-signature comprises a pair of sub-signatures:
i) a rising-sub-signature of the rising response, being the impulse response of the rising section of said at least one pulse of the CAN bus system, as viewed by said message generating ECU; and
ii) a falling-sub-signature of the falling response, being the impulse response of the falling section of said at least one pulse of the CAN bus system, as viewed by said message generating ECU;
e) determine a classX of said K trained-classes, to which said real-time-signature belongs;
f) identify the ECUX associated with classX;
g) extract the one or more training message-IDs associated with ECUX;
h) compare said real-time message-ID with any one of said extracted training message-IDs;
i) if a match is found, go back to step (b) for a next message; and
j) if a match is found, then:
i) conclude that said read CAN-bus message is an unauthorized message;
ii) take a preconfigured appropriate action; and
iii) go back to step (b) for a next message.

### Claim 16 (depends on 15)

The system for detecting unauthorized messages of claim 15, wherein said classifier is an ECU.

### Claim 17 (depends on 15)

The system for detecting unauthorized messages of claim 15, wherein said unauthorized message is a malicious message.

### Claim 18 (depends on 15)

The system for detecting unauthorized messages of claim 15, wherein if no classX is found, it is determined that an unauthorized message was sent from an ECU that was installed without authorization.

### Claim 19 (depends on 15)

The system for detecting unauthorized messages of claim 15, wherein if no match found when comparing said real-time message-ID with any one of said extracted training message-IDs, it is concluded that an unauthorized actor took control of an ECU.

### Claim 20 (depends on 15)

The system for detecting unauthorized messages of claim 15, wherein the CAN-bus sub-system is replaced by a vehicle bus system selected from the group including Can-FD, Flexray, and Automotive Ethernet Standard.

### Claim 21 (depends on 3)

A method for detecting unauthorized messages on a CAN bus system of a vehicle, wherein arbitration noise exists on the CAN bus, the method comprising:
during a training stage:
a) creating of an ECU-signature for all ECUs operating in the CAN-bus sub-system of the vehicle, as in claim 3; and
during real-time operation:
b) reading a CAN-bus message generated by an unknown ECU;
c) if reached the end of the message, then:
i) it is concluded that an unauthorized actor took control of an ECU;
ii) taking a preconfigured appropriate action; and
iii) exit;
d) selecting the next pulse of said read CAN-bus message;
e) based on the non-linearity of the CAN bus, determining from said selected pulse of said read CAN-bus message a real-time-signature, wherein said real-time-signature comprises a pair of sub-signatures:
i) a rising-sub-signature of the rising response, being the impulse response of the rising section of said at least one pulse of the CAN bus system, as viewed by said message generating ECU; and
ii) a falling-sub-signature of the falling response, being the impulse response of the falling section of said at least one pulse of the CAN bus system, as viewed by said message generating ECU;
f) determining a classX of said K trained-classes, to which said real-time-signature belongs;
g) if no classX is found, then go back to step (d) to select the next pulse;
h) extracting from said read CAN-bus message a real-time message-ID;
i) identifying the ECUX associated with classX;
j) extracting the one or more training message-IDs associated with ECUX;
k) comparing said real-time message-ID with any one of said extracted training message-IDs;
l) if a match is detected, go back to step (b) for reading a next message; and
m) if no match is found, then:
i) it is concluded that an unauthorized actor took control of an ECU;
ii) taking a preconfigured appropriate action; and
iii) go back to step (b) for reading a next message.

### Claim 22 (depends on 21)

The method for detecting unauthorized messages of claim 21, wherein said taking an appropriate action comprises issuing an alert for an unauthorized message.

### Claim 23 (depends on 22)

The method for detecting unauthorized messages of claim 22, wherein said unauthorized message is a malicious message.

### Claim 24 (depends on 21)

The method for detecting unauthorized messages of claim 21, wherein the CAN-bus sub-system is replaced by a vehicle bus system selected from the group including Can-FD, Flexray, and Automotive Ethernet Standards.

### Claim 25 (depends on 8)

A system for detecting unauthorized messages on a CAN bus system of a vehicle, the CAN-bus sub-system having at least two ECUs, the system comprises a classifier comprising:
a) a controller;
b) a listening-sensor; and
c) a temporary memory storage;
wherein, during a training stage, said classifier is configured to:
a) create of an ECU-signature for all ECUs operating in the CAN-bus sub-system of the vehicle, as in claim 8; and
during real-time operation, said classifier is configured to:
b) read a CAN-bus message generated by an unknown ECU;
c) if reached the end of the message, then:
i) it is concluded that an unauthorized actor took control of an ECU;
ii) take a preconfigured appropriate action; and
iii) exit;
d) select the next pulse of said read CAN-bus message
e) based on the non-linearity of the CAN bus, determine from at least one pulse of said read CAN-bus message a real-time-signature, wherein said real-time-signature comprises a pair of sub-signatures:
i) a rising-sub-signature of the rising response, being the impulse response of the rising section of said at least one pulse of the CAN bus system, as viewed by said message generating ECU; and
ii) a falling-sub-signature of the falling response, being the impulse response of the falling section of said at least one pulse of the CAN bus system, as viewed by said message generating ECU;
f) determine a classX of said K trained-classes, to which said real-time-signature belongs;
g) if no classX is found, then go back to step (d) to select the next pulse;
h) extract from said read CAN-bus message a real-time message-ID;
i) identify the ECUX associated with classX;
j) extract the one or more training message-IDs associated with ECUX;
k) compare said real-time message-ID with any one of said extracted training message-IDs;
l) if a match is found, go back to step (b) for a next message; and
m) if a match is found, then:
i) conclude that said read CAN-bus message is an unauthorized message;
ii) take a preconfigured appropriate action; and
iii) go back to step (b) for a next message.

### Claim 26 (depends on 25)

The system for detecting unauthorized messages of claim 25, wherein said classifier is an ECU.

### Claim 27 (depends on 25)

The system for detecting unauthorized messages of claim 25, wherein said unauthorized message is a malicious message.

### Claim 28 (depends on 25)

The system for detecting unauthorized messages of claim 25, wherein if no classX is found, it is determined that an unauthorized message was sent from an ECU that was installed without authorization.

### Claim 29 (depends on 25)

The system for detecting unauthorized messages of claim 25, wherein if no match found when comparing said real-time message-ID with any one of said extracted training message-IDs, it is concluded that an unauthorized actor took control of an ECU.

### Claim 30 (depends on 25)

The system for detecting unauthorized messages of claim 25, wherein the CAN-bus sub-system is replaced by a vehicle bus system selected from the group including Can-FD, Flexray, and Automotive Ethernet Standard.
