Skip to content
TopHat Security

BUSRUNNERFlash it, boot it, bridge every serial bus.

BUSRUNNER is a bootable Raspberry Pi appliance that bridges, exposes, monitors and secures RS-232, RS-485, RS-422 and CAN bus interfaces over TCP, Bluetooth and virtual PTY devices, with an intrusion detection system for serial ICS protocols.

Serial IDS flags a write storm on RS-485Illustration
Buses
RS-232, RS-485, RS-422, CAN
Baud rate
50 to 4,000,000 bps
TCP clients
Up to 4 at once per port
Ships as
Bootable Raspberry Pi image
Serial IDS live alert feed: CRC errors, write storms, slave scan patterns and burst anomalies on the serial bus, surfaced as they happen.

Serial IDS live alert feed: CRC errors, write storms, slave scan patterns and burst anomalies on the serial bus, surfaced as they happen.

See BUSRUNNER in action

Real screenshots from live deployments: Modbus simulation and IDS rule configuration.

Desktop Modbus simulator dashboard with live register values, coil states and traffic visualisation.
Desktop Modbus simulator dashboard with live register values, coil states and traffic visualisation.
Modbus RTU simulator in the web UI: a virtual slave with configurable coils, registers and function codes, for testing masters without live hardware.
Modbus RTU simulator in the web UI: a virtual slave with configurable coils, registers and function codes, for testing masters without live hardware.
Modbus IDS rule configuration: rate thresholds, scan detection and anomaly sensitivity tuned to the environment.
Modbus IDS rule configuration: rate thresholds, scan detection and anomaly sensitivity tuned to the environment.

Raspberry Pi: flash, boot, run

BUSRUNNER ships as a bootable image based on Raspberry Pi OS. Flash it to an SD card or USB drive, insert it into any Raspberry Pi and power on. It starts automatically as a system service, with no configuration needed to get started.

Dependencies
Pre-installed
Kernel modules
cdc_acm and kernel modules pre-configured
Web UI
HTTPS with a self-signed TLS certificate
Bluetooth
BlueZ stack pre-configured with a pairing agent
CAN
SocketCAN tools for CAN bus HATs
Port discovery
busrunner ports auto-enumerates every detected interface

Problems BUSRUNNER solves

Serial device locked to a bench
A TCP bridge exposes it across the network
Two tools need the same serial port
The N-way bus bridge shares it transparently
Legacy app expects a COM port
A virtual PTY creates /dev/ttyV0 backed by real hardware
CAN analyser needs physical access
A SocketCAN to SLCAN TCP bridge gives remote access
Serial device needs wireless access
An auto-generated BLE NUS or Classic Bluetooth SPP server
Unknown traffic on an industrial bus
The IDS engine watches for Modbus anomalies and intrusion patterns

Core features

Every bridge type (TCP, virtual PTY, CAN and Bluetooth) is an interchangeable member of the same internal bus fabric.

  • Serial-to-TCP bridging

    Expose any serial port as a TCP server: read-only, write-only or bidirectional. Up to 4 simultaneous clients at 50 to 4,000,000 bps, with full parity, stop bit and flow control.

  • N-way bus bridge

    Join two or more serial ports into a shared logical bus. Data arriving on any port is forwarded to all the others, for RS-485 multi-drop simulation, bus tapping or splitting traffic across tools.

  • Virtual PTY ports

    A POSIX virtual serial device (e.g. /dev/ttyV0) backed by a real physical port. Legacy applications open it like a hardware COM port, with no code changes.

  • CAN bus bridging

    Bridges SocketCAN interfaces to TCP using SLCAN framing, compatible with python-can, socketcand and standard CAN analysis tools. Supports virtual CAN mirroring and PTY-based SLCAN device files.

  • Bluetooth LE and Classic

    BLE NUS GATT peripheral, Classic RFCOMM SPP server with SDP registration, and client modes with auto-reconnect. Config-file mode generates a Bluetooth server for every virtual port.

  • Web management interface

    HTTP/HTTPS dashboard with real-time traffic visualisation, recording (JSONL, hex, binary), live replay, on-the-fly bus creation, Modbus RTU simulator control and the IDS alert feed.

  • Serial IDS engine

    Passively monitors Modbus RTU traffic for CRC errors, write storms, slave scan patterns and burst anomalies.

  • RS-485 / RS-422 support

    Full RS-485 half-duplex mode with RTS direction control, configurable pre- and post-transmission delays, and per-port physical layer annotation (RS-232, RS-485, RS-485-FD, RS-422).

  • Diagnostics engine

    Latency testing (pipeline, loopback, physical), burn-in stress testing with throughput rate control, and CRC-32 framed integrity testing with byte-level error counts.

