Abstract
An Electronic Control Unit (ECU) is an automotive computer essential to the operation of a modern car. Diagnostic protocols running on these ECUs are often too powerful, giving an adversary full access to the ECU if they can bypass the diagnostic authentication mechanism. Firstly, we present three ciphers used in the diagnostic access control, which we reverse engineered from the ECU firmware of four major automotive manufacturers. Next, we identify practical security vulnerabilities in all three ciphers, which use proprietary cryptographic
primitives and a small internal state. Subsequently, we propose a generic method to remotely execute code on an ECU over CAN exclusively through diagnostic functions, which we have tested on units of three major automotive manufacturers. Once authenticated, an adversary with access to the CAN network can download binary code to the RAM of the microcontroller and execute it, giving them full access to the ECU and its peripherals, including the ability to read/write firmware at will. Finally, we conclude with recommendations to improve the diagnostic security of ECUs.
primitives and a small internal state. Subsequently, we propose a generic method to remotely execute code on an ECU over CAN exclusively through diagnostic functions, which we have tested on units of three major automotive manufacturers. Once authenticated, an adversary with access to the CAN network can download binary code to the RAM of the microcontroller and execute it, giving them full access to the ECU and its peripherals, including the ability to read/write firmware at will. Finally, we conclude with recommendations to improve the diagnostic security of ECUs.
Original language | English |
---|---|
Title of host publication | Proceedings of the 23rd European Symposium on Research in Computer Security |
Publisher | Springer |
Number of pages | 20 |
Volume | 11098 |
ISBN (Electronic) | 978-3-319-99073-6 |
ISBN (Print) | 978-3-319-99072-9 |
DOIs | |
Publication status | E-pub ahead of print - 8 Aug 2018 |
Event | 23rd European Symposium on Research in Computer Security - Barcelona, Spain Duration: 3 Sept 2018 → 7 Sept 2018 |
Publication series
Name | Lecture Notes in Computer Science |
---|---|
Publisher | Springer |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | 23rd European Symposium on Research in Computer Security |
---|---|
Country/Territory | Spain |
City | Barcelona |
Period | 3/09/18 → 7/09/18 |