razor25000/cybersecurityskills/hunting-for-startup-folder-persistence

Claude Code and agent skill by razor25000/cybersecurityskills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Detect T1547.001 startup folder persistence by monitoring Windows startup

Install

npx vskill@latest install razor25000/cybersecurityskills/hunting-for-startup-folder-persistence

SKILL.md

The same SKILL.md was published earlier as razor25000/cybersecurityskills/hunting-for-startup-folder-persistence.

Hunting for Startup Folder Persistence

Overview

Attackers use Windows startup folders for persistence (MITRE ATT&CK T1547.001 — Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder). Files placed in %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup or C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup execute automatically at user logon. This skill scans startup directories for suspicious files, monitors for real-time changes using Python watchdog, and analyzes file metadata to detect persistence implants.

When to Use

  • When new threat intelligence describes TTPs not yet covered by existing detections
  • When a hypothesis-driven hunt is initiated after a peer organization reports a breach
  • When ATT&CK coverage analysis reveals a gap that needs proactive hunting before alerting is built
  • When crown-jewel assets (domain controllers, backup servers) need targeted behavioral monitoring
  • When MSSP or MDR service requires documented hunt procedures for client reporting
  • When a red team exercise concludes and blue team needs to verify detection of TTPs used

Prerequisites

  • Python 3.9+ with watchdog, pefile (optional for PE analysis)
  • Access to Windows startup folders (user and all-users)
  • Windows Event Logs for Event ID 4663 correlation (optional)

Steps

  1. Enumerate all files in user and system startup directories
  2. Analyze file types, creation timestamps, and digital signatures
  3. Flag suspicious file extensions (.bat, .vbs, .ps1, .lnk, .exe)
  4. Check for recently created files (< 7 days) as potential implants
  5. Monitor startup folders in real-time using watchdog FileSystemEventHandler
  6. Correlate with known legitimate startup entries
  7. Generate threat hunting report with T1547.001 MITRE mapping

Expected Output

  • JSON report listing all startup folder contents with risk scores, file metadata, and suspicious indicators
  • Real-time monitoring alerts for new file creation in startup directories

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/razor25000/cybersecurityskills/hunting-for-startup-folder-persistence/badge)](https://verified-skill.com/skills/razor25000/cybersecurityskills/hunting-for-startup-folder-persistence)

Something wrong with this skill or its page? Tell us.