How I Simulated a Supply Chain Attack on Thousands of Servers —
An old Google Cloud Storage bucket used for Helm binary distribution was left unclaimed, and many systems still downloaded binaries from it. The researcher took over the bucket and uploaded crafted binaries that ran a script to collect system information, demonstrating a supply chain attack.
Published on infosecwriteups.com
While hunting for broken link takeover opportunities, I came across an old Google Cloud Storage bucket that was previously used for Helm binary distribution. The bucket was no longer owned, but references to it still existed across the ecosystem.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the cloud storage bucket was left unclaimed after its original owner stopped using it, while many systems continued to reference it for binary downloads.
Impact
Thousands of machines across multiple organizations downloaded the crafted binaries, potentially allowing the attacker to collect system information; the risk was eventually neutralized when Google took over the bucket.
What the attacker needed
Bucket left unclaimed; systems still reference the bucket; attacker can upload to the bucket
The fix
The bucket was secured by Google taking over ownership, neutralizing the supply chain risk at the root.
How it was found
- Found an old Google Cloud Storage bucket previously used for Helm binary distribution that was no longer owned.
- Searched GitHub and found thousands of repositories still referencing the bucket in CI pipelines, Dockerfiles, and deployment scripts.
- Enabled access logging on the bucket and monitored real traffic, seeing thousands of requests daily.
- Generated a script to recreate Helm binary archives matching original naming patterns, covering multiple OS/architecture combinations and versions, and injected a small bash payload inside each archive.
- Uploaded the crafted binaries to the bucket and began receiving hits, with ~1,000+ requests per day from thousands of unique machines.
- Filtered out generic cloud IP ranges to focus on IPs with identifiable ownership and reported affected companies through bug bounty programs.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A cloud storage bucket is like an online folder that anyone can access if permissions are wrong. Here, an old folder used to distribute software was left unclaimed, so the researcher could put their own files in it. Many computers still downloaded from that folder, so they ran the researcher's code, which sent back basic system details.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.