[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71F63GF5TEEQE7APH8RSG6Q":3,"skill-same:01M71F63GF5TEEQE7APH8RSG6Q":96},{"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":69,"commitSha":70,"skillDirectory":71,"forksCount":14,"repositoryHtmlUrl":72,"repositoryHomepageUrl":6,"ownerHtmlUrl":73,"ownerBlogUrl":6,"ownerDescription":74,"updatedAt":75,"install":76,"resources":89},"01M71F63GF5TEEQE7APH8RSG6Q","persistence-winpersist-hunt",null,"Systematically hunt for adversary persistence mechanisms across Windows endpoints including registry, services, startup folders, and WMI subscriptions.","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\u002Fmalware\u002Fpersistence\u002Fwinpersist\u002Fhunt\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"hunt","persistence","persistence winpersist hunt","sonnet","threat","attack","registry","threat-hunting","read","de","hunting","mitre-attack","siem","across","conversion","analysis","Bash","cybersecurity","content analysis","cm","2026-11-10 10:12:30",false,"---\nname: persistence-winpersist-hunt\ndescription: Systematically hunt for adversary persistence mechanisms across Windows endpoints including registry, services, startup folders, and WMI subscriptions.\ndomain: cybersecurity\nsubdomain: threat-hunting\ntags:\n- threat-hunting\n- mitre-attack\n- persistence\n- windows\n- registry\n- siem\n- proactive-detection\nd3fend_techniques:\n- Executable Denylisting\n- Execution Isolation\n- File Metadata Consistency Validation\n- Content Format Conversion\n- File Content Analysis\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- T1059\n- T1070\n- T1547\n- T1562.001\ncapec: []\n---\n\n# Hunting for Persistence Mechanisms in Windows\n\n## When to Use\n\n- During periodic proactive threat hunts for dormant backdoors\n- After an incident to identify all persistence mechanisms an attacker planted\n- When investigating unusual services, scheduled tasks, or startup entries\n- When threat intel reports describe new persistence techniques in the wild\n- During security posture assessments to identify unauthorized persistent software\n\n## Prerequisites\n\n- Sysmon deployed with Event IDs 12\u002F13\u002F14 (Registry), 19\u002F20\u002F21 (WMI), 1 (Process Creation)\n- Windows Security Event forwarding for 4697 (Service Install), 4698 (Scheduled Task)\n- EDR with registry and file monitoring capabilities\n- PowerShell script block logging enabled (Event ID 4104)\n- Autoruns or equivalent baseline of legitimate persistent entries\n\n## Workflow\n\n1. **Enumerate Known Persistence Locations**: Build a comprehensive list of Windows persistence points (Run keys, services, scheduled tasks, WMI, startup folder, DLL search order, COM hijacks, AppInit DLLs, Image File Execution Options).\n2. **Collect Endpoint Data**: Use EDR, Sysmon, or Velociraptor to collect current persistence artifacts from endpoints across the environment.\n3. **Baseline Legitimate Persistence**: Compare collected data against known-good baselines (Autoruns snapshots, GPO-deployed entries, SCCM configurations).\n4. **Identify Anomalies**: Flag new, unsigned, or unknown entries in persistence locations that deviate from the baseline.\n5. **Investigate Suspicious Entries**: For each anomaly, examine the binary it points to, its digital signature, file hash, and creation timestamp.\n6. **Correlate with Process Activity**: Link persistence entries to process execution, network activity, and user login events.\n7. **Document and Remediate**: Record findings, remove malicious persistence, and update detection rules.\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| T1547.001 | Registry Run Keys \u002F Startup Folder |\n| T1543.003 | Windows Service (Create or Modify) |\n| T1053.005 | Scheduled Task |\n| T1546.003 | WMI Event Subscription |\n| T1546.015 | Component Object Model (COM) Hijacking |\n| T1546.012 | Image File Execution Options Injection |\n| T1546.010 | AppInit DLLs |\n| T1547.004 | Winlogon Helper DLL |\n| T1547.005 | Security Support Provider |\n| T1574.001 | DLL Search Order Hijacking |\n| TA0003 | Persistence Tactic |\n| Autoruns | Sysinternals tool showing persistent entries |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| Sysinternals Autoruns | Comprehensive persistence enumeration |\n| Velociraptor | Endpoint-wide persistence artifact collection |\n| CrowdStrike Falcon | Real-time persistence monitoring |\n| Sysmon | Registry and WMI event monitoring |\n| OSQuery | SQL-based persistence queries |\n| RECmd | Registry Explorer for forensic analysis |\n| Splunk | SIEM correlation of persistence events |\n\n## Common Scenarios\n\n1. **Registry Run Key Backdoor**: Malware adds `HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run` entry pointing to payload in `%APPDATA%`.\n2. **WMI Event Subscription**: Adversary creates WMI consumer\u002Ffilter pair that executes PowerShell on system boot.\n3. **Malicious Service**: Attacker creates Windows service with `sc create` pointing to a backdoor binary.\n4. **COM Object Hijack**: Legitimate COM CLSID InprocServer32 path replaced with malicious DLL.\n5. **IFEO Debugger Injection**: Image File Execution Options key set with debugger pointing to implant for common utilities.\n\n## Output Format\n\n```\nHunt ID: TH-PERSIST-[DATE]-[SEQ]\nPersistence Type: [Registry\u002FService\u002FTask\u002FWMI\u002FCOM\u002FOther]\nMITRE Technique: T1547.xxx \u002F T1543.xxx \u002F T1053.xxx\nLocation: [Full registry key \u002F service name \u002F task path]\nValue: [Binary path \u002F command line]\nHost(s): [Affected endpoints]\nSigned: [Yes\u002FNo]\nHash: [SHA256]\nCreation Time: [Timestamp]\nRisk Level: [Critical\u002FHigh\u002FMedium\u002FLow]\nVerdict: [Malicious\u002FSuspicious\u002FBenign]\n```\n","# Hunting for Persistence Mechanisms in Windows\n\n## When to Use\n\n- During periodic proactive threat hunts for dormant backdoors\n- After an incident to identify all persistence mechanisms an attacker planted\n- When investigating unusual services, scheduled tasks, or startup entries\n- When threat intel reports describe new persistence techniques in the wild\n- During security posture assessments to identify unauthorized persistent software\n\n## Prerequisites\n\n- Sysmon deployed with Event IDs 12\u002F13\u002F14 (Registry), 19\u002F20\u002F21 (WMI), 1 (Process Creation)\n- Windows Security Event forwarding for 4697 (Service Install), 4698 (Scheduled Task)\n- EDR with registry and file monitoring capabilities\n- PowerShell script block logging enabled (Event ID 4104)\n- Autoruns or equivalent baseline of legitimate persistent entries\n\n## Workflow\n\n1. **Enumerate Known Persistence Locations**: Build a comprehensive list of Windows persistence points (Run keys, services, scheduled tasks, WMI, startup folder, DLL search order, COM hijacks, AppInit DLLs, Image File Execution Options).\n2. **Collect Endpoint Data**: Use EDR, Sysmon, or Velociraptor to collect current persistence artifacts from endpoints across the environment.\n3. **Baseline Legitimate Persistence**: Compare collected data against known-good baselines (Autoruns snapshots, GPO-deployed entries, SCCM configurations).\n4. **Identify Anomalies**: Flag new, unsigned, or unknown entries in persistence locations that deviate from the baseline.\n5. **Investigate Suspicious Entries**: For each anomaly, examine the binary it points to, its digital signature, file hash, and creation timestamp.\n6. **Correlate with Process Activity**: Link persistence entries to process execution, network activity, and user login events.\n7. **Document and Remediate**: Record findings, remove malicious persistence, and update detection rules.\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| T1547.001 | Registry Run Keys \u002F Startup Folder |\n| T1543.003 | Windows Service (Create or Modify) |\n| T1053.005 | Scheduled Task |\n| T1546.003 | WMI Event Subscription |\n| T1546.015 | Component Object Model (COM) Hijacking |\n| T1546.012 | Image File Execution Options Injection |\n| T1546.010 | AppInit DLLs |\n| T1547.004 | Winlogon Helper DLL |\n| T1547.005 | Security Support Provider |\n| T1574.001 | DLL Search Order Hijacking |\n| TA0003 | Persistence Tactic |\n| Autoruns | Sysinternals tool showing persistent entries |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| Sysinternals Autoruns | Comprehensive persistence enumeration |\n| Velociraptor | Endpoint-wide persistence artifact collection |\n| CrowdStrike Falcon | Real-time persistence monitoring |\n| Sysmon | Registry and WMI event monitoring |\n| OSQuery | SQL-based persistence queries |\n| RECmd | Registry Explorer for forensic analysis |\n| Splunk | SIEM correlation of persistence events |\n\n## Common Scenarios\n\n1. **Registry Run Key Backdoor**: Malware adds `HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run` entry pointing to payload in `%APPDATA%`.\n2. **WMI Event Subscription**: Adversary creates WMI consumer\u002Ffilter pair that executes PowerShell on system boot.\n3. **Malicious Service**: Attacker creates Windows service with `sc create` pointing to a backdoor binary.\n4. **COM Object Hijack**: Legitimate COM CLSID InprocServer32 path replaced with malicious DLL.\n5. **IFEO Debugger Injection**: Image File Execution Options key set with debugger pointing to implant for common utilities.\n\n## Output Format\n\n```\nHunt ID: TH-PERSIST-[DATE]-[SEQ]\nPersistence Type: [Registry\u002FService\u002FTask\u002FWMI\u002FCOM\u002FOther]\nMITRE Technique: T1547.xxx \u002F T1543.xxx \u002F T1053.xxx\nLocation: [Full registry key \u002F service name \u002F task path]\nValue: [Binary path \u002F command line]\nHost(s): [Affected endpoints]\nSigned: [Yes\u002FNo]\nHash: [SHA256]\nCreation Time: [Timestamp]\nRisk Level: [Critical\u002FHigh\u002FMedium\u002FLow]\nVerdict: [Malicious\u002FSuspicious\u002FBenign]\n```\n",{"name":5,"tags":44,"capec":47,"model":22,"tools":48,"domain":36,"maxTurns":52,"nist_csf":53,"subdomain":26,"description":7,"mitre_attack":58,"d3fend_techniques":63},[26,30,20,45,25,31,46],"windows","proactive-detection",[],[49,35,50,51],"Read","Glob","Grep",20,[54,55,56,57],"DE.CM-01","DE.AE-02","DE.AE-07","ID.RA-05",[59,60,61,62],"T1059","T1070","T1547","T1562.001",[64,65,66,67,68],"Executable Denylisting","Execution Isolation","File Metadata Consistency Validation","Content Format Conversion","File Content Analysis","main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fmalware\u002Fpersistence\u002Fwinpersist\u002Fhunt","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":77,"prompt":87,"zipAvailable":88},[78,81,84],{"tool":79,"command":80},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill persistence-winpersist-hunt",{"tool":82,"command":83},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill persistence-winpersist-hunt",{"tool":85,"command":86},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill persistence-winpersist-hunt","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fmalware\u002Fpersistence\u002Fwinpersist\u002Fhunt\u002FSKILL.md",true,[90],{"path":91,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":94,"sourceHtmlUrl":95},"index.json","REFERENCE","参考文档",647,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fmalware\u002Fpersistence\u002Fwinpersist\u002Fhunt\u002Findex.json",[97,107,129,148,168,189],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":101,"licenseFileUrl":102,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":106},"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":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"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",[],[114,115,116,117,20,118,119,36,120,121,122,123,124,125,126,127,128,38,28],"services","detect","services wmi persistence detect","wmi","process-forensics","process","forensics","t1546.003","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,117,137,114,138,32,35,34,139,36,140,141,142,143,144,27,145,146,28,147],"exec","services wmi exec exploit","exploit","team","traffic","remote","crackmapexec","Impacket","lateral-movement","lateral movement","command","native",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"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",[],[155,156,25,157,158,22,159,160,161,162,27,28,163,164,34,165,35,36,166,167],"extract","registry artifact extract","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,115,36,178,38,179,45,180,118,28,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,115,198,199,119,28,181,200,201,202,34,118,36,178,203,38,204,45],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]