Ice3man Profile picture
Hacker, Developer @pdiscoveryio. Views are my own.
Sep 9, 2018 10 tweets 5 min read
Our journey begins with a simple idea - to query all possible AWS keys leaked on Github. Thankfully, @Google gives $300 free credit on BigQuery, so not a problem. We start by creating a regex for AWS Keys.

people.eecs.berkeley.edu/~rohanpadhye/f… We create a BigQuery SQL query inspired by @LiveOverflow's bitcoin private key searching video. Next, we run this Query. The github dataset is about 2.7 TB and it costs $5 for each TB. So each query costs approx $10. The query takes very small time.