Back to results

Disable Powershell Command History

Detects scripts or commands that disabled the Powershell command history by removing psreadline module

Detection logic

Detection requirements

Platform
ESXiLinuxmacOSNetwork DevicesWindows

The rule states no platform. This is derived from the ATT&CK technique it maps to.

Log source product
windows
Log source category
ps_script

Known benign triggers

  • Legitimate script that disables the command history

Detections can measure how the public catalogue is used — which detections people look for, and which pages bring them here. It sets a cookie that recognises this browser for 180 days. It is never linked to an account and never follows you to other sites. Privacy notice