[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71G77WTGJWHDWTC0P5Q5EEA":3,"skill-same:01M71G77WTGJWHDWTC0P5Q5EEA":99},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":72,"commitSha":73,"skillDirectory":74,"forksCount":14,"repositoryHtmlUrl":75,"repositoryHomepageUrl":6,"ownerHtmlUrl":76,"ownerBlogUrl":6,"ownerDescription":77,"updatedAt":78,"install":79,"resources":92},"01M71G77WTGJWHDWTC0P5Q5EEA","hunting-wmi-detect",null,"Detect WMI event subscription persistence by analyzing Sysmon Event IDs 19, 20, and 21 for malicious EventFilter, EventConsumer, and FilterToConsumerBinding creation.","DCx7C5\u002Fai-marketplace","DCx7C5","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42419559?v=4","01M71C01G2AZV3NTNGWAWSHJPP","DC","01M71C01GQW6G50S2BYMS7PP3E",0,"MIT","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fsoc\u002Fhunting\u002Fwmi\u002Fdetect\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"hunting wmi detect","hunting","detect","wmi","Bash","traffic","de","creation","cm","read","command","malicious","analysis","ids","sysmon","threat-hunting","mitre-attack","server","monitoring","cybersecurity","2026-11-10 10:12:30",false,"---\nname: hunting-wmi-detect\ndescription: Detect WMI event subscription persistence by analyzing Sysmon Event IDs 19, 20, and 21 for malicious EventFilter, EventConsumer, and FilterToConsumerBinding creation.\ndomain: cybersecurity\nsubdomain: threat-hunting\ntags:\n- threat-hunting\n- wmi\n- persistence\n- sysmon\n- t1546.003\n- mitre-attack\n- windows\n- dfir\nd3fend_techniques:\n- Application Protocol Command Analysis\n- Network Isolation\n- Network Traffic Analysis\n- Client-server Payload Profiling\n- Platform Monitoring\nnist_csf:\n- DE.CM-01\n- DE.AE-02\n- DE.AE-07\n- ID.RA-05\nmodel: sonnet\nmaxTurns: 20\ntools: [Read, Bash, Glob, Grep]\nmitre_attack:\n- T1047\n- T1059\n- T1547\n- T1562.001\ncapec: []\n---\n\n# Detecting WMI Persistence\n\n## When to Use\n\n- When hunting for WMI event subscription persistence (MITRE ATT&CK T1546.003)\n- After detecting suspicious WMI activity in endpoint telemetry\n- During incident response to identify attacker persistence mechanisms\n- When Sysmon alerts trigger on Event IDs 19, 20, or 21\n- During purple team exercises testing WMI-based persistence\n\n## Prerequisites\n\n- Sysmon v6.1+ deployed with WMI event logging enabled (Event IDs 19, 20, 21)\n- Windows Security Event Log forwarding configured\n- SIEM with Sysmon data ingested (Splunk, Elastic, Sentinel)\n- PowerShell access for WMI enumeration on endpoints\n- Sysinternals Autoruns for manual WMI subscription review\n\n## Workflow\n\n1. **Collect Telemetry**: Parse Sysmon Event IDs 19 (WmiEventFilter), 20 (WmiEventConsumer), 21 (WmiEventConsumerToFilter).\n2. **Identify Suspicious Consumers**: Flag CommandLineEventConsumer and ActiveScriptEventConsumer types executing code.\n3. **Analyze Event Filters**: Examine WQL queries in EventFilters for process start triggers or timer-based execution.\n4. **Correlate Bindings**: Match FilterToConsumerBindings linking suspicious filters to consumers.\n5. **Check Persistence Locations**: Query WMI namespaces root\\subscription and root\\default for active subscriptions.\n6. **Validate Findings**: Cross-reference with known-good WMI subscriptions (SCCM, AV products).\n7. **Document and Remediate**: Remove malicious subscriptions and update detection rules.\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| Sysmon Event 19 | WmiEventFilter creation detected |\n| Sysmon Event 20 | WmiEventConsumer creation detected |\n| Sysmon Event 21 | WmiEventConsumerToFilter binding detected |\n| T1546.003 | Event Triggered Execution: WMI Event Subscription |\n| CommandLineEventConsumer | Executes system commands when filter triggers |\n| ActiveScriptEventConsumer | Runs VBScript\u002FJScript when filter triggers |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| Sysmon | Windows event monitoring for WMI activity |\n| WMI Explorer | GUI tool for browsing WMI namespaces |\n| Autoruns | Sysinternals tool listing persistence mechanisms |\n| PowerShell Get-WMIObject | Enumerate WMI event subscriptions |\n| Splunk | SIEM analysis of Sysmon WMI events |\n| Velociraptor | Endpoint WMI artifact collection |\n\n## Output Format\n\n```\nHunt ID: TH-WMI-[DATE]-[SEQ]\nTechnique: T1546.003\nHost: [Hostname]\nEvent Type: [EventFilter|EventConsumer|Binding]\nConsumer Type: [CommandLine|ActiveScript]\nWQL Query: [Filter query text]\nCommand: [Executed command or script]\nRisk Level: [Critical\u002FHigh\u002FMedium\u002FLow]\nRecommended Action: [Remove subscription, investigate lateral movement]\n```\n","# Detecting WMI Persistence\n\n## When to Use\n\n- When hunting for WMI event subscription persistence (MITRE ATT&CK T1546.003)\n- After detecting suspicious WMI activity in endpoint telemetry\n- During incident response to identify attacker persistence mechanisms\n- When Sysmon alerts trigger on Event IDs 19, 20, or 21\n- During purple team exercises testing WMI-based persistence\n\n## Prerequisites\n\n- Sysmon v6.1+ deployed with WMI event logging enabled (Event IDs 19, 20, 21)\n- Windows Security Event Log forwarding configured\n- SIEM with Sysmon data ingested (Splunk, Elastic, Sentinel)\n- PowerShell access for WMI enumeration on endpoints\n- Sysinternals Autoruns for manual WMI subscription review\n\n## Workflow\n\n1. **Collect Telemetry**: Parse Sysmon Event IDs 19 (WmiEventFilter), 20 (WmiEventConsumer), 21 (WmiEventConsumerToFilter).\n2. **Identify Suspicious Consumers**: Flag CommandLineEventConsumer and ActiveScriptEventConsumer types executing code.\n3. **Analyze Event Filters**: Examine WQL queries in EventFilters for process start triggers or timer-based execution.\n4. **Correlate Bindings**: Match FilterToConsumerBindings linking suspicious filters to consumers.\n5. **Check Persistence Locations**: Query WMI namespaces root\\subscription and root\\default for active subscriptions.\n6. **Validate Findings**: Cross-reference with known-good WMI subscriptions (SCCM, AV products).\n7. **Document and Remediate**: Remove malicious subscriptions and update detection rules.\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| Sysmon Event 19 | WmiEventFilter creation detected |\n| Sysmon Event 20 | WmiEventConsumer creation detected |\n| Sysmon Event 21 | WmiEventConsumerToFilter binding detected |\n| T1546.003 | Event Triggered Execution: WMI Event Subscription |\n| CommandLineEventConsumer | Executes system commands when filter triggers |\n| ActiveScriptEventConsumer | Runs VBScript\u002FJScript when filter triggers |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| Sysmon | Windows event monitoring for WMI activity |\n| WMI Explorer | GUI tool for browsing WMI namespaces |\n| Autoruns | Sysinternals tool listing persistence mechanisms |\n| PowerShell Get-WMIObject | Enumerate WMI event subscriptions |\n| Splunk | SIEM analysis of Sysmon WMI events |\n| Velociraptor | Endpoint WMI artifact collection |\n\n## Output Format\n\n```\nHunt ID: TH-WMI-[DATE]-[SEQ]\nTechnique: T1546.003\nHost: [Hostname]\nEvent Type: [EventFilter|EventConsumer|Binding]\nConsumer Type: [CommandLine|ActiveScript]\nWQL Query: [Filter query text]\nCommand: [Executed command or script]\nRisk Level: [Critical\u002FHigh\u002FMedium\u002FLow]\nRecommended Action: [Remove subscription, investigate lateral movement]\n```\n",{"name":5,"tags":44,"capec":49,"model":50,"tools":51,"domain":38,"maxTurns":55,"nist_csf":56,"subdomain":34,"description":7,"mitre_attack":61,"d3fend_techniques":66},[34,22,45,33,46,35,47,48],"persistence","t1546.003","windows","dfir",[],"sonnet",[52,23,53,54],"Read","Glob","Grep",20,[57,58,59,60],"DE.CM-01","DE.AE-02","DE.AE-07","ID.RA-05",[62,63,64,65],"T1047","T1059","T1547","T1562.001",[67,68,69,70,71],"Application Protocol Command Analysis","Network Isolation","Network Traffic Analysis","Client-server Payload Profiling","Platform Monitoring","main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fsoc\u002Fhunting\u002Fwmi\u002Fdetect","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":80,"prompt":90,"zipAvailable":91},[81,84,87],{"tool":82,"command":83},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill hunting-wmi-detect",{"tool":85,"command":86},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill hunting-wmi-detect",{"tool":88,"command":89},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill hunting-wmi-detect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fsoc\u002Fhunting\u002Fwmi\u002Fdetect\u002FSKILL.md",true,[93],{"path":94,"resourceType":95,"resourceTypeDesc":96,"sizeBytes":97,"sourceHtmlUrl":98},"index.json","REFERENCE","参考文档",627,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fsoc\u002Fhunting\u002Fwmi\u002Fdetect\u002Findex.json",[100,110,129,147,168,189],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":104,"licenseFileUrl":105,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":109},"01M73MDK3NT5XHNYTQ5P5172V9","devel-jb-algorithmic-art","- Embed algorithms inline in the HTML artifact (don't create separate .","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":39},"01M71HAPZ01KQ30RKTB0FFSQ05","services-wmi-persistence-detect","Detect WMI event subscription persistence by enumerating ActiveScriptEventConsumer, CommandLineEventConsumer, and permanent subscriptions in the WMI repository.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fpersistence\u002Fdetect\u002FSKILL.md",[],[117,21,118,22,45,119,120,38,121,46,122,123,124,125,126,127,128,27,25],"services","services wmi persistence detect","process-forensics","process","forensics","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":39},"01M71HAK6JTTTS229T17WJMMCG","services-wmi-exec-exploit","Perform lateral movement across Windows networks using WMI-based remote execution techniques including Impacket wmiexec.py, CrackMapExec, and native WMI commands for stealthy post-exploitation during red team engagements.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fexec\u002Fexploit\u002FSKILL.md",[],[136,22,137,117,138,139,23,31,140,38,24,141,142,143,144,28,145,29,25,146],"exec","services wmi exec exploit","exploit","across","team","remote","crackmapexec","Impacket","lateral-movement","lateral movement","native",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":39},"01M71HAG6MHKNQV8KDZKMT4886","registry-artifact-extract","Extract and analyze Windows Registry hives to uncover user activity, installed software, autostart entries, and evidence of system compromise.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fregistry\u002Fartifact\u002Fextract\u002FSKILL.md",[],[154,155,156,157,158,50,159,160,161,162,28,25,163,164,31,165,23,38,166,167],"extract","registry artifact extract","registry","artifact","digital-forensics","regripper","windows-registry","evidence-collection","software","uncover","analyze","collection","artifact-analysis","activity",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":174,"publishedAt":39},"01M71HACR4A8XTWTTSXK4124AA","processes-token-impersonate-detect","Detect Windows token impersonation and privilege abuse including SeImpersonatePrivilege exploitation via Potato attacks and token stealing techniques.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Ftoken\u002Fimpersonate\u002Fdetect\u002FSKILL.md",[],[175,176,177,21,38,178,27,179,47,180,119,25,181,182,183,184,185,186,187,188],"processes","token","processes token impersonate detect","techniques","escalation","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"skillNo":190,"name":191,"nameZh":6,"description":192,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":193,"categories":194,"keywords":195,"publishedAt":39},"01M71HAABSB4Z6QFSXEG00R4RK","processes-thread-injection-detect","Detect Windows thread injection techniques including CreateRemoteThread, QueueUserAPC, NtCreateThreadEx, and thread hijacking via process memory analysis.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fthread\u002Finjection\u002Fdetect\u002FSKILL.md",[],[196,175,197,21,198,199,120,25,181,200,201,202,31,119,38,178,203,27,204,47],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]