Deprecated

Removed from AWS on 2021-04-02 - Active for 2 years, 1 month

AWSBackupAdminPolicy

Last Modified

Sep 16, 2019

September 16, 2019 at 03:19 PM UTC

Version

v2

Total Versions

7

Created

Mar 11, 2019

Actions

36

Risk

High

An unrestricted escalation path, identity administration, secret reads or the power to switch off security monitoring. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

  • High

    Can read secrets

    Reads data encrypted with any KMS key whose key policy allows it, on any resource with no condition.

    kms:Decrypt

    Use with caution: Where the holder needs only some secrets, write your own policy scoped to their ARNs or tags, and limit decryption in the KMS key policies.

  • Medium

    Can rewrite resource policies and sharing

    Grants 5 permissions management actions across 2 services (backup, kms) on any resource, enough to share resources outside the account.

    backup:deletebackupvaultaccesspolicybackup:deletebackupvaultsharingpolicybackup:putbackupvaultaccesspolicybackup:putbackupvaultsharingpolicykms:creategrant

    Use with caution: Turn on IAM Access Analyzer external access findings, and keep account-level guards like S3 Block Public Access enabled.

  • Medium

    Full access to 2 services on every resource

    Uses backup:*, backup-storage:* with Resource "*" and no condition, so every action AWS adds to those services later is granted too.

    backup:*backup-storage:*

    Use with caution: The grant grows every time the service does. For long-lived access, prefer a policy that lists the actions you actually need.

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": "backup:*",
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": "backup-storage:*",
          "Resource": "*"
        },
        {
          "Action": [
            "rds:DescribeDBSnapshots",
            "rds:ListTagsForResource",
            "rds:DescribeDBInstances",
            "rds:describeDBSnapshots",
            "rds:describeDBEngineVersions",
            "rds:describeOptionGroups",
            "rds:describeOrderableDBInstanceOptions",
            "rds:describeDBSubnetGroups"
          ],
          "Effect": "Allow",
          "Resource": "*"
        },
        {
          "Action": [
            "dynamodb:ListBackups",
            "dynamodb:ListTables"
          ],
          "Effect": "Allow",
          "Resource": "*"
        },
        {
          "Action": [
            "elasticfilesystem:DescribeFilesystems"
          ],
          "Resource": "arn:aws:elasticfilesystem:*:*:file-system/*",
          "Effect": "Allow"
        },
        {
          "Action": [
            "ec2:DescribeSnapshots",
            "ec2:DescribeVolumes",
            "ec2:describeAvailabilityZones"
          ],
          "Effect": "Allow",
          "Resource": "*"
        },
        {
          "Action": [
            "tag:GetTagKeys",
            "tag:GetTagValues",
            "tag:GetResources"
          ],
          "Effect": "Allow",
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "storagegateway:DescribeCachediSCSIVolumes",
            "storagegateway:DescribeStorediSCSIVolumes"
          ],
          "Resource": "arn:aws:storagegateway:*:*:gateway/*/volume/*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "storagegateway:ListGateways"
          ],
          "Resource": "arn:aws:storagegateway:*:*:*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "storagegateway:DescribeGatewayInformation",
            "storagegateway:ListVolumes",
            "storagegateway:ListLocalDisks"
          ],
          "Resource": "arn:aws:storagegateway:*:*:gateway/*"
        },
        {
          "Action": [
            "iam:ListRoles",
            "iam:GetRole",
            "iam:GetUser"
          ],
          "Effect": "Allow",
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": "iam:PassRole",
          "Resource": [
            "arn:aws:iam::*:role/*AwsBackup*",
            "arn:aws:iam::*:role/*AWSBackup*"
          ],
          "Condition": {
            "StringLike": {
              "iam:PassedToService": "backup.amazonaws.com"
            }
          }
        },
        {
          "Action": [
            "kms:ListKeys",
            "kms:DescribeKey",
            "kms:GenerateDataKey",
            "kms:RetireGrant",
            "kms:CreateGrant",
            "kms:ListAliases",
            "kms:Decrypt"
          ],
          "Effect": "Allow",
          "Resource": "*"
        }
      ]
    },
    "VersionId": "v2",
    "IsDefaultVersion": true,
    "CreateDate": "2019-03-11T22:14:30Z"
  }
}

Version History (7 recorded)

Raw history

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

49aa1d0

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

71619cf

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

8279033

`2019-08-29`

No recorded action delta - this version predates the change index. View the raw diff.

Aug 29, 2019

5016d52

I updated my CLI and it looks like it reordered everything and changed the white-space, so everything looks changed, but is not

No recorded action delta - this version predates the change index. View the raw diff.

Jul 12, 2019

9d2dff1

Update 2019.03.13

No recorded action delta - this version predates the change index. View the raw diff.

Mar 13, 2019

2c0ff5c

First commit

No recorded action delta - this version predates the change index. View the raw diff.

Feb 10, 2019

ad4c2e8