Decoder

Decode and modify a frame

Pick a signal, change the byte that carries it, and watch what the car makes of it.

63km/h
Byte order

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.

Frame sent on the bus

What it means Bytes 3-4 = 0x189C = 6300 × 0.01 → 63 km/h

Identifier 0x244 · ICSim · priority high

Show the bits

Byte 3

70
60
50
41
31
20
10
00
Bytehexbinarydecimal
00x00000000000
10x00000000000
20x00000000000
30x180001100024
40x9C10011100156
50x00000000000
60x00000000000
70x00000000000

Attack scenarios

Legitimate frame versus forged frame. Changed bytes are highlighted.

Speed spoofing

An ECU injects a false speed while the vehicle is moving.

Legitimate frame244 00 00 00 18 9C 00 00 00
Forged frame244 00 00 00 00 00 00 00 00

Effect: 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.

Legitimate frame19B 00 00 0F 00 00 00 00 00
Forged frame19B 00 00 00 00 00 00 00 00

Effect: 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.

Legitimate frame188 00 00 00 00 00 00 00 00
Forged frame188 03 00 00 00 00 00 00 00

Effect: 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.

Legitimate frame244 00 00 00 18 9C 00 00 00
Forged frame000 00 00 00 00 00 00 00 00

Effect: 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.