LoFP LoFP / legitimate script that disables the command history

Techniques

Sample rules

Disable Powershell Command History

Description

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

Detection logic

condition: selection
selection:
  ScriptBlockText|contains|all:
  - Remove-Module
  - psreadline