// MITRE ATT&CK

T1548.001 · Setuid and Setgid

🎯 Privilege Escalation LinuxmacOS Sub-technique

Sub-technique of T1548 · Abuse Elevation Control Mechanism.

An adversary may abuse configurations where an application has the setuid or setgid bits set in order to get code running in a different (and possibly more privileged) user’s context. On Linux or macOS, when the setuid or setgid bits are set for an application binary, the application will run with...

How to detect & mitigate it

Detecting Setuid and Setgid starts with your SIEM/EDR telemetry. Write a detection rule with the Sigma generator, analyze suspicious logs in the log analyzer, and place the technique on your coverage with the ATT&CK matrix.

Related techniques

Source: MITRE ATT&CK®. ATT&CK is a registered trademark of The MITRE Corporation. Content for educational purposes.