मुख्य सामग्री पर जाएँ
Skillpedia
एनालिसिस और स्प्रेडशीट35k · #7960

hunting-for-lateral-movement-via-wmi

यह क्या करती है

यह टूल ऐसी संदिग्ध गतिविधि खोजता है जिससे पता चले कि किसी ने WMI का इस्तेमाल करके नेटवर्क के दूसरे कंप्यूटरों तक पहुंचने की कोशिश की है। यह event logs का विश्लेषण करके remote command execution के संकेत ढूंढता है।

कब इस्तेमाल करें

  • ✓जब आपको शक हो कि कोई घुसपैठिया नेटवर्क में घुस चुका है और फैल रहा है।
  • ✓किसी security incident की जांच करते समय यह समझने के लिए कि यह कैसे हुआ।
  • ✓यह जांचने के लिए कि आपके security systems इस तरह के हमले को पकड़ पा रहे हैं या नहीं।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-lateral-movement-via-wmi/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“event logs में WMI का इस्तेमाल करके lateral movement खोजो।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह टूल Windows और Sysmon के event records को देखता है, और ऐसे 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 क्या है?

WMI एक Windows टूल है जिससे कंप्यूटरों को मैनेज किया जाता है। हमलावर इसका इस्तेमाल करके दूसरे कंप्यूटरों पर बिना आसानी से पकड़े गए commands चला सकते हैं।

'event logs' क्या होते हैं?

ये कंप्यूटर की डायरी जैसे होते हैं जिनमें दर्ज रहता है कि क्या हुआ, किसने क्या किया और कब। यह टूल इन डायरियों को पढ़कर संदिग्ध गतिविधियां ढूंढता है।

'lateral movement' क्या है?

जब कोई हमलावर एक कंप्यूटर में घुसने के बाद उसी नेटवर्क के दूसरे कंप्यूटरों तक पहुंचने की कोशिश करता है, ताकि और कंट्रोल पा सके या ज़्यादा जानकारी चुरा सके।

जानकारी

लेखक का मूल विवरण

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
अपडेट की गई
31/8/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills