OpenParable
Skip to content
← Back to skills

Cis AWS Database 3.3

DevOps & Security
cis-aws-database-3.3

Cis AWS Database 3.3 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 to Create a Virtual Private Cloud (VPC)

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
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-3.3/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-aws-database-3-3, 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.

3.3 Ensure to Create a Virtual Private Cloud (VPC) (Manual)

Description

Setting up a Virtual Private Cloud (VPC) protects the private network that has been established from any external networks from interfering. It allows internal networks to communicate with one another with the network that has been established.

Rationale

A VPC provides network isolation and segmentation for RDS instances, ensuring that database traffic is contained within a private network boundary.

Impact

Builds a strong connection between internal networks, and the internet, and it secures your data from getting into the hand of an unauthorized party.

Audit Procedure

Using AWS Console

  1. Sign in to the AWS Management Console

  2. Open the Amazon VPC Console

  3. Create a VPC

    • In the Amazon VPC console, click Your VPCs in the left-side menu.
    • Click on Create VPC to begin creating a new VPC.
    • Provide a name and the desired IPv4 CIDR block for your VPC.
    • Configure additional settings, such as IPv6 CIDR block, tenancy, and DNS resolution.
    • Click Create to create the VPC.
  4. Create Subnets

    • In the Amazon VPC console, click Subnets in the left-side menu.
    • Click on Create subnet to create a subnet within the VPC.
    • Select the VPC you created in the previous step.
    • Provide a name, choose an availability zone, and specify the IPv4 CIDR block for the subnet.
    • Configure additional settings, such as IPv6 CIDR block and availability zone.
    • Click Create to create the subnet.
  5. Configure Route Tables

    • In the Amazon VPC console, click on Route Tables in the left-side menu.
    • Click on Create route table to create a new route table.
    • Provide a name for the route table and select the VPC you created earlier.
    • Click Create to create the route table.
    • Associate the route table with the desired subnets by selecting the route table and clicking on the Subnet associations tab.
    • Click Edit subnet associations and select the desired subnets to associate them with the route table.
  6. Configure Security Groups

    • In the Amazon VPC console, click Security Groups in the left-side menu.
    • Click on Create security group to create a new security group.
    • Provide a name and description for the security group.
    • Select the VPC you created earlier.
    • Configure inbound and outbound rules to control network traffic to and from your RDS instances.
    • Click Create to create the security group.
  7. Configure Network Access Control Lists (ACLs)

    • In the Amazon VPC console, click on Network ACLs in the left-side menu.
    • Click on Create network ACL to create a new network ACL.
    • Provide a name for the network ACL and select the VPC you created earlier.
    • Configure inbound and outbound rules to allow or deny specific types of traffic.
    • Associate the network ACL with the desired subnets by selecting the network ACL and clicking on the Subnet associations tab.
    • Click Edit subnet associations and select the desired subnets to associate them with the network ACL.
  8. Use the VPC with Amazon RDS

    • Select the appropriate VPC, subnets, and security groups when creating an RDS instance.
    • Configure the database instance with the desired network and security settings within the chosen VPC.

Expected Result

All RDS instances should be deployed within a properly configured VPC with appropriate subnets, route tables, security groups, and network ACLs.

Remediation

Using AWS Console

Follow the audit steps above to create and configure a VPC. For existing RDS instances not in a VPC, create a snapshot, then restore it into the desired VPC.

Default Value

AWS creates a default VPC in each region, but custom VPCs should be created for production RDS deployments.

References

  1. https://aws.amazon.com/products/databases/

CIS Controls

Controls VersionControlIG 1IG 2IG 3
v812.2 Establish and Maintain a Secure Network Architecturexx
v711.7 Manage Network Infrastructure Through a Dedicated Networkxx

Profile

Level 1 | Manual