ProtoStackv0.1

Interactive Protocol Visualizer

Internet of Things (IoT)Professional trackAdvancedOSI: Data Link LayerDefault Port: Differential Twisted Pair (CAN_H / CAN_L)Standard: ISO 11898-1

CAN Bus

— Controller Area Network

CAN Bus was developed by Robert Bosch to connect automotive ECUs (Engine Control Unit, ABS, Airbags, Transmission) without complex point-to-point wiring harnesses. It uses differential signaling on two wires (CAN_H and CAN_L) and deterministic non-destructive bitwise arbitration.

No prerequisites — a valid entry point.Content reviewed 2026-11-18

Interactive Session: How CAN Bus Works

Step through the packet exchange sequence between nodes.

Interactive Execution Sandbox

Interact with a live or clearly-labelled simulated instance of CAN Bus.

Threat Model & Attack Simulation

How this protocol is attacked in practice, what defenders can see, and which control stops it.

Threat model & attack simulation

Simulated

Defensive education. Every step runs in this page; no traffic is generated or sent.

Attack library

CAN frame injection

Injection

Any node on a CAN bus can transmit frames, so a compromised ECU can spoof safety-critical messages.

Attackersimulated
CAN Bustarget
Attack step 1 of 3
Gain bus access

The attacker connects to the CAN bus through a compromised node or port.

What a defender can see

Unknown nodes and diagnostic traffic.

Impact if unmitigated

Safety-critical vehicle behaviour and component damage.

Defences that matter
  • Segment safety-critical buses
  • Gateway filtering of CAN IDs
  • CAN intrusion detection and secure onboard communication

This is a conceptual model for defenders, not an exploit toolkit. It contains no payloads, tooling or instructions for attacking systems you do not own.

Protocol Specification & Architecture

Key characteristics, real-world deployment patterns, and trade-offs.

Core Technical Features

  • Differential voltage signaling (2.5V recessive, 3.5V/1.5V dominant)
  • Non-destructive bitwise message priority arbitration (lower identifier = higher priority)
  • Built-in CRC error detection, frame check, and automatic error confinement
  • CAN FD (Flexible Data-Rate) supporting payloads up to 64 bytes and 5 Mbps

Real-World Use Cases

  • Automotive internal ECU communication (engine, brakes, steering)
  • Heavy equipment and avionics (CANopen, J1939)
  • Medical robotics and industrial automation

Advantages & Strengths

  • Immune to extreme electrical noise in vehicle engines
  • Deterministic priority ensures life-critical messages like ABS fire first

Limitations & Vulnerabilities

  • Inherently lacks built-in authentication or encryption in base CAN (vulnerable to OBD-II port hacking)