Files
sigma-rules/rules/windows/privilege_escalation_wpad_exploitation.toml
T
Jonhnathan 8964e5d646 [Rule Tuning] Update network.direction (#1547)
* Update network.direction

* bump updated_date

(cherry picked from commit cc241c0b5e)
2021-10-14 00:47:33 +00:00

55 lines
2.0 KiB
TOML

[metadata]
creation_date = "2020/09/02"
maturity = "development"
updated_date = "2021/10/13"
[rule]
author = ["Elastic"]
description = """
Identifies probable exploitation of the Web Proxy Auto-Discovery Protocol (WPAD) service. Attackers who have access to
the local network or upstream DNS traffic can inject malicious JavaScript to the WPAD service which can lead to a full
system compromise.
"""
from = "now-9m"
index = ["logs-endpoint.events.*"]
language = "eql"
license = "Elastic License v2"
name = "WPAD Service Exploit"
risk_score = 73
rule_id = "ec328da1-d5df-482b-866c-4a435692b1f3"
severity = "high"
tags = ["Elastic", "Host", "Windows", "Threat Detection", "Privilege Escalation"]
type = "eql"
query = '''
/* preference would be to use user.sid rather than domain+name, once it is available in ECS + datasources */
/* didn't trigger successfully during testing */
sequence with maxspan=5s
[process where event.type in ("start", "process_started") and process.name : "svchost.exe" and
user.domain : "NT AUTHORITY" and user.name : "LOCAL SERVICE"] by process.entity_id
[network where network.protocol : "dns" and process.name : "svchost.exe" and
dns.question.name : "wpad" and process.name : "svchost.exe"] by process.entity_id
[network where process.name : "svchost.exe"
and network.direction : ("outgoing", "egress") and destination.port == 80] by process.entity_id
[library where event.type : "start" and process.name : "svchost.exe" and
dll.name : "jscript.dll" and process.name : "svchost.exe"] by process.entity_id
[process where event.type in ("start", "process_started") and
process.parent.name : "svchost.exe"] by process.parent.entity_id
'''
[[rule.threat]]
framework = "MITRE ATT&CK"
[[rule.threat.technique]]
id = "T1068"
name = "Exploitation for Privilege Escalation"
reference = "https://attack.mitre.org/techniques/T1068/"
[rule.threat.tactic]
id = "TA0004"
name = "Privilege Escalation"
reference = "https://attack.mitre.org/tactics/TA0004/"