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 scan

Discover BACnet/IP devices and read device properties unauthenticated.

Usage

iottack bacnet scan [OPTIONS]

Description

Implements the reconnaissance approach of BACteria as an iottack plugin.

  1. Who-Is broadcast / unicast: sends a BACnet Who-Is datagram on UDP 47808. Without --host the packet is sent as a global broadcast so every BACnet/IP device on the local network is queried at once. With --host a unicast Who-Is targets a single device.
  2. I-Am collection: the plugin listens for I-Am responses for the full --timeout-ms window. Each unique responder is recorded with its device instance number and vendor ID.
  3. ReadProperty enumeration: for every discovered device the plugin sends unauthenticated ReadProperty confirmed requests for eight Device-object properties: Vendor Name, Vendor ID, Object Name, Model Name, Firmware Revision, App Software Version, Description and Location.

BACnet provides no authentication by default (BACnet/SC adds TLS but is not yet widely deployed). Any device that responds is a potential attack target.

Severity mapping

FindingSeverity
No BACnet devices foundInfo
Device responds to Who-Is; ReadProperty rejectedHigh
Device allows unauthenticated ReadPropertyCritical

Options

FlagShortDefaultDescription
--host <HOST>-H(broadcast)Target host for unicast scan
--port <PORT>-p47808BACnet/IP UDP port
--timeout-ms <MS>-3000Who-Is discovery window in ms
--output <FILE>-o-Save result to a file
--format <FORMAT>-ftexttext or json
--verbose-v-Increase log verbosity

Example

$ iottack bacnet scan --host 192.168.1.50

Plugin name:    bacnet/scan
Execution time: 4.83 s
Status:         pass
Date:           2025-11-01 00:00:00 UTC

BACnet/IP device at 192.168.1.50:47808 exposes 6 properties unauthenticated
  Device accepted ReadProperty requests for 6 Device-object properties
  without any credentials: Vendor Name, Vendor ID, Object Name, Model Name,
  Firmware Revision, Description.
  Evidence:
    Address:         192.168.1.50:47808
    Device instance: 1234
    Vendor ID (IAm): 8
    Vendor Name: Siemens
    Vendor ID: 8
    Object Name: Field Panel
    Model Name: PXC001-E.D
    Firmware Revision: 2.3.1
    Description: HVAC controller lobby