forked from elastic/detection-rules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefense_evasion_suspicious_execution_from_mounted_device.toml
80 lines (68 loc) · 2.4 KB
/
defense_evasion_suspicious_execution_from_mounted_device.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[metadata]
creation_date = "2021/05/28"
maturity = "production"
updated_date = "2021/05/28"
[rule]
author = ["Elastic"]
description = """
Identifies when a script interpreter or signed binary is launched via a non-standard working directory. An attacker may
use this technique to evade defenses.
"""
from = "now-9m"
index = ["winlogbeat-*", "logs-endpoint.events.*", "logs-windows.*"]
language = "eql"
license = "Elastic License v2"
name = "Suspicious Execution from a Mounted Device"
references = [
"https://www.microsoft.com/security/blog/2021/05/27/new-sophisticated-email-based-attack-from-nobelium/",
"https://www.volexity.com/blog/2021/05/27/suspected-apt29-operation-launches-election-fraud-themed-phishing-campaigns/",
]
risk_score = 47
rule_id = "8a1d4831-3ce6-4859-9891-28931fa6101d"
severity = "medium"
tags = ["Elastic", "Host", "Windows", "Threat Detection", "Defense Evasion"]
timestamp_override = "event.ingested"
type = "eql"
query = '''
process where event.type == "start" and process.executable : "C:\\*" and
(process.working_directory : "?:\\" and not process.working_directory: "C:\\") and
process.parent.name : "explorer.exe" and
process.name : ("rundll32.exe", "mshta.exe", "powershell.exe", "pwsh.exe", "cmd.exe", "regsvr32.exe",
"cscript.exe", "wscript.exe")
'''
[[rule.threat]]
framework = "MITRE ATT&CK"
[[rule.threat.technique]]
reference = "https://attack.mitre.org/techniques/T1218/"
id = "T1218"
name = "Signed Binary Proxy Execution"
[[rule.threat.technique.subtechnique]]
reference = "https://attack.mitre.org/techniques/T1218/011/"
id = "T1218.011"
name = "Rundll32"
[[rule.threat.technique.subtechnique]]
reference = "https://attack.mitre.org/techniques/T1218/005/"
id = "T1218.005"
name = "Mshta"
[[rule.threat.technique.subtechnique]]
reference = "https://attack.mitre.org/techniques/T1218/010/"
id = "T1218.010"
name = "Regsvr32"
[rule.threat.tactic]
reference = "https://attack.mitre.org/tactics/TA0005/"
id = "TA0005"
name = "Defense Evasion"
[[rule.threat]]
framework = "MITRE ATT&CK"
[[rule.threat.technique]]
reference = "https://attack.mitre.org/techniques/T1059/"
id = "T1059"
name = "Command and Scripting Interpreter"
[[rule.threat.technique.subtechnique]]
reference = "https://attack.mitre.org/techniques/T1059/001/"
id = "T1059.001"
name = "PowerShell"
[rule.threat.tactic]
reference = "https://attack.mitre.org/tactics/TA0002/"
id = "TA0002"
name = "Execution"