The University of Western Macedonia intrusion detection set for DNP3 is one of the few openly licensed collections that gives you single-message attacks one at a time. The dataset’s runs cover enumeration, device information requests, disabling unsolicited reporting, cold restart, warm restart, initialize data, stop application, replay and a denial of service through a man in the middle. For a learner that is a catalogue of what a DNP3 attacker can do, each item in its own capture.
Start with the shape of the set. It is large, about 1.36 GB, so work on slices. Keep the original files untouched, record the SHA-256 of each file you open, and cut working copies with editcap by packet count or time. Treat the licence as the thing that lets you quote results and credit the authors. Anything you publish should cite the dataset record and carry the authors’ names as they appear on the record, which you must fetch yourself because the first-name-only list on the record is not usable as a citation.
The labels are the second thing to understand. A label such as “cold restart” tells you the experiment intended one operation. It does not tell you which packet carries it, how many packets surround it, or whether the capture also holds ordinary polling from before and after. Your first job on each run is to find the labelled message yourself. Filter for the DNP3 application layer, extract the function code field per packet, count the values, and locate the rare one. A run that contains thousands of read requests and one restart request is ordinary: the attack is a single frame in a sea of baseline.
The third thing is what the set cannot show. The testbed outstation is a simulated or lab device. You will see the request and, if the device answers, the response. You will not see whether a real process stopped. Claims about physical consequences are inference from the protocol, and an honest write-up says so.
Use the set to practise a repeatable loop. Pick a run, write down the master and outstation addresses, find the baseline polling interval, find the deviation, name the function code and describe in one sentence what a receiving device would do with it. Then compare to the next run. By the fourth or fifth run you will notice that the attacks differ in which function code they use and in what they leave behind, and that the baseline is the same each time.
Finally, be careful with detection claims. Authors of labelled sets choose clean attack timings and run attacks in isolation. A rule that flags every cold restart in this set will flag legitimate maintenance in a real network. Record false positive risk next to every rule you derive.
The set is best used as a reading exercise first and a detection exercise second. If you can state what each labelled attack changes on the wire, you have learned the protocol. If you can only state that your script found it, you have learned the script.
A practical way to keep yourself honest is a run log. For every file you open, write the file name, the checksum, the master and outstation addresses, the baseline polling interval, the labelled operation, the packet number where you found it, and one line on what the outstation answered. After five runs the log becomes a comparison table, and the table is where patterns appear that no single file shows. It is also the document you hand to a reviewer, who should be able to check each row against the capture without asking you anything.
For structured practice on this topic, see the OnlySecurity course DNP3 Traffic Analysis: Baseline, Recon and Single-Message Attacks.
More from this author
- One capture, three questions2 December, 2026
- Payload channels versus timing channels2 December, 2026
