Anti-Forensics
Account Misuse
Audit Trail Saturation
Clear Browser Artifacts
Clear Email Artifacts
Code Contribution Obfuscation and Misrepresentation
Cross-System Activity Fragmentation
Decrease Privileges
Delayed Execution Triggers
Delete User Account
Deletion of Volume Shadow Copy
Disable Logging
Disk Wiping
File Deletion
File Encryption
Hide Artifacts
Hiding or Destroying Command History
Incremental Data Collection
Log Deletion
Log Modification
Message Deletion
Message Modification
Modify Windows Registry
Network Obfuscation
Parent Process ID Spoofing
Physical Destruction of Storage Media
Physical Removal of Disk Storage
Retention Window Exploitation
Rootkit
Stalling
Steganography
System Shutdown
System Time Modification
Timestomping
Tripwires
Trusted Tool Misuse
Uninstalling Software
Virtualization
- ID: AF001.004
- Created: 05th August 2026
- Updated: 05th August 2026
- Contributor: The ITM Team
Clear Zsh History
A subject clears, truncates, redirects, or suppresses Z shell (Zsh) command history to prevent executed commands from being reviewed. The subject may delete or truncate the history file, clear commands held within the current session, change or unset the HISTFILE parameter, reduce the number of commands retained through SAVEHIST, redirect history to a non-persistent location, or modify shell startup files to prevent future commands from being written.
The Zsh history file is commonly stored as .zsh_history within the subject’s home directory, although its location is determined by the configured HISTFILE parameter. Investigators should examine the presence, size, timestamps, and contents of the history file; changes to .zshrc and other shell configuration files; macOS File System Events; and process or endpoint telemetry showing commands that do not appear in the surviving history.