What a university DNP3 testbed holds for impersonation and interception

3 min read188 courses on OnlySecurity

The Queensland University of Technology DNP3 captures, by Rodofile, Radke and Foo (2017), are the main upstream source for the impersonation and interception family. They come from a testbed: a master, an outstation and an attacker machine, with each attack run on purpose and recorded. The set holds seventeen upstream runs. They fall into four families: masquerading as the master or the outstation, masquerading combined with flooding, man in the middle forwarding and injection, and in-flight modification of values and points. Seventeen files do not mean seventeen ideas. Variants that differ only by object type, binary against counter, teach the same thing twice, and they reduce to about ten distinct teaching ideas.

Start with what you may do. No licence is stated, so the safe reading is all rights reserved. You fetch the captures yourself from the owners, you credit the authors, and you describe results in your own words. Do not host the files and do not paste payload bytes that would let a reader rebuild an attack frame. The authors’ paper citation is not confirmed and has to be checked before it is quoted.

Next, how the runs are organised. They are named by attack scenario, not by learning goal, and the names suggest the family: master masquerading, master hijacking with masquerading, outstation masquerading, spoofed binary or counter objects (with fuzzed variants), masquerading with flooding, MITM forwarding, MITM with hijack and injection, and a group of modification runs that insert or delete input points, alter data, flip a status, or send an immediate freeze with no acknowledgement. Read the names from the files you download. The folder names match this list in substance (for example master_masquerading and MITM_modification_ImmedFreezeNR). Do not expect a clean copy beside each run. The set has a separate Control folder, with an attacker side, a master side and an outstation side capture of its own, which is the natural baseline to compare each run against.

Then the vantage point. A testbed capture is taken from somewhere, and where decides what it can prove. A capture at the outstation shows what arrived. A capture at the master shows what the master believed it was talking to. A capture on the attacker or on a mirror port in the middle shows both sides and the attacker’s own traffic. In a MITM run these are three different stories about one event, and in a masquerade run the same address can appear to behave in two ways depending on the side. Record the vantage point for each file before you analyse it. Each run folder holds three views: attacker, master and outstation side.

Next, scale and time. Testbed runs are short and begin and end at convenient moments. Discard the first and last few seconds before computing rates, and never extrapolate a testbed interval to a real site.

Last, keep a run log. For each file record the name, a SHA-256, the master and outstation link addresses, the TCP endpoints, the vantage point, the polling interval, the scenario, and one sentence on what you believe the attacker did and why. Six runs in a log become a comparison table, and the table is where the family resemblance shows up. Add a column for what is the same as the baseline, because in a masquerade or MITM run most of the traffic is unchanged and the interesting part is the small remainder. Add a second column for what you could not check, such as an object group you did not decode, so the log shows its own gaps. This set is a lab. You can describe what a frame asked a device to do, but not what a physical process did, so any claim about consequence is inference from the protocol and should be labelled that way.

For structured practice on this topic, see the OnlySecurity course DNP3 Under Attack II: Masquerading, Hijack and MITM Tampering.

More from this author