[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71FZQ5HDSBHYWNF7FJ27AA8":3,"skill-same:01M71FZQ5HDSBHYWNF7FJ27AA8":57},{"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":25,"linkOnly":26,"markdownContent":27,"markdownBody":28,"frontMatter":29,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":14,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M71FZQ5HDSBHYWNF7FJ27AA8","soc-hunting-persistence-persist",null,"Soc Hunting Persistence Persist.","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-hunting-persistence-persist\u002FSKILL.md",[],[19,20,21,22,23,24],"hunting","persist","persistence","soc","soc hunting persistence persist","cybersecurity","2026-11-10 10:12:30",false,"---\nname: soc-hunting-persistence-persist\ndescription: \"Soc Hunting Persistence Persist.\"\ndomain: cybersecurity\n---\n\n-|\n| T1546.003 | Event Triggered Execution: WMI Event Subscription |\n| __EventFilter | WMI class defining the trigger condition |\n| __EventConsumer | WMI class defining the action to perform |\n| __FilterToConsumerBinding | Links a filter to a consumer |\n| ActiveScriptEventConsumer | Consumer that runs VBScript or JScript |\n| CommandLineEventConsumer | Consumer that executes command lines |\n| WmiPrvSe.exe | WMI Provider Host that executes subscription actions |\n| MOF File | Managed Object Format used to define WMI objects |\n\n## Detection Queries\n\n### Splunk -- WMI Subscription Creation via Sysmon\n```spl\nindex=sysmon (EventCode=19 OR EventCode=20 OR EventCode=21)\n| eval event_type=case(EventCode=19, \"EventFilter\", EventCode=20, \"EventConsumer\", EventCode=21, \"FilterToConsumerBinding\")\n| table _time Computer User event_type EventNamespace Name Query Destination Operation\n```\n\n### Splunk -- WMI Subscription via Windows Event 5861\n```spl\nindex=wineventlog source=\"Microsoft-Windows-WMI-Activity\u002FOperational\" EventCode=5861\n| table _time Computer NamespaceName Operation PossibleCause\n```\n\n### PowerShell -- Enumerate WMI Subscriptions\n```powershell\nGet-WmiObject -Namespace root\\subscription -Class __EventFilter\nGet-WmiObject -Namespace root\\subscription -Class __EventConsumer\nGet-WmiObject -Namespace root\\subscription -Class __FilterToConsumerBinding\n```\n\n### KQL -- WmiPrvSe.exe Spawning Suspicious Children\n```kql\nDeviceProcessEvents\n| where Timestamp > ago(7d)\n| where InitiatingProcessFileName =~ \"wmiprvse.exe\"\n| where FileName in~ (\"cmd.exe\", \"powershell.exe\", \"wscript.exe\", \"cscript.exe\", \"mshta.exe\", \"rundll32.exe\")\n| project Timestamp, DeviceName, FileName, ProcessCommandLine\n```\n\n### Sigma Rule\n```yaml\ntitle: WMI Event Subscription Persistence\nstatus: stable\nlogsource:\n    product: windows\n    category: wmi_event\ndetection:\n    selection_consumer:\n        EventID: 20\n        Destination|contains:\n            - 'ActiveScriptEventConsumer'\n            - 'CommandLineEventConsumer'\n    condition: selection_consumer\nlevel: high\ntags:\n    - attack.persistence\n    - attack.t1546.003\n```\n\n## Common Scenarios\n\n1. **APT29 WMI Persistence**: Creates an ActiveScriptEventConsumer that executes a VBScript backdoor on system startup, surviving reboots and credential resets.\n2. **Turla WMI Backdoor**: Uses Win32_ProcessStartTrace filter combined with CommandLineEventConsumer for covert command execution.\n3. **FIN8 WMI Timer**: Interval-based __IntervalTimerEvent triggering encoded PowerShell downloads every 30 minutes.\n4. **MOF-Based Installation**: Adversary drops a .mof file and compiles it with `mofcomp.exe` to silently create persistent subscriptions.\n\n## Output Format\n\n```\nHunt ID: TH-WMI-[DATE]-[SEQ]\nHost: [Hostname]\nSubscription Name: [Filter\u002FConsumer name]\nFilter Query: [WQL trigger condition]\nConsumer Type: [ActiveScript\u002FCommandLine]\nConsumer Action: [Script content or command]\nBinding: [Filter-to-Consumer link]\nCreated: [Timestamp]\nUser Context: [SYSTEM\u002FUser]\nRisk Level: [Critical\u002FHigh\u002FMedium\u002FLow]\n```\n","-|\n| T1546.003 | Event Triggered Execution: WMI Event Subscription |\n| __EventFilter | WMI class defining the trigger condition |\n| __EventConsumer | WMI class defining the action to perform |\n| __FilterToConsumerBinding | Links a filter to a consumer |\n| ActiveScriptEventConsumer | Consumer that runs VBScript or JScript |\n| CommandLineEventConsumer | Consumer that executes command lines |\n| WmiPrvSe.exe | WMI Provider Host that executes subscription actions |\n| MOF File | Managed Object Format used to define WMI objects |\n\n## Detection Queries\n\n### Splunk -- WMI Subscription Creation via Sysmon\n```spl\nindex=sysmon (EventCode=19 OR EventCode=20 OR EventCode=21)\n| eval event_type=case(EventCode=19, \"EventFilter\", EventCode=20, \"EventConsumer\", EventCode=21, \"FilterToConsumerBinding\")\n| table _time Computer User event_type EventNamespace Name Query Destination Operation\n```\n\n### Splunk -- WMI Subscription via Windows Event 5861\n```spl\nindex=wineventlog source=\"Microsoft-Windows-WMI-Activity\u002FOperational\" EventCode=5861\n| table _time Computer NamespaceName Operation PossibleCause\n```\n\n### PowerShell -- Enumerate WMI Subscriptions\n```powershell\nGet-WmiObject -Namespace root\\subscription -Class __EventFilter\nGet-WmiObject -Namespace root\\subscription -Class __EventConsumer\nGet-WmiObject -Namespace root\\subscription -Class __FilterToConsumerBinding\n```\n\n### KQL -- WmiPrvSe.exe Spawning Suspicious Children\n```kql\nDeviceProcessEvents\n| where Timestamp > ago(7d)\n| where InitiatingProcessFileName =~ \"wmiprvse.exe\"\n| where FileName in~ (\"cmd.exe\", \"powershell.exe\", \"wscript.exe\", \"cscript.exe\", \"mshta.exe\", \"rundll32.exe\")\n| project Timestamp, DeviceName, FileName, ProcessCommandLine\n```\n\n### Sigma Rule\n```yaml\ntitle: WMI Event Subscription Persistence\nstatus: stable\nlogsource:\n    product: windows\n    category: wmi_event\ndetection:\n    selection_consumer:\n        EventID: 20\n        Destination|contains:\n            - 'ActiveScriptEventConsumer'\n            - 'CommandLineEventConsumer'\n    condition: selection_consumer\nlevel: high\ntags:\n    - attack.persistence\n    - attack.t1546.003\n```\n\n## Common Scenarios\n\n1. **APT29 WMI Persistence**: Creates an ActiveScriptEventConsumer that executes a VBScript backdoor on system startup, surviving reboots and credential resets.\n2. **Turla WMI Backdoor**: Uses Win32_ProcessStartTrace filter combined with CommandLineEventConsumer for covert command execution.\n3. **FIN8 WMI Timer**: Interval-based __IntervalTimerEvent triggering encoded PowerShell downloads every 30 minutes.\n4. **MOF-Based Installation**: Adversary drops a .mof file and compiles it with `mofcomp.exe` to silently create persistent subscriptions.\n\n## Output Format\n\n```\nHunt ID: TH-WMI-[DATE]-[SEQ]\nHost: [Hostname]\nSubscription Name: [Filter\u002FConsumer name]\nFilter Query: [WQL trigger condition]\nConsumer Type: [ActiveScript\u002FCommandLine]\nConsumer Action: [Script content or command]\nBinding: [Filter-to-Consumer link]\nCreated: [Timestamp]\nUser Context: [SYSTEM\u002FUser]\nRisk Level: [Critical\u002FHigh\u002FMedium\u002FLow]\n```\n",{"name":5,"domain":24,"description":7},"main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fsoc-hunting-persistence-persist","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill soc-hunting-persistence-persist",{"tool":43,"command":44},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill soc-hunting-persistence-persist",{"tool":46,"command":47},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill soc-hunting-persistence-persist","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fsoc-hunting-persistence-persist\u002FSKILL.md",true,[51],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"index.json","REFERENCE","参考文档",524,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fsoc-hunting-persistence-persist\u002Findex.json",[58,68,92,115,137,159],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":63,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":67},"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":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":25},"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",[],[75,76,77,78,21,79,80,24,81,82,83,84,85,86,87,88,89,90,91],"services","detect","services wmi persistence detect","wmi","process-forensics","process","forensics","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript","cm","de",{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":25},"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",[],[99,78,100,75,101,102,103,104,105,24,106,107,108,109,110,111,112,113,91,114],"exec","services wmi exec exploit","exploit","across","Bash","analysis","team","traffic","remote","crackmapexec","Impacket","lateral-movement","read","lateral movement","command","native",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":25},"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",[],[122,123,124,125,126,127,128,129,130,131,111,91,132,133,104,134,103,24,135,136],"extract","registry artifact extract","registry","artifact","digital-forensics","sonnet","regripper","windows-registry","evidence-collection","software","uncover","analyze","collection","artifact-analysis","activity",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":25},"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",[],[144,145,146,76,24,147,90,148,149,150,79,91,151,152,153,154,155,156,157,158],"processes","token","processes token impersonate detect","techniques","escalation","windows","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":25},"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",[],[166,144,167,76,168,169,80,91,151,170,171,172,104,79,24,147,173,90,174,149],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]