TExcelTAD
Home › Windows & Active Directory Security › Honeytokens and Decoy Accounts

Honeytokens and Decoy Accounts

Most detections in this course fight a base-rate problem: legitimate admins also list SPNs, request tickets, reset passwords and replicate. A honeytoken turns the problem around. It is an object that no legitimate process ever touches: a service account nobody uses, an admin account nobody signs in with, a credential that exists only as bait. Any use of it is suspicious by definition, so the alert needs no threshold and almost never fires falsely. In AD, honeytokens are cheap (a few objects and a SACL), sit exactly on the paths attackers walk (directory reconnaissance, roasting, credential theft), and often give the earliest warning of an intrusion.

Decoys that match the attacks

Decoy Bait for Trigger
Honey SPN account svc-reportsync with an SPN, a plausible description, no service behind it Kerberoasting any 4769 with Service Name: svc-reportsync
No-pre-auth decoy with DONT_REQ_PREAUTH and a long random password AS-REP roasting any 4768 for it
Decoy admin adm-backup2 in a group that looks privileged (description "Backup admins (legacy)"), with adminCount=1 reconnaissance tools that rank targets by privilege, password spraying any 4768/4771/4776/4625 for it; with a read SACL, 4662 when its object is read
Decoy credentials placed in memory or in a script (an account name and a password that only exists for this purpose) credential theft from LSASS, SYSVOL and file shares any authentication attempt with that account
Honey GPP file with a cpassword for a decoy account in SYSVOL the SYSVOL cpassword search of Group Policy any logon attempt with the decoy account
Canary share or file (\\FS01\IT-Passwords$) with an auditing SACL discovery of shares, ransomware 5145/4663 access

The decoy's password must be long and random (it must not actually be crackable); for the roasting decoys that means the attacker spends effort on a ticket that never yields anything, while you get the alert.

Making decoys believable

An attacker who checks logonCount = 0, a whenCreated from yesterday or an account with no group memberships will skip the decoy. The program compares the decoys' attributes with the real population of the same kind and flags the ones that stand out, then evaluates a synthetic morning of DC events against the decoy list.

python · try it yourself
import pandas as pd

today = pd.Timestamp("2026-11-15")
accounts = pd.DataFrame([
    # name, kind, created, last logon, logon count, groups, decoy
    ("svc-sql",        "service", "2019-03-11", "2026-11-15", 48210, 2, False),
    ("svc-backup",     "service", "2021-06-30", "2026-11-15", 9120,  3, False),
    ("svc-report",     "service", "2020-02-17", "2026-11-14", 15233, 2, False),
    ("svc-reportsync", "service", "2026-11-14", None,         0,     0, True),   # freshly made decoy
    ("adm-alice",      "admin",   "2023-05-02", "2026-11-13", 811,   2, False),
    ("adm-erin",       "admin",   "2022-01-20", "2026-11-12", 1290,  3, False),
    ("adm-backup2",    "admin",   "2022-08-08", "2026-10-30", 37,    2, True),   # aged decoy, logged on by a script
], columns=["name", "kind", "created", "last_logon", "logons", "groups", "decoy"])
for c in ["created", "last_logon"]:
    accounts[c] = pd.to_datetime(accounts[c])
accounts["age_days"] = (today - accounts.created).dt.days

print("decoy realism check:")
for d in accounts[accounts.decoy].itertuples():
    peers = accounts[(accounts.kind == d.kind) & ~accounts.decoy]
    issues = []
    if d.age_days < peers.age_days.min():                 issues.append(f"created {d.age_days} day(s) ago")
    if pd.isna(d.last_logon) or d.logons == 0:            issues.append("never logged on")
    if d.groups < peers.groups.min():                     issues.append("fewer groups than any peer")
    print(f"  {d.name:15} {'looks real' if not issues else 'STANDS OUT: ' + '; '.join(issues)}")

events = pd.DataFrame([
    ("08:00", 4769, "alice", "10.10.0.21", "svc-sql"),
    ("08:30", 4769, "bob", "10.10.0.22", "svc-report"),
    ("09:12", 4769, "bob", "10.10.0.22", "svc-reportsync"),
    ("09:40", 4771, "adm-backup2", "10.10.0.66", "krbtgt"),
    ("09:41", 4662, "bob", "10.10.0.22", "CN=adm-backup2"),
], columns=["time", "id", "actor", "ip", "target"])
decoys = set(accounts[accounts.decoy].name)
hit = events[events.target.isin(decoys) | events.actor.isin(decoys) |
             events.target.str.removeprefix("CN=").isin(decoys)]
