Exchange mailbox activities (per-item) M365-ExchangeItem

8 operations, identified by Operation in the audit log.

OperationDescription
_catch_allCatch-all for M365-ExchangeItem rules matching the RecordType but no specific Operation.
Add-MailboxFolderPermissionA permission entry was added to a mailbox folder (UAL operation AddFolderPermissions), granting a delegate access to a specific folder.
Add-MailboxPermissionFullAccess (delegate) mailbox permission was granted, allowing another user to access the mailbox; logged as a mailbox activity even when an admin performs it.
HardDeleteA mailbox item was permanently deleted (hard-deleted) and is not recoverable from the Deleted Items folder.
MoveToDeletedItemsA mailbox item was moved to the Deleted Items folder.
New-InboxRuleA mailbox owner or delegate created an inbox rule in Outlook web app, commonly abused for auto-forwarding or deletion of evidence.
Set-InboxRuleA mailbox owner or delegate modified an inbox rule in Outlook web app.
SoftDeleteA mailbox item was soft-deleted (moved to the Recoverable Items / Deleted Items dumpster and recoverable by the user).

_catch_all: Exchange mailbox activities (per-item) (catch-all)

#
RecordType
M365-ExchangeItem

Description

Catch-all for M365-ExchangeItem rules matching the RecordType but no specific Operation.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe name of the user or admin activity. For Exchange admin activity this is the cmdlet name; for DLP it is DlpRuleMatch/DlpRuleUndo/DlpInfo. The per-event discriminator (event.action in Elastic ECS).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether the action succeeded: Succeeded, PartiallySucceeded, or Failed (True/False for Exchange admin). For STS-logon events this reflects only the HTTP operation, not logon success: check LogonError.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
LogonTypeType of user who accessed the mailbox and performed the operation (Owner, Admin, Delegate, ...).
MailboxOwnerUPNEmail address of the person who owns the accessed mailbox.
MailboxGuidExchange GUID of the accessed mailbox.
LogonUserSidSID of the user who performed the operation.
ExternalAccessTrue if the logon user's domain differs from the mailbox owner's domain.
ClientInfoStringInformation about the email client used (browser/Outlook version, mobile device info).
ClientIPAddressIP address of the device used when the operation was logged.
ClientProcessNameThe email client used to access the mailbox.
SessionIdUnique session identifier; helps separate attacker actions from day-to-day activity on a compromised account.

References #

Add-MailboxFolderPermission

#
RecordType
M365-ExchangeItem

Description

A permission entry was added to a mailbox folder (UAL operation AddFolderPermissions), granting a delegate access to a specific folder.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe name of the user or admin activity. For Exchange admin activity this is the cmdlet name; for DLP it is DlpRuleMatch/DlpRuleUndo/DlpInfo. The per-event discriminator (event.action in Elastic ECS).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether the action succeeded: Succeeded, PartiallySucceeded, or Failed (True/False for Exchange admin). For STS-logon events this reflects only the HTTP operation, not logon success: check LogonError.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
LogonTypeType of user who accessed the mailbox and performed the operation (Owner, Admin, Delegate, ...).
MailboxOwnerUPNEmail address of the person who owns the accessed mailbox.
MailboxGuidExchange GUID of the accessed mailbox.
LogonUserSidSID of the user who performed the operation.
ExternalAccessTrue if the logon user's domain differs from the mailbox owner's domain.
ClientInfoStringInformation about the email client used (browser/Outlook version, mobile device info).
ClientIPAddressIP address of the device used when the operation was logged.
ClientProcessNameThe email client used to access the mailbox.
SessionIdUnique session identifier; helps separate attacker actions from day-to-day activity on a compromised account.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
OperationinAdd-MailboxFolderPermission1 rulekusto, splunk
OperationinAdd-MailboxPermission1 rulekusto
OperationinNew-InboxRule1 rulekusto, splunk
OperationinNew-ManagementRoleAssignment1 rulekusto
OperationinSet-InboxRule1 rulekusto, splunk
OperationinSet-Mailbox1 rulekusto
OperationinSet-TransportRule1 rulekusto

