hunting-for-unusual-service-installations
它能做什么
这个工具用来查找恶意程序。这些程序会在 Windows 上把自己安装成“服务”,从而保持长期运行。它通过分析系统日志,找出新出现的、可疑的服务。
适用场景
- ✓当你怀疑电脑已经被入侵,想查看被安装了什么东西时。
- ✓当系统日志里出现一个新的、奇怪的服务时。
- ✓在安全调查过程中,列出所有已安装的服务。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-unusual-service-installations/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“分析我的 Windows 日志,告诉我是否安装了可疑的服务。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会读取 Windows 日志文件(System.evtx),查找代表新服务安装的特定代码(ID 7045)。然后它会检查服务的安装位置是常见的还是可疑的。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Hunting for Unusual Service Installations
Overview
Attackers frequently install malicious Windows services for persistence and privilege escalation (MITRE ATT&CK T1543.003 — Create or Modify System Process: Windows Service). Event ID 7045 in the System event log records every new service installation. This skill parses .evtx log files to extract service installation events, flags suspicious binary paths (temp directories, PowerShell, cmd.exe, encoded commands), and correlates with known attack patterns.
When to Use
- When investigating security incidents that require hunting for unusual service installations
- 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
python-evtx,lxml - Windows System event log (.evtx) files
- Access to live System event log (optional, for real-time monitoring)
- Sysmon logs for enhanced process tracking (optional)
Steps
- Parse System.evtx for Event ID 7045 (new service installed)
- Extract service name, binary path, service type, and account
- Flag services with suspicious binary paths (temp dirs, encoded commands)
- Detect PowerShell-based service creation patterns
- Identify services running as LocalSystem with unusual paths
- Cross-reference with known legitimate service baselines
- Generate threat hunting report with MITRE ATT&CK T1543.003 mapping
Expected Output
- JSON report listing all new service installations with risk scores, suspicious indicators, and remediation recommendations
- Timeline of service installation events with binary path analysis
常见问题
Windows 中的“服务”是什么?
服务是一种在 Windows 后台运行、不需要用户直接操作的程序。很多正规软件都会使用服务,但攻击者也可能利用服务来隐藏自己。
“MITRE ATT&CK T1543.003”是什么?
这是一个编号,用来描述攻击者常用的一种手段:把恶意程序安装为 Windows 服务,以便在系统上长期保持存在。
我需要是电脑专家才能使用吗?
不需要。这个工具的设计目的就是帮助你发现可疑行为,不需要你理解复杂的编程细节。
详情
作者的原始描述
Detects suspicious Windows service installations (MITRE ATT&CK T1543.003) by parsing System event log Event ID 7045, analyzing service binary paths, and flagging indicators of persistence mechanisms via Sysmon/EDR telemetry. Use when hunting for new-service persistence after a suspected compromise, when Event ID 7045 fires for an unfamiliar service, or during incident response to enumerate service
热度
- GitHub 星标
- 35k
- 排名
- #7978
- 许可证
- Apache-2.0
- 更新时间
- 2026/8/31
评论
- …
同一仓库的更多技能
abusing-dpapi-for-credential-access
35k为你的 AI 智能体提供针对特定任务的现成指令,让它完成得更好、更快。
abusing-shadow-credentials-for-privesc
35k教你的 AI 智能体写出清晰、结构良好的文本。
achieving-cmmc-level-2-compliance
35k帮助你的智能体搭建符合 CMMC Level 2 合规要求的环境。它会落实安全要求,并管理必要的文档。
acquiring-disk-image-with-dd-and-dcfldd
35k帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。