# US 11,120,149 B2 · Security system and method for protecting a vehicle electronic system

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

- Number: US 11,120,149 B2
- Document ID: US11120149B2
- Status: Granted
- Kind: B2
- Application number: 16/702,617
- Filed: 2019-12-04
- Published: 2020-04-02
- Granted: 2021-09-14
- Earliest claimed: 2012-03-29
- Assignees: Arilou Information Security Technologies Ltd.
- Applicants: Arilou Information Security Technologies Ltd.
- Inventors: Gil Litichever; Ziv Levi
- Web page: https://patentgrep.com/patent/US11120149B2

## CPC

- G06F 21/604: {Tools and structures for managing or administering access control systems}
- G06F 21/606: {by securing the transmission between two devices or processes}
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F 21/85: interconnection devices, e.g. bus-connected or in-line devices
- H04L 12/40143: {involving priority mechanisms (hybrid switching fabrics H04L12/6402; intermediate storage or scheduling H04L49/90; time-division multiplex systems H04J3/00)}
- H04L 12/40169: {Flexible bus arrangements (arrangements for maintenance or administration involving management of faults; events, alarms H04L41/06; automatic restoration of network faults H04L41/0654)}
- H04L 63/0263: {Rule management}
- H04L 63/0281: {Proxies}
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- H04L 63/14: {for detecting or protecting against malicious traffic}
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 63/1458: {Denial of Service}
- H04L 67/12: specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L 2012/40215: {Controller Area Network CAN}
- H04W 4/48: for in-vehicle communication
- 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)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

Security system for protecting a vehicle electronic system by selectively intervening in the communications path in order to prevent the arrival of malicious messages at ECUs, in particular at the safety critical ECUs. The security system includes a filter which prevents illegal messages sent by any system or device communicating over a vehicle communications bus from reaching their destination. The filter may, at its discretion according to preconfigured rules, send messages as is, block messages, change the content of the messages, request authentication or limit the rate such messages can be delivered, by buffering the messages and sending them only in preconfigured intervals.

## Claims

### Claim 1

A method for exchanging messages between Electronic Control Units (ECUs) in a vehicle over a vehicle communication bus under control of a data unit, each of the messages is composed of multiple parts and is associated with a timing information, the method comprising:
receiving, from the data unit, a rule that includes one or more timing values;
storing, in a first memory, the received rule;
receiving, from a first port via a first transceiver, a first plurality of messages;
passing, blocking, or changing and then passing, part of, or all of, the first plurality of received messages, to a second port via a second transceiver, in response to a comparison of the specific message timing information to the one or more timing values;
controlling, by a processor, the first and second transceivers; and
logging, in a second memory coupled to the processor a metadata that pertains to at least one message received from the first port and an action associated with the at least one the of the first plurality of received message.

### Claim 2 (depends on 1)

The method according to claim 1, for use with an ECU that comprises a single enclosure, and wherein the method is performed in the ECU.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising:
receiving, from the second port via the second transceiver, a second plurality of messages; and
passing, blocking, or changing and then passing, part of, or all of, the second plurality of received messages, to the first port via the first transceiver, in response to a comparison of the specific message timing information to the one or more timing values.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the receiving from the data unit comprises receiving from a third port via a third transceiver.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the receiving of the rule from the data unit is based on, or using, serial communication, and wherein the third port is a serial physical port connection and the third transceiver is a serial data transceiver.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the serial data transceiver comprises a Universal Asynchronous Receiver Transmitter (UART), or wherein the serial communication is based on, or using, RS-232.

### Claim 7 (depends on 4)

The method according to claim 4, further comprising:
receiving, from the first port or from the second port, an additional message; and
passing, to the data unit via the third port, the additional message.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the parts comprise a header, a source identification, a destination identification, or content, and the method further comprising limiting a rate of transmitting messages to the first port.

### Claim 9 (depends on 8)

The method according to claim 8, further comprising adapting, by a buffer coupled between the first and second transceivers, between the messages incoming rate from the second port and the messages outgoing rate to the first port.

### Claim 10 (depends on 1)

The method according to claim 1, wherein a message is transmitted to the first port only a predetermined time interval after a previous message was transmitted.

### Claim 11 (depends on 1)

The method according to claim 1, wherein a message is transmitted to the second port only a predetermined time interval after a previous message was transmitted.

### Claim 12 (depends on 1)

The method according to claim 1, further comprising limiting the rate of transmitting messages to the second port.

### Claim 13 (depends on 12)

The method according to claim 12, further comprising adapting, by a buffer coupled between the first and second transceivers, between the message incoming rate from the first port and the message outgoing rate to the second port.

### Claim 14 (depends on 1)

The method according to claim 1, wherein the first memory stores multiple rules, and wherein the method further comprises responding to the multiple rules.

### Claim 15 (depends on 1)

The method according to claim 1, further comprising emulating, by a communication bus emulator coupled to the first transceiver, a communication bus.

### Claim 16 (depends on 15)

The method according to claim 15, further comprising emulating the communication bus when the first port is not connected to a communication bus.

