# US 2022/0035916 A1 · System and method for identifying compromised electronic controller using intentionally induced error

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

- Number: US 2022/0035916 A1
- Document ID: US20220035916A1
- Status: Published application
- Kind: A1
- Application number: 17/230,199
- Filed: 2021-04-14
- Published: 2022-02-03
- Earliest claimed: 2020-07-29
- Assignees: Hyundai Motor Company; Kia Corporation; Korea University Research and Business Foundation
- Applicants: Hyundai Motor Company; Kia Corporation; Korea University Research and Business Foundation
- Inventors: Dong Hoon Lee; Wonsuk Choi; Kyungho Joo; Seyoung Lee; Aram Cho
- Web page: https://patentgrep.com/patent/US20220035916A1

## CPC

- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- H04L 63/1441: {Countermeasures against malicious traffic (countermeasures against attacks on cryptographic mechanisms H04L9/002)}
- H04L 12/40: Bus networks
- H04L 12/40013: {Details regarding a bus controller}
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- G06F 2221/034: Test or assess a computer or a system
- H04L 2012/40215: {Controller Area Network CAN}
- H04L 2012/40273: {the transportation system being a vehicle}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system and method for identifying a compromised controller using an intentional error are provided. The method, performed by an electronic device in a controller area network (CAN), for identifying a compromised electronic control unit (ECU) that transmits an attack message on a CAN bus in a periodic transmission cycle. The method includes, in response to detecting the attack message, transitioning a first ECU among a plurality of ECUs connected to the CAN bus to a bus-off state intentionally, and determining whether the first ECU is the compromised ECU based at least in part on a time, which is predicted from recovery parameters related to the first ECU, for when the first ECU resumes transmission of a CAN message and a time when the attack message is redetected on the CAN bus.

## Claims

### Claim 1

A method, performed by an electronic device in a controller area network (CAN), for identifying a compromised electronic control unit (ECU) that transmits an attack message on a CAN bus in a periodic transmission cycle, the method comprising:
in response to detecting the attack message, transitioning a first ECU among a plurality of ECUs connected to the CAN bus to a bus-off state intentionally; and
determining whether the first ECU is the compromised ECU based at least in part on a time, which is predicted from recovery parameters related to the first ECU, for when the first ECU resumes a transmission of a CAN message and a time when the attack message is redetected on the CAN bus.

### Claim 2 (depends on 1)

The method of claim 1, wherein the transitioning to the bus-off state comprises:
transmitting a diagnosis request message corresponding to the first ECU;
monitoring the CAN bus to detect an initiation of transmission of a diagnosis response message by the first ECU; and
in response to detecting the initiation of transmission of the diagnosis response message, causing a transmission error in the diagnosis response message by transmitting a plurality of dominant bits to the CAN bus until the first ECU transitions to the bus-off state.

### Claim 3 (depends on 1)

The method of claim 1, wherein the determining comprises:
predicting, as a predicted transmission resumption time, the time for when the first ECU resumes the transmission of the CAN message by using the recovery parameters related to the first ECU; and
determining that the first ECU is the compromised ECU in response to determining that a difference between the predicted transmission resumption time and the time when the attack message is redetected on the CAN bus is less than or equal to a preset threshold time.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
in response to determining that the difference between the predicted transmission resumption time and the time when the attack message is redetected on the CAN bus is greater than the preset threshold time, transitioning a second ECU different from the first ECU to a bus-off state intentionally; and
determining whether the second ECU is the compromised ECU based at least in part on a time, which is predicted from recovery parameters related to the second ECU, for when the second ECU resumes a transmission of a CAN message and a time when the attack message is redetected on the CAN bus.

### Claim 5 (depends on 1)

The method of claim 1, wherein the determining comprises:
calculating, as a calculated recovery time, a time for when the first ECU recovers from the bus-off state by using the recovery parameters related to the first ECU; and
determining whether the first ECU is the compromised ECU based on whether the attack message is redetected on the CAN bus before the calculated recovery time.

### Claim 6 (depends on 1)

The method of claim 1, wherein the transitioning of the first ECU to the bus-off state comprises:
transitioning the first ECU to the bus-off state repeatedly to prevent the transmission of the CAN message by the first ECU for a period greater than the periodic transmission cycle of the attack message, and
wherein the determining comprises:
determining whether the first ECU is the compromised ECU based on whether the attack message is redetected on the CAN bus while the first ECU is in the bus-off state.

### Claim 7

A method, performed by an electronic device in a controller area network (CAN), for analyzing recovery parameters related to a recovery of an electronic control unit (ECU), connected to a CAN bus, from a bus-off state, the method comprising:
transitioning the ECU that periodically transmits a controller area network message (CAN message) to the bus-off state intentionally;
monitoring the CAN bus to receive the CAN message that is resumed to be transmitted following the recovery of the ECU from the bus-off state; and
analyzing the recovery parameters of the ECU based in part on a time when the CAN message is received.

### Claim 8 (depends on 7)

