// MITRE ATT&CK

T1552.003 · Shell History

🎯 Credential Access LinuxmacOSWindows Sub-technique

Sub-technique of T1552 · Unsecured Credentials.

Adversaries may search the command history on compromised systems for insecurely stored credentials. On Linux and macOS systems, shells such as Bash and Zsh keep track of the commands users type on the command-line with the "history" utility. Once a user logs out, the history is flushed to the user...

How to detect & mitigate it

Detecting Shell History 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.