Reading a public industrial lab capture set: what a lab week leaves behind

3 min read188 courses on OnlySecurity

A public lab capture set is not a clean teaching dataset. It is the exhaust of an event: a room of people probing a small set of real controllers, HMIs and switches over a few days. That makes it useful in a way a generated capture cannot be, because the noise is real. It also makes it awkward, because nobody wrote down what happened.

Start with what you can and cannot know. The captures were taken at a mirror port, so you see conversations between the lab hosts and whoever was connected. You do not see the physical processes, and in most cases you do not see a ground truth log of which participant did what. Everything you conclude is inference from packets. Write that sentence at the top of your notes before you begin.

Second, expect several protocols in one file. A lab of this kind mixes Siemens, Modbus, EtherNet/IP, BACnet and ordinary IT traffic such as DNS, SMB and web. The first job is an inventory, and the cheapest inventory is a protocol hierarchy and a conversation table. In tshark that is tshark -r file.pcap -q -z io,phs for the hierarchy and tshark -r file.pcap -q -z conv,tcp for TCP conversations. The two together tell you which hosts are talking, over which ports, and how much. Treat any port that does not match the protocol you expect as a finding, not an error.

Third, separate the lab’s own traffic from the visitors’. The controllers and HMIs are the fixed points: they appear in the capture from the first packet to the last and they answer. Visitors appear and disappear. A host that scans many addresses and receives mostly resets is a visitor. A host that sends one repeated request every few seconds for hours is part of the lab’s own polling. That split gives you a baseline, and a baseline is what makes the unusual packets visible.

Fourth, check the licence before you build on it. The inventory records both sets as informal permission, not a licence, with credit to the publisher and the original organisers. The safe reading is that you may read, analyse and link to them, so we cite the publisher and credit the organisers, and you fetch the files from the source yourself rather than from us. Our own challenges use captures we generate ourselves and teach the same skills.

Fifth, be careful with executables. At least one host in the CTF set is a Windows machine with vendor software, and whether that set carries executable content has not been confirmed. The practical rule is the same one used elsewhere in this programme: open captures in an offline virtual machine, carve nothing onto a networked host, and record a hash if you need to refer to a file.

What to take away from reviewing sets like these is a method, not a list of packets. Inventory first. Find the fixed hosts. Find the baseline. Mark the departures. Only then read individual conversations. Learners who start at packet one of a multi-gigabyte lab capture tend to give up before they find a single protocol; learners who start with the hierarchy and the conversation table finish with a map.

For structured practice on this topic, see the OnlySecurity course ICS Forensics from the CTF Circuit II: Other Protocols and Live-Lab Triage.

More from this author