CAN Bus
— Controller Area NetworkCAN 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.
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
SimulatedDefensive education. Every step runs in this page; no traffic is generated or sent.
CAN frame injection
InjectionAny node on a CAN bus can transmit frames, so a compromised ECU can spoof safety-critical messages.
Gain bus access
The attacker connects to the CAN bus through a compromised node or port.
Unknown nodes and diagnostic traffic.
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)