Skip to content
Misconfiguration Write-up Intermediate

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.

Arshad Kazmi Follow

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.

Arshad Kazmi, on infosecwriteups.com

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

  1. Found an old Google Cloud Storage bucket previously used for Helm binary distribution that was no longer owned.
  2. Searched GitHub and found thousands of repositories still referencing the bucket in CI pipelines, Dockerfiles, and deployment scripts.
  3. Enabled access logging on the bucket and monitored real traffic, seeing thousands of requests daily.
  4. 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.
  5. Uploaded the crafted binaries to the bucket and began receiving hits, with ~1,000+ requests per day from thousands of unique machines.
  6. 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.

More by Arshad Kazmi

View all

4 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.