// MITRE ATT&CK

T1690 · Prevent Command History Logging

🎯 Defense Impairment ESXiLinuxmacOSNetwork DevicesWindows

Adversaries may impair command history logging to hide commands they run on a compromised system. Various command interpreters keep track of the commands users type in their terminal so that users can retrace what they have done. On Linux and macOS, command history is tracked in a file pointed to b...

How to detect & mitigate it

Detecting Prevent Command History Logging starts with your SIEM/EDR telemetry. Write a detection rule with the Sigma generator, analyze suspicious logs in the log analyzer, and place the technique on your coverage with the ATT&CK matrix.

Related techniques

Source: MITRE ATT&CK®. ATT&CK is a registered trademark of The MITRE Corporation. Content for educational purposes.