Detect CVE-2026-69899: Azure DevTest Labs Authentication Bypass by Spoofing in Splunk
Detects potential exploitation of CVE-2026-69899, a critical (CVSS 9.1) authentication bypass by spoofing (CWE-290) in Azure DevTest Labs that permits an unauthorized attacker to spoof identity over a network and gain access to lab resources, virtual machines, and associated subscriptions. Because the flaw abuses identity/authentication verification rather than a memory-safety bug, detection focuses on anomalous Azure Resource Manager (ARM) control-plane operations against Microsoft.DevTestLab resources, authentication events exhibiting spoofing indicators (impossible travel, token anomalies, unexpected caller IPs/UPNs), and unauthorized provisioning or access to DevTest Lab VMs and environments. Exploit status is theoretical at time of writing; these analytics are built on expected spoofing/bypass telemetry and should be tuned against the environment's normal DevTest Labs usage.
MITRE ATT&CK
SPL Detection Query
``` df00tech DF00-42752aa6fc · https://df00tech.com/detections/CVE-2026-69899 · licence: https://df00tech.com/detections/licence ```
index=azure sourcetype="mscs:azure:activity" operationName.value IN ("MICROSOFT.DEVTESTLAB/labs/virtualmachines/write","MICROSOFT.DEVTESTLAB/labs/virtualmachines/claim/action","MICROSOFT.DEVTESTLAB/labs/environments/write","MICROSOFT.DEVTESTLAB/labs/users/write","MICROSOFT.DEVTESTLAB/labs/virtualmachines/start/action")
| eval caller=coalesce(caller, identity_claim_name)
| stats earliest(_time) as firstSeen latest(_time) as lastSeen count values(operationName.value) as operations values(callerIpAddress) as src_ip by caller resourceGroupName subscriptionId
| eval firstSeen_h=round((now()-firstSeen)/3600,1)
| where firstSeen_h < 168
| sort - lastSeen Surfaces DevTest Labs ARM control-plane writes/claims by callers first observed within the past 7 days, indicating a possible spoofed identity exploiting the authentication bypass.
Data Sources
Required Sourcetypes
False Positives & Tuning
- Newly provisioned automation service principals or onboarded lab admins.
- Pipeline-driven lab provisioning from fresh build agents.
- Changes to corporate egress IPs that make existing callers look new.
Other platforms for CVE-2026-69899
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 Provision a DevTest Labs VM via ARM (baseline telemetry)
Expected signal: AzureActivity record with OperationNameValue 'MICROSOFT.DEVTESTLAB/labs/virtualmachines/write' and ActivityStatusValue 'Success'.
- Test 2 Claim a DevTest Labs VM from a new source IP
Expected signal: AzureActivity record 'MICROSOFT.DEVTESTLAB/labs/virtualmachines/claim/action' with the test source IP in CallerIpAddress.
- Test 3 Add a lab user to DevTest Labs
Expected signal: AzureActivity record 'MICROSOFT.DEVTESTLAB/labs/users/write' with Success status.
Response Playbook
Triage
- Identify the caller identity (UPN/service principal/object ID) and source IP for each flagged DevTest Labs operation and determine whether both are expected for this subscription and lab.
- Correlate the operation time with Azure AD / Entra ID sign-in logs for the same principal: look for impossible travel, unfamiliar source IP/ASN, token-issuer anomalies, or sign-ins without expected MFA, hallmarks of the spoofing bypass.
- Enumerate what was accessed or created (claimed VMs, new lab users, new environments/formulas) and whether those changes grant persistent access to lab resources or the underlying subscription.
- Compare the caller's prior 30-day activity baseline to confirm whether this is genuinely first-seen behavior or an established admin/automation identity.
Containment
- Revoke active sessions and refresh tokens for the suspected principal (Entra ID 'Revoke Sessions') and disable the account or service principal if spoofing is confirmed.
- Remove unauthorized DevTest Labs role assignments and lab users, and stop/deallocate or delete any VMs and environments provisioned by the attacker.
- Apply Conditional Access / IP restrictions to the affected subscription and ensure MFA is enforced for all DevTest Labs management operations.
Evidence Collection
- Export the relevant AzureActivity records (operationName, caller, callerIpAddress, resultType, correlationId) and the matching Entra ID sign-in and audit logs for the incident window.
- Capture the configuration and disk state of any attacker-provisioned lab VMs before deletion, and snapshot modified lab policies/users/role assignments for forensic review.
Escalation Criteria
- !Escalate to incident response if spoofed-identity access is confirmed against production or shared subscriptions, or if attacker-provisioned resources reached non-lab resource groups.
- !Escalate if the spoofed principal holds elevated roles (Owner/Contributor) at the subscription scope or if lateral movement from lab VMs into other Azure resources is observed.
Investigation Guide
Forensic Artifacts
- >
AzureActivity / ARM audit records for Microsoft.DevTestLab operations (caller, callerIpAddress, correlationId, resultType). - >
Entra ID sign-in and audit logs showing token issuance, IP/ASN, and MFA state for the implicated principal. - >
DevTest Labs role assignment history and lab user/environment provisioning records.
Tuning Guidance
Build a 30-day allowlist of legitimate DevTest Labs callers (admins and automation service principals) and their expected source IP ranges/ASNs, then suppress baseline-matching activity. Prioritize alerts that combine a first-seen caller or IP with Entra ID sign-in anomalies (impossible travel, missing MFA, unusual token issuer). Reduce noise by scoping to subscriptions that host sensitive labs and by excluding known CI/CD egress ranges.
Hunting Queries
Hunts for DevTest Labs callers first seen in the last 7 days together with the IPs and operations they performed, to spot spoofed identities acting on lab resources.
// df00tech DF00-42752aa6fc · https://df00tech.com/detections/CVE-2026-69899 · licence: https://df00tech.com/detections/licence
AzureActivity | where ResourceProviderValue == "MICROSOFT.DEVTESTLAB" | summarize ops=make_set(OperationNameValue), ips=make_set(CallerIpAddress), first=min(TimeGenerated), last=max(TimeGenerated) by Caller | where first > ago(7d) ``` df00tech DF00-42752aa6fc · https://df00tech.com/detections/CVE-2026-69899 · licence: https://df00tech.com/detections/licence ```
index=azure sourcetype="mscs:azure:activity" "operationName.value"="MICROSOFT.DEVTESTLAB/*" | stats min(_time) as first values(callerIpAddress) as ips values(operationName.value) as ops by caller | where first > relative_time(now(), "-7d@d") Atomic Red Team Tests
Creates a lab VM through the Azure CLI to generate the Microsoft.DevTestLab/labs/virtualmachines/write control-plane event the detection keys on. Lab/test subscription only.
Command
az lab vm create --lab-name argus-testlab --resource-group argus-rg --name atomic-dtl-vm --image "Ubuntu Server 22.04 LTS" --image-type gallery --size Standard_B1s --admin-username labadmin --admin-password 'P@ssw0rd-Atomic-123!' Cleanup
az lab vm delete --lab-name argus-testlab --resource-group argus-rg --name atomic-dtl-vm --yes Expected Telemetry
AzureActivity record with OperationNameValue 'MICROSOFT.DEVTESTLAB/labs/virtualmachines/write' and ActivityStatusValue 'Success'.
Expected Detection
KQL/SPL analytics flag the operation if performed by a caller or IP outside the 30-day baseline.
Claims an available lab VM to produce the claim/action control-plane event; run from an IP not in the baseline to simulate spoofed-caller access.
Command
az rest --method post --uri "https://management.azure.com/subscriptions/$SUB/resourceGroups/argus-rg/providers/Microsoft.DevTestLab/labs/argus-testlab/virtualmachines/atomic-dtl-vm/claim?api-version=2018-09-15" Cleanup
echo 'No resource created; unclaim is manual via az lab vm or portal if needed' Expected Telemetry
AzureActivity record 'MICROSOFT.DEVTESTLAB/labs/virtualmachines/claim/action' with the test source IP in CallerIpAddress.
Expected Detection
Detection fires on claim/action from a first-seen caller/IP.
Creates a new lab user entry to generate the labs/users/write event used to spot attacker-added identities after a spoofing bypass.
Command
az rest --method put --uri "https://management.azure.com/subscriptions/$SUB/resourceGroups/argus-rg/providers/Microsoft.DevTestLab/labs/argus-testlab/users/atomic-user?api-version=2018-09-15" --body '{"properties":{}}' Cleanup
az rest --method delete --uri "https://management.azure.com/subscriptions/$SUB/resourceGroups/argus-rg/providers/Microsoft.DevTestLab/labs/argus-testlab/users/atomic-user?api-version=2018-09-15" Expected Telemetry
AzureActivity record 'MICROSOFT.DEVTESTLAB/labs/users/write' with Success status.
Expected Detection
Detection surfaces the user-write operation when the caller/IP is outside baseline.