Detections

Explore public detection logic contributed by the community across SIEM and rule languages.

3,750 detections

The are some cases where InternetMessageIds contain a date integrated, sometimes encoded, sometimes not. Therefore, we have two timestamps to compare:

- InternetMessageId date → usually when the sending system generated the message.
- Timestamp (EmailEvents) → when Microsoft received/processed the email.

So if we compare “when it was created” vs “when it arrived”, we can detect cases such as emails created by the system but, due to local configuration, email campaigns that deliver slowly, or messages that were postponed compared to when they were received by Microsoft.
The ratio of true positive was really high and multiple emails were not detected as a Threat so good case to add as a detection.
avatar
Sergio Albea@Sergio_Albea
avatar
01 | 🇨🇭 Swiss Cyber Hunters
6 months ago
200664
I don't know how many time I suffered malicious actors sharing links via Microsoft services such as SharePoint or other sites manipulating them for phishing, malware, or other malicious purposes.

I have seen multiple detections to detect phishing campaigns based on subjects, such as detecting when an email subject ends with “with you” or contains “shared.” However, if the original mailbox is configured in another language, these rules become useless.

This change specifying the InternetMessageID value odspnotify and, in addition, specifying the first part of the InternetMessageId, which tells us the action requested or performed by the email—in this case, share.

For this detection, I recommend adding your trusted domains, but it is incredibly useful to detect when links from Microsoft systems are shared with your users from unexpected domains.
avatar
Sergio Albea@Sergio_Albea
avatar
01 | 🇨🇭 Swiss Cyber Hunters
6 months ago
241590
https://www.microsoft.com/en-us/security/blog/2026/04/18/crosstenant-helpdesk-impersonation-data-exfiltration-human-operated-intrusion-playbook/
avatar
Steven Lim@KQLWizard
avatar
SlimKQL 2026
7 months ago
8221,262
Detects the creation or modification of inbox rules that move messages to rarely checked folders like Archive, RSS Subscriptions, Conversation History, Junk Email, or Deleted Items. This is a common post-exploitation technique used to hide fraudulent communications (BEC, payroll fraud) or suppress security alerts, MFA notifications, and password reset emails from the victim. Approximately 10% of compromised accounts have malicious mailbox rules created shortly after initial access.
avatar
Tim Peck@timpeck
avatar
Detections.ai Community
7 months ago
470820
Detects when certificate based authentication has been enabled in an Azure Active Directory tenant.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
003
Detects newly added root certificate authority to an AzureAD tenant to support certificate based authentication.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
003
Monitor and alert on group membership additions of groups that have CA policy modification access
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
002
Identifies when an user or application modified the federation settings on the domain.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
001
Monitor and alert on group membership removal of groups that have CA policy modification access
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
001
Detects when a PIM elevation is approved or denied. Outside of normal operations should be investigated.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
001
Detects when a temporary access pass (TAP) is added to an account. TAPs added to priv accounts should be investigated
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
001
Detects when a Microsoft Cloud App Security reported a risky sign-in attempt due to a login associated with an impossible travel.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
001
Detects instances where an email, identified as malicious or suspicious by the Microsoft Defender for Office 365 (formerly ATP) engine, was delivered to a user's Inbox or Junk folder.
It might indicate that a potential threat, such as a spearphishing attachment or links, has bypassed initial blocking mechanisms and reached an end-user, requiring further investigation and potential remediation.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
001
Detects the creation or modification of Exchange Online inbox rules, transport rules, or mailbox settings where the rule name consists exclusively of special characters. This pattern can be indicative of malicious activity, such as an attacker attempting to hide a forwarding rule or other automated action by using an obscure name.
avatar
Tim Peck@timpeck
avatar
Detections.ai Community
7 months ago
463807
Monitor and alert on conditional access changes where non approved actor removed CA Policy.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
Monitor and alert on conditional access changes. Is Initiated by (actor) approved to make changes? Review Modified Properties and compare "old" vs "new" value.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
Monitor and alert on conditional access changes.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
Detects when an account was created and deleted in a short period of time.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
Monitor and alert for Bitlocker key retrieval.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
Monitor and alert for changes to the device registration policy.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
Monitor and alert for users added to device admin roles.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
Page 134 of 179