From 87e1c92011e0359f8281a973dbe414eede5d4db1 Mon Sep 17 00:00:00 2001 From: Samirbous <64742097+Samirbous@users.noreply.github.com> Date: Tue, 22 Sep 2020 22:45:50 +0200 Subject: [PATCH] [New Rule] Unusual System Virtual Process Child Program (#181) * [New Rule] Unusual System Virtual Process Child Program * Update defense_evasion_unusual_system_vp_child_program.toml * Update defense_evasion_unusual_system_vp_child_program.toml * Update rules/windows/defense_evasion_unusual_system_vp_child_program.toml Co-authored-by: Justin Ibarra * Update rules/windows/defense_evasion_unusual_system_vp_child_program.toml Co-authored-by: Justin Ibarra * Update rules/windows/defense_evasion_unusual_system_vp_child_program.toml Co-authored-by: Justin Ibarra * Update rules/windows/defense_evasion_unusual_system_vp_child_program.toml Co-authored-by: Justin Ibarra * Update rules/windows/defense_evasion_unusual_system_vp_child_program.toml Co-authored-by: David French <56409778+threat-punter@users.noreply.github.com> * Update rules/windows/defense_evasion_unusual_system_vp_child_program.toml Co-authored-by: David French <56409778+threat-punter@users.noreply.github.com> * Update rules/windows/defense_evasion_unusual_system_vp_child_program.toml Co-authored-by: Justin Ibarra Co-authored-by: Justin Ibarra Co-authored-by: David French <56409778+threat-punter@users.noreply.github.com> --- ...asion_unusual_system_vp_child_program.toml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 rules/windows/defense_evasion_unusual_system_vp_child_program.toml diff --git a/rules/windows/defense_evasion_unusual_system_vp_child_program.toml b/rules/windows/defense_evasion_unusual_system_vp_child_program.toml new file mode 100644 index 000000000..0c32cd160 --- /dev/null +++ b/rules/windows/defense_evasion_unusual_system_vp_child_program.toml @@ -0,0 +1,38 @@ +[metadata] +creation_date = "2020/08/19" +ecs_version = ["1.6.0"] +maturity = "production" +updated_date = "2020/08/19" + +[rule] +author = ["Elastic"] +description = "Identifies a suspicious child process of the Windows virtual system process, which could indicate code injection." +index = ["winlogbeat-*", "logs-endpoint.events.*"] +language = "kuery" +license = "Elastic License" +name = "Unusual Child Process from a System Virtual Process" +risk_score = 73 +rule_id = "de9bd7e0-49e9-4e92-a64d-53ade2e66af1" +severity = "high" +tags = ["Elastic", "Windows"] +type = "query" + +query = ''' +event.category:process and event.type:(start or process_started) and + process.parent.pid:4 and + not process.executable:(Registry or MemCompression or "C:\Windows\System32\smss.exe") +''' + + +[[rule.threat]] +framework = "MITRE ATT&CK" +[[rule.threat.technique]] +id = "T1093" +name = "Process Injection" +reference = "https://attack.mitre.org/techniques/T1055/" + + +[rule.threat.tactic] +id = "TA0005" +name = "Defense Evasion" +reference = "https://attack.mitre.org/tactics/TA0005/"