News for hackers. Stuff that matters.
Re:BitTorrent v2 by yyyk on Tuesday September 08, 2020 @11:49AM (#24409571)
You're assuming a malicious peer, but what about a malicious seeder? One could take an existing unsigned executable, add in NOPs and no one would notice (same thing for certain noises in audio/video files).

Since there's some control over the original hash value, executing step (4) is not exactly a preimage attack, it should be a bit easier.

Re:BitTorrent v2 by loeg on Tuesday September 08, 2020 @01:21PM (#24410523)
If the seeder is malicious, there's no need to attack SHA1 at all. The seeder can't control which peers get which versions of any identical-SHA blocks — your target peer may share the bad block — so it seems easier to just upload the malicious content to everyone.