diff --git a/rules/windows/privilege_escalation_uac_bypass_winfw_mmc_hijack.toml b/rules/windows/privilege_escalation_uac_bypass_winfw_mmc_hijack.toml new file mode 100644 index 000000000..cf945da23 --- /dev/null +++ b/rules/windows/privilege_escalation_uac_bypass_winfw_mmc_hijack.toml @@ -0,0 +1,45 @@ +[metadata] +creation_date = "2020/10/14" +ecs_version = ["1.6.0"] +maturity = "production" +updated_date = "2020/10/14" + +[rule] +author = ["Elastic"] +description = """ +Identifies attempts to bypass User Account Control (UAC) by hijacking the Microsoft Management Console (MMC) Windows +Firewall snap-in. Attackers 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 Windows Firewall Snap-In Hijack" +references = ["https://github.com/AzAgarampur/byeintegrity-uac"] +risk_score = 47 +rule_id = "1178ae09-5aff-460a-9f2f-455cd0ac4d8e" +severity = "medium" +tags = ["Elastic", "Host", "Windows", "Threat Detection", "Privilege Escalation"] +type = "eql" + +query = ''' +process where event.type in ("start", "process_started") and + process.parent.name == "mmc.exe" and + /* process.Ext.token.integrity_level_name == "high" can be added in future for tuning */ + /* args of the Windows Firewall SnapIn */ + process.parent.args == "WF.msc" and process.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/"