print("\nhoneytoken alerts:")
for r in hit.itertuples():
    print(f"  {r.time} event {r.id}: {r.actor} from {r.ip} touched {r.target}")
print(f"{len(hit)} of {len(events)} events alerted; every alert involves a decoy")
decoy realism check:
  svc-reportsync  STANDS OUT: created 1 day(s) ago; never logged on; fewer groups than any peer
  adm-backup2     looks real

honeytoken alerts:
  09:12 event 4769: bob from 10.10.0.22 touched svc-reportsync
  09:40 event 4771: adm-backup2 from 10.10.0.66 touched krbtgt
  09:41 event 4662: bob from 10.10.0.22 touched CN=adm-backup2
3 of 5 events alerted; every alert involves a decoy

svc-reportsync would fool nobody who looks: created yesterday, never used, in no groups. Create decoys well before you need them, add them to plausible groups, and give them a little synthetic activity (a scheduled task that logs on weekly from a monitoring host, excluded from the alert by host and time) so lastLogonTimestamp and logonCount look normal. The alerts show three different stages from two hosts: bob's workstation requested the honey SPN's ticket and read the decoy admin's object (reconnaissance and roasting from a compromised workstation, or bob himself), and 10.10.0.66 guessed the decoy admin's password.

Deploying and handling them

  • Auditing: Kerberos service ticket and authentication auditing on all DCs (for 4768/4769/4771), a SACL with "Read all properties" for Everyone on decoy objects (for 4662), and forwarding from all DCs.
  • Rules: the simplest possible: event involves a decoy name or SID → high-severity alert. Key on the SID as well as the name so a renamed decoy still alerts.
  • Exclusions: your own audit jobs and attack-path collectors will read decoy objects too. Run them from known hosts with known accounts and exclude exactly those, or accept and annotate the alert.
  • Response: the alert tells you the source host and the account used; isolate the host, find the account's other activity, and treat the account as compromised.
  • Documentation: keep the decoy list in a restricted place. Admins who don't know about the decoys might delete them in a cleanup (Stale and Privileged Accounts); attackers who read your documentation will avoid them.

Commercial deception products and Microsoft Defender for Identity (which supports tagging accounts as honeytokens) automate parts of this; the core idea needs nothing more than the directory and its logs.

Pitfalls

  • Decoys with real privileges. A decoy admin must not be an admin: if its password ever leaks, it must open nothing.
  • Guessable decoy passwords for roasting baits: they defeat the point and give an attacker a real account.
  • No alert routing. A honeytoken that alerts into a dashboard nobody watches is just an object.
  • Too obvious names (honeypot-admin) and decoys only in one OU.

Practice

1. Fix svc-reportsync so the realism check passes. What do you change?

Create it earlier (or wait), add it to plausible groups (for example the reporting group the other svc-report* accounts are in), and give it periodic logon activity from a monitoring host so last_logon and logons aren't empty.

2. Why is a honey SPN a better Kerberoasting detector than the "many SPNs in five minutes" rule?

It has no threshold: a careful attacker who requests one ticket every hour defeats the burst rule but still alerts on the decoy if it is among the targets. Both rules together are strongest.

3. A decoy credential placed in LSASS memory on WS01 is used from 10.10.0.66. What does that tell you about WS01?

Someone dumped credentials from WS01's memory (the decoy existed nowhere else) and used them elsewhere. WS01 is compromised; every real credential that was in its memory is exposed too.

Test yourself

Why do honeytoken alerts have very few false positives?

  1. They use machine learning
  2. No legitimate process uses the decoy, so any use is suspicious by definition
  3. They only run at night
  4. They block attacks

Which event reveals that someone requested a ticket for a honey SPN account?

  1. 4769
  2. 4720
  3. 4740
  4. 1102

What must a decoy admin account never have?

  1. A description
  2. Real privileges
  3. An SPN
  4. A SID

What makes a decoy account easy for an attacker to spot?

  1. A long password
  2. Being created yesterday, never logged on and in no groups
  3. Having adminCount=1
  4. Being in an OU