| name | cis-aws-database-6.1 |
| description | Ensure Network Security is Enabled |
| category | cis-database |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","database","memorydb","redis","network","vpc","security-groups"] |
| cis_id | 6.1 |
| cis_benchmark | CIS AWS Database Services Benchmark v2.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-database-6.2","cis-aws-database-6.3","cis-aws-database-6.5"] |
| prerequisites | [] |
| severity_boost | {} |
6.1 Ensure Network Security is Enabled (Manual)
Description
Ensure network security is enabled for Amazon MemoryDB for Redis clusters by deploying them within a secure Virtual Private Cloud (VPC), configuring appropriate security groups, network ACLs, and VPC endpoints.
Rationale
Network security controls are essential to isolate Amazon MemoryDB clusters from unauthorized access and ensure that only trusted sources can communicate with the clusters.
Impact
Properly configured network security settings ensure that MemoryDB clusters are protected from unauthorized network access while allowing legitimate traffic.
Audit Procedure
Using AWS Console
-
Create or Select a Virtual Private Cloud (VPC)
- Sign in to the AWS Management Console and open the Amazon VPC console at https://console.aws.amazon.com/vpc/.
- Create a new VPC or select an existing VPC where you want to deploy your Amazon MemoryDB clusters.
-
Configure Subnets
- In the VPC console, navigate to
Subnets in the left-side menu.
- Create or select the subnets within your VPC where you want to deploy your Amazon MemoryDB clusters.
- Ensure you have private subnets to isolate your MemoryDB clusters from the public internet.
-
Define Security Groups
- In the VPC console, navigate to
Security Groups in the left-side menu.
- Create a new security group or select an existing one for your Amazon MemoryDB clusters.
- Configure inbound and outbound rules in the security group to control traffic access.
- Allow inbound access only from trusted sources, such as specific IP ranges or security groups, on the necessary ports used by MemoryDB.
- Define outbound rules based on your requirements, allowing outbound traffic to necessary destinations or ports.
- Associate the security group with your Amazon MemoryDB clusters.
-
Configure Network Access Control Lists (ACLs)
- In the VPC console, navigate to
Network ACLs in the left-side menu.
- Create or select the network ACLs associated with the subnets used by your Amazon MemoryDB clusters.
- Configure inbound and outbound rules in the network ACLs to control traffic access.
- Define rules based on your security requirements, allowing only necessary protocols, ports, and IP ranges.
- Deny unnecessary or unwanted traffic.
- Associate the network ACLs with the subnets used by your Amazon MemoryDB clusters.