QuestionQ164

VerifiedDetecting Evasive and Post-Exploitation Techniques

Which of these files could an attacker modify to erase evidence of the commands most recently entered on a Linux system?

Explanation

Bash stores command-history entries in the file specified by HISTFILE, whose default is ~/.bash_history. Altering .bash_history can remove the saved record of recently entered Bash commands.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!