A vehicle security test case is only useful if it tests something your ECU actually does.
There is no shortage of automotive security test-case libraries. There are also plenty of tools that can generate tests with AI. Neither solves the harder problem: knowing what to test, how a particular ECU behaves, and where its security controls are likely to fail.
Every ECU is different. Proprietary UDS services, custom implementations, exposed interfaces and configuration decisions create an attack surface that a generic library cannot fully describe. A collection of standard protocol checks gives you a starting point, not evidence that your specific target is secure.
The difference comes from experience testing real vehicles and ECUs. At Block Harbor, we've performed more than 150 hands-on penetration tests since 2015, and we've turned what those engagements uncovered into protocol knowledge and test cases that go beyond what you'll find in public specifications.
VSEC Test puts that experience behind AI that builds tests for your specific target, runs them through hardware on your desk, and keeps every finding for the next release.
Generic vehicle security test cases have a target problem
Most test libraries organize cases around protocols and interfaces. That's useful, but it assumes you already know which services your target exposes and how to interpret its responses.
Consider UDS. A library can include security access checks, memory read attempts and memory write attempts. But your ECU might expose proprietary services, implement standard services differently, or have configuration-specific behavior that changes what an attacker can reach. The same applies to XCP, CCP, CAN and automotive Ethernet. Knowing the protocol is not the same as knowing how a particular implementation behaves under attack.

A test library should give your team reusable building blocks. It should not be mistaken for a complete assessment of an ECU. The missing ingredient is practical knowledge of how these systems break, and that only comes from testing actual targets.
150+ pentests behind the test cases
Since 2015, Block Harbor engineers have run more than 150 penetration tests by hand. Those engagements cover the details that matter on real vehicle systems: how implementations behave, which interfaces expose useful attack paths, and where security assumptions don't hold up.
We turn that experience into reusable protocol knowledge and test cases. The library covers:
- UDS security access
- Memory read and write over UDS, CCP and XCP
- CAN flooding
- TLS and mutual TLS configuration checks
- SSH and Telnet checks
The value isn't the number of tests in the library. It's the experience behind them and the ability to apply it to your target. 400 TARAs sit behind that experience too, so the testing connects to the risks you've identified, the mitigations you've selected and the evidence you need for a release decision.
Discovery makes the tests relevant to your ECU
Before running tests, VSEC Test discovers what the target actually exposes. Its discovery scan maps UDS and XCP servers, identifies the services they answer, detects CAN and CAN FD, and finds hosts and open ports on automotive Ethernet.
That gives the testing a map of the actual target instead of a generic list of possible interfaces. Tests focus on the services and interfaces that respond, rather than treating every ECU as interchangeable. The public specification tells you what a service can do. Testing tells you what your ECU actually does.
From there, VSEC Test combines its existing cases with tests written for the target. Custom Python test cases are written in an editor inside VSEC, covering behavior that doesn't fit a standard library case.
Put the testing hardware beside the ECU
Vehicle security testing needs access to the actual hardware. VSEC Test uses a VSEC Bench: a stock Raspberry Pi flashed with our image, placed beside the device under test and connected to VSEC over a VPN.
One Bench brings several interfaces into the same test:
- CAN and automotive Ethernet
- A JTAG debugger
- UART, with a shell on the target's own operating system
Because the Bench runs Linux, any Linux tool runs alongside the testing. Your team gets every interface it needs without building separate test infrastructure for each engagement, and the ECU never leaves your building. See Remote ECU Security Testing.
From a pentest finding to a test on every release
The most useful security test isn't the one that finds a problem once. It's the one that makes sure the problem doesn't come back.
A customer believed a JTAG port on its hardware was disabled. We connected through the VSEC Bench and confirmed that the port was protected. That check didn't disappear into a pentest report. It became a test that runs against every unit and every release.
That is the difference between a one-time assessment and repeatable security validation:
- Discover the target's exposed interfaces and services.
- Generate and select the tests that fit the target.
- Run them through the VSEC Bench.
- Review results with Block Harbor engineers or your own team.
- Keep findings as test cases and evidence for the next run.
Each run maps results to R155 mitigations and exports a PDF report. You can compare a new run with the previous one to see what changed, and findings land as evidence on the risks they prove in VSEC. Your ECU's software and configuration change; the security evidence keeps pace. More on why: Your ECU Pen Test Expires at the Next Release.
Pentesting, fuzzing and repeatable tests do different jobs
A penetration test investigates the target, follows attack paths and finds weaknesses nobody anticipated. Fuzz testing explores how software handles unexpected or malformed input. Repeatable test cases check specific behaviors and controls over time.
A mature validation program uses all three. The pentest expands your understanding of the attack surface, fuzzing explores implementation behavior, and repeatable test cases preserve what you've learned so you can check it again after every change. For a closer look, read Fuzz Testing vs. Penetration Testing in Automotive Cybersecurity.
Start testing without connecting hardware
You don't need an ECU or a VSEC Bench to see how this works. The free UDS & XCP Starter Challenge gives your team a simulated target, so you can run discovery and protocol tests before bringing your own device in.
Vehicle security test cases should reflect the systems you actually ship, not just the protocols they happen to use. We've spent years finding out how real ECUs fail, and VSEC Test puts that knowledge behind tests your team can review and carry from release to release.
Try the free UDS & XCP Starter Challenge, or bring us your own ECU and we'll run it against your hardware.
Subject expert

Jesse Wasen is Director of Red Team and Operations at Block Harbor, where she oversees the company’s business operations and leads client engagements from scoping through delivery. Her combined red team and incident response background ties findings to real-world impact and practical defense. A PMP-certified project manager, she also serves as a Director with DEF CON’s Car Hacking Village and has been involved with FIRST, the global incident response community.




