# US 10,958,470 B2 · Attributing bus-off attacks based on error frames

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

- Number: US 10,958,470 B2
- Document ID: US10958470B2
- Status: Granted
- Kind: B2
- Application number: 16/181,522
- Filed: 2018-11-06
- Published: 2020-05-07
- Granted: 2021-03-23
- Earliest claimed: 2018-11-06
- Assignees: Lear Corporation
- Applicants: Lear Corporation
- Inventors: William D. Hass; Lars Wolleschensky
- Web page: https://patentgrep.com/patent/US10958470B2

## CPC

- H04L 12/40: Bus networks
- H04L 12/40013: {Details regarding a bus controller}
- G06F 11/0736: {in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function (testing or monitoring of automated control systems G05B23/02)}
- G06F 11/0739: {in a data processing system embedded in automotive or aircraft systems}
- G06F 11/076: {by exceeding a count or rate limit, e.g. word- or bit count limit}
- G06F 11/079: {Root cause analysis, i.e. error or fault diagnosis (in a hardware test environment G06F11/22; in a software test environment G06F11/36)}
- G06F 21/554: {involving event detection and direct action}
- H04L 63/1408: {by monitoring network traffic (monitoring network traffic per se H04L43/00)}
- H04L 63/1416: {Event detection, e.g. attack signature detection}
- H04L 2012/40215: {Controller Area Network CAN}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An error detector is configured to identify transmission errors and maintain a transmit error counter (TEC) value and corresponding network identifier for each of a plurality of electronic control units (ECUs) connected to a network bus. The error detector is configured to adjust the TEC values for the ECUs based on error frames and inform an intrusion detection system when an ECU changes error state. In this manner, the error detector is configured to help identify and attribute attacks by an impersonating node when a message is received containing the network identifier of a legitimate ECU that is in a Bus Off state.

## Claims

### Claim 1

A method for attributing bus-off attacks based on error frames comprising:
maintaining, by an error detector, an estimated transmit error counter (TEC) value for each of a plurality of electronic control units (ECUs) connected to a network bus, each estimated TEC value being associated with a network identifier corresponding to a respective ECU;
monitoring, by the error detector, error frames transmitted over the network bus by the plurality of ECUs;
adjusting, by the error detector, the estimated TEC value for at least one of the plurality of ECUs upon receiving an error frame transmitted on the network bus; and
informing an anomaly detection system when one of the plurality of ECUs changes error state based on the estimated TEC value for that ECU.

### Claim 2 (depends on 1)

The method of claim 1, wherein adjusting the estimated TEC value for at least one of the plurality of ECUs upon receiving an error frame transmitted on the network bus comprises:
receiving an error frame containing enough bits to identify a transmitting ECU based on it network identifier; and
increasing the estimated TEC value for the transmitting ECU based on its network identifier.

### Claim 3 (depends on 1)

The method of claim 1, wherein adjusting the estimated TEC value for at least one of the plurality of ECUs upon receiving an error frame transmitted on the network bus comprises:
determining whether the error frame is indicative of a bit-stuff error when the network identifier is unknown; and
in response to detecting a bit-stuff error, increasing the estimated TEC value for all ECUs that are actively transmitting.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
receiving, at the error detector, a data frame from a transmitting ECU over the network bus;
detecting an error in the data frame; and
increasing, by the error detector, the estimated TEC value for the transmitting ECU based on its network identifier.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
receiving, at the error detector, a data frame from a transmitting ECU over the network bus; and
decreasing, by the error detector, the estimated TEC value for the transmitting ECU based on its network identifier when no transmission errors are detected.

### Claim 6 (depends on 1)

The method of claim 1, wherein informing the anomaly detection system when an ECU changes error state includes informing the anomaly detection system when an ECU transitions from an Error Active state to an Error Passive state based on the estimated TEC value for that ECU.

### Claim 7 (depends on 1)

The method of claim 1, wherein informing the anomaly detection system when an ECU changes error state includes informing the anomaly detection system when an ECU transitions from an Error Passive state to a Bus Off state based on the estimated TEC value for that ECU.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
detecting an attack on the network bus by an impersonating ECU when a message having a network identifier belonging to a target ECU in the Bus Off state is received.

### Claim 9

An error detector connected to a Controller Area Network (CAN) bus, the error detector comprising:
a transceiver; and
a processor configured to:
maintain a transmit error counter (TEC) value for each of a plurality of electronic control units (ECUs) connected to the CAN bus, each TEC value being associated with a network identifier corresponding to a respective ECU;
identify at least a first ECU transmitting an error frame over the CAN bus by its network identifier;
increment the TEC value associated with the first ECU; and
transmit, via the transceiver, a message to an anomaly detection system indicating the first ECU has changed error states in response to the TEC value associated with the first ECU reaching a predetermined value.

### Claim 10 (depends on 9)

The error detector of claim 9, wherein the error detector is integral with a gateway/domain controller.

### Claim 11 (depends on 9)

The error detector of claim 9, wherein the anomaly detection system includes an intrusion detection system.

### Claim 12 (depends on 9)

The error detector of claim 9, wherein the predetermined value is indicative of the first ECU transitioning to an Error Passive state from an Error Active state.

### Claim 13 (depends on 9)

The error detector of claim 9, wherein the predetermined value is indicative of the first ECU transitioning to a Bus Off state.

### Claim 14 (depends on 13)

The error detector of claim 13, wherein the processor is further configured to detect an attack on the CAN bus by an impersonating ECU when a message having a network identifier belonging to the first ECU in the Bus Off state is received.

### Claim 15

A system for attributing bus-off attacks based on error frames comprising:
a network bus;
a plurality of electronic control units (ECUs) connected to the network bus, each of the plurality of ECUs having a network identifier; and
an error detector connected to the network bus, the error detector including a transceiver and a processor, wherein the processor is configured to:
maintain a transmit error counter (TEC) value for each of the plurality of ECUs based on their corresponding network identifier;
identify at least a first ECU transmitting an error frame over the network bus by its network identifier;
increment the TEC value associated with the first ECU; and
transmit, via the transceiver, a message to an anomaly detection system indicating the first ECU has changed error states in response to the TEC value associated with the first ECU reaching a predetermined value.

### Claim 16 (depends on 15)

The system of claim 15, wherein the error detector is integral with a gateway/domain controller.

### Claim 17 (depends on 15)

The system of claim 15, wherein the anomaly detection system includes an intrusion detection system.

### Claim 18 (depends on 15)

The system of claim 15, wherein the predetermined value is indicative of the first ECU transitioning to an Error Passive state.

### Claim 19 (depends on 15)

The system of claim 15, wherein the predetermined value is indicative of the first ECU transitioning to a Bus Off state.

### Claim 20 (depends on 19)

The system of claim 19, wherein the processor is further configured to detect an attack on the network bus by an impersonating ECU when a message having a network identifier belonging to the first ECU in the Bus Off state is received.
