Disable Powershell Command History
Last updated on:
Applies to: Log360Log360 Cloud
In this page
About the rule
Rule Type
Standard
Rule Description
Detects scripts or commands that disabled the Powershell command history by removing psreadline module
Severity
Trouble
Rule Requirement
Criteria
Action1:
actionname = "PowerShell Script Block Logged" AND SCRIPTEXECUTED contains "Remove-Module" AND SCRIPTEXECUTED contains "psreadline"
select Action1.HOSTNAME,Action1.MESSAGE,Action1.SCRIPTEXECUTED,Action1.DOMAIN,Action1.SCRIPTPATH,Action1.PATH,Action1.USERNAME
Detection
Execution Mode
realtime
Log Sources
Windows
Author
Ali Alwashali


