Detections

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

94 detections

KQL Query
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
50138
KQL Query
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
100128
KQL Query
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
40122
KQL Query from file: Detecting FIDO2 Passkey Abuse
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
50114
KQL Query
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
100114
KQL Query from file: Monitor Azure API Secrets Extraction
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
5097
KQL Query
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
6090
KQL Query
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
4082
KQL Query from file: OAuth app using the OD file picker permission
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
6081
KQL Query from file: Detecting EXO MS Graph Enumeration Attacks
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
113137
KQL Query from file: Detect Copilot Plugin Installation
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
4047
'This query looks for diagnostic settings that are removed from a resource.
This could indicate an attacker or malicious internal trying to evade detection before malicious act is performed.
If the diagnostic settings are being deleted as part of a parent resource deletion, the event is ignores.'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
3082
'Identifies a match for SQL Injection attack in the Application gateway WAF logs. The Threshold value in the query can be changed as per your infrastructure's requirement.
References: https://owasp.org/Top10/A03_2021-Injection/'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2057
This query looks for anomalies in mail item access events made by Graph API. It uses standard deviation to determine if the number of events is anomalous. The query returns all clientIDs where the amount of mail sent per day was larger than value given by the formula, 'average + STDThreshold(2.5)*(standard deviation)'.
See The MailItemsAccessed mailbox auditing action.
Reference - https://docs.microsoft.com/microsoft-365/compliance/mailitemsaccessed-forensics-investigations?view=o365-worldwide#the-mailitemsaccessed-mailbox-auditing-action
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0051
'Identifies when a new user is granted access and starts creating resources in Azure. This can help you identify rogue or malicious user behavior.'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2049
"This query searches for any action type with high frequency that involves adding, modifying, or removing something in cloud app policies. It sees where the properties are modified such that the old value and new value are different for every property except for minor property changes such as Display Name."
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
5046
Use this query to review OAuth applications whose behaviour has changed as compared to a prior baseline period. The following query returns OAuth Applications accessing user mail via Graph that did not do so in the preceding week.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0045
This query will find applications that have been granted Mail.Read or Mail.ReadWrite permissions in which the corresponding user recently consented to. It can help identify applications that have been abused to gain access to user email.
The actor, Nobelium, was observed modifying existing tenant application permissions to allow them to read user email through the Microsoft Graph API. See Customer Guidance on Recent Nation-State Cyber Attacks.
This query is insprired by an Azure Sentinel detection.
References:
https://msrc-blog.microsoft.com/2020/12/13/customer-guidance-on-recent-nation-state-cyber-attacks/
https://github.com/Azure/Azure-Sentinel/blob/master/Detections/AuditLogs/MailPermissionsAddedToApplication.yaml
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2042
"This query searches for any files in Cloud App Events that have trigger a security alert."
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1041
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
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
Page 4 of 5