Communitygithub.com

ot-ics

권한이 부여된 OT/ICS 보안 평가를 위해 사용합니다. Purdue 모델 구역 설정, PLC/SCADA 노출, 산업용 프로토콜 탐지 및 안전한 수동 우선 평가를 다룹니다.

ot-ics란 무엇인가요?

이 스킬은 ICS(산업 제어 시스템) 및 OT(운영 기술) 환경에 대한 권한 있는 보안 평가를 수행하도록 설계되었습니다. 이는 Purdue 모델을 기반으로 한 구역 설정, PLC, SCADA, DCS 시스템의 노출 평가, Modbus, DNP3, S7, EtherNet/IP와 같은 산업용 프로토콜의 보안 상태 분석에 중점을 둡니다. 안전이 최우선이며, 기본적으로 수동(passive-first) 접근 방식을 채택하여 물리적 피해를 방지합니다. 이 스킬은 Wireshark, Nmap, 상용 OT 보안 도구(예: Claroty, Nozomi) 및 오프라인 펌웨어 분석 도구(binwalk, Ghidra)를 활용합니다. 엄격한 작업 흐름을 통해 사전 서면 승인 확인, PLC 쓰기 작업 금지, 모든 평가 단계에서 증거 수집을 의무화하여 산업 환경에 안전하게 적용할 수 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/zhaoxuya520/reverse-skill/tree/main/skills/ot-ics

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

OT / ICS 보안

작업 필수 (읽은 후 즉시 실행)

  1. 지금: ../field-journal/precedent-pentest.md 읽기 — 공작 환경 오작동은 물리적 위험을 초래할 수 있음
  2. 지금: 서면 승인에 반드시 기재해야 할 사항: 사이트, 네트워크 세그먼트, 능동 스캔/레지스터 쓰기 허용 여부
  3. 지금: case-init; 기본값 수동 우선; ready_for_act 전에는 PLC에 쓰기 작업 금지
  4. 다음: tool-index; 대부분의 공작 도구는 수동으로 격리된 실험망에 연결해야 함
  5. 실행: 자산 및 구역 식별 → 노출 표면 → 읽기 전용 검증

적용 시나리오

  • 공작/SCADA/DCS 보안 평가 (권한 있음)
  • Purdue 모델 구역 설정 및 구역 간 채널
  • Modbus/DNP3/S7/EtherNet/IP 등의 프로토콜 노출
  • 엔지니어링 워크스테이션, HMI, 히스토리언, 점프 호스트
  • IT/OT 융합 경계 (방화벽 규칙, 단방향 게이트웨이)

안전 철칙 (필수)

explicitly 허가되지 않은 경우 절대 금지:
- PLC 코일/레지스터 쓰기
- 전체 네트워크에서 생산 OT에 고속 스캔
- 안전 계측 시스템(SIS) 관련 경로 중단
우선 순위: 읽기 전용 식별, 트래픽 미러링, 오프라인 펌웨어/구성 분석

작업 흐름

1단계 — 구역 및 자산

□ Purdue L0–L5 개요: 현장 장치 → 제어 → 감독 → 사이트 DMZ → 기업
□ 자산 목록: PLC/RTU/HMI/엔지니어링 워크스테이션/히스토리언/점프 호스트
□ 프로토콜 및 포트 기준 (허가된 네트워크 세그먼트만)

2단계 — 수동 및 읽기 전용

□ SPAN/미러링 PCAP → protocol-reverse / Wireshark 공작 해석기
□ 구성 및 엔지니어링 파일 오프라인 감사 (TIA/RSLogix 내보내기 등)
□ 기본 비밀번호 및 평문 프로토콜 (예: 인증 없는 Modbus)을 Finding으로 기록, 디스크에 쓰거나 값 변경 금지

3단계 — 제한된 능동 (허가된 경우만)

□ 저속 식별, 유지보수 기간 내
□ 읽기 전용 기능 코드 우선
□ 모든 단계에서 증거 수집; 이상 발견 시 즉시 중단 및 보고

4단계 — 펌웨어/패치 표면

□ 컨트롤러 펌웨어 버전 → CVE 매핑 (펌웨어 무작정 업데이트 금지)
□ firmware-pentest와 협력하여 오프라인 이미지 분석

도구 체인

도구용도주의사항
Wireshark 공작 dissectors수동 해석미러링 트래픽
Nmap NSE (제한적)식별속도 및 시간 창
Claroty/Nozomi 등자산 발견상용/현장
PLC 제조사 엔지니어링 소프트웨어구성 감사오프라인 우선
binwalk / Ghidra펌웨어오프라인

