Guide · Agent skill
How to use the Malware Persistence Analysis with Autoruns agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
This guide shows how to install and use the analyzing-malware-persistence-with-autoruns agent skill, a set of instructions and helper files that lets an AI agent guide a security analyst through hunting for malware autostart entries on a Windows computer. You do not need prior experience with agent skills; the steps below cover what a skill is, how to add it, and how to ask for help with it. By the end you will know how to trigger the skill, what it needs before it runs, and how to read its output with appropriate caution.
Quick start
- 1Download and unzip the skill. Download the ZIP from this page and unzip it so the skill folder is available locally.
- 2Place the skill folder. Move the folder into ~/.claude/skills/ for personal use or into .claude/skills/ in a project, or upload it under Settings → Capabilities → Skills in the Claude apps.
- 3Gather the prerequisites. Confirm Windows, Sysinternals Autoruns and Autorunsc, administrative rights, Python 3.9+, and a clean baseline export are ready.
- 4Ask for help in plain language. Describe the endpoint and goal, such as finding new autostart entries after an incident.
- 5Run the scan. Run the bundled Python script against an Autoruns CSV, using the scan and flag workflow from the skill.
- 6Review each flag manually. Investigate every flagged entry by hand, checking signatures, paths and launch strings before taking any action.
- 7Document the findings. Record results in the report template, including findings, IOCs and recommendations.
What does the skill make the agent do?
Once installed, the agent helps a security analyst look for ways malware survives reboots on a Windows computer. These include Run registry keys, scheduled tasks, services and drivers. The skill describes Sysinternals Autoruns, Microsoft's free tool, which scans hundreds of Auto-Start Extensibility Points (ASEPs) across 18+ categories such as Run/RunOnce keys, services, scheduled tasks, drivers, Winlogon entries, WMI subscriptions and AppInit DLLs.
The skill also covers comparing results against a clean baseline export to find newly added persistence, checking hash reputation through VirusTotal, and examining offline disk images with the -z flag. It includes a Python script that flags unsigned programs, unusual file locations and command-line tools often abused by attackers. The flags are suggestions for human review, not verdicts.
Install the skill (ZIP download or Claude Settings)
Download the skill ZIP from this page and unzip it. For a personal setup, place the unzipped folder in ~/.claude/skills/. For a single project, place it in that project's .claude/skills/ folder.
In the Claude apps you can instead upload the skill under Settings → Capabilities → Skills.
- Personal: ~/.claude/skills/
- Project: .claude/skills/ inside your project folder
- Claude apps: Settings → Capabilities → Skills, then upload
Check the requirements before you start
The skill assumes a Windows system and a set of tools. Confirm you have all of them before relying on the output.
- Windows with Sysinternals Autoruns (GUI) and Autorunsc (CLI)
- Administrative privileges on the target system
- Python 3.9+
- A VirusTotal API key, only needed for optional hash reputation checks
- A clean baseline Autoruns export for comparison
Trigger the skill with natural requests
You do not need special syntax. Describe the task in plain language, mentioning Windows, persistence, autostart or Autoruns. The skill's description targets Windows incident response, triaging a compromised endpoint, and validating that malware autostart entries have been fully removed.
- "Help me check this Windows endpoint for malware persistence using Autoruns."
- "Compare this Autoruns export against our clean baseline and show me new autostart entries."
- "Which unsigned Run key or service entries should I investigate on this machine?"
- "Check whether all malware autostart entries were removed after cleanup."
Run the scan and review the flags
The bundled script runs autorunsc with the -a * flag to scan all categories, outputs CSV, and then flags entries. Its checks include unsigned or unverified binaries, missing description and company metadata, executables in temp or public user folders, and launch strings containing powershell, cmd /c, wscript, mshta or regsvr32.
Treat every flag as a lead to investigate. The skill notes that heuristics produce false positives and misses. For example, any use of powershell or rundll32 is flagged, even when legitimate.
- Unsigned binary
- Missing metadata
- Suspicious path
- LOLBin: <keyword>
python scripts/agent.pyUse the report template and baseline comparison
The skill includes a report template with sample information (SHA-256, file type, analysis date, analyst), a findings table with severity, an IOC table, and recommendations. Use it to document what you found.
Validation criteria in the skill are simple: all ASEP categories scanned and cataloged, unsigned entries flagged, suspicious paths and LOLBin strings highlighted, and new persistence identified against the baseline.
What people use it for
- Triaging a possibly compromised Windows endpoint by listing unsigned autostart entries
- Validating after cleanup that all malware Run keys, services and scheduled tasks were removed
- Comparing a current Autoruns export against a known-good baseline to spot new persistence
- Learning how Windows persistence techniques map to MITRE ATT&CK techniques such as T1547.001 and T1053.005
- Examining an offline disk image with the Autoruns -z flag
Frequently asked questions
How do I install the analyzing-malware-persistence-with-autoruns skill?
Download the skill ZIP from this page and unzip it. Put the folder in ~/.claude/skills/ for personal use or in a project's .claude/skills/ folder, or upload it in the Claude apps under Settings → Capabilities → Skills.
Is the Autoruns skill free?
The skill is licensed under Apache-2.0. Sysinternals Autoruns is described as Microsoft's free tool. The optional VirusTotal hash checks need your own VirusTotal API key.
What do I need to run this skill?
You need Windows with Sysinternals Autoruns and Autorunsc, administrative privileges on the target, Python 3.9+, and a clean baseline Autoruns export. A VirusTotal API key is only needed for optional reputation checks.
Does the skill run scripts and use the network?
Yes on both counts. The skill runs scripts, including scripts/agent.py, and it uses the network for optional VirusTotal hash reputation checks. Review the scripts before running them on a machine you care about.
Can I use this skill for general Windows troubleshooting?
No. The skill targets malware hunting and persistence analysis specifically, so it is not a good fit for general Windows troubleshooting.
Can I delete entries the script flags?
The skill does not support relying on the script's flags alone to clear or delete entries. Its heuristics produce false positives and misses, and deleting system entries can break a machine, so verify each entry manually first.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
This skill suits incident responders triaging a possibly compromised Windows endpoint, SOC analysts confirming that malware autostart entries are gone, and students learning how Windows persistence maps to MITRE ATT&CK. It is not suited to general Windows troubleshooting, and it should not be used as an automatic cleaner, since its flags are leads that need human review.
Download the skill