Back to all lessons
Awareness Lessons
2 days ago

Exposed AWS Keys and Unsalted Password Hashes Highlight Credential and Cryptography Failures

Written by AI from the linked story. Not reviewed by an editor. How this works

An internal monitoring system at easyDNS was compromised, allowing attackers to harvest AWS access keys and password hashes for nearly 29,000 mailboxes. The unauthorized use of some AWS keys confirms that exposed credentials were actively exploited, amplifying the breach beyond mere data exposure. Storing easyMail passwords as SHA-256 hashes without salts is a critical cryptographic weakness, making bulk password cracking trivially fast with precomputed rainbow tables. This incident illustrates how a single compromised internal system can cascade into cloud infrastructure takeover when long-lived, unrotated access keys are stored insecurely alongside customer data.

Tactical Insight

Immediate actions

  • Revoke and rotate all exposed AWS access keys immediately and audit CloudTrail logs for unauthorized API activity.
  • Force password resets for all affected mailbox accounts and notify customers to change credentials reused elsewhere.
  • Re-hash all stored passwords using a modern algorithm (bcrypt, Argon2, or scrypt) with per-user salts.

Long-term improvements

  • Replace long-lived AWS IAM access keys with short-lived credentials via IAM Roles and enforce least-privilege policies.
  • Enforce multi-factor authentication on all internal monitoring and administrative systems to limit the blast radius of a single system compromise.
  • Apply secrets management tooling (e.g., AWS Secrets Manager, HashiCorp Vault) so credentials are never stored in plaintext or weakly protected config files.

Detection measures

  • Configure automated alerts on anomalous AWS API calls, especially from unfamiliar IP addresses or at unusual hours.
  • Implement integrity monitoring on internal monitoring infrastructure to detect unauthorized access or configuration changes promptly.

Back this up with a control

All controls and vendors

Training helps people spot this. These controls make the attack fail even on the day someone does not.