When you open a DNP3 capture, the application function code is the field that tells you what a message is trying to do. Group the codes by intent and you can classify most traffic at a glance.
Reading data. A master that reads from an outstation uses a read request, which is by far the most common message in a baseline. The response comes back flagged as a response, and unsolicited events come back flagged separately. If your function code histogram is dominated by read requests and responses, you are looking at ordinary polling. This is the baseline against which everything else is judged.
Writing and controlling. A write request changes values on the outstation. Control uses a two-step pattern: select, then operate. There is also a direct operate form that does both in one message, with and without an acknowledgement. In a baseline of pure monitoring, none of these appear. If they do, ask which host sent them and whether a control action was expected. Restarting. A cold restart and a warm restart both ask the outstation to restart, with a cold restart being the more disruptive. They should be rare, and each deserves a note of who sent it and when. Initialize data and stop application are in the same family of operations that change what the device is doing or what it holds.
Unsolicited reporting. There is a pair of requests that enable and disable unsolicited responses. Enabling is normal when a master starts up. Disabling is a quieter operation with a larger effect, covered in the article on detecting silence.
Confirming and responding. A confirm acknowledges that the master received a response. The response codes on the way back, ordinary and unsolicited, let you separate solicited from unsolicited traffic.
How to use this. First, produce the histogram with tshark: select DNP3 packets, extract the application function code field per packet, sort and count. Second, label each value with the group above. Third, write one line for each rare value: who sent it, when, and what the response said. That table is the core of a DNP3 triage note.
Three cautions. Numbers are easy to misremember, and a wrong number in a published guide misleads every reader, so always cite the dissector as the source and re-verify against the version you are teaching. Names in different documents differ slightly, so use the dissector’s names in your notes. And the function code is only one part of the meaning: the object groups and variations in the message say what data or points it refers to, so a read of one point and a read of everything look very different even with the same function code.
A one-page printable version of this guide, with verified values and a link to the dissector source, would make a useful companion to the DNP3 course, and it should be produced only after the verification step above.
When you teach from this guide, pair it with a capture the learner can open and ask them to label ten packets by group without looking at the numbers. Then ask them to explain, for each, what they would expect the outstation to do and what they would want to know before calling it a problem. The goal is fluency with the groups, not memorisation of a table. A learner who can say “that is a restart family request from a host I have not seen before” has the skill that matters, and the numbers can always be looked up.
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