Detection Rules #

View all rules referencing this event →

Kusto #

References #

Add-MailboxPermission

#
RecordType
M365-ExchangeItem

Description

FullAccess (delegate) mailbox permission was granted, allowing another user to access the mailbox; logged as a mailbox activity even when an admin performs it.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe name of the user or admin activity. For Exchange admin activity this is the cmdlet name; for DLP it is DlpRuleMatch/DlpRuleUndo/DlpInfo. The per-event discriminator (event.action in Elastic ECS).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether the action succeeded: Succeeded, PartiallySucceeded, or Failed (True/False for Exchange admin). For STS-logon events this reflects only the HTTP operation, not logon success: check LogonError.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
LogonTypeType of user who accessed the mailbox and performed the operation (Owner, Admin, Delegate, ...).
MailboxOwnerUPNEmail address of the person who owns the accessed mailbox.
MailboxGuidExchange GUID of the accessed mailbox.
LogonUserSidSID of the user who performed the operation.
ExternalAccessTrue if the logon user's domain differs from the mailbox owner's domain.
ClientInfoStringInformation about the email client used (browser/Outlook version, mobile device info).
ClientIPAddressIP address of the device used when the operation was logged.
ClientProcessNameThe email client used to access the mailbox.
SessionIdUnique session identifier; helps separate attacker actions from day-to-day activity on a compromised account.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
OperationinAdd-MailboxFolderPermission1 rulekusto, splunk
OperationinAdd-MailboxPermission1 rulekusto
OperationinNew-InboxRule1 rulekusto, splunk
OperationinNew-ManagementRoleAssignment1 rulekusto
OperationinSet-InboxRule1 rulekusto, splunk
OperationinSet-Mailbox1 rulekusto
OperationinSet-TransportRule1 rulekusto

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange Mailbox High-Risk Permission Delegated source low: Identifies the assignment of rights to access content from another mailbox. An adversary may use the compromised account to send messages to other accounts in the network of the target organization while creating inbox rules, so messages can evade spam/phishing detection mechanisms.

Kusto #

References #

HardDelete

#
RecordType
M365-ExchangeItem

Description

A mailbox item was permanently deleted (hard-deleted) and is not recoverable from the Deleted Items folder.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe name of the user or admin activity. For Exchange admin activity this is the cmdlet name; for DLP it is DlpRuleMatch/DlpRuleUndo/DlpInfo. The per-event discriminator (event.action in Elastic ECS).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether the action succeeded: Succeeded, PartiallySucceeded, or Failed (True/False for Exchange admin). For STS-logon events this reflects only the HTTP operation, not logon success: check LogonError.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
LogonTypeType of user who accessed the mailbox and performed the operation (Owner, Admin, Delegate, ...).
MailboxOwnerUPNEmail address of the person who owns the accessed mailbox.
MailboxGuidExchange GUID of the accessed mailbox.
LogonUserSidSID of the user who performed the operation.
ExternalAccessTrue if the logon user's domain differs from the mailbox owner's domain.
ClientInfoStringInformation about the email client used (browser/Outlook version, mobile device info).
ClientIPAddressIP address of the device used when the operation was logged.
ClientProcessNameThe email client used to access the mailbox.
SessionIdUnique session identifier; helps separate attacker actions from day-to-day activity on a compromised account.

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange MFA Notification Email Deleted or Moved source low: Identifies when an MFA enrollment, registration, or security notification email is deleted or moved to deleted items in Microsoft 365 Exchange. Adversaries who compromise accounts and register their own MFA device often delete the notification emails to cover their tracks and prevent the legitimate user from noticing the unauthorized change. This technique is commonly observed in business email compromise (BEC) and account takeover attacks.↳ also matches MoveToDeletedItems, SoftDelete

References #

MoveToDeletedItems

#
RecordType
M365-ExchangeItem

Description

