Lesson 8 of 14 · 22m
Correlation: Multi-Event Detection
Sprays, kerberoasting, DCSync, and pass-the-hash are invisible to single events — count distinct entities over windows in the SIEM's own language.
Password spraying is not an event. It's four hundred 4625 failures in ten minutes, each one boring in isolation. Kerberoasting is a handful of 4769s. Pass-the-hash is a single 4624 that happens to say NTLM where Kerberos was expected. Most of what actually matters in detection requires counting over windows — and single-event rules can't see any of it.
Where correlation lives
Sigma's single-event rules don't do temporal counting; the correlation spec (type: correlation, event_count, temporal) exists, but backend support is uneven — check whether your converter implements it before writing YAML that can't deploy. In practice, correlation happens in the SIEM's own language: | stats/bin in Splunk SPL, scheduled analytics rules in Sentinel KQL, aggregation queries in Elastic. That's fine — the logic is portable even when the syntax isn't.
A Sentinel-style spray detection:
SecurityEvent
| where EventID == 4625 and SubStatus == "0xC000006A"
| summarize attempts = count(), distinct_accounts = dcount(Account) by IpAddress, bin(TimeGenerated, 10m)
| where distinct_accounts > 30Note the field choice: distinct_accounts, not attempts. That's the structural split between the two attacks people conflate —
- Password spray: one password, many accounts. High
dcount(Account)per source, modest attempts per account — specifically engineered to stay under per-account lockout thresholds. - Brute force: many passwords, one account. High attempts per account; the classic lockout-triggering shape.
A rule counting failures per account catches brute force and waves the spray past. A rule counting distinct accounts per source does the opposite. You want both, on purpose.
The correlation detections that pay rent
- Kerberoasting (T1558.003): Security 4769 (TGS request) where
TicketEncryptionTypeis0x17(RC4 — attack tools request it because RC4 tickets crack offline far faster than AES) andServiceNamebelongs to a user-held SPN, excluding machine accounts ending in$. One RC4-for-a-user-SPN request isn't proof; a burst from one account is a pattern. - DCSync (T1003.006): Security 4662 "operation on an object" where
Propertiescontain replication rights GUIDs —{1131f6aa-9c07-11d1-f79f-00c04fc2dcd2}(DS-Replication-Get-Changes) and{1131f6ad-...}(Get-Changes-All) — requested by an account that is not a domain controller. Real DCs replicate constantly; a workstation asking for replication rights is the whole attack in one event. - Pass-the-hash: 4624 LogonType 3 with
AuthenticationPackageName: NTLMin an environment where Kerberos is the norm. Legitimate NTLM exists — local accounts, some appliances — so this one needs baselining, not blanket alerting. The sharp version: NTLM type-3 logons to servers from accounts that never authenticate that way. - DCSync/PtH's quiet cousin:
runas /netonlyproduces LogonType 9 — watch for it originating from tooling accounts on unusual hosts.
Thresholds are a tuning problem, not a number
> 30 is a starting guess, not a policy. Baseline per environment: count the noise distribution, set the bar above it, then test the evasion — an attacker who slows under your threshold still fails dcount if the window is long enough, which is why mature shops run two versions: a fast rule (high threshold, short window) and a slow drip (low threshold, hour-scale window). Low-and-slow evasion trades speed for stealth; longer windows take the speed away.
One more thing thresholds hide: sequence. Some attacks are ordered chains — phish attachment → Office spawns interpreter → outbound C2. Sequence correlation (temporal ordering, not just counts) is what multi-stage products do behind the curtain; you can approximate it in the SIEM by joining the single-event rules you already have on Host/Account within a window. It produces more false positives than counting and catches things counting can't.
The practice
Pick three attacks that are structurally invisible to single events — spray, kerberoast, DCSync. Write the counting query for each in your SIEM's syntax, replay or simulate the events, and verify the aggregation actually fires. A correlation rule nobody has ever seen fire is a hypothesis with a schedule.
Was this lesson helpful?
Keep reading
Related articles from the SudoSecurity blog.
Immich Had Fourteen Advisories and One Bug It Fixed Three Times
Immich's 2026 security record runs to fourteen advisories, and they cluster hard: the sharing features, the OAuth plumbing, and one login redirect parameter that took three separate fixes across eighty-three days. Plus the 3.0 migration traps still waiting for anyone who hasn't jumped yet.
Jellyfin's Threat Model Is Your Brother-in-Law
Four Jellyfin CVEs landed in 2026 and not one of them needs an admin account. One needs only the ability to name a file. Meanwhile Jellyfin 12 shipped in September, the version numbers stopped starting with 10, and every "am I patched" check you wrote is now wrong.
Node.js Fixed 16 Flaws in One Release. Most of Them Live in HTTP/2 and TLS.
The November 11 Node.js security releases fix 16 CVEs across the 26, 24 and 22 lines, seven of them rated high. Nearly all sit in HTTP/2 and TLS, where a remote client can crash a server, leak memory, or get past per-host client-certificate checks.
Next.js Shipped Seven Advisories and Six of Them Are the Cache
The November 2026 Next.js security release patches seven issues, and six live in the new Cache Components layer, the feature meant to make your app faster by remembering more. Three hit self-hosted next start specifically: the ones Vercel's own platform quietly absorbs.