Modbus Packet Forensics: Hidden Data, Odd Operations and Covert Channels
Part of
Topics: CTF Forensics Digital Forensics Modbus tshark
- Courses taught
- 189
- Learners reached
- 854
- Reviews received
- 209
- Courses taught
- 165
- Learners reached
- 418
- Reviews received
- 68
- Leaderboard rank
- #1,377
Requirements
- Modbus/TCP basics: function codes, unit ids, registers and coils
- Basic Wireshark display filters and tshark field extraction
- Wireshark and tshark installed on a computer you administer
- Optional: Python 3 or CyberChef for the decoding lessons
About this course
Most Modbus captures look like ordinary polling, and the interesting part is the small thing that is not. This course teaches a repeatable method for finding it. You triage an unknown capture before decoding anything, read the conversation between masters and devices, then work through the places data hides: register and coil values, function codes that should not be there, file records, engineering sessions, extra masters and the gaps between requests.
The course runs over five modules: triage before decode, including units behind a gateway and Modbus on a non-standard port; reading the conversation, from a poll baseline to values carried in registers and coils; fields that should not carry data, such as unusual function codes, file record reads, unit id sweeps and an engineering session inside Modbus; behaviour over time, from an incident timeline to out-of-hours activity, slow scans, timing channels and a second master; and a capstone that runs the whole method on a long capture.
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 exercise captures you fetch from their own pages. The course never teaches sending a Modbus frame, replaying a capture or building a covert channel, and no hosted lab is offered. You finish by writing a one page finding another analyst can reproduce, mapped to MITRE ATT&CK for ICS with a confidence statement.
It is written for ICS and OT security analysts, SOC and incident response staff, network and forensics practitioners and CTF players who already know the basics of Modbus and Wireshark.
What you'll learn
- Triage an unknown capture with capinfos, a protocol hierarchy and conversation tables, and separate Modbus from background noise
- Map hosts and unit ids behind a gateway, including captures that need Decode As
- Build a poll baseline and name the one request that does not belong
- Decode data carried in register values, coil sequences and written-then-read registers
- Recognise unusual function codes, file record reads and engineering sessions inside Modbus traffic
- Find slow scans, out-of-hours activity, extra masters and timing channels, and tell them from natural jitter
- Run the whole method on a long capture and write up a finding with ATT&CK for ICS mapping and a confidence statement
Who this course is for
- ICS and OT security analysts
- SOC and incident response staff who handle industrial networks
- Network and forensics practitioners who read packet captures
- CTF players who already know the basics of Modbus and Wireshark and want to read captures more carefully
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.
Open the thread on the OnlySecurity community to take part.
Curriculum
24 lessons across 5 modules
Course Content
Triage before decode
What this course is, authorised use, and the first five minutes of any capture
Gate: authorised use
Noise, filtering and what the floor looks like
Through the gateway: unit ids and who is really behind an address
Quiz: Triage before decode
Reading the conversation
Fields that should not carry data
Behaviour over time
Capstone and reporting
Earn a certificate
Showcase your dedication by completing this course and earning a certificate that highlights your skills.





