kevmap

TechniquesT1027.016 › AN0914

AN0914 Analytic 0914

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

<p>Detects ELF binaries written to disk that demonstrate anomalous file size or entropy, quickly followed by execution or memory region writes into remote processes (e.g., using ptrace).</p>
Detects
T1027.016 Junk Code Insertion
Part of
DET0322 Detection Strategy for Junk Code Obfuscation with Suspicious Execution Patterns

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:SYSCALLwriteDC0039 File Creation
auditd:SYSCALLexecveDC0032 Process Creation
auditd:SYSCALLSYSCALL ptrace/mprotectDC0020 Process Modification

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
BinarySizeThresholdUsed to flag binaries much larger than typical shell utilities or payloads
MemoryWriteTargetsWhich processes are allowed ptrace/mprotect – can limit to suspicious child-to-parent targeting
ExecutionAfterWriteWindowTemporal threshold for file write to execution