Alert Fatigue and the Base-Rate Problem
A rule that is "99.9 % accurate" sounds excellent. Run it on two million events a day and it raises two thousand false alarms. Analysts who see two thousand false alarms a day stop reading them carefully, and the twenty real ones drown. This is alert fatigue, and its root is arithmetic, not laziness: attacks are rare, so even a small false-positive rate on a large volume produces far more false alarms than true ones. This lesson computes the effect, shows why correlating signals helps, and lists the fixes that work.
Definitions
- True positive (TP): an alert on real malicious activity. False positive (FP): an alert on benign activity. False negative (FN): malicious activity without an alert. The full table is in Tuning Alerts and False Positives.
- Base rate: the share of events that are malicious, often one in a hundred thousand or less.
- False-positive rate (FPR) = FP / (all benign events): what a rule does on normal data.
- Precision = TP / (TP + FP): of the alerts, how many are real. This is what the analyst experiences.
- Recall = TP / (TP + FN): of the real attacks, how many raised an alert.
The trap is that rule authors measure FPR (on benign data) and analysts experience precision (on alerts). With a low base rate, the two are very different numbers.
The arithmetic
events = 2_000_000 # events per day the rule looks at
malicious = 20 # of which malicious (base rate 1 in 100,000)
recall = 0.95 # the rule catches 95 % of malicious events
print(f"{'FPR':>8} {'FP/day':>8} {'TP/day':>7} {'precision':>10}")
for fpr in (0.01, 0.001, 0.0001, 0.00001):
fp = (events - malicious) * fpr
tp = malicious * recall
print(f"{fpr:>8} {fp:>8.0f} {tp:>7.0f} {tp / (tp + fp):>10.1%}")
# Requiring a second, independent signal on the same entity (e.g. the same host also
# contacts a newly registered domain) multiplies the false-positive rates.
fpr_a, fpr_b = 0.001, 0.01
rec_a, rec_b = 0.95, 0.80
fp = (events - malicious) * fpr_a * fpr_b
tp = malicious * rec_a * rec_b
print(f"\nA and B together: FP/day {fp:.0f}, TP/day {tp:.1f}, precision {tp / (tp + fp):.1%}, recall {rec_a * rec_b:.0%}") FPR FP/day TP/day precision
0.01 20000 19 0.1%
0.001 2000 19 0.9%
0.0001 200 19 8.7%
1e-05 20 19 48.7%
A and B together: FP/day 20, TP/day 15.2, precision 43.2%, recall 76%
At an FPR of 0.1 %, a rule produces about 2,000 false alarms for 19 true ones: precision 0.9 %. Even at one false alarm per 100,000 benign events, only about half of the alerts (48.7 %) are real, and few single rules are that quiet. Combining two independent signals on the same entity gets there from two ordinary rules (0.1 % and 1 % FPR): 20 false alarms a day and a precision of 43.2 %, at the price of recall, which falls from 95 % to 76 % because an attack that shows only one of the signals is now missed. That trade (precision against recall) is the core decision of detection engineering.
Watching the trade-off
The lab runs two window rules on an hour of synthetic sign-ins: alert when one account has at least A failures, or when one source fails on at least D distinct accounts, within W minutes. The hour contains a brute force, a password spray, a user who forgot her password and a burst of typos through the VPN gateway. Move the thresholds and watch precision and recall change in opposite directions.
With the defaults (W = 5 min, A = 10, D = 5) the rules raise 4 alerts: 3 true positives and 1 false positive (the VPN gateway, where four users mistype at once and the brute-force source is not involved), precision 75 % and recall 69 % of the 42 attack failures. Raising D to 12 removes the false positive (precision 100 %) but also misses the spray entirely (recall 50 %). Lowering A to 5 adds heidi's forgotten password as a second false positive (precision 60 %) while recall rises to 81 %.
Why fatigue is dangerous
Fatigue changes behaviour before anyone notices:
- Analysts close alerts by pattern ("it's always the backup server") instead of by evidence, and one day it is not the backup server.
- Severities inflate: every rule author marks their rule "high" so it gets read, and then "high" means nothing.
- Real incidents wait in the queue behind noise (look at INC-11 in SOC Metrics).
- People leave, and with them the knowledge of which alerts matter.
How fatigue is detected
Measure it, per rule, every week:
| Signal | How to compute it | Worry when |
|---|---|---|
| Alert volume per analyst-hour | alerts / staffed hours | more than the team can read with care (often cited: a few per hour per analyst for real investigation) |
| Precision per rule | TP closures / all closures, from closure codes | below a set floor (e.g. 10 %) for several weeks |
| Time to close per alert | case timestamps | very short closures in bulk (bulk-closing) |
| Re-opened or later-found incidents | incidents whose alert was closed as FP | any |
| Share of alerts never opened | case system | above zero |
How fatigue is fixed
From most to least effective:
- Fix or retire bad rules. Every rule has an owner and a precision floor; a rule below it is tuned or switched to a lower tier (see 4).
- Correlate before alerting. Turn low-precision signals into inputs that raise an entity's risk score, and alert on the entity when several independent signals coincide. This is the idea behind risk-based alerting in modern SIEMs (Enrichment).
- Tune narrowly. Suppress a specific known-benign combination (this host, this process, this parent) with an expiry date, not the whole rule (Tuning, Suppression and Allow-Lists).
- Tier the output. Not every detection must page a human. Send low-confidence results to a dashboard or a hunting queue; only high-confidence ones become alerts.
- Automate enrichment and deduplication. Group repeated alerts for the same entity into one case; attach asset, user and reputation context automatically.
Pitfalls
- Judging a rule by its FPR on a test set. Precision depends on the base rate in production; always estimate it on real volumes.
- Fixing fatigue by deleting rules wholesale. Recall falls silently. Keep the rule as a risk signal or hunting query instead.
- Correlation with dependent signals. Two rules that both fire on the same PowerShell event are one signal, not two; the multiplication above assumes independence.
Practice
1. A rule has recall 0.9 and FPR 0.0005 on 500,000 events a day with 5 malicious events. What is its precision?
FP ≈ 499,995 × 0.0005 ≈ 250; TP = 4.5. Precision = 4.5 / 254.5 ≈ 1.8 %.
2. In the lab, which single slider change removes the VPN false positive while keeping both attacks detected?
Raise D (accounts per source) from 5 to 6. The VPN burst reached exactly 5 distinct accounts, so it no longer alerts; the spray reaches 6 accounts 2.5 minutes after it starts and is caught at 42.5 min. The lab then shows 3 alerts, all true positives (precision 100 %), and recall 67 % (28 of 42 attack failures). The margin is thin: one more user mistyping through the VPN would bring the false positive back, which is why thresholds come from baselines and are reviewed.
3. Why is "alert when a host triggers rule A and rule B within an hour" better than two separate alerts, and what does it cost?
It multiplies the false-positive rates (if the rules are independent), so precision rises sharply. The cost is recall: attacks that only show one of the two behaviours are no longer alerted, so keep A and B as risk inputs or hunting queries.
Test yourself
A rule with FPR 0.1 % runs on 2,000,000 benign events a day. About how many false alarms does it raise?
- 2
- 200
- 2,000
- 20,000
Which number does an analyst experience directly?
- The false-positive rate on benign data
- Precision: the share of alerts that are real
- The base rate
- The number of rules
What happens to recall when two independent signals must both be present to alert?
- It rises
- It falls: attacks with only one signal are missed
- It does not change
- It becomes 100 %
In the lab with the defaults, what is the one false positive?
- The brute force on admin
- The per-source alert on the VPN gateway where four users mistype at once
- The password spray
- heidi's successful sign-in