| name | cis-aws-storage-3.9 |
| description | Ensure using VPC endpoints - EFS |
| category | cis-storage-services |
| version | 1.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","storage","efs","vpc-endpoints","privatelink","network-security"] |
| cis_id | 3.9 |
| cis_benchmark | CIS AWS Storage Services Benchmark v1.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | [] |
| chains_with | ["cis-aws-storage-3.3","cis-aws-storage-3.4"] |
| prerequisites | [] |
| severity_boost | {} |
3.9 Ensure using VPC endpoints - EFS (Manual)
Profile Applicability
Description
With AWS PrivateLink, VPC Endpoints allow services to communicate within AWS using private IP addresses within approved CIDR ranges. This communication can be achieved without the need for a VPN, ensuring secure and efficient data transfer.
Rationale
The rationale behind using AWS PrivateLink with VPC Endpoints is to enable secure and efficient communication between services within AWS. By using private IP addresses within approved CIDR ranges, it eliminates the need for a VPN, reducing complexity and potential points of failure. This approach enhances security, reduces latency, and ensures data remains within the AWS network, aligning with best practices for secure and reliable cloud architecture.
Impact
Not using AWS PrivateLink with VPC Endpoints can lead to several issues, including increased security risks and potential data exposure since services would need to communicate over the public internet or through more complex VPN setups. This can result in higher latency, reduced performance, and greater vulnerability to attacks. Additionally, managing VPN connections adds complexity and potential points of failure, compromising the overall efficiency and reliability of your network architecture.
Audit Procedure
Console
Creating a FIPS compliant interface endpoint for EFS:
- Navigate to VPC Console: https://console.aws.amazon.com/vpc/
- Select "Endpoints" on the sidebar.
- Select "Create endpoint".
- Name the endpoint.
- Copy and paste this services into the services bar:
com.amazonaws.region.elasticfilesystem-fips – replace "region: with us-east-1 or whatever region you're using.
- Select your VPC.
- For subnets, select the availability zone and then select private subnet.
- Select the Security Group for the VPC endpoint.
- For policy: select "full access".
- Create a tag for future reference / granular IAM permissions.
- Create endpoint.
Expected Result
- VPC endpoint should be created for EFS service
- Endpoint should use FIPS-compliant service name
- Endpoint should be associated with appropriate VPC and subnets
- Security group should be configured for the endpoint
- Full access policy should be configured (or restricted as per requirements)
Remediation
Console
Use VPC Endpoints in tandem with AWS Private Link to secure your EFS connections.
- Navigate to VPC Console