A mailbox item was moved to the Deleted Items folder.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe name of the user or admin activity. For Exchange admin activity this is the cmdlet name; for DLP it is DlpRuleMatch/DlpRuleUndo/DlpInfo. The per-event discriminator (event.action in Elastic ECS).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether the action succeeded: Succeeded, PartiallySucceeded, or Failed (True/False for Exchange admin). For STS-logon events this reflects only the HTTP operation, not logon success: check LogonError.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
LogonTypeType of user who accessed the mailbox and performed the operation (Owner, Admin, Delegate, ...).
MailboxOwnerUPNEmail address of the person who owns the accessed mailbox.
MailboxGuidExchange GUID of the accessed mailbox.
LogonUserSidSID of the user who performed the operation.
ExternalAccessTrue if the logon user's domain differs from the mailbox owner's domain.
ClientInfoStringInformation about the email client used (browser/Outlook version, mobile device info).
ClientIPAddressIP address of the device used when the operation was logged.
ClientProcessNameThe email client used to access the mailbox.
SessionIdUnique session identifier; helps separate attacker actions from day-to-day activity on a compromised account.

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange MFA Notification Email Deleted or Moved source low: Identifies when an MFA enrollment, registration, or security notification email is deleted or moved to deleted items in Microsoft 365 Exchange. Adversaries who compromise accounts and register their own MFA device often delete the notification emails to cover their tracks and prevent the legitimate user from noticing the unauthorized change. This technique is commonly observed in business email compromise (BEC) and account takeover attacks.↳ also matches HardDelete, SoftDelete

References #

New-InboxRule

#
RecordType
M365-ExchangeItem

Description

A mailbox owner or delegate created an inbox rule in Outlook web app, commonly abused for auto-forwarding or deletion of evidence.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe name of the user or admin activity. For Exchange admin activity this is the cmdlet name; for DLP it is DlpRuleMatch/DlpRuleUndo/DlpInfo. The per-event discriminator (event.action in Elastic ECS).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether the action succeeded: Succeeded, PartiallySucceeded, or Failed (True/False for Exchange admin). For STS-logon events this reflects only the HTTP operation, not logon success: check LogonError.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
LogonTypeType of user who accessed the mailbox and performed the operation (Owner, Admin, Delegate, ...).
MailboxOwnerUPNEmail address of the person who owns the accessed mailbox.
MailboxGuidExchange GUID of the accessed mailbox.
LogonUserSidSID of the user who performed the operation.
ExternalAccessTrue if the logon user's domain differs from the mailbox owner's domain.
ClientInfoStringInformation about the email client used (browser/Outlook version, mobile device info).
ClientIPAddressIP address of the device used when the operation was logged.
ClientProcessNameThe email client used to access the mailbox.
SessionIdUnique session identifier; helps separate attacker actions from day-to-day activity on a compromised account.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
EventTypeinNew-InboxRule3 ruleselastic
EventTypeinSet-InboxRule3 ruleselastic
OperationeqNew-InboxRule3 ruleskusto, sigma, splunk
m365::Parameterscontainsdeletemessage3 ruleskusto, sigma
m365::Parameterscontainsdeleted items2 ruleskusto
m365::Parameterscontainsjunk email2 ruleskusto
BodyContainsWordscontainsphishing2 ruleskusto
BodyContainsWordscontains alert1 rulekusto
BodyContainsWordscontains suspicious1 rulekusto
BodyContainsWordscontainsdo not click1 rulekusto
BodyContainsWordscontainsdo not open1 rulekusto
BodyContainsWordscontainsfake1 rulekusto
Provider_NameeqExchange2 ruleselastic
SubjectContainsWordscontainsphishing2 ruleskusto
SubjectOrBodyContainsWordscontainsphishing2 ruleskusto

Detection Rules #

View all rules referencing this event →

Sigma #

  • Inbox Rules Creation Or Update Activity in O365 source medium: 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.↳ also matches Set-InboxRule

