Cis AWS Database 9.1
DevOps & Securitycis-aws-database-9.1Cis AWS Database 9.1 is an Agent Skill for devops & security published in the CyberStrikeus/CyberStrike repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Ensure Network Security is Enabled
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Cloud_Providers/AWS/CIS_AWS_Database_Services_Benchmark_v2.0.0/cis-aws-database-9.1/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-aws-database-9-1, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
9.1 Ensure Network Security is Enabled (Manual)
Description
This helps ensure that all the necessary security measurements are taken to prevent a cyber-attack. Such as utilizing VPC, creating certain inbound and outbound rules, and ACLs.
Rationale
Network security is fundamental to protecting Neptune database clusters from unauthorized access and network-based attacks.
Impact
Provides privacy and lets the user customize their security preferences. Prevents private network from interfering with public networks.
Audit Procedure
Using AWS Console
- Sign in to the AWS Management Console at https://console.aws.amazon.com/ with your AWS account credentials.
- Open the Amazon Neptune Console - Navigate to the service using the
Find Servicessearch bar or by directly accessing the console at https://console.aws.amazon.com/neptune/. - Select the Neptune Cluster:
- Choose the Amazon Neptune cluster for which you want to configure network security.
- Click on the cluster name to access its details page.
- Configure Security Groups:
- In the cluster details page, navigate to the
Connectivity & SecurityorNetwork & Securitysection. - Under
Security Groups, click onManage security groups. - Click on
Create new security groupor select an existing security group associated with your Neptune cluster. - Configure inbound and outbound rules within the security group to control network traffic.
- For inbound rules, specify the allowed source IP addresses or security groups and the necessary ports for accessing the Neptune cluster.
- For outbound rules, define the allowed destination IP addresses or security groups and the required ports for outbound connections from the Neptune cluster.
- Save the security group settings.
- In the cluster details page, navigate to the
- Configure Network Access Control Lists (ACLs):
- In the cluster details page, navigate to the
Connectivity & SecurityorNetwork & Securitysection. - Under
Network Access Control Lists (ACLs), click onManage network ACLs. - Create a new network ACL or select an existing one associated with your Amazon Neptune cluster.
- Configure inbound and outbound rules within the network ACL to control network traffic at the subnet level.
- Define rules based on IP address ranges, protocols, and ports to allow or deny specific traffic.
- Consider security best practices and compliance requirements when configuring the network ACL rules.
- Save the network ACL settings.
- In the cluster details page, navigate to the
- Verify Network Security Configuration:
- Review the security group and network ACL settings to ensure they align with your security requirements.
- Confirm that the inbound and outbound rules only allow necessary traffic and deny unauthorized access.
- Verify that your Neptune cluster's security groups and network ACLs are correctly configured.
- Test Network Connectivity:
- Launch an Amazon EC2 instance within the same VPC and subnet as your Neptune cluster, or use an existing one.
- Connect to the EC2 instance using SSH or other remote access methods.
- Test the network connectivity to your Neptune cluster by attempting to connect to it using the appropriate client or utility.
- Ensure that the network security settings allow the necessary traffic and deny unauthorized access.
Expected Result
Security groups and network ACLs should be properly configured to allow only authorized traffic to and from the Neptune cluster.
Remediation
Using AWS Console
Follow the audit steps above to configure security groups and network ACLs for your Neptune cluster.
Default Value
Neptune clusters are deployed within a VPC. Security groups and network ACLs require manual configuration.
References
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 12.2 Establish and Maintain a Secure Network Architecture | x | x | |
| v7 | 11.7 Manage Network Infrastructure Through a Dedicated Network | x | x |
Profile
Level 1 | Manual