kevmap

TechniquesT1574.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 sourceChannelData component
macos:unifiedlogFile modification in /etc/paths.d or user shell rc filesDC0061 File Modification
macos:unifiedlogProcess execution path inconsistent with baseline PATH directoriesDC0032 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
WatchedPathsDirsMonitor /etc/paths.d and $HOME for unauthorized entries.
TrustedExecutablesBaseline applications expected in user PATH directories.