Abstract

In-vehicle electronic control unit (ECU) communications generally count on private protocols (defined by the manufacturers) under controller area network (CAN) specifications. Parsing the private protocols for a particular vehicle model would be of great significance in testing the vehicle’s resistance to various attacks, as well as in designing efficient intrusion detection and prevention systems (IDPS) for the vehicle. This paper proposes a suite of methods for parsing ECU private protocols on in-vehicle CAN network. These methods include an algorithm for parsing discrete variables (encoded in a discrete manner, e.g., gear state), an algorithm for parsing continuous variables (encoded in a continuous manner, e.g., vehicle speed), and a parsing method based on upper-layer protocols (e.g., OBD and UDS). Extensive verifications have been performed on five different brands of automobiles (including an electric vehicle) to demonstrate the universality and the correctness of these parsing algorithms. Some parsing tips and experiences are also presented. Our continuous-variables parsing algorithm could run in a semi-automatic manner and the parsing algorithm from upper-layer protocols could execute in a completely automatic manner. One might view the results obtained by our parsing algorithms as an important indicator of penetration testing on in-vehicle CAN network.

Highlights

  • Modern vehicles become more and more networked and intelligent, which brings passengers better driving experiences, and introduces more attack surfaces

  • Since communication security was not a primary concern at the beginning of controller area network (CAN) design, it is not a surprise that the in-vehicle network is exposed to numerous security threats [12,13,14,15,16]

  • This paper looks into the traffic captured on the CAN bus and proposes a suite of methods to parsing private protocols for in-vehicle electronic control unit (ECU) communications

Read more

Summary

Introduction

Modern vehicles become more and more networked and intelligent, which brings passengers better driving experiences, and introduces more attack surfaces. This paper looks into the traffic captured on the CAN bus and proposes a suite of methods to parsing private protocols for in-vehicle ECU communications. These methods are universally applicable to most vehicle models on the market. Upper-layer protocols, such as OBD and UDS, can be used to obtain the current value of certain physical variable of a vehicle. These values are used as a reference, and the values of the original data on the CAN bus are fitted to obtain the content to be parsed.

CAN Data Frame and UDS Protocol
Parsing Continuous Variables
Parsing Method Based on Upper-Layer Protocols
Experimental Analysis
Correctness
Efficiency
Targeted Fuzzy Testing
Full View on Physical Variables
Findings
Conclusions
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call