참고

  • references/ot-safe-assessment.md
  • ../firmware-pentest/ ../protocol-reverse/ ../network (pentest-tools 경유)

라우팅 컨텍스트

상위: MASTER R28
하위: 펌웨어 심층 분석 firmware-pentest; 프로토콜 protocol-reverse; IT 수평 windows-ad/attack-chain
동급: 일반 웹 스캔 기본 파라미터로 OT를 공격하지 말 것

작업 완료 자가 점검

  • 기본적으로 수동/읽기 전용이며 권한 경계를 기록했는가?
  • 제어 루프에 대한 쓰기 작업을 피했는가 (명시적 허가가 없는 한)?
  • Finding에 물리적/프로세스 영향 설명이 포함되었는가?
  • 체크리스트 / 저널을 작성했는가?

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

api-security

Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication, authorization, rate-limit, and CI/CD testing.

apk-reverse

在 CLI 环境下做 Android APK 逆向时使用。适用于 APK 解包、Java 反编译、smali 修改、重打包、Frida 动态 Hook,以及按需切换到 so/native 分析。优先使用本机已安装的 jadx、apktool、frida、adb、ida-reverse、radare2。

attack-chain

Use for authorized multi-stage attack-path planning and orchestration when a task spans reconnaissance, initial access, privilege escalation, lateral movement, or impact assessment. Route single-stage tasks directly to their specialist skill.

binary-diff

|

binary-ninja-reverse

Use for authorized binary analysis in Binary Ninja, including HLIL/MLIL/LLIL inspection, strings/imports/exports, cross-references, types, patch review, Python API automation, and optional Binary Ninja MCP or localhost HTTP integration.

browser-automation

|

browser-extension-reverse

Use for authorized reverse engineering of browser extensions (Chrome/Firefox) including manifest analysis, background workers, and extension-based credential or traffic logic recovery.

case-review

Reviews a reverse-skill case package for scope readiness, Evidence to Finding to Path traceability, work item coverage, timeline references, and optional artifact hash integrity before report handoff.

cloud-k8s

Use for authorized cloud, container, and Kubernetes security assessment including metadata SSRF, IAM misconfig, container escape paths, and cluster RBAC review.

code-audit

Use for authorized source-code security review and SAST workflows including Semgrep, CodeQL patterns, dangerous API hunting, and fix verification.

ctf-sandbox

Thin PRIMARY for CTF / AWD / 靶场 multi-type orchestration. Hands off to the sidecar CTF-Sandbox-Orchestrator. Use when the user says CTF, AWD, 靶场, or 比赛题 and no more specific pwn/APK/IDA route already won.

database-security

Use for authorized database security assessment covering PostgreSQL/MySQL/MSSQL/Mongo/Redis exposure, authz, UDF/command paths, and misconfiguration review.

diagram-generator

generate, refine, validate, and render diagrams from natural language, notes, code snippets, schemas, tables, or existing diagram source. use for flowcharts, swimlanes, sequence diagrams, state diagrams, er diagrams, class diagrams, architecture/c4-style diagrams, dependency graphs, gantt charts, mind maps, user journeys, sankey-style flows, org charts, network graphs, and other visual models. supports mermaid by default, graphviz dot for complex graph layout, plantuml for uml-heavy engineering diagrams, and svg output when direct markup is more reliable.

digital-forensics

Use for authorized digital forensics including memory dumps, disk timelines, PCAP investigation, artifact triage, and IR evidence preservation.

docs-generator

|

dotnet-reverse

.NET / C# 二进制逆向。当目标是 .NET assembly(PE 头含 CLR、.exe/.dll 托管程序)、C# 编译产物(含 NativeAOT)、红队 Sharp* 工具(Rubeus / SharpHound / SharpHound 等)、.NET 混淆程序(ConfuserEx / SmartAssembly / Babel / Eazfuscator)、.NET loader / info-stealer / 套壳 malware 时使用。优先用 dnSpyEx + de4dot,需要 AI 直接操作时联动 dnSpy MCP。不用于纯 native 二进制(走 reverse-engineering / ida-reverse)。

edr-bypass-re

|

email-security

Use for authorized email security review including phishing analysis, header authentication (SPF/DKIM/DMARC), BEC patterns, and mailbox token abuse research.

firmware-pentest

|

ghidra-reverse

Use for free/open reverse engineering with Ghidra (headless or GUI), including decompile, cross-refs, and optional Ghidra MCP workflows when IDA is unavailable.

관련 스킬