agentleFS
xAmirHamza77xAmirHamza77/ReverseOps-Skill/skills/ot-ics/SKILL.md

ot-ics

Skill4 starsChanged 4 months agoMITView on GitHub

Use for authorized OT/ICS security assessment covering Purdue model zoning, PLC/SCADA exposure, industrial protocol discovery, and safe passive-first evaluation.

2 other projects use a version of this, 2 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Peer: do not run generic web scanners with default parameters against OT

    line 86

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

OT / ICS Security

ACTION REQUIRED (execute immediately after reading)

  1. NOW: Read ../field-journal/precedent-pentest.md — mis-operation in ICS environments can cause physical harm
  2. NOW: The written authorization must state clearly: site, network segments, and whether active scanning/writing registers is permitted
  3. NOW: case-init; default to passive-first; no writes to PLCs before ready_for_act
  4. NEXT: tool-index; most ICS tools require manual setup and an isolated lab network
  5. ACT: Asset and zone identification → attack surface → read-only verification

Applicable Scenarios

  • ICS/SCADA/DCS security assessment (authorized)
  • Purdue model zoning and cross-zone channels
  • Exposure of Modbus/DNP3/S7/EtherNet/IP and similar protocols
  • Engineering workstations, HMIs, historians, jump hosts
  • IT/OT convergence boundaries (firewall rules, data diodes)

Safety Ground Rules (MUST)

MUST NOT, unless explicitly permitted:
- Write coils/registers on PLCs
- Run high-rate scans across production OT networks
- disrupt paths related to safety instrumented systems (SIS)
Prefer: read-only identification, traffic mirroring, offline firmware/configuration analysis

Workflow

Phase 1 — Zones & Assets

□ Purdue L0–L5 sketch: field devices → control → supervision → site DMZ → enterprise
□ Asset inventory: PLC/RTU/HMI/engineering station/historian/jump host
□ Protocol and port baseline (authorized segments only)

Phase 2 — Passive & Read-Only

□ SPAN/mirrored PCAP → protocol-reverse / Wireshark ICS dissectors
□ Offline audit of configurations and project files (TIA/RSLogix exports, etc.)
□ Record default passwords and cleartext protocols (Modbus has no authentication) as Findings; do not write or change values

Phase 3 — Restricted Active (Only When Authorized)

□ Low-rate identification during maintenance windows
□ Prefer read-only function codes
□ Evidence at every step; stop immediately and notify if anything abnormal occurs

Phase 4 — Firmware/Patch Surface

□ Controller firmware versions → CVE mapping (never blindly flash firmware)
□ Combine with firmware-pentest for offline image analysis

Toolchain

ToolPurposeNotes
Wireshark ICS dissectorsPassive parsingMirrored traffic
Nmap NSE (restricted)IdentificationRate and time-window limits
Claroty/Nozomi, etc.Asset discoveryCommercial/on-site
PLC vendor engineering softwareConfiguration auditOffline preferred
binwalk / GhidraFirmwareOffline

References

  • references/ot-safe-assessment.md
  • ../firmware-pentest/ ../protocol-reverse/ ../network via pentest-tools

Routing Context

Upstream: MASTER R28
Downstream: deep firmware analysis firmware-pentest; protocols protocol-reverse; IT lateral movement windows-ad/attack-chain
Peer: do not run generic web scanners with default parameters against OT

Task Completion Checklist

  • Did you default to passive/read-only and record authorization boundaries?
  • Did you avoid write operations on control loops (unless explicitly permitted)?
  • Do Findings include physical/process impact descriptions?
  • Checklist / journal?

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.