Elastic #

  • M365 Exchange Inbox Forwarding Rule Created source medium: Identifies when a new Inbox forwarding rule is created in Microsoft 365. Inbox rules process messages in the Inbox based on conditions and take actions. In this case, the rules will forward the emails to a defined address. Attackers can abuse Inbox Rules to intercept and exfiltrate email data without making organization-wide configuration changes or having the corresponding privileges.↳ also matches Set-InboxRule
  • M365 Exchange Inbox Rule with Obfuscated Name source medium: Identifies when a Microsoft Exchange inbox rule is created or modified with a name composed only of special characters. Adversaries may use obfuscated inbox rule names to evade detection, hide malicious forwarding or deletion rules, or blend in with benign audit noise. The rule name is parsed from "o365.audit.ObjectId", which encodes the mailbox identity and rule name separated by a backslash.↳ also matches Set-InboxRule
  • M365 Exchange Inbox Phishing Evasion Rule Created source medium: Identifies when a user creates a new inbox rule in Microsoft 365 that deletes or moves emails containing suspicious keywords. Adversaries who have compromised accounts often create inbox rules to hide alerts, security notifications, or other sensitive messages by automatically deleting them or moving them to obscure folders. Common destinations include Deleted Items, Junk Email, RSS Feeds, and RSS Subscriptions. This is a New Terms rule that triggers only when the user principal name and associated source IP address have not been observed performing this activity in the past 14 days.↳ also matches Set-InboxRule

Kusto #

References #

Set-InboxRule

#
RecordType
M365-ExchangeItem

Description

A mailbox owner or delegate modified an inbox rule in Outlook web app.

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe name of the user or admin activity. For Exchange admin activity this is the cmdlet name; for DLP it is DlpRuleMatch/DlpRuleUndo/DlpInfo. The per-event discriminator (event.action in Elastic ECS).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether the action succeeded: Succeeded, PartiallySucceeded, or Failed (True/False for Exchange admin). For STS-logon events this reflects only the HTTP operation, not logon success: check LogonError.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
LogonTypeType of user who accessed the mailbox and performed the operation (Owner, Admin, Delegate, ...).
MailboxOwnerUPNEmail address of the person who owns the accessed mailbox.
MailboxGuidExchange GUID of the accessed mailbox.
LogonUserSidSID of the user who performed the operation.
ExternalAccessTrue if the logon user's domain differs from the mailbox owner's domain.
ClientInfoStringInformation about the email client used (browser/Outlook version, mobile device info).
ClientIPAddressIP address of the device used when the operation was logged.
ClientProcessNameThe email client used to access the mailbox.
SessionIdUnique session identifier; helps separate attacker actions from day-to-day activity on a compromised account.

Common Indicators #

Field/value combinations most frequently checked by detection rules targeting this event, derived from cross-vendor predicate analysis.

FieldKindValueRulesVendors
EventTypeinNew-InboxRule3 ruleselastic
EventTypeinSet-InboxRule3 ruleselastic
Provider_NameeqExchange2 ruleselastic
OperationeqNew-InboxRule1 rulekusto, sigma, splunk
OperationeqSet-InboxRule1 rulesigma, splunk
OperationinAdd-MailboxFolderPermission1 rulekusto, splunk
OperationinAdd-MailboxPermission1 rulekusto
OperationinNew-InboxRule1 rulekusto, splunk
OperationinNew-ManagementRoleAssignment1 rulekusto
OperationinSet-InboxRule1 rulekusto, splunk
OperationinSet-Mailbox1 rulekusto
OperationinSet-TransportRule1 rulekusto
m365::ObjectIdis_not_null1 ruleelastic
m365::Parameterscontainsdeletemessage1 rulekusto, sigma

Detection Rules #

View all rules referencing this event →

Sigma #

  • Inbox Rules Creation Or Update Activity in O365 source medium: 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.↳ also matches New-InboxRule

