kevmap

TechniquesT1548.003 › AN0142

AN0142 Analytic 0142

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

<p>Correlate command executions involving 'sudo' with elevated effective user ID (euid=0), especially when tty_tickets is disabled or timestamp_timeout is actively abused.</p>
Detects
T1548.003 Sudo and Sudo Caching
Part of
DET0052 Behavioral Detection Strategy for Abuse of Sudo and Sudo Caching

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:SYSCALLexecve call for sudo where euid != uidDC0034 Process Metadata
auditd:SYSCALLexecve call for modification of /etc/sudoers or writing to /var/db/sudoDC0061 File Modification

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
timestamp_timeout_thresholdTune the valid sudo session duration to reduce false positives
command_allowlistFilter benign sudo usage (e.g., approved admin scripts)