### Claim 17 (depends on 15)

The method according to claim 15, wherein the receiving from the first port is based on, uses, or is according to, a protocol, and wherein the emulating comprises using a high-level driver and a protocol abstraction.

### Claim 18 (depends on 15)

The method according to claim 15, wherein the communication bus emulator is operative to continuously transmit ‘keep-alive’ messages to the first port.

### Claim 19 (depends on 1)

The method according to claim 1, wherein the first memory is a non-volatile memory.

### Claim 20 (depends on 19)

The method according to claim 19, wherein the non-volatile memory is Flash based.

### Claim 21 (depends on 19)

The method according to claim 19, further comprising fetching the rule from the non-volatile memory, and wherein the passing, the blocking, or the changing and then passing, is in response to the fetched rule.

### Claim 22 (depends on 1)

The method according to claim 1, wherein all the messages received from the first port or from the second port are associated with a property, wherein each of the messages includes a value of the property, wherein the rule identifies the property and one or more values, and wherein the passing, the blocking, or the changing and then passing, of a specific received message is in response to a comparison of the specific message value to the one or more rule values.

### Claim 23 (depends on 22)

The method according to claim 22, wherein the property corresponds to a message header, a message content, a message length, an identification (ID) of a message, a message destination, or any combination thereof.

### Claim 24 (depends on 23)

The method according to claim 23, further comprising encrypting, part of, or whole of, the content of the part of, or all of, the messages that are transmitted via the first or second ports.

### Claim 25 (depends on 1)

The method according to claim 1, wherein the method is performed by a safety critical ECU, and wherein the safety critical ECU comprises, or consists of, an Engine Control Unit (EcU), a Transmission Control Unit (TCU), Anti-Lock Braking System (ABS), Electronic Stability Control (ESC), or a brake control module.

### Claim 26 (depends on 1)

The method according to claim 1, further comprising:
transmitting to, or receiving from, a third port via a third transceiver;
controlling, by the processor, the third transceiver;
passing, blocking, or changing and then passing, part of, or all of, received messages from the third port, to the second port via the second transceiver; and
passing, blocking, or changing and then passing, part of, or all of, received messages from the third port, to the first port via the first transceiver.

### Claim 27 (depends on 1)

The method according to claim 1, further comprising appending a signature to part of, or all of, the messages received from the first port, and transmitting the signed messages to the second port.

### Claim 28 (depends on 27)

The method according to claim 27, further comprising appending a signature to part of, or all of, the messages received from the second port, and transmitting the signed messages to the first port.

### Claim 29 (depends on 27)

The method according to claim 27, further comprising calculating a hash value of the content of the part of, or all of, the messages, and wherein the added signature is based on, or according to, the calculated hash value.

### Claim 30 (depends on 27)

The method according to claim 27, further comprising encrypting the content of the part of, or all of, the messages, and wherein the added signature is based on, or according to, the encrypted content.

### Claim 31 (depends on 30)

The method according to claim 30, wherein the encryption is based on, or uses, a key.

### Claim 32 (depends on 31)

The method according to claim 31, wherein the key is shared with an additional ECU that is a recipient of the transmitted signed messages.

### Claim 33 (depends on 1)

The method according to claim 1, wherein the part of, or all of, the messages include a signature, and wherein the method further comprising verifying the signature.

### Claim 34 (depends on 33)

The method according to claim 33, wherein the verifying comprises calculating a hash value or encrypting the content of the part of, or all of, the messages, and respectively comparing the hash value or the encrypted content to the signature.

### Claim 35 (depends on 33)

The method according to claim 33, wherein the passing, the blocking, or the changing and then passing, is in response to the signature verification.

### Claim 36 (depends on 1)

The method according to claim 1, further comprising temporarily storing, by a buffer coupled to the first transceiver, part of, or all of, the messages received via the first port.

### Claim 37 (depends on 1)

The method according to claim 1, further comprising temporarily storing, by a buffer coupled to the first transceiver, part of, or all of, the messages received via the second port.

### Claim 38 (depends on 1)

The method according to claim 1, further comprising temporarily storing, by a buffer coupled to the first transceiver, part of, or all of, the messages to be transmitted via the first port.

### Claim 39 (depends on 1)

The method according to claim 1, further comprising temporarily storing, by a buffer coupled to the first transceiver, part of, or all of, the messages to be transmitted via the second port.

### Claim 40 (depends on 1)

The method according to claim 1, wherein the first transceiver comprises a physical layer driver adapted to transmit or receive messages respectively to or from the first port.

### Claim 41 (depends on 1)

The method according to claim 1, wherein the second transceiver comprises a physical layer driver adapted to transmit or receive messages respectively to or from the communication bus.

### Claim 42 (depends on 1)

The method according to claim 1, further comprising saving part of, or all of, the messages received from the first port or from the second port.

### Claim 43 (depends on 1)

The method according to claim 1, further comprising deriving and logging statistics associated with the messages received from the first port or from the second port.

### Claim 44 (depends on 1)

The method according to claim 1, further comprising passing, by a filter coupled between the first and second transceivers, messages therebetween.

