Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính35k · #7960

hunting-for-lateral-movement-via-wmi

Skill này làm gì

Công cụ này tìm các dấu hiệu cho thấy ai đó đã dùng WMI để chuyển sang máy tính khác trong mạng. Nó phân tích nhật ký sự kiện để tìm dấu hiệu thực thi lệnh từ xa.

Khi nào nên dùng

  • ✓Khi bạn nghi ngờ kẻ xâm nhập đã vào mạng và đang lan rộng.
  • ✓Khi điều tra một sự cố bảo mật để hiểu cách nó xảy ra.
  • ✓Khi kiểm tra xem hệ thống bảo mật có bắt được kiểu tấn công này không.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-lateral-movement-via-wmi/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tìm di chuyển ngang bằng WMI trong nhật ký sự kiện.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ kiểm tra bản ghi sự kiện Windows và Sysmon, tìm chương trình WmiPrvSE.exe đang khởi chạy các chương trình nguy hiểm khác như cmd.exe hoặc powershell.exe. Nó cũng kiểm tra các cấu hình đáng ngờ cho phép kẻ tấn công duy trì quyền truy cập.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

Câu hỏi thường gặp

WMI là gì?

WMI là công cụ của Windows cho phép quản lý máy tính. Kẻ tấn công có thể dùng nó để chạy lệnh trên máy khác mà không dễ bị phát hiện.

“Nhật ký sự kiện” là gì?

Đó giống như nhật ký ghi lại những gì đã xảy ra trên máy tính, bao gồm ai làm gì và khi nào. Công cụ này đọc nhật ký để tìm hoạt động đáng ngờ.

“Di chuyển ngang” là gì?

Đó là khi kẻ tấn công, sau khi xâm nhập một máy tính, chuyển sang các máy khác trong cùng mạng để giành thêm quyền kiểm soát hoặc đánh cắp thêm thông tin.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#7960
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự