Techniques › T1564 › 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 source | Channel | Data component |
|---|---|---|
| auditd:EXECVE | Execution of chattr to set +i or +a attributes | DC0064 Command Execution |
| auditd:FILE | Creation 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.
| Field | Description |
|---|---|
DirectoryScope | Restrict hidden file detection to privileged system directories. |
AttributeFlags | Tune for specific chattr flags (+i immutable, +a append-only) most abused for persistence. |