The $0 Supply Chain Hack: Hijacking Microsoft’s Setup.exe (And Broke Their Bounty Policy)
A Microsoft application's JavaScript bundle contained a hardcoded link to a deleted Azure Storage account, allowing the researcher to re-register the globally unique name and serve a file at the expected installer URL. An attacker could distribute a malicious executable to users who trusted the Microsoft domain.
Published on sudoaman.medium.com
There is a fundamental misunderstanding in our industry about what constitutes “Advanced Hacking.” We are sold a narrative that compromising a trillion-dollar infrastructure requires zero-day exploits, kernel-level bypasses, or nation-state resources.
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 application code hardcoded a reference to an Azure Storage account that was later deleted, and Azure allowed the globally unique name to be re-registered by anyone.
Impact
An attacker could serve a malicious executable from a trusted Microsoft domain, potentially leading to code execution on a victim's machine, though the bounty was $0 because the impact was local rather than cloud-based.
What the attacker needed
Azure account to register storage name; Victim downloads and runs the installer
The fix
Microsoft reclaimed the storage account name and patched the application to remove the dead code.
How it was found
- Review the application's JavaScript bundle and find a hardcoded Azure Blob Storage URL for the installer.
- Check DNS for the storage account name and confirm it returns NXDOMAIN, indicating deletion.
- Create a new Azure Storage account with the exact same name.
- Create the expected container and set public read access.
- Upload a benign file named setup.exe to the expected path.
- Verify that the original download URL now resolves to the attacker-controlled storage account.
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 company's website had a download button that pointed to a cloud storage location. The company deleted that storage but forgot to update the website, so the location became available for anyone to claim. The researcher claimed it and could then control what file users downloaded.
What is Subdomain takeover?
A company's DNS still points at a cloud service it no longer uses, so anyone can claim it and serve content on the company's domain.