Detection rules › Elastic
Lone Binary Execution from Volume Mount
Detects when a single binary gets executed from a volume mount where no application or package structure exists and the only thing there is the binary. This is highly unusual and suspicious.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Execution |
Telemetry coverage
Rule body
[rule]
description = """
Detects when a single binary gets executed from a volume mount where no application or package structure exists and the
only thing there is the binary. This is highly unusual and suspicious.
"""
id = "05d56074-16a6-4408-bd2d-3085db14cbc4"
license = "Elastic License v2"
name = "Lone Binary Execution from Volume Mount"
os_list = ["macos"]
version = "1.0.3"
query = '''
process where event.type == "start" and event.action == "exec" and
process.executable regex~ """/Volumes/[a-zA-Z\s\.0-9]+/[a-zA-Z\s]+"""
'''
min_endpoint_version = "8.11.0"
optional_actions = []
[[actions]]
action = "kill_process"
field = "process.entity_id"
state = 0
[[threat]]
framework = "MITRE ATT&CK"
[[threat.technique]]
id = "T1059"
name = "Command and Scripting Interpreter"
reference = "https://attack.mitre.org/techniques/T1059/"
[[threat.technique.subtechnique]]
id = "T1059.004"
name = "Unix Shell"
reference = "https://attack.mitre.org/techniques/T1059/004/"
[threat.tactic]
id = "TA0002"
name = "Execution"
reference = "https://attack.mitre.org/tactics/TA0002/"
[internal]
min_endpoint_version = "8.11.0"
Stages and Predicates
Stage 1: process
process where event.type == "start" and event.action == "exec" and
process.executable regex~ """/Volumes/[a-zA-Z\s\.0-9]+/[a-zA-Z\s]+"""
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
event.action | eq |
| field:"EventType" kind:eq value:"exec" |
event.type | eq |
| field:"event.type" kind:eq value:"start" |
process.executable | regex_match |
| field:"Image" kind:regex_match value:"/Volumes/[a-zA-Z\s.0-9]+/[a-zA-Z\s]+" |