Lesson 11 of 13 · 14m
Tuning Is Subtraction, and Subtraction Has a Cost
The exclusion hierarchy from name-only to signer-locked, why raising thresholds hides attacks, and auditing exclusion debt.
Every false positive is a bug in the distinction between attack and benign — and fixing it by deleting signal is how blind spots are born. Tuning is subtraction, and subtraction needs accounting.
The exclusion hierarchy
From worst to best:
- Process name only —
exclude: procdump64.exe. An exclusion keyed on a string the attacker controls. Renamingmimikatz.exetoprocdump64.exeis free; the exclusion pays out immediately. - Path —
SourceImage startswith C:\Program Files\. Better: most attackers don't write to Program Files. Still forgeable by anyone who can drop a file there — and on a server, the list of people who can write to Program Files is "admins and whoever just popped SYSTEM." - Path + signer —
SourceImageunder Program Files and signed by the known vendor. Signer validation survives renaming; forging a signature is the attacker's problem, not yours. - Tuple with review date —
(host, user, process)exclusions that expire. An exclusion without an expiry is permanent blindness pretending to be tuning.
The pattern: key exclusions on properties the attacker cannot choose. They choose file names and they choose paths when they can write there; they do not choose what Microsoft's signature verifies.
A worked tuning pass
Your LSASS rule fires 60 times a day. Reading 60 SourceImage values: 55 are C:\Program Files\ContosoAV\engine.exe (your AV, expected — it scans LSASS), 3 are SCCM's ccmexec.exe, 2 are procdump64.exe from an admin workstation doing a supported diagnostic. The right move is two exclusions — (ContosoAV signed binary) and (ccmexec.exe path-locked) — plus converting the procdump case to a documented-context check: fire on procdump touching LSASS unless a change ticket exists for that host. The wrong move is exclude: *dump* — which also excludes lazagne, nanodump, and every future tool with dump in the name.
Tuning the threshold is not tuning the logic
A burst rule firing on SCCM pushes doesn't need a higher count — it needs a better distinction. "10 failed logons" becoming "500 failed logons" to quiet a noisy source doesn't fix noise; it hides slow attacks under the same rule — a spray at 400 attempts now fits under your own threshold. Split instead: one rule for the noisy-but-benign shape (service account, expected source, business hours), one for the rest. The benign shape gets logged, not alerted — which keeps it queryable for hunts without paging anyone.
Exclusion debt
Every exclusion is a line item on a ledger titled "places we decided not to look." They accumulate — an exclusion written to quiet a scanner in 2023 still applies in 2026, now covering a subnet that changed ownership. The practices that control it: exclusions carry expiry dates and owners; a quarterly review diffs the exclusion list against the asset inventory; and the exclusion list itself is audited — an attacker who learns your exclusions (public SigmaHQ rules ship theirs in the falsepositives field, readable by anyone) routes straight through them.
The measurement
Per rule, per week: fired count, disposition split (true positive / benign true / false positive), and time-to-triage. A rule at 5% TP is a tuning candidate. A rule at 0 alerts in 90 days is a broken or dead rule — different problem, same symptom, and the replay corpus distinguishes which.
The correct practice is a loop, not an event: deploy at status: test and level: low, measure the FP rate on real telemetry for two weeks, add the narrowest exclusions that close the gap, then promote. Skipping straight to level: high because the rule looks right is how the SOC learns to ignore high-severity alerts — a worse outcome than no rule.
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.