During a retail SOC investigation, Falcon Cloud Security triggers a runtime alert showing a web-tier container executing a binary from /dev/shm immediately after an application process spawned a shell. Why should the analyst treat execution from a memory-backed temporary directory as high-risk?
Select an answer to reveal the explanation.
Short Explanation
When a web server suddenly starts running programs out of shared memory, you are looking at classic post-exploitation staging rather than normal app behavior. The trap is dismissing a temporary-directory alert just because no permanent file landed on disk.
Full Explanation
Suspicious execution from shared-memory or temporary paths following an unexpected shell is a strong Indicator of Attack because Attackers often stage payloads in memory-backed directories to evade disk checks and run unauthorized code. Legitimate web services rarely compile or drop executables into /dev/shm at runtime, especially as a child of a spawned shell. The claim that Container images store all legitimate application binaries inside /dev/shm during standard startup is false because /dev/shm is a runtime-mounted shared-memory filesystem rather than where packaged binaries reside. Likewise, Running binaries from /dev/shm automatically grants host-level cloud IAM administrator credentials is wrong because directory location alone does not confer cloud IAM privileges, even though an attacker may subsequently probe metadata or credentials. Finally, Executing files in /dev/shm disables Kubernetes network policies and exposes the node control plane directly is inaccurate because memory-backed execution does not alter cluster networking rules. As a caveat, verify whether any specialized scientific or caching workload intentionally uses shared memory before isolating the pod. For an operational check, review the full parent-child process tree and outbound network connections for that container in Falcon Cloud Security.
Prefer to study offline? Printable PDF study book + test engine ($7.50, unofficial). These questions stay free here.