CTL-009 · human
Block Outside Snapshot Sharing
Prevent snapshots and images from being shared publicly or with accounts outside the organization.
TechnicalEffort LowEffectiveness High
Snapshot sharing needs only one call, so prevention must be at the policy layer. Block public access settings for EBS snapshots and AMIs stop public shares. Policies that restrict sharing to accounts in the organization stop the rest.
Encryption with keys the outside account cannot use is a strong backstop, since a shared encrypted snapshot is useless without key access. Review existing shares once to find anything already open, and check AMIs shared with marketplace or vendor accounts against a known list.
Put it in place
- 01Enable EBS snapshot block public access and AMI block public access in every region.
- 02Add an SCP that denies ec2:ModifySnapshotAttribute, ec2:ModifyImageAttribute and rds:ModifyDBSnapshotAttribute unless the target account is in the organization.
- 03Encrypt snapshots with customer-managed KMS keys whose policies do not allow outside accounts.
- 04Azure: deny disk export (beginGetAccess) except for an approved role.