An automotive pentest deliberately looks for ways to violate the cybersecurity goals of a vehicle or ECU – just as an attacker would. Unlike vulnerability scanning, which detects known weaknesses, and fuzzing, which provokes unknown faults, it is largely manual, chains individual findings together and demonstrates whether an attack path is viable. Compared with an IT pentest, it adds in-vehicle networks, diagnostic protocols, safety consequences and type approval.
Penetration testing basics →Automotive pentesting: penetration testing for vehicles, ECUs and the vehicle ecosystem
How penetration tests on ECUs, in-vehicle networks, wireless interfaces, backends and charging infrastructure work, what UN R155, ISO/SAE 21434 and Germany’s KBA expect, and how to plan an automotive pentest from the TARA and the Automotive Threat Matrix.
Last updated: November 2026 · Valeri Milke, ISO 27001 & ISO 42001 Lead Auditor
76unique zero-days at Pwn2Own Automotive 2026 in Tokyo, including in infotainment systems and charging stations (ZDI)
1.4 millionvehicles recalled by FCA in July 2015 after Miller and Valasek’s remote attack on a Jeep
14 · 75tactics and techniques in the Auto-ISAC Automotive Threat Matrix, as of November 2026
up to 2×a failed test may be repeated after rework, according to the KBA
Automotive penetration testing is commissioned security testing of vehicles, electronic control units (ECUs) and the vehicle ecosystem – backend, apps, update chain and charging infrastructure – modeled on real-world attacks. ISO/SAE 21434 describes penetration tests as tests that mimic real-world attacks to find ways to compromise cybersecurity goals. UN R155 requires appropriate and sufficient testing of the security measures before type approval; in addition, the approval authority or technical service tests a vehicle of the type. Germany’s Federal Motor Transport Authority (Kraftfahrt-Bundesamt, KBA) recommends penetration tests but does not mandate them – yet purely document-based evidence is generally considered insufficient. This page covers attack surfaces, test levels, methods, planning based on the TARA and the Automotive Threat Matrix, legal questions, the rating of findings and how to commission a test. As of November 2026.
From research attacks to testing requirements
Documented attacks and regulatory milestones – tap an entry.
July 2015
Jeep Cherokee: remote attack and recall
Researchers Miller and Valasek demonstrate a remote attack on an unmodified Jeep Cherokee. FCA then recalls around 1.4 million vehicles.
April 2023
CAN injection via the headlight connector
Researchers Tindell and Tabor reconstruct the theft of a Toyota RAV4: the thieves injected forged CAN messages through the wiring harness at the headlight.
July 7, 2024
EU: UN R155 for all new registrations
New vehicles of categories M and N without UN R155 approval may no longer be registered in the EU; new types have required it since July 6, 2022.
September 2024
Kia web portal: remote functions via license plate
Sam Curry and fellow researchers publish flaws in a Kia web portal that allowed vehicle functions to be controlled remotely using nothing but the license plate.
January 21–23, 2026
Pwn2Own Automotive 2026: 76 zero-days
At the Zero Day Initiative’s competition in Tokyo, teams demonstrate 76 unique zero-days, including in infotainment systems and charging stations.
June 23, 2026
EU rules for secure OBD access
An EU delegated regulation sets out when manufacturers may restrict OBD access with certificates or by authenticating tools.
November 6, 2026
ISO/SAE TR 8477 is published
The informative technical report “Cybersecurity verification and validation” provides guidance on verification and validation under ISO/SAE 21434.
Automotive pentesting: key points at a glance
Eight topic blocks – tap to expand.
UN R155 obliges vehicle manufacturers to verify the effectiveness of their security measures through appropriate and sufficient testing before type approval; without it, approval is refused. In addition, the authority or technical service tests a vehicle of the type on a sample basis. The regulation does not prescribe the term penetration test. The KBA lists pentests as a recommended, not mandatory, test method and generally considers purely document-based evidence insufficient.
UN R155 and R156 →For product development, ISO/SAE 21434 recommends testing that leaves as few undetected vulnerabilities as possible – such as vulnerability scanning, fuzzing and penetration testing. In vehicle-level validation, pentests can demonstrate that the cybersecurity goals have been achieved. Since November 6, 2026, the technical report ISO/SAE TR 8477 has provided guidance on planning. The standard does not cover backends, but the UN R155 threat catalog does.
ISO/SAE 21434 →The attack surface spans four levels: in-vehicle networks and diagnostics with CAN, LIN, FlexRay, automotive Ethernet, UDS and OBD; the ECU with its debug interfaces and firmware; wireless links from cellular to key fobs and V2X; and the ecosystem of backend, apps, OTA chain and charging infrastructure. The UN R155 threat catalog groups the threats into seven categories with 30 entries and around 70 examples; the Automotive Threat Matrix describes what attackers do there.
Automotive Threat Matrix →An ECU can be tested early on the test bench, a subsystem in a HIL setup with restbus simulation. Attack chains that reach vehicle functions only become visible on the complete vehicle, and remote attacks on entire fleets only in the ecosystem of backend, apps and update servers. Suppliers deliver evidence from the test bench; the manufacturer closes the gaps in the vehicle and the ecosystem. The automotive pentest shares its hardware and firmware methods with the IoT pentest.
IoT pentesting →A meaningful test plan starts with the TARA: its attack paths, ranked by risk value, become test cases. The Automotive Threat Matrix, with 14 tactics and 75 techniques, adds steps the TARA did not consider and gives findings a common language; the UN R155 threat catalog serves as a coverage check. In this way, the pentest verifies the TARA’s assumptions about attack feasibility – starting with the risks rated highest.
TARA under ISO/SAE 21434 →Tests on vehicles can destroy ECUs, trigger driving functions and touch personal data. Tests relevant to driving dynamics belong on a test bench or a closed site, radio and relay tests in a shielded environment. Written authorization, the consent of the service providers involved, samples, access and data protection must be clarified in advance. Between manufacturer and supplier, the cybersecurity interface agreement defines who tests what and who fixes findings.
A finding changes the risk assessment: it corrects the attack feasibility in the TARA, can change cybersecurity goals and the cybersecurity case, and triggers vulnerability management. UN R155 requires manufacturers to keep the risk assessment current, to fix vulnerabilities within a reasonable timeframe and to report to the approval authority at least once a year; the KBA expects relevant vulnerabilities to be reported without delay. Feedback works best when findings are rated with the TARA’s assessment method.
Vulnerability management →Four groups of attack surfaces
What is tested in each group and at which test level – select a tab.
In the vehicleTest bench, HIL, vehicle
- On CAN, LIN and FlexRay, testers check whether forged messages are accepted and whether the gateway separates the networks; for Ethernet, SOME/IP and DoIP are key.
- For UDS and OBD, the focus is on Security Access, authentication, flash routines and dongles.
CAN FDDoIPUDS
On the ECUTest bench
- Testers check whether JTAG or UART are locked in the production configuration; the UN R155 catalog explicitly names debug ports and developer passwords.
- The firmware is examined for embedded keys and outdated components, and security functions are stressed with fault injection.
JTAGFault injectionSBOM
Over the airVehicle, shielded environment
- For cellular, Bluetooth and Wi-Fi, the focus is on remote functions, protocol stacks and rogue base stations.
- For key fobs and V2X, testers examine relay attacks, distance measurement, for example via UWB, and forged messages.
RelayUWBV2X
Outside the vehicleEcosystem test
- For backends and portals, the focus is on permissions and data leakage; in the OTA chain, on signature verification and rollback protection.
- For charging, the focus is on ISO 15118 with Plug & Charge, the charging station firmware and the OCPP backend.
OTAISO 15118OCPP
Interactive
Which test scope fits your project?
Up to three yes/no questions lead to the right test level. Guidance only, not legal advice; the binding scope is determined by your TARA and your evidence objective.
Your path
- 1?
1: Is a drivable vehicle available for testing – prototype or production vehicle?
1
Is a drivable vehicle available for testing – prototype or production vehicle?
Suppliers with a single ECU usually answer no.
Test the ECU on the test bench
For a single ECU, the test bench is the most efficient level: debug interfaces, firmware, diagnostic services and bus behavior can be tested in isolation. Such tests are part of verification and provide evidence for the customer, but they do not replace validation in the vehicle.
- Derive test objectives from the allocated cybersecurity requirements.
- Test the production configuration, not the development sample.
- Agree on the number of samples and destructive tests in advance.
VerificationHardware and firmware
Test the subsystem in a HIL setup
If a protection function only takes effect in combination – gateway filters, diagnostic routing, message authentication – a hardware-in-the-loop setup with restbus simulation is the right level. It replicates the environment of the device under test without a vehicle and allows repeatable load and fault scenarios.
- Align the restbus simulation with the production network.
- Prioritize transitions between networks.
- Script tests so that they can be rerun after fixes.
Restbus simulationGateway
Test the vehicle as a whole
On a drivable vehicle, attack paths become visible that only arise in the overall system: from wireless or diagnostic access via the gateway to the vehicle function. ISO/SAE 21434 names penetration testing as a possible validation activity. Tests relevant to driving dynamics belong on a test bench or a closed site.
- Prioritize test cases by the TARA’s risk values.
- Define the test site, safety driver and abort criteria.
- Trace results back to the cybersecurity goals.
ValidationProving ground
Combine vehicle and ecosystem before type approval
Before type approval, the manufacturer must demonstrate the effectiveness of its security measures through appropriate and sufficient testing; in addition, a vehicle of the type is tested. A combined plan of supplier evidence, vehicle tests and ecosystem tests covers the attack paths from the TARA.
- Build a coverage matrix: catalog entry, attack path, test case, result.
- Collect supplier evidence and close gaps with your own tests.
- Test vehicle, backend and OTA chain in joint scenarios.
- Allow time for rework and retests.
UN R155Type approval
Test backend, apps, OTA and charging
Several publicly disclosed vehicle vulnerabilities were not in the vehicle but in portals and cloud services – such as the 2024 Kia portal flaws. Ecosystem tests examine accounts, roles, APIs, update servers and charging interfaces; the UN R155 threat catalog explicitly names backends.
- Capture remote control, location tracking, keys and updates as functions.
- Test permissions across roles: owner, dealer, workshop.
- Include charging functions under ISO 15118 and OCPP.
BackendCharging
Plan first, then test
Without hardware samples and a test environment, it is too early for a penetration test – but not for test planning. Attack paths, test levels and test samples can be derived from the TARA and the architecture; an architecture review finds weaknesses before they are cast in hardware.
- Review the TARA for attack paths to be tested later.
- Agree on test access and the number of samples early.
- Include testing obligations in the cybersecurity interface agreement.
TARATest planning
- Is a drivable vehicle available for testing – prototype or production vehicle?
- Is a UN R155 type approval or evidence of effectiveness for a vehicle type coming up?
- Are connected services such as backend, app, OTA servers or dealer portals part of the vehicle type?
- Is the ECU or subsystem already available as a hardware sample?
- Does the protection function under test only take effect in interaction with other ECUs or buses?
- Are backend, apps, APIs, update servers or charging infrastructure reachable in a test environment?
Deep dive
Automotive pentesting in practice: nine chapters from trigger to retest
The chapters follow the path of a vehicle pentest – from triggers and obligations through attack surfaces, test levels, methods, planning, safety and law to the rating of findings, public cases and commissioning a test.
Why and when an automotive pentest is needed
No regulation strictly mandates penetration tests – but UN R155 requires testing before type approval, ISO/SAE 21434 names them for verification and validation, and the KBA recommends them.
UN R155: testing before type approval
Alongside the cyber security management system (CSMS), UN R155 requires the manufacturer, for each vehicle type, to “perform, prior to type approval, appropriate and sufficient testing to verify the effectiveness of the security measures implemented”, as the official English text puts it; without such testing, approval is refused. In addition, the authority or technical service tests a vehicle of the type, focusing on the risks rated highest.
ISO/SAE 21434: verification and validation
ISO/SAE 21434 defines a penetration test as testing that mimics real-world attacks to find ways to compromise cybersecurity goals. For product development, it recommends tests such as vulnerability scanning, fuzzing and penetration testing; in validation, pentests can demonstrate that the goals have been achieved. The informative cybersecurity assurance levels (CAL) do not create an obligation to pentest.
What the KBA expects
The KBA lists penetration testing as a recommended, not mandatory, test method. Other methods are permitted if they achieve the objective; purely document-based evidence is generally considered insufficient. After rework, a failed test may be repeated up to twice under at least the same conditions.
Attack surfaces: from the debug interface to the charging station
A connected vehicle offers attack surfaces on four levels: in-vehicle network, ECU, wireless and ecosystem. The table maps each interface to its test focus and to tactics of the Automotive Threat Matrix.
With seven categories, 30 threats and around 70 examples, the UN R155 threat catalog is the mandatory list; the Automotive Threat Matrix (ATM) describes attacker behavior in 14 tactics and 75 techniques. The catalog says what must be covered, the matrix how attackers proceed.
| Interface | Test focus | ATM mapping |
|---|---|---|
| Debug interfaces (JTAG, SWD, UART) | Locking in the production configuration, readout protection, fault injection | Privilege Escalation, Credential Access (technique: ECU Credential Dumping) |
| Firmware | Embedded keys, outdated components, boot chain | Credential Access (technique: Unsecured Credentials), Persistence |
| CAN, CAN FD, CAN XL, LIN, FlexRay | Forged messages, overload, gateway filters, authentication | Affect Vehicle Function (technique: Modify Bus Message), Lateral Movement (technique: Bridge Vehicle Networks) |
| Automotive Ethernet (SOME/IP, DoIP) | Unprotected services, open ports, diagnostic routing | Discovery, Lateral Movement (technique: Remote Services) |
| Diagnostics via UDS | Sessions, Security Access, authentication, flash routines | Defense Evasion (technique: Bypass UDS Security Access) |
| OBD port and dongles | Access control, secure gateway | Initial Access (technique: Aftermarket, Customer, or Dealer Equipment) |
| Cellular, Bluetooth, Wi-Fi | Remote functions, protocol stacks, rogue base stations | Manipulate Environment (technique: Rogue Cellular Base Station), Initial Access |
| Infotainment, apps, USB | App vulnerabilities, crafted media, pivot into the vehicle network | Initial Access, Privilege Escalation |
| Key fob, digital key | Relay attacks, distance measurement (e.g., UWB) | Manipulate Environment (technique: Relay Communications) |
| V2X and GNSS | Forged messages, certificate validation | Manipulate Environment, Initial Access |
| OTA update chain | Signature verification, rollback protection, recovery | Persistence, Defense Evasion |
| Backend, APIs, dealer portals | Permissions, account takeover, data leakage | Barely covered; UN R155 threat catalog |
| Charging (ISO 15118, OCPP) | Plug & Charge, PKI, charging station firmware | Depends on the path; the catalog names charging parameters |
Tactic and technique names as in the English original of the matrix, as of November 2026; the table does not replace a TARA.
More important than any single row are the transitions: known attack chains start at a remote interface or a portal and end in the in-vehicle network. Testing wireless, infotainment and gateway only in isolation misses them.
Since June 23, 2026, an EU delegated regulation has governed how manufacturers may restrict OBD access with certificates or tool authentication; a pentest checks that unauthorized parties fail and that the unlocking paths do not open a back door. According to the KBA, aftermarket dongles do not usually put type approval at risk – but their vulnerabilities do.
Test levels: test bench, HIL, complete vehicle and ecosystem
Automotive pentests take place on four levels: on the ECU, in a HIL setup, on the complete vehicle and in the ecosystem. Each level finds issues that the others cannot see.
The levels follow verification and validation under ISO/SAE 21434 and vehicle testing under UN R155; “test bench” and “HIL” are terms from testing practice, not from the standard.
| Test level | Setup | Strengths | Limitations |
|---|---|---|---|
| Test bench | Single ECU, several samples | Available early, in-depth hardware and firmware analysis | No chains across the vehicle |
| HIL setup | ECUs with restbus simulation | Repeatable, gateway and routing tests without risk | Wireless and ecosystem usually missing |
| Complete vehicle | Prototype or production vehicle, chassis dynamometer, proving ground | Realistic paths up to the vehicle function | Available late, labor-intensive, safety concept required |
| Ecosystem | Backend, apps, OTA servers, charging infrastructure | Captures remote attacks on entire fleets | Operators’ consent required |
A finding only applies to the version tested. Reports therefore identify software versions unambiguously – for type-approval-relevant software, for example, via the RXSWIN software identifier under UN R156; tests on a development version with open debug access say little about the production vehicle.
In the supply chain, the work is distributed: suppliers test on the test bench or in a HIL setup and hand over evidence; the manufacturer tests the vehicle and the ecosystem and, according to the KBA, remains responsible for supply chain risks.
Samples, access and safety concept depend on the level.
Methods: what testers actually do on the vehicle
An automotive pentest combines hardware and firmware analysis, network and diagnostic tests, wireless and key tests, fuzzing and backend tests; what follows describes test areas, not attack instructions.
The level of knowledge determines the depth. For vehicle projects, there is a strong case for gray-box or white-box testing: without the architecture and diagnostic specification, testers spend a lot of time on reconstruction that an attacker with a long lead time can afford. A black-box component shows what outsiders can achieve.
Hardware analysis
Check debug interfaces for locks, assess readout protection, test robustness against fault injection.
Firmware analysis
Obtain firmware, examine it for embedded keys, match components against the SBOM.
Network and diagnostics
Check the response to forged messages, gateway filters, Ethernet and UDS services.
Wireless and keys
Test pairing, protocol stacks, relay scenarios and distance measurement in a shielded environment.
Fuzzing
Stress protocols automatically with malformed inputs, monitor crashes, analyze findings.
Backend and API
Check roles, remote functions, update servers and charging backends for access control.
UDS: Security Access and authentication
Via UDS under ISO 14229-1, in its fourth edition since June 2026, tools read and write data and reprogram ECUs. Security Access unlocks protected functions with a seed-key mechanism – without mutual verification and without session authentication; since the 2020 edition, there has also been an authentication service using certificates or challenge-response. Testers check which mechanisms are active and how keys are generated and stored.
A pentest also checks detection: UN R155 requires measures to detect attacks and to provide data for forensic analysis. Whether a simulated attack leaves traces belongs in the report.
Threat-led planning: test cases from the TARA and the Automotive Threat Matrix
An automotive pentest is meaningful when its test cases come from the TARA’s attack paths and cover the risks rated highest first – which is also where the authority’s sample testing starts.
The TARA provides damage scenarios, attack paths with rated attack feasibility and risk values from 1 to 5. Every path with a relevant risk is a candidate test case, and the pentest answers a precise question: with the implemented measures in place, is the path as hard to exploit as the TARA assumes?
The Automotive Threat Matrix adds attacker knowledge; Auto-ISAC explicitly names penetration testing as an intended use. Expressing path steps as ATM techniques reveals alternatives that are missing from the TARA. Every relevant entry in the UN R155 threat catalog should receive a test case or a justified exclusion.
| TARA element | Digital key example |
|---|---|
| Damage scenario | Unauthorized opening and starting |
| Attack path | Radio link to the smartphone is relayed (Relay Communications) |
| Test case | Does the distance measurement detect the extended range? |
| Passed if | access is not granted and the event is logged |
Simplified, manufacturer-neutral example.
Scoping: what belongs in the quote
- Test objects, software versions, test levels and exclusions
- Documentation: TARA, architecture, communication matrix
- Access, test accounts and number of samples
- Rating scheme, report and retest
Testing on vehicles safely, lawfully and in coordination
Tests on vehicles can damage ECUs, trigger driving functions and touch data; the test environment, approvals and data protection therefore belong in the contract in advance.
- Tests affecting powertrain, brakes or steering only on a test bench or a closed site, with an emergency stop and abort criteria.
- Radio tests with rogue base stations, relay setups or GNSS signals only in shielded rooms.
- Return vehicles to a documented, approved software version after testing.
Written authorization from the entitled party is indispensable. Third parties are often involved, such as backend service providers or suppliers. The KBA’s FAQ even addresses whether a manufacturer needs the consent of its supply chain for pentests on its own product – clarify this contractually in advance.
The cybersecurity interface agreement under ISO/SAE 21434 defines who tests which level, who provides samples and keys, and how findings are handled. Under UN R155, necessary information must be provided even if it concerns suppliers’ intellectual property; it is treated confidentially.
Data protection
Vehicles and backends process locations, movement profiles and owner data. Tests therefore work with test vehicles and synthetic accounts; if contact with real data is unavoidable, data minimization and deletion under the GDPR belong in the agreement.
From finding to action: report, rating and feedback into TARA and CSMS
A pentest finding only has an effect once it changes the risk assessment: it corrects the TARA, triggers vulnerability management and provides evidence for type approval.
- Management summary with one statement per tested cybersecurity goal
- Scope, methods and unambiguous hardware and software versions
- Test cases with results and links to TARA attack paths
- For each finding: prerequisites such as access, time and equipment, evidence and a recommendation
Findings are easiest to trace back when they are rated as in the TARA: attack feasibility is derived from the attack potential – elapsed time, specialist expertise, knowledge of the item, window of opportunity, equipment –, from CVSS exploitability or from the attack vector.
| Result | Where it goes |
|---|---|
| Path easier to exploit than assumed | TARA: new goals and measures |
| Vulnerability in your own software | Vulnerability management, update, disclosure in line with ISO/IEC 29147 |
| Vulnerability at the supplier | Cybersecurity interface agreement |
| Measure is effective | Cybersecurity case, type approval |
| Relevant vulnerability in the field | CSMS, report to the KBA |
UN R155 requires manufacturers to keep the risk assessment current, to fix vulnerabilities within a reasonable timeframe and to report at least once a year. The KBA expects relevant vulnerabilities to be reported without delay and additional test material to be retained for at least ten years after the end of production.
What publicly documented cases teach about test scope
Publicly documented vehicle attacks target all four levels; each case stands for a test area that should not be missing from the scope.
| Date | Case | Lesson |
|---|---|---|
| July 2015 | Remote attack by Miller and Valasek on a Jeep Cherokee; recall of around 1.4 million vehicles | Test remote access and in-vehicle network together |
| May 2022 | NCC Group: BLE relay against the phone-as-a-key system of a Tesla Model 3 | Relay tests for each model |
| April 2023 | Theft of a Toyota RAV4 via CAN injection at the headlight | Check bus wiring and authentication |
| September 2024 | Kia web portal: remote functions via the license plate | Bring backend and portals into scope |
| December 2024 | 38C3: location data of around 800,000 electric vehicles from the Volkswagen Group openly accessible | Test cloud and data protection |
| July 2025 | “PerfektBlue”: four flaws in the BlueSDK Bluetooth stack, code execution in infotainment | Check supplier stacks and patches |
| January 2026 | Pwn2Own Automotive: 76 unique zero-days | Infotainment and charging stations remain targets |
Five rules follow from this: chains run across levels; physical access is realistic; backends are part of the attack surface; supplier components carry flaws to many manufacturers; and remediation needs a secure update chain – this is how Tesla closed, by OTA update, the remote access to a Model S that Keen Lab demonstrated in 2016.
Each of these cases can be described as an attack path using ATM techniques and transferred to your own product as a test template.
The cases illustrate test areas, not the manufacturers’ current security posture. The Jeep case predates UN R155 by years; the recall was a US procedure.
Commissioning an automotive pentest: eight steps
An automotive pentest can be commissioned in eight steps from trigger to retest; what matters is that the objective, test levels, access and rating logic are fixed before testing begins.
- 1Clarify the trigger and evidence objective
Type approval, verification or a change in the field – who is the evidence for?
- 2Provide documentation
TARA, architecture, communication matrix, software versions.
- 3Define test levels
Test bench, HIL, vehicle, ecosystem; justify exclusions.
- 4Derive test cases
Enrich TARA paths with ATM techniques, check against the catalog.
- 5Agree on the framework
Authorization, third-party consent, data protection, safety rules.
- 6Test and coordinate
Report critical findings immediately.
- 7Rate and report
Feasibility using the TARA method, link to the goals.
- 8Fix and retest
Retest, then update the TARA and the evidence.
UN R155 does not specify a fixed test interval, but it does require the risk assessment to be kept current and the effectiveness of the measures to be verified – including after first registration. Triggers for new tests are significant changes, new services and newly known attack techniques.
How to recognize a robust quote
- Reference to your TARA and the UN R155 threat catalog, named test levels and methods
- Experience with in-vehicle networks, diagnostic protocols and vehicle radio systems
- Safety concept, rating compatible with ISO/SAE 21434, retest
A pentest replaces neither the TARA nor monitoring in the field: it is a snapshot in the cycle of risk assessment, measures, testing and monitoring.
Glossary
Glossary: automotive pentesting terms
16 terms from regulations, standards and testing practice.
16 of 16 terms
- Automotive pentestVehicle penetration test, automotive security testing
- Commissioned security assessment that mimics real-world attacks on vehicles, ECUs or the vehicle ecosystem to find ways to violate cybersecurity goals.
- ECUElectronic control unit
- Embedded computer that controls a vehicle function such as braking or infotainment and communicates via in-vehicle networks such as CAN; the central test object on the test bench.
- UN R155UN Regulation No. 155
- UNECE regulation on vehicle cyber security with a CSMS and tests for each vehicle type; in the EU, mandatory for categories M and N for new types since July 6, 2022, and for all new registrations since July 7, 2024.
- CSMSCyber security management system
- Risk-based processes with which a vehicle manufacturer handles cyber risks across the lifecycle, including testing processes; the certificate of compliance is valid for no more than three years.
- Technical service
- Testing body designated by the approval authority – in Germany, by the KBA; it audits the CSMS and, under UN R155, tests a vehicle of the type on a sample basis.
- ISO/SAE 21434Road vehicles – Cybersecurity engineering
- 2021 standard for cybersecurity engineering in road vehicles; it defines penetration testing and provides for testing in verification and validation, but does not cover backends.
- TARAThreat Analysis and Risk Assessment
- The threat analysis and risk assessment under ISO/SAE 21434 – from damage scenarios via attack paths to risk values; the most important source of test cases.
- Attack feasibilityAttack feasibility rating
- Measure of how easily an attack path can be carried out, rated by attack potential, CVSS exploitability or attack vector; pentests check these assumptions.
- Automotive Threat MatrixATM
- Auto-ISAC knowledge base modeled on MITRE ATT&CK, public since March 2024: 14 tactics and 75 techniques, also intended for penetration testing.
- UN R155 threat catalog
- List of threats and attack methods in UN R155: seven categories, 30 threats, around 70 examples (67 numbered entries); mandatory for the risk assessment.
- UDSUnified Diagnostic Services, ISO 14229
- Diagnostic protocol for reading and writing data, starting routines and reprogramming ECUs; ISO 14229-1 has been available in its fourth edition since June 2026.
- Security AccessUDS service 0x27
- UDS service that unlocks protected functions with a seed-key mechanism; since the 2020 edition, it has been complemented by an authentication service (0x29) using certificates or challenge-response.
- HIL test benchHardware in the loop
- Test setup in which real ECUs operate with a simulated environment of restbus, sensors and actuators – repeatable, risk-free and without a vehicle.
- Relay attackRelay station attack
- Forwarding of the radio communication between key and vehicle over a greater distance so that the vehicle believes the key is present; demonstrated on 10 models in 2011.
- FuzzingFuzz testing
- Automated test method that stresses interfaces with malformed inputs to uncover unknown faults; ISO/SAE 21434 names it as a test method.
- Cybersecurity interface agreementCSIA
- Agreement between customer and supplier under ISO/SAE 21434 on distributed cybersecurity activities – including who takes on which test level and who fixes findings.
FAQ
Frequently asked questions about automotive penetration testing
Short answers for manufacturers, suppliers and homologation teams – as of November 2026, not legal advice.
Automotive penetration testing is a commissioned security assessment that mimics real-world attacks on a vehicle, an ECU or the vehicle ecosystem – from the debug port to the backend. Unlike a vulnerability scan, an automotive pentest chains individual findings together and demonstrates whether an attack path is viable.
No, not by the letter of the regulation. UN R155 requires appropriate and sufficient testing of the security measures before type approval, and the authority or technical service tests a vehicle of the type. The KBA lists penetration testing as a recommended, not mandatory, test method and generally considers purely document-based evidence insufficient.
In product development, ISO/SAE 21434 names penetration testing as a test method alongside vulnerability scanning and fuzzing, and in vehicle-level validation as a means of demonstrating that the cybersecurity goals have been achieved. The standard does not prescribe specific test procedures; since November 2026, ISO/SAE TR 8477 has provided guidance.
An ECU penetration test (ECU pentest) examines hardware, firmware and interfaces, usually on the test bench: locked debug interfaces, embedded keys, outdated components, the response to forged bus messages, access control for the UDS diagnostic services, and the protection of updates and the boot chain.
CAN bus security is tested on the test bench or in a HIL setup, with attack chains additionally tested on the vehicle. Testers check whether ECUs accept forged messages, whether overload can paralyze the bus, whether the gateway separates the networks and whether message authentication is effective. A theft via CAN injection in 2023 showed how realistic this is.
Security Access is a UDS diagnostic service that unlocks protected functions such as reprogramming via a seed-key mechanism – without mutual verification and without session authentication. Testers examine how keys are generated and stored and whether the protection can be bypassed; the Automotive Threat Matrix lists bypassing it as a technique of its own.
An automotive pentest should take place in several stages: on the ECU as soon as hardware samples are available, in a HIL setup, on the complete vehicle before type approval and in the ecosystem as soon as backend and apps can be tested. After that, significant changes, new services and newly known attack techniques trigger new tests.
UN R155 directly obliges only the vehicle manufacturer; there is no separate certificate for suppliers. However, the manufacturer must manage supply chain risks and passes requirements on through contracts and the cybersecurity interface agreement. Test bench and HIL tests are therefore an obvious form of evidence for suppliers.
Yes, if they belong to the vehicle’s functions. ISO/SAE 21434 does not cover backends, but the UN R155 threat catalog explicitly addresses them. The 2024 Kia portal flaws and the openly accessible location data of around 800,000 electric vehicles from the Volkswagen Group show that such vulnerabilities affect entire fleets.
An automotive pentest uses the same hardware and firmware methods as an IoT pentest but adds in-vehicle networks, diagnostic protocols such as UDS, key fobs and V2X, safety consequences for driving functions and type approval under UN R155 – as well as HIL setups and the complete vehicle as test levels.
Standards & Sources
The content on this page is based on the following publicly available guides and studies.
Publications Office of the EU · 2025
UN-Regelung Nr. 155 – Cybersicherheit und Cybersicherheitsmanagementsystem (ABl. L 2025/5) ↗
UN Regulation No. 155 – Cyber security and cyber security management system, official German version (in German): paragraphs 3.2.2, 5.1.2, 5.1.3, 7.2.2.2–7.2.2.4, 7.3.6, 7.3.7, 7.4.1, Annex 5.
Federal Motor Transport Authority (KBA) · 2026
Cyber-Security & Software-Update ↗
Pentests recommended, not mandatory; up to two retests; accessed on November 23, 2026.
ISO / SAE International · 2021
ISO/SAE 21434:2021 – Road vehicles – Cybersecurity engineering ↗
Clauses 10, 11 and 15; status “to be revised” since October 2, 2026.
Black Duck · 2021
Secure automotive software development following ISO/SAE 21434 ↗
Secondary source on RC-10-12 and RQ-11-01.
ISO / SAE International · 2026
ISO/SAE TR 8477:2026 – Road vehicles – Cybersecurity verification and validation ↗
Technical report, published on November 6, 2026.
Auto-ISAC · 2026
Automotive Threat Matrix (ATM) ↗
14 tactics, 75 techniques; accessed on November 23, 2026.
Auto-ISAC · 2024
Auto-ISAC launches Automotive Threat Matrix (ATM) tool ↗
Press release of March 27, 2024; intended uses include penetration testing.
ISO · 2026
ISO 14229-1:2026 – Unified diagnostic services (UDS) – Part 1: Application layer ↗
Fourth edition, June 2026.
Embedded Computing Design · 2024
New UDS Authentication: Enhanced Security, Familiar Challenges ↗
Secondary source on Security Access (0x27) and Authentication (0x29).
Noerr · 2026
Delegated Regulation (EU) 2026/699: secure gateways, OBD access and RMI ↗
Secondary source on Delegated Regulation (EU) 2026/699, applicable since June 23, 2026.
Official Journal of the EU / EUR-Lex · 2019
Regulation (EU) 2019/2144 (General Safety Regulation) ↗
Annex II, row D4: July 6, 2022 (new types), July 7, 2024 (registration), categories M and N.
IEEE Spectrum · 2015
Fiat Chrysler Recalls 1.4 Million Vehicles to Patch Software’s Security Flaw ↗
Report of July 24, 2015, on the Jeep case.
NCC Group · 2022
Technical Advisory: Tesla BLE Phone-as-a-Key Passive Entry Vulnerable to Relay Attacks ↗
Advisory of May 15, 2022.
Canis Automotive Labs (Ken Tindell) · 2023
CAN Injection: keyless car theft ↗
Analysis of April 3, 2023.
Sam Curry · 2024
Hacking Kia: Remotely Controlling Cars With Just a License Plate ↗
Reported on June 11, 2024, published on September 26, 2024.
Chaos Computer Club (38C3) · 2024
Wir wissen wo dein Auto steht – Volksdaten von Volkswagen ↗
Talk (“We know where your car is parked – people’s data from Volkswagen”) of December 27, 2024 (in German).
SecurityWeek · 2025
Millions of Cars Exposed to Remote Hacking via PerfektBlue Attack ↗
Report of July 10, 2025 (CVE-2024-45431 to -45434).
Zero Day Initiative · 2026
Pwn2Own Automotive 2026 – Day Three Results and the Master of Pwn ↗
76 unique zero-days, January 21–23, 2026.
How robust is your test evidence for UN R155?
In a no-obligation initial consultation, we clarify the trigger, test levels and access, derive test cases from your TARA and the Automotive Threat Matrix, and show how the results feed into type approval documentation, the cybersecurity case and vulnerability management.