Defense Evasion (TA0005)(external, opens in a new tab or window)
text code block: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" )
Install detection rules in Elastic Security
Detect AWS EC2 EBS 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).