From 75ed0f8f920139e80075cce2bc15cbdac8e85e57 Mon Sep 17 00:00:00 2001 From: Samirbous <64742097+Samirbous@users.noreply.github.com> Date: Wed, 18 Nov 2020 20:34:10 +0100 Subject: [PATCH] [New Rule] UAC Bypass via ICMLuaUtil Elevated COM interface (#383) * [New Rule] Bypass UAC via ICMLuaUtil Elevated COM interface * added tags * Update privilege_escalation_uac_bypass_com_interface_icmluautil.toml * adjusted args to avoid leading wildcard * Update rules/windows/privilege_escalation_uac_bypass_com_interface_icmluautil.toml Co-authored-by: David French <56409778+threat-punter@users.noreply.github.com> * Update rules/windows/privilege_escalation_uac_bypass_com_interface_icmluautil.toml Co-authored-by: David French <56409778+threat-punter@users.noreply.github.com> * Update rules/windows/privilege_escalation_uac_bypass_com_interface_icmluautil.toml Co-authored-by: David French <56409778+threat-punter@users.noreply.github.com> * replaced wildcard with In Co-authored-by: David French <56409778+threat-punter@users.noreply.github.com> Co-authored-by: Ross Wolf <31489089+rw-access@users.noreply.github.com> --- ...n_uac_bypass_com_interface_icmluautil.toml | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 rules/windows/privilege_escalation_uac_bypass_com_interface_icmluautil.toml diff --git a/rules/windows/privilege_escalation_uac_bypass_com_interface_icmluautil.toml b/rules/windows/privilege_escalation_uac_bypass_com_interface_icmluautil.toml new file mode 100644 index 000000000..856d4989e --- /dev/null +++ b/rules/windows/privilege_escalation_uac_bypass_com_interface_icmluautil.toml @@ -0,0 +1,43 @@ +[metadata] +creation_date = "2020/10/19" +ecs_version = ["1.6.0"] +maturity = "production" +updated_date = "2020/10/19" + +[rule] +author = ["Elastic"] +description = """ +Identifies User Account Control (UAC) bypass attempts via the ICMLuaUtil Elevated COM interface. Attackers may attempt +to bypass UAC to stealthily execute code with elevated permissions. +""" +from = "now-9m" +index = ["winlogbeat-*", "logs-endpoint.events.*"] +language = "eql" +license = "Elastic License" +name = "UAC Bypass via ICMLuaUtil Elevated COM Interface" +risk_score = 73 +rule_id = "68d56fdc-7ffa-4419-8e95-81641bd6f845" +severity = "high" +tags = ["Elastic", "Host", "Windows", "Threat Detection", "Privilege Escalation"] +type = "eql" + +query = ''' +process where event.type in ("start", "process_started") and + process.parent.name == "dllhost.exe" and + process.parent.args in ("/Processid:{3E5FC7F9-9A51-4367-9063-A120244FBEC7}", "/Processid:{D2E7041B-2927-42FB-8E9F-7CE93B6DC937}") and + process.pe.original_file_name != "WerFault.exe" +''' + + +[[rule.threat]] +framework = "MITRE ATT&CK" +[[rule.threat.technique]] +id = "T1088" +name = "Bypass User Account Control" +reference = "https://attack.mitre.org/techniques/T1088/" + + +[rule.threat.tactic] +id = "TA0004" +name = "Privilege Escalation" +reference = "https://attack.mitre.org/tactics/TA0004/"