Interested in opening up a car hacker's toolbox and applying these tools and techniques hands-on? Then this training is the best fit for you!
In this course, the participant will become familiar with the theory and practice around numerous techniques in automotive security. This allows the participant to see what is in a car hacker's toolbox, and how to mitigate possible security vulnerabilities. We will cover a variety of attacks on communication networks found in cars, such as spoofing, DoS and MITM.
The trainee will learn how to leverage open source tools to perform an analysis of various aspects of the modern car. Everything from attacks on the physical layer and diagnostic protocols to the reverse engineering of firmware will be covered. The trainee will learn how to quickly build custom tools to interact with any custom protocol you might encounter.
We will look at a variety of diagnostics protocols to talk to ECUs and extract their firmware, such as UDS, CCP and XCP. Other methods of obtaining firmware such as extracting proprietary update files, JTAG and Fault Injection will be shown.
Various simulated networks and real Electronic Control Units (ECUs) will be available to practice on. Based on experience level, different ECUs and challenges will be available.
Day 1 of the training will be used to become familiar with the standards used for the communication between Electronic Control Units (ECUs) in a vehicle. Attacks on the physical and link layer will be discussed, and their possible detection and mitigation.
In the second part of the day, we will look at hardware used to interact with the vehicle's network, and implement our first attack.
Theory:
Hands-On:
On the second day of the training, we will dive into the actual hardware of a car and its ECUs. You'll learn how to find the schematics of a certain car, and identify the best points to connect to the different networks. We will look at software provided to repair shops by the manufacturer
Theory:
Hands-On:
Different firmware update files and their protections will be discussed. We will also look at the inside of an ECU and ways to extract its firmware. A quick introduction to Ghidra will be given.
An ECU firmware file consists of up to millions of lines of code which would take a long time to fully reverse engineer. Tips and tricks will be taught to quickly identify parts of the firmware that are of interest. After reverse engineering the security access algorithm we can flash the firmware back to the ECU.
Theory:
Hands-On:
All hands-on exercises will be done on a Raspberry Pi running Jupyter Notebooks.
Required hardware:
Participants will be provided with a syllabus that contains information covered during the course, and can serve as a reference during the hands-on exercises or at home. The hands-on exercises are based on a Jupyter notebook, solutions will be provided at the end of the course.
Willem Melching is an independent security researcher. He has over 5 years of experience working on automotive security and reverse engineering. During his time at comma.ai he worked on reverse engineering cars to allow drive by wire from a third party system. As head of openpilot he led the development of an open source driver assist/lane keep system.
Twitter: https://twitter.com/PD0WM
Blog: https://icanhack.nl/blog/
Podcasts: unnamedre https://unnamedre.com/episode/54