@fransrosen
Frans Rosén
6 years
I read the S3-docs and found that signing-errors disclosed the bucket-name. This can be used when CDNs are put in front of a bucket. It doesn't work in all cases, but many of them. You need an access-key to make it work (no secret-key) S3 decloaker:
8
116
297

Replies

@fransrosen
Frans Rosén
6 years
Many of the times, a specific path (/files/, /static/ etc) is used as a reverse proxy to S3, this script will to decloak those cases as well.
1
2
9
@fransrosen
Frans Rosén
6 years
The reason to find the bucket is to make further ACL-checks on the bucket. When the bucket is hidden behind a CDN, you cannot make proper requests to the bucket so no ACL-checks can be made, that's why you need the bucket name.
0
1
8
@gwendallecoguic
Gwendal Le Coguic
6 years
@fransrosen Looks like it doesn't work with a Cloudfront subdomain that point to the bucket.
1
0
0
@fransrosen
Frans Rosén
6 years
@gwendallecoguic Depends on the setup. If no headers or query params are passed to the bucket and only GET/HEAD allowed then no luck
0
0
3
@iiuusit
Iiro Uusitalo ✳️
6 years
0
0
2
@decalresponds
Derek Callaway
6 years
@fransrosen @hxmonsegur FYI: The prim and "proper" English is #uncloak as opposed to decloak; @TwitterMoments already had a #hashtag for it from people mentioning other attacks when I wrote this: 🤓 (and #Awesome #script btw!)
0
0
2
@fransrosen
Frans Rosén
6 years
@olemoudi @paradoxengine you only need one that is working, doesn't matter what account it is connected to. the signature-error order first checks if the access-key exists or not
0
0
1
@digitalwoot
Ryan Black - infosec.exchange/@digitalwoot
6 years
0
0
1
@BlankJinn
BlankJinn
6 years
@fransrosen Frans strikes again! :D
0
0
1
@gwendallecoguic
Gwendal Le Coguic
6 years
@fransrosen But works very well with
0
0
0
@3th1c_yuk1
3th1c_yuk1
2 years
@fransrosen Can you tell exactly how this tool works out ( usage of the tool )? It seems like not working properly now!!
0
0
0