Skip to content

Lesson 11 of 13 · 14m

Tune, Don't Stack

A noisy rule gets a narrowed filter on known-good fields, not a sibling duplicate or a disabled flag — disabled coverage is invisible coverage.

The two reflexes when a rule is noisy both make things worse. Stacking a second overlapping rule doubles the alert cost without adding coverage — the ATT&CK cell does not get greener because two predicates match the same event. Disabling the rule deletes the coverage outright; the technique is now invisible, and the dashboard still quietly counts the rule as written. The correct move is unglamorous: narrow the filter.

The filter idiom

Sigma's condition composes named blocks, and tuning is a filter block subtracted:

detection:
  selection:
    Image|endswith: '\rundll32.exe'
    CommandLine|contains: 'comsvcs.dll'
  filter_helpdesk:
    CommandLine|contains: '\helpdesk\tools\'
  filter_service_accounts:
    User|startswith: 'svc_'
  condition: selection and not filter_helpdesk and not filter_service_accounts

Filters key on specific fields — image path, parent, user, command-line fragment — never on volume. Each filter needs a comment or falsepositives entry explaining what legitimate behavior it excludes, because six months from now the next engineer needs to know whether svc_ was real noise or someone's workaround. Filters are code; they are reviewed in the same PR as the rule.

When severity is the right knob

Some behaviors are real-and-common — admins running net group, helpdesk running PsExec-shaped tooling. The technique matters (PsExec lateral movement is T1569.002 regardless of intent), but a critical page per helpdesk ticket buys you a muted queue. The answer is severity downgrade, not deletion: alert at low/medium, batch it into a daily digest, and let correlation rules promote it when it clusters with other signals. A rule that pages at the wrong severity gets tuned twice — once for noise, once for the severity that matches how the org will treat it.

Measure the noise

Track alerts per day per rule. Every SIEM exposes it; almost nobody dashboards it. The weekly review sorts by volume and asks one question per rule: is the top producer firing on known-good, and which field discriminates? SigmaHQ ships falsepositives: on every public rule — documented expected-noise sources — because the authors assume you will tune, not that the rule is universal. A rule disabled during a crunch and never re-enabled is the single most common silent coverage hole a purple exercise finds; alert-volume review is how you stop creating them.

Worked FP triage

Pull the last fifty alerts the rule produced and group them by the fields you actually have — Image, ParentImage, User, command-line fragment. If 47 of 50 share C:\Program Files\DeployTools\, the filter writes itself. If the noise spreads across hosts under one service account, filter User. When nothing discriminates — legitimate use is literally identical to the attack — fall back to threshold logic: alert on the third occurrence per host per day, or correlate with a second weak signal before paging. Keep the fifty-alert pull as a stored query; running it again a week later is how you verify the filter actually worked.

Deduplicate by correlation, not deletion

Overlapping rules — a broad "suspicious PowerShell" plus a specific "-enc" — firing on one event produce two alerts for one behavior. Dedupe at the alert layer (SOAR playbook, correlation rule, or a single merged detection with OR'd selections), not by stacking more predicates or deleting whichever rule arrived second. The coverage record counts behaviors detected, not rules written.

What to actually do

Add filters with reasons, downgrade severity rather than disabling, review the top ten rules by alert volume weekly, and keep FP fixtures in CI so a tune that goes too narrow gets caught the day it happens. And when a filter grows so broad it hollows out the rule — the helpdesk exception swallowing half the fleet — that is a design review, not a tuning decision: split the rule by host class instead.

Was this lesson helpful?

Sign in to rate

Keep reading

Related articles from the SudoSecurity blog.