0

I just started a download of a large file. Checksums were placed prominently on the download page. But I just realized that I actually never made use of any of the checksums provided for download integrity verification.

What are the reasons browsers do not provide such a feature from a security perspective?

Many browser do show some sort of popup when the download starts. So it would make sense there to have an option to enable verification.

closed as off-topic by Lucas Kauffman, M'vy, user45139, Xander, Steve Aug 14 '15 at 14:10

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be about Information security within the scope defined in the help center." – Lucas Kauffman, M'vy, Community, Xander, Steve
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 4
    Because it's not standardized. – Lucas Kauffman Aug 14 '15 at 7:54
  • 1
    Some download managers provide this (e.g. DownThemAll add-on in Firefox). This question is more a question for the browsers people than a question about security. – M'vy Aug 14 '15 at 8:21
  • Even though there are some implications concerning user experience and browser design/standardization, there are as well some security implications, because a lot of downloads are still handled via plain http and can be intercepted and manipulated for example. – SpaceTrucker Aug 14 '15 at 8:36
  • if the file and the checksum are send using the same channel there is no use (if you can intercept and modify the document you can intercept and modify the checksum). – grandchamp robin Aug 14 '15 at 8:43
  • They do. The feature is called TLS. – immibis Jan 31 '16 at 21:44
2

Because it's not needed.

All protocols which are commonly used to download files either have a buildin mechanism to ensure integrity of the data stream or rely on a lower-level protocol (like TCP) to provide this. This is a reliable precation against accidental corruption of files in transfer.

When it comes to intentional corruption of files by a man-in-the-middle: Any attacker which can modify the data-stream of the download itself can very likely also modify the data-stream which is used to transfer the checksum, so it would not be an efficient security precation.

Such checksums only make sense when the website which advertises the file and the website which hosts the file are under control of different entities, like when you outsource your downloadable files to a 3rd party filehoster. But to automatize this, we would need a protocol which gives one server the authority to tell which files on another server are authentic. Such a protocol would have plenty of abuse potential.

  • 1
    Regarding MITM: along this question it is common to have the download page loaded via https and the download via http. So a MITM might only have access to the file download itself. – SpaceTrucker Aug 14 '15 at 9:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.