A single event on a DNP3 link can look like three different events depending on where you recorded it. Hunters who ignore this write confident reports that the other side of the link would contradict.
Take a simple chain: a master, a forwarding device in the middle, and an outstation. The three natural capture points are at the master side, at the outstation side and on the forwarder or a mirror of it. Suppose something in the middle changes a value in a response.
At the outstation side you record what the outstation sent, which is the original value. Everything looks normal because the outstation did what it should. At the master side you record what the master received, which is the changed value. That also looks normal, because the master has no way to know. At the middle you record both halves, and the difference between them is the finding. Only the third view, or the comparison of the first two, shows the alteration.
The same logic applies to impersonation. If a second machine answers for an outstation address, a capture at the real outstation may show nothing at all, because the false answers never reach it. A capture at the master shows two answerers. A capture of the switch port facing the master shows the false one with a different hardware address. The DNP3 link addresses are dnp3.src and dnp3.dst, and the hardware address is eth.src (checked on 4.2.0); an impersonator can use the right DNP3 address with the wrong hardware address, which is why you read both.
For comparison to work, the two captures need a shared notion of time and a way to match messages. Time is the harder part. Two machines have two clocks, and an offset of a few hundred milliseconds is enough to mislead you about ordering. Match by content where you can, such as a sequence number, a transport sequence value or a distinctive object value, and treat clock-based ordering as approximate. Fields that suit matching in DNP3 are the application sequence dnp3.al.seq and the transport sequence dnp3.tr.seq, both present on every frame of our practice captures. mergecap merges by timestamp by default and -a concatenates in file order instead (checked with mergecap -h on 4.2.0), so with offset clocks a timestamp merge interleaves frames in the wrong order, which is one more reason to match by sequence values first.
A practical routine for two views. Record the vantage point in the run log before anything else. Extract a short list of exchanges from each view with request, response, values and time. Line them up by content. List mismatches, and for each one ask three things: was it lost, was it changed, or was it added? Then say which one the evidence supports and which it does not rule out.
What if there is only one view? Then the honest result is bounded. You can show that the view is consistent, that the poll cycle is normal and that no new addresses appear. You cannot show that nothing was altered upstream of the capture point. Say so, name the second vantage point that would settle it, and stop there.
A short table keeps the comparison honest. For each exchange write the time at each view, the request, the response value at each view, and a verdict of same, changed, missing or extra. Most rows will be same, and that is useful: it shows the two views really do describe one exchange, so the rows that differ cannot be blamed on mismatched captures. If most rows differ, suspect the matching, a different time window or a different link, before suspecting an attacker. Record the first and last matched exchange so that a reader can see how much of the capture was compared.
This is also why a hunt challenge that ships paired captures teaches more than one that ships a single file. The learner gets to see the same event disagree with itself, and to explain the disagreement, which is the most transferable skill in the set. In our course, the lesson on three vantage points uses invented captures with a deliberate difference between the views, so the learner has something to find without touching an upstream file.
For structured practice on this topic, see the OnlySecurity course DNP3 Threat Hunting: Triage and Hunt Sets.
More from this author
- One capture, three questions2 December, 2026
- Payload channels versus timing channels2 December, 2026
