CAN-D: A Modular Four-Step Pipeline for Comprehensively Decoding Controller Area Network Data
Autor: | Jordan J. Sosnowski, Samuel C. Hollifield, Michael D. Iannacone, Miki E. Verma, Robert A. Bridges |
---|---|
Rok vydání: | 2021 |
Předmět: |
Signal Processing (eess.SP)
FOS: Computer and information sciences Computer Networks and Communications Computer science Network packet business.industry Other Computer Science (cs.OH) Pipeline (computing) Aerospace Engineering Byte ComputerApplications_COMPUTERSINOTHERSYSTEMS Modular design Signal Computer engineering Computer Science - Other Computer Science Encoding (memory) Endianness Automotive Engineering FOS: Electrical engineering electronic engineering information engineering Electrical Engineering and Systems Science - Signal Processing Electrical and Electronic Engineering business Decoding methods |
Zdroj: | IEEE Transactions on Vehicular Technology. 70:9685-9700 |
ISSN: | 1939-9359 0018-9545 |
DOI: | 10.1109/tvt.2021.3092354 |
Popis: | Controller area networks (CANs) are a broadcast protocol for real-time communication of critical vehicle subsystems. Original equipment manufacturers of passenger vehicles hold secret their mappings of CAN data to vehicle signals, and these definitions vary according to make, model, and year. Without these mappings, the wealth of real-time vehicle information hidden in the CAN packets is uninterpretable, severely impeding vehicle-related research, including CAN cybersecurity and privacy studies, aftermarket tuning, efficiency and performance monitoring, and fault diagnosis to name a few. Guided by the four-part CAN signal definition, we present CAN-D (CAN-Decoder), a modular, four-step pipeline for identifying each signal's boundaries (start bit and length), endianness (byte ordering), signedness (bit-to-integer encoding), and by leveraging diagnostic standards, augmenting a subset of the extracted signals with meaningful, physical interpretation. En route to CAN-D, we provide a comprehensive review of the CAN signal reverse engineering research. All previous methods ignore endianness and signedness, rendering them incapable of decoding many standard CAN signal definitions. Incorporating endianness grows the search space from 128 to 4.72E21 signal tokenizations and introduces a web of changing dependencies. In response, we formulate, formally analyze, and provide an efficient solution to an optimization problem, allowing identification of the optimal set of signal boundaries and byte orderings. In addition, we provide two novel, state-of-the-art signal boundary classifiers—both of which are superior to previous approaches in precision and recall in three different test scenarios—and the first signedness classification algorithm, which exhibits a $>$ 97% F-score. Overall, CAN-D is the only solution with the potential to extract any CAN signal that is also the state of the art. In evaluation on 10 vehicles of different makes, CAN-D's average $\ell ^1$ error is five times better (81% less) than all previous methods and exhibits lower average error, even when considering only signals that meet prior methods’ assumptions. Finally, CAN-D is implemented in lightweight hardware, allowing for an on-board diagnostic (OBD-II) plugin for real-time in-vehicle CAN decoding. |
Databáze: | OpenAIRE |
Externí odkaz: |