DNP3 was designed for reliable communication between a master and remote outstations over low bandwidth, noisy serial and later IP links. The design goals were efficiency and robustness against line errors, such as framing, link layer checksums, and event reporting that survives gaps. They were not resistance to a malicious party on the same network.
That shows in what the base protocol does not do. In its plain form it has no encryption, so anyone who can capture can read. It has no message authentication in the basic profile, so an outstation has no cryptographic way to tell a frame from the master from a well formed frame from someone else. The link layer checksums catch corruption, not forgery, because anyone can compute a checksum. Sequence numbers keep an honest exchange in order. They are small and predictable, and an attacker who watches a session can continue them.
This is why the attack families in the QUT set work in a testbed without exploiting a software flaw. Flooding needs only the ability to send. Replay needs only the ability to capture and resend. Injection needs the ability to see the session numbering, and then to send frames that continue it. None of them break anything. They use the protocol as designed, from a position the design did not consider.
DNP3 does have an optional security layer, Secure Authentication, whose version 5 is part of IEEE 1815-2012. It is a challenge and response with a message authentication code: when a device receives a request it treats as critical, such as a control, it challenges the sender before acting on it. The practical point for a learner is not to assume a site uses it, and that even where it is in use it checks specific requests rather than stopping flooding, which no per-message authentication can stop.
So defence moves outward. Network segmentation limits who can reach an outstation. Allow lists restrict which sources may talk to port 20000, the conventional DNP3 TCP port. Monitoring watches for rate changes, repeated messages, new talkers and control function codes outside the master’s normal schedule. Encrypted tunnels and VPNs protect the path, but they do not help if the attacker is the endpoint or sits inside the tunnel. Each measure is outside the protocol.
For analysts this means the capture is the main defender’s evidence. A capture shows that the traffic was valid, and validity alone proves nothing. The questions are always who sent it, from where, at what rate, and whether the master’s schedule explains it. That is why these courses train on provenance, rate and sequence evidence rather than on signatures in payloads.
None of this is a reason to alarm. It is a reason to be precise: the protocol trusts its network, and the network has to earn that trust.
A short example makes the point concrete. Imagine two frames that carry the same control request, one from the genuine master and one from a laptop that joined the segment. At the application layer they are identical, and both pass every check the base protocol defines. The only differences are at layers the protocol does not police: a different hardware address, a slightly different time to live, a different TCP window. A device that trusts the application layer alone cannot tell them apart. An analyst with the capture can, which is why capture provenance is taught first in this group.
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
