[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73C7DR117WWSA7Y64B3DBMB":3,"skill-same:01M73C7DR117WWSA7Y64B3DBMB":113},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":60,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M73C7DR117WWSA7Y64B3DBMB","hunting-for-persistence-mechanisms-in-windows",null,"Systematically hunt for adversary persistence mechanisms across Windows endpoints including registry, services, startup folders, and WMI subscriptions.","Horonomos-laps\u002FYana-AI","Horonomos-laps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F355299122?v=4","01M76B3QPXE88ET2SQPDPVATZT"," Horonomos-laps","01M72ZQRJPCYPSSWT4D00VJR2A",13,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fhunting-for-persistence-mechanisms-in-windows\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fhunting-for-persistence-mechanisms-in-windows\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: hunting-for-persistence-mechanisms-in-windows\ndescription: Systematically hunt for adversary persistence mechanisms across Windows\n  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\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\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\nmitre_attack:\n- T1046\n- T1057\n- T1082\n- T1083\n- T1547\nsource: https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\nsource_commit: 04450304b12645cb2b974ab96d28c0664758a88d\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":25,"author":33,"domain":34,"source":35,"license":15,"version":36,"nist_csf":37,"subdomain":26,"description":7,"mitre_attack":42,"source_commit":48,"d3fend_techniques":49},[26,27,28,29,30,31,32],"threat-hunting","mitre-attack","persistence","windows","registry","siem","proactive-detection","mahipal","cybersecurity","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","1.0",[38,39,40,41],"DE.CM-01","DE.AE-02","DE.AE-07","ID.RA-05",[43,44,45,46,47],"T1046","T1057","T1082","T1083","T1547","04450304b12645cb2b974ab96d28c0664758a88d",[50,51,52,53,54],"Executable Denylisting","Execution Isolation","File Metadata Consistency Validation","Content Format Conversion","File Content Analysis","main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa","core\u002Fskills\u002Fhunting-for-persistence-mechanisms-in-windows",2,"https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI","https:\u002F\u002Fyana.vutam.link\u002F","https:\u002F\u002Fgithub.com\u002FHoronomos-laps","https:\u002F\u002Fyana.vutam.link","An open-source governed runtime & execution environment for multi-agent AI systems.","2026-11-14 13:24:09",{"source":8,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill hunting-for-persistence-mechanisms-in-windows",{"tool":71,"command":72},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill hunting-for-persistence-mechanisms-in-windows",{"tool":74,"command":75},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill hunting-for-persistence-mechanisms-in-windows","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fhunting-for-persistence-mechanisms-in-windows\u002FSKILL.md",true,[79,85,89,95,99,103,109],{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"assets\u002Ftemplate.md","ASSET","资产文件",2012,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fhunting-for-persistence-mechanisms-in-windows\u002Fassets\u002Ftemplate.md",{"path":86,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":90,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fapi-reference.md","REFERENCE","参考文档",2099,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fhunting-for-persistence-mechanisms-in-windows\u002Freferences\u002Fapi-reference.md",{"path":96,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fstandards.md",4408,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fhunting-for-persistence-mechanisms-in-windows\u002Freferences\u002Fstandards.md",{"path":100,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Fworkflows.md",3400,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fhunting-for-persistence-mechanisms-in-windows\u002Freferences\u002Fworkflows.md",{"path":104,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":107,"sourceHtmlUrl":108},"scripts\u002Fagent.py","SCRIPT","脚本",6333,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fhunting-for-persistence-mechanisms-in-windows\u002Fscripts\u002Fagent.py",{"path":110,"resourceType":105,"resourceTypeDesc":106,"sizeBytes":111,"sourceHtmlUrl":112},"scripts\u002Fprocess.py",14290,"https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fhunting-for-persistence-mechanisms-in-windows\u002Fscripts\u002Fprocess.py",[114,122,129,137,145,153],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":118,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":20},"01M735GKET5YVYKAY62W2P5YXB","openai--sentry--sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","MIT","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopenai--sentry--sentry\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":20},"01M73DCAP83T17HY7SMGK7MGFE","ito-basket-compare","Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fito-basket-compare\u002FSKILL.md",[],[],{"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":133,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":20},"01M734CYEMZFDR3KH6SW0JP8TD","implementing-network-traffic-baselining","Build network traffic baselines from NetFlow\u002FIPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly\u002Fdaily traffic pattern profiling","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FSKILL.md",[],[],{"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":141,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":20},"01M73ASZ6NJRJM44Z2P84NGQ3Q","detecting-evasion-techniques-in-endpoint-logs","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[],[],{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":149,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":20},"01M734AFNXD06Z78QRK0VKGT7Q","implementing-microsegmentation-with-guardicore","Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FSKILL.md",[],[],{"skillNo":154,"name":155,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":20},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]