169 points · by escapologybb · 11y ago · 67 comments
The problem with Threema and TextSecure is that it's hard to convince my friends to use them because
- Threema is not free and does not have desktop/web clients, and multi-device setup is not supported afaik - TextSecure is not really multi-platform
The only popular, multiplatform messengers at the moment are Whatsapp, FB Messenger, Viber/Line and Telegram. Whatsapp doesn't have a desktop client, Messenger requires a Facebook Login, Telegram and Whatsapp does not have voice chat and I hate Viber's design -> so I keep using Telegram for messaging and Skype for voice.
The network effects can be very nicely observed in messenger usages. In my home country almost everyone uses Viber, but in other countries I have worked (W-EU) almost everyone uses Whatsapp. In Germany people seem to know Telegram, in other places nobody heard about it.
I thought the quality was abysmal compared to normal phonecalls, though, which is a shame.
It uses Otr for encrypted chat, so you can use any otr client for the other side of the chat. I personally use pidgin on my laptop and ChatSecure on my cell. It currently supports at least iOS and Android, which encompasses most people that I know.
Why isn't this a problem for Android or Windows phone?
Now this post says "By default, messages (...) are logged and stored on Telegram's servers". Damn.
Because most of the users need this for keeping the message history and they would not use Telegram otherwise.
I was spending far too much money sending SMS messages to my friends overseas. A few hundred per month at EUR0.12 each starts to add up pretty quickly. Data is cheap, so instant messengers tend toward being almost free.
Telegram has official clients for my FirefoxOS phone and for my Linux desktop.
I've never used their secret chats. I appreciate their open source nature and am happy to support them.
What if a user sends the screenshots of the fingerprint over, say, a medium decided in the chat on the fly? Unless you can MITM every service they're using, you could just /tweet/ the fingerprints, for instance, and check on a different machine for a matching key. Or what if the screenshot is tampered with by hand, like, signing the center of the square with a finger drawn, transparent signature? How would an attacker replicate that?
Of course, the "supervillain" model still works and enough computation time and power might find it, but there are a multitude of ways to ensure that the secrets match on everyone's devices.
All the substantial warnings I have read against it revolve around its lack of a respected crypto team (in fact, not having any experienced crypto team and conflating a bunch of maths PhDs with a real crypto team), not using acknowledged crypto design best practices (and flagrantly ignoring them for counrer-intuitive designs), and most importantly, using a contest instead of a real audit.
Contest != audit. An audit has a specialized team of cryptographers who try to break the application in any scenario. A contest has restrictive scope that sets up a strawman and doesn't attract real, serious crypto auditing. As an example, this article's MITM doesn't qualify despite being a real attack.
A contest means that you have no real knowledge of whether the crypto is broken if nobody succeeds. An audit means you can be significantly towards certain. You might already know this, but consider that if someone hosts a contest instead of an audit, and has all the other issues stated above, they will be met with hostility.
The data point(s) that lead me to wonder of a geographic bias have to due with the tone of prior analysis of telegram I've read over the past year. This article included. And also a general, very male, arrogance in the security community that seems to constantly search for any reason to ridicule. I will have to go back and trace the history of my perception to find the tone I mention, which I can do tomorrow if you likewise can provide a datapoint for your understanding that they flagrantly ignored crypt design best practices.
In watching the evolution of Pond, Telegram and TextSecure we see that to solve security or usability problems designers are required to venture to some degree into uncharted territory, away from best practices. So I question the flagrant claim.
But I agree contests are just marketing ploys, little else. If Telegram wanted to "claim" otherwise they would need to start with paying the analysts from this article the full bounty.
(I think the project deserves the flak it takes, and continues to endanger its users today).
The "Russia" thing is just dust people throw into the air to thwart reasoned discussion. People don't like Telegram because it is prima facie cryptographically incompetent. There's no one resource that sums up all the brokenness and weirdness --- certainly not Alex's post here, which concerns itself with a specific bug he and Juliano found. You have to collect all the data and paint the picture yourself.
So I doubt it has anything to do with geography. But more with Telegram's own arrogance about their own app, which not only doesn't have 1) a proper crypto team not "mathematicians", 2) crypto designs recognized by most cryptographers as being solid, but also 3) doesn't encrypt end to end the messages for 99 percent of its users.
TextSecure, Threema and Pond encrypt everything end to end by default and use solid designs to do so as well.
The Telegram team has been hostile to legitimate criticism, and has hosted cracking "contests" as if that in any way demonstrates the security of their protocol. When you roll your own protocol from practically unused primitives, commit most sins in the crypto book, dodge criticism, store your users' messages, and refuse to open-source the server-side code, you deserve that tone.
It's just rather dodgy all the criticism. What other secure chat system of late provides the server code? Only Pond comes to mind. What other chat system provides an OSS client, Only Pond TextSecure and Telegram.
Cracking contests are either absurd or just asking for people to ridicule you. So I understand part of the animosity.
Isn't this a rather big if? In my limited understanding of the math involved, the whole reason dhe is still secure is because this isn't the case. Which means an attacker couldn't just use any old sha1 collision, it would have to corellate to a valid set of dh params, which would have an effect on the computational complexity, right?
It seems like for this attack to be realistic you would need the math underlying DH to be broken somehow. At which point I think there are many applicatons who's security would be compromised that are far more disturbing than the security of telegram.
Again I am asking for clarification because I may be misunderstanding the use of the quoted text and I have not looked at the code myself.
As I read it, this analsis seems akin to someone stating that, a wall provides no security if we lived in an alternative universe where solids could freely pass through one another. That statement maybe true but who cares, that universe wouldn't continue using walls for security measures anyways. Excuse my metaphor there, I hope it clears up what I was asking about.
What it could be used for instead is running alternate "pods" to distribute load over multiple servers.
Unless the whole client code is audited by third parties (and it is ensured that app store version = audited version), this whole exchange of keys with colorful qr code could be a charade.
Whether or not it's open source doesn't mean much if you can't audit it. Open source counts if you're a developer and can read the code to see that a piece of software isn't e.g. calling home with user credentials in cleartext and storing them or worse.
But this is a custom cryptosystem. Most people can't audit it, and the people who can are not going to use their (extremely lucrative) skillset on the software without personal investment like "I want to use this."
Are they going to pay a consulting firm like Riscure to completely audit the codebase? No? Then it is insecure until proven secure. Open source isn't good enough.
Doesn't textsecure and threema have the exact same problem? Both show a fingerprint to the user instead of the actual key.
Using asymptotic notation without an argument (usually "n") makes me cringe. O(2^64) = O(1)
Pretty pointless estimate.
Just for reference to see how large 2^64 is,
2^64 microseconds = 584,555 years
Even if you find 10,000 computers capable of 1 million checks per second (a huge "if"), it would still take 58 years.
>Even if you find 10,000 computers capable of 1 million checks per second (a huge "if"), it would still take 58 years.
I'm sorry if I'm missing the context but it sounds straight out of 1958! Like, when a PC takes a room, costs $2.9 million (2014 $23.1 million), and comes with a with a processing speed of around 100 Kflop/s [1]
Like, "even if you find TEN THOUSAND" computers - like where would anyone find ten thousand computers in 2014
(Amazon and Microsoft's cloud farms only have like a million servers instnatly available on their clouds).... capable of a MILLION checks per second! That's a full Megahertz!
It would still take you 58 years :)
:-D Sorry!! It would have been a good argument in 1958 though :-D
The idea of 2^64 being inherently a large number... when a single graphics card costing a couple of hundred incidentally goes through 2^64 flop's all by itself every few weeks.
There's nothing expensive about 2^64 as such. I mean it's expensive in the sense of, we're talking dozens of dollars here :)