kevmap

TechniquesT1055.014 › AN1241

AN1241 Analytic 1241

Linux · attack.mitre.org · ATT&CK Enterprise v19.2

<p>Detects the redirection of syscall execution flow via modification of VDSO code stubs or GOT entries to load and execute a malicious shared object through mmap and ptrace.</p>
Detects
T1055.014 VDSO Hijacking
Part of
DET0448 Detection Strategy for VDSO Hijacking on Linux

Log sources and channels

Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.

Log sourceChannelData component
auditd:SYSCALLptrace, mmap, mprotect, open, dlopenDC0021 OS API Execution
auditd:memprotectchange from PROT_READ|PROT_WRITE to PROT_EXECDC0020 Process Modification
auditd:file-eventsopen of suspicious .so from non-standard pathsDC0016 Module Load
linux:osquerychild process invoking dynamic linker post-ptraceDC0032 Process Creation

Mutable elements

Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.

FieldDescription
SuspiciousSharedObjectPathRegexRegex to filter dynamic library paths outside of `/lib`, `/usr/lib`, etc. (e.g., `/tmp`, `/dev/shm`)
TimeWindow_PtraceToMmapMax delay allowed between ptrace attach and mmap/mprotect execution in target process
ExecMemoryProtectionThresholdFlag when executable memory mappings deviate from normal runtime behavior
AnomalousParentProcessListParent processes unlikely to legitimately call ptrace (e.g., nginx, apache2, sshd)