跳到正文
Skillpedia
智能体35k · #7973

hunting-for-startup-folder-persistence

它能做什么

这个工具用来查找那些会在你开机时自动启动的恶意程序。它会检查程序可能隐藏其中、并在每次系统启动时自动运行的特殊文件夹。

适用场景

  • ✓当你怀疑有病毒或间谍软件在隐蔽运行时。
  • ✓在调查电脑安全问题时。
  • ✓检查是否有合法程序在你不知情的情况下被添加进来。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-startup-folder-persistence/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-startup-folder-persistence/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我查看电脑上有哪些程序会自动启动。”

每周 5 个新技能,1 分钟读完。

工作原理

工具会检查 Windows 中程序可以注册为开机自启的文件夹。它会寻找可疑或新出现的文件,发现异常时就会提醒你。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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 investigating security incidents that require hunting for startup folder persistence
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

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
常见问题

什么是“启动文件夹”(startup folders)?

这是 Windows 中的一些位置,程序放在这里后,每次开机或用户登录时都会自动启动。

黑客为什么要用这种方式?

为了让他们的恶意程序(病毒、间谍软件)即使在电脑重启后也能继续运行,从而保持控制或窃取信息。

使用前需要安装什么吗?

需要。这个工具要求你安装 Python 以及一些额外的库才能正常运行。

详情

作者的原始描述

Detects T1547.001 startup folder persistence by monitoring Windows startup directories for suspicious file creation, cross-referencing Autoruns entries, and running a Python watchdog script for real-time filesystem monitoring. Use when hunting for malware or implants that survive reboot via startup-folder placement, or when validating autoruns/EDR findings against known-good startup baselines.

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#7973
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能