Common ICS Protocols and Risks
Modbus, DNP3 and their weaknesses.
Common ICS Protocols and Risks is a free Cyber Security Academy lesson on CoddyKit — lesson 3 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Cyber Security Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Why Protocols Matter
Industrial protocols are the language controllers, SCADA, and field devices use to exchange data and commands. Most were designed for isolated, trusted networks and therefore lack the authentication and encryption we expect in IT.
Understanding their weaknesses tells you exactly what an attacker on the OT network could do, and what compensating controls are needed.
Modbus
Modbus is one of the oldest and most widespread industrial protocols, simple and easy to implement. Modbus/TCP carries it over Ethernet.
- A master reads and writes registers/coils on slave devices
- No authentication: any device that can reach a slave can command it
- No encryption: traffic is plaintext and easy to read or forge
- No integrity checks against a malicious sender
An attacker on the segment can simply write a coil to actuate equipment.
# a Modbus function code 5 writes a single coil (e.g. open/close a relay)
# request fields are minimal: address, function, data, CRC
# nothing in the protocol proves WHO sent itDNP3
DNP3 (Distributed Network Protocol) is common in electric and water utilities, designed for unreliable long-distance links with features like time-stamping and report-by-exception.
- Richer than Modbus but the base protocol still lacks built-in security
- Vulnerable to spoofing and replay on an open network
- A Secure Authentication (DNP3-SA) extension exists but is not always deployed
Where DNP3-SA is unsupported, network controls must compensate.
Other Common Protocols
The OT landscape has many protocols; a few you will frequently meet:
- EtherNet/IP (CIP) — widespread in manufacturing automation
- PROFINET / PROFIBUS — common in European industrial settings
- IEC 60870-5-104 — power utilities, similar role to DNP3
- IEC 61850 — substation automation
- OPC / OPC-UA — a data-exchange standard; OPC-UA notably supports security
OPC-UA stands out because it was designed with authentication and encryption as options.
No Authentication
The most consequential weakness across legacy protocols is the absence of authentication. The protocol cannot tell a legitimate master from an attacker.
- Any host on the network can issue valid-looking commands
- There is no concept of credentials or authorization in the message
- The device trusts whatever it receives
This is why network access control is the front-line defense: if attackers cannot reach the protocol, they cannot abuse it.
No Encryption: Sniffing and Tampering
Plaintext protocols expose the process to anyone passively watching the wire.
- An attacker can map the process from observed reads and writes
- Setpoints, alarms, and commands are visible
- With a position inline, traffic can be modified in transit
Capturing such traffic for analysis must be done carefully and only on systems you are authorized to assess; passive taps avoid disturbing the live process.
Replay and Injection Attacks
Without authentication or freshness guarantees, recorded traffic can be reused.
- Replay — capture a legitimate command and resend it later to repeat an action
- Command injection — craft a valid protocol message to actuate equipment
- False data injection — feed the HMI fabricated sensor values
False data injection is especially dangerous: operators may see normal readings while the process drifts into an unsafe state.
Man-in-the-Middle on OT
An attacker positioned between SCADA and a controller can both read and rewrite the exchange.
- Show the operator safe values while sending harmful commands to the PLC
- Suppress alarms so a fault goes unnoticed
- Alter setpoints without the operator's knowledge
This blinding of operators while sabotaging the process is a hallmark of sophisticated ICS attacks and motivates integrity monitoring at the network level.
Secure Protocol Variants
Where the equipment supports it, prefer protocol options that add security.
- OPC-UA with security policies enabled provides authentication, signing, and encryption
- DNP3-SA adds challenge-response authentication to DNP3
- TLS wrappers or secure gateways can protect legacy traffic between zones
These are not universally available on old devices, so design assumes many endpoints remain insecure and protects them at the network boundary.
Passive Monitoring and Deep Inspection
Because you often cannot fix the protocol, you detect abuse instead. OT-aware monitoring understands these protocols and flags anomalies without injecting traffic.
- Build a baseline of normal masters, slaves, and command patterns
- Alert on unexpected write commands or new devices
- Detect out-of-range setpoints or commands from unauthorized hosts
- Use passive taps so monitoring never disturbs the process
Protocols and Network Defense
Because legacy protocols cannot defend themselves, the network must defend them.
- Segment so only authorized hosts can speak the protocol to a controller
- Use protocol-aware firewalls to allow only expected function codes
- Deploy passive intrusion detection tuned to ICS protocols
- Where possible, migrate to secure variants
This sets up the architecture defenses in the final lesson.
Quick Check: Protocol Weakness
Reason about the core risk of legacy ICS protocols.
Recap: ICS Protocols and Risks
You learned the protocols and their inherent weaknesses.
- Modbus, DNP3, and peers were built for trusted networks and lack auth and encryption
- This enables sniffing, replay, command injection, false data injection, and MITM
- Attackers can blind operators while sabotaging the process
- Prefer secure variants (OPC-UA, DNP3-SA) where supported
- Otherwise defend with segmentation, protocol-aware firewalls, and passive monitoring
Next: architecting protection for critical infrastructure.
Frequently asked questions
Is the “Common ICS Protocols and Risks” lesson free?
Yes — the full text of “Common ICS Protocols and Risks” is free to read here on the web, and the Cyber Security Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Cyber Security Academy course, upgrade to CoddyKit PRO.
What will I learn in “Common ICS Protocols and Risks”?
Modbus, DNP3 and their weaknesses. You practise Cyber Security Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Cyber Security Academy?
No prior experience is required. Cyber Security Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 3 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Common ICS Protocols and Risks” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Cyber Security Academy lesson?
Yes. Every Cyber Security Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- Industrial Control Systems Basics
- OT vs IT Security Differences
- Common ICS Protocols and Risks
- Securing Critical Infrastructure