kevmap

TechniquesT1036.008 › AN0631

AN0631 Analytic 0631

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

<p>Detects when a script or binary is named with misleading or benign-looking extensions (.jpg, .doc) and is then executed via command line or a scheduled task. Includes ELF header mismatches and content-type inconsistencies on disk.</p>
Detects
T1036.008 Masquerade File Type
Part of
DET0226 Detection Strategy for Masquerading via File Type Modification

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
linux:osqueryRead headers and detect MIME type mismatchDC0059 File Metadata

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
benign_extensionsLinux-targeted masquerade extensions (.jpg, .pdf, .png)
HeaderInspectionEnabledWhether to parse file signatures or MIME types from file headers
ExecPathScopeMonitored directory scope for adversarial execution (e.g., /tmp/, /home/username/Downloads)