Skip to main content

Kerberoasting lure

This decoy creates a bait service account with a believable SPN in your Active Directory. It provides no service: whoever requests a ticket for it is doing Kerberoasting, and the domain controller's scheduled task alerts the beacon receiver with the account that requested it, the IP and the encryption, with Critical severity. It needs the receiver deployed and verified, at version 0.4.0 or later.

The steps are run in a PowerShell opened as administrator on each writable domain controller, because each one logs only the tickets it issues: the first creates the account and the others recognize it. The console does not connect to the controller. If the account or the SPN already exist for another reason, or the SPN's machine really exists, the steps stop without touching anything.

The account declares RC4 on purpose, to look attractive, and your audit tools will flag it: that is expected. Its password is random and is not stored, it has no privileged groups and only allows sessions on a machine that doesn't exist. It must stay enabled.

If the test fails: the step says whether the controller did not issue the ticket (most likely, the domain doesn't allow RC4) or whether event 4769 was not logged. When removing it: repeat the step on each controller; the account is deleted the first time and auditing is left as it was.