elastic / elastic/detection-rules

[Rule Tuning] Agent Spoofing - Multiple Hosts Using Same Agent

Open
#3,932 0 comments 0 reactions 0 assignees View on GitHub
backlog community Rule: Tuning Team: TRADE
Dominant language
Python
Stars
2.7k
Forks
696
Avg merge
4d 17h
Merged PRs (30d)
87

Description

### Link to Rule

_No response_

### Rule Tuning Type

False Positives - Reducing benign events mistakenly identified as threats.

### Description

Related to #3613

Receiving a very high rate of false positives for this rule.
The `host.id` is null for these alerts.

Rule is up to date with changes from https://github.com/elastic/detection-rules/pull/3790

We ran the following ES|QL query and see no datasets causing the alerts
```
from logs-*
| where host.id is not null and elastic_agent.id is not null
| stats hosts_per_agent = count_distinct
(host.id) by elastic_agent.id, data_stream.dataset
| where hosts_per_agent > 1
| sort hosts_per_agent desc | keep hosts_per_agent, data_stream.dataset
```

### Example Data

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.