Shadow Credentials

Shadow Credentials is an attack that is possible when the attacker has privileges to edit the msDS-KeyCredentialLink attribute of a target user. These permissions would allow the attacker to inject a public key into the msDS-KeyCredentialLink attribute and use the corresponding private key to authenticate to the target account.

If interested, a deeper dive can be found in the original blog post/research from SpecterOps above!

Exploit

Scenario

We control UserA, who has GenericWrite permissions to UserB.

Last updated