Re:Show HN: Snapception – Intercept all snapchats received o...
by Nursie on Monday October 13, 2014 @03:39PM
(#8450176)
I don't know a lot about the specifics of JPG file format, but... with a complex file format you can probably make some educated guesses about the content of some of the blocks and perhaps start building up a sort of dictionary... ?
Yeah, ECB is BAD.
Re:Show HN: Snapception – Intercept all snapchats received o...
by yk on Monday October 13, 2014 @03:51PM
(#8450245)
To the extend that AES is a good random number generator, only if you have a complete dictionary of all blocks. Simply because a random number generator should produce independent output even if you only have a small perturbation in the input. That is, there should be no relation between a completely white block and an one where one of the pixels has a value of 0xfffeff.
Re:Show HN: Snapception – Intercept all snapchats received o...
by Nursie on Monday October 13, 2014 @03:55PM
(#8450260)
Absolutely! There's no way I know to get at partial blocks where you have some knowledge, but even then you may have the start of some plaintext-leakage with the known-data and dictionary approach.
Of course ECB is still a very bad choice, because there are plenty of other ways to attack it. But recovering Snapchat images without the key would not be nearly as trivial as that example might suggest.