News for hackers. Stuff that matters.
Re:Why Telegram is insecure (2015) by x092 on Sunday January 06, 2019 @07:06AM (#18837928)
What I find interesting is that this article is very recent, however the calculations on Crypto are not up to date. MtProto has had some big changes some time ago already:

- SHA-256 is used instead of SHA-1;

- Padding bytes are involved in the computation of msg_key;

- msg_key depends not only on the message to be encrypted, but on a portion of auth_key as well;

- 12..1024 padding bytes are used instead of 0..15 padding bytes in v.1.0.

See https://core.telegram.org/mtproto/description

Re:Why Telegram is insecure (2015) by Fnoord on Sunday January 06, 2019 @07:43AM (#18838055)
None of these changes are big enough; it is still homebrew crypto. If there's issues with cryptography standards you can be sure your OS (such as your Linux distribution) lost CIA in one way or another. Whereas with MTProto, if that is broken, only your Telegram chats lose CIA. Which raises the question why not use standards?
Re:Why Telegram is insecure (2015) by x092 on Sunday January 06, 2019 @08:14AM (#18838141)
They were, actually. MtProto v2 satisfies IND-CCA now as opposed to what the blog post claims: https://core.telegram.org/techfaq#what-about-ind-cca
Re:Why Telegram is insecure (2015) by raverbashing on Sunday January 06, 2019 @08:34AM (#18838223)
So Signal and others are not "homebrew crypto"?

That criticism is fair a lot of times, but every higher level crypto construction is going to be unproven for a while until checked.

It's not like they were inventing their own hash function and stream cypher.

Re:Why Telegram is insecure (2015) by tptacek on Sunday January 06, 2019 @11:02AM (#18838941)
Signal is the best-studied multiparty secure messaging protocol; there are academic papers that provide formal analyses. Trevor and Moxie won the Levchin Prize at Real World Crypto for Signal Protocol; the Levchin steering committee is a "Who's Who" of cryptographers, as are the other winners of the prize.

No, Signal is not "homebrew crypto".

Re:Why Telegram is insecure (2015) by raverbashing on Sunday January 06, 2019 @12:23PM (#18839347)
What would be a good definition of Homebrew crypto?

Sure, if I put some primitives together (even if I had a good knowledge of how to do it) in a closed product and nobody evaluates it (and I add a label like "military security") that's Homebrew, no questions.

But all systems are born "in secret" (at least for a short while). Unless the definition involves appeal to authority.

Re:Why Telegram is insecure (2015) by tptacek on Sunday January 06, 2019 @12:37PM (#18839428)
Obviously, the term is a straightforward appeal to authority.
Re:Why Telegram is insecure (2015) by raverbashing on Sunday January 06, 2019 @01:53PM (#18839858)
Which is sometimes unjustly described as fallacious, though even the best can make mistakes.
Re:Why Telegram is insecure (2015) by tptacek on Sunday January 06, 2019 @02:11PM (#18839981)
Hopefully we agree on the authority here. But I jumped the gun on my response a little as well, because my argument isn't simply an appeal to authority; for instance, you can just go read the formal analyses of Signal Protocol and evaluate them for yourself. Maybe IEEE EuroS&P was wrong to accept the paper!
Re:Why Telegram is insecure (2015) by acdha on Sunday January 06, 2019 @08:26AM (#18838187)
The fact that they spent so long using SHA-1 after it’d is a red flag for their hand-rolled crypto. They had no legacy install base but were deploying new services while the rest of the industry was deprecating it – even the U.S. federal government was ahead on that.