An unexpected burst of DNP3 traffic is not automatically an attack of one particular kind. Three families look alike at first glance and need different evidence: flooding, replay and injection. Mixing them up is the commonest way a good capture turns into a wrong conclusion.
A flood is about volume. The signature is a rate change: many more frames per second than the baseline, often the same request repeated, often from one source. The useful measurements are packets per second against the baseline, the ratio of requests to responses, and whether the outstation kept answering. A flood does not need to be valid at the application layer to be harmful, so the individual frames can be perfectly well formed. What gives it away is the count and the timing, not any one packet.
A replay is about reuse. A message that was legitimate when first sent is sent again later. Each copy looks right in isolation, because it was right. The evidence is repetition where the master’s schedule does not explain one, and sometimes sequence numbers that do not fit where the frame now sits. The question to ask is whether this exact message, with this transport and application sequence, was seen earlier. A retry by a healthy master looks similar, which is why the challenge in our course is titled around replay or retry. A retry follows a missing response and a timeout. A replay does not need either.
An injection is about origin. A frame is added to a live session by a party that is not the master, usually shaped to continue the real session’s numbering so the outstation accepts it. The evidence is lower down the stack: a different MAC address for the same IP, TCP sequence and acknowledgement continuity broken or oddly continued, IP identification or time to live values that differ from the master’s frames, and a source that no baseline showed. A pushed or restart request is injection in effect even when its content is ordinary.
The comparison, as a table you can build yourself: rate (flood high, replay and injection normal), content novelty (flood none, replay old, injection new), session continuity (flood usually separate, replay often separate, injection joins the live one), lowest layer giveaway (flood timing, replay repetition, injection origin fields). Combined runs exist. The set includes replay with flooding and injection into a replay, so you will see two families in one file, and the right answer is to name both and say which came first.
Three questions sort most files. Did the volume change, and by how much against the baseline? Has this message been seen before, byte for byte at the application layer? Is the source of every frame in the session the master you identified at the start? Answer them in that order and write down the numbers.
Do not stop at names. A single sentence per run, “the rate rose to N times baseline from one source while responses stopped”, is worth more than a label. If you cannot support the sentence with a count or a field, say the finding is unproven.
Practical commands help here, and the field names below are the Wireshark names, verified on tshark 4.2.0: dnp3.al.func, dnp3.al.seq, dnp3.tr.seq, eth.src, ip.src, ip.id, ip.ttl. Rate: tshark with an input output statistics option at one second intervals, filtered to port 20000 traffic, gives frames per second to compare against the baseline. Repetition: extract the application function code and sequence per frame to a table, sort, and count identical rows. Origin: extract the Ethernet source, IP source, IP identification and time to live per frame and group by source. All of this is read only analysis of a capture file on your own machine. Re-check the exact tshark options against the Wireshark version you use.
The trap with combined runs is order. If a replay is followed by a flood, the flood can bury the replay in the counts. Look at the first thirty seconds of the anomaly rather than the whole file, and report each family with its own evidence.
For structured practice on this topic, see the OnlySecurity course DNP3 Under Attack I: Flooding, Replay and Command Injection.
More from this author
- One capture, three questions2 December, 2026
- Payload channels versus timing channels2 December, 2026
