System and method for detecting OBD-II CAN BUS message attacks
First Claim
1. A method for detecting security attacks against a vehicle via the vehicle'"'"'s OBD-II (On-Board Diagnostics II) port, the method comprising:
- at an OBD-II CAN (Controller Area Network) message screening system, wherein the OBD-II CAN message screening system is electrically coupled to the vehicle via the OBD-II port;
establishing an OBD-II CAN inbound message whitelist and an OBD-II CAN outbound message blacklist;
in response to receiving an inbound CAN message from a device external to the vehicle, updating statistics of the inbound CAN message and comparing the inbound CAN message with the OBD-II CAN message whitelist;
forwarding the inbound CAN message to the vehicle via the vehicle'"'"'s OBD-II port when the inbound CAN message appears in the OBD-II CAN message whitelist;
in response to receiving an outbound CAN message from the vehicle, updating statistics of the outbound CAN message and comparing the outbound CAN message with the OBD-II CAN message blacklist; and
forwarding the CAN message to an external device via the vehicle'"'"'s OBD-II port when the CAN message does not appear in the OBD-II CAN message blacklist.
1 Assignment
0 Petitions
Accused Products
Abstract
The present application discloses method and system for detecting potential security attacks against a vehicle networking through an OBD-II port. The system establishes an inbound OBD-II CAN message whitelist and an outbound OBD-II CAN message blacklist, respectively. Upon receipt of a CAN message command, the system updates statistics for the command and determines whether the command is inbound or outbound. In response to an inbound command from a device external to the vehicle, the system compares the inbound command with the whitelist and forwards the inbound CAN message command to the vehicle via the vehicle'"'"'s OBD-II port when inbound command appears in the whitelist. In response to an outbound CAN message command from the vehicle, the system compares the outbound command with the blacklist and prevents the outbound command from being sent to an external vehicle via the vehicle'"'"'s OBD-II port when the outbound command appears in the blacklist.
15 Citations
15 Claims
-
1. A method for detecting security attacks against a vehicle via the vehicle'"'"'s OBD-II (On-Board Diagnostics II) port, the method comprising:
-
at an OBD-II CAN (Controller Area Network) message screening system, wherein the OBD-II CAN message screening system is electrically coupled to the vehicle via the OBD-II port; establishing an OBD-II CAN inbound message whitelist and an OBD-II CAN outbound message blacklist; in response to receiving an inbound CAN message from a device external to the vehicle, updating statistics of the inbound CAN message and comparing the inbound CAN message with the OBD-II CAN message whitelist; forwarding the inbound CAN message to the vehicle via the vehicle'"'"'s OBD-II port when the inbound CAN message appears in the OBD-II CAN message whitelist; in response to receiving an outbound CAN message from the vehicle, updating statistics of the outbound CAN message and comparing the outbound CAN message with the OBD-II CAN message blacklist; and forwarding the CAN message to an external device via the vehicle'"'"'s OBD-II port when the CAN message does not appear in the OBD-II CAN message blacklist. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An OBD-II (On-Board Diagnostics II) CAN (Controller Area Network) message screening system comprising:
-
an MCU (Micro Controller Unit); and memory that is electrically coupled to the MCU, wherein the memory stores an inbound OBD-II CAN message whitelist and an outbound OBD-II CAN message blacklist and a plurality of program modules executed by the MCU, and the plurality of program modules further include a CAN message processing module, a communication module, and a message statistic module; wherein; the MCU is configured to transmit an inbound OBD-II CAN message received by the communication module to the CAN message processing module and the message statistic module, respectively;
the message statistic module is configured to update statistics of the inbound CAN message command and report the updated statistics to the MCU;
the CAN message processing module is configured to determine whether the inbound OBD-II CAN message appears in the inbound OBD-II CAN message whitelist and report the determination to the MCU; and
the MCU is configured to forward the inbound OBD-II CAN message to a vehicle coupled to the OBD-II CAN message screening system via an OBD-II port in accordance with the determination and the updated statistics;in response to receiving an outbound CAN message from the vehicle;
the message statistic module is configured to update statistics of the outbound CAN message and report the updated statistics to the MCU;
the CAN message processing module is configured to determine whether the outbound OBD-II CAN message appears in the outbound OBD-II CAN message blacklist and report the determination to the MCU; and
the MCU is configured to forward the outbound OBD-II CAN message to an external device coupled to the OBD-II CAN message screening system via the OBD-II port in accordance with the determination and the updated statistics. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
Specification