Skip to main content
Challenges Room: Factory SCADA
Xonalar Hard OT network forensics: ARP spoofing, Modbus/TCP writes and the HMI tag map Solves: 4

Room: Factory SCADA

Author: CyberSamSU
Points
110

Room scenario. A water treatment plant has two controllers (PLC-A and PLC-B). Yesterday the pressure on the line controlled by PLC-B rose without explanation. The plant's engineers saved three things: hmi_project.xml (the HMI project: devices, MAC addresses, tag names and Modbus addresses), historian.csv (30-second process values, UTC) and ot.pcap (OT segment traffic: ARP + Modbus/TCP, port 502). The archive name is plant.zip.

Notes: in the project, holding registers are written starting from 1 (40001 = Modbus PDU address 0). MNT_BUF_01..18 is a 'service message buffer': each register holds 2 ASCII characters (big-endian), and the buffer is read in tag order. Modbus/TCP: a 7-byte MBAP (transaction, protocol, length, unit) + PDU; FC16 = Write Multiple Registers; an exception response is the function code | 0x80. Nothing is sent to a live system.

Stages (answers are not submitted):

  1. Task 1. Which tags in historian.csv went out of the norm? There are two deviations: one has passed, one is still ongoing. Link them to devices through the XML and note their start times.
  2. Task 2. ARP in ot.pcap: for which IP were two different MACs announced? Compare with the list in hmi_project.xml: which MAC is not in the project (a rogue station)? Why is the second IP-MAC pair (GW-01) harmless?
  3. Task 3. Pick out the Modbus connections that came from the rogue MAC (although the IP source is that of the engineering station, the Ethernet source is different). To which PLC, and to which registers, were FC6 and FC16 written? What was the PLC's response (normal or exception)?
  4. Task 4. Keep only the accepted writes (for overwritten ones the last one counts), convert the addresses to the MNT_BUF_nn tags through the XML, and convert the registers to ASCII in tag order — that is the flag.

Flag format: BAYROQ{...} (the last 16 characters are lowercase hex).

Attached files
plant.zip Log in to download
Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −11 pts Log in
Hint 2 −22 pts Log in
Hint 3 −33 pts Log in
To submit a flag, log in.

First solvers

1. Mirjaxon Qaxxarov 25.11.2026
2. Odam 25.11.2026
3. Asmaa Mottery 25.11.2026
4. 𝖛𝖊𝖑𝖐𝖆𝖓 28.11.2026