Detections

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

1,631 detections

This rule detects email events that have an identified threat name and are associated with a URL click event. This combination suggests a user has clicked on a malicious link delivered via email.
avatar
Ahamed Rizvan@ahamedrizvan
avatar
Detections.ai Community
1 year ago
4253
This rule detects network connections, email activity, URL clicks, and Teams messages that involve domains commonly used by threat actor group Scattered Spider. It specifically looks for domains containing '-servicedesk.', '-okta.', '-sso.', '-cms.', '-helpdesk.', or 'oktalogin-'. The rule aims to identify potential phishing attempts or suspicious activity targeting SSO/helpdesk credentials by monitoring interactions with these specific domain patterns across multiple data sources.
avatar
Dylan Evans@decksy
Dexter's Laboratory
1 year ago
132186
Detects potential Unicode-based homograph attacks by scanning for non-ASCII characters in both DeviceNetworkEvents.RemoteUrl and EmailUrlInfo.Url. These attacks leverage visually deceptive domain names—using characters from non-Latin scripts (e.g., Cyrillic "а" instead of Latin "a")—to mimic legitimate sites and deceive users.

The detection covers both network activity and email delivery paths, helping uncover phishing attempts, credential harvesting links, or other malicious redirects.

Recommendation: If available, include telemetry from DNS logs (e.g., DnsEvents) and firewall/proxy logs to improve detection coverage and correlate threats across multiple layers of the kill chain.
avatar
Michael Fajkus@MilesDyson
avatar
Detections.ai Community
1 year ago
11054
Detects network communication patterns associated with Scattered Spider threat group, including known C2 domains, IP addresses, and characteristic domain patterns used for phishing and command and control operations.
avatar
es er@eser
avatar
Detections.ai Community
1 year ago
3278
📌 Description

Threat actors frequently register lookalike domains to support malicious activities such as phishing attacks, drive-by compromises, and command-and-control (C2) operations. This KQL hunting query is designed to help identify potential phishing and typosquatting domains that may be targeting your organization or its third-party vendors.

🔍 Threat Intelligence Feed

The hunting query utilizes data from the SANS Internet Storm Center (ISC) API, which provides access to newly registered domains.

API Endpoint:
https://isc.sans.edu/api/recentdomains/today?json

Use Cases:

Threat intelligence enrichment
Detection of suspicious or malicious domains
Security log correlation
Returned Data Fields:

Domain name
Registration date
IP address
Type
Additional metadata (if available)
Query by Date (Optional):
Example: https://isc.sans.edu/api/recentdomains/2025-07-08?json

🎯 ATT&CK Framework Mapping

Technique: Acquire Infrastructure: Domains
ID: T1583.001
Reference: MITRE ATT&CK
Nounou Mbeiri@Nmbeiri
avatar
Detections.ai Community
1 year ago
2295
This detection identifies when a one-on-one Microsoft Teams chat is initiated with an external domain that has not been observed in previous Teams chats (past 90 days) or recent email communications (past 15 days). This may indicate a new, potentially unsolicited or suspicious contact attempting to engage with an internal user, which could represent a social engineering attempt or early-stage reconnaissance.
avatar
Luis Meneses@luismeneses
avatar
Detections.ai Community
1 year ago
293263
This rule detects inbound emails containing URLs that are commonly used for OAuth consent phishing, where an attacker attempts to trick users into granting permissions to a malicious application.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
190386
Catches MSI installer execution from browsers with silent installation flags, often used in FileFix attacks to install malware without user interaction.
avatar
Jason Nelson@Jason
avatar
Detections.ai Community
1 year ago
6177
Detects successful Okta authentication using the FIDO/WebAuthn cross-device (hybrid) sign-in feature. This technique is abused by attackers in Adversary-in-the-Middle (AiTM) phishing campaigns, like those conducted by PoisonSeed, to bypass FIDO MFA by tricking a user into scanning a malicious QR code.
avatar
Jason Nelson@Jason
avatar
Detections.ai Community
1 year ago
2297
This detection identifies when Microsoft Teams applications send messages to groups / users in your organization's tenant. It utilizes the 'BotAddedToTeam' and 'AppInstalled' action types from CloudAppEvents to collect all Teams applications created in the specified timeframe and then joins on MessageEvents, matching events where SenderObjectId equals AppGuid.

