windows-ad
它能做什么
这个工具可以帮助测试企业网络的安全性,主要针对 Windows 和 Active Directory 系统。它可以模拟常见的攻击,以发现其中的漏洞。
适用场景
- ✓当你在企业网络上进行经过授权的安全测试时。
- ✓当你在受控环境(实验室)中研究和学习 Active Directory 攻击原理时。
- ✓当你需要分析 Active Directory 环境中的攻击路径和权限关系时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/windows-ad/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想测试我们的 Active Directory 安全性,可以探索哪些常见的攻击路径?”
每周 5 个新技能,1 分钟读完。
工作原理
该工具会运用已知的技术,研究攻击者如何在 Active Directory 环境中获取访问权限和控制权。它会梳理各对象之间的关系,并尝试找出薄弱环节。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.
Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:
- Ask the user to state the exact target URL, IP, account, or resource.
- Ask the user to confirm written authorization and the permitted scope.
- Show the exact command(s) and explain their expected effect.
- Wait for explicit confirmation in the current conversation.
Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.
Windows / Active Directory Security
When to Use
- Mapping and attacking AD trust paths in an authorized engagement.
- Researching escalation routes (AD CS, Kerberos delegation) in labs.
适用场景
- 域渗透、Kerberoasting、AS-REP、委派
- AD CS(ESC1–ESC8 等)证书攻击
- BloodHound / SharpHound 攻击路径
- NTLM Relay / Coercer 强制认证
- 本地提权到域路径(Potato 等作为跳板)
与 attack-chain 关系
- 多阶段从外网到域控 → PRIMARY 可仍是
attack-chain/,本 skill 为 AD 专科 - 已在域内专注身份 → PRIMARY = 本 skill
工作流
1. 枚举
# 示例 Impacket / 内置(需凭据与授权)
nxc smb <range> -u user -p pass
bloodhound-python -d domain.local -u user -p pass -c All -ns <DC>
2. 常见路径(先图后枪)
□ Kerberoast / AS-REP → 离线破解
□ ACL 滥用(GenericAll/WriteDacl)
□ 委派(非约束/约束/基于资源)
□ AD CS 模板错误 → Certipy
□ 中继:LLMNR/NBT-NS + ntlmrelayx(确认授权)
3. 凭证与横向
□ secretsdump / lsassy / mimikatz(严格授权与清理)
□ PtH / PtT / 黄金票仅在授权红队范围
□ 每步写 Evidence;高危等用户确认
工具链
| 工具 | 用途 |
|---|---|
| BloodHound / SharpHound | 路径图 |
| Certipy | AD CS |
| Impacket / NetExec | 横向与枚举 |
| Rubeus / Mimikatz | 票据与凭证(授权) |
| Coercer / Responder | 强制认证 / 投毒 |
参考
references/ad-attack-paths.md../pentest-tools/references/network-attack-defense.md../attack-chain/- seeds:
field-journal/seed-005_ad-certipy-esc1.mdseed-007_ntlm-relay-coercer.mdseed-013_kerberoasting-spn.md
路由上下文
上游: MASTER R24
下游: 报告 docs-generator;需 EDR 研究 edr-bypass-re
MUST NOT: 无授权 DCSync / 黄金票打生产
任务完成自检
- 是否先有图/枚举再有利用?
- 是否记录可复现命令并脱敏?
- 是否遵守 scope 禁止项?
- Checklist?
Limitations
- Domain attacks can destabilize production AD; stage in labs first.
- Relay attacks need signing-disabled targets; modern defaults block many paths.
Adapted from zhaoxuya520/reverse-skill (MIT).
常见问题
使用这个工具需要获得许可吗?
需要。由于它会模拟攻击,使用前必须获得系统所有者明确的书面许可。
什么是 Active Directory?
Active Directory 是微软的一套系统,用于管理企业网络中的资源,例如用户、计算机和权限。
这个工具会造成损害吗?
会。在生产环境中进行攻击可能导致系统不稳定。建议你先在实验室或受控的测试环境中使用。
详情
作者的原始描述
Authorized Active Directory and Windows identity attacks: Kerberos abuse, AD CS escalation, BloodHound path analysis, NTLM relay, and domain privilege-escalation research.
热度
- GitHub 星标
- 48k
- 排名
- #6185
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。