kevmap

TechniquesT1548.003 › AN0143

AN0143 Analytic 0143

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

<p>Detect sudo activity with NOPASSWD in /etc/sudoers or disabling tty_tickets, followed by immediate privileged commands (e.g., echo 'Defaults !tty_tickets' >> /etc/sudoers).</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
macos:unifiedlogexec or sudo usage with NOPASSWD context or echo modifying sudoersDC0064 Command Execution
macos:unifiedlogTerminal process killed (killall Terminal) immediately after sudoers modificationDC0033 Process Termination

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
admin_user_contextDefine allowed users who may modify sudoers without investigation
terminal_restart_windowTime window after sudoers file change to monitor for Terminal restarts