Shadow Credentials
Adding attacker key material to an account for Kerberos auth.
What it is
An attack that writes attacker-controlled certificate key material to a target account's msDS-KeyCredentialLink attribute, abusing the Key Trust model used by passwordless authentication. The attacker can then obtain Kerberos tickets as that account using their own private key.
Why it matters
It is a stealthy alternative to changing a victim's password: the account keeps its real credentials while the attacker quietly gains the ability to authenticate as it. It commonly chains from any write permission over a user or computer object.
In practice
With write access to a privileged user object, an attacker adds a key credential and authenticates as that user without ever resetting their password.
What to look for
- Writes to msDS-KeyCredentialLink in event 5136.
- Certificate-based Kerberos logons for accounts that never used them.
- Users who can write to other users' or computers' attributes.
Common mistake
Missing it because no password changed. The attacker adds a key and leaves the password alone.
Practice it nearby
CyberKit has no tool for this term itself. These are the closest places to practice it.
- Cloud Identity Case
A cloud account acting out of character: read its CloudTrail records and sign-ins, name the attack, and pick the containment.
- Event Log Reader
Read a binary .evtx file or pasted event XML, with logon types, NTSTATUS codes and the Keywords mask decoded.
In the field
Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.
-
Microsoft Defender for Identity Commercial
Watches domain controller traffic and events for attacks such as Kerberoasting and DCSync.
-
BloodHound Open source
Maps attack paths through Active Directory, the same view an attacker builds.
-
Splunk Enterprise Security Commercial
Where many teams search domain controller logs, such as Kerberos ticket events, for these attacks.
Read next
- Resource-Based Constrained Delegation Abuse: Writing a delegation attribute on a target to impersonate users to it.
- AD CS Abuse: Exploiting misconfigured certificate templates to forge logon identities.
- Constrained Delegation Abuse: Abusing S4U delegation to impersonate users to allowed services.