Threaticon
Toggle sidebar

You're viewing a limited, public preview. Log in for full access.

Log in User Guide
Log in Get started
Detection Strategies DET0541 — Detection Strategy for /proc Memory Injection on Linux
DET0541

Detection Strategy for /proc Memory Injection on Linux

1 analytic(s) · 1 technique(s) detected

Analytics

1
AN1494 Analytic 1494
Linux

Detects adversary behavior where a process enumerates and modifies another process's memory using /proc/[pid]/maps and /proc/[pid]/mem files. This includes identifying gadgets via memory mappings and overwriting process memory via low-level file modification or dd usage.

auditd:SYSCALL open/write to /proc/*/mem or /proc/*/maps auditd:SYSCALL execve of dd or sed targeting /proc/*/mem linux:osquery /proc/*/maps access
[TargetProcNameRegex] Regex list of high-value processes attackers may inject into, such as `sshd`, `nginx`, or `sleep`
[TimeWindowBetweenMapAccessAndMemWrite] Time span (e.g., <15s) between map read and memory write that may indicate enumeration-to-injection
[InvokerBinaryAllowlist] Allowlist of processes allowed to access /proc/[pid]/mem (e.g., gdb, strace)
[FileWriteThreshold] Alert if written bytes to /proc/[pid]/mem exceed a suspicious threshold (e.g., >4096 bytes)

Detected Techniques

1

Details

MITRE ID
DET0541
STIX ID
x-mitre-detection-strategy--452c12a6-e74d-4244-a298-e9adaaf23794
Analytics
1
Techniques Detected
1
By Tactic
Stealth
1
Leaving Threaticon

This link opens an external site that isn't part of the platform.