Tools

The toolbox

What it takes to read a bus, forge a frame, probe a chip or capture a radio signal. The well-known public tools, grouped by use, with what each one does.

CAN reading and injection

Read, replay and forge traffic on a bus, from the software side.

can-utils / candump

software

Captures and displays, in real time, every frame on a SocketCAN interface. The starting point of any reconnaissance.

can-utils / cansend, cangen

software

Forges and injects a specific frame, or generates a stream of frames to flood the bus or fuzz an ECU.

can-utils / canplayer

software

Replays a recording of frames verbatim, timestamps included. The canonical tool for the replay attack.

can-utils / cansniffer

software

Groups frames by identifier and highlights the bytes that change. Ideal for isolating a signal.

SavvyCAN

software

A cross-platform GUI for capturing, replaying and reverse engineering CAN and CAN-FD frames.

Wireshark

software

A network analyser with SocketCAN and ISO-TP dissectors to pick a capture apart frame by frame.

python-can

software

A Python library that drives most CAN interfaces: capture, injection and scripted automation.

Diagnostics and UDS

Talk to the ECUs through the standardised diagnostic services.

Caring Caribou

software

The "nmap of CAN": UDS service discovery, identifier scanning, fuzzing and session brute-forcing.

python-udsoncan

software

A Python implementation of UDS (ISO 14229) for scripting sessions, data read/write and routines.

python-doipclient

software

A DoIP client (diagnostics over IP/Ethernet) to reach the ECUs of recent vehicles.

Scapy (couches auto)

software

Forges and dissects CAN, ISO-TP, UDS, DoIP and GMLAN from Python, for custom scenarios.

J2534 / pass-thru

hardware

The standardised interface of OEM tools, often repurposed for flashing and diagnostics.

CAN hardware interfaces

The physical bridge between the PC and the CAN-H / CAN-L pair.

CANtact / CANable

hardware

Open-source USB-CAN adapters, recognised natively by SocketCAN. The entry level of the lab.

Peak PCAN-USB

hardware

A very widespread professional CAN interface, with stable drivers and broad tooling support.

Kvaser Leaf

hardware

A rugged CAN/CAN-FD interface with a complete API, common in embedded engineering.

Macchina M2

hardware

Embeddable hardware plugged straight into the OBD-II port, programmable for fieldwork.

Raspberry Pi + chapeau MCP2515

hardware

A low-cost embedded platform for building a standalone CAN bench and scripting in Python.

Radio and wireless

For RF entry points: key fobs, keyless entry, cellular, GNSS.

HackRF One

radio

A wideband SDR from 1 MHz to 6 GHz, transmit and receive. Captures and replays key fob signals.

RTL-SDR

radio

A very cheap receive-only SDR, for observing and identifying the bands in use.

YARD Stick One

radio

A sub-GHz transceiver (300-900 MHz), tailored for remote controls and RF key fobs.

GNU Radio

software

A signal-processing workbench for assembling custom transmit and receive chains.

Low-level hardware and fault injection

When you open up the ECU and attack the silicon.

ChipWhisperer

hardware

A platform for fault injection (voltage or clock glitching) and side-channel analysis.

JTAGulator

hardware

Automatically identifies exposed JTAG / SWD debug pins on an unknown board.

Bus Pirate

hardware

A Swiss army knife for talking SPI, I2C and UART to a chip and probing a circuit.

Analyseur logique

hardware

Captures the digital signals of an internal bus to reverse engineer them offline.

flashrom / programmateur mémoire

hardware

Reads and writes an ECU's flash memory, to extract or replace a firmware image.

Simulation and frameworks

Practise without a vehicle, and tool up your campaigns.

ICSim

framework

OpenGarages' dashboard and CAN traffic simulator, for practising replay without a car.

Metasploit (hwbridge)

framework

A hardware bridge that lets you drive CAN interfaces from the exploitation framework.

OpenGarages / Car Hacking Village

framework

Resources, test benches and documentation from the car hacking community.

Reference list for learning. None of these tools is run here.