Detect Multi-Factor Authentication Interception in IBM QRadar
Adversaries may target multi-factor authentication (MFA) mechanisms to intercept authentication factors including smart card PINs, hardware token codes (RSA SecurID), SMS-based one-time passwords, and app-based push notifications. Interception methods include keylogging to capture smart card PINs or TOTP codes, SMS hijacking via SIM swapping or compromised messaging service providers, MFA prompt bombing (fatigue attacks sending repeated push notifications until the user approves), and adversary-in-the-middle (AiTM) phishing frameworks that relay credentials and capture session tokens post-MFA. Nation-state groups including Kimsuky (proprietary OTP interception tool), APT42 (cloned websites capturing MFA tokens), and Chimera (registering adversary phone numbers on compromised accounts) have employed these techniques. Criminal group LAPSUS$ operationalized MFA fatigue at scale against major technology firms, achieving access by sending repeated Authenticator push notifications until users approved out of confusion or frustration.
MITRE ATT&CK
- Tactic
- Credential Access
- Canonical reference
- https://attack.mitre.org/techniques/T1111/
QRadar Detection Query
SELECT
username,
DATEFORMAT(TRUNC(starttime / 1800000) * 1800000, 'YYYY-MM-dd HH:mm:ss') AS time_bucket,
SUM(CASE WHEN "Event Result" = 'Failure' THEN 1 ELSE 0 END) AS failed_mfa_attempts,
SUM(CASE WHEN "Event Result" = 'Success' THEN 1 ELSE 0 END) AS success_mfa_attempts,
UNIQUECOUNT(sourceip) AS unique_source_ips,
MIN(starttime) AS first_attempt_epoch_ms,
MAX(starttime) AS last_event_epoch_ms,
ROUND((LONG(MAX(starttime)) - LONG(MIN(starttime))) / 60000.0, 1) AS window_duration_min
FROM events
WHERE
starttime > (NOW() - 86400000)
AND LOGSOURCETYPENAME(devicetype) IN (
'Microsoft Azure Active Directory',
'Microsoft Office 365',
'Okta'
)
AND (
LOWER(QIDNAME(qid)) LIKE '%multi-factor%'
OR LOWER(QIDNAME(qid)) LIKE '%mfa%'
OR LOWER(QIDNAME(qid)) LIKE '%two-factor%'
OR LOWER(QIDNAME(qid)) LIKE '%two factor%'
OR LOWER(QIDNAME(qid)) LIKE '%authenticator%'
)
GROUP BY
username,
TRUNC(starttime / 1800000)
HAVING
failed_mfa_attempts >= 5
AND success_mfa_attempts >= 1
ORDER BY failed_mfa_attempts DESC Detects MFA fatigue attacks in IBM QRadar by aggregating Azure Active Directory, Office 365, or Okta authentication events into 30-minute time buckets per user. Uses TRUNC-based epoch bucketing and QIDNAME filtering to target MFA-related event categories from identity provider log sources. The HAVING clause enforces the threshold of 5 failures with at least one success in the same window.
Data Sources
Required Tables
False Positives & Tuning
- Users who repeatedly misplace or unlock the wrong hardware OTP token, entering multiple invalid codes before locating the correct device
- Corporate SSO systems with aggressive session timeouts that force repeated MFA re-challenges for a single user during normal business workflows
- Shared or kiosk workstations where multiple employees attempt authentication against the same account in the same 30-minute aggregation window
Other platforms for T1111
Testing Methodology
Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1MFA Fatigue Simulation via Repeated MSAL Authentication Requests
Expected signal: Azure AD Sign-In Logs (AADSignInLogs): 10 entries for the test account — each with ResultType indicating MFA prompt sent or denied, AuthenticationRequirement=multiFactorAuthentication, AuthenticationMethodsUsed=PhoneAppNotification. Events appear within a 3-5 minute window, all from the same source IP (the test machine). If any prompt is approved, a success event (ResultType=0) also appears.
- Test 2Smart Card API Enumeration via Custom Process
Expected signal: Sysmon Event ID 1 (Process Create): scard_probe.exe spawned from powershell.exe with the compilation command in ParentCommandLine. Sysmon Event ID 7 (Image Load): scard_probe.exe loading C:\Windows\System32\winscard.dll — InitiatingProcessFileName=scard_probe.exe is not in the allowlist of expected winscard.dll callers. Sysmon Event ID 11 (File Create): scard_probe.exe written to %TEMP%.
- Test 3OTP Keylogger via Low-Level Keyboard Hook Installation
Expected signal: Sysmon Event ID 1 (Process Create): PowerShell with command line containing SetWindowsHookEx, WH_KEYBOARD_LL references — triggers on process create. Windows Security Event ID 4688 (if command-line audit enabled). PowerShell ScriptBlock Log Event ID 4104 captures the full hook installation code. Behavior-based EDR (CrowdStrike, Defender, SentinelOne) should generate a keyboard hook behavioral alert for the WH_KEYBOARD_LL hook type.
- Test 4Adversary MFA Phone Number Registration via Microsoft Graph API
Expected signal: Azure AD Audit Logs (AuditLogs table in Sentinel / azure:aad:audit in Splunk): OperationName='List user authentication methods' — the enumeration creates an audit event. If the write command is executed (in authorized lab only): OperationName='User registered security info' or 'Add user StrongAuthenticationMethod' with the new phone number value in TargetResources[0].modifiedProperties. Both events include the actor's IP address and UPN.
References (12)
- https://attack.mitre.org/techniques/T1111/
- https://sec.okta.com/scatterswine
- https://www.microsoft.com/security/blog/2022/03/22/dev-0537-criminal-actor-targeting-organizations-for-data-exfiltration-and-destruction/
- https://www.mandiant.com/resources/blog/apt42-charms-the-cyber-landscape
- https://learn.microsoft.com/en-us/entra/identity/authentication/how-to-mfa-number-match
- https://learn.microsoft.com/en-us/azure/active-directory/identity-protection/concept-identity-protection-risks
- https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/aadsigninlogs
- https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/auditlogs
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1111/T1111.md
- https://dl.mandiant.com/EE/assets/PDF_MTrends_2011.pdf
- https://www.nccgroup.com/uk/research-blog/chimera-unc2975-january-2021/
- https://docs.microsoft.com/en-us/graph/api/authentication-list-methods
Unlock Pro Content
Get the full detection package for T1111 including response playbook, investigation guide, and atomic red team tests.