Benshy Varghese (93617011)

Secure CAN messages for vehicle safety ECUs - MSC CS 2017-2019

Cars sold today are computers on wheels, with dozens of embedded chips running
millions of lines of code. Modern automobiles host more than 80 ECUs,
which contain and implement a total of up to 100 million code lines to control
safety-critical functionality. This fact and the close inter-connectivity
of automotive ECUs open up new possibilities to attack these systems which
impair the safe operation of the vehicle. So it is important to secure the
information exchanged between these ECUs. We divide the ECUs into ve
categories: Powertrain Control unit, Vehicle safety, Comfort, Infotainment,
and Telematics. In Vehicle safety, there comes a need for faster encryption
algorithms as it is mandatory that these algorithms should work accordingly.
The response time from the Air Bag Unit ECU and ABS can't be less than
a particular threshold. Also the messages from these ECUs should be encrypted.
There comes a need for an encryption algorithm that meets the
timing requirements. This project proposes an idea of encrypting the messages,
from the vehicle safety ECU category, with an algorithm that meets
compatible timing requirements. Based on the analysis of various algorithms,
the one with smaller execution time and which is suitable for the CAN frame
is selected for Encryption. CAN interface will be used for message simulation
and CAPL scripting will be used for implementation and verication of Data
Encryption Standard(DES) algorithm.




ECU


CAN
ELECTRONIC CONTROL UNITS
CONTROL AREA NETWORK
DATA ENCRYPTION STANDARD