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 = "Identifies a suspicious parent child process relationship with cmd.exe descending from PowerShell.exe."
|
2020-08-21 12:23:43 -05:00
|
|
|
from = "now-9m"
|
2021-01-28 20:53:57 -09:00
|
|
|
index = ["winlogbeat-*", "logs-endpoint.events.*", "logs-windows.*"]
|
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 = "PowerShell spawning Cmd"
|
|
|
|
|
risk_score = 21
|
|
|
|
|
rule_id = "0f616aee-8161-4120-857e-742366f5eeb3"
|
|
|
|
|
severity = "low"
|
2020-10-26 13:50:45 -05:00
|
|
|
tags = ["Elastic", "Host", "Windows", "Threat Detection", "Execution"]
|
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.parent.name:powershell.exe and process.name:cmd.exe
|
2020-06-29 22:57:00 -06:00
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[rule.threat]]
|
|
|
|
|
framework = "MITRE ATT&CK"
|
|
|
|
|
[[rule.threat.technique]]
|
|
|
|
|
id = "T1059"
|
2020-09-24 01:03:29 -05:00
|
|
|
name = "Command and Scripting Interpreter"
|
2020-06-29 22:57:00 -06:00
|
|
|
reference = "https://attack.mitre.org/techniques/T1059/"
|
2020-12-18 12:46:16 -09:00
|
|
|
[[rule.threat.technique.subtechnique]]
|
|
|
|
|
id = "T1059.001"
|
2020-06-29 22:57:00 -06:00
|
|
|
name = "PowerShell"
|
2020-12-18 12:46:16 -09:00
|
|
|
reference = "https://attack.mitre.org/techniques/T1059/001/"
|
|
|
|
|
|
2020-06-29 22:57:00 -06:00
|
|
|
|
2021-02-16 10:52:48 -09:00
|
|
|
|
2020-06-29 22:57:00 -06:00
|
|
|
[rule.threat.tactic]
|
|
|
|
|
id = "TA0002"
|
|
|
|
|
name = "Execution"
|
|
|
|
|
reference = "https://attack.mitre.org/tactics/TA0002/"
|
|
|
|
|
|