Detection rules › Elastic

Deprecated - Unusual Discovery Activity by User

Status
production
Kind
building block (feeds higher-level correlation rules; not a standalone alert)
Severity
low
Time window
9m
Group by
host.id, user.id
Author
Elastic
Source
github.com/elastic/detection-rules

This rule leverages alert data from various Discovery building block rules to alert on signals with unusual unique host.id and user.id entries.

MITRE ATT&CK coverage

TacticTechniques
DiscoveryNo specific technique

Rule body

[metadata]
bypass_bbr_timing = true
creation_date = "2023/10/10"
maturity = "production"
updated_date = "2026/02/19"

[rule]
author = ["Elastic"]
building_block_type = "default"
description = """
This rule leverages alert data from various Discovery building block rules to alert on signals with unusual unique
host.id and user.id entries.
"""
from = "now-9m"
index = [".alerts-security.*"]
language = "kuery"
license = "Elastic License v2"
name = "Deprecated - Unusual Discovery Activity by User"
risk_score = 21
rule_id = "cf575427-0839-4c69-a9e6-99fde02606f3"
severity = "low"
tags = [
    "Domain: Endpoint",
    "OS: Windows",
    "Use Case: Threat Detection",
    "Tactic: Discovery",
    "Rule Type: Higher-Order Rule",
    "Rule Type: BBR"
]
timestamp_override = "event.ingested"
type = "new_terms"

query = '''
host.os.type:windows and event.kind:signal and kibana.alert.rule.rule_id:(
  "d68e95ad-1c82-4074-a12a-125fe10ac8ba" or "7b8bfc26-81d2-435e-965c-d722ee397ef1" or
  "0635c542-1b96-4335-9b47-126582d2c19a" or "6ea55c81-e2ba-42f2-a134-bccf857ba922" or
  "e0881d20-54ac-457f-8733-fe0bc5d44c55" or "06568a02-af29-4f20-929c-f3af281e41aa" or
  "c4e9ed3e-55a2-4309-a012-bc3c78dad10a" or "51176ed2-2d90-49f2-9f3d-17196428b169" or
  "1d72d014-e2ab-4707-b056-9b96abe7b511"
)
'''


[[rule.threat]]
framework = "MITRE ATT&CK"

[rule.threat.tactic]
id = "TA0007"
name = "Discovery"
reference = "https://attack.mitre.org/tactics/TA0007/"

[rule.new_terms]
field = "new_terms_fields"
value = ["host.id", "user.id"]
[[rule.new_terms.history_window_start]]
field = "history_window_start"
value = "now-7d"


Stages and Predicates

Stage 1: new_terms

host.os.type:windows and event.kind:signal and kibana.alert.rule.rule_id:(
  "d68e95ad-1c82-4074-a12a-125fe10ac8ba" or "7b8bfc26-81d2-435e-965c-d722ee397ef1" or
  "0635c542-1b96-4335-9b47-126582d2c19a" or "6ea55c81-e2ba-42f2-a134-bccf857ba922" or
  "e0881d20-54ac-457f-8733-fe0bc5d44c55" or "06568a02-af29-4f20-929c-f3af281e41aa" or
  "c4e9ed3e-55a2-4309-a012-bc3c78dad10a" or "51176ed2-2d90-49f2-9f3d-17196428b169" or
  "1d72d014-e2ab-4707-b056-9b96abe7b511"
)

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
event.kindeq
  • signal corpus 9 (elastic 9)
field:"event.kind" kind:eq value:"signal"
kibana.alert.rule.rule_idin
  • 0635c542-1b96-4335-9b47-126582d2c19a
  • 06568a02-af29-4f20-929c-f3af281e41aa
  • 1d72d014-e2ab-4707-b056-9b96abe7b511
  • 51176ed2-2d90-49f2-9f3d-17196428b169
  • 6ea55c81-e2ba-42f2-a134-bccf857ba922
  • 7b8bfc26-81d2-435e-965c-d722ee397ef1
  • c4e9ed3e-55a2-4309-a012-bc3c78dad10a
  • d68e95ad-1c82-4074-a12a-125fe10ac8ba
  • e0881d20-54ac-457f-8733-fe0bc5d44c55
field:"kibana.alert.rule.rule_id" kind:in