본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트35k · #7960

hunting-for-lateral-movement-via-wmi

하는 일

이 도구는 누군가 WMI를 이용해 네트워크의 다른 컴퓨터로 이동하려 한 의심스러운 활동을 찾습니다. 이벤트 로그를 분석해 원격 명령 실행의 흔적을 찾습니다.

사용하는 경우

  • ✓침입자가 네트워크에 들어와 퍼지고 있다고 의심될 때.
  • ✓사고가 어떻게 일어났는지 이해하기 위해 보안 사고를 조사할 때.
  • ✓보안 시스템이 이런 유형의 공격을 잡아내는지 확인하는 경우.

스킬 링크

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-lateral-movement-via-wmi/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-lateral-movement-via-wmi/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이벤트 로그에서 WMI를 사용한 측면 이동을 찾아 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 도구는 Windows와 Sysmon 이벤트 기록을 검사해, WmiPrvSE.exe 프로그램이 cmd.exe나 powershell.exe 같은 위험한 프로그램을 시작하는 경우를 찾습니다. 또한 공격자가 접근을 유지할 수 있게 하는 의심스러운 설정도 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Hunting for Lateral Movement via WMI

Overview

Windows Management Instrumentation (WMI) is commonly abused for lateral movement via wmic process call create or Win32_Process.Create() to execute commands on remote hosts. Detection focuses on identifying WmiPrvSE.exe spawning child processes (cmd.exe, powershell.exe) in Windows Security Event ID 4688 and Sysmon Event ID 1 logs, along with WMI-Activity/Operational events (5857, 5860, 5861) for event subscription persistence.

When to Use

  • When investigating security incidents that require hunting for lateral movement via wmi
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Windows Security Event Logs with Process Creation auditing enabled (Event 4688 with command line)
  • Sysmon installed with Event ID 1 (Process Creation) configured
  • Python 3.9+ with python-evtx, lxml libraries
  • Understanding of WMI architecture and WmiPrvSE.exe behavior

Steps

Step 1: Parse Process Creation Events

Extract Event ID 4688 and Sysmon Event 1 entries from EVTX files.

Step 2: Detect WmiPrvSE Child Processes

Flag processes where ParentImage/ParentProcessName is WmiPrvSE.exe, indicating remote WMI execution.

Step 3: Analyze Command Line Patterns

Identify suspicious command lines matching WMI lateral movement patterns (cmd.exe /q /c, output redirection to admin$ share).

Step 4: Check WMI Event Subscriptions

Parse WMI-Activity/Operational log for event consumer creation indicating persistence.

Expected Output

JSON report with WMI-spawned processes, suspicious command lines, WMI event subscription alerts, and timeline of lateral movement activity.

자주 묻는 질문

WMI란 무엇인가요?

컴퓨터를 관리하는 데 사용하는 Windows 도구입니다. 공격자는 이를 이용해 눈에 잘 띄지 않게 다른 컴퓨터에서 명령을 실행할 수 있습니다.

‘이벤트 로그’란 무엇인가요?

무슨 일이 있었는지, 누가 무엇을 했고 언제 했는지 기록하는 컴퓨터의 일기장과 같습니다. 이 도구는 이 일기를 읽어 의심스러운 활동을 찾습니다.

‘측면 이동’이란 무엇인가요?

공격자가 한 컴퓨터에 침입한 뒤, 같은 네트워크의 다른 컴퓨터로 이동해 더 많은 통제권을 얻거나 정보를 훔치려는 것입니다.

상세 정보

작성자의 원본 설명

Detects WMI-based lateral movement (e.g. wmic process call create, Win32_Process.Create()) by analyzing Windows Event ID 4688 and Sysmon Event ID 1 for WmiPrvSE.exe spawning suspicious child processes like cmd.exe or powershell.exe, plus WMI-Activity/Operational events 5857/5860/5861 for subscription-based persistence. Use when hunting for remote code execution via WMI or investigating lateral mov

repo: mukul975/Anthropic-Cybersecurity-Skills

인기도

GitHub 스타
35k
순위
#7960
라이선스
Apache-2.0
업데이트
2026. 8. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