Detections

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

55 detections

This rule identifies risky sign-in attempts in Azure Active Directory where the sign-in originates from an IP address that has not been seen before or has been seen fewer than 3 times in the last 29 days for that specific user. It filters out guest users, non-compliant devices, and unmanaged devices, focusing on sign-ins with an aggregated risk level greater than 1 and a sign-in risk level of 50 or higher. Excluded applications are specified to reduce false positives.
avatar
Benjamin Zulliger@benscha
avatar
Detections.ai Community
1 year ago
91141,381
This detection rule flags events where conditional access policies are getting weaker, when modifications to CA inclusion or exclusion groups are happening, or when the effectiveness of a policy is disabled.
avatar
Robbe Van den Daele@RobbeVdDaele
avatar
Detections.ai Community
1 year ago
70118
Detects when an application or service principal performs sensitive configuration changes, likely via the Microsoft Graph API. This can indicate an attacker using a compromised or malicious application for persistence (adding credentials), privilege escalation (adding owners), or defense evasion (modifying Conditional Access policies). This aligns with the "Consent & Compromise" research where attackers abuse application permissions.
avatar
R W@shiftyroot
avatar
Detections.ai Community
1 year ago
193267
KQL Query from file: Conditional Access Report
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
50102
KQL Query
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
7075
In this detection,we hunt for any sign-in attempt from a non-managed, non-compliant, untrusted device.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
80123
'Looks for new device registrations following a risky user account sign-in. By default the
query will use a 6 hour lookback period, this can be configured within the query.'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2061
This query looks for users performing file deletion activities. Spikes in file deletion observed from risky sign-in sessions are flagged here.
This applies to SharePoint and OneDrive users.
Audit event and Cloud application identifier references.
Reference - https://learn.microsoft.com/microsoft-365/compliance/audit-log-activities?view=o365-worldwide
Reference - https://learn.microsoft.com/azure/sentinel/entities-reference#cloud-application-identifiers
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0046
'This query over Microsoft Entra ID sign-in activity highlights Microsoft Entra ID apps with
an unusually high ratio of distinct geolocations versus total number of authentications'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2038
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
'Detects a Conditional Access Policy being modified by a user who has not modified a policy in the last 14 days.
A threat actor may try to modify policies to weaken the security controls in place.
Investigate any change to ensure they are approved.
Ref: https://docs.microsoft.com/azure/active-directory/fundamentals/security-operations-infrastructure#conditional-access'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
2032
'Identifies an interrupted sign-in session from a country the user has not sign-in before in the last 7 days, where the password was correct. Although the session is interrupted by other controls such as multi factor authentication or conditional access policies, the user credentials should be reset due to logs indicating a correct password was observed during sign-in.'
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
6028
'Example query for SigninLogs showing how to break out packed fields. In this case extending conditional access Policies '
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
0022
Page 3 of 3