journal article·2023-02-02Open access

A Method for Translating Automotive Body-Related CAN Messages Based on Labeled Bits

Zixiang Bi, Guosheng Xu, Chenyu Wang, Guoai Xu, Sutao Zhang

Applied Sciences· Volume 13· Issue 3

Abstract

Traditional mechanical parts have been increasingly replaced by in-vehicle electronic control units (ECUs) that communicate via control area networks (CAN). For security reasons, the Database CAN (DBC) file, which defines the contents of CAN messages, is deemed confidential by original equipment manufacturers (OEMs). However, confidentiality has severely hindered research on automotive intrusion detection systems (IDS) and automotive control network testing, which makes automotive aftermarket device development difficult. Previous research has used tokenization algorithms, machine learning algorithms, and diagnostic information to obtain coarse CAN message contents. However, there is a large gap between the results obtained with these methods and the information contained in DBC files. In order to reverse CAN messages in a fine-grained manner, we propose a method to reverse a body-related CAN message based on tagged bits. This method tags data bits by collecting CAN traffic in different vehicle states. The test messages are obtained by fuzzing the CAN messages based on the tagging results, and the candidate messages are obtained by combining them with the results of a packet analysis. The final reverse result was based on the column AND bit-by-bit of the candidate messages. The reverse results showed that the method proposed in this paper could accurately locate the bits representing or controlling the body behavior with high reverse accuracy.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Vehicular Ad Hoc Networks (VANETs) · Advanced Malware Detection Techniques · Autonomous Vehicle Technology and Safety

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Cyberspace Security, Beijing University of Posts and Telecommunications, Beijing 100876, China

School of Computer Science and Technology, Harbin Institute of Technology, Shenzhen 518055, China

Funding

National Key Research and Development Program of China · China Postdoctoral Science Foundation · National Natural Science Foundation of China

References (41)

