Detections

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

461 detections

Detects anomalous sign-in behavior where a device code authentication flow is initiated from one location, but the resulting session is replayed from a different IP address in a different country within a one-hour window. This behavior is indicative of an adversary capturing an authentication token via a device code phishing or relay attack and attempting to use it from their own infrastructure to bypass conditional access policies and MFA.
avatar
Arnold Chan@slaz
avatar
Detections.ai Community
2 months ago
005
Detects instances where a user authenticates via the device code flow and subsequently performs a device enrollment or registration action from an unusual or non-compliant device naming convention. This pattern is indicative of an adversary enrolling their own device to bypass MFA or gain persistent access to corporate resources.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
000
Detects an Azure AD Device Code authentication event followed within 60 seconds by a non-interactive Primary Refresh Token (PRT) sign-in event from the same user. This sequence is characteristic of adversary-in-the-middle (AiTM) phishing attacks where a user is tricked into authorizing a device code, and the adversary immediately leverages the resulting session/token to obtain a PRT for persistent access.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
000
This rule detects potential abuse of the device code authentication flow by correlating a successful device code login with a subsequent non-interactive sign-in using the 'python-requests' user agent for the same user within 10 minutes. This behavior is indicative of an attacker programmatically accessing resources or APIs immediately after gaining authorization via a device code phishing or relay attack.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
000
Detects suspicious Microsoft Intune device enrollment activities characterized by the use of a spoofed User-Agent (matching Microsoft Office/Outlook strings) and rapid, multiple enrollment attempts within a short timeframe. This behavior is associated with adversary use of device-code phishing kits to enroll rogue devices using stolen session tokens.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
000
This rule detects potential abuse of the device code authentication flow by correlating a successful device code login with a subsequent non-interactive sign-in using the 'python-requests' user agent for the same user within 10 minutes. This behavior is indicative of an attacker programmatically accessing resources or APIs immediately after gaining authorization via a device code phishing or relay attack.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
000
Detects rapid rotation of multiple unique IP addresses originating from the same user account shortly after a device code authentication event. This behavior is indicative of threat actors using proxy rotation services (like FlashProxy) to obfuscate their origin and bypass location-based security controls or impossible-travel detections after hijacking a session.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
000
Detects rapid rotation of multiple unique IP addresses originating from the same user account shortly after a device code authentication event. This behavior is indicative of threat actors using proxy rotation services (like FlashProxy) to obfuscate their origin and bypass location-based security controls or impossible-travel detections after hijacking a session.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
000
Detects anomalous sign-in activity originating from the Microsoft Authentication Broker or utilizing the OAuth device code flow, which are frequently abused by adversaries to perform OAuth phishing and obtain access tokens.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
000
Detects non-interactive Entra ID sign-ins utilizing the python-requests library, which suggests an automated polling mechanism. This is indicative of 'GhostCode' or similar device code phishing attacks where an adversary uses a stolen device code token to programmatically poll for a successful authorization grant.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
000
Detects anomalous, rapid registration of rogue devices following a device-code authentication flow. The rule identifies instances where an 'unbound' device registration is immediately followed by a 'bound' call to obtain Azure AD and Microsoft Graph tokens, or where a Primary Refresh Token (PRT) is acquired shortly after a device-code sign-in, indicating potential abuse of the device authorization grant flow by an attacker using phishing kits.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
000
Detects a successful user authentication event following a Microsoft OAuth 2.0 device authorization grant flow. This detection identifies scenarios where a user may have been phished into entering an attacker-supplied device code on a malicious Microsoft device login page, resulting in the attacker successfully obtaining OAuth tokens.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
000
Detects anomalous device registration activity where a single user principal registers three or more distinct devices within a short duration (2 minutes). This behavior is characteristic of device-code phishing attacks where adversaries abuse stolen device authorization codes to register multiple rogue devices, potentially for PRT (Primary Refresh Token) acquisition.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
000
Detects a suspected device code phishing (GhostCode) attack where a user authenticates via a device code flow, followed within 10 minutes by a non-interactive authentication request originating from a client utilizing the 'python-requests' user agent. This pattern is indicative of an adversary abusing a stolen device token to gain access to cloud resources.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
000
Detects potential device code phishing activity by identifying a successful device code authentication event followed shortly (within 10 minutes) by an interactive or API sign-in from the same user utilizing a Python-requests user agent, which is commonly associated with adversary-in-the-middle phishing kits.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
000
This rule detects user authentication events that deviate significantly from a 14-day historical baseline of known devices, operating systems, browsers, and network locations (ASN). It flags logins where at least two out of four key metadata signals (DeviceId, OS, Browser, ASN) have changed compared to the user's historical pattern, specifically targeting successful authentications that did not trigger a fresh multi-factor authentication (MFA) challenge, potentially indicating token theft or unauthorized session reuse.
avatar
Arnold Chan@slaz
avatar
Detections.ai Community
2 months ago
307
Detects Microsoft 365 sign-in events where a session token is reused without a fresh MFA challenge, originating from known residential proxy service providers. This behavior is indicative of threat actors using stolen session tokens (Session Replay) to bypass MFA protections.
avatar
Arnold Chan@slaz
avatar
Hunters
2 months ago
102
Detects anomalous sign-in behavior where a device code authentication flow is initiated from one location, but the resulting session is replayed from a different IP address in a different country within a one-hour window. This behavior is indicative of an adversary capturing an authentication token via a device code phishing or relay attack and attempting to use it from their own infrastructure to bypass conditional access policies and MFA.
avatar
Arnold Chan@slaz
avatar
Midnight Slayer
2 months ago
704
Detects high-frequency creation and revocation of service principal credentials, indicating potential malicious credential cycling, or unusual bursts of service account JWT/refresh token rotation across multiple IP addresses, which may indicate an attempt to evade detection or maintain persistence.
avatar
Arnold Chan@slaz
avatar
Midnight Slayer
2 months ago
002
Detects Microsoft 365 sign-in events where a session token is reused without a fresh MFA challenge, originating from known residential proxy service providers. This behavior is indicative of threat actors using stolen session tokens (Session Replay) to bypass MFA protections.
avatar
Arnold Chan@slaz
avatar
Detections.ai Community
2 months ago
106
Detects anomalous non-interactive sign-ins that bypass multi-factor authentication (MFA) requirements from a geographical location not previously seen in the user's historical sign-in baseline. This pattern is indicative of attackers using stolen OAuth access or refresh tokens to maintain persistence and bypass standard authentication controls.
avatar
Arnold Chan@slaz
avatar
Midnight Slayer
1 month ago
000
Page 12 of 22