EN
ENNA

Whisker

MIT

๐Ÿ”ฅ Offensive Ops ยท C#

Whisker is a C# tool for performing the Shadow Credentials attack against Active Directory. The attack exploits the msDS-KeyCredentialLink attribute introduced for Windows Hello for Business, which allows certificate-based authentication via Kerberos PKINIT. By adding a rogue Key Credential entry to a target user or computer's msDS-KeyCredentialLink attribute (which requires write access to the attribute), an attacker can then authenticate as that principal using the corresponding private key, without knowing or changing their password. This is stealthier than traditional credential attacks because it doesn't modify the password or trigger password change events. Whisker generates the key pair, adds the Key Credential to the target, and can be combined with Rubeus to request TGTs using the shadow credential. It's particularly effective when you have GenericWrite or GenericAll permissions over user or computer objects.

935stars
121forks
3issues
Updated 1y ago

Installation

from source

$ git clone https://github.com/eladshamir/Whisker && cd Whisker && dotnet build

Use Cases

  • Adding shadow credentials to AD objects for stealthy Kerberos authentication
  • Persisting access without modifying passwords or triggering change events
  • Lateral movement via Key Credential abuse when GenericWrite is available
  • Testing Active Directory environments for shadow credential attack exposure
  • Combining with Rubeus for certificate-based TGT requests after credential injection

Tags

shadow-credentialsactive-directorykerberospkinitpersistencelateral-movement

More in Offensive Ops