Skip to content
STAGE33R
ATT&CK v20.1synced 2h ago
T1690 Technique · MITRE ATT&CK v20.1

Prevent Command History Logging

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-05-12

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 by the environment variable HISTFILE. When a user logs off a system, this information is flushed to a file in the user'…

03 Who uses it

Threat actors

4
None recorded by MITRE.

Campaigns

2
None recorded by MITRE.

Malware

6
None recorded by MITRE.

Tools

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