kevmap

TechniquesT1548.001 › AN0307

AN0307 Analytic 0307

Linux · attack.mitre.org · ATT&CK Enterprise v19.2

<p>Correlation of chmod operations setting setuid/setgid bits followed by privileged process execution (EUID != UID), especially from user-writable or abnormal paths.</p>
Detects
T1548.001 Setuid and Setgid
Part of
DET0110 Setuid/Setgid Privilege Abuse Detection (Linux/macOS)

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 sourceChannelData component
auditd:SYSCALLchmod, execveDC0064 Command Execution
auditd:SYSCALLexecveDC0032 Process Creation

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.

FieldDescription
UserContextTrack execution of setuid binaries where UID != EUID or executed from unexpected user context
FilePathScopeRestrict detection to non-standard locations (e.g., /tmp, /home/*, /var/tmp)
TimeWindowTime delta between chmod setting setuid/gid and process execution to define a suspicious window

KEV CVEs whose mapped technique this analytic detects

CVEVendor / productState
CVE-2023-0386Linux KernelStale