Bundled with Unleash skills pack. Upstream: https://github.com/zhaoxuya520/reverse-skill
OT / ICS Security
ACTION REQUIRED (execute immediately after reading)
NOW: read../field-journal/precedent-pentest.md— mistakes in OT environments can cause physical harmNOW: written authorization must state clearly: sites, network segments, whether active scanning/register writes are allowedNOW: case-init; passive-first by default; no PLC write operations beforeready_for_actNEXT: tool-index; most OT tools need manual setup and an isolated lab networkACT: asset and zone identification → exposure surface → read-only verification
Applicable Scenarios
- OT/SCADA/DCS security assessment (authorized)
- Purdue model zoning and cross-zone channels
- Modbus/DNP3/S7/EtherNet/IP protocol exposure
- Engineering stations, HMIs, historians, jump hosts
- IT/OT convergence boundaries (firewall rules, unidirectional gateways)
Safety Iron Rules (MUST)
MUST NOT, without explicit permission:
- Write coils/registers to PLCs
- High-rate full-network scans of production OT
- Interrupt safety instrumented system (SIS) related paths
Prefer: read-only identification, traffic mirroring, offline firmware/config analysis
Workflow
Phase 1 — Zones and Assets
□ Sketch Purdue L0–L5: field devices → control → supervisory → site DMZ → enterprise
□ Asset inventory: PLC/RTU/HMI/engineering station/historian/jump host
□ Protocol and port baseline (authorized segments only)
Phase 2 — Passive and Read-Only
□ SPAN/mirrored PCAP → protocol-reverse / Wireshark OT dissectors
□ Offline audit of configuration and project files (TIA/RSLogix exports etc.)
□ Record default passwords and cleartext protocols (Modbus has no auth) as Findings; do not write to disk or change values
Phase 3 — Restricted Active (authorized only)
□ Low-rate identification, during maintenance windows
□ Read-only function codes first
□ Evidence at every step; stop immediately and report on any anomaly
Phase 4 — Firmware/Patch Surface
□ Controller firmware versions → CVE mapping (do not blindly flash firmware)
□ Combine with firmware-pentest for offline image analysis
Toolchain
| Tool | Purpose | Note |
|---|---|---|
| Wireshark OT dissectors | Passive parsing | Mirrored traffic |
| Nmap NSE (restricted) | Identification | Rate and time window |
| Claroty/Nozomi etc. | Asset discovery | Commercial/on-site |
| PLC vendor engineering software | Config auditing | Offline preferred |
| binwalk / Ghidra | Firmware | Offline |
References
references/ot-safe-assessment.md../firmware-pentest/../protocol-reverse/../networkvia pentest-tools
Routing Context
Upstream: MASTER R28
Downstream: deep firmware digging firmware-pentest; protocols protocol-reverse; IT lateral movement windows-ad/attack-chain
Peers: do not hit OT with default web-scan parameters
Task Completion Self-Check
- Passive/read-only by default with authorization boundaries recorded?
- Avoided write operations to control loops (unless explicitly allowed)?
- Findings include physical/process impact notes?
- Checklist / journal?