Skip to content

Commit 7fc1d07

Browse files
authored
Update defense_evasion_agent_spoofing_multiple_hosts.toml
1 parent 8f8ce76 commit 7fc1d07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rules/cross-platform/defense_evasion_agent_spoofing_multiple_hosts.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2021/07/14"
33
integration = ["endpoint"]
44
maturity = "production"
5-
updated_date = "2025/11/13"
5+
updated_date = "2025/12/10"
66

77
[rule]
88
author = ["Elastic"]
@@ -30,7 +30,7 @@ type = "esql"
3030

3131
query = '''
3232
from logs-endpoint.* metadata _id
33-
| where event.agent_id_status is not null
33+
| where event.agent_id_status is not null and agent.id is not null
3434
| stats Esql.count_distinct_host_ids = count_distinct(host.id), Esql.host_id_values = values(host.id), Esql.user_id_values_user_id = values(user.id) by agent.id
3535
| where Esql.count_distinct_host_ids >= 2
3636
| keep Esql.count_distinct_host_ids, Esql.host_id_values, Esql.user_id_values_user_id, agent.id

0 commit comments

Comments
 (0)