event.dataset: "o365.audit" and
event.action: "New-InboxRule" and event.outcome: "success" and
o365.audit.Parameters.SubjectContainsWords: (
*phish* or
*hack* or
*alert* or
*malware* or
*security* or
*invoice* or
*payment* or
*wire* or
*transfer* or
*fraud* or
*reset* or
*unusual* or
*protection* or
*login* or
*suspicious*
) and (
o365.audit.Parameters.DeleteMessage: True or
o365.audit.Parameters.MoveToFolder: (
*Deleted* or
*Junk* or
*RSS*
)
)
Install detection rules in Elastic Security
Detect Microsoft 365 Suspicious Inbox Rule to Delete or Move Emails in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(opens in a new tab or window).