What a university DNP3 testbed set actually holds

4 min read188 courses on OnlySecurity

The Queensland University of Technology DNP3 set, by Rodofile, Radke and Foo (2017), is the main upstream source for the flooding, replay and injection family. It is a testbed capture: a master, an outstation and an attacker, with attacks run on purpose and recorded. Many of its runs are variants of the same few ideas, so the number of distinct things to learn is far smaller than the number of files.

The first thing to know is what it does not contain. No licence is stated, so the safe reading is all rights reserved. You fetch it yourself from the owners at https://github.com/qut-infosec/2017QUT_DNP3 (about 3 GB, about 250 files), you credit the authors, and you describe results in your own words. Do not host the captures and do not paste payload excerpts that let someone rebuild them. The authors describe the framework they used to generate DNP3 attack datasets on their testbed in “Framework for SCADA cyber-attack dataset creation” (Australasian Computer Science Week, 2017, doi 10.1145/3014812.3014883), the paper to cite with the data.

The second thing is the shape. The runs are organised by attack scenario rather than by learning goal. For this group the scenarios are master flooding, flooding that causes a freeze, flooding that affects timing, a master replay, replay combined with flooding, two kinds of session hijacking replay, and several injection runs: freeze object, push, injection into a replay, a replay with an update, cold restart and warm restart. Names in the upstream set will not match these exactly, and you should read them from the files you download.

The third thing is the vantage point. A well-built testbed can be captured from more than one place, for example at the master side, at the outstation side and in the middle. The same attack looks different from each. At the outstation you see what arrived. At the master you see what the master believed it was talking to. In the middle you see both. Which vantage point a given file came from is a question to answer before any analysis, because it decides what the capture can prove. In the copy we checked, each of the 44 attack runs comes as three captures whose names end in master, slave (the outstation) and attacker, so the file name tells you which view you hold.

The fourth thing is scale. Testbed runs are short and start and end at convenient moments. Discard the first and last few seconds before you compute rates, and never extrapolate a testbed interval to a real site.

For a learner the sensible reading order is the quiet baseline first, then flooding, then replay, then injection. Baselines teach you the heartbeat: a regular poll, a class based pattern, small variations in response size. Every attack in the set is a departure from that heartbeat, and you cannot name a departure until you can describe the rhythm it departs from.

Keep a run log. For each file write the name, a SHA-256 (as a check, the master vantage file of the master flooding run, 20160901153413.master_flooding.master.pcap, is 51360 bytes with SHA-256 f6fc630a6aabe6e66fc2d471cf6aa86eb6eef0973ce3b9d689bbfefcfdd1246f, and the master replay run’s master file, 20160730195833.master_replay.master.pcap, is 36599 bytes with SHA-256 e862056e87eea1c2d56e9cf8b33e7b2c521a67cef9c979d265a1973cf43ffa7d; compute your own for every file you fetch), the master and outstation addresses, the vantage point if known, the polling interval, the scenario, and one sentence on what you believe the attacker did and why. A log of six runs becomes a comparison table, and the table is where the family resemblance between attacks shows up.

Finally, say plainly what the set cannot show. It is a lab with simulated or bench hardware. You can describe what a frame asked a device to do, but not what a physical process did. Claims about consequence are inference from the protocol, and an honest write-up labels them that way.

For structured practice on this topic, see the OnlySecurity course DNP3 Under Attack I: Flooding, Replay and Command Injection.

More from this author