Linux Process Execution from /dev/shm Shared Memory Directory

Alerts on Linux processes executing binaries from /dev/shm, a common in-memory staging location.

FreeReviewedSigma · High · v2
Product
linux
Category
process_creation
Author
Stan Beukers (SigmaHQ), DRL 1.1
Published
2026-06-20
Updated
2026-07-31

ATT&CK techniques

Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule identifies process creation where the executable path starts with /dev/shm/, indicating a binary was launched directly from the Linux shared memory mount. Attackers commonly use /dev/shm to stage payloads in a RAM-backed location to reduce disk visibility and potentially evade disk-focused monitoring. It relies on Linux process creation telemetry that includes the executed image path.

Related detections2 linkedT1027.011 — drag to rearrange
Suspicious TransferLoader Configuration Storage in Phone Config Registry Key (via registry_set)
Suspicious COLDRIVER Fileless Payload Storage in Explorer CLSID DefaultIcon (via registry_set)
Linux Process Execution from /dev/shm Shared Memory Directory
Pivot detection · T1027.011 · 2 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.