Skip to content
STAGE33R
ATT&CK v20.1synced 3h ago
T1552.003 Sub-technique · MITRE ATT&CK v20.1

Unsecured Credentials: Shell History

Open in the graph · Export · Pro+

Free accountSee the full profile with a free accountFree accounts read the complete description and the first related items; Pro shows every linked technique, software, campaign, CVE and indicator.Create a free accountSign in

01 Description

modified 2026-11-04

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's history file. For each user, this file resides at the same location: for example, ~/.bash_history or `~/.zsh_histor…

03 Who uses it

Threat actors

1
None recorded by MITRE.

Campaigns

1
None recorded by MITRE.

Malware

3
None recorded by MITRE.

Tools

0
None recorded by MITRE.
04 Mitigations
MITRE lists no mitigation for this technique (often because it abuses normal system features).