PowerShell Deleted Mounted Share

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects when when a mounted share is removed. Adversaries may remove share connections that are no longer useful in order to clean up traces of their operation

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "PowerShell Script Block Logged" AND SCRIPTEXECUTED contains "Remove-SmbShare,Remove-FileShare" select Action1.HOSTNAME,Action1.MESSAGE,Action1.SCRIPTEXECUTED

Detection

Execution Mode

realtime

Log Sources

Windows

Author

oscd.community, @redcanary, Zach Stanford @svch0st