Detections

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

3,867 detections

Identifies when the same privilege role has multiple activations by the same user, which could indicate an attempt to bypass time-based access restrictions or an adversary repeatedly activating a role for malicious purposes. This alert is triggered by the 'sequentialActivationRenewalsAlertIncident' risk event type in Azure PIM.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0020
This rule identifies an event where the number of accounts assigned the Global Administrator role in Azure Active Directory (now Microsoft Entra ID) exceeds a predefined threshold. This is detected by monitoring the 'tooManyGlobalAdminsAssignedToTenantAlertIncident' risk event type from Azure PIM (Privileged Identity Management). A high number of Global Administrators can increase the attack surface and risk of privilege abuse or compromise.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0020
Detects when user access has been blocked by Azure Conditional Access policies. This indicates that token issuance was denied, which could be a sign of unauthorized login attempts to valid accounts.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0020
Detects when a user without the necessary permissions attempts to invite a guest user in an Azure environment, indicated by a failed 'Invite external user' operation in the audit logs. This could signify an attempt at unauthorized access, privilege escalation, or persistence.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0019
This rule detects the successful creation of a new administrative account within an Azure environment. It specifically looks for audit log entries indicating both 'Add user' and 'Add member to role' actions occurring successfully, which signifies a user being created and then assigned a privileged role.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0019
Detects failed authentication attempts originating from geographic locations (countries) that are not part of the organization's approved operational regions. This rule helps identify potential unauthorized access attempts or credential stuffing attacks from unexpected sources.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0019
This rule detects changes to an application's Uniform Resource Identifier (URI) configuration within Azure. Such changes can include modifications to domain names, protocol usage (e.g., switching from HTTPS), the introduction of wildcards, or URIs pointing to uncontrolled domains. These types of modifications can be indicative of an attacker attempting to redirect traffic, establish persistence, or facilitate other malicious activities by altering how an application is accessed or interacts with external resources.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0018
Detects when a user has been elevated to manage all Azure Subscriptions. This change should be investigated immediately if it isn't planned. This setting could allow an attacker access to Azure subscriptions in your environment.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
1 year ago
0018
This detection identifies when a user successfully authenticates from a country for the first time within a given period. It establishes a baseline of known countries for each user and alerts on any successful login originating from a country not present in that baseline. This behavior can indicate compromised credentials being used from an unusual location, or a legitimate user traveling to a new country.
avatar
Tech Creaatives@Techcreaatives
avatar
Detections.ai Community
1 year ago
180244
KQL Query
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
342856
This analytic identifies the modification of the SourceAnchor (ImmutableId) attribute for an Azure Active Directory user. This detection leverages Azure AD audit logs, specifically monitoring the "Update user" operation and changes to the SourceAnchor attribute. This activity is significant as it is a step in setting up an Azure AD identity federation backdoor, allowing an adversary to establish persistence. If confirmed malicious, the attacker could impersonate any user, bypassing password and MFA requirements, leading to unauthorized access and potential data breaches.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
1 year ago
2057
This analytic detects the addition of a new federated domain within an Azure Active Directory tenant. It identifies successful "Set domain authentication" operations in Azure AD AuditLogs. This activity is significant as it may indicate the use of the Azure AD identity federation backdoor technique, allowing an adversary to establish persistence. If confirmed malicious, the attacker could impersonate any user, bypassing password and MFA requirements, potentially leading to unauthorized access and control over the Azure AD environment.
Splunk Security@SplunkSecurity
avatar
Splunk Security Content
1 year ago
1054
Researching about how to classify ISP based on different factors, I created a query based on ISP sign-in attempts.
avatar
Sergio Albea@Sergio_Albea
avatar
01 | 🇨🇭 Swiss Cyber Hunters
1 year ago
130206
KQL Query from file: Palo Alto Scanning Surges Detection
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
174734
This rule detects potential device code phishing attempts by correlating URL click events with sign-in logs using the 'deviceCode' authentication protocol. It specifically looks for successful or failed sign-ins (result types 0, 50074, 50076, 500121) that occur after a user clicks on a URL.
avatar
Ankit Mehta@Secvyn
avatar
Detections.ai Community
1 year ago
241442
KQL Query
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
5991,686
Detects potential Multi-Factor Authentication (MFA) fatigue attacks by identifying a high number of MFA denial events for a single user within a short timeframe. This rule specifically looks for sign-in logs where the user explicitly declined the authentication prompt, indicating a possible attempt by an attacker to bombard the user with MFA requests until they approve one.
avatar
Mervin Bouah@MervSecSpecialist
avatar
Detections.ai Community
1 year ago
222435
This rule detects suspicious sign-in attempts to Microsoft services (login.microsoftonline.com, graph.microsoft.com, outlook.office365.com) that occur within 30 minutes of a user clicking on a URL associated with these services. The sign-in is considered suspicious if it originates from a user agent commonly used by automated tools (e.g., axios, curl, python-requests, httpclient, Go-http-client) and is flagged with a 'atRisk' or 'high' risk level by Azure AD. This combination suggests a potential credential compromise following a phishing attempt, where an attacker might be using automated tools to leverage stolen credentials.
avatar
Ankit Mehta@Secvyn
avatar
Detections.ai Community
1 year ago
351421
This rule detects instances where a user clicks on a URL identified as potentially malicious (phishing-related) and subsequently has a risky sign-in event in Azure AD. The rule correlates URL click events from email with Azure AD sign-in logs, specifically looking for sign-ins marked as risky or originating from suspicious user agents (e.g., specific axios versions). The phishing URLs are identified by keywords such as 'azureapplicationregistration.pages.dev', 'chrnobinson.com', 'workers.dev', '.pages.dev', '.web.core.windows.net', '/oauth2/v2.0/authorize', 'client_id=', and 'scope=openid'.
avatar
Ankit Mehta@Secvyn
avatar
Detections.ai Community
1 year ago
281294
This rule identifies successful user sign-ins originating from IP addresses known to belong to VPN services. It leverages an external list of VPN IP ranges to correlate with Azure AD SigninLogs. This can indicate an attempt to bypass geo-restrictions, hide true origin, or could be legitimate use of a VPN by an employee.
avatar
Ankit Mehta@Secvyn
avatar
Detections.ai Community
1 year ago
81268
Detects .NET DLLs containing hardcoded Azure Storage Account credentials, such as access keys or SAS tokens. This technique was observed in the Axis Communications plugin for Autodesk Revit, where it could have enabled a supply chain attack.
avatar
Tim Peck@timpeck
avatar
Detections.ai Community
1 year ago
1072
Page 150 of 185