Detection rules › Elastic
CVE-2023-0386 Exploitation Attempt
Detects an attempt to exploit the CVE-2023-0386 local privilege escalation vulnerability.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Privilege Escalation |
Rule body
[rule]
description = "Detects an attempt to exploit the CVE-2023-0386 local privilege escalation vulnerability."
id = "22145fc0-dc4c-4187-8397-4d20162fc391"
license = "Elastic License v2"
name = "CVE-2023-0386 Exploitation Attempt"
os_list = ["linux"]
reference = [
"https://securityonline.info/poc-exploit-released-for-linux-kernel-privilege-escalation-cve-2023-0386-bug/",
"https://github.com/xkaneiki/CVE-2023-0386",
]
version = "1.0.12"
query = '''
process where event.type == "start" and event.action == "exec" and
process.name : "fusermount*" and
process.args : "-o" and
process.args : "rw,nosuid,nodev" and
process.args : "./*" and
process.parent.name : "fuse"
'''
min_endpoint_version = "7.15.0"
optional_actions = []
[[actions]]
action = "kill_process"
field = "process.entity_id"
state = 0
[[actions]]
action = "kill_process"
field = "process.parent.entity_id"
state = 0
[[threat]]
framework = "MITRE ATT&CK"
[[threat.technique]]
id = "T1068"
name = "Exploitation for Privilege Escalation"
reference = "https://attack.mitre.org/techniques/T1068/"
[threat.tactic]
id = "TA0004"
name = "Privilege Escalation"
reference = "https://attack.mitre.org/tactics/TA0004/"
[internal]
min_endpoint_version = "7.15.0"
Stages and Predicates
Stage 1: process
process where event.type == "start" and event.action == "exec" and
process.name : "fusermount*" and
process.args : "-o" and
process.args : "rw,nosuid,nodev" and
process.args : "./*" and
process.parent.name : "fuse"
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.args | wildcard |
| field:"process.args" kind:wildcard |
process.name | wildcard |
| field:"process_name" kind:wildcard value:"fusermount*" |
process.parent.name | wildcard |
| field:"parent_process_name" kind:wildcard value:"fuse" |