BACnet
— Building Automation and Control NetworksBACnet is the worldwide standard protocol engineered specifically for building management systems (BMS). It models smart buildings as standardized collections of objects (Analog Input for temperature, Binary Output for fans, Schedules) communicating over BACnet/IP (UDP 47808) or MS/TP.
Interactive Session: How BACnet Works
Step through the packet exchange sequence between nodes.
Interactive Execution Sandbox
Interact with a live or clearly-labelled simulated instance of BACnet.
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.
Unauthenticated BACnet write
InjectionBACnet has no native authentication, so anyone who reaches UDP 47808 can write setpoints and schedules.
Reach the building network
The attacker gains access to the BAS VLAN.
BACnet traffic from IT or guest networks.
Comfort, safety and energy impact in the building.
Defences that matter
- Segment the BAS network
- BACnet/SC with TLS
- Gateway allowlists and write monitoring
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
- Standardized Object and Property model (Analog Input, Binary Output, Multi-state, Schedule)
- BACnet/IP over UDP port 47808 (hex 0xBAC0)
- Who-Is and I-Am device discovery broadcast services
- BACnet/SC (Secure Connect) using TLS and WebSockets for modern cybersecurity
Real-World Use Cases
- Skyscraper central HVAC chiller and thermostat regulation
- Commercial smart lighting and occupancy sensor automation
- Hospital critical airflow and emergency generator monitoring
Advantages & Strengths
- Prevents proprietary vendor lock-in across chillers, air handlers, and lighting
- Rich domain-specific building automation semantics
Limitations & Vulnerabilities
- Legacy BACnet/IP broadcast traffic requires BBMD routers to traverse subnets and lacks encryption without BACnet/SC