News for hackers. Stuff that matters.
Re:Pokemon Sword and Shield Are Crashing Roku Devices by emiliobumachar on Monday November 18, 2019 @03:17PM (#21567740)
> It just so happens that Pokémon’s network discovery packet shares the exact same bytes as Roku’s signed bytecode to reboot.

> The odds are astronomically low.

Interesting. Any chance anyone here would know exactly how many bytes we're talking about?

Re:Pokemon Sword and Shield Are Crashing Roku Devices by fpgaminer on Monday November 18, 2019 @03:24PM (#21567819)
Assuming by "signed" they mean cryptographically signed, and they're not doing something dumb, then the signature itself would be at least 16 bytes. It'd be ~impossible for a collision to ever occur by accident.

So either "signed" means something different in this context or GameFreak replicated Roku's reboot packet for some reason.

Re:Pokemon Sword and Shield Are Crashing Roku Devices by dragontamer on Monday November 18, 2019 @03:50PM (#21568013)
> then the signature itself would be at least 16 bytes.

Indeed, and 16-bytes is SHA1 or MD5, both considered insecure at this point. 32-bytes (SHA256) seems more likely to me.

So I'm going to bet that they aren't "signing" the packet.

Re:Pokemon Sword and Shield Are Crashing Roku Devices by jlgaddis on Tuesday November 19, 2019 @06:11AM (#21572018)
AES-128 is also 16 bytes (128 bits), which is still (and likely will be for many, many years) completely secure, for all intents and purposes.

(SHA1 is 20 bytes, BTW.)

Re:Pokemon Sword and Shield Are Crashing Roku Devices by dragontamer on Tuesday November 19, 2019 @02:50PM (#21577446)
AES-128 is encryption, not a hash. AES-128 will be broken when computers get enough compute power to calculate 2^127 keys (the brute force attack: after covering 50% of the keyspace).

Cryptographic hashes are prone to the birthday attack instead. MD5 hashes (128-bits) are broken when a computer has enough power to calculate 2^64 keys (birthday attack: they found a hash collision).

Re:Pokemon Sword and Shield Are Crashing Roku Devices by sfoley on Tuesday November 19, 2019 @06:13AM (#21572024)
SHA-1 is 20 bytes.