Techniques › T1548.001 › AN0308
AN0308 Analytic 0308
macOS · attack.mitre.org · ATT&CK Enterprise v19.2
<p>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).</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 source | Channel | Data component |
|---|---|---|
| macos:unifiedlog | chmod command with arguments including '+s', 'u+s', or numeric values 4000–6777 | DC0064 Command Execution |
| macos:unifiedlog | exec of binary with setuid/setgid and EUID != UID | DC0034 Process Metadata |
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.
| Field | Description |
|---|---|
UserContext | Monitor execution chains where UID != EUID or child process inherits root without known sudo context |
ExecutionPath | Focus on binaries in user-writable locations or abnormal directories |
ChmodPattern | Tailor detection to chmod commands that imply privilege elevation via numeric mode or symbolic mode |
KEV CVEs whose mapped technique this analytic detects
| CVE | Vendor / product | State |
|---|---|---|
| CVE-2023-0386 | Linux Kernel | Stale |