Techniques › T1574.007 › AN0010
AN0010 Analytic 0010
Linux · attack.mitre.org · ATT&CK Enterprise v19.2
<p>User modification of the $PATH environment variable in shell configuration files or direct runtime PATH changes, followed by execution of binaries from user-controlled directories. Defender observes file edits to ~/.bashrc, ~/.profile, or /etc/paths.d and process execution resolving to unexpected binary locations.</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 |
|---|---|---|
| auditd:SYSCALL | open/write calls modifying ~/.bashrc, ~/.profile, or /etc/paths.d | DC0061 File Modification |
| linux:osquery | Execution of binary resolved from $PATH not located in /usr/bin or /bin | 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 |
|---|---|
MonitoredShellConfigs | Set of shell startup files where PATH changes should be flagged. |
AllowedUserBins | Directories (e.g., /usr/local/bin) considered safe to avoid FP. |