Modbus/TCP on the Wire: Baselines, Function Codes and Reconnaissance
Part of
Topics: Baselining Modbus Traffic Analysis Wireshark
- Courses taught
- 189
- Learners reached
- 854
- Reviews received
- 210
- Courses taught
- 165
- Learners reached
- 419
- Reviews received
- 68
- Leaderboard rank
- #1,377
Plus opens every Plus course and puts the shield on your name. From USD 5 a month.
Join PlusAlready a member? Sign in
Requirements
- Basic Wireshark display filters and tshark field extraction
- TCP and Ethernet basics
- Wireshark and tshark installed on a computer you administer
- Knowing what Modbus is helps; the ICS Modbus course is a suggested companion, not a prerequisite
About this course
This course teaches you to read Modbus/TCP traffic in a packet capture and to tell ordinary plant traffic from reconnaissance. You start with the frame layout and the common function codes, then build baselines from masters, devices, function codes and polling rhythm.
You then learn how unit ID sweeps, address walks, function code probing, ping scans, port scans and floods look on the wire, and how to write a detection that fires on them without firing on the baseline. The last module maps unlabelled captures to MITRE ATT&CK for ICS techniques and ends with a one page finding another analyst can reproduce.
All work is passive: you open capture files in Wireshark and tshark on your own computer and never send traffic to any controller or network. Practice captures built by KSEC for this course let you apply each skill, and public research datasets are linked for you to fetch from their own pages. No hosted lab is offered; if you want a lab of your own, the course points you to the official project documentation.
It is written for network defenders, SOC analysts and OT security staff who know what Modbus is and want to analyse it in captures.
What you'll learn
- Read a Modbus/TCP frame and decode requests, responses and exceptions by function code
- Build a passive asset inventory and a baseline of masters, devices, function codes and polling cadence
- Recognise unit ID sweeps, address walks and function code probing, and name the host doing them
- Tell a ping scan, a port scan and a request flood from ordinary polling
- Write a detection rule with a stated false positive check against a baseline
- Match unlabelled captures to ATT&CK for ICS techniques and write a one page finding another analyst can reproduce
Who this course is for
- Network defenders who monitor industrial networks
- SOC analysts who need to explain Modbus traffic
- OT security staff who know what Modbus is and want to analyse it in captures
- Not for anyone looking to send traffic to a live controller
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
29 lessons across 5 modules
Course Content
Reading Modbus/TCP in a capture
What this course is, and authorised use
Gate: authorised use
Triage: what is in this capture?
Frame anatomy and reading FC1 to FC4
Writes: FC5, FC6, FC15, FC16
Responses and exceptions
Quiz: Reading Modbus/TCP in a capture
Baselines
Reconnaissance
Network-layer reconnaissance and floods
Detection, mapping, reporting
Earn a certificate
Showcase your dedication by completing this course and earning a certificate that highlights your skills.





