Browse Rules

Search and filter across all detection sources

45 rules

chronicle critical yara-l

Office 365 logging is disabled

Detect when the Unified Audit Log is disabled

chronicle critical yara-l

Office 365 logging has been enabled

Detect when the Unified Audit Log is enabled

anvilogic medium spl

O365 Auto Forward [splunk-o365]

An email forwarding rule in Office 365 could be a "forever data breach". -- Threat Actor Association: SEABORGIUM

anvilogic high spl

O365 Login Events [splunk-apply_al(avl_r7397)]

This use case looks for O365 Login Events. - Threat Actor Association: Lapsus$

anvilogic high spl

O365 New Management Role Assignment [splunk-o365]

Use case looks for when a new role has been assigned to a management group in Office 365. Adversaries may use this tactic for continued persistence. - Threat Actor Association: Lapsus$

anvilogic high spl

Azure Impossible Travels Sign-in [splunk-azure]

This use case looks for user signins from multiple locations by time and distance.

anvilogic high spl

O365 Impossible Travels Sign-in [splunk-o365]

This use case looks for user signins from multiple locations by time and distance.

anvilogic medium spl

O365 Inbox Rules [splunk-o365]

This use case looks for potential malicious activity regard inbox rules. -- Threat Actor Association: Lapsus$, SEABORGIUM

anvilogic high spl

O365 Multiple signins from Same IP address [splunk-o365]

This use case looks for multiple signings from the same IP address.

anvilogic high spl

O365 Rare User Agent Login [splunk-apply_al(avl_r10402)]

This use case looks for rare user agent logins per run time, or logins from the same user with more than 1 user agent per run time

anvilogic high spl

O365 Brute Force Signin [splunk-o365]

This use case looks for potential brute force attacks on users. Look for a specific number of login and failures events with a failure and a success.

elastic low kql

M365 Threat Intelligence Signal

Identifies Microsoft 365 audit logs generated for Threat Intelligence signals by Microsoft Defender for Office 365. This includes phishing and malware events, campaign-related threat detections, file-based threats in SharePoint, OneDrive, and Teams, as well as Microsoft Threat Intelligence Center (MSTIC) signals. These events provide early indicators of compromise attempts and can be correlated with other signals for threat hunting and detection.

splunk unknown spl

O365 Advanced Audit Disabled

The following analytic detects instances where the O365 advanced audit is disabled for a specific user within the Office 365 tenant. It uses O365 audit logs, focusing on events related to audit license changes in AzureActiveDirectory workloads. This activity is significant because the O365 advanced audit provides critical logging and insights into user and administrator activities. Disabling it can blind security teams to potential malicious actions. If confirmed malicious, attackers could opera

elastic medium kql

M365 Exchange Email Safe Link Policy Disabled

Identifies when a Safe Link policy is disabled in Microsoft 365. Safe Link policies for Office applications extend phishing protection to documents that contain hyperlinks, even after they have been delivered to a user.

anvilogic high spl

O365 MFA Addition [splunk-o365]

This use case looks the addition of a MFA device onto a user account. Malicious activity could likely initiate from a compromised account with the threat actor establishing persistence the new MFA device

anvilogic medium spl

O365 New Export Request [splunk-o365]

This use case looks for exchange cmdlet to output email into a pst file. Adversaries may use these commands in order to exfiltrate sensitive information. -- Threat Actor Association: CL-STA-0043, SEABORGIUM

splunk unknown spl

O365 ApplicationImpersonation Role Assigned

The following analytic detects the assignment of the ApplicationImpersonation role in Office 365 to a user or application. It uses the Office 365 Management Activity API to monitor Azure Active Directory audit logs for role assignment events. This activity is significant because the ApplicationImpersonation role allows impersonation of any user, enabling access to and modification of their mailbox. If confirmed malicious, an attacker could gain unauthorized access to sensitive information, manip

anvilogic low spl

O365 Common Recon Commands [splunk-o365]

Detect Common Exchange cmdlet reconnaissance commands used by attackers in order to collect information and/or to spread malware within the network after gaining access to a machine. - Threat Actor Association: APT29/Nobelium/Cozy Bear, CL-STA-0043

elastic high kql

M365 Potential AiTM UserLoggedIn via Office App (Tycoon2FA)

Detects Microsoft 365 audit "UserLoggedIn" events consistent with Tycoon 2FA phishing-as-a-service (PhaaS) adversary-in-the-middle (AiTM) activity: the Microsoft Authentication Broker requesting access where the object identifier matches Microsoft Graph or Exchange Online, or the Office web client application authenticating to itself, combined with Node.js-style user agents (node, axios, undici). Tycoon 2FA bypasses MFA by relaying authentication and capturing session material, often targeting M

anvilogic medium spl

O365 Mailbox Tampering [splunk-o365]

This use case detects instances where a single user performs a combination of AddFolderPermissions, UpdateInboxRules, and MailItemsAccessed events within a short time window. Threat actors may chain these actions to establish persistence, redirect inbound emails, or covertly access and exfiltrate sensitive messages after compromising a mailbox.

elastic low kql

M365 AIR Investigation Signal

Identifies Microsoft 365 Automated Investigation and Response (AIR) events including automated investigations, manual investigations, and admin-initiated actions. These events track Microsoft's automated threat response activities and can indicate active threats being remediated. This building block rule generates security events for correlation, threat hunting, and telemetry collection to provide visibility into automated response actions.

elastic low kql

M365 Quarantine and Hygiene Signal

Identifies Microsoft 365 email quarantine, hygiene, and mail submission events. These signals indicate blocked threats, spam filtering actions, and user-reported suspicious emails. While these represent blocked or mitigated threats, they provide valuable telemetry for understanding attempted attacks and attack patterns. This building block rule generates security events for correlation, threat hunting, and telemetry collection.

anvilogic high spl

O365 Modify Exchange Access Settings [splunk-o365]

Set-CASMailbox cmdlet to configure client access settings on a mailbox. For example, you can configure settings for Exchange ActiveSync, Outlook, Outlook on the web, POP3, and IMAP4. Attacker added their own devices as allowed IDs for active sync. - Threat Actor Association: APT29/Nobelium/Cozy Bear

bertjanp unknown kql

Office activities performed by a compromised account

This query can be used to get a quick overview of all office activities that have been performed by a compromised account. In a IR scenario this can be used to determine if more applications or users need to be investiated. In a Forensic scenario this query can be used to determine which actions have been performed by this account. Microsoft states the following on the information that is stored: Audit logs for Office 365 tenants collected by Azure Sentinel. Including Exchange, SharePoint and Te

bertjanp unknown kql

Office activities performed by a compromised account

This query can be used to get a quick overview of all office activities that have been performed by a compromised account. In a IR scenario this can be used to determine if more applications or users need to be investiated. In a Forensic scenario this query can be used to determine which actions have been performed by this account. Microsoft states the following on the information that is stored: Audit logs for Office 365 tenants collected by Azure Sentinel. Including Exchange, SharePoint and Te