Key Credentials Abuse
"...if you can write to the
msDS-KeyCredentialLink
property of a user, you can retrieve the NT hash of that user." (Elad Shamir, ref)
That makes GenericWrite
on a user effectively equal to DCSync right on that user.
Remember that WriteDacl
!= GenericWrite
, so in order to modify msDS-KeyCredentialLink
, obtain necessary privileges first. For example, using StandIn:
DSInternals
Whisker
List all the values of the the msDS-KeyCredentialLink
attribute of a target object:
Add a new value to the msDS-KeyCredentialLink
attribute of a target object:
Remove a value from the msDS-KeyCredentialLink
attribute of a target object:
Clear all the values of the the msDS-KeyCredentialLink
attribute of a target object:
pywhisker
Certipy
Last updated