Detection rules › Elastic
Browser Process Started in a Hidden Desktop
Identifies the execution of a browser process in an unusual desktop. This may indicate an attempt to conceal malicious activity from the plain sight of users.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Stealth |
Rule body
[rule]
description = """
Identifies the execution of a browser process in an unusual desktop. This may indicate an attempt to conceal malicious
activity from the plain sight of users.
"""
id = "51f30ba4-ec1e-4a83-9c69-14bc8d46a6e5"
license = "Elastic License v2"
name = "Browser Process Started in a Hidden Desktop"
os_list = ["windows"]
reference = [
"https://attack.mitre.org/techniques/T1564/003/",
"https://www.elastic.co/security-labs/elastic-security-labs-discovers-lobshot-malware",
]
version = "1.0.3"
query = '''
process where event.type == "start" and
process.Ext.desktop_name like "WinSta0\\*" and
process.name : ("chrome.exe", "msedge.exe", "brave.exe", "whale.exe", "browser.exe", "dragon.exe", "vivaldi.exe", "opera.exe", "firefox.exe", "iexplore.exe")
'''
min_endpoint_version = "9.1.0"
optional_actions = []
[[actions]]
action = "kill_process"
field = "process.parent.entity_id"
state = 0
tree = true
[[threat]]
framework = "MITRE ATT&CK"
[[threat.technique]]
id = "T1564"
name = "Hide Artifacts"
reference = "https://attack.mitre.org/techniques/T1564/"
[[threat.technique.subtechnique]]
id = "T1564.003"
name = "Hidden Window"
reference = "https://attack.mitre.org/techniques/T1564/003/"
[threat.tactic]
id = "TA0005"
name = "Defense Evasion"
reference = "https://attack.mitre.org/tactics/TA0005/"
[internal]
min_endpoint_version = "9.1.0"
Stages and Predicates
Stage 1: process
process where event.type == "start" and
process.Ext.desktop_name like "WinSta0\\*" and
process.name : ("chrome.exe", "msedge.exe", "brave.exe", "whale.exe", "browser.exe", "dragon.exe", "vivaldi.exe", "opera.exe", "firefox.exe", "iexplore.exe")
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
event.type | eq |
| field:"event.type" kind:eq value:"start" |
process.Ext.desktop_name | wildcard |
| field:"process.Ext.desktop_name" kind:wildcard value:"WinSta0\*" |
process.name | wildcard |
| field:"process_name" kind:wildcard |