Lesson 12 of 13 · 14m
Detection: What Each Attack Actually Logs
The event IDs and signatures that see roasting, relay, DCSync, and forged tickets — and the honey-object trick that makes detection deterministic.
Every attack in this course generates telemetry; the problem is that the signal drowns in normal Kerberos noise. Detection engineering for AD is mostly knowing which three or four event IDs each attack produces, and which field in each event is the discriminating one. The DC security log is the sensor. Everything else is correlation.
The event map
| Event ID | What it is | Attack signature |
|---|---|---|
4768 | TGT issued (AS) | AS-REP roast: 4768 for flagged account, ticket etype 0x17, no subsequent logon. Golden ticket: absent for forged TGTs — TGS requests appear with no matching 4768. |
4769 | Service ticket issued | Kerberoast: bursts of 4769 from one account across many SPNs, ticket encryption 0x17 (RC4) when AES was deployed. |
4770 | Ticket renewed | Forged-ticket detection: renewals on tickets that never had 4768. |
4771 | Preauth failed | Password spray against AD: many 4771 from one source across distinct users. |
4776 | NTLM validation | NTLM spray/relay confirmation; 4776 bursts. |
4662 | Object access | DCSync: replication GUID access (1131f6ad…, 1131f6aa…) on the domain object from non-DC accounts — needs "Audit Directory Service Access" enabled plus SACLs set on the domain object. |
1644 | LDAP expensive search | SPN enumeration sweeps preceding a roast. |
4624/4627 | Logon / membership | Relay landing: logon Type 3 from unexpected source for coerced machine account. |
The wrong mental model: "install a SIEM and ingest everything." Volume kills it — a busy DC logs hundreds of 4769s per minute. The field-level filters are the detection: ticket encryption 0x17, replication ERs on non-DCs, 4769 without 4768.
Honey objects: deterministic detection
The reliable trick is objects that should never be touched. Plant a decoy user with a fake SPN (MSSQLSvc/fake.corp.local:1433) whose password is 64 random chars. Any 4769 requesting it is an attacker by definition — no false positives. Same for a decoy DONT_REQ_PREAUTH account: any 4768 is malicious. Honey SPNs and honey accounts convert probabilistic detection into alarms.
SpecterOps' published detections (the "DCSync" and "honey hash" writeups) and Sigma rules 4768-anomaly / 4662 replication-from-non-DC cover the same ground; deploy Sigma's win_security_dcsync-equivalents rather than hand-rolling.
Silences to expect
Two attacks genuinely don't log on the DC: silver tickets (never touch the KDC — only the service logs the auth, and only if it logs) and offline cracks (the roast happens on the attacker's GPU). For silver tickets you rely on service-side anomalies — PAC group mismatches, machine logons from localhost — which is why endpoint/service logging matters for Tier 0. For relayed LDAP, the DC logs the result (the ACL write) but not the relay — the 4662/5136 modification events are the signature, and the "who" field will be the relayed account, not the attacker box.
The operational practice
Enable Audit Policy "Audit Directory Service Access" + "Audit Security System Extension" on DCs. Forward 4768/4769/4770/4771/4662/1644 to the SIEM with the full message body — encryption type and SPN live in the body, not the header. Alert rules in priority order: 4662 replication from non-DC (critical), honey SPN 4769 (critical), 4769 RC4 burst (high), 4768-without-logon for honey accounts (high). Tune per-DC baselines for a week before enabling — a print server issuing 4,000 4769s at 3am is normal until you know it isn't.
Log volume is the usual objection. A five-DC estate pushing full Kerberos telemetry lands roughly 1–3 GB/day in the SIEM; filtering at the collector to just the six IDs above cuts it to a few hundred MB and keeps every field that matters. Microsoft's ATA/Defender for Identity does the same correlation at the sensor level — if MDI is deployed, most of these signatures arrive pre-built, which is the strongest argument for it on DCs.
Was this lesson helpful?
Keep reading
Related articles from the SudoSecurity blog.
A Password-Free Path to Root: Inside the macOS Screen Sharing Vulnerability Now Under Attack
A logic bug in screensharingd let attackers skip authentication entirely and land as root — no password required. Here's how it was found, patched, reverse-engineered, and finally weaponized.
CVE-2026-31431 "Copy Fail": How a 9-Year-Old Linux Kernel Bug Gives Any Local User Root in 732 Bytes
CVE-2026-31431 chains AF_ALG, splice(), and authencesn's ESN scratch write into a deterministic 4-byte page cache write that gives an unprivileged local user root. Full technical breakdown, exploit mechanics, detection, mitigation, and patch status per distro.
BlueHammer: The Unpatched Windows Zero-Day That Weaponizes Microsoft Defender Against Your Own System
BlueHammer is an unpatched, publicly released Windows local privilege escalation exploit that chains Microsoft Defender's update workflow, Volume Shadow Copy, Cloud Files callbacks, and opportunistic locks to reach NT AUTHORITY\SYSTEM from a standard user account.
What is Privilege Escalation? How Attackers Go From Foothold to Full Control
An attacker starts with a low-privileged shell or user account and escalates to root or Administrator using misconfigurations, SUID binaries, kernel exploits, and Active Directory attacks. Here's every technique, the tools professionals use, and how to harden against it.