The method of claim 7, wherein the transitioning of the ECU to the bus-off state comprises:
transmitting a diagnosis request message corresponding to the ECU;
monitoring the CAN bus to detect an initiation of transmission of a diagnosis response message by the ECU; and
in response to detecting the initiation of transmission of the diagnosis response message, causing a transmission error in the diagnosis response message by transmitting a plurality of dominant bits to the CAN bus until the ECU transitions to the bus-off state.

### Claim 9 (depends on 7)

The method of claim 7, wherein the analyzing comprises:
analyzing the recovery parameters, including a Wait Time, a Controller Recovery Type, and a Timer Behavior of the ECU based on at least one of a time when the ECU transmits a last CAN message before the ECU transitions to the bus-off state, a time when the ECU transitions to the bus-off state, and a time when the ECU transmits a first CAN message after the ECU recovers from the bus-off state.

### Claim 10 (depends on 7)

The method of claim 7, further comprising:
storing the recovery parameters non-transiently.

### Claim 11

An electronic device for identifying a compromised electronic control unit (ECU) that transmits an attack message on a controller area network bus (CAN bus) in a periodic transmission cycle, the electronic device comprising:
an error generating unit configured to, in response to detecting the attack message, transition a first ECU among a plurality of ECUs connected to the CAN bus to a bus-off state intentionally; and
a compromised-ECU identification unit configured to determine whether the first ECU is the compromised ECU based at least in part on a time, which is predicted from recovery parameters related to the first ECU, for when the first ECU resumes a transmission of a CAN message and a time when the attack message is redetected on the CAN bus.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein the error generating unit is configured to:
transmit a diagnosis request message corresponding to the first ECU,
monitor the CAN bus to detect an initiation of transmission of a diagnosis response message by the first ECU, and
in response to detecting the initiation of transmission of the diagnosis response message, cause a transmission error in the diagnosis response message by transmitting a plurality of dominant bits to the CAN bus until the first ECU transitions to the bus-off state.

### Claim 13 (depends on 11)

The electronic device of claim 11, wherein the compromised-ECU identification unit is configured to:
predict, as a predicted transmission resumption time, the time for when the first ECU resumes the transmission of the CAN message by using the recovery parameters related to the first ECU, and
determine that the first ECU is the compromised ECU in response to determining that a difference between the predicted transmission resumption time and the time when the attack message is redetected on the CAN bus is less than or equal to a preset threshold time.

### Claim 14 (depends on 13)

The electronic device of claim 13, wherein:
the error generating unit is configured to, in response to determining that the difference between the predicted transmission resumption time and the time when the attack message is redetected on the CAN bus is greater than the preset threshold time, transition a second ECU different from the first ECU to a bus-off state intentionally, and
the compromised-ECU identification unit is configured to determine whether the second ECU is the compromised ECU based at least in part on a time, which is predicted from recovery parameters related to the second ECU, for when the second ECU resumes a transmission of a CAN message and a time when the attack message is redetected on the CAN bus.

### Claim 15 (depends on 11)

The electronic device of claim 11, wherein the compromised-ECU identification unit is configured to:
calculate, as a calculated recovery time, a time for when the first ECU recovers from the bus-off state by using the recovery parameters related to the first ECU; and
determine whether the first ECU is the compromised ECU based on whether the attack message is redetected on the CAN bus before the calculated recovery time.

### Claim 16 (depends on 11)

The electronic device of claim 11, wherein
the error generating unit is configured to transition the first ECU to the bus-off state repeatedly to prevent the transmission of the CAN message by the first ECU for a period greater than the periodic transmission cycle of the attack message, and
the compromised-ECU identification unit is configured to determine whether the first ECU is a compromised ECU based on whether the attack message is redetected on the CAN bus while the first ECU is in the bus-off state.

### Claim 17

An electronic device for analyzing recovery parameters related to a recovery of an electronic control unit (ECU), connected to a controller area network bus (CAN bus), from a bus-off state, the electronic device comprising:
an error generating unit configured to transition the ECU that periodically transmits a controller area network message (CAN message) to the bus-off state intentionally; and
a parameter analysis unit configured to monitor the CAN bus to receive the CAN message that is resumed to be transmitted following the recovery of the ECU from the bus-off state, and to analyze the recovery parameters of the ECU based in part on a time when the CAN message is received.

### Claim 18 (depends on 17)

The electronic device of claim 17, wherein the error generating unit is configured to:
transmit a diagnosis request message corresponding to the ECU,
monitor the CAN bus to detect an initiation of transmission of a diagnosis response message by the ECU, and
in response to detecting the initiation of transmission of the diagnosis response message for causing a transmission error in the diagnosis response message by transmitting a plurality of dominant bits to the CAN bus until the ECU transitions to the bus-off state.

### Claim 19 (depends on 17)

The electronic device of claim 17, wherein the parameter analysis unit is configured to analyze the recovery parameters, including a Wait Time, a Controller Recovery Type, and a Timer Behavior of the ECU, based on at least one of a time when the ECU transmits a last CAN message before the ECU transitions to the bus-off state, a time when the ECU transitions to the bus-off state, and a time when the ECU transmits a first CAN message after the ECU recovers from the bus-off state.

### Claim 20 (depends on 17)

The electronic device of claim 17, wherein the parameter analysis unit is configured to store the recovery parameters non-transiently by associating the recovery parameters with the ECU.
