VeriKQL by Kaushik Saha

T1548.001 Setuid and Setgid

Privilege Escalationon attack.mitre.org

ATT&CK Enterprise 20.0 · 20.1 released, update in review

How MITRE detects it

DET0110 Setuid/Setgid Privilege Abuse Detection (Linux/macOS)

AN0307 Linux

Correlation of chmod operations setting setuid/setgid bits followed by privileged process execution (EUID != UID), especially from user-writable or abnormal paths.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLchmod, execveNot mapped to Sentinel yet.
auditd:SYSCALLexecveNot mapped to Sentinel yet.

AN0308 macOS

Observation of chmod commands setting setuid/setgid bits, paired with launch of binaries under elevated execution context (e.g., root-owned binaries launched by unprivileged users).

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogchmod command with arguments including '+s', 'u+s', or numeric values 4000–6777Not mapped to Sentinel yet.
macos:unifiedlogexec of binary with setuid/setgid and EUID != UIDNot 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

2 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.