TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Hacking misconfigured AWS S3 buckets: A complete guide

259 pointsby yarapavan8 months ago

11 comments

iambateman8 months ago
S3 configuration is awful, full stop. It’s not just that the interface is a disaster and configuration options are full of jargon and access rules are written in JSON.<p>The problem is that for someone who only periodically uses S3, I’m lost. I’m not lost in other services…Cloudflare, Firebase, Mailgun, and dozens of others somehow manage to allow people to use their service without so much agony.<p>I’m almost positive my S3 bucket is misconfigured because of how absurdly complex it is.<p>If you disagree and have spent more than 200 hours working within S3 I submit that it’s because you’re just an expert. I shouldn’t need a certification to upload files and retrieve them securely.
评论 #41497425 未加载
评论 #41511509 未加载
评论 #41499861 未加载
travismcpeak8 months ago
This does a great job of highlighting why properly configuring infrastructure is hard: S3 buckets (one of the most simple cloud infra services) have 70 configuration options.<p>Imagine you&#x27;re a junior dev and your manager says &quot;just spin up an S3 bucket and drop the data there, and make sure your app can access it&quot;.<p>S3 does have some sensible defaults, but a lot of Terraform modules do not...imagine somebody who now has to decipher S3&#x27;s basic properties, ACLs, IAM, etc.
评论 #41496411 未加载
评论 #41500552 未加载
评论 #41501467 未加载
评论 #41498215 未加载
OJFord8 months ago
This is just a list of &#x27;how to do x with awscli [and if the bucket allows unauthenticated users to do x then you will get a result]&#x27;.<p>Unless I&#x27;m missing something there&#x27;s nothing particularly.. interesting or thought out here? May as well read the docs for available s3&#x2F;s3api operations - there&#x27;s more!
amy-petrik-2148 months ago
The article is a lengthy discussion of something simple. 1) use a proxy or VPN 2) write a bucket guesser in python (use your imagination) 3) run this <a href="https:&#x2F;&#x2F;github.com&#x2F;sa7mon&#x2F;S3Scanner">https:&#x2F;&#x2F;github.com&#x2F;sa7mon&#x2F;S3Scanner</a> Now you have list&#x2F;read&#x2F;write status info +&#x2F;- existence per S3 scanner.<p>There, see? Didn&#x27;t need a whole article.
arter48 months ago
The interesting thing is, most people wouldn&#x27;t do the same things (say, chmod 777 all the things) on a public NAS.<p>If this assumption is true, it begs the question. Why do people act like public cloud storage is more secure than &quot;private&quot;, on prem storage?<p>Do users expect safe defaults (as in, &quot;default deny&quot;)?<p>Is it just a matter of attitude, where people think public cloud is more secure because it&#x27;s not managed by (potentially short-staffed) corporate IT teams, even if it&#x27;s not completely managed by the cloud provider?<p>Or is there something else?
评论 #41490832 未加载
评论 #41490884 未加载
评论 #41495236 未加载
评论 #41492875 未加载
评论 #41495417 未加载
评论 #41495772 未加载
评论 #41490639 未加载
评论 #41490735 未加载
评论 #41490996 未加载
评论 #41499188 未加载
评论 #41490760 未加载
encoderer8 months ago
In 2018 I added S3 bucket monitoring to my SaaS, Cronitor.io but we eventually retired it because AWS seems mostly to have solved this.<p>It’s hard in the console to make buckets public, it’s obvious when they are, and Amazon sends emails about public buckets just in case you’re not using the console.
评论 #41499187 未加载
hemloc_io8 months ago
Hah I&#x27;ve had some fun with this, and even submitted bug reports that were never looked at.<p>I have like the worlds largest collection of license plate photos now. :)
the_arun8 months ago
I wish AWS showed who has access to every S3 bucket created right at the S3 console. It shows permissions but doesn&#x27;t show external view.
评论 #41491840 未加载
评论 #41491820 未加载
paulpauper8 months ago
Thinking about creating intentionally misconfigured buckets with encrypted files that look like they have valuable stuff so the hackers waste tons of resources decrypting them only to see they are worthless
评论 #41491066 未加载
happyraul8 months ago
I realize probably many (most?) people open this site on a mobile device, and the design is optimized for that. Still, does it bother anyone that on a desktop monitor, less than a third of the horizontal width is used for content?
评论 #41499959 未加载
评论 #41499156 未加载
msarrel8 months ago
Nice work!