kevmap

TechniquesT1564 › AN1385

AN1385 Analytic 1385

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

<p>Hidden file creation using leading '.' or file attribute changes with chattr (immutable/hidden flags). Defender view: detect execution of chattr, lsattr anomalies, and unusual hidden files appearing in system directories.</p>
Detects
T1564 Hide Artifacts
Part of
DET0502 Detection Strategy for Hidden Artifacts Across Platforms

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:EXECVEExecution of chattr to set +i or +a attributesDC0064 Command Execution
auditd:FILECreation of hidden files (.*) in sensitive directories (/etc, /var, /usr/bin)DC0039 File 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
DirectoryScopeRestrict hidden file detection to privileged system directories.
AttributeFlagsTune for specific chattr flags (+i immutable, +a append-only) most abused for persistence.