🎉 VSEC Test v4.3.0 is now live! Release Notes ↗
Simulations

Simulations

Overview

The simulations in VSEC provide a virtual environment for you to test tools, write scripts, or learn about automotive protocols. Simulations provide terminal access and come pre-loaded with an emulated target so you can get started right away. Simulations are geared toward learning while remaining consistent with real world devices.

UDS and XCP Starter Challenge

The UDS and XCP Starter Challenge is a free simulation containing a simple, vulnerable UDS and XCP service. Use it to try out the freely available Test Cases and to experiment with creating your own Custom Test Cases without needing a physical Bench.

  • Free to use
  • Simple vulnerable UDS server
  • Simple vulnerable XCP server
  • Supports running Test Cases as a Simulation Bench
  • Suitable for trying out Custom Test Cases
  • Includes the bw_cli tool for running audits from the terminal
New to VSEC Test? Follow the UDS and XCP Starter Challenge walkthrough ↗ in Block Harbor Learn to run your first discovery, Test Plan, and Test Run.

UDS Challenge

The UDS Challenge simulation provides a virtual CAN bus connected to a simple Unified Diagnostic Services server, and is a great place to start learning the basic concepts of UDS:

  • ISO 15765
  • ISO 14229
  • Reading data via UDS
  • Reading memory via UDS
  • Security Access algorithms

Walkthroughs for this simulation are available in Block Harbor Learn ↗.
Challenges for this simulation ↗ are available in the Proving Grounds — read the VIN, capture the startup message, extract secrets from memory, and defeat Security Access seed-and-key.

PowerPC (MPC5566)

The PowerPC (MPC5566) simulation provides a realistic example, a CAN bus connected to a basic emulator for an automotive processor, the MPC5566. Within this emulator is embedded PowerPC firmware applying concepts seen in real automotive firmware including a UDS stack.

  • Few hints provided
  • Realistic firmware and execution environment
  • Explore many aspects of UDS
  • Reverse engineer PowerPC embedded firmware
  • Find and abuse realistic vulnerabilities
Challenges for this simulation ↗ are available in the Proving Grounds — bypass Security Access, dump firmware, forge an RSA signature, and reflash the ECU with your own code.
Last updated on