LoFP LoFP / 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.

Techniques

Sample rules

GCP Compute Snapshot Created by Rare User

Description

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.

Detection logic

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"
    )