avatar

Sagar Patel

@sagar
Completionist
2 followers26 downloads271 copies0 likes3,308 views

9 detections

Detects possible MFA-approved session replay by identifying abnormal reuse of authenticated sessions across multiple IPs, browsers, and devices compared against a 14-day historical baseline. The rule prioritizes browser/device anomalies over geography since modern attackers often use same-country VPS/proxies.
avatar
Sagar Patel@sagar
avatar
Detections.ai Community
5 months ago
270754
Detects possible Adversary-in-the-Middle (AiTM) attacks, session cookie replay, MFA session hijacking, token theft, and stolen cloud session reuse by identifying abnormal SessionId reuse across multiple IPs, browsers, and devices. This detection compares current session activity against a 14-day historical user behavior baseline to identify new or abnormal behavior. It includes risk scoring and account classification, while reducing false positives from token refresh activity and common Microsoft Teams noise.
avatar
Sagar Patel@sagar
avatar
Detections.ai Community
6 months ago
280440
Detects AiTM compromise where user click phishing URL, completed MFA, and signed in from a different IP within 10 minutes
avatar
Sagar Patel@sagar
avatar
Detections.ai Community
6 months ago
440618
This query identifies rare or newly observed application sign-ins by comparing activity in the last 24 hours against a 30‑day historical baseline.
It highlights applications that are never used or seldom used in the tenant, helping detect anomalous or suspicious application activity that may indicate OAuth abuse, automation tools, or compromised accounts.
avatar
Sagar Patel@sagar
avatar
Detections.ai Community
8 months ago
160125
The purpose of this query is to identify accounts that have logged in from multiple different countries within a short time window (last hour or last day).
This is typically used for security monitoring to detect suspicious or anomalous authentication behavior.
avatar
Sagar Patel@sagar
avatar
Detections.ai Community
11 months ago
450366
This query retrieves the most recent record for each device and filters the results to show devices that are currently isolated.
• The DeviceInfo table contains details about each device and its status over time.
• The summarize arg_max(Timestamp, *) by DeviceName part selects the latest entry (based on Timestamp) for every device.
• The where MitigationStatus contains "Isolated" filter ensures that only devices with an isolation-related mitigation status are displayed.
avatar
Sagar Patel@sagar
avatar
Detections.ai Community
1 year ago
340253
This query analyzes login events to identify users with more than five failed login attempts. It filters for login-related events, groups the data by username, endpoint name, failure reason, login type, and associated indicators, then counts the number of failed attempts. The results are sorted in descending order of failed attempts to highlight potentially suspicious activity.
avatar
Sagar Patel@sagar
avatar
Detections.ai Community
1 year ago
80180
Detect unauthorized access by identifying new country sign-ins for users through AADSignInEventsBeta analytics.
avatar
Sagar Patel@sagar
avatar
Detections.ai Community
1 year ago
320242
This query helps identify user accounts that faced logon failures due to expired passwords by correlating logon failure events with the last password change timestamp using Microsoft Entra ID and IdentityLogonEvents.
avatar
Sagar Patel@sagar
avatar
Detections.ai Community
1 year ago
370330