| name | cis-aws-storage-1.5 |
| description | Ensure to create IAM roles for Backup |
| category | cis-storage-services |
| version | 1.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","storage","backup","iam","iam-role","service-role","least-privilege"] |
| cis_id | 1.5 |
| cis_benchmark | CIS AWS Storage Services Benchmark v1.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | ["CWE-284"] |
| chains_with | ["cis-aws-storage-1.4","cis-aws-storage-1.6"] |
| prerequisites | ["cis-aws-storage-1.1","cis-aws-storage-1.4"] |
| severity_boost | {} |
CIS Control 1.5: Ensure to create IAM roles for Backup (Manual)
Profile Applicability
Description
An AWS Identity and Access Management (IAM) role is similar to a user, in that it is an AWS identity with permissions policies that determine what the identity can and cannot do in AWS. However, instead of being uniquely associated with one person, a role is intended to be assumable by anyone who needs it.
Rationale
While Service Linked Roles offer quick deployment, using default configurations isn't recommended for security best practices.
Creating custom IAM roles for AWS Backup allows you to:
- Implement principle of least privilege
- Control exactly which services and resources the backup service can access
- Audit and track backup operations more effectively
- Separate backup permissions from other administrative functions
Impact
Not properly configuring IAM roles for AWS Backup can result in:
- Over-permissive backup access using default service roles
- Inability to track which role performed backup operations
- Difficulty implementing fine-grained access controls
- Compliance violations related to access management
- Potential for backup service to access resources beyond what's necessary
Audit Procedure
Via AWS Management Console
To create a role for AWS Backup, follow these steps:
- Navigate to the "IAM Dashboard" in the AWS Console
- Select "Roles" from the left-hand menu
- Click on the "Create Role" button
- Choose "AWS Service" as the trusted entity
- Select "AWS Backup" as the service that will use this role
- Choose a policy to apply to the role or create a custom policy
- Review the role details and provide a meaningful name for the role
- Click on "Create Role" to finalize the creation of the role for AWS Backup
Via AWS CLI
aws iam list-roles | grep -i backup
aws iam get-role --role-name <ROLE_NAME>
aws iam list-attached-role-policies --role-name <ROLE_NAME>
aws iam get-role --role-name <ROLE_NAME> \
--query 'Role.AssumeRolePolicyDocument'
Expected Result