4233fef238
* win folder * Other folders * Update test_all_rules.py * . * updated missing elastic defend tags --------- Co-authored-by: terrancedejesus <terrance.dejesus@elastic.co>
56 lines
2.1 KiB
TOML
56 lines
2.1 KiB
TOML
[metadata]
|
|
creation_date = "2020/09/02"
|
|
integration = ["endpoint"]
|
|
maturity = "development"
|
|
updated_date = "2023/06/22"
|
|
|
|
[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 = ["Domain: Endpoint", "OS: Windows", "Use Case: Threat Detection", "Tactic: Privilege Escalation", "Data Source: Elastic Defend"]
|
|
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 host.os.type == "windows" and event.type == "start" and process.name : "svchost.exe" and
|
|
user.domain : "NT AUTHORITY" and user.name : "LOCAL SERVICE"] by process.entity_id
|
|
[network where host.os.type == "windows" and network.protocol : "dns" and process.name : "svchost.exe" and
|
|
dns.question.name : "wpad" and process.name : "svchost.exe"] by process.entity_id
|
|
[network where host.os.type == "windows" and process.name : "svchost.exe"
|
|
and network.direction : ("outgoing", "egress") and destination.port == 80] by process.entity_id
|
|
[library where host.os.type == "windows" and event.type : "start" and process.name : "svchost.exe" and
|
|
dll.name : "jscript.dll" and process.name : "svchost.exe"] by process.entity_id
|
|
[process where host.os.type == "windows" and event.type == "start" 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/"
|
|
|