Enable Public Access on EBS Snapshot¶
Platform | Author | Last Update |
---|---|---|
aws | Anela Tiro | 2023-07-01 |
An adversary may attempt to enable public access on EBS snapshot
MITRE IDs¶
Required Permissions¶
- ec2:createVolumePermission
Required Parameters¶
Name | Type | Description | Example Value |
---|---|---|---|
snapshotid | str | ID of the snapshot that you want to make public | snapshot_ID |
Attacker Action¶
aws ec2 modify-snapshot-attribute --snapshot-id snapshot_ID --attribute createVolumePermission --operation-type add --group-names all
Detection Case¶
ELK query¶
When logs are ingested into ELK, the following Lucene query can be used to identify relevant events.
eventName:ModifySnapshotAttribute AND eventSource:*.ec2.amazonaws.com
Sigma Definition¶
---
title: Enable Public Access on EBS Snapshot
id: testing
status: experimental
author: Anela Tiro
date: 2023-07-01
description: An adversary may attempt to enable public access on EBS snapshot
logsource:
service: cloudtrail
detection:
selection_source:
- eventSource: "*.ec2.amazonaws.com"
events:
- eventName: "ModifySnapshotAttribute"
condition: selection_source AND events
level: low
tags:
- attack.T1567