When people hear “man in the middle” they imagine a break in cryptography. On a DNP3 link running over ordinary TCP and IP on a flat network, there is nothing to break. The position is gained by the way the surrounding network works, and the protocol offers no protection once the position is held.
Start with the network. Hosts on one Ethernet segment find each other with ARP, a protocol that asks “who has this IP” and believes any reply. It has no authentication. A machine on the same segment can answer for an address that is not its own, and if the other hosts accept the reply, their traffic for that address flows through it. This is the ARP poisoning step, and a capture of this step typically shows its footprint: repeated unsolicited ARP replies, two MAC addresses claiming one IP, or an IP whose MAC changes mid capture. The Wireshark filters for these, arp.opcode and arp.duplicate-address-detected, are verified on tshark 4.2.0. Many hosts will accept such replies without complaint, though behaviour varies by system and configuration.
Once traffic flows through the attacker, the next question is whether the protocol protects the messages. The classic DNP3 specification does not authenticate or encrypt. A frame carries data link checksums, which catch accidental corruption, but anyone can recompute them. An attacker who forwards a frame can change a value, recalculate the checksums, and send it on. Neither end can tell. The same applies to inserting a new frame in a conversation or dropping one.
A newer part of the standard, Secure Authentication, is an optional authentication extension that protects selected requests rather than every byte of every message. It has had more than one version. We found no Secure Authentication messages in the testbed captures we checked, so assume it was not in use there. Check the equipment and the version before you assume it is present on a given network.
So the attack needs three things and none is an exploit: a position on the segment, a forwarder, and a willingness to edit frames. The tools needed are ordinary network tools. This is why the evidence is mostly about topology and identity, not about malformed packets. Defenders looking for a MITM should look at the layers around the protocol: ARP anomalies, a second MAC on a gateway address, round trip times that grow slightly, and differences between what the two ends record.
The round trip signal is worth a sentence. A forwarder adds work, so latency between master and outstation rises slightly, by an amount that can vary a little from frame to frame. The change is small, so it only shows when you have a baseline and a reliable timestamp. Do not treat a latency change alone as proof.
What helps a defender? Segmentation, so that an unknown host cannot reach the segment at all. Static ARP entries or switch features that validate ARP, where the equipment supports them. Monitoring for address pairs that change. Secure Authentication or a tunnel such as IPsec or TLS wrapping where it can be deployed. None of these is a patch for a flaw in DNP3. They are controls around a protocol designed for closed serial networks that was later carried over general networks.
If you build a lab to practise this, host it yourself from official documentation. We do not provide labs, and this article does not give a recipe.
For structured practice on this topic, see the OnlySecurity course DNP3 Under Attack II: Masquerading, Hijack and MITM Tampering.
More from this author
- One capture, three questions2 December, 2026
- Payload channels versus timing channels2 December, 2026
