Live data from Hacker News

Is Firefox lying to users about viruses in downloads?

theindy.us

21–30 of 76 posts

Re: Is Firefox lying to users about viruses in downloads?

#21
If only the voting public understood about statistics, false positives, and false negatives.

Even if Firefox did a full virus scan, there would still be false positives and false negatives in the results.

The system designer always has to put their reporting threshold somewhere, and that always means making a decision to bias towards false positives or false negatives. Eliminating false positives means exploding the number of false negatives.

Unfortunately, people like the OP don’t understand this, and yell angry things like “Firefox is lying to me!” Others here suggest FF should inject a bunch of weasel words like maybe and could and might. That’s a seemingly rational thing to do if you believe you’re informing a customer population that understands things like false positives and false negatives, but we have pretty clear evidence that they don’t. So FF makes a conscious informed decision to prefer reporting false positives over false negatives and then allows the user to override if they believe they know enough to do so. Sure, there are some costs to false positives, but they are dwarfed by the cost of false negatives.

Re: Is Firefox lying to users about viruses in downloads?

#23
post #13
post #6

Firefox isn’t necessarily scanning the files for viruses, they’re often just using databases that list domains suspected of hosting malware. IIRC, Chrome does the same thing too. I think it's not much of an issue for Firefox to flag stuffs downloaded from suspected URLs as a malware since it's not uncommon to have one's system infected from those sites' content. Firefox is just trying it's best to prohibit any sort o…

I wonder why they can’t integrate some service like VirusTotal into their downloader. Sure, for heretofore new objects it’ll take longer, but they have a long list of many many file hashes and their reputation dB .

There are quite a few reasons I can think of:

* Privacy

* Performance

* They would likely have to work with Virus Total to support their infrastructure as I can only imagine how quickly they'd take such a cloud service offline if everyone started using it by default

* And then what happens if / when the cloud service does have an outage? Does that mean people are blocked from downloading things?

* Same question for people on a corporate network who might have Virus Total blocked

* Same question for people on poorer internet connections as now the user has to transfer twice as much data if it's not a hash already stored on Virus Total.

That all said, its a cool idea for a third party browser add-on (if it hasn't already been done?)

Re: Is Firefox lying to users about viruses in downloads?

#24
post #20

Earlier quoted context omitted.

Because I don't want Firefox to send what I download to some (third party) company. Or anywhere for that matter. Their (and chrome's) current solution to block malware domains use a client-side bloom filter afaik. If you'd try to build the same client-side into firefox, you'd have just built another (bad) antivirus software. Might as well integrate clamav into firefox then.

Can’t they just compare hashes and for those where they have to do a scan, serve as an anonymous intermediary/proxy?

Perhaps similarly to Pwned Passwords API, except for files: https://www.troyhunt.com/ive-just-launched-pwned-passwords-v...

Re: Is Firefox lying to users about viruses in downloads?

#25
post #21

If only the voting public understood about statistics, false positives, and false negatives. Even if Firefox did a full virus scan, there would still be false positives and false negatives in the results. The system designer always has to put their reporting threshold somewhere, and that always means making a decision to bias towards false positives or false negatives. Eliminating false positives means exploding the…

I would suggest it might also force some sites to more actively police their site for malware to get off of the list.

Re: Is Firefox lying to users about viruses in downloads?

#26
I'm not as bothered by the main point of the article but it does raise an interesting point that was missed by the comments so far is near the end: If you're flagging files as potentially harmful, giving a user a choice to either execute it or delete it is kind of bad design!

Re: Is Firefox lying to users about viruses in downloads?

#27
post #21

If only the voting public understood about statistics, false positives, and false negatives. Even if Firefox did a full virus scan, there would still be false positives and false negatives in the results. The system designer always has to put their reporting threshold somewhere, and that always means making a decision to bias towards false positives or false negatives. Eliminating false positives means exploding the…

And if only developers understood UX.

The "lie" the author was complaining about was that Firefox is miscommunicating what it did: It warned that a concrete file was containing malware when it actually found a suspicious domain.

Depending on context, that might make a huge difference - e.g., if a user got such a warning for a file they uploaded themselves, they might get the wrong impression that their system is compromised.

As the author noted, simply describing the actual threat would clear this up.

> Sure, there are some costs to false positives, but they are dwarfed by the cost of false negatives.

This strategy has blown up a number of times already. If you present too many false positives, users might lose trust in you and ignore your predictions altogether.

Re: Is Firefox lying to users about viruses in downloads?

#29

Earlier quoted context omitted.

... so, materially yes? As a user, I don't care that they have an excuse, I care that they said "this file is a virus" when the file was not a virus.

Not really. "Lying" includes an intent to deceive. I would have been okay with "raises false alarms", "generates false positive" or even "confuses and/or misleads users". As a user, I want to be better safe than sorry - but would perhaps be happier with a finer classification than "no problem/OMG VIRUS!"

I agree that finer classification is needed. However: if you decide to declare to a user that every individual file that might contain a virus does contain a virus, that's intentionally deceiving them. It's deciding "X% of the time, this statement will not be true, and we are ok with that" instead of building the uncertainty into the statement itself. So I don't see how this can not be considered lying, unless they believed there would be no false positives.

Re: Is Firefox lying to users about viruses in downloads?

#30
There are several ebooks that have been uploaded to libgen that contain PDF exploits, and from what I understand there's no way to remove them.

The way that their library database works is by linking a book number to a file's md5 sum. On the filesystem they are stored something like `$drive:\$batch\$sum` where `$drive` is a Windows drive letter, `$batch` is the primary key of the document rounded to the nearest 1k, 10k or 100k depending on collection and `$sum` is the `md5sum` of the file data. The archive's file data is shared via torrents, usenet and other means in those batches, and to keep that in sync they have a policy of the primary key and sum of each file being immutable.

So if you do happen to download the literary works of mankind via their torrents, you have to do so with your antivirus turned off and hope nobody has uploaded anything too illegal over the last decade.

Post reply on HN