Slashdot Mirror


Bots Scanning GitHub To Steal Amazon EC2 Keys

New submitter juniq writes: As one developer found out, posting your Amazon keys to GitHub on accident can be a costly mistake if they are not revoked immediately.

"When I woke up the next morning, I had four emails from Amazon AWS and a missed phone call from Amazon AWS. Something about 140 servers running on my AWS account. What? How? I only had S3 keys on my GitHub and they where gone within 5 minutes! Turns out through the S3 API you can actually spin up EC2 instances, and my key had been spotted by a bot that continually searches GitHub for API keys. Amazon AWS customer support informed me this happens a lot recently; hackers have created an algorithm that searches GitHub 24 hours per day for API keys. Once it finds one it spins up max instances of EC2 servers to farm itself bitcoins."

3 of 119 comments (clear)

  1. Now where have I heard this before... by JJJJust · · Score: 5, Insightful
  2. Re:Lesson: don't use root AWS API keys by Anonymous Coward · · Score: 5, Insightful

    they could save themselves a lot of trouble by making a web UI for IAM that isn't shit, and actually documenting the system somewhere

  3. Re:Sounds like multiple failures by Paradise+Pete · · Score: 5, Insightful

    This isn't amateur hour, guys - there's real money at stake here.

    People make mistakes every day of their lives. We always have, we always will. It's how we learn what not to do. It's just that almost all mistakes are harmless... except on the internet. There it's like living in a minefield. Make a bad step and boom. It's not a question of amateur hour, it's a question of being human.