Print History File Contents
Description
Detects events in which someone prints the contents of history files to the commandline or redirects it to a file for reconnaissance
Query · sigma
selection: Image|endswith: - /cat - /head - /tail - /more selection_history: - CommandLine|contains: - /.bash_history - /.zsh_history - CommandLine|endswith: - _history - .history - zhistory condition: all of selection*
Known false positives
- Legitimate administration activities