By Ruben Selby, founder and penetration tester at Wolfcore
A domain registrar called easyDNS has confirmed that attackers got into its AWS account and used some customers’ stored AWS keys. If you have ever pasted a cloud key into a supplier’s control panel, that key is a copy of your access sitting in someone else’s database. Check today whether you have done that and rotate cloud keys that a supplier holds, because a breach at the supplier becomes a breach of your cloud account.
easyDNS, a Canadian registrar, DNS and email provider, says it found an unauthorised login to its AWS account on the morning of 26 November, after customers reported their own AWS keys being used without permission (easyDNS notice). About 550 customers, covering roughly 600 keys stored for its Route 53 integration plus 150 sub-account keys, were told straight away. About 100,000 active users were notified the next day (BleepingComputer).
The exposed data varies by customer. It may include contact details, limited billing data and email password hashes for 28,941 easyMail mailboxes. Those hashes were SHA256 and unsalted, which makes cracking easier. The CEO told BleepingComputer the attacker entered through an internal monitoring system on 25 November, copied database tables and read the AWS keys. easyDNS says account passwords, card numbers and REST API keys were not stolen, and it has forced password resets.
Look at the mechanism. The attacker did not break your AWS account. They broke a supplier, found your key in a database table and used it as you. Your own MFA, your strong passwords and your careful staff were never tested.
An access key is a password that skips the login page. It rarely expires, it often has broader permissions than the integration needs, and it works from anywhere. A supplier that stores it holds a standing copy. The CEO says the entry point was an internal monitoring system, the kind of quiet internal tool nobody thinks of as a way in.
Three controls would have limited the damage. First, a key scoped to the one action the supplier needs, so a thief cannot do much with it. Second, a short rotation habit, so an old copy goes stale. Third, alerts on unusual use of that key, so you hear about misuse from your own monitoring rather than from the supplier’s email.
The mailbox hashes add a second lesson. Unsalted hashes can be cracked in bulk, and people reuse passwords. If a mailbox password matches one used elsewhere, the breach spreads. Attackers go after the copies of your keys that other people hold, not only your front door.
Why is a cloud key held by a supplier risky? An access key is a password that skips the login page. It rarely expires, it often has broader permissions than the integration needs, and it works from anywhere, so a supplier that stores it holds a standing copy for an attacker to take.
How do I rotate cloud keys after a supplier breach? List every supplier, plugin and control panel that holds a key for you, replace each with one limited to the single action needed, delete the old and unused keys in the AWS console, then check your audit logs from 25 November onwards for use from unfamiliar places.
What did easyDNS say was and was not taken? It says exposed data may include contact details, limited billing data, email password hashes and some stored AWS keys. It says account passwords, card numbers and REST API keys were not stolen.
Breachy is our breach exposure monitoring service. It helps you find out where your business’s credentials and data are exposed, so a supplier’s breach does not catch you by surprise. Wolfcore is a UK-based offensive security firm working with businesses worldwide. You can also run our free web vulnerability scan, see how a penetration test looks at your exposure, check pricing, or get in touch with questions.
Related reading: more in the Credentials and Exposure hub, Azure API Management Secrets Targeted: Rotate Your Keys Now, Supplier Data Breach: What Who Gives A Crap Teaches SMEs
Wolfcore
Would your staff click a phishing email?
Run a real, safe phishing test on your team with Phishy. Free for 14 days, up to 10 staff, no card. We help you set it up.
Start a free phishing testFree website security scanor book a 30 minute call