GCP Compute Snapshot Created by Rare User

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

About

Identifies the first time, within a lookback window, a principal creates a snapshot of a Compute Engine persistent disk ("*.compute.disks.createSnapshot", "*.compute.regionDisks.createSnapshot", or "*.compute.snapshots.insert"). Adversaries create disk snapshots to stage data for exfiltration, copying or sharing the snapshot to an attacker-controlled project without reading the source VM directly. This is a New Terms rule keyed on the project and acting principal, excluding known cloud-provider egress networks.
Tags
Domain: CloudPlatform: GCPData Source: GCPData Source: Google Cloud PlatformUse Case: Threat DetectionTactic: Defense EvasionRule Type: New TermsLanguage: kuery
Severity
low
Risk Score
21
MITRE ATT&CK™

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

False Positive Examples
Backup, disaster-recovery, and image-automation service accounts create snapshots routinely. Baseline known automation principals by user.email and add exceptions; interactive or first-seen snapshot creation warrants review.
License
Elastic License v2(external, opens in a new tab or window)

Definition

Rule Type
New Terms Rule
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
logs-gcp.audit-*
Related Integrations

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

Query
text code block:
data_stream.dataset: "gcp.audit" and event.action: ( *.compute.disks.createSnapshot or *.compute.regionDisks.createSnapshot or *.compute.snapshots.insert ) and not event.outcome: "failure" and cloud.project.id: * and user.email: * and not source.as.organization.name: ( "Google LLC" or "Amazon.com, Inc." or "Microsoft Corporation" or "GOOGLE-CLOUD-PLATFORM" or "MICROSOFT-CORP-MSN-AS-BLOCK" or "AMAZON-AES" or "AMAZON-02" )

Install detection rules in Elastic Security

Detect GCP Compute Snapshot Created by Rare User 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).