๐Ÿš— NullSec CAN Bus

March 7, 2026 ยท View on GitHub

๐Ÿš— NullSec CAN Bus

CAN Bus Security Analysis & Fuzzing Toolkit

Rust C License NullSec

CAN bus sniffing, injection, fuzzing, and ECU reverse engineering


๐ŸŽฏ Overview

NullSec CAN Bus is an automotive security toolkit for analyzing Controller Area Network (CAN) traffic. It provides tools for passive monitoring, active injection, protocol fuzzing, and ECU identification โ€” essential for automotive penetration testing and research.

โšก Features

FeatureDescription
CAN SnifferHigh-speed CAN frame capture with filtering and logging
Frame InjectorCraft and inject arbitrary CAN frames
Bus FuzzerIntelligent CAN ID and data field fuzzing
ECU ScannerDiscover and fingerprint ECUs on the bus
DBC ParserImport/export DBC files for signal decoding
Replay AttackRecord and replay CAN traffic sequences
UDS ClientUnified Diagnostic Services (ISO 14229) scanner
Anomaly DetectorBaseline CAN traffic and detect deviations

๐Ÿ”ง Supported Interfaces

InterfaceConnectionStatus
SocketCAN (Linux)Any CAN adapterโœ… Full
PCAN-USBUSB-to-CANโœ… Full
CANtactUSB-to-CANโœ… Full
ELM327OBD-II portโœ… Full
Kvaser LeafUSB-to-CANโš ๏ธ Beta
Virtual CAN (vcan)Testingโœ… Full

๐Ÿš€ Quick Start

# Set up CAN interface
sudo ip link set can0 type can bitrate 500000
sudo ip link set can0 up

# Sniff CAN traffic
nullsec-canbus sniff --interface can0 --filter 0x7E0-0x7EF

# Scan for ECUs
nullsec-canbus ecu-scan --interface can0

# Fuzz CAN IDs
nullsec-canbus fuzz --interface can0 --range 0x000-0x7FF --delay 10ms

# UDS diagnostic scan
nullsec-canbus uds --interface can0 --target 0x7E0

# Record and replay
nullsec-canbus record --interface can0 -o session.canlog
nullsec-canbus replay session.canlog --interface can0
ProjectDescription
nullsec-carfuzzAutomotive protocol fuzzer
nullsec-keyfobKey fob & immobilizer analysis
blackflagPineFlip device manager
nullsec-sdrRF signal analysis
nullsec-linuxSecurity Linux distro (140+ tools)

For authorized automotive security testing only. Never test on vehicles in traffic or without explicit authorization from the vehicle owner.

๐Ÿ“œ License

MIT License โ€” @bad-antics


Part of the NullSec Automotive Security Suite