Detections

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

461 detections

Detects the 'GhostCode' attack pattern where an adversary acquires a Primary Refresh Token (PRT) shortly after a successful OAuth device code authentication. This correlation identifies potential session hijacking or token theft resulting from an adversary-controlled device registration.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
102
Detects anomalous Entra ID sign-in patterns characterized by a single session ID replayed from multiple diverse source IP addresses and Autonomous System Numbers (ASNs) within a short timeframe. This behavior is indicative of Session Hijacking (AiTM/Adversary-in-the-Middle) where an attacker maintains persistence by proxying requests through a residential network to bypass conditional access policies and evade location-based threat detection.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
302
This rule detects non-interactive sign-in events to common Microsoft services (e.g., OfficeHome, Outlook) where the User-Agent string contains 'axios/1.7.9'. This pattern is frequently associated with Adversary-in-the-Middle (AiTM) phishing kits that use the Axios library to automate token replay attacks by simulating browser sign-in requests.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
002
Detects potential abuse of stolen OAuth session tokens, where refresh tokens are used to authenticate after a user has performed a password reset. This rule identifies accounts that continue to sign in from previously unseen devices or IP addresses within 24 hours post-password reset, a technique consistent with session persistence mechanisms used by adversary tools and platforms like EvilTokens.
avatar
Arnold Chan@slaz
avatar
Detection & Hunting Community
1 month ago
002
Detects an administrator account rapidly granting mailbox permissions (Add-MailboxPermission, Add-RecipientPermission, Set-MailboxFolderPermission) to a large number of objects within a short timeframe (15 minutes). The rule correlates this activity with a prior 'risky' sign-in or a sign-in using device-code flow, indicative of potential EvilToken or similar adversary-in-the-middle proxy-based session hijacking.
avatar
Arnold Chan@slaz
avatar
Detections.ai Community
1 month ago
102
This rule detects a correlation between high-risk or anomaly-flagged sign-ins and subsequent changes to B2B guest invitation or tenant collaboration policies by the same user account within a 30-minute window. This behavior is indicative of an adversary who has successfully hijacked a session (e.g., via AiTM or token replay) and is attempting to establish persistence or pivot by inviting external accounts or modifying B2B security settings.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
001
Detects instances where end users grant high-risk delegated permissions (e.g., Mail.Read, Files.ReadWrite.All) to applications via OAuth consent flows outside of standard administrator approval processes. This behavior is indicative of device-code phishing or consent phishing campaigns designed to gain unauthorized access to user data.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
000
Detects instances where an existing, non-interactive SSO session token is reused from a suspicious network location, such as an anonymizing proxy, VPN, or VPS, or triggered by an impossible travel risk event. The rule specifically looks for token usage that lacks a fresh interactive Multi-Factor Authentication (MFA) challenge, a common indicator of session token hijacking or 'replay' attacks frequently used in cloud account takeover campaigns.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
000
Detects a sequence of suspicious identity activities indicative of a post-account-takeover pivot. The rule identifies a user profile engaging in corporate VPN SAML SSO probing, triggering a MFA enrollment interrupt in Azure, and subsequently accessing multiple Microsoft 365 applications (Azure Portal, OfficeHome, SharePoint) within a 30-minute window.
avatar
Ankit Mehta@Secvyn
avatar
Detections.ai Community
1 month ago
001
Detects anomalous authentication behavior consistent with Adversary-in-the-Middle (AiTM) phishing attacks, specifically where an MFA-authenticated session is accessed from multiple, disjoint geographic locations or IP addresses within a short timeframe, indicating the replay of stolen session tokens.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
000
Detects Microsoft Entra ID service principal (app-only) sign-in events where an application accesses a resource or tenant that has not been observed in the previous 30 days. This is often an indicator of cross-tenant impersonation abuse or credential misuse, particularly related to Actor Tokens.
avatar
Ankit Mehta@Secvyn
Defender - KQL
1 month ago
001
Detects Microsoft Entra ID service principal (app-only) sign-in events where an application accesses a resource or tenant that has not been observed in the previous 30 days. This is often an indicator of cross-tenant impersonation abuse or credential misuse, particularly related to Actor Tokens.
avatar
Ankit Mehta@Secvyn
avatar
Detections.ai Community
1 month ago
101
Detects GitHub OAuth authorization, repository cloning, or ZIP downloads from source IP addresses that have not been observed for the specific actor within the past 30 days. This rule helps identify potential account compromise or token theft where an attacker attempts to access repository data from a new location, while specifically excluding bot/service accounts known for rotating CI infrastructure IPs.
avatar
Arnold Chan@slaz
avatar
Detections.ai Community
1 month ago
005
Detects anomalous service principal activity characterized by multiple, rapidly issued, and overlapping OAuth tokens within a short time window. This pattern is associated with automated/agentic token orchestration (e.g., JADEPUFFER/Storm-3168 campaign) rather than standard manual operator activity, specifically when leveraging the python-requests user agent.
avatar
Arnold Chan@slaz
avatar
Detection & Hunting Community
1 month ago
000
Detects anomalous service principal activity characterized by multiple, rapidly issued, and overlapping OAuth tokens within a short time window. This pattern is associated with automated/agentic token orchestration (e.g., JADEPUFFER/Storm-3168 campaign) rather than standard manual operator activity, specifically when leveraging the python-requests user agent.
avatar
Arnold Chan@slaz
Defender - KQL
1 month ago
000
Detects anomalous service principal activity characterized by multiple, rapidly issued, and overlapping OAuth tokens within a short time window. This pattern is associated with automated/agentic token orchestration (e.g., JADEPUFFER/Storm-3168 campaign) rather than standard manual operator activity, specifically when leveraging the python-requests user agent.
avatar
Arnold Chan@slaz
avatar
Midnight Slayer
1 month ago
000
Detects anomalous service principal activity characterized by multiple, rapidly issued, and overlapping OAuth tokens within a short time window. This pattern is associated with automated/agentic token orchestration (e.g., JADEPUFFER/Storm-3168 campaign) rather than standard manual operator activity, specifically when leveraging the python-requests user agent.
avatar
Arnold Chan@slaz
avatar
Detections.ai Community
1 month ago
000
This rule detects unauthorized GitHub repository access or OAuth activity performed by a user account identified as terminated in the organization's HR system. It uses a watchlist to cross-reference GitHub audit logs against terminated employee records, applying a 2-hour grace period to account for potential log synchronization delays or final offboarding tasks.
avatar
Arnold Chan@slaz
avatar
Detections.ai Community
1 month ago
005
Detects potential JWT algorithm-confusion or authentication-bypass attempts
targeting WSO2 API Manager components through JWTs specifying unsupported,
downgraded, or unexpected signing algorithms such as "none" or HS256 where
asymmetric signing is expected. Matching events should be investigated to
determine whether the request represents exploitation of CVE-2026-5430.
avatar
Min Sakka@AlphaOmega
avatar
Detections.ai Community
1 month ago
109
Detects OAuth 2.0 authorization requests sent to login.microsoftonline.com using the 'prompt=none' parameter, where the redirect_uri domain is not a trusted Microsoft property. This is a common indicator of consent phishing or malicious OAuth application abuse where an attacker attempts to redirect authorization tokens to an adversary-controlled endpoint.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
001
Detects outbound WebSocket connections from endpoints containing specific JWR phishing framework session tokens (JWRCID/JWRCVV) or known C2 path suffixes. This pattern indicates active communication with a malicious C2 server used for session hijacking or proxy-based phishing operations.
avatar
Ibrahim Saud@tektrix
avatar
Detections.ai Community
1 month ago
001
Page 6 of 22