Detections

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

3,000 detections

This query detects attempts to add attacker devices as allowed IDs for active sync using the Set-CASMailbox command.
This technique was seen in relation to Solorigate attack but the results can indicate potential malicious activity used in different attacks.
- Note that this query can be changed to use the KQL "has_all" operator, which hasn't yet been documented officially, but will be soon.
In short, "has_all" will only match when the referenced field has all strings in the list.
- Refer to Set-CASMailbox syntax: https://docs.microsoft.com/powershell/module/exchange/set-casmailbox?view=exchange-ps
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2030
'Detects a successful logon by a privileged account from an ASN not logged in from in the last 14 days.
Monitor these logons to ensure they are legitimate and identify if there are any similar sign ins.'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0030
'This query will dynamically identify Exchange servers using common web paths used by the application in the csUriStem. The query
will then collect MDE alerts from the SecurityAlert table using the identified Exchange Server hostnames.'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
4029
Get stats on ASR audit events - count events and machines per rule.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
4028
This query provides insights into AIR investigation actions in Microsoft Defender for Office 365.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0028
'Identifies where Privileged Accounts have updated passwords or security information. This is joined with UEBA alerts to filter to only those accounts with a high investigation priority.
Ref : https://docs.microsoft.com/azure/active-directory/fundamentals/security-operations-privileged-accounts#things-to-monitor'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0028
'Detects when a Guest User is added by a user account that has not been seen adding a guest in the previous 14 days.
Monitoring guest accounts and the access they are provided is important to detect potential account abuse.
Accounts added should be investigated to ensure the activity was legitimate.
Ref: https://docs.microsoft.com/azure/active-directory/fundamentals/security-operations-user-accounts#monitoring-for-failed-unusual-sign-ins'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0028
'Detects a privileged role being added to a Service Principal.
Ensure that any assignment to a Service Principal is valid and appropriate - Service Principals should not be assigned to very highly privileged roles such as Global Admin.
Ref: https://docs.microsoft.com/azure/active-directory/fundamentals/security-operations-privileged-accounts#changes-to-privileged-accounts'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2028
'Detects when a privileged user account successfully authenticates from to another Microsoft Entra ID Tenant.
Authentication attempts should be investigated to ensure the activity was legitimate and if there is other similar activity.
Ref: https://docs.microsoft.com/azure/active-directory/fundamentals/security-operations-user-accounts#monitoring-for-successful-unusual-sign-ins'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0027
'This query identifies Active Directory computer objects modifications that allow an adversary to abuse the Resource-based constrained delegation.
This query checks for event id 5136 that the Object Class field is "computer" and the LDAP Display Name is "msDS-AllowedToActOnBehalfOfOtherIdentity" which is an indicator of Resource-based constrained delegation.
Ref: https://shenaniganslabs.io/2019/01/28/Wagging-the-Dog.html'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
3027
'Detects when a privileged user account successfully authenticates from a location, device or ASN that another admin has not logged in from in the last 7 days.
Privileged accounts are a key target for threat actors, monitoring for logins from these accounts that deviate from normal activity can help identify compromised accounts.
Authentication attempts should be investigated to ensure the activity was legitimate and if there is other similar activity.
Ref: https://docs.microsoft.com/azure/active-directory/fundamentals/security-operations-user-accounts#monitoring-for-successful-unusual-sign-ins'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1026
Looks for users who had a risky sign in (based on Entra ID Identity Protection risk score) and then performed and ElevateAccess action. ElevateAccess operations can be used by Global Admins to obtain permissions over Azure resources.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0025
Provides a summary of total number of detections
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1025
This query shows information about email that has been released from the Quarantine in Defender for Office 365.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0025
Find accounts that have been deleted and by whom
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1025
'Privileged Identity Management (PIM) generates alerts when there is suspicious or unsafe activity in Microsoft Entra ID (Azure AD) organization.
This query will help detect attackers attempts to disable in product PIM alerts which are associated with Azure MFA requirements and could indicate activation of privileged access'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0025
'Query identifies users denied registration for multiple webinars or recordings but successfully registered for at least one event. Threshold variable adjusts number of events user needs to be rejected from.'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0023
Added credential from country X and Signed-In from country Y in a pecific time window:
This query tries to find all applications that credentials were added to them from country X while the application's identity Signed-In from country Y in a specific time window.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2023
This query helps identifying when new items being added to the Tenant/Allow Block List (TABL) in Defender for Office 365.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0023
'This query looks at the last 14 days for "Consent to application" operation by a user/app which could potentially mean unauthorized access. Additional context is added from AuditLogs based on CorrleationId from the same account that performed the action.'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0023
'Identifies whenever a user account has the setting "Password Never Expires" in the user account properties selected.
This is indicated in Security event 4738 in the EventData item labeled UserAccountControl with an included value of %%2089.
%%2089 resolves to "Don't Expire Password - Enabled".'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
3023
Page 120 of 143