Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
id: splunk-security-content-e62c9c2e-bf51-4719-906c-3074618fcc1c
name: Azure AD Authentication Failed During MFA Challenge
description: The following analytic identifies failed authentication attempts against
an Azure AD tenant during the Multi-Factor Authentication (MFA) challenge, specifically
flagged by error code 500121. It leverages Azure AD SignInLogs to detect these events.
This activity is significant as it may indicate an adversary attempting to authenticate
using compromised credentials on an account with MFA enabled. If confirmed malicious,
this could suggest an ongoing effort to bypass MFA protections, potentially leading
to unauthorized access and further compromise of the affected account.
severity: medium
enabled: false
tags:
mitre:
- T1078.004
- T1586.003
- T1621
categories:
- cloud
references:
- https://attack.mitre.org/techniques/T1621/
- https://attack.mitre.org/techniques/T1078/004/
- https://docs.microsoft.com/en-us/azure/active-directory/authentication/concept-mfa-howitworks
- https://learn.microsoft.com/en-us/entra/identity/monitoring-health/concept-sign-in-log-activity-details
logsource:
product: splunk
detection:
splunk_spl: '`azure_monitor_aad` category=SignInLogs properties.status.errorCode=500121
| rename properties.* as *, authenticationDetails{}.* as * | eval time=strptime(authenticationStepDateTime,"%Y-%m-%dT%H:%M:%S")
| eval auth_detail=mvzip(strftime(time, "%Y-%m-%dT%H:%M:%S"),authenticationStepResultDetail,"
- "), auth_msg=mvappend(''status.additionalDetails'', authenticationStepResultDetail)
| eval auth_method=mvmap(authenticationMethod, if(isnull(mvfind(''mfaDetail.authMethod'',authenticationMethod)),
authenticationMethod, null())) | search NOT auth_msg="MFA successfully completed"
| rename userAgent as user_agent | fillnull | stats count min(_time) as firstTime
max(_time) as lastTime by dest user src vendor_account vendor_product auth_method
auth_msg user_agent signature | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`
| `azure_ad_authentication_failed_during_mfa_challenge_filter`'
provenance:
source: splunk/security_content
source_id: e62c9c2e-bf51-4719-906c-3074618fcc1c
source_commit: 4d4c7ee
license: Apache-2.0
license_url: https://github.com/splunk/security_content/blob/develop/LICENSE
imported_at: '2026-05-04'
imported_by: splunk_importer
upstream_path: detections/cloud/azure_ad_authentication_failed_during_mfa_challenge.yml
notes:
splunk_status: production
splunk_data_source: []
quarantine_reason: raw SPL — needs translation to AiSOC detection schema