Elastic #

  • M365 Exchange Inbox Forwarding Rule Created source medium: Identifies when a new Inbox forwarding rule is created in Microsoft 365. Inbox rules process messages in the Inbox based on conditions and take actions. In this case, the rules will forward the emails to a defined address. Attackers can abuse Inbox Rules to intercept and exfiltrate email data without making organization-wide configuration changes or having the corresponding privileges.↳ also matches New-InboxRule
  • M365 Exchange Inbox Rule with Obfuscated Name source medium: Identifies when a Microsoft Exchange inbox rule is created or modified with a name composed only of special characters. Adversaries may use obfuscated inbox rule names to evade detection, hide malicious forwarding or deletion rules, or blend in with benign audit noise. The rule name is parsed from "o365.audit.ObjectId", which encodes the mailbox identity and rule name separated by a backslash.↳ also matches New-InboxRule
  • M365 Exchange Inbox Phishing Evasion Rule Created source medium: Identifies when a user creates a new inbox rule in Microsoft 365 that deletes or moves emails containing suspicious keywords. Adversaries who have compromised accounts often create inbox rules to hide alerts, security notifications, or other sensitive messages by automatically deleting them or moving them to obscure folders. Common destinations include Deleted Items, Junk Email, RSS Feeds, and RSS Subscriptions. This is a New Terms rule that triggers only when the user principal name and associated source IP address have not been observed performing this activity in the past 14 days.↳ also matches New-InboxRule

Kusto #

References #

SoftDelete

#
RecordType
M365-ExchangeItem

Description

A mailbox item was soft-deleted (moved to the Recoverable Items / Deleted Items dumpster and recoverable by the user).

Fields #

NameDescription
RecordTypeAuditLogRecordType enum value (named string in Sentinel OfficeActivity; integer in the raw Management Activity API JSON).
OperationThe name of the user or admin activity. For Exchange admin activity this is the cmdlet name; for DLP it is DlpRuleMatch/DlpRuleUndo/DlpInfo. The per-event discriminator (event.action in Elastic ECS).
WorkloadThe Microsoft 365 service where the activity occurred (Exchange, SharePoint, AzureActiveDirectory, MicrosoftTeams, ...). Surfaces as event.provider in Elastic ECS.
ResultStatusWhether the action succeeded: Succeeded, PartiallySucceeded, or Failed (True/False for Exchange admin). For STS-logon events this reflects only the HTTP operation, not logon success: check LogonError.
UserIdUPN of the user who performed the action; system-account and app@sharepoint values also appear.
UserTypeType of actor: Regular, Admin, System, DcAdmin, Application, ServicePrincipal.
UserKeyAlternative ID for the user (the PUID for SharePoint / OneDrive / Exchange events).
ClientIPIPv4/IPv6 address of the device used; may be a trusted-app IP, and is null for Microsoft Entra ID events.
ObjectIdFor SharePoint/OneDrive, the full path of the file/folder; for Exchange admin, the object modified by the cmdlet; shape is operation-specific.
OrganizationIdGUID of the tenant's Office 365 organization (constant per tenant).
IdUnique identifier (GUID) for the audit record.
CreationTimeUTC date/time when the audit record was generated.
ScopeSource of the event: online (a Microsoft 365 service) or onprem (an on-premises service; currently SharePoint only).
AppAccessContextApplication context for the user or service principal that performed the action.
LogonTypeType of user who accessed the mailbox and performed the operation (Owner, Admin, Delegate, ...).
MailboxOwnerUPNEmail address of the person who owns the accessed mailbox.
MailboxGuidExchange GUID of the accessed mailbox.
LogonUserSidSID of the user who performed the operation.
ExternalAccessTrue if the logon user's domain differs from the mailbox owner's domain.
ClientInfoStringInformation about the email client used (browser/Outlook version, mobile device info).
ClientIPAddressIP address of the device used when the operation was logged.
ClientProcessNameThe email client used to access the mailbox.
SessionIdUnique session identifier; helps separate attacker actions from day-to-day activity on a compromised account.

Detection Rules #

View all rules referencing this event →

Elastic #

  • M365 Exchange MFA Notification Email Deleted or Moved source low: Identifies when an MFA enrollment, registration, or security notification email is deleted or moved to deleted items in Microsoft 365 Exchange. Adversaries who compromise accounts and register their own MFA device often delete the notification emails to cover their tracks and prevent the legitimate user from noticing the unauthorized change. This technique is commonly observed in business email compromise (BEC) and account takeover attacks.↳ also matches HardDelete, MoveToDeletedItems

References #