SigninLogs — MFA Fatigue Attack (Push Bombardment)
10 SIGNIN MFA Fatigue
Query
// ---- Network Allowlist (exclude trusted IPs / CIDR / ranges) --------------
let _allow = materialize(union isfuzzy=true (print R="" | take 0), (_GetWatchlist('NetworkAllowlist') | project R = tostring(IPOrRange)) | where isnotempty(R));
let _allowCIDR = toscalar(_allow | where not(R matches regex @'^\d+\.\d+\.\d+\.\d+-\d+\.\d+\.\d+\.\d+$') | extend R = iff(R has '/', R, strcat(R, '/32')) | summarize make_list(R));
let _allowRange = toscalar(_allow | where R matches regex @'^\d+\.\d+\.\d+\.\d+-\d+\.\d+\.\d+\.\d+$' | summarize make_list(R));
let _ExcludeAllowlistedIPs = (T:(IPAddress:string)) {
T
| extend IPAddress = tostring(IPAddress)
| where array_length(_allowCIDR) == 0 or isnull(ipv4_is_in_any_range(IPAddress, _allowCIDR)) or not(ipv4_is_in_any_range(IPAddress, _allowCIDR))
| mv-apply _r = _allowRange to typeof(string) on (
extend _lo = tostring(split(_r,'-')[0]), _hi = tostring(split(_r,'-')[1])
| extend _inRange = ipv4_compare(IPAddress, _lo) >= 0 and ipv4_compare(IPAddress, _hi) <= 0
| summarize _anyInRange = max(toint(_inRange)))
| where isnull(_anyInRange) or _anyInRange == 0
| project-away _anyInRange
};
// ---------------------------------------------------------------------------
let mfaBombardThreshold = 5;
SigninLogs
| invoke _ExcludeAllowlistedIPs()
| where TimeGenerated > ago(1h)
| where ResultType in ("50074", "50076", "50079", "50158")
| summarize
MFAInterruptCount = count(),
FirstInterrupt = min(TimeGenerated),
LastInterrupt = max(TimeGenerated),
SourceIPs = make_set(IPAddress, 10),
Locations = make_set(Location, 5),
Apps = make_set(AppDisplayName, 5)
by UserPrincipalName
| where MFAInterruptCount >= mfaBombardThreshold
| extend
InterruptDurationMin = datetime_diff("minute", LastInterrupt, FirstInterrupt)
| project
TimeGenerated = FirstInterrupt,
UserPrincipalName,
MFAInterruptCount,
InterruptDurationMin,
SourceIPs, Locations, Apps,
LastInterruptExplanation
This query is designed to detect potential Multi-Factor Authentication (MFA) fatigue attacks, also known as push bombardment attacks. In such attacks, an attacker repeatedly sends MFA push notifications to a user, hoping the user will approve one out of frustration.
Here's a simple breakdown of what the query does:
-
Network Allowlist: It first defines a list of trusted IP addresses or ranges (allowlist) to exclude from the analysis. This helps in focusing only on suspicious activities.
-
Threshold Definition: It sets a threshold of 5 or more MFA push notifications within a 1-hour period for a single user as suspicious.
-
Data Source: The query uses data from Azure Active Directory's SigninLogs.
-
Filtering: It filters out sign-in attempts that come from allowlisted IPs and only considers those with specific MFA result codes (50074, 50076, 50079, 50158) within the last hour.
-
Aggregation: It counts the number of MFA interruptions (push notifications) for each user and gathers information about the source IPs, locations, and apps involved.
-
Detection: If a user receives 5 or more MFA push notifications in an hour, it flags this as a potential attack.
-
Output: The query outputs details such as the user's name, the number of MFA interruptions, the duration of these interruptions, and information about the source IPs, locations, and apps.
-
Alert Configuration: If the conditions are met, it creates an alert with details about the potential attack, including the user's name and the number of push notifications received.
-
Incident Management: It is configured to create an incident if such an attack is detected, with options for grouping related incidents.
Overall, this query helps in identifying and alerting on potential MFA fatigue attacks to enhance security by preventing unauthorized access through compromised credentials.
Details

David Alonso
Released: April 20, 2026
Tables
Keywords
Operators
MITRE Techniques