Suspicious PowerShell Mailbox Export to Share - PS

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects usage of the powerShell New-MailboxExportRequest Cmdlet to exports a mailbox to a remote or local share, as used in ProxyShell exploitations

Severity

Critical

Rule Requirement

Criteria

Action1: actionname = "PowerShell Script Block Logged" AND SCRIPTEXECUTED contains "New-MailboxExportRequest" AND SCRIPTEXECUTED contains " -Mailbox " AND SCRIPTEXECUTED contains " -FilePath \" select Action1.HOSTNAME,Action1.MESSAGE,Action1.SCRIPTEXECUTED

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Nasreddine Bencherchali (Nextron Systems)