AWS
In love w CloudSec
Configuration
Create a Root and IAM user
IAM user must have a custom password set along with Secret Key and an Access ID generated
Under IAM create a normal user assigned with AdministratorAccess and a misconfigured S3 bucket having public access over it's objects
Meanwhile access the aws-console via awscli
Now the keys will be stored under
.aws/credentials
- To confirm we can query
We can now interact with the misconfigured S3 bucket
So far we've tested or dumped the contents within the IAM user and buckets, what if an unknown user finds a bucket name ? How would he approach it ?
You guessed it, it's actually the same way and he would get the objects within the bucket if its publicly exposed
S3 Bucket - Best Practice
Navigate to
Amazon S3 > Buckets > securebucketnxg > IoT.pdf > Edit access control list
After unchecking
Everyone
Anyone with AWS account
No unknown user can list the objects within the S3 bucket - Best Practice !
Launch an EC2 Instance
Search for EC2
Generate a Key-Pair - can be accessed via ssh or putty
Launch a simple instance with the default inbound rules (as of now)
Last updated