diff --git a/rules/windows/privilege_escalation_uac_bypass_mock_windir.toml b/rules/windows/privilege_escalation_uac_bypass_mock_windir.toml new file mode 100644 index 000000000..178ea37d5 --- /dev/null +++ b/rules/windows/privilege_escalation_uac_bypass_mock_windir.toml @@ -0,0 +1,41 @@ +[metadata] +creation_date = "2020/10/26" +maturity = "production" +updated_date = "2020/10/26" + +[rule] +author = ["Elastic"] +description = """ +Identifies an attempt to bypass User Account Control (UAC) by masquerading as a Microsoft trusted Windows directory. Attackers may 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 Attempt via Windows Directory Masquerading" +references = ["https://medium.com/tenable-techblog/uac-bypass-by-mocking-trusted-directories-24a96675f6e"] +risk_score = 71 +rule_id = "290aca65-e94d-403b-ba0f-62f320e63f51" +severity = "high" +tags = ["Elastic", "Host", "Windows", "Threat Detection", "Privilege Escalation"] +type = "eql" + +query = ''' +process where event.type in ("start", "process_started") and + process.args : ("C:\\Windows \\system32\\*.exe", "C:\\Windows \\SysWOW64\\*.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/"