News for hackers. Stuff that matters.
Re:Russia lifts ban on Telegram by codezero on Thursday June 18, 2020 @05:27PM (#23568225)
This is a fun phrase, that as a non-crypto person seems reasonable, but I always wonder if there's something of a confirmation bias.

> The reason why that statement exists is because there are _countless_ examples of teams coming up with their own, new cryptographic mechanisms that either break...

But aren't there _countless_ examples of this in crypto made by cryptographers?

I'm not playing devil's advocate, I don't really have a stake here. :)

Re:Russia lifts ban on Telegram by rodgerd on Thursday June 18, 2020 @06:45PM (#23568980)
Not a crypto expert either, but from what I've gleaned listening to e.g. Peter Guttman describe evaluating new crypto mechanisms, you'll see that:

1. Actual cryptographers usually design with a set of constraints that make their crypto work: those might be about compute power, or memory bandwidth, or what have you, that make an algorithm difficult to brute force.

2. The algorithm will typically be peer-reviewed to try to weed out mistakes, either fundamental mathematical ones, or in the assumptions.

3. The implementation then needs to be high quality.

There are certainly no shortage of examples where systems which pass 1 & 2 are undermined by failures in 3. All algorithms are susceptible to the context around 1 changing (changes in compute power or whatever).

When you go it alone, you're assuming that you won't make any mistakes any of these. That seems a pretty tall order.

Re:Russia lifts ban on Telegram by nyokodo on Thursday June 18, 2020 @06:53PM (#23569049)
The principle is that cryptography is so hard that even the experts screw up, but non-expert chances of screwing up are so much greater.
Re:Russia lifts ban on Telegram by saalweachter on Thursday June 18, 2020 @11:28PM (#23570656)
I would phrase it more as "there is no margin of error in cryptography".

In machine learning, a model that works 90%, 95% of the time is pretty good.

A glitchy video game can still be fun as long as the glitches don't happen too often or cause a loss of too much progress.

Even a filesystem that doesn't lose most people's data, most of the time, will have a lot of adherents.

But if your cryptography implementation isn't completely perfect, it's frequently just 100% useless for its intended purpose.

Re:Russia lifts ban on Telegram by necubi on Friday June 19, 2020 @01:24AM (#23571253)
What really sets cryptography apart is that for a non-expert, there is no way to tell whether it's correct or not. Most bad software has bugs that can be found by users. A bad ML model will do poorly in validation.

But a bad crypto implementation will work. For all intents and purposes, it will appear completely fine. Users will get their messages. The bitstream will appear completely random. At least, until somebody with expertise in breaking crypto systems digs into it.

Re:Russia lifts ban on Telegram by maqp on Friday June 19, 2020 @10:37AM (#23574949)
>But a bad crypto implementation will work. For all intents and purposes, it will appear completely fine. Users will get their messages. The bitstream will appear completely random. At least, until somebody with expertise in breaking crypto systems digs into it.

And that applies even if they're using AES but wrong mode of operation. That applies even if they're using best practices like AES-GCM but the CPU doesn't support AES-NI and a cache timing attack allows key exfiltration.

Like Swiftonsecurity wrote:

"Cryptography is nightmare magic math that cares what kind of pen you use. Should math care what kind of pen you use to implement it? No, but Fuck You, this is Cryptography."

The attacks are incredibly subtle for even the best systems, and Telegram is so far away from even adaquate it's difficult to emphasize it so I'll try with my best restraint:

TELEGRAM FUCKING LEAKS EVERY GROUP MESSAGE TO THE SERVER WHICH IS THE EXACT EQUIVALENT OF A FUCKING BACK DOOR.

I hope that didn't leave anything unambiguous.

Re:Russia lifts ban on Telegram by sudosysgen on Friday June 19, 2020 @11:40AM (#23575530)
Group messages on Telegram and normal messages are explicitly not encrypted in order to allow multi-device operation. That is explicit. I don't see how that has anything to do with the security of MTProto.
Re:Russia lifts ban on Telegram by setr on Friday June 19, 2020 @01:32AM (#23571300)
Also notable is that it can't be fixed or patched in the way you'd expect for any other software -- once it's found broken, everything that ever used it is now broken unless they're re-encrypted. There's no migration path to the fixed version
Re:Russia lifts ban on Telegram by gowld on Thursday June 18, 2020 @07:39PM (#23569379)
If Telegram crypto actually worked, they'd make far more money licensing the crypto than just running a chat app.
Re:Russia lifts ban on Telegram by floatboth on Thursday June 18, 2020 @08:24PM (#23569679)
Who would buy the licenses? In a world where the libraries for the Signal protocol are free, lol.
Re:Russia lifts ban on Telegram by heckerhut on Thursday June 18, 2020 @07:45PM (#23569417)
Assuming that money is what they’re after. Are you reading Durov’s channel on Telegram? Also, having invented the Russian Facebook and forcefully selling it to the Kreml - I don’t think he needs any more money. He’s playing a totally different game. I don’t know which one though.
Re:Russia lifts ban on Telegram by sudosysgen on Friday June 19, 2020 @11:41AM (#23575543)
Pavel Durov is so mindboggingly rich that he had a good shot at being a Russian oligarch, and decided not to. I don't think that's an argument.