Use Of Remove-Item to Delete File - ScriptBlock
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
PowerShell Remove-Item with -Path to delete a file or a folder with "-Recurse"
Severity
Attention
Rule Requirement
Criteria
Action1: actionname = "PowerShell Script Block Logged" AND SCRIPTEXECUTED contains "Remove-Item -Path ,del -Path ,erase -Path ,rd -Path ,ri -Path ,rm -Path ,rmdir -Path " select Action1.HOSTNAME,Action1.MESSAGE,Action1.SCRIPTEXECUTED
Detection
Execution Mode
realtime
Log Sources
Windows
Author
frack113


