🟠CIS AWS 1.3Rule: AWS-IAM-003high

Ensure access keys are rotated within 90 days

Description

IAM access keys must be rotated at least every 90 days.

⚠️ Risk Impact

Long-lived access keys increase exposure window. Leaked keys in code repositories remain valid indefinitely.

🔍 How EchelonGraph Detects This

AWS-IAM-003Automated scanner rule

EchelonGraph's Tier 1 Cloud Scanner automatically checks for this condition across all connected AWS accounts. Violations are flagged as high-severity findings with remediation guidance.

🖥️ Manual Verification

terminal
aws iam generate-credential-report && aws iam get-credential-report

🔧 Remediation

Rotate access keys: aws iam create-access-key && aws iam delete-access-key --access-key-id OLD_KEY

💀 Real-World Attack Scenario

A developer's laptop was stolen from a car. The laptop contained an AWS access key in ~/.aws/credentials that was 8 months old. The thief sold the credentials on a dark web marketplace. The buyer used the key to access S3 buckets for 3 months before the quarterly access review detected the anomaly.

💰 Cost of Non-Compliance

Uber 2016: Hardcoded unrotated AWS access keys led to S3 breach exposing 57M records. Cost: $148M. AWS reports that 90% of credential-based incidents involve keys older than 90 days.

📋 Audit Questions

  • 1.Generate and provide the IAM credential report.
  • 2.Which users have access keys older than 90 days?
  • 3.Is there automated key rotation for service accounts?
  • 4.How are developers notified about upcoming key expiration?

🎯 MITRE ATT&CK Mapping

T1552.001 — Credentials in FilesT1078 — Valid Accounts

⚡ Common Pitfalls

  • Rotating keys but not revoking the old key immediately (both keys active simultaneously)
  • Hardcoding access keys in application configuration files
  • Not using IAM roles for EC2/Lambda instead of long-lived access keys

📈 Business Value

Key rotation limits the window of opportunity for attackers using stolen credentials. Combined with automated rotation, it eliminates the most common AWS breach vector.

⏱️ Effort Estimate

Manual

1-2 hours per user to rotate and update dependent applications

With EchelonGraph

EchelonGraph identifies stale access keys across all accounts instantly

🔗 Cross-Framework References

SOC2-CC6.1ISO27001-A.9.2.4

Automate CIS AWS 1.3 compliance

EchelonGraph continuously monitors this control across all your cloud accounts.

Start Free →