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…
Description
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.
Detection logic
Detection requirements
- Platform
- LinuxWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source product
- linux
- Log source category
- process_creation
Known benign triggers
- 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 mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| asiapacificdefencereporter.com/wp-content/uploads/2023/08/Final-CRWD-2023-Threat-Hunting-Report.pdf | Only this detection cites it |
| unfinished.bike/fun-with-the-new-bpfdoor-2023 | Only this detection cites it |
| www.crowdstrike.com/en-us/blog/how-to-hunt-for-decisivearchitect-and-justforfun-implant/ | Only this detection cites it |
| www.linkedin.com/posts/avradeep_malware-apt-infostealer-activity-7373203959697719296-JR-7 | Only this detection cites it |
| www.stormshield.com/news/orbit-analysis-of-a-linux-dedicated-malware/ | Only this detection cites it |
| www.sysdig.com/blog/containers-read-only-fileless-malware | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- 5cd16c8f-44a6-4654-81e7-a84d6db507d4
- Tagged by the source as
- attack.executionattack.stealth
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1