2020-06-29 22:57:00 -06:00
|
|
|
[metadata]
|
|
|
|
|
creation_date = "2020/02/18"
|
2021-04-21 19:10:06 +00:00
|
|
|
deprecation_date = "2021/04/15"
|
|
|
|
|
maturity = "deprecated"
|
|
|
|
|
updated_date = "2021/04/15"
|
2020-06-29 22:57:00 -06:00
|
|
|
|
|
|
|
|
[rule]
|
|
|
|
|
author = ["Elastic"]
|
|
|
|
|
description = """
|
|
|
|
|
The whoami application was executed on a Linux host. This is often used by tools and persistence mechanisms to test for
|
|
|
|
|
privileged access.
|
|
|
|
|
"""
|
|
|
|
|
false_positives = [
|
|
|
|
|
"""
|
|
|
|
|
Security testing tools and frameworks may run this command. Some normal use of this command may originate from
|
|
|
|
|
automation tools and frameworks.
|
|
|
|
|
""",
|
|
|
|
|
]
|
2020-08-21 12:23:43 -05:00
|
|
|
from = "now-9m"
|
2020-08-03 15:46:57 -04:00
|
|
|
index = ["auditbeat-*", "logs-endpoint.events.*"]
|
2020-06-29 22:57:00 -06:00
|
|
|
language = "kuery"
|
2021-03-03 22:12:11 -09:00
|
|
|
license = "Elastic License v2"
|
2020-06-29 22:57:00 -06:00
|
|
|
name = "User Discovery via Whoami"
|
|
|
|
|
risk_score = 21
|
|
|
|
|
rule_id = "120559c6-5e24-49f4-9e30-8ffe697df6b9"
|
|
|
|
|
severity = "low"
|
2020-10-26 13:50:45 -05:00
|
|
|
tags = ["Elastic", "Host", "Linux", "Threat Detection", "Discovery"]
|
2021-02-16 10:52:48 -09:00
|
|
|
timestamp_override = "event.ingested"
|
2020-06-29 22:57:00 -06:00
|
|
|
type = "query"
|
|
|
|
|
|
|
|
|
|
query = '''
|
2020-07-07 13:43:33 -05:00
|
|
|
event.category:process and event.type:(start or process_started) and process.name:whoami
|
2020-06-29 22:57:00 -06:00
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[rule.threat]]
|
|
|
|
|
framework = "MITRE ATT&CK"
|
|
|
|
|
[[rule.threat.technique]]
|
|
|
|
|
id = "T1033"
|
|
|
|
|
name = "System Owner/User Discovery"
|
|
|
|
|
reference = "https://attack.mitre.org/techniques/T1033/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[rule.threat.tactic]
|
|
|
|
|
id = "TA0007"
|
|
|
|
|
name = "Discovery"
|
|
|
|
|
reference = "https://attack.mitre.org/tactics/TA0007/"
|
|
|
|
|
|