Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/akashrpatil/awesome-offensive-security-skillsnpx agentmods add skills/akashrpatil/awesome-offensive-security-skills/windows-registry-autorun-forensicsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/windows-registry-autorun-forensics)<a href="https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/windows-registry-autorun-forensics"><img src="https://agentmods.dev/badge/skills/akashrpatil/awesome-offensive-security-skills/windows-registry-autorun-forensics/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/windows-registry-autorun-forensics"><img src="https://agentmods.dev/badge/skills/akashrpatil/awesome-offensive-security-skills/windows-registry-autorun-forensics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00052 | $0.01120 |
| Opus 5.5 | $0.00021 | $0.00448 |
| Sonnet 5.5 | $0.00010 | $0.00224 |
| Haiku 4.5 | $0.00005 | $0.00112 |
Grade A, and why
windows-registry-autorun-forensics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Windows Registry Autorun Forensics
When to Use
- During triage of a potentially compromised Windows system to identify how malware survives reboots.
- After extracting the registry hives (SAM, SYSTEM, SOFTWARE, NTUSER.DAT) from a forensic disk image for offline analysis.
Prerequisites
- Forensic image or live access to the affected system(s)
- Forensic workstation with analysis tools (Autopsy, Volatility, Timeline Explorer)
- Chain of custody documentation initiated for evidence handling
- Write-blocker for disk forensics or memory acquisition tool (e.g., DumpIt, WinPmem)
Workflow
Phase 1: Identifying Run / RunOnce Keys
# Concept: Windows Registry Get-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Run"
Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run"
Phase 2: Detecting IFEO (Image File Execution Options) Injection
# Get-ChildItem -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options" | Select-Object Name | Where-Object { $_.Name -match "sethc.exe|utilman.exe" }
# ```
### Phase 3: Inspecting Services Registry Keys
```powershell
# Get-ChildItem -Path "HKLM:\SYSTEM\CurrentControlSet\Services" | Where-Object { (Get-ItemProperty $_.PSPath).ImagePath -match "C:\\Users\\|C:\\ProgramData\\" } | Select-Object Name, @{Name="ImagePath"; Expression={(Get-ItemProperty $_.PSPath).ImagePath}}
Phase 4: Offline Analysis using RegRipper
# # rip.pl -r /mnt/evidence/Windows/System32/config/SOFTWARE -p run
rip.pl -r /mnt/evidence/Users/Bob/NTUSER.DAT -p userinit
Decision Point 🔀
flowchart TD
A[Extract Hives ] --> B{Parse Keys ]}
B -->|Yes| C[Identify Anomalies ]
B -->|No| D[Check Alternate ]
C --> E[Extract Artifacts ]
🔵 Blue Team Detection & Defense
- Sysinternals Autoruns: Registry Key Auditing (GPO): Registry Activity Monitoring (Sysmon Event ID 12, 13, 14): Key Concepts | Concept | Description | |---------|-------------|
Output Format
Windows Registry Autorun Forensics — Assessment Report
============================================================
Target: [Target identifier]
Assessor: [Operator name]
Date: [Assessment date]
Scope: [Authorized scope]
MITRE ATT&CK: [Relevant technique IDs]
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 119 lines · 52 tokens per session scan A 8f9d3765c136
windows-registry-autorun-forensics is a skill published in the GitHub repository akashrpatil/awesome-offensive-security-skills (25 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 52 tokens to every session and 1,120 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
windows-registry-autorun-forensics compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| windows-registry-autorun-forensicsakashrpatil/awesome-offensive-security-skills | Skill | 25 | 7mo ago | Apache-2.0 | A | 52 | Claude Code |
| performing-malware-persistence-investigationxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 31 | Claude Code, Codex |
| analyzing-malware-persistence-with-autorunsmukul975/Anthropic-Cybersecurity-Skills | Skill | 37k | 3mo ago | Apache-2.0 | A | 74 | Claude Code |
| analyzing-malware-persistence-with-autoruns26zl/cybersec-toolkit | Skill | 113 | 5d ago | MIT | A | 74 | Claude Code |
| hunting-persistence-mechanisms-on-windowsmeltedinhex/analyst-ai-pack | Skill | 25 | 3d ago | Apache-2.0 | A | 76 | Claude Code, Codex |
| analyzing-malware-persistence-with-autorunsautohandai/community-skills | Skill | 14 | 4mo ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| analyzing-malware-persistence-with-autorunskillvxk/cybersecurity-skills-zh | Skill | 63 | 7mo ago | Apache-2.0 | A | 53 | Claude Code |