Detections

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

1,666 detections

Identifies two successful logons for the same User ID from two different geographic locations in a timeframe that is physically impossible to travel between, indicating credential sharing or theft.
avatar
Google SecOps@GoogleSecOps
avatar
Google SecOps Detection Rules
6 months ago
206
This rule detects and monitors sign-in attempts to third-party Artificial Intelligence (AI) applications within an organization's environment. It identifies sign-ins to known AI vendors and tools by matching keywords in application display names and resource display names from Entra ID (formerly Azure AD) sign-in logs. The rule specifically excludes Microsoft's own Copilot products to focus on 'shadow AI' usage. It aggregates sign-in attempts, successes, failures, unique users, and common failure reasons to provide insights into the adoption and potential risks associated with unsanctioned AI tool usage.
avatar
F S@Fsdr
avatar
Detections.ai Community
7 months ago
612746
Identifies two sign-ins originating from geographically distant locations, where at least one of the locations may also be atypical for the user, given past behavior.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
Monitor and alert for device registration or join events where MFA was not performed.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
Detects risky authentication from a non AD registered device without MFA being required.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
Monitor and alert for sign-ins where the device was non-compliant.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
Monitor and alert for Sign-ins by unknown devices from non-Trusted locations.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
Detects a successful login to the Microsoft Intune Company Portal which could allow bypassing Conditional Access Policies and InTune device trust using a tool like TokenSmith.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
Detects when a Microsoft Cloud App Security reported when a user signs into your sanctioned apps from a risky IP address.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
Detects when a successful MFA authentication occurs due to the use of a bypass code.
A bypass code is a temporary passcode created by an administrator for a specific user to access a Duo-protected application. These are generally used as "backup codes," so that enrolled users who are having problems with their mobile devices (e.g., mobile service is disrupted, the device is lost or stolen, etc.) or who temporarily can't use their enrolled devices (on a plane without mobile data services) can still access their Duo-protected systems.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
Detects successful logon from public IP address via SMB. This can indicate a publicly-exposed SMB port.
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
Detects logon events that specify new credentials
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
This events that are generated when using the hacktool Ruler by Sensepost
avatar
SigmaHQ Detections@sigmaHQ
avatar
SigmaHQ
6 months ago
000
KQL Query from file: M365 Connector for Claude Detection
avatar
Steven Lim@KQLWizard
avatar
SlimKQL 2026
7 months ago
571860
This rule detects two related scenarios: 1. Device Code Phishing: Correlates successful device code authentications with subsequent device registrations for the same user within a short time frame. This can indicate an attacker using a phished device code to register a new device. 2. Primary Refresh Token (PRT) Device Registration: Identifies device registrations that occur after an authentication to the Device Registration Service using a Primary Refresh Token. This pattern is indicative of an attacker minting a PRT and then using it to register or join a device, potentially bypassing conditional access policies.
avatar
F S@Fsdr
avatar
Detections.ai Community
7 months ago
621666
Identifies successful logons for the same User ID from multiple different terminal IDs or client hostnames in a short timeframe, indicating potential credential sharing or session theft.
avatar
Google SecOps@GoogleSecOps
avatar
Google SecOps Detection Rules
6 months ago
001
This rule detects successful device registrations to the 'Device Registration Service' in Azure Entra. It specifically looks for sign-in events where the ResourceDisplayName is 'Device Registration Service', the ErrorCode is '0' (indicating success), and the ConditionalAccessStatus is not '1' (which typically means that conditional access did not block the authentication flow for device registration). The rule is pivotal for hunting devices registered for persistence, post-successful phishing campaign execution, where >= 1 accounts were compromised.
avatar
Aamir Muhammad@Aamir
avatar
Detections.ai Community
7 months ago
110188
Detects authentication attempts utilizing a specific synthetic mobile user agent (iOS 18 paired with Safari Version/26.x) observed in the EvilTokens device code phishing campaign. Version 26 does not exist on iOS 18.
avatar
Tim Peck@timpeck
avatar
Detections.ai Community
7 months ago
60200
Detects when a single user account successfully signs in from two or more distinct IP addresses within a short timeframe. This can be an indicator of an adversary-in-the-middle (AiTM) attack where both the legitimate user and the attacker have active, authenticated sessions from different locations.
avatar
g host@ghosty
avatar
Detections.ai Community
7 months ago
170398
Detects the creation of a new computer account (Event ID 4741) where the creating user is a known service account used by FortiGate appliances. Attackers who compromise FortiGate devices can steal embedded LDAP credentials and use them to join rogue workstations to the domain, leveraging the `mS-DS-MachineAccountQuota` attribute.
avatar
Ethan Andrews@eandrews
avatar
Federal Signal Detections
8 months ago
370223
This rule detects successful SSH login attempts from external IP addresses (not within common private IP ranges). It specifically looks for 'Accepted' messages in syslog from the 'sshd' process and filters out internal source IPs.
avatar
Ankit Mehta@Secvyn
avatar
Detections.ai Community
8 months ago
130116
Page 67 of 80