Techniques › T1574.007 › AN0011
AN0011 Analytic 0011
macOS · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Modification of PATH or HOME environment variables through shell config files, launchctl, or /etc/paths.d entries, combined with process execution from attacker-controlled directories. Defender correlates file changes in /etc/paths.d with process execution resolving to malicious binaries.</p>
- Detects
- T1574.007 Path Interception by PATH Environment Variable
- Part of
- DET0004 Detection Strategy for Hijack Execution Flow using Path Interception by PATH Environment Variable.
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 | File modification in /etc/paths.d or user shell rc files | DC0061 File Modification |
| macos:unifiedlog | Process execution path inconsistent with baseline PATH directories | DC0032 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.
| Field | Description |
|---|---|
WatchedPathsDirs | Monitor /etc/paths.d and $HOME for unauthorized entries. |
TrustedExecutables | Baseline applications expected in user PATH directories. |