Files
sigma-rules/rules_building_block/discovery_linux_system_owner_user_discovery.toml
T

65 lines
1.7 KiB
TOML
Raw Normal View History

2023-07-19 20:12:59 +05:30
[metadata]
creation_date = "2023/07/10"
2026-01-07 16:52:40 +01:00
integration = ["endpoint", "sentinel_one_cloud_funnel"]
2023-07-19 20:12:59 +05:30
maturity = "production"
2026-01-07 16:52:40 +01:00
updated_date = "2025/12/24"
2023-07-19 20:12:59 +05:30
[rule]
author = ["Elastic"]
building_block_type = "default"
2024-03-07 12:35:33 +01:00
description = """
Identifies the use of built-in tools which adversaries may use to enumerate the system owner/user of a compromised
system.
"""
2023-07-19 20:12:59 +05:30
from = "now-119m"
2026-01-07 16:52:40 +01:00
index = ["logs-endpoint.events.*", "endgame-*", "logs-sentinel_one_cloud_funnel.*",]
2024-05-23 00:45:10 +05:30
interval = "60m"
2026-01-07 16:52:40 +01:00
language = "kuery"
2023-07-19 20:12:59 +05:30
license = "Elastic License v2"
name = "System Owner/User Discovery Linux"
risk_score = 21
rule_id = "bf8c007c-7dee-4842-8e9a-ee534c09d205"
severity = "low"
2024-03-07 12:35:33 +01:00
tags = [
"Domain: Endpoint",
"OS: Linux",
"Use Case: Threat Detection",
"Tactic: Discovery",
"Rule Type: BBR",
"Data Source: Elastic Defend",
"Data Source: Elastic Endgame",
2026-01-07 16:52:40 +01:00
"Data Source: SentinelOne",
2024-05-23 00:45:10 +05:30
]
2023-07-19 20:12:59 +05:30
timestamp_override = "event.ingested"
2026-01-07 16:52:40 +01:00
type = "new_terms"
2023-07-19 20:12:59 +05:30
query = '''
2026-01-07 16:52:40 +01:00
event.category:process and host.os.type:linux and event.type:start and event.action:(exec or exec_event or start) and
process.name:("whoami" or "w" or "who" or "users" or "id" or "groups")
2023-07-19 20:12:59 +05:30
'''
[[rule.threat]]
framework = "MITRE ATT&CK"
2026-01-07 16:52:40 +01:00
2023-07-19 20:12:59 +05:30
[[rule.threat.technique]]
id = "T1033"
name = "System Owner/User Discovery"
reference = "https://attack.mitre.org/techniques/T1033/"
2024-03-07 12:35:33 +01:00
2023-07-19 20:12:59 +05:30
[[rule.threat.technique]]
id = "T1069"
name = "Permission Groups Discovery"
reference = "https://attack.mitre.org/techniques/T1069/"
[rule.threat.tactic]
id = "TA0007"
name = "Discovery"
reference = "https://attack.mitre.org/tactics/TA0007/"
2024-05-23 00:45:10 +05:30
2026-01-07 16:52:40 +01:00
[rule.new_terms]
field = "new_terms_fields"
value = ["process.parent.executable", "process.command_line", "agent.id"]
[[rule.new_terms.history_window_start]]
field = "history_window_start"
value = "now-5d"