Skip to main content

Challenge 1 - Buckets of Fun

We all know that public buckets are risky. But can you find the flag?
IAM Policy
From the IAM policy we can see that anyone can download or List an object from the bucket thebigiamchallenge-storage-9979f4b You can use the terminal provided in the same page itself to execute and test out the commands

Challenge 2 - Google Analytics

We created our own analytics system specifically for this challenge. We think it’s so good that we even used it on this page. What could go wrong? Join our queue and get the secret flag.
IAM Policy
From the IAM policy we’ll be able to send and receive SQS messages from wiz-tbic-analytics-sqs-queue-ca7a1b2 . A queue URL in terms of AWS refers to a unique URL that is used to access a queue within the Amazon Simple Queue Service . Lets see if receive any message by forming a queue URL
In the received message we can see a URL, we can check it out by simply using curl

Challenge 3 - Enable Push Notifications

We got a message for you. Can you get it?
IAM Policy
From the policy we can see that anyone is allowed to subscribe to notifications from TBICWizPushNotifications on one condition which is the endpoint should end with @tbic.wiz.io As we do not have an email ending in that domain we can use another protocol like HTTPS to subscribe to it using webhooks. (https://webhook.site)
In the webhook dashboard you can see a POST notification for Subscription confirmation, To confirm the subscription to the notifications visit the URL from SubscribeURL in the confirmation message. You’ll receive the flag as the message once you confirm

Challenge 4 - Admin only?

We learned from our mistakes from the past. Now our bucket only allows access to one specific admin user. Or does it?
IAM Policy
The policy allows anyone to download objects from the bucket thebigiamchallenge-admin-storage-abf1321 and anyone can list the objects on the condition that the prefix should be files/* and the user arn is arn:aws:iam::133713371337:user/admin
From the response we can see that there are 2 objects we can get out of which one is the flag

Challenge 5 - Do I know you?

We configured AWS Cognito as our main identity provider. Let’s hope we didn’t make any mistakes.
IAM Policy
We can see that the policy allows all actions within the Cognito Sync Service. Allows to download and list any object from the bucket wiz-privatefiles We know that the Cognito Service is being used but we need to find the identity pool id to make calls to the application. The AWS cognito image you see on the screen is being hosted on the wiz-privatefiles bucket we can see that if we open the image in a new tab. If you check the source code of the challenge page we can find the Cognito Service creds. B1 Avi You can open devtools and the check config creds in console B2 Pn

Challenge 6 - One final push

Anonymous access no more. Let’s see what can you do now. Now try it with the authenticated role: arn:aws:iam::092297851374:role/Cognito_s3accessAuth_Role
IAM Policy
This IAM policy allows identity us-east-1:b73cb2d2-0d00-4e77-8e80-f99d9c13da3b to assume role.
Cet1 Avi