This activity is significant as it may uncover unverified applications being added to teams channels and communicating with users in your tenant. Teams application security, compliance, and permissions can be reviewed in the Microsoft Teams Admin portal -
https://admin.teams.microsoft.com/policies/manage-apps/
avatar
Alex ‎@ramz
avatar
Detections.ai Community
1 year ago
116144
Detects a non-interactive sign-in using a refresh token for the Microsoft Authentication Broker client, targeting the Device Registration Service (DRS) with the 'adrs_access' scope. This specific combination of attributes is highly indicative of an adversary using tools like ROADtools to register a malicious device in the tenant following a successful OAuth phishing attack.
avatar
Kaung Khant Ko@kaungkhantko
avatar
Detections.ai Community
1 year ago
94131
Detects successful user authentication using the FIDO2/WebAuthn cross-device (hybrid) sign-in feature. This technique can be abused by attackers in Adversary-in-the-Middle (AiTM) phishing campaigns to bypass FIDO key protections, as seen in the PoisonSeed campaign.
avatar
Jason Nelson@Jason
avatar
Detections.ai Community
1 year ago
1238
Detects Microsoft Entra ID sign-in events where a user principal authenticates using a refresh token issued to the Microsoft Authentication Broker (MAB) client, targeting the Device Registration Service (DRS) with the "adrs_access" OAuth scope. This pattern may indicate token-based access to DRS following an initial authorization code phishing or as a precursor to malicious device registration using tools like ROADtx.
avatar
test User@testuser007
avatar
Detections.ai Community
1 year ago
8179
This rule detects emails containing a URL to a suspicious domain. It also checks if any of these suspicious URLs were subsequently clicked by a user, indicating potential compromise or successful phishing.
avatar
Damien vd Linden@lindensec
avatar
Detections.ai Community
1 year ago
5369
Detects network connections to domains matching patterns commonly used by the Scattered Spider threat group for phishing campaigns.
The group often registers domains that mimic legitimate corporate services by appending suffixes like "-sso", "-servicedesk", "-okta", "-vpn", or "-helpdesk" to a target's name (e.g., victim-sso.com).
avatar
Aaron Mog@AaronMogS2S
avatar
Detections.ai Community
1 year ago
3279
This rule detects phishing attempts that leverage Google redirect links. It identifies emails where the URL contains 'google.' and '/url?' and the URL domain is 'google', but the extracted domain is not 'com'. This indicates a potential malicious redirect through Google's services, often used to obscure the final malicious destination. The rule then joins this URL information with email event data to provide context such as sender, recipient, subject, and delivery location, focusing on emails delivered to the Inbox or Junk folder but not quarantined.
avatar
Damien vd Linden@lindensec
avatar
Detections.ai Community
1 year ago
3154
This rule detects attempts to phish user credentials by identifying Base64 encoded User Principal Names (UPNs) or their domains within URLs clicked by users. Adversaries often encode sensitive information like UPNs in malicious URLs to bypass security controls or to make the links appear less suspicious. The rule specifically looks for partial Base64 encoded strings of the user's UPN or domain within the 'UrlChain' field of URL click events.
avatar
Damien vd Linden@lindensec
avatar
Detections.ai Community
1 year ago
4153
KQL Query
avatar
Cyb Info@CybInfo
avatar
Detections.ai Community
1 year ago
4261
KQL Query
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
277242
KQL Query
avatar
Steven Lim@KQLWizard
avatar
SlimKQL
1 year ago
12618755
This query visualises emails with Phish detections (High confidence) summarizing the data by Delivery Location.
Azure Sentinel@AzureSentinel
avatar
AzureSentinel
1 year ago
1092
Page 70 of 78