-
Notifications
You must be signed in to change notification settings - Fork 807
Closed
Labels
FeatureIssue that describes a new feature to be implemented.Issue that describes a new feature to be implemented.
Description
Adversaries may clear the command history of a compromised account to conceal the actions undertaken during an intrusion.
Adding it as PBA:
- LINUX: 2 PBAs mapped to the same technique -
1. store value of [HISTFILE doesn't exist for non-interactive shells, can't do this in a script for all shells]$HISTFILE
temporarily, try to unset HISTFILE
(this makes it not store any subsequent commands); restore original
2. store shell history files temporarily, try clearing them; restore original (implementation would be similar to "modify shell startup files" PBA)
- WINDOWS: not applicable (Windows doesn't store commands)
Metadata
Metadata
Assignees
Labels
FeatureIssue that describes a new feature to be implemented.Issue that describes a new feature to be implemented.