### Claim 45 (depends on 44)

The method according to claim 44, wherein the filter is part of, or comprises, the processor.

### Claim 46 (depends on 1)

The method according to claim 1, further comprising converting between a first protocol associated with the first port and a second protocol associated with the second port.

### Claim 47 (depends on 1)

The method according to claim 1, for use with an authentication scheme with a first ECU, the scheme uses a message pair consisting of a challenge message and a challenge response message, and wherein the first ECU is determined as authenticated based on using the authentication scheme.

### Claim 48 (depends on 47)

The method according to claim 47, further comprising transmitting to the first port the challenge message, and receiving a response from the first port.

### Claim 49 (depends on 48)

The method according to claim 48, further comprising comparing the received response from the first ECU to the challenge response message, and upon verifying that the received response is identical to the challenge response message, determining that the first ECU as authenticated.

### Claim 50 (depends on 47)

The method according to claim 47, further comprising receiving from the first port the challenge message, and in response transmitting to the first port the challenge response message.

### Claim 51 (depends on 47)

The method according to claim 47, further comprising, in responsive to the determining of the first ECU as authenticated, passing, blocking, or changing and then passing, the received messages to the second port.

### Claim 52 (depends on 47)

The method according to claim 47, further comprising, in responsive to the determining of the first ECU as authenticated, passing, blocking, or changing and then passing, the received messages to the first port.

### Claim 53 (depends on 1)

The method according to claim 1, for use with a plurality of ECUs coupled to transmit messages to, and receive messages from, a communication bus, and for use with an authentication scheme that uses a message pair consisting of a challenge message and a challenge response message, wherein the method further comprising communicating with the plurality of ECUs over the communication bus, and determining a first ECU from the plurality of ECUs as authenticated based on using the authentication scheme.

### Claim 54 (depends on 53)

The method according to claim 53, further comprising transmitting to the first ECU via the second port the challenge message, and receiving a response from the first ECU via the second physical port.

### Claim 55 (depends on 54)

The method according to claim 54, further comprising comparing the received response from the first ECU to the challenge response message, and upon verifying that the received response is identical to the challenge response message, determining the first ECU as authenticated.

### Claim 56 (depends on 53)

The method according to claim 53, further comprising receiving from the first ECU via the second port the challenge message, and in response transmitting to the first ECU via the second physical port the challenge response message.

### Claim 57 (depends on 53)

The method according to claim 53, wherein each of the messages includes identification of the source or destination ECU, and wherein the method further comprising, responsive to the determining of the first ECU as authenticated, passing, blocking, or changing and then passing, the received messages that include the first ECU as a source or destination.

### Claim 58 (depends on 1)

The method according to claim 1, wherein the first port or the second port are coupled to a vehicle communication bus that uses, or is compatible with, a multi-master, serial protocol using acknowledgement, arbitration, and error-detection schemes.

### Claim 59 (depends on 58)

The method according to claim 58, wherein the vehicle communication bus employs, uses, is based on, or is compatible with, a synchronous and frame-based protocol.

### Claim 60 (depends on 59)

The method according to claim 59, wherein the vehicle communication bus consists of, employs, uses, is based on, or is compatible with, a Controller Area Network (CAN).

### Claim 61 (depends on 58)

The method according to claim 58, wherein the vehicle communication bus employs, uses, is based on, or is compatible with, a Local Interconnect Network (LIN), FlexRay protocol, or Vehicle Area Network (VAN) bus.

### Claim 62 (depends on 58)

The method according to claim 58, wherein the vehicle communication bus is based on, uses, or is compatible with, MOD-BUS, MIL-STD-1553, or MIL-STD-1773 (ARINC).

### Claim 63 (depends on 1)

The method according to claim 1, the method being performed by an Engine Control Unit (EcU), immobilizer, or antitheft unit.

### Claim 64 (depends on 1)

The method according to claim 1, wherein the first port or the second port are coupled to an infotainment system, wireless tire pressure sensor (TPMS), Course Computer Unit (CCU), or telematics unit.

### Claim 65 (depends on 1)

The method according to claim 1, further comprising coupling to receive data in a vehicle from a unit that is external to the vehicle.

### Claim 66 (depends on 65)

The method according to claim 65, wherein the coupling comprises wirelessly coupling to receive data from the unit that is external to the vehicle.

### Claim 67 (depends on 65)

The method according to claim 65, wherein the coupling comprises wirelessly coupling to receive radio or a Radio Data System (RDS) or to receive via cellular communication.

### Claim 68 (depends on 1)

The method according to claim 1, being performed in a vehicle that comprises a vehicle communication bus and an Electronic Control Unit (ECU).

### Claim 69 (depends on 68)

The method according to claim 68, wherein the vehicle comprises, or consists of, a car, a truck, a motorcycle, a train, a tank, an airplane, a missile, a spaceship, a rocket, or a robot.

### Claim 70 (depends on 68)

The method according to claim 68, further comprising communicating using Vehicle-to-Vehicle (V2V) or Vehicle-to-Infrastructure (V2I) communication.
