| name | cis-aws-database-3.4 |
| description | Ensure to Configure Security Groups |
| category | cis-database |
| version | 2.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","database","rds","security-groups","network-security","firewall"] |
| cis_id | 3.4 |
| cis_benchmark | CIS AWS Database Services Benchmark v2.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-database-3.3","cis-aws-database-3.12"] |
| prerequisites | [] |
| severity_boost | {} |
3.4 Ensure to Configure Security Groups (Manual)
Description
Configuring security groups benefits the user because it helps manage networks within the database and gives only certain permission for traffic that leaves and enters the database.
Rationale
Security groups act as virtual firewalls that control inbound and outbound traffic to RDS instances. Proper configuration ensures only authorized access.
Impact
Allows certain users to access the instance and it only allows them to work within that network.
Audit Procedure
Using AWS Console
-
Sign into the AWS Management Console
-
Open the Amazon RDS Console
-
Select the RDS Instance
- Choose the Amazon RDS instance for which you want to configure security groups. Click on the instance name to access its details page.
-
Navigate to the Connectivity & Security Section
- In the instance details page, navigate to the
Connectivity & Security or "Security" section.
-
View and Modify Existing Security Groups
- Under the
Security section, you will see the existing security groups associated with the RDS instance.
- Take note of the existing security groups and their inbound and outbound rules.
-
Create a New Security Group
- If you need to create a new security group for the RDS instance
- Click the
Create New Security Group button.
- Provide a name and description for the new security group.
- Configure the inbound and outbound rules to control network traffic to and from the RDS instance.
- Click "Create" to create the new security group.
-
Modify Security Group Rules
- To modify the rules of an existing security group, click on the security group name or the
Modify button next to it.
- You can add, edit, or delete inbound and outbound rules on the security group details page.
- Specify each rule's source IP addresses, port ranges, and protocols.