MEDIUM

Ensure EC2 instances use secure key pairs

EC2 key pairs should use ED25519 or RSA with 4096-bit keys. Unused key pairs should be deleted.

Security Impact

Weak key pairs or unused key pairs increase the risk of unauthorized access.

How to Remediate

Create new key pairs using ED25519 or RSA-4096. Update instances to use new keys and delete old key pairs.

Affected Resources

AWS::EC2::KeyPair

Compliance Frameworks

SOC 2PCI-DSSNIST 800-53

How TigerGate Helps

TigerGate continuously monitors your AWS environment to detect and alert on this misconfiguration. Here's what our platform does for this specific check:

  • Continuous Scanning

    Automatically scans all Elastic Compute Cloud (EC2) resources across your AWS accounts every hour

  • Instant Alerts

    Get notified via Slack, email, or webhooks when this misconfiguration is detected

  • One-Click Remediation

    Fix this issue directly from the TigerGate dashboard with our guided remediation

  • Compliance Evidence

    Automatically collect audit evidence for SOC 2, PCI-DSS, NIST 800-53 compliance

  • Drift Detection

    Get alerted if this configuration drifts back to an insecure state after remediation

Check Details

Check ID
aws-ec2-28
Service
Elastic Compute Cloud (EC2)
Category
Access Control
Severity
MEDIUM

Automate This Check

TigerGate automatically scans your AWS environment for this and 575+ other security checks.

Start Free Trial