Azure Compute Snapshot Created by Unusual Source ASN

Last updated 9 days ago on 2026-11-12
Created 9 days ago on 2026-11-12

About

Identifies the creation of an Azure managed-disk snapshot ("Microsoft.Compute/snapshots/write"). Adversaries create snapshots of disks to stage data for exfiltration, copying or sharing the snapshot to an attacker-controlled scope without reading the source VM directly. This ES|QL rule normalizes the acting identity across user- and service-principal-initiated operations and excludes known cloud-provider egress networks.
Tags
Domain: CloudData Source: AzureData Source: Azure Activity LogsPlatform: AzureTactic: Defense EvasionRule Type: ES|QLLanguage: esql
Severity
low
Risk Score
21
MITRE ATT&CK™

Defense Evasion (TA0005)(external, opens in a new tab or window)

License
Elastic License v2(external, opens in a new tab or window)

Definition

Integration Pack
Prebuilt Security Detection Rules
Related Integrations

azure(external, opens in a new tab or window)

Query
text code block:
FROM logs-azure.activitylogs-* METADATA _id, _version, _index | WHERE event.dataset == "azure.activitylogs" AND event.action == "MICROSOFT.COMPUTE/SNAPSHOTS/WRITE" AND event.outcome == "success" AND NOT COALESCE(source.as.organization.name, "none") IN ("Google LLC", "Amazon.com, Inc.", "Microsoft Corporation", "GOOGLE-CLOUD-PLATFORM", "MICROSOFT-CORP-MSN-AS-BLOCK", "AMAZON-AES", "AMAZON-02") | EVAL Esql.actor = COALESCE(user.name, azure.activitylogs.identity.authorization.evidence.principal_id) | KEEP _id, _version, _index, @timestamp, Esql.actor, cloud.account.id, azure.resource.name, source.as.organization.name, event.action

Install detection rules in Elastic Security

Detect Azure Compute Snapshot Created by Unusual Source ASN in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).