Detect Multi-Factor Authentication in IBM QRadar
Adversaries may disable or modify multi-factor authentication (MFA) mechanisms to enable persistent access to compromised accounts. Methods include: excluding users from Azure AD Conditional Access Policies, registering adversary-controlled MFA methods (Scattered Spider), modifying Windows hosts file to redirect MFA server calls to localhost causing fail-open behavior (CISA AA22-074A), using AADInternals Set-AADIntUserMFA to disable MFA, and modifying SLOWPULSE to bypass RADIUS/ACE 2FA. Detection focuses on MFA configuration changes in identity provider audit logs.
MITRE ATT&CK
- Technique
- T1556 Modify Authentication Process
- Sub-technique
- T1556.006 Multi-Factor Authentication
- Canonical reference
- https://attack.mitre.org/techniques/T1556/006/
QRadar Detection Query
SELECT
DATEFORMAT(starttime, 'yyyy-MM-dd HH:mm:ss') AS EventTime,
username AS Actor,
QIDNAME(qid) AS OperationType,
CATEGORYNAME(category) AS Category,
LOGSOURCENAME(logsourceid) AS LogSource,
sourceip AS SourceIP,
CASE
WHEN LOWER(QIDNAME(qid)) MATCHES '.*(disable.*mfa|admin.*mfa.*disable|strongauthentication.*disabled|admin.*deleted.*security).*'
THEN 'HIGH'
WHEN LOWER(QIDNAME(qid)) MATCHES '.*(delete.*security.*info|user.*deleted.*security|remove.*authenticat).*'
THEN 'HIGH'
WHEN LOWER(QIDNAME(qid)) MATCHES '.*(conditional.*access.*policy|update.*conditional|add.*conditional|delete.*conditional).*'
THEN 'MEDIUM'
WHEN LOWER(QIDNAME(qid)) MATCHES '.*(register.*security.*info|per.*user.*mfa|strongauthentication).*'
THEN 'LOW'
ELSE 'INFO'
END AS RiskLevel
FROM events
WHERE LOGSOURCETYPEID IN (396, 430)
AND (
LOWER(QIDNAME(qid)) MATCHES '.*(mfa|strongauthentication|conditional.access|security.info|per.user.mfa).*'
OR LOWER(payload) MATCHES
'.*("disable strongauthentication"|"admin disabled mfa"|"update per-user mfa"|"conditional access policy"|strongauthenticationrequirement|"admin deleted security info"|"user deleted security info").*'
)
AND starttime > NOW() - 86400000
ORDER BY starttime DESC Detects MFA modification and Conditional Access policy changes from Azure AD and Microsoft 365 log sources in QRadar. Uses LOGSOURCETYPEID 396 (Microsoft Azure Active Directory Audit DSM) and 430 (Microsoft Office 365 DSM) — adjust IDs to match your deployment version. Falls back to payload regex matching when QID normalisation is incomplete for newer operation types.
Data Sources
Required Tables
False Positives & Tuning
- Helpdesk staff resetting MFA for locked-out users during authenticated support calls — these appear as admin-initiated security info deletions with legitimate actor UPNs
- Azure AD Connect or hybrid identity sync operations that trigger StrongAuthentication attribute writes as part of routine on-premises to cloud directory synchronisation
- Privileged Identity Management (PIM) break-glass activation procedures that temporarily add emergency accounts to Conditional Access exclusion groups
Other platforms for T1556.006
Testing Methodology
Validate this detection against 3 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 1Disable MFA for a User via Microsoft Graph API
Expected signal: Azure AD Audit Log: OperationName 'User deleted security info' or 'Update user' with StrongAuthenticationRequirement modification. Graph API call logged in Azure AD diagnostic logs. PowerShell ScriptBlock Log Event ID 4104.
- Test 2Add Trusted Location to Conditional Access Policy
Expected signal: Azure AD Audit Log: OperationName 'Add named location' with the new IP range visible in audit details. Azure AD Audit Log: If location is then added as exclusion to a CA policy, OperationName 'Update conditional access policy'.
- Test 3Modify Windows Hosts File to Redirect MFA Server (CISA AA22-074A Pattern)
Expected signal: Sysmon Event ID 11 (File Create/Modify): TargetFilename=C:\Windows\System32\drivers\etc\hosts, initiated by powershell.exe. Windows Defender may alert on hosts file modification. Security Event ID 4663 if file auditing is enabled.
References (6)
- https://attack.mitre.org/techniques/T1556/006/
- https://www.cisa.gov/uscert/ncas/alerts/aa22-074a
- https://www.mandiant.com/media/17826
- https://docs.microsoft.com/en-us/azure/active-directory/governance/conditional-access-exclusion
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1556.006/T1556.006.md
- https://www.microsoft.com/en-us/security/blog/2022/10/25/microsoft-incident-response-tips-for-managing-a-phishing-crisis/
Unlock Pro Content
Get the full detection package for T1556.006 including response playbook, investigation guide, and atomic red team tests.