OpenParable
Skip to content
← Back to skills

Cis AWS Foundations 6.1.1

DevOps & Security
cis-aws-foundations-6.1.1

Cis AWS Foundations 6.1.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 EBS volume encryption is enabled in all regions

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_Amazon_Web_Services_Foundations_Benchmark_v7.0.0/cis-aws-foundations-6.1.1/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-aws-foundations-6-1-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.

Ensure EBS volume encryption is enabled in all regions

Description

Elastic Compute Cloud (EC2) supports encryption at rest when using the Elastic Block Store (EBS) service. While disabled by default, forcing encryption at EBS volume creation is supported.

Rationale

Encrypting data at rest reduces the likelihood of unintentional exposure and can nullify the impact of disclosure if the encryption remains unbroken.

Impact

Losing access to or removing the KMS key used by the EBS volumes will result in the inability to access the volumes.

Audit Procedure

Using AWS Console

  1. Login to the AWS Management Console and open the Amazon EC2 console using https://console.aws.amazon.com/ec2/.
  2. Under Account attributes, click Data Protection and Security.
  3. Under EBS encryption, verify that Always encrypt new EBS volumes displays Enabled.
  4. Repeat for each region in use.

Note: EBS volume encryption is configured per region.

Using AWS CLI

  1. Run the following command:
aws --region <region> ec2 get-ebs-encryption-by-default
  1. Verify that "EbsEncryptionByDefault": true is displayed.
  2. Repeat for each region in use.

Expected Result

"EbsEncryptionByDefault": true should be displayed for every region in use.

Remediation

Using AWS Console

  1. Login to the AWS Management Console and open the Amazon EC2 console using https://console.aws.amazon.com/ec2/.
  2. Under Account attributes, click Data protection and security.
  3. Under EBS encryption, Click Manage.
  4. Check the Enable box to default encryption.
  5. Click Update EBS encryption.
  6. Repeat for each region in which EBS volume encryption is not enabled by default.

Using AWS CLI

  1. Run the following command:
aws --region <region> ec2 enable-ebs-encryption-by-default
  1. Verify that "EbsEncryptionByDefault": true is displayed.
  2. Repeat for each region in which EBS volume encryption is not enabled by default.

Note: EBS volume encryption is configured per region.

Default Value

By default, EBS volume encryption is disabled. It must be manually enabled per region; otherwise, new EBS volumes are created unencrypted.

References

  1. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
  2. https://aws.amazon.com/blogs/aws/new-opt-in-to-default-encryption-for-new-ebs-volumes/

Additional Information

Default EBS volume encryption only applies to newly created EBS volumes; existing EBS volumes are not converted automatically.

CIS Controls

Controls VersionControlIG 1IG 2IG 3
v83.11 Encrypt Sensitive Data at Restxx
v714.8 Encrypt Sensitive Information at Restx

MITRE ATT&CK Mappings

Techniques / Sub-techniquesTacticsMitigations
T1530TA0009M1041

Profile

Level 1 | Automated