New

DNP3 Traffic Analysis: Baseline, Recon and Single-Message Attacks

Part of

Path Grid & Substation Defender course 1 of 5 Finish the path: badge + 100 pts
Challenges Practise this: 7 challenges Free, 195 pts
Intermediate · 9 hours

Topics:

Courses taught
189
Learners reached
854
Reviews received
210
Courses taught
165
Learners reached
419
Reviews received
68
Leaderboard rank
#1,377
Open every Plus course

Plus opens every Plus course and puts the shield on your name. From USD 5 a month.

Join Plus
LevelIntermediate
Duration9 hours
Lessons32 across 6 modules
CertificateYes, on completion
AccessIncluded with Plus
Last updated20 Nov 2026

Requirements

  • Basic Wireshark display filters and tshark field extraction
  • TCP and Ethernet basics
  • Wireshark and tshark installed on a computer you administer
  • Modbus knowledge helps but is not required
Curriculum

About this course

This course teaches you to read DNP3 traffic on the wire as a defender. You will learn what a master and its outstations say to each other in normal operation, how to build a baseline before you look for anything unusual, what reconnaissance looks like, and how a single hostile message (a restart, a disabled report, a direct control) stands out from routine polling.

The course runs over six modules: SCADA and the DNP3 stack on TCP port 20000; a baseline of who talks to whom, how often and with which function codes; reconnaissance, from a new peer to link layer sweeps; the single messages that change or disrupt an outstation; how those messages combine into replay and denial of service, and how to spot the traffic that stopped; and mapping findings to MITRE ATT&CK for ICS and writing them up so another analyst can reproduce them.

Every exercise is passive. You work on your own computer with Wireshark and tshark, on capture files generated by KSEC for this course and on public research datasets you fetch from their own pages. The course never teaches replaying a capture or sending anything to an outstation, and no hosted lab is offered. If you want a lab of your own, the course points you to the official project documentation to build one.

It is written for defenders, SOC and OT security analysts, and students of industrial network security who already know basic Wireshark and TCP.

What you'll learn

  • Describe the DNP3 stack on TCP port 20000 and identify its link, transport and application layers in a packet
  • Classify any message by function code and object header, and tell solicited from unsolicited responses
  • Build a baseline of who talks to whom, how often and with which function codes, and write it down as a yardstick
  • Recognise reconnaissance: a new peer, enumeration, device information requests and link layer sweeps
  • Identify restarts, initialize data, stop application, disabled unsolicited reporting and control operations in a capture
  • Judge a repeated command as a replay or a retry from sequence numbers and timing, and read a request rate against a response gap
  • Map findings to ATT&CK for ICS and write a finding another analyst can reproduce
  • Handle captures safely and stay inside written authority

Who this course is for

  • Defenders and SOC analysts who monitor industrial networks
  • OT security analysts who need to explain DNP3 traffic
  • ICS and SCADA engineers who read packet captures
  • Students of industrial network security who want to read DNP3 captures with confidence

Reviews of courses you have completed earn 5 points, whatever the rating. How reviews work

No reviews yet. Be the first once you complete the course.

Course discussion

Ask questions, share notes, and chat with other learners. This thread is part of the OnlySecurity community forum, separate from the in-course Q&A so general discussion does not crowd lesson-specific questions.

Discussion forum
Open the thread on the OnlySecurity community to take part.
Open forum →

Curriculum

32 lessons across 6 modules

Course Content

SCADA and DNP3 on the wire
SCADA roles and polling, the authorised-use rules, the DNP3 stack on TCP 20000 (link layer, transport function and application layer), reading a request and its response by function code and object header, telling solicited from unsolicited responses, and decoding DNP3 on a non-standard port. It opens with a gate quiz.

  • What this course is, SCADA in ten minutes and authorised use
  • Gate: authorised use
  • The DNP3 stack: TCP 20000, link layer, transport, application
  • Reading one request and its response
  • Solicited versus unsolicited, and Decode As
  • Quiz: SCADA and DNP3 on the wire

Baseline first
Building a DNP3 baseline before hunting: who talks to whom with which function codes, class 0 integrity polls against class 1, 2 and 3 event polls by rhythm and size, conversation and rate tables from tshark statistics, and a one page baseline another analyst can measure new captures against.

Recon
Recognising DNP3 reconnaissance against the baseline: a peer that was never in it, READ requests that enumerate points and device attributes rather than poll, and link status sweeps with their unanswered requests.

Single-message attacks
The DNP3 requests that change or disrupt an outstation in a single message: restarts, initialize data, stop application, disabled unsolicited reporting and control operations, with the evidence each leaves and a sweep that finds them all. Passive analysis only: every exercise reads a capture you have downloaded.

Multi-message attacks, detect and explain
Tell a replay from a legitimate retry using sequence numbers, connections and timing, measure a request rate against a response gap to judge a denial of service and find a host in the path, and count the traffic that should be there to find what stopped.

Reporting, ATT&CK, safe handling, capstone
Tag findings with ATT&CK for ICS techniques, write a timeline and a one page finding another analyst can reproduce, handle captures safely inside written authority, and classify every event in one long mixed capture against the baseline.

Earn a certificate

Showcase your dedication by completing this course and earning a certificate that highlights your skills.

selected template
Plus Join Plus