kevmap

TechniquesT1070.008 › AN0738

AN0738 Analytic 0738

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

<p>Detects the use of mail utilities like mail or mailx to delete mailbox content, or file-level deletion of inbox files from /var/spool/mail/ or /var/mail/ following suspicious sessions.</p>
Detects
T1070.008 Clear Mailbox Data
Part of
DET0266 Behavioral Detection of Mailbox Data and Log Deletion for Anti-Forensics

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:SYSCALLunlink/unlinkatDC0040 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
MailFolderPathCommon inbox file locations like /var/spool/mail/, /var/mail/
CommandPatternUsage of mailx or echo piped to mail followed by deletion