Security Testing on Vehicles: CAN, Automotive Ethernet and Diagnostic Access
Security tests on vehicles: attacks on CAN, tests on Automotive Ethernet and diagnostic access, and what the EU has regulated for OBD access since June 2026.
UN-R155 requires manufacturers to demonstrate the effectiveness of their protective measures with appropriate tests. ISO/SAE 21434 provides for testing at several levels, from verifying individual requirements to penetration tests on the finished system. Three attack surfaces appear in almost every test plan.
CAN: open by design
The CAN bus dates from a time when nobody expected attackers on the vehicle network. Every control unit on the bus can send any message, and there is no sender verification. Tests therefore check what happens when manipulated, replayed or mass-sent messages appear. Fuzzing with randomly altered content uncovers processing errors. Where messages are protected with an authentication code, for example via SecOC from the AUTOSAR standard, testers check whether replay protection and key management hold up.
Automotive Ethernet: more network, more IT methods
With Automotive Ethernet, vehicle networks increasingly resemble conventional IT networks. Testing includes port scans, checking the firewall rules in the gateway, the separation of network segments and a look at protocols such as SOME/IP or DoIP for diagnostics over Ethernet. Many IT security tools can be used directly here. However, the results must always be assessed in the context of the vehicle function.
Diagnostic access: the old weak spot
Diagnostics can be used to read out, code and reprogram control units. Critical services are usually protected by a challenge-response procedure in the UDS diagnostic protocol. Tests check whether the algorithm can be guessed or read out from the software, whether failed attempts are limited and whether protected services remain accessible without unlocking. Newer versions of the diagnostic standard ISO 14229 also provide for certificate-based authentication.
The Federal Motor Transport Authority (Kraftfahrt-Bundesamt) points out that manufacturers must also include attacks via the OBD port and third-party dongles in their risk assessment. At the same time, protection must not lock out independent workshops. Delegated Regulation (EU) 2026/699, in force since 23 June 2026, regulates this in more detail. Manufacturers may require authentication of diagnostic tools and, for interventions that modify the vehicle, also of the independent operator. The measures must be necessary and proportionate and must not disadvantage independent market participants. For security tests, this means that unlocking for authorised parties must also be tested.
Framework for tests
Penetration tests on vehicles only take place with written approval from the client, ideally on a test bench or on test vehicles away from public roads. The results are fed back into the TARA so that new attack paths are assessed and treated.
DELA offers the live online course Automotive Cybersecurity on these topics.
Sources
- EUR-Lex: UN Regulation No 155 (cybersecurity)
- EUR-Lex: Delegated Regulation (EU) 2026/699 on repair and maintenance information
- Federal Motor Transport Authority (Kraftfahrt-Bundesamt): Cyber security and software updates
This article provides an overview and does not replace legal advice. The linked legal sources in their currently applicable version are authoritative.
Related training: Automotive Cybersecurity: UN-R155, UN-R156 and ISO/SAE 21434
Is there a matching course?
We will advise you free of obligation on the course, its content and dates.
Request advice