Techniques › T1690 › AN1556
AN1556 Analytic 1556
macOS · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Detection of bash/zsh history suppression via HISTFILE/HISTCONTROL manipulation and absence of ~/.bash_history updates. Observing environment variable changes tied to terminal processes is a strong indicator.</p>
- Detects
- T1690 Prevent Command History Logging
- Part of
- DET0563 Detection Strategy for Defense Impairment via Prevent Command History Logging across OS platforms.
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 | Set or unset HIST* variables in shell environment | DC0064 Command Execution |
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 |
|---|---|
ShellProfiles | Different shells (bash, zsh, fish) may require customized monitoring for history tampering. |