| name | cis-aws-storage-2.6 |
| description | Ensure Proper IAM Configuration for EC2 Instances |
| category | cis-storage-services |
| version | 1.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","storage","ebs","ec2","iam","access-control","mfa","least-privilege"] |
| cis_id | 2.6 |
| cis_benchmark | CIS AWS Storage Services Benchmark v1.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | ["CWE-284","CWE-287"] |
| chains_with | ["cis-aws-storage-2.7","cis-aws-storage-2.8","cis-aws-storage-2.9"] |
| prerequisites | [] |
| severity_boost | {} |
CIS Control 2.6: Ensure Proper IAM Configuration for EC2 Instances (Manual)
Profile Applicability
Description
IAM, or Identity and Access Management, is a vital security service used to control and manage access to AWS resources, ensuring only authorized users and services can interact with them. It allows you to create users and groups, set permissions, enforce multi-factor authentication, and implement least privilege principles to enhance security and compliance.
Rationale
The rationale behind using IAM is to enhance security by controlling and managing access to AWS resources, ensuring that only authorized users and services can interact with them. This minimizes the risk of unauthorized access and potential security breaches, while also allowing for the implementation of best practices such as multi-factor authentication and least privilege principles, which further strengthen the security and compliance of your AWS environment.
Impact
Not implementing IAM properly can lead to significant security vulnerabilities, including unauthorized access to AWS resources, data breaches, and potential loss of sensitive information. Without IAM, it is challenging to enforce access controls, monitor user activity, and implement security best practices such as multi-factor authentication and least privilege principles. This can result in increased risk of malicious attacks, operational disruptions, non-compliance with regulatory requirements, and substantial financial damage.
Audit Procedure
See detailed audit steps in the full control documentation including:
- Access the AWS Management Console
- Review IAM Users and Roles
- Check IAM Policies
- Analyze IAM Groups
- Examine MFA Settings
- Audit IAM Activity
- Implement AWS Config Rules
- Generate IAM Reports
- Conduct Regular Reviews
Remediation
- Restrict Overly Permissive Policies
- Enable Multi-Factor Authentication (MFA)
- Rotate Access Keys
- Remove Unnecessary Users and Roles
- Implement Role-Based Access Control (RBAC)
- Regularly Review and Update IAM Policies
- Enable AWS CloudTrail and AWS Config
- Conduct Security Awareness Training
- Implement IAM Access Analyzer
References
- AWS IAM Roles for EC2
CIS Controls