For a technical professional, I fight with the behavior of my web browser's address bar far more often than I really think I should. Maybe the average person would be far better served if the browser only assumed you meant a URL if you explicitly included a scheme, and otherwise just did a search.
What you think is an attachment from a trusted source is actually a link to the web.
A malicious user can craft an email "this is [abc.zip](http://very-bad-website)". Ok nothing new here.
But a non-malicious, who's emailing their mom: "I've attached abc.zip" (and put a abc.zip as attachment).
Here the problem here is a malicious other user has registered abc.zip to download a virus, and the mom's email client highlight abc.zip, and she clicks on it instead of the abc.zip attachment.
Your boss sends you this plaintext email:
Hi!
Please upload the photos as photos.zip to the company GDrive!
Thanks,
Boss
Your email client "helpfully" recognizes that "photos.zip" can be a TLD, so turns it automatically into a hyperlink. You click it because you think it's a link your boss intended to share with you, but you actually land on a site that pwns your browser with an exploit.There are 3 - yours, GP's, and GGP's.
None of the three seem like serious attack vectors to me.
I'm still having trouble coming up with a legitimate attack vector so I think there must not be one. I am ready to change my mind when I see one though.
Why not?
Hi! Please upload the photos as <a href="http://example.com/photos.zip">photos.zip</a> to the company GDrive!
So... what's new in your scenario?
If you were looking for a zip and knew with good chance it's on the internet, why not?
Googling for "product.zip" makes no sense. Unless it's an actual website.
It makes sense to me if you're looking for a portable deployment without an installer.
E.g. why would you prefer "zoom.zip" over "install zoom" query?
> why would you prefer "zoom.zip" over "install zoom" query?
Why shouldn't I? This isn't a question about figuring out the optimal search terms. But anyway. The mainline installer probably... installs it. In this scenario, I want a portable deployment, maybe because I lack permissions on this machine.
What percentage of the population is tech-illiterate?
maybe a single-digit percentage of HN, but the vast majority of the world even today can't find the control panel on Windows. And anecdata from school systems suggests that consumption-focused devices are regressing the next generation of users such that millenials and early gen-z are probably the peak of tech-literacy.
someone types "product.zip" into the address bar thinking the browser will automatically google it because of course it's not a valid domain name
but it turns out product.zip is a valid domain name, and it masquerades either as the product's webpage or as a delivery vector for other payloads.
---
I've mistyped search terms with periods in them and seen the browser try to route me to an invalid domain, so this isn't beyond the realm of reason.
---
edit: xsmasher below came up with a much more obvious attack case that deserves a read.