
Encuentra buckets interesantes de Amazon S3 monitoreando los registros de transparencia de certificados.
Encuentra buckets interesantes de Amazon S3 observando los registros de transparencia de certificados.
Esta herramienta simplemente escucha varios registros de transparencia de certificados (a través de certstream) e intenta encontrar buckets S3 públicos a partir de permutaciones del nombre de dominio del certificado.

Sé responsable. Creé esta herramienta principalmente para resaltar los riesgos asociados con los buckets S3 públicos y para dar un enfoque diferente a los ataques habituales basados en diccionarios. Algunos consejos rápidos si usas buckets S3:
company-backup.s3.amazonaws.com.Gracias a mi buen amigo David (@riskobscurity) por la idea.
Se requieren Python 3.4+ y pip3. Entonces solo:
git clone https://github.com/eth0izzle/bucket-stream.gitpip3 install virtualenv && virtualenv .virtualenv && source .virtualenv/bin/activatepip3 install -r requirements.txtpython3 bucket-stream.pySimplemente ejecuta python3 bucket-stream.py.
Si proporcionas claves de acceso y secreta de AWS en config.yaml, Bucket Stream intentará acceder a buckets autenticados e identificar al propietario del bucket. Los usuarios no autenticados tienen una limitación de velocidad severa.
usage: python bucket-stream.py
Find interesting Amazon S3 Buckets by watching certificate transparency logs.
optional arguments:
-h, --help Show this help message and exit
--only-interesting Only log 'interesting' buckets whose contents match
anything within keywords.txt (default: False)
--skip-lets-encrypt Skip certs (and thus listed domains) issued by Let's
Encrypt CA (default: False)
-t , --threads Number of threads to spawn. More threads = more power.
Limited to 5 threads if unauthenticated.
(default: 20)
--ignore-rate-limiting
If you ignore rate limits not all buckets will be
checked (default: False)
-l, --log Log found buckets to a file buckets.log (default:
False)
-s, --source Data source to check for bucket permutations. Uses
certificate transparency logs if not specified.
(default: None)
-p, --permutations Path of file containing a list of permutations to try
(see permutations/ dir). (default: permutations\default.txt)
No parece que esté sucediendo nada
¡Paciencia! A veces los registros de transparencia de certificados pueden estar tranquilos durante unos minutos. Idealmente, proporciona las credenciales de AWS en config.yaml, ya que esto acelera enormemente la velocidad de verificación.
Encontré algo altamente confidencial
Repórtalo – ¡por favor! Por lo general, puedes averiguar el propietario a partir del nombre del bucket o realizando un reconocimiento rápido. Si no, contacta al equipo de soporte de Amazon.
git checkout -b my-new-featuregit commit -am 'Add some feature'git push origin my-new-featureMIT. Ver LICENSE