-
Notifications
You must be signed in to change notification settings - Fork 517
/
Copy pathdefense_evasion_masquerading_browsers.toml
204 lines (186 loc) · 7.95 KB
/
defense_evasion_masquerading_browsers.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
[metadata]
bypass_bbr_timing = true
creation_date = "2023/08/02"
integration = ["endpoint"]
maturity = "production"
updated_date = "2025/01/10"
[rule]
author = ["Elastic"]
building_block_type = "default"
description = """
Identifies suspicious instances of browser processes, such as unsigned or signed with unusual certificates, that can
indicate an attempt to conceal malicious activity, bypass security features such as allowlists, or trick users into
executing malware.
"""
from = "now-9m"
index = ["logs-endpoint.events.process-*"]
language = "eql"
license = "Elastic License v2"
name = "Potential Masquerading as Browser Process"
risk_score = 21
rule_id = "5b9eb30f-87d6-45f4-9289-2bf2024f0376"
severity = "low"
tags = [
"Domain: Endpoint",
"OS: Windows",
"Use Case: Threat Detection",
"Tactic: Defense Evasion",
"Tactic: Persistence",
"Rule Type: BBR",
"Data Source: Elastic Defend",
]
timestamp_override = "event.ingested"
type = "eql"
query = '''
process where host.os.type == "windows" and event.type == "start" and
(
/* Chrome Related Processes */
(
process.name : (
"chrome.exe", "GoogleUpdate.exe", "GoogleCrashHandler64.exe", "GoogleCrashHandler.exe",
"GoogleUpdateComRegisterShell64.exe", "GoogleUpdateSetup.exe", "GoogleUpdateOnDemand.exe",
"chrome_proxy.exe", "remote_assistance_host.exe", "remoting_native_messaging_host.exe",
"GoogleUpdateBroker.exe"
) and
not (process.code_signature.subject_name in ("Google LLC", "Google Inc") and process.code_signature.trusted == true) and
not (
process.executable : (
"?:\\Program Files\\HP\\Sure Click\\servers\\chrome.exe",
"?:\\Program Files\\HP\\Sure Click\\*\\servers\\chrome.exe"
) and
process.code_signature.subject_name == "Bromium, Inc." and process.code_signature.trusted == true
) and
not (
process.executable : "?:\\Program Files\\dynatrace\\synthetic\\Chrome-bin\\chrome.exe" and
process.code_signature.subject_name == "Dynatrace LLC" and process.code_signature.trusted == true
) and
not (
process.executable : "?:\\Users\\*\\Desktop\\CentBrowser\\chrome.exe" and
process.code_signature.subject_name == "MV INFORMATICA NORDESTE LTDA" and process.code_signature.trusted == true
) and
not (
process.executable : (
"?:\\Users\\*\\AppData\\Local\\ms-playwright\\chromium-*\\chrome-win\\chrome.exe",
"?:\\Users\\*\\AppData\\Local\\Programs\\synthetics-recorder\\resources\\local-browsers\\chromium-*\\chrome-win\\chrome.exe",
"*\\node_modules\\puppeteer\\*\\win64-*\\chrome-win\\chrome.exe",
"?:\\Program Files (x86)\\Invicti Professional Edition\\chromium\\chrome.exe",
"?:\\Program Files\\End2End, Inc\\ARMS Html Engine\\chrome.exe",
"?:\\Users\\*\\AppData\\Local\\*BurpSuitePro\\burpbrowser\\*\\chrome.exe",
"?:\\Users\\*\\AppData\\Roaming\\*BurpSuite\\burpbrowser\\*\\chrome.exe",
"?:\\Gradient\\Connector.Service\\runtimes\\win-x64\\native\\chrome.exe",
"?:\\Program Files (x86)\\Netsparker Enterprise Agent-?\\chromium\\chrome.exe"
) and process.args: (
"--enable-features=NetworkService,NetworkServiceInProcess",
"--type=crashpad-handler", "--enable-automation", "--disable-xss-auditor"
)
)
) or
/* MS Edge Related Processes */
(
process.name : (
"msedge.exe", "MicrosoftEdgeUpdate.exe", "identity_helper.exe", "msedgewebview2.exe",
"MicrosoftEdgeWebview2Setup.exe", "MicrosoftEdge_X*.exe", "msedge_proxy.exe",
"MicrosoftEdgeUpdateCore.exe", "MicrosoftEdgeUpdateBroker.exe", "MicrosoftEdgeUpdateSetup_X*.exe",
"MicrosoftEdgeUpdateComRegisterShell64.exe", "msedgerecovery.exe", "MicrosoftEdgeUpdateSetup.exe"
) and
not (process.code_signature.subject_name == "Microsoft Corporation" and process.code_signature.trusted == true) and
not (
process.name : "msedgewebview2.exe" and
process.code_signature.subject_name in ("Bromium, Inc.", "Amazon.com Services LLC", "Code Systems Corporation") and
process.code_signature.trusted == true
) and
not process.executable : "?:\\Program Files (x86)\\Microsoft\\EdgeUpdate\\MicrosoftEdgeUpdate.exe"
) or
/* Brave Related Processes */
(
process.name : (
"brave.exe", "BraveUpdate.exe", "BraveCrashHandler64.exe", "BraveCrashHandler.exe",
"BraveUpdateOnDemand.exe", "brave_vpn_helper.exe", "BraveUpdateSetup*.exe",
"BraveUpdateComRegisterShell64.exe"
) and
not (process.code_signature.subject_name in ("Brave Software, Inc.", "Google Inc") and process.code_signature.trusted == true)
) or
/* Firefox Related Processes */
(
process.name : (
"firefox.exe", "pingsender.exe", "default-browser-agent.exe", "maintenanceservice.exe",
"plugin-container.exe", "maintenanceservice_tmp.exe", "maintenanceservice_installer.exe",
"minidump-analyzer.exe"
) and
not (process.code_signature.subject_name == "Mozilla Corporation" and process.code_signature.trusted == true) and
not (
process.name : "default-browser-agent.exe" and
process.code_signature.subject_name in ("WATERFOX LIMITED") and process.code_signature.trusted == true
) and
not process.hash.sha256 == "ddc7a6c3a4b50d23daffe8e364c575fd7df9af9711b14d153b09553ddd3670a0" and
not process.executable : "?:\\Users\\*\\AppData\\Local\\ms-playwright\\firefox-*\\firefox\\firefox.exe"
) or
/* Island Related Processes */
(
process.name : (
"Island.exe", "IslandUpdate.exe", "IslandCrashHandler.exe", "IslandCrashHandler64.exe",
"IslandUpdateBroker.exe", "IslandUpdateOnDemand.exe", "IslandUpdateComRegisterShell64.exe",
"IslandUpdateSetup.exe"
) and
not (process.code_signature.subject_name == "Island Technology Inc." and process.code_signature.trusted == true)
) or
/* Opera Related Processes */
(
process.name : ("opera.exe", "opera_*.exe", "browser_assistant.exe") and
not (process.code_signature.subject_name in ("Opera Norway AS", "Opera Software AS") and process.code_signature.trusted == true)
) or
/* Whale Related Processes */
(
process.name : ("whale.exe", "whale_update.exe", "wusvc.exe") and
not (process.code_signature.subject_name == "NAVER Corp." and process.code_signature.trusted == true)
) or
/* Chromium-based Browsers processes */
(
process.name : ("chrmstp.exe", "notification_helper.exe", "elevation_service.exe") and
not (
process.code_signature.subject_name in (
"Island Technology Inc.",
"Citrix Systems, Inc.",
"Brave Software, Inc.",
"Google LLC",
"Google Inc",
"Microsoft Corporation",
"NAVER Corp.",
"AVG Technologies USA, LLC",
"Avast Software s.r.o.",
"PIRIFORM SOFTWARE LIMITED",
"NortonLifeLock Inc.",
"Opera Norway AS"
) and process.code_signature.trusted == true
)
)
)
'''
[[rule.threat]]
framework = "MITRE ATT&CK"
[[rule.threat.technique]]
id = "T1036"
name = "Masquerading"
reference = "https://attack.mitre.org/techniques/T1036/"
[[rule.threat.technique.subtechnique]]
id = "T1036.001"
name = "Invalid Code Signature"
reference = "https://attack.mitre.org/techniques/T1036/001/"
[[rule.threat.technique.subtechnique]]
id = "T1036.005"
name = "Match Legitimate Name or Location"
reference = "https://attack.mitre.org/techniques/T1036/005/"
[rule.threat.tactic]
id = "TA0005"
name = "Defense Evasion"
reference = "https://attack.mitre.org/tactics/TA0005/"
[[rule.threat]]
framework = "MITRE ATT&CK"
[[rule.threat.technique]]
id = "T1554"
name = "Compromise Host Software Binary"
reference = "https://attack.mitre.org/techniques/T1554/"
[rule.threat.tactic]
id = "TA0003"
name = "Persistence"
reference = "https://attack.mitre.org/tactics/TA0003/"