Defense Evasion (TA0005)(external, opens in a new tab or window)
text code block: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 M365 Exchange Inbox Phishing Evasion Rule Created 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(external, opens in a new tab or window).