ProtoStackv0.1

Interactive Protocol Visualizer

Internet of Things (IoT)Professional trackAdvancedOSI: Application LayerDefault Port: 47808 (0xBAC0)Standard: ISO 16484-5 / ANSI/ASHRAE 135

BACnet

— Building Automation and Control Networks

BACnet 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.

Read first: UDP, IPv4Content reviewed 2026-11-18

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

Simulated

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

Attack library

Unauthenticated BACnet write

Injection

BACnet has no native authentication, so anyone who reaches UDP 47808 can write setpoints and schedules.

Attackersimulated
BACnettarget
Attack step 1 of 3
Reach the building network

The attacker gains access to the BAS VLAN.

What a defender can see

BACnet traffic from IT or guest networks.

Impact if unmitigated

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