Earlier quoted context omitted.
To be honest this is a lovely evil plan. cough MPAA cough
If they MPAA could subvert torrents of their property and and replace sections of the footage with just warnings (ruinning the download) i would find that much less objectionable than DRM. Frustrate the people pirating instead of punishing everyone else.
Announcing the first SHA-1 collision
171–180 of 524 posts
Re: Announcing the first SHA-1 collision
#172Earlier quoted context omitted.
No. Signatures provide the same amount of integrity protection. In fact, all practical asymmetric signature schemes sign a hash. If an attacker can control what somebody signs, he can switch out signed documents using this vulnerability.
well I would say that if an attacker controls what you sign, your security model is already toast, isn't it ?
The big news here is that SHA1 is now definitively not a cryptographically secure hash.
Re: Announcing the first SHA-1 collision
#173For those of us who are totally clueless about the construction of these hash functions, what is the fundamental flaw in SHA-1 that allows this attack? How do newer hash functions avoid it?
Re: Announcing the first SHA-1 collision
#174Earlier quoted context omitted.
Wouldn't that make the attack easier , since you just have to manufacture a pair of pieces with the same hash, instead of having to make the whole file have the same hash?
that depends on the attacker objective, if you just want to trash the file you can just search for any piece that have a hash collision, but if you want to turn the file into a malware you will need to modify the file in a specific way, possibly spanning multiple pieces, and there's less room for fuzzing the hash.
Re: Announcing the first SHA-1 collision
#175If you trust a signer, does this attack do anything to invalidate their SHA-1-based signatures? Or is the scenario strictly an attacker generating both versions of the message?
Re: Announcing the first SHA-1 collision
#176For those of us who are totally clueless about the construction of these hash functions, what is the fundamental flaw in SHA-1 that allows this attack? How do newer hash functions avoid it?
Re: Announcing the first SHA-1 collision
#177Earlier quoted context omitted.
Linus' answer: http://marc.info/?l=git&m=115678778717621&w=2 tl;dr it's a non-issue
No. Linus' answer is correct, as far as it goes, but the threats he considers are only a subset of the real problems. Laying aside the fact that this attack isn't the one you need to attack a hit repo, and recognizing that the theoretical weakness of SHA-1 (that has been known since (IIRC) before the conception of git) has now become a practical weakness If an attacker can forge an arbitrary part of a git tree, then…
We should assume that nation state adversaries may have known this for a while - whether they have acted on it remains to be seen. I suspect it is unlikely for git because it is measurable after the fact (unless you contaminate every instance) I'd be more worried about signing schemes.
(Wrote previous while bathing a toddler)
Re: Announcing the first SHA-1 collision
#178One practical attack using this: create a torrent of some highly desirable content- the latest hot TV show in high def or whatever. Make two copies, one that is malware free, another that isn't. Release the clean one and let it spread for a day or two. Then join the torrent, but spread the malware-hosting version. Checksums would all check out, other users would be reporting that it's the real thing, but now you've g…
Re: Announcing the first SHA-1 collision
#179Never forget: when Facebook, Twitter, and Cloudflare tried to slow-down SHA-1 deprecation: https://www.facebook.com/notes/alex-stamos/the-sha-1-sunset/... https://blog.twitter.com/2015/sunsetting-sha-1 https://blog.cloudflare.com/sha-1-deprecation-no-browser-lef... I think Microsoft tried to do it too early on, but eventually agreed to a more aggressive timeline.
[1]: https://www.facebook.com/notes/protect-the-graph/retiring-sh...