Show source-provided references
1. Writer, S. (2022, December 01). 5 Advantages of CAN Bus Protocol. Available online: https://www.totalphase.com/blog/2019/08/5-advantages-of-can-bus-protocol/.
2. Bozdal, M., Samie, M., Aslam, S., and Jennions, I. (2020). Evaluation of can bus security challenges. Sensors, 20.10.3390/s20082364 ↗
3. Greenberg, A. (2022, December 01). Hackers Remotely Kill a Jeep on the Highway—With Me in It. Available online: https://www.wired.com/2015/07/hackers-remotely-kill-jeep-highway/.
4. Weinmann, R.P., and Schmotzle, B. (2022, December 01). TBONE—A zero-click exploit for Tesla MCUs. Available online: https://kunnamon.io/tbone/tbone-v1.0-redacted.pdf.
5. (2022, December 01). CSS Electronics. CAN DBC File Explained—A Simple Intro [+Editor Playground]. Available online: https://www.csselectronics.com/pages/can-dbc-file-database-intro.
6. Intrusion Detection Method for In-Vehicle CAN Bus Based on Message and Time Transfer Matrix10.1155/2022/2554280 ↗
7. Refat, R.U.D., Elkhail, A.A., Hafeez, A., and Malik, H. (2021, January 2–3). Detecting can bus intrusion by applying machine learning method to graph based features. Proceedings of the Proceedings of SAI Intelligent Systems Conference, Amsterdam, The Netherlands.10.1007/978-3-030-82199-9_49 ↗
8. Sharmin, S., and Mansor, H. (2021, January 29–31). Intrusion detection on the in-vehicle network using machine learning. Proceedings of the 2021 3rd International Cyber Resilience Conference (CRC), Virtual.10.1109/CRC50527.2021.9392627 ↗
9. CAN-bus attack detection with deep learning10.1109/TITS.2020.3046974 ↗
10. Lee, H., Choi, K., Chung, K., Kim, J., and Yim, K. (2015, January 24–27). Fuzzing can packets into automobiles. Proceedings of the 2015 IEEE 29th International Conference on Advanced Information Networking and Applications, Gwangju, Republic of Korea.10.1109/AINA.2015.274 ↗
11. CAN Bus Fuzz Testing with Artificial Intelligence10.1007/s38314-021-0690-z ↗
12. Fowler, D.S., Bryans, J., Cheah, M., Wooderson, P., and Shaikh, S.A. (2019, January 22–26). A method for constructing automotive cybersecurity tests, a CAN fuzz testing example. Proceedings of the 2019 IEEE 19th International Conference on Software Quality, Reliability and Security Companion (QRS-C), Sofia, Bulgaria.10.1109/QRS-C.2019.00015 ↗
13. Fowler, D.S. (2019). A Fuzz Testing Methodology for Cyber-Security Assurance of the Automotive CAN Bus. [Ph.D. Thesis, Coventry University].10.1109/DSN-W.2018.00070 ↗
14. Field classification, modeling and anomaly detection in unknown CAN bus networks
15. READ: Reverse engineering of automotive data frames10.1109/TIFS.2018.2870826 ↗
16. Pesé, M.D., Stacer, T., Campos, C.A., Newberry, E., Chen, D., and Shin, K.G. Proceedings of the Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security, London, UK, 11–15 November 2019.
17. Buscemi, A., Castignani, G., Engel, T., and Turcanu, I. (December, January 18). A data-driven minimal approach for CAN bus reverse engineering. Proceedings of the 2020 IEEE 3rd Connected and Automated Vehicles Symposium (CAVS), Victoria, BC, Canada.10.1109/CAVS51000.2020.9334650 ↗
18. Reverse engineering controller area network messages using unsupervised machine learning10.1109/MCE.2020.3023538 ↗
19. Discovering can specification using on-board diagnostics10.1109/MDAT.2020.3011036 ↗
20. Blaauwendraad, B., and Kieberl, V. (2022, January 23). Automated Reverse-Engineering of CAN Messages Using OBD-II and Correlation Coefficients. Available online: https://www.os3.nl/_media/2019-2020/courses/rp2/p103_report.pdf.
21. Bi, Z., Xu, G., Xu, G., Wang, C., and Zhang, S. (2022). Bit-Level Automotive Controller Area Network Message Reverse Framework Based on Linear Regression. Sensors, 22.10.3390/s22030981 ↗
22. Takanen, A., Demott, J.D., Miller, C., and Kettunen, A. (2018). Fuzzing for Software Security Testing and Quality Assurance, Artech. [2nd ed.].
23. Fuzzing: Hack, art, and science10.1145/3363824 ↗
24. Kang, T.U., Song, H.M., Jeong, S., and Kim, H.K. (2018, January 27–30). Automated reverse engineering and attack for CAN using OBD-II. Proceedings of the 2018 IEEE 88th Vehicular Technology Conference (VTC-Fall), Chicago, IL, USA.10.1109/VTCFall.2018.8690781 ↗
25. Verma, M., Bridges, R., and Hollifield, S. (2018, January 12–14). ACTT: Automotive CAN tokenization and translation. Proceedings of the 2018 International Conference on Computational Science and Computational Intelligence (CSCI), Las Vegas, NV, USA.10.1109/CSCI46756.2018.00061 ↗
26. Young, C., Svoboda, J., and Zambreno, J. (2020, January 2–16). Towards reverse engineering controller area network messages using machine learning. Proceedings of the 2020 IEEE 6th World Forum on Internet of Things (WF-IoT), New Orleans, LA, USA.10.1109/WF-IoT48130.2020.9221383 ↗
27. Yu, S., Xu, G., Bi, Z., Xu, G., and Zhang, X. (2021, January 20–22). CAN reverse engineering based on the differential method. Proceedings of the 2021 20th International Conference on Ubiquitous Computing and Communications (IUCC/CIT/DSCI/SmartCNS), London, UK.10.1109/IUCC-CIT-DSCI-SmartCNS55181.2021.00037 ↗
28. PEAK-System (2022, December 01). PCAN-USB CAN Interface for USB. Available online: https://www.peak-system.com/PCAN-USB.199.0.html?&L=1.
29. (2022, December 01). Opendbc. Available online: https://github.com/commaai/opendbc.
30. Wikipedia (2022, December 01). On-Board Diagnostics. Available online: https://en.wikipedia.org/wiki/On-board_diagnostics#OBD-II.
31. Devices, P. (2022, December 01). Is Your Vehicle OBD II Compliant?. Available online: https://www.plxdevices.com/obdii-compliant-vehicles-s/153.htm.
32. (2022, December 01). Road vehicles—Diagnostics on Controller Area Networks. Available online: https://www.iso.org/standard/33619.html.
33. (2022, December 01). CSS Electronics. CAN Bus Explained—A Simple Intro. Available online: https://www.csselectronics.com/pages/can-bus-simple-intro-tutorial.
34. General Administration of Quality Supervision, Inspection and Quarantine (2022, December 01). Limits and Measurement Methods for Emissions from Light-Duty Vehicles. Available online: https://www.chinesestandard.net/PDF/BOOK.aspx/GB18352.6-2016.
35. (2022, December 01). OBD2 Diagnostic Cable Interface Scanner. Available online: https://www.amazon.com/Universal-Diagnostic-Interface-Keenso-Connector/dp/B07MNX424C/ref=sr_1_5?crid=SEHIDIO9OCCC&keywords=obd2+connector+for+laptop&qid=1669830823&sprefix=obd2+connector%2Caps%2C572&sr=8-5.
36. (2022, December 01). OBD2 Breakout Box OBDII Protocol Detector ECU Connector Diagnostic Data Link Connector. Available online: https://www.amazon.com/Connector-Diagnostic-Maintenance-Diagnosis-Programming/dp/B0995JBXVS/ref=sr_1_1?crid=SEHIDIO9OCCC&keywords=obd2+connector+for+laptop&qid=1669830923&sprefix=obd2+connector%2Caps%2C572&sr=8-1.
37. Lee, H., Jeong, S.H., and Kim, H.K. (2017, January 28–30). OTIDS: A novel intrusion detection system for in-vehicle network by using remote frame. Proceedings of the 2017 15th Annual Conference on Privacy, Security and Trust (PST), Calgary, AB, Canada.10.1109/PST.2017.00017 ↗
38. Yu, K.S., Kim, S.H., Lim, D.W., and Kim, Y.S. (2020). A multiple Rényi entropy based intrusion detection system for connected vehicles. Entropy, 22.10.3390/e22020186 ↗
39. In-vehicle network intrusion detection using deep convolutional neural network
40. Marchetti, M., and Stabili, D. (2017, January 11–14). Anomaly detection of CAN bus messages through analysis of ID sequences. Proceedings of the 2017 IEEE Intelligent Vehicles Symposium (IV), Los Angeles, CA, USA.10.1109/IVS.2017.7995934 ↗
41. CAN-ADF: The controller area network attack detection framework10.1016/j.cose.2020.101857 ↗