T1548.003 Sudo and Sudo Caching
Privilege Escalationon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0052 Behavioral Detection Strategy for Abuse of Sudo and Sudo Caching
AN0142 Linux
Correlate command executions involving 'sudo' with elevated effective user ID (euid=0), especially when tty_tickets is disabled or timestamp_timeout is actively abused.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve call for sudo where euid != uid | Not mapped to Sentinel yet. |
auditd:SYSCALLexecve call for modification of /etc/sudoers or writing to /var/db/sudo | Not mapped to Sentinel yet. |
AN0143 macOS
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).
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogexec or sudo usage with NOPASSWD context or echo modifying sudoers | Not mapped to Sentinel yet. |
macos:unifiedlogTerminal process killed (killall Terminal) immediately after sudoers modification | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (0)
No Content Hub rule is tagged with this technique.
In Sigma rules
3 SigmaHQ community rules name it in their tags.
- Sudo Privilege Escalation CVE-2019-14287 - Builtin
- Sudo Privilege Escalation CVE-2019-14287
- Persistence Via Sudoers Files
Mitigations
M1022Restrict File and Directory PermissionsM1026Privileged Account ManagementM1028Operating System Configuration
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.