Sysrupt Portable OT Range

ICS/SCADA Cybersecurity Training Platform

View on GitHub

Challenge 4 - Building Recon

Points: 350
Protocol: BACnet/IP
Difficulty: Intermediate


The Story

Remember that device at 10.0.1.20 from your very first scan? It had no TCP ports open - but it’s definitely there. Something is monitoring the building’s environment. Not all industrial protocols use TCP.

What You Know

Step 1: Think Beyond TCP

Your earlier scans used -sT which only scans TCP. Many industrial protocols use UDP instead.

Hint: Building automation commonly uses UDP port 47808.

How to scan UDP? ```bash sudo nmap -sU -p 47808 10.0.1.20 ``` Note: UDP scans require `sudo`.

Step 2: What is BACnet?

BACnet (Building Automation and Control Networks) controls:

It uses UDP port 47808 and has zero authentication by default.

Step 3: Discover the Device

Use the BACnet tool to find out what’s running.

How? ```bash python3 ~/tools/bacnet-tool.py -t 10.0.1.20 -c scan ```

Step 4: Enumerate Objects

BACnet organizes data as objects:

List everything on the device.

Command? ```bash python3 ~/tools/bacnet-tool.py -t 10.0.1.20 -c list ```

Look carefully at the output. Some objects have unusual instance numbers - those are worth investigating.

Step 5: Dig Deeper

A thorough pentester doesn’t just read values - they check all properties of interesting objects. BACnet objects have properties like Present-Value (85), Description (28), and Object-Name (77).

Hint: An object with an unusual instance number might have something hidden in its Description.

How to read all properties? ```bash python3 ~/tools/bacnet-tool.py -t 10.0.1.20 -c read-all --type AV --instance ``` Try different instances, especially unusual ones. </details> --- ## What You Learned - BACnet uses UDP - TCP scans miss it completely - Building management systems often sit on the corporate network, not segmented - BACnet has zero authentication - anyone can read AND write - An attacker could control HVAC, unlock doors, disable fire alarms - Always scan UDP ports when testing OT environments ## Scoreboard Updates about 30 seconds after a BACnet query is detected.