Detectionhighexperimental
Process Execution From Shared Memory Directory
Detects the execution of a binary from the Linux shared memory directory /dev/shm. This directory is a tmpfs mount backed entirely by RAM and is abused by attackers for fileless malware staging because files written there never touch physical disk and may evade disk-based detection.
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Log Source
LinuxProcess Creation
ProductLinux← raw: linux
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic1 selector
detection:
selection:
Image|startswith: '/dev/shm/'
condition: selectionFalse Positives
Unlikely in production environments; some container runtimes or IPC frameworks may use /dev/shm for inter-process communication but should not spawn executables.
MITRE ATT&CK
Sub-techniques
Rule Metadata
Rule ID
5cd16c8f-44a6-4654-81e7-a84d6db507d4
Status
experimental
Level
high
Type
Detection
Created
Sat Jun 20
Author
Path
rules/linux/process_creation/proc_creation_lnx_susp_exec_from_dev_shm.yml
Raw Tags
attack.stealthattack.executionattack.t1027.011