Saved in:
Bibliographic Details
Main Authors: Lin, Xiaojie, Ma, Baihe, Wang, Xu, Yu, Guangsheng, He, Ying, Liu, Ren Ping, Ni, Wei
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2408.09265
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916361165340672
author Lin, Xiaojie
Ma, Baihe
Wang, Xu
Yu, Guangsheng
He, Ying
Liu, Ren Ping
Ni, Wei
author_facet Lin, Xiaojie
Ma, Baihe
Wang, Xu
Yu, Guangsheng
He, Ying
Liu, Ren Ping
Ni, Wei
contents As the primary standard protocol for modern cars, the Controller Area Network (CAN) is a critical research target for automotive cybersecurity threats and autonomous applications. As the decoding specification of CAN is a proprietary black-box maintained by Original Equipment Manufacturers (OEMs), conducting related research and industry developments can be challenging without a comprehensive understanding of the meaning of CAN messages. In this paper, we propose a fully automated reverse-engineering system, named ByCAN, to reverse engineer CAN messages. ByCAN outperforms existing research by introducing byte-level clusters and integrating multiple features at both byte and bit levels. ByCAN employs the clustering and template matching algorithms to automatically decode the specifications of CAN frames without the need for prior knowledge. Experimental results demonstrate that ByCAN achieves high accuracy in slicing and labeling performance, i.e., the identification of CAN signal boundaries and labels. In the experiments, ByCAN achieves slicing accuracy of 80.21%, slicing coverage of 95.21%, and labeling accuracy of 68.72% for general labels when analyzing the real-world CAN frames.
format Preprint
id arxiv_https___arxiv_org_abs_2408_09265
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle ByCAN: Reverse Engineering Controller Area Network (CAN) Messages from Bit to Byte Level
Lin, Xiaojie
Ma, Baihe
Wang, Xu
Yu, Guangsheng
He, Ying
Liu, Ren Ping
Ni, Wei
Cryptography and Security
Machine Learning
Networking and Internet Architecture
Systems and Control
As the primary standard protocol for modern cars, the Controller Area Network (CAN) is a critical research target for automotive cybersecurity threats and autonomous applications. As the decoding specification of CAN is a proprietary black-box maintained by Original Equipment Manufacturers (OEMs), conducting related research and industry developments can be challenging without a comprehensive understanding of the meaning of CAN messages. In this paper, we propose a fully automated reverse-engineering system, named ByCAN, to reverse engineer CAN messages. ByCAN outperforms existing research by introducing byte-level clusters and integrating multiple features at both byte and bit levels. ByCAN employs the clustering and template matching algorithms to automatically decode the specifications of CAN frames without the need for prior knowledge. Experimental results demonstrate that ByCAN achieves high accuracy in slicing and labeling performance, i.e., the identification of CAN signal boundaries and labels. In the experiments, ByCAN achieves slicing accuracy of 80.21%, slicing coverage of 95.21%, and labeling accuracy of 68.72% for general labels when analyzing the real-world CAN frames.
title ByCAN: Reverse Engineering Controller Area Network (CAN) Messages from Bit to Byte Level
topic Cryptography and Security
Machine Learning
Networking and Internet Architecture
Systems and Control
url https://arxiv.org/abs/2408.09265