Techniques › T1548.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 source | Channel | Data component |
|---|---|---|
| macos:unifiedlog | exec or sudo usage with NOPASSWD context or echo modifying sudoers | DC0064 Command Execution |
| macos:unifiedlog | Terminal process killed (killall Terminal) immediately after sudoers modification | DC0033 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.
| Field | Description |
|---|---|
admin_user_context | Define allowed users who may modify sudoers without investigation |
terminal_restart_window | Time window after sudoers file change to monitor for Terminal restarts |