hunting-for-t1098-account-manipulation
它能做什么
这个工具用来查找 Windows 用户账户中的可疑活动,这些活动可能说明攻击者正在试图维持或扩大自己的访问权限。它会分析安全事件日志,查找用户组、密码的变更,以及“影子”管理员账户的创建。
适用场景
- ✓当你怀疑有恶意人员获得了重要账户的访问权限时。
- ✓发现用户组或密码出现异常变化后。
- ✓在安全调查中,确认是否发生过账户篡改。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-t1098-account-manipulation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我排查系统中是否有管理员账户被篡改的情况。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会读取 Windows 安全事件日志,搜索记录账户变更的特定事件代码。它会识别用户何时被添加到重要的用户组、何时修改了密码,以及何时创建了“影子”管理员账户。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Hunting for T1098 Account Manipulation
Overview
MITRE ATT&CK T1098 (Account Manipulation) covers adversary actions to maintain or expand access to compromised accounts, including adding credentials, modifying group memberships, SID history injection, and creating shadow admin accounts. This skill covers detecting these techniques through Windows Security Event Log analysis (Event IDs 4738, 4728, 4732, 4756, 4670, 5136), correlating group membership changes with privilege escalation indicators, and identifying anomalous account modification patterns.
When to Use
- When investigating security incidents that require hunting for t1098 account manipulation
- 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
- Windows Security Event Logs (EVTX format) or SIEM access
- Python 3.9+ with
python-evtx,lxmllibraries - Understanding of Active Directory group structure and SID architecture
- Familiarity with MITRE ATT&CK T1098 sub-techniques
Steps
Step 1: Parse Account Modification Events
Extract Event IDs 4738 (user account changed), 4728/4732/4756 (member added to security groups), and 5136 (directory service object modified).
Step 2: Detect Privileged Group Changes
Flag additions to Domain Admins, Enterprise Admins, Schema Admins, Administrators, and Backup Operators groups.
Step 3: Identify Shadow Admin Indicators
Detect accounts receiving AdminSDHolder protection, direct privilege assignment, or SID history injection.
Step 4: Correlate with Attack Timeline
Cross-reference account changes with authentication events to identify initial compromise and persistence establishment.
Expected Output
JSON report with detected account manipulation events, privileged group changes, shadow admin indicators, and timeline correlation.
常见问题
什么是“影子”管理员账户(shadow)?
这是攻击者秘密创建的账户,用来在不易被发现的情况下获得管理员权限。
什么是“SID 历史注入”(SID history injection)?
这是一种攻击手法:攻击者把旧账户的 SID(安全标识符)添加到新账户上,使新账户看起来拥有与旧账户相同的权限。
使用这个工具需要安装什么吗?
需要。你的电脑上需要有 Windows 安全事件日志,并安装一些编程工具。
详情
作者的原始描述
Hunts for MITRE ATT&CK T1098 account manipulation - shadow admin creation, SID history injection, group membership changes, and credential modifications - by analyzing Windows Security Event Log IDs 4738, 4728, 4732, 4756, 4670, and 5136. Use when investigating suspected privilege persistence in Active Directory, after detecting anomalous group/credential changes, or during incident response to tr
热度
- GitHub 星标
- 35k
- 排名
- #7976
- 许可证
- 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帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。