Controller area network bus monitor
First Claim
Patent Images
1. A system to monitor a controller area network bus comprising:
- a hardware processor to;
detect a message from a source electronic control unit in a vehicle;
calculate a location of the source electronic control unit based on at least two arrival times and based on a distance from a first monitor to the source electronic control unit and a distance from a second monitor to the source electronic control unit, wherein the at least two arrival times comprise an error estimating a clock inaccuracy due to clock synchronization, wherein the error is bounded based at least in part on a wave propagation speed;
detect that a distance between the location of the source electronic control unit and a location of a predetermined authorized electronic control unit that processes a function corresponding to the message exceeds a predetermined threshold and that clock values for the source electronic control unit and the predetermined authorized electronic control unit are different; and
generate a warning that the message from the source electronic control unit is malicious in response to detecting a collision on the controller area network bus during transmission of the message and based on the distance between the source electronic control unit and the predetermined authorized electronic control unit and the different clock values, wherein the warning indicates the location of the source electronic control unit that is to be replaced or patched; and
invalidate the message by transmitting a zero bit simultaneously with a cyclic redundancy check delimiter corresponding to the message.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for monitoring a controller area network bus are described herein. In one example, a system comprises a processor that is to detect a message from a source electronic control unit in a vehicle and calculate a location of the source electronic control unit based on at least two arrival times, the arrival times indicating a distance between a first monitor and the source electronic control unit. The processor can also detect that the message corresponds to a function controlled by a second electronic control unit and generate a warning that the message from the source electronic control unit is malicious.
-
Citations
14 Claims
-
1. A system to monitor a controller area network bus comprising:
-
a hardware processor to; detect a message from a source electronic control unit in a vehicle; calculate a location of the source electronic control unit based on at least two arrival times and based on a distance from a first monitor to the source electronic control unit and a distance from a second monitor to the source electronic control unit, wherein the at least two arrival times comprise an error estimating a clock inaccuracy due to clock synchronization, wherein the error is bounded based at least in part on a wave propagation speed; detect that a distance between the location of the source electronic control unit and a location of a predetermined authorized electronic control unit that processes a function corresponding to the message exceeds a predetermined threshold and that clock values for the source electronic control unit and the predetermined authorized electronic control unit are different; and generate a warning that the message from the source electronic control unit is malicious in response to detecting a collision on the controller area network bus during transmission of the message and based on the distance between the source electronic control unit and the predetermined authorized electronic control unit and the different clock values, wherein the warning indicates the location of the source electronic control unit that is to be replaced or patched; and invalidate the message by transmitting a zero bit simultaneously with a cyclic redundancy check delimiter corresponding to the message. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for monitoring a controller area network bus comprising:
-
detecting, via a hardware processor, a message transmitted by the controller area network from a source electronic control unit in a vehicle; calculating, via the hardware processor, a location of the source electronic control unit based on at least two arrival times and based on a distance from a first monitor to the source electronic control unit and a distance from a second monitor to the source electronic control unit, wherein the at least two arrival times comprise an error estimating a clock inaccuracy due to clock synchronization, and wherein the error is bounded based at least in part on a wave propagation speed; detecting that a distance between the location of the source electronic control unit and a location of a predetermined authorized electronic control unit that processes a function corresponding to the message exceeds a predetermined threshold and that clock values for the source electronic control unit and the predetermined authorized electronic control unit are different; and generating, via the hardware processor, a warning that the message from the source electronic control unit is malicious in response to detecting a collision on the controller area network bus during transmission of the message and based on the distance between the source electronic control unit and the predetermined authorized electronic control unit and the different clock values, wherein the warning indicates the location of the source electronic control unit that is to be replaced or patched; and invalidating the message by transmitting a zero bit simultaneously with a cyclic redundancy check delimiter corresponding to the message. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computer program product for monitoring a controller area network bus, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a hardware processor to cause the hardware processor to:
-
detect, via the hardware processor, a message from a source electronic control unit in a vehicle; calculate, via the hardware processor, a location of the source electronic control unit based on at least two arrival times and based on a distance from a first monitor to the source electronic control unit and a distance from a second monitor to the source electronic control unit, wherein the at least two arrival times comprise an error estimating a clock inaccuracy due to clock synchronization, and wherein the error is bounded based at least in part on a wave propagation speed; detect that a distance between the location of the source electronic control unit and a location of a predetermined authorized electronic control unit that processes a function corresponding to the message exceeds a predetermined threshold and that clock values for the source electronic control unit and the predetermined authorized electronic control unit are different; and generate, via the hardware processor, a warning that the message from the source electronic control unit is malicious in response to detecting a collision on the controller area network bus during transmission of the message and based on the distance between the source electronic control unit and the predetermined authorized electronic control unit and the different clock values, wherein the warning indicates the location of the source electronic control unit that is to be replaced or patched; and invalidate the message by transmitting a zero bit simultaneously with a cyclic redundancy check delimiter corresponding to the message. - View Dependent Claims (12, 13, 14)
-
Specification