OpenParable
Skip to content
← Back to skills

Cis AWS Storage 3.12

DevOps & Security
cis-aws-storage-3.12

Cis AWS Storage 3.12 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 configuring IAM for AWS Elastic Disaster Recovery

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_Storage_Services_Benchmark_v1.0.0/cis-aws-storage-3.12/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-aws-storage-3-12, 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.12 Ensure configuring IAM for AWS Elastic Disaster Recovery (Manual)

Profile Applicability

  • Level 2

Description

Before installing the AWS Elastic Disaster Recovery client, you need to configure AWS IAM permissions and users for both the AWS Replication and AWS Failback Client.

Rationale

Configuring AWS IAM permissions and users before installing the AWS Elastic Disaster Recovery client ensures that the AWS Replication and AWS Failback Client have the necessary access rights. This setup is essential for maintaining security and preventing unauthorized access. Proper IAM configuration guarantees the smooth operation of disaster recovery processes, safeguarding your data and ensuring system reliability.

Impact

Without proper IAM configuration for AWS Elastic Disaster Recovery, the AWS Replication and AWS Failback Client may lack the necessary access rights, leading to failed disaster recovery operations. This can result in data loss, prolonged downtime, and compromised system reliability. Additionally, inadequate IAM permissions increase the risk of unauthorized access, potentially exposing sensitive data and causing security breaches. Consequently, your organization may face significant operational disruptions, financial losses, and damage to its reputation.

Audit Procedure

Console

To create DRS Agent User, follow following steps:

  1. Navigate to the AWS IAM Console - https://us-east-1.console.aws.amazon.com/iam/home?region=us-east-1#/home
  2. Create new user. This user will only be able to access the Elastic disaster recovery agent installation resource. Accordingly, name the user "DSRuser".
  3. Allow Programmatic access: This allows the user to access resources programmatically with a secure key rather than having to enter a password.
  4. Select "attach policies directly" and search for "AWSElasticDisasterRecoveryAgentInstallationPolicy".
  5. Create user.

To create Failback Agent User, Follow the steps above with these two modifications:

  1. Name the user "FailbackAgentuser".
  2. Apply the "AWSElasticDisasterRecoveryFailbackInstallationPolicy".

Expected Result

  • IAM user "DSRuser" should be created with programmatic access
  • "AWSElasticDisasterRecoveryAgentInstallationPolicy" should be attached to DSRuser
  • IAM user "FailbackAgentuser" should be created with programmatic access
  • "AWSElasticDisasterRecoveryFailbackInstallationPolicy" should be attached to FailbackAgentuser
  • Both users should have appropriate access keys configured

Remediation

Console

Configure IAM Credentials for AWS Elastic Disaster Recovery:

  1. Create DRS Agent User:

  2. Create Failback Agent User:

    • Create new user named "FailbackAgentuser"
    • Enable "Programmatic access"
    • Attach policy: "AWSElasticDisasterRecoveryFailbackInstallationPolicy"
    • Create user and save access keys
  3. Secure Access Keys:

    • Store access keys securely
    • Rotate keys regularly
    • Monitor usage via CloudTrail

Default Value

By default, AWS does not create IAM users or attach policies for Elastic Disaster Recovery. Users must explicitly create these IAM users and attach the required managed policies.

References

  1. https://us-east-1.console.aws.amazon.com/iam/home?region=us-east-1#/home

CIS Controls

This control does not have specific CIS Controls mappings in the original document, but it aligns with general IAM and disaster recovery best practices.

Profile

Level 2