[New Rule] Potential Local NTLM Relay via HTTP (#1947)
* [New Rule] Potential Local NTLM Relay via HTTP Detect attempt to elevate privileges via coercing a privileged service to connect to a local rogue HTTP endpoint, leading to NTLM relay, example of logs while testing https://github.com/med0x2e/NTLMRelay2Self (step 5): * Update credential_access_relay_ntlm_auth_via_http_spoolss.toml * Update credential_access_relay_ntlm_auth_via_http_spoolss.toml Co-authored-by: Colson Wilhoit <48036388+DefSecSentinel@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
[metadata]
|
||||
creation_date = "2022/04/30"
|
||||
maturity = "production"
|
||||
updated_date = "2022/04/30"
|
||||
|
||||
[rule]
|
||||
author = ["Elastic"]
|
||||
description = """
|
||||
Identifies attempt to coerce a local NTLM authentication via HTTP using the Windows Printer Spooler service as a target.
|
||||
An adversary may use this primitive in combination with other techniques to elevate privileges on a compromised system.
|
||||
"""
|
||||
from = "now-9m"
|
||||
index = ["winlogbeat-*", "logs-endpoint.events.*", "logs-windows.*"]
|
||||
language = "eql"
|
||||
license = "Elastic License v2"
|
||||
name = "Potential Local NTLM Relay via HTTP"
|
||||
references = [
|
||||
"https://github.com/med0x2e/NTLMRelay2Self",
|
||||
"https://github.com/topotam/PetitPotam",
|
||||
"https://github.com/dirkjanm/krbrelayx/blob/master/printerbug.py",
|
||||
]
|
||||
risk_score = 73
|
||||
rule_id = "4682fd2c-cfae-47ed-a543-9bed37657aa6"
|
||||
severity = "high"
|
||||
tags = ["Elastic", "Host", "Windows", "Threat Detection", "Credential Access"]
|
||||
type = "eql"
|
||||
|
||||
query = '''
|
||||
process where event.type in ("start", "process_started") and
|
||||
process.name : "rundll32.exe" and
|
||||
|
||||
/* Rundll32 WbeDav Client */
|
||||
process.args : ("?:\\Windows\\System32\\davclnt.dll,DavSetCookie", "?:\\Windows\\SysWOW64\\davclnt.dll,DavSetCookie") and
|
||||
|
||||
/* Access to named pipe via http */
|
||||
process.args : ("http*/print/pipe/*", "http*/pipe/spoolss", "http*/pipe/srvsvc")
|
||||
'''
|
||||
|
||||
|
||||
[[rule.threat]]
|
||||
framework = "MITRE ATT&CK"
|
||||
[[rule.threat.technique]]
|
||||
id = "T1212"
|
||||
name = "Exploitation for Credential Access"
|
||||
reference = "https://attack.mitre.org/techniques/T1212/"
|
||||
|
||||
|
||||
[rule.threat.tactic]
|
||||
id = "TA0006"
|
||||
name = "Credential Access"
|
||||
reference = "https://attack.mitre.org/tactics/TA0006/"
|
||||
|
||||
Reference in New Issue
Block a user