Detections

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

3,749 detections

Identifies anomalous increases in Exchange mail items accessed operations.
The query leverages KQL built-in anomaly detection algorithms to find large deviations from baseline patterns.
Sudden increases in execution frequency of sensitive actions should be further investigated for malicious activity.
Manually change scorethreshold from 1.5 to 3 or higher to reduce the noise based on outliers flagged from the query criteria.
Read more about MailItemsAccessed- https://docs.microsoft.com/microsoft-365/compliance/advanced-audit?view=o365-worldwide#mailitemsaccessed
Query insprired by Azure Sentinel detection https://github.com/Azure/Azure-Sentinel/blob/master/Detections/OfficeActivity/MailItemsAccessedTimeSeries.yaml
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0038
Credentials were added to an application by UserA, after the application was granted admin consent rights by UserB
The Nobelium activity group has been observed adding credentials (x509 keys or password credentials) for one or more legitimate OAuth Applications or Service Principals, usually with existing Mail.Read or Mail.ReadWrite permissions, which grants the ability to read mail content from Exchange Online via Microsoft Graph or Outlook REST. Examples include mail archiving applications.
See Customer Guidance on Recent Nation-State Cyber Attacks for more on the Nobelium campaign (formerly known as Solorigate).
See Grant tenant-wide admin consent to an application for how to add admin consent to an application.
More Nobelium-related queries can be found listed under the See also section of this document.
References:
https://msrc-blog.microsoft.com/2020/12/13/customer-guidance-on-recent-nation-state-cyber-attacks/
https://docs.microsoft.com/azure/active-directory/manage-apps/grant-admin-consent
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
6037
This query visualises total emails with Phish detections over time summarizing the data daily by Phish detection technologies/controls used for detecting unknown-unique phish
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1037
This query helps reviewing URL click count by ClickAction
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1036
This will show Active Directory Security Token Service (STS) refresh token modifications by Service Principals and Applications other than DirectorySync. Refresh tokens are used to validate identification and obtain access tokens. This event is most often generated when legitimate administrators troubleshoot frequent Entra ID user sign-ins but may also be generated as a result of malicious token extensions. Confirm that the activity is related to an administrator legitimately modifying STS refresh tokens and check the new token validation time period for high values.
Query insprired by Azure Sentinel detection https://github.com/Azure/Azure-Sentinel/blob/master/Detections/AuditLogs/StsRefreshTokenModification.yaml
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0036
This query helps in reviewing top policies for user overrides (Allow/Block)
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0021
As described in previous guidance, Nobelium may re-purpose legitimate existing OAuth Applications in the environment to their own ends. However, malicious activity patterns may be discernable from legitimate ones.
The following query returns OAuth Applications that access mail both directly and via Graph, allowing review of whether such dual access methods follow expected use patterns.
Reference - https://msrc-blog.microsoft.com/2020/12/13/customer-guidance-on-recent-nation-state-cyber-attacks/
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1035
In this query, we are looking for Url clicks on emails which are generated the alert-A potentially malicious URL click was detected
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0035
This query helps hunting for email conversation take over attempts
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2035
This query finds the 10 latest logons performed by email recipients within 30 minutes after they received known malicious emails. You can use this query to check whether the accounts of the email recipients have been compromised.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
3035
'Identifies when multiple (more than one) users mailboxes are configured to forward to the same destination.
This could be an attacker-controlled destination mailbox configured to collect mail from multiple compromised user accounts.'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1035
This query helps you review all OAuth applications accessing user mail via Graph. It could return a significant number of results depending on how many applications are deployed in the environment.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0034
This query helps hunting for Automated email notifications and suspicious sign-in activity
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2034
This query helps in determining clickthroughs when email delivered because of detection overrides.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1033
This detection approach correlates a user accessing an email with image/document attachments and a risky sign-in attempt from non-trusted devices.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0033
This query helps hunt for emails with malicious URLs based on external IOC source
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0032
This query was originally published on Twitter, by @MsftSecIntel.
The query helps detect emails associated with a campaign that has used open redirector URLs. The campaign's URLs begin with the distinct pattern, hxxps://t. Attackers use URL redirection to manipulate users into visiting a malicious website or to evade detection.
Reference - https://twitter.com/MsftSecIntel
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1031
This query helps hunting for Emails containing links to IP addresses
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1031
This query visualises total emails with Malware detections summarizing the data by ThreatNames of the malware detected.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1031
This query visualises total emails with Phish detections over time summarizing the data daily by various Phish Detection technologies/controls
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2031
This query helps reviewing incoming email messages where the Display Name of the sender contains own or other partner company/brand name
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0030
Page 159 of 179