Suspicious PowerShell Mailbox SMTP Forward Rule

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects usage of the powerShell Set-Mailbox Cmdlet to set-up an SMTP forwarding rule.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "PowerShell Script Block Logged" AND SCRIPTEXECUTED contains "Set-Mailbox " AND SCRIPTEXECUTED contains " -DeliverToMailboxAndForward " AND SCRIPTEXECUTED contains " -ForwardingSmtpAddress " select Action1.HOSTNAME,Action1.MESSAGE,Action1.SCRIPTEXECUTED

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Nasreddine Bencherchali (Nextron Systems)