Sigma rule: Inbox Rules Creation Or Update Activity in O365

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-9b80ab44f5b2, updated 2026-01-09T00:00:00.000Z.

Rule

Title
Inbox Rules Creation Or Update Activity in O365
Status
experimental
Level
medium
Author
Marco Pedrinazzi (@pedrinazziM) (InTheCyber)
Date
2026-01-09
File
rules-threat-hunting/cloud/m365/audit/microsoft365_susp_inbox_rule_creation_or_update_activity.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects inbox rule creation or update via O365 Audit logs, a technique commonly observed in Business Email Compromise (BEC) attacks to hide emails.
The usage of inbox rules can be a sign of a compromised mailbox, where an attacker is attempting to evade detections by suppressing or redirecting incoming emails.
Analysts should review these rules in context, validate whether they reflect normal user behavior, and correlate with other indicators such as unusual login activity or recent mailbox rule modifications.

Log source

product
m365
service
audit
definition
Requirements: The 'Parameters' field is a list of dict. A correct mapping to the 'Value' field inside is recommended to avoid greedy search

Detection

selection:
    Operation:
        - 'New-InboxRule'
        - 'Set-InboxRule'
    Parameters|contains:
        - 'DeleteMessage'
        - 'MarkAsRead'
        - 'MoveToFolder'
        - 'SubjectOrBodyContainsWords'
condition: selection

False positives (as the rule lists them)

  • Legitimate inbox rules created by users or administrators to manage email flow such as filtering, organizing, or automating email handling.

Tags

  • attack.stealth
  • attack.t1564.008
  • attack.exfiltration
  • attack.collection
  • attack.t1114.003
  • detection.threat-hunting

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-threat-hunting/cloud/m365/audit/microsoft365_susp_inbox_rule_creation_or_update_activity.yml

Sources and licences

  • SigmaHQ

    "Inbox Rules Creation Or Update Activity in O365" by Marco Pedrinazzi (@pedrinazziM) (InTheCyber) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-threat-hunting/cloud/m365/audit/microsoft365_susp_inbox_rule_creation_or_update_activity.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Inbox Rules Creation Or Update Activity in O365",
entity page, dataset version ref-9b80ab44f5b2, updated 2026-01-09T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/d3577be1-42c9-44a7-b56e-2e8de97349d3 (accessed 2026-11-03).
Underlying source: SigmaHQ rule d3577be1-42c9-44a7-b56e-2e8de97349d3, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.