Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

BACnet plugins

BACnet (Building Automation and Control Networks) is an ASHRAE/ISO/ANSI standard protocol for building automation systems. It is widely deployed in HVAC controllers, fire alarm panels, lighting systems, energy meters and access control equipment in commercial buildings and industrial facilities.

BACnet/IP carries the protocol over UDP port 47808 (0xBAC0) and requires no authentication by default. Any host that can reach the UDP port can enumerate devices, read sensor values and setpoints and write to outputs or actuators. BACnet/SC (Secure Connect) adds TLS mutual authentication but is not yet widely deployed.

Device model

A BACnet network is composed of devices, each of which exposes a set of objects. Every object has a type (e.g., Analog-Input, Binary-Output, Device) and an instance number, identified together as an Object Identifier. Objects carry properties (present value, description, units, limits, etc.) read and written via the ReadProperty/WriteProperty confirmed services.

Discovery

Devices announce themselves via the Who-Is/I-Am exchange. A client broadcasts a Who-Is request. Every device in range responds with an I-Am containing its device instance number, vendor ID and maximum APDU size.

When the iottack client and the target device share a host, the simulator already holds port 47808 so I-Am broadcasts cannot be received. Use --device-id to bypass discovery and specify the device instance directly.

Plugins

PluginCommandPurpose
find-devicesiottack bacnet find-devicesDiscover all reachable BACnet/IP devices via Who-Is broadcast
scaniottack bacnet scanEnumerate devices and read key Device-object properties
infoiottack bacnet infoRead identification and status properties of a single device
network-infoiottack bacnet network-infoRead BACnet network configuration of a device
servicesiottack bacnet servicesRead supported BACnet services and object types
device-propertiesiottack bacnet device-propertiesRead all standard Device-object properties
object-listiottack bacnet object-listEnumerate all objects and read their present values
object-propertiesiottack bacnet object-propertiesRead all standard properties of a specific object
event-infoiottack bacnet event-infoRead event and alarm state of a device
fuzziottack bacnet fuzzSend malformed BACnet PDUs and report anomalous responses

Severity model

FindingSeverity
Device found; all property reads rejectedHigh
Identification/status properties readable unauthenticatedCritical
Process data (present values) readable unauthenticatedCritical
Writes accepted unauthenticatedCritical
No devices found or connection failedInfo