windows-ad – skill Marketing & SEO cho agent AI
Đánh giá tấn công Active Directory và danh tính Windows được ủy quyền: lạm dụng Kerberos, leo thang đặc quyền qua AD CS, phân tích đường đi với BloodHound, NTLM relay và nghiên cứu leo thang đặc quyền miền.
Cài skill windows-ad bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/windows-ad-80b2f.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /windows-ad – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/windows-ad-80b2f.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $windows-ad – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/windows-ad-80b2f.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /windows-ad – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/windows-ad-80b2f.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /windows-ad – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
> ⚠️ 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:
> 1. Ask the user to state the exact target URL, IP, account, or resource.
> 2. Ask the user to confirm written authorization and the permitted scope.
> 3. Show the exact command(s) and explain their expected effect.
> 4. 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 feasibility depends on the target protocol’s signing, channel-binding and authentication protections; one signing setting is not a universal relay verdict. Record the actual service and protection state rather than assuming a path works.
> Adapted from [zhaoxuya520/reverse-skill](https://github.com/zhaoxuya520/reverse-skill) (MIT).
Skill liên quan
- wordpress-centric-high-seo-optimized-blogwriting-skill – Tạo bài blog WordPress tự nhiên, dễ đọc, tối ưu SEO, kèm metadata Yoast tùy chọn, đánh…
- ad-creative – Dùng khi người dùng muốn tạo, lặp lại hoặc mở rộng creative quảng cáo (ad creative) —…
- ad-creative – Dùng khi người dùng cần tạo, lặp lại hoặc mở rộng ad creative cho quảng cáo trả phí…
- ads – Khi người dùng cần hỗ trợ chiến dịch quảng cáo trả phí trên Google Ads, Meta…
- agentmail – Dùng khi agent cần hộp thư email AgentMail CLI.
- ai-seo – Khi người dùng muốn tối ưu nội dung cho công cụ tìm kiếm AI, được LLM trích dẫn, hoặc…
- ad-campaign-analyzer – Phân tích dữ liệu chiến dịch quảng cáo đa kênh, định lượng độ bất định và đề xuất các…
- ad-creative – Tạo, lặp lại và mở rộng creative quảng cáo trả phí cho Google Ads, Meta, LinkedIn…