Challenge 7 - Power Substation Blackout
Points: 500
Protocol: IEC 60870-5-104
Difficulty: Advanced
The Story
The plant has its own power substation - breakers, feeders, and a 230V supply keeping everything running. It’s controlled by a European SCADA protocol that manages power grids across the world. One command to the wrong breaker and the entire facility goes dark. Open the Power tab on the HMI to see the substation diagram.
What You Know
- From process network scans, there’s a PLC at 10.0.4.105:2404
- Port 2404 = IEC 60870-5-104 (European power grid SCADA)
- The SCADA HMI Power page shows a single-line substation diagram
- Main breaker is CLOSED (green), voltage ~230V
Step 1: Watch the HMI
Open the Power tab on the SCADA HMI. You see:
- Single-line diagram with Main Breaker, Bus Tie, Feeders A & B
- Live voltage, current, frequency, power measurements
- Everything is green and normal
Keep this page open - you’re about to cause a blackout.
Step 2: Set Up a Tunnel
Forward port 2404 through the EWS.
Tunnel command?
```bash sshpass -p 'eng2024!' ssh -f -N -L 2404:10.0.4.105:2404 -p 2222 engineer@127.0.0.1 ```Step 3: Scan the Station
IEC 104 organizes data differently from Modbus or EtherNet/IP:
- IOA (Information Object Address) identifies each data point
- M_SP_NA_1 = single-point status (breaker open/closed)
- M_ME_NC_1 = measured value (voltage, frequency)
- C_SC_NA_1 = single command (control a breaker)
Scan command?
```bash python3 ~/tools/iec104-tool.py -t 127.0.0.1 -c scan ```Study the output. Note which IOAs are status points and which are command points. The command points can CONTROL the breakers.
Step 4: Read Measurements
Get a detailed view of the substation state.
Command?
```bash python3 ~/tools/iec104-tool.py -t 127.0.0.1 -c read ```The main breaker at IOA 100 is CLOSED - it’s supplying power to the entire plant.
Step 5: Trip the Main Breaker
The command IOA for the main breaker is listed in the scan output. Send a TRIP command to open it.
Watch the HMI Power page when you do this.