The world’s first serial ICS intrusion detection system

Industrial serial buses (Modbus RTU, RS-485 networks, CAN) carry critical control traffic that bypasses IP-based security monitoring. An attacker with physical or local access to the bus is invisible to network-layer tools. BUSRUNNER’s IDS engine monitors the bus itself, passively and in real time, and detects:

  • CRC errors and malformed Modbus frames
  • Write storms and rate anomalies
  • Slave scan patterns (sequential polling)
  • Bursts on physical serial buses

Raspberry Pi HAT support

Port detection scans every interface type exposed by common expansion hardware; busrunner ports shows everything found on the running hardware.

Multi-port UART HATs (SC16IS7xx)
SPI/I2C bridge · /dev/ttySC*
USB-serial HATs (FTDI, CP210x, CH340)
USB-serial · /dev/ttyUSB*
GPS HATs and USB receivers (u-blox)
USB CDC ACM · /dev/ttyACM*
Pi built-in UART (PL011)
GPIO header · /dev/ttyAMA*
RP2040-based HATs
USB CDC · /dev/ttyRP*
CAN bus HATs (MCP2515, PiCAN)
SocketCAN · can0, can1
Standard Pi UART
GPIO pins 8/10 · /dev/ttyS0

One command, any bridge

Use the CLI for quick one-off bridges, or a YAML config file for persistent multi-bridge deployments run by the system service.

busrunner ports
Discover all attached serial ports
busrunner tcp /dev/ttyACM0 5000 --mode ro
GPS over TCP, read-only
busrunner bridge /dev/ttyS0 /dev/ttyS1
N-way bus bridge
busrunner vport /dev/ttyUSB0 /dev/ttyV0
Virtual PTY
busrunner can can0 5500
CAN to TCP (SLCAN)
busrunner bluetooth scan
Discover Bluetooth devices
busrunner run config.yaml
Load a full config
busrunner web --config config.yaml
Start the web UI

Architecture and simulator

Runtime
Python 3 asyncio. Blocking serial reads run in per-port threads that push into asyncio queues, so the event loop never blocks across TCP, PTY, CAN and Bluetooth.
Queues
8,192 entries with drop-newest overflow; dropped-byte counters appear in status output
Logging
Remote syslog forwarding (UDP/TCP) for SIEM integration
Modbus RTU simulator
Virtual slave for testing masters without live hardware: function codes 1–6 and 15–16, configurable coils and discrete inputs, holding and input registers, controlled from the web UI
Packet radio
KISS/TNC frame decoder for AX.25

Who uses BUSRUNNER

Security researchers
Probe industrial control systems, vehicle buses and embedded devices
Field engineers
Remote serial access without physically swapping cables
Systems integrators
Multi-device RS-485 networks and CAN bus diagnostics
Developers
Bridge legacy serial equipment into modern networked architectures

Talk to an engineer about BUSRUNNER.

Tell us about your environment. The reply comes from someone who works on BUSRUNNER.

Your environment, the products you’re looking at, or the problem you’re solving.

We reply from a TopHat address and never share your details.