Decoder
Decode and modify a frame
Pick a signal, change the byte that carries it, and watch what the car makes of it.
The speed spans two bytes (3 and 4), stored most significant first. The instrument cluster displays this value directly: whoever rewrites these bytes makes the speedometer lie.
00 00 00 18 9C 00 00 00What it means Bytes 3-4 = 0x189C = 6300 × 0.01 → 63 km/h
Show the bits
Byte 3
| Byte | hex | binary | decimal |
|---|---|---|---|
| 0 | 0x00 | 00000000 | 0 |
| 1 | 0x00 | 00000000 | 0 |
| 2 | 0x00 | 00000000 | 0 |
| 3 | 0x18 | 00011000 | 24 |
| 4 | 0x9C | 10011100 | 156 |
| 5 | 0x00 | 00000000 | 0 |
| 6 | 0x00 | 00000000 | 0 |
| 7 | 0x00 | 00000000 | 0 |
Attack scenarios
Legitimate frame versus forged frame. Changed bytes are highlighted.
Speed spoofing
An ECU injects a false speed while the vehicle is moving.
244 00 00 00 18 9C 00 00 00244 00 00 00 00 00 00 00 00Effect: Bytes 3-4 go from 0x189C (63 km/h) to zero. The instrument cluster shows 0 km/h while the car is moving, and the functions that depend on speed are fooled.
Unlock replay
The door unlock frame, captured earlier, is resent unchanged.
19B 00 00 0F 00 00 00 00 0019B 00 00 00 00 00 00 00 00Effect: Byte 2 goes from 0x0F (four doors locked) to 0x00. The ECU cannot tell a replay from a legitimate command: the doors open.
Injection: hazard lights
A forged frame turns on both turn signals at once.
188 00 00 00 00 00 00 00 00188 03 00 00 00 00 00 00 00Effect: Byte 0 becomes 0x03: bits 0 and 1 are set to 1, both turn signals light up. A single frame is enough to produce an effect visible from the outside.
Priority-based denial of service
A node endlessly transmits the highest-priority identifier.
244 00 00 00 18 9C 00 00 00000 00 00 00 00 00 00 00 00Effect: By monopolizing arbitration with identifier 0, the attacker prevents any other frame from getting through. The network freezes, and no software countermeasure really stops it.
Identifiers and bytes are teaching examples, not a real manufacturer's values. Nothing is transmitted: everything is computed in your browser.