Threat intelligence / Mitigation
Bash History Mitigation
There are multiple methods of preventing a user's command history from being flushed to their .bash_history file, including use of the following commands: set +o history and set -o history to start logging again; unset HISTFILE being added to a user's .bash_rc file; and ln -s /dev/null ~/.bash_history to write commands to /dev/null instead.
Mitigation
TypeMitigation
External ID—
First seen2026-08-14
Last seen2026-08-14
Confidence
—
There are multiple methods of preventing a user's command history from being flushed to their .bash_history file, including use of the following commands: set +o history and set -o history to start logging again; unset HISTFILE being added to a user's .bash_rc file; and ln -s /dev/null ~/.bash_history to write commands to /dev/null instead.
0 recorded
Relationships
No relationships recorded.
1 external