How to reduce false positives in Elastic Security
Most alert noise in Elastic Security is not a broken rule. It is a rule that works, firing on something your organisation does every day. The fix is to find those patterns, describe them narrowly, and stop them reaching your analysts, without hiding a real attack.
First, find out what kind of noise you have
- False positives: the rule matched something it was never meant to match. Change the rule, or turn it off if it does not fit your environment.
- Benign positives: the rule matched exactly what it looks for, but the activity is legitimate (a backup job, an IT admin tool, a software rollout). Add a narrow exception.
- Duplicates: the same activity creates many alerts. Group them.
Getting this right decides which tool to use. Elastic's own documentation describes the options in Reduce noise and false positives.
Pick the rules worth tuning
Do not tune at random. Over the last 30 days, look for patterns that are closed as harmless again and again: the same rule, the same program, the same parent program and the same account. A pattern that was closed many times and never turned out to be malicious is a safe candidate. Start with the patterns that cost your team the most time.
The tools, and when to use each one
| Tool | Use it for | Watch out for |
|---|---|---|
| Rule exception | A known harmless pattern on one rule, described by several fields (host, process path, parent process, user). | An exception that only names a program can hide an attacker who uses the same program. |
| Shared exception list | The same harmless pattern on many rules, such as your vulnerability scanner. | It applies everywhere it is attached, so keep it short and reviewed. |
| Value list | Long lists of values, such as approved IP addresses or host names, used inside exceptions. | Stale entries. Someone must own the list. |
| Alert suppression | Many alerts from one cause, grouped by fields over a time window. | It reduces alerts, not risk: the first one still needs a look. |
| Turn the rule off | Rules that do not apply to you, for example for a platform you do not run. | Note why, and check again when your environment changes. |
Rules for a safe exception
- Be narrow. Combine the full program path, the parent program, the account and, where it fits, the host. "Any forfiles.exe" is too wide; "forfiles.exe started by RunBackup.bat as svc.backup on fs01" is not.
- Never on high-impact rules. Do not add exceptions to credential access, lateral movement, impact or exfiltration rules unless you are very sure, and have a second person check.
- Write down the reason. Put who added it, why and when in the exception's comment.
- Review them. Go through your exceptions every few months and remove the ones that no longer match anything, or that a change has made too wide.
- Never exclude on text an attacker controls alone, such as a file name or a window title.
Keep the evidence
Before you add an exception, keep a record of the alerts that justify it: how often the pattern was closed and by whom. If an attack later slips through, you can see exactly which decision let it pass and fix it.
How Ardea helps
Ardea investigates every alert on your own server, so the same work also shows you where the noise is:
- Rule-tuning advice: it lists patterns from the last 30 days that were closed every time, at least five times, with no analyst disagreeing, and writes the matching Elastic rule exception for you to check and add. High-impact tactics are never suggested.
- Suppressions (Pro): a pattern your analysts called harmless at least three times in 30 days can be closed inside Ardea, with a reason and an expiry date, without changing the rule in Kibana.
- Bursts: when one rule fires on many computers with the same program, Ardea investigates the first few and reuses the verdict for the rest, while never reusing a true positive.
- Ignored rules: rules you never want to see are skipped before triage.
The rest still gets a full investigation, and anything uncertain goes to a person.