joshluxr/bot/dcsync
Claude Code and agent skill by joshluxr/bot
- community
Checking that the SKILL.md file is still in the repository.
Abuse replication rights (DS-Replication-Get-Changes + GetChangesAll) to dump krbtgt and arbitrary user NT hashes from a DC.
Install
npx vskill@latest install joshluxr/bot/dcsyncSKILL.md
The same SKILL.md was published earlier as mingyiseclab/mingyi-atlas/dcsync.
DCSync Playbook
DCSync is not a vulnerability — it's a legitimate AD feature for domain controllers to replicate. The "vulnerability" is when a non-DC principal has the replication-rights ACL.
1. Identify DCSync candidates
From BloodHound:
Or Cypher direct:
Common holders (legitimate):
- Domain Admins, Enterprise Admins, Domain Controllers
- Exchange Trusted Subsystem (Exchange installs grant by default — historical PrivExchange)
- Replicator (rare)
Common holders (misconfig = jackpot):
- Service accounts (admins delegated mistakenly)
- Helpdesk groups
- Groups from old migrations
2. Execute DCSync
Impacket (most reliable):
Mimikatz (from Windows):
3. Output files
secretsdump produces:
/tmp/secrets.ntds—user:RID:LM_HASH:NT_HASH:::format/tmp/secrets.ntds.kerberos— Kerberos keys (aes256, aes128, des)/tmp/secrets.ntds.cleartext— any reversibly-encrypted passwords (rare, but yes)
4. Highest-value secrets to grab
| User | Why | What unlocks | |
|---|---|---|---|
krbtgt | Master Kerberos key | Golden Ticket — persistence + arbitrary user impersonation forever (until rotation) | |
Administrator | Built-in domain admin | Direct admin on most assets | |
| Domain Admin members | Lateral movement | Most assets | |
<trustname>$ | Trust accounts | Cross-forest movement | |
| Service accounts | Often local admin on hosts | Lateral movement | |
| Exchange computer accounts | Mailbox access | E-discovery / pivot |
5. Golden Ticket (post-DCSync)
With krbtgt NT hash:
6. Promote
OPSEC
- DCSync generates event 4662 on DCs with
Properties: Replicating Directory Changes - Defender's high-signal detection (the only good DCSync detection)
- BloodHound's
:DS-Replication-Get-ChangesGUID:1131f6aa-9c07-11d1-f79f-00c04fc2dcd2 - A single DCSync run, scoped to one user (
-just-dc-user), produces less log volume than-just-dc - Use Kerberos auth (
-k) instead of NTLM to avoid 4624 type-3 noise
Detection signature (so you know what blue sees)
CVSS
- DCSync available to non-DC principal:
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H= 9.0 - Already DA + DCSync: not a separate finding, just post-compromise activity
Defender remediation
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingwordpress-tool/decepticon-skills/standard/ad/dcsync/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/joshluxr/bot/dcsync)