[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HEE1HM2JRBZMRV9FAN81R4":3,"skill-same:01M6HEE1HM2JRBZMRV9FAN81R4":103},{"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":64,"commitSha":65,"skillDirectory":66,"forksCount":67,"repositoryHtmlUrl":68,"repositoryHomepageUrl":6,"ownerHtmlUrl":69,"ownerBlogUrl":6,"ownerDescription":70,"updatedAt":71,"install":72,"resources":85},"01M6HEE1HM2JRBZMRV9FAN81R4","detecting-wmi-persistence",null,"Detect WMI event subscription persistence by analyzing Sysmon Event IDs 19, 20, and 21 for malicious EventFilter, EventConsumer, and FilterToConsumerBinding creation.","HenriqueMC17\u002Fagente-core","HenriqueMC17","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F206460478?v=4","01M6HB63HBBF18AC4H09XTB549","Henrique Monteiro Cardoso","01M6HB63NGSQXWKWCFWW2B20W0",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fdetecting-wmi-persistence\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"persistence","detecting","wmi","detecting wmi persistence","traffic","malicious","hunting","de","creation","cm","command","analysis","ids","sysmon","T1059.001","threat-hunting","mitre-attack","server","monitoring","cybersecurity","2026-11-10 10:12:30",false,"---\nname: detecting-wmi-persistence\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\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\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\nmitre_attack:\n- T1546.003\n- T1047\n- T1059.001\ncategory: detecting-wmi-persistence\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,"author":48,"domain":38,"license":15,"version":49,"category":5,"nist_csf":50,"subdomain":34,"description":7,"mitre_attack":55,"d3fend_techniques":58},[34,21,19,32,45,35,46,47],"t1546.003","windows","dfir","mahipal","1.0",[51,52,53,54],"DE.CM-01","DE.AE-02","DE.AE-07","ID.RA-05",[56,57,33],"T1546.003","T1047",[59,60,61,62,63],"Application Protocol Command Analysis","Network Isolation","Network Traffic Analysis","Client-server Payload Profiling","Platform Monitoring","main","5eea5b3296f4673b5f481e8bcc1ba76281149f16","modules\u002Fdetecting-wmi-persistence",0,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core","https:\u002F\u002Fgithub.com\u002FHenriqueMC17","Qualquer tecnologia suficientemente avançada é indistinguível da mágica.","2026-09-28 22:40:38",{"source":8,"skillName":5,"commands":73,"prompt":83,"zipAvailable":84},[74,77,80],{"tool":75,"command":76},"npx","npx skills add HenriqueMC17\u002Fagente-core --skill detecting-wmi-persistence",{"tool":78,"command":79},"bunx","bunx skills add HenriqueMC17\u002Fagente-core --skill detecting-wmi-persistence",{"tool":81,"command":82},"pnpm","pnpm dlx skills add HenriqueMC17\u002Fagente-core --skill detecting-wmi-persistence","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fdetecting-wmi-persistence\u002FSKILL.md",true,[86,91,97],{"path":87,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fdetecting-wmi-persistence\u002FLICENSE",{"path":92,"resourceType":93,"resourceTypeDesc":94,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fapi-reference.md","REFERENCE","参考文档",2985,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fdetecting-wmi-persistence\u002Freferences\u002Fapi-reference.md",{"path":98,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":101,"sourceHtmlUrl":102},"scripts\u002Fagent.py","SCRIPT","脚本",8867,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fdetecting-wmi-persistence\u002Fscripts\u002Fagent.py",[104,130,156,178,194,213],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":39},"01M6HPFF0RCN0X6WT5EBSV71GY","validating-backup-integrity-for-recovery","Validate backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to ensure backups are reliable for disaster recovery and ransomware response scenarios.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[],[111,112,113,114,115,116,38,117,118,119,120,121,122,123,124,125,126,127,128,129],"integrity","backup","recovery","validating backup integrity for recovery","for","testing","validate","verification","hash-verification","incident-response","ransomware","detection","t1078","t1490","disaster-recovery","restore","incident","disaster recovery","ransomware response",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":39},"01M6HPFAWJVFK25Q33K3T7WQ8G","triaging-vulnerabilities-with-ssvc-framework","Triage and prioritize vulnerabilities using CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree framework to produce actionable remediation priorities.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[],[137,138,139,140,141,38,142,143,144,145,146,147,148,149,150,151,152,153,154,155],"vulnerabilities","framework","ssvc","triaging vulnerabilities with ssvc framework","with","triage and prioritize","CISA","vulnerability-management","risk-management","cvss","remediation","vulnerability","prioritization","decision-tree","prioritize","decision","priorities","actionable","tree",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":39},"01M6HPF6JS9X72WP59094H3ASQ","triaging-security-incident","Performs initial triage of security incidents to determine severity, scope, and required response actions using the NIST SP 800-61r3 and SANS PICERL frameworks. Classifies incidents by type, assigns priority based on business impact, and routes...","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-incident\u002FSKILL.md",[],[163,164,127,38,165,166,167,123,124,30,168,169,170,171,172,173,174,175,176,177],"security","triaging security incident","actions","soc","NIST","severity-classification","incident-triage","SANS-PICERL","SOC-operations","picerl","conversion","isolation","scope","impact","consistency",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":39},"01M6HPF2EX6ZYNYYHKBRJN7GEF","triaging-security-incident-with-ir-playbook","Classify and prioritize security incidents using structured IR playbooks to determine severity, assign response teams, and initiate appropriate response procedures.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-incident-with-ir-playbook\u002FSKILL.md",[],[163,185,186,164,127,141,38,187,166,120,188,189,123,124,190,168,151,191,192,193],"playbook","triaging security incident with ir playbook","teams","IR-playbook","severity","classification","classify","incidents","initiate",{"skillNo":195,"name":196,"nameZh":6,"description":197,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":198,"categories":199,"keywords":200,"publishedAt":39},"01M6HPEY9XPGE7X95AG4XJFQAW","triaging-security-alerts-in-splunk","Triages security alerts in Splunk Enterprise Security by classifying severity, investigating notable events, correlating related telemetry, and making escalation or closure decisions using SPL queries and the Incident Review dashboard. Use when...","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-alerts-in-splunk\u002FSKILL.md",[],[163,201,202,203,204,205,38,206,207,208,166,209,123,210,211,212,171,28,127,26],"security alerts","splunk","triaging security alerts in splunk","alerts","review","siem","dashboard","search","correlation-search","t1566","notable-events","incident-review",{"skillNo":214,"name":215,"nameZh":6,"description":216,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":217,"categories":218,"keywords":219,"publishedAt":39},"01M6HPET6XGEPEJPN7V032JGZ0","tracking-threat-actor-infrastructure","Threat actor infrastructure tracking involves monitoring and mapping adversary-controlled assets including command-and-control (C2) servers, phishing domains, exploit kit hosts, bulletproof hosting, a","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftracking-threat-actor-infrastructure\u002FSKILL.md",[],[220,221,222,223,38,37,35,224,225,226,227,210,29,228,28,229,26,230,231,232],"infrastructure","tracking threat actor infrastructure","tracking","threat","threat-actor","threat-intelligence","command-and-control","dns","exploit","intelligence","domains","kit","hosts"]