OT/ICS Security Testing
Security assessment of Operational Technology (OT) and Industrial Control Systems (ICS): SCADA, PLCs, HMIs and the protocols between them.
Critical Infrastructure Warning
Scope and Safety Envelope
This section teaches identification, read-only enumeration, and analysis of existing exposure. It does not teach live-process writes, SIS exploitation, or any technique that requires standing at a running plant. Every state-changing technique is written as adversary description and demonstrated on a simulator - a soft PLC, a Modbus server, a virtual controller - in an isolated lab. Where a technique has no safe simulation it is absent on purpose. Build the lab first; Lab Setup covers it.
What is OT/ICS?
Operational Technology (OT)
Hardware and software that monitors and controls physical devices, processes, and events.
Industrial Control Systems (ICS)
The control systems that run industrial processes: SCADA, DCS, PLCs, RTUs and HMIs.
ICS Architecture
Levels follow ISA-95 / IEC 62264 as applied by IEC 62443-3-2 and NIST SP 800-82. Level 3.5 is not an ISA-95 level: the DMZ is ISA-99 / IEC 62443 buffer-zone practice.
Purdue Model Levels
| Level | Name | Components |
|---|---|---|
| 4 | ERP / Business | ERP, email, business systems |
| 3.5 | DMZ (not an ISA-95 level) | Historian replica, patch server, jump host |
| 3 | Site Operations | MES, historian, engineering workstation |
| 2 | Area Supervisory | HMI / operator station, alarm and trend server |
| 1 | Basic Control | PLC, RTU, DCS controller; SIS in its own zone |
| 0 | Process | Sensors, actuators, physical equipment |
Purdue Levels and the SIS Outside Level 1
Scroll sideways to see the whole diagram
Guide Sections
Reconnaissance
Passive discovery, capture, and asset identification.
Industrial Protocols
Modbus, DNP3, OPC UA, BACnet and others.
Network Architecture
Purdue levels, segmentation, and zone design.
PLC/RTU Attacks
Controller vulnerabilities, logic manipulation, firmware attacks.
SCADA/HMI Security
SCADA servers, HMI vulnerabilities, historian data.
Safety Considerations
Safety instrumented systems and testing boundaries.
Tools
ICS tools, simulators, and test frameworks.
Common ICS Components
PLC
Industrial computer that runs the control logic for machinery and processes.
RTU
Remote terminal unit; interfaces field devices and reports to SCADA.
HMI
Operator-facing screen for monitoring and control.
SCADA
Supervisory layer that monitors and controls distributed sites.
DCS
Integrated control architecture for one continuous process.
Historian
Time-series store of process data for trending and compliance.
ICS vs IT Security
| Aspect | IT Systems | ICS/OT Systems |
|---|---|---|
| Priority | Confidentiality > Integrity > Availability | Safety > Availability > Integrity > Confidentiality |
| Uptime | 99.9% acceptable | no maintenance windows |
| Patching | Regular patch cycles | Rare, heavily tested |
| Lifespan | 3-5 years | 15-30+ years |
| Impact | Data loss, financial | Physical damage, safety, environmental |
End-to-End Attack Chain (Illustrative)
An OT compromise usually starts in IT and pivots down. Every state-changing step below is a lab demonstration; each links to its deep-dive page.
| Step | What the adversary does | Page |
|---|---|---|
| 1 | Sector, vendors, exposed devices, job posts. Passive, so nothing touches the target. | Reconnaissance |
| 2 | IT foothold, then the crossing into OT: a weak DMZ rule, a dual-homed engineering workstation, vendor remote access. | Network Architecture |
| 3 | Protocol enumeration from the wire: which protocols and controllers, and the normal command pattern. | Industrial Protocols |
| 4 | Harvest engineering-workstation project files and historian queries: the process, its limits, when it runs unattended. | SCADA/HMI |
| 5 | Impact, lab only: alter logic or parameters while spoofing normal values to the HMI, against a simulator. | PLC/RTU Attacks |
| 6 | Hard stop: the chain never extends to the SIS/ESD. Report SIS exposure; do not exploit it. | Safety |
Key Standards & Frameworks
- IEC 62443 - Industrial automation and control system security: levels, zones, conduits
- NIST SP 800-82 - Guide to Operational Technology (OT) Security
- NERC CIP - Critical Infrastructure Protection (power grid)
- MITRE ATT&CK for ICS - Adversary tactics and techniques, indexed by technique ID
IEC 62443 in Brief
IEC 62443 grades a control system in two dimensions. Security levels SL1 to SL4 describe increasing resistance to a motivated adversary, from casual misuse to an attack with extended resources. Foundational requirements FR1 to FR7 are the capabilities that deliver a level: identification and authentication control, use control, system integrity, data confidentiality, restricted data flow, timely response to events, and resource availability. An assessment compares two numbers per zone, the target level SL-T the process needs and the achieved level SL-A the operating zone reaches, and the gap between them is the finding. Zones, conduits and the SL arithmetic are in Network Architecture; the risk decision behind SL-T is in Threat & Risk Assessment.
Legal Disclaimer
OT/ICS testing can cause physical harm. Test only systems you own or have written authorization to test, and learn in an isolated lab.