kevmap

TechniquesT1685.006 › AN1438

AN1438 Analytic 1438

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

<p>Detects log-clearing behavior by correlating suspicious command execution targeting log files under /var/log/, anomalous deletions or truncations of system logs, and unusual child processes (e.g., shell pipelines or redirections).</p>
Detects
T1685.006 Clear Linux or Mac System Logs
Part of
DET0520 Behavioral Detection of Log File Clearing on Linux and macOS

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:SYSCALLPATHDC0040 File Deletion

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
TimeWindowThe time window used to correlate log file interaction and suspicious command execution.
LogFilePathPatternRegex pattern used to match monitored log file paths (e.g., /var/log/auth.log).
UserContextUser or group (e.g., root) that should trigger higher severity detection.