VeriKQL by Kaushik Saha

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 sourceIn Microsoft Sentinel
auditd:SYSCALLexecve call for sudo where euid != uidNot mapped to Sentinel yet.
auditd:SYSCALLexecve call for modification of /etc/sudoers or writing to /var/db/sudoNot 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 sourceIn Microsoft Sentinel
macos:unifiedlogexec or sudo usage with NOPASSWD context or echo modifying sudoersNot mapped to Sentinel yet.
macos:unifiedlogTerminal process killed (killall Terminal) immediately after sudoers modificationNot mapped to Sentinel yet.

Content Hub rules tagged with it (0)

No Content Hub rule is tagged with this technique.

Rules tagged with this technique (or a sub-technique) in their metadata. Whether one fits your connectors is the coverage view (M2).

In Sigma rules

3 SigmaHQ community rules name it in their tags.

Community rules, not Microsoft's, and not checked by VeriKQL (Sigma is not KQL). From SigmaHQ/sigma at f083329, under the Detection Rule License (DRL) 1.1; each rule is credited to its author.

Mitigations

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.