ACTION REQUIRED (execute immediately after reading)
NOW: Read../field-journal/precedent-pentest.md— Misoperation in industrial control environments can cause physical harmNOW: Written authorization must clearly state: site, network segment, whether active scanning/writing registers is permittedNOW: case-init; by default passive-first;ready_for_actwriting to PLCs is prohibited beforeNEXT: tool-index; most industrial control tools require manual operation and an isolated lab networkACT: Asset and zone identification → exposure surface → read-only verification
Applicable Scenarios
- Industrial control/SCADA/DCS security assessment (authorized)
- Purdue model zones and cross-zone conduits
- Protocol exposure such as Modbus/DNP3/S7/EtherNet/IP
- Engineering workstations, HMIs, historians, jump hosts
- IT/OT convergence boundary (firewall rules, data diodes)
Security Iron Rules (MUST)
MUST NOT 在未明确允许时:
- 对 PLC 写线圈/寄存器
- 全网高速率扫描生产 OT
- 中断安全仪表系统(SIS)相关路径
优先:只读识别、流量镜像、离线固件/配置分析
Workflow
Phase 1 — Zones and Assets
□ Purdue L0–L5 草图:现场设备 → 控制 → 监督 → 站点 DMZ → 企业
□ 资产清单:PLC/RTU/HMI/工程师站/历史库/Jump host
□ 协议与端口基线(仅授权网段)
Phase 2 — Passive and Read-Only
□ SPAN/镜像 PCAP → protocol-reverse / Wireshark 工控解析器
□ 配置与工程文件离线审计(TIA/RSLogix 导出等)
□ 默认口令与明文协议(Modbus 无认证)记录为 Finding,不写盘改值
Phase 3 — Restricted Active (Authorized Only)
□ 低速识别,维护窗口
□ 只读功能码优先
□ 每步 Evidence;异常立即停止并通报
Phase 4 — Firmware/Patch Surface
□ 控制器固件版本 → CVE 映射(不盲刷固件)
□ 联合 firmware-pentest 做离线镜像分析
Toolchain
| Tool | Purpose | Notes |
|---|---|---|
| Wireshark industrial protocol 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 | Configuration audit | Offline first |
| binwalk / Ghidra | Firmware | Offline |
References
references/ot-safe-assessment.md../firmware-pentest/../protocol-reverse/../networkvia pentest-tools
Routing Context
Upstream: MASTER R28
Downstream: Firmware deep dive firmware-pentest; protocols protocol-reverse; IT lateral movement windows-ad/attack-chain
Peer: Do not use ordinary web scanning with default parameters against OT
Task Completion Self-Check
- Is it passive/read-only by default and are authorization boundaries recorded?
- Is writing to control loops avoided (unless explicitly permitted)?
- Do Findings include physical/process impact descriptions?
- Checklist / journal?