LoFP LoFP / backup, disaster-recovery, and data-lifecycle automation routinely creates snapshots. service-invoked calls (aws backup, data lifecycle manager) are excluded, but custom backup tooling or administrators taking ad hoc snapshots may generate first-seen matches that warrant review.

Techniques

Sample rules

AWS EC2 EBS Snapshot Created by Rare User

Description

Identifies the first time, within a lookback window, an identity creates an EBS volume snapshot via the EC2 “CreateSnapshot” or “CreateSnapshots” APIs. Adversaries abuse snapshots to stage data for exfiltration (snapshot one or more volumes, then share or copy them to an attacker-controlled account) or to capture sensitive data from a compromised environment. This is a New Terms rule detecting a rare occurrence of the “cloud.account.id”, “user.name”, and “source.as.organization.name” tuple for this action.

Detection logic

data_stream.dataset: "aws.cloudtrail"
    and event.provider: "ec2.amazonaws.com"
    and event.action: ("CreateSnapshot" or "CreateSnapshots")
    and event.outcome: "success"
    and source.ip: *
    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"
    )
    and not aws.cloudtrail.user_identity.invoked_by: (
        "backup.amazonaws.com" or "AWS Internal" or "dlm.amazonaws.com"
        or "malware-protection.guardduty.amazonaws.com"
    )