kevmap

TechniquesT1027.015 › AN0783

AN0783 Analytic 0783

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

<p>Detects sequential command-line compression utilities (e.g., gzip, tar, zip, 7z) followed by execution of unpacked files, especially in temp directories or under non-standard locations like /dev/shm or /tmp with ELF binaries.</p>
Detects
T1027.015 Compression
Part of
DET0281 Detection Strategy for Compressed Payload Creation and Execution

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:SYSCALLexecveDC0032 Process Creation
auditd:SYSCALLwriteDC0039 File Creation
auditd:SYSCALLopenatDC0055 File Access
auditd:SYSCALLchmodDC0061 File 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
PathRegexFlag compressed archives extracted to /tmp, /dev/shm, or user’s home dir
CompressionToolPatternsgzip, tar, bzip2, xz, 7z – tune to suppress admin packaging workflows
ExecutionAfterUnpackWindowHow soon a new file is executed after it’s unpacked