News for hackers. Stuff that matters.
Re:Telegram messaging app proves crucial to Belarus protests by input_sh on Friday August 21, 2020 @12:53PM (#24236610)
By default it's no more encrypted than HN (as in, traffic to their servers uses TLS, messages on the server are not encrypted at all).

There's Secret Chats feature which they claim to be end-to-end encrypted, meaning that it's no more secure than Facebook's Messenger (also end-to-end encrypted in Secret Conversations). Even less so considering that they roll their own encryption (MTProto), while Facebook's Messenger uses Signal's protocol.

Further info (which will also lead you to problems with their MTProto protocol, if you're interested): https://security.stackexchange.com/questions/49782/is-telegr...

Re:Telegram messaging app proves crucial to Belarus protests by ConsiderCrying on Friday August 21, 2020 @01:00PM (#24236681)
Can we stop using 6-year-old info for apps that get updated monthly? The problems they have with MTProto have been patched literally 5 years ago, the only other criticism comes from a direct competitor, and they recommend WhatsApp despite the fact that it's closed-source and nobody can verify if its encryption truly works.

Facebook is planning to merge Messenger, WhatsApp and Instagram, which makes it even more awful of a choice.

Re:Telegram messaging app proves crucial to Belarus protests by heinrich5991 on Friday August 21, 2020 @01:33PM (#24237022)
Telegram still doesn't encrypt chats end to end (by default¹), which means it's not a strictly superior choice to WhatsApp.

Facebook can't read your WhatsApp messages (of course they can add an update any time to do that), but Telegram has access to all your messages right now.

¹ Yes, you can select the end-to-end encrypted sessions, but they're very crippled from a usability perspective. I don't remember the last time anyone used it with me, yet all my chats on WhatsApp are end-to-end encrypted without anyone doing anything.

Re:Telegram messaging app proves crucial to Belarus protests by ConsiderCrying on Friday August 21, 2020 @01:50PM (#24237198)
> Facebook can't read your WhatsApp messages

Are we sure it can't? Because WhatsApp is closed-source, its GDrive backups are unencrypted and Facebook's whole profit model is based around snooping. Unless they make the app open-source, I'm not trusting them even with a grocery list. People act like E2E is the be-all and end-all but trusting an incredibly shady company on its word is not something I'm comfortable with.

Re:Telegram messaging app proves crucial to Belarus protests by heinrich5991 on Friday August 21, 2020 @02:25PM (#24237499)
Yes, people are reverse engineering the app. You can check the discussions on HackerNews when security of WhatsApp is discussed.

GDrive backups are not readable by Facebook, they're readable by Google. End-to-end, if properly implemented is the be-all and end-all. Except for metadata, which is a problem, but a different one, and Facebook definitely abuses that. But they don't/can't read the contents of chat messages (for now).

It's not merely trusting that shady company, but also realizing that the news of FB not having E2E-encrypted messages would definitely make the news, you'd be aware of it.

Re:Telegram messaging app proves crucial to Belarus protests by shawnz on Friday August 21, 2020 @03:27PM (#24238069)
> It's not merely trusting that shady company, but also realizing that the news of FB not having E2E-encrypted messages would definitely make the news, you'd be aware of it.

Right.. consider what your adversary would be giving up by revealing such a secret, even if it was true. That alone provides a not-insubstantial amount of security.

Re:Telegram messaging app proves crucial to Belarus protests by baybal2 on Friday August 21, 2020 @03:07PM (#24237889)
> > Facebook can't read your WhatsApp messages

> Are we sure it can't?

Google can remotely uninstall, and install a trojaned version of any app regardless of app signature on an official Android distribution.

Re:Telegram messaging app proves crucial to Belarus protests by maqp on Saturday August 22, 2020 @02:12AM (#24242057)
"Are we sure it can't?"

No, there's a 1..2% chance of backdoor.

The real question is, why is Telegram more secure? There's a 100% chance it can read your group messages, because it says so on their documentation that describes the cloud encryption. There is no E2EE at all for groups. There is no E2EE at all for desktop. Together these mean E2EE are completely neutered and useless. I'm a privacy researcher and I don't use them at all. Why would an average joe?

Re:Telegram messaging app proves crucial to Belarus protests by shawnz on Friday August 21, 2020 @03:05PM (#24237873)
Open source is not the be-all end-all of security either. Closed source apps can still be audited (with increased difficulty), and open source apps might still be impractical to audit even though they are open source.
Re:Telegram messaging app proves crucial to Belarus protests by maqp on Saturday August 22, 2020 @02:13AM (#24242064)
Nobody's claimed that. Open source is not panacea for verifiable security, it is however a requirement of it.
Re:Telegram messaging app proves crucial to Belarus protests by shawnz on Saturday August 22, 2020 @07:55AM (#24243529)
No, it is not necessary _or_ sufficient. That is what I'm saying. You can audit a closed-source app, and there also might be open-source apps which are impractical to audit despite them being open source.
Re:Telegram messaging app proves crucial to Belarus protests by maqp on Saturday August 22, 2020 @08:57PM (#24248636)
If you have your closed-source app audited, everyone needs to trust the audit company. And I've seen some shit audits in my life that told absolutely nothing about the actual security.

Open source means anyone can audit and verify nothing was done after audit.

Moxie more or less audited WhatsApp's Signal protocol implementation, and people are right to be concerned about whether changes have been made since FB bought the app.

Re:Telegram messaging app proves crucial to Belarus protests by shawnz on Saturday August 22, 2020 @09:16PM (#24248728)
It can also be reverse engineered by third parties. Whatsapp in particular has been subject to extensive analysis by reverse engineering.
Re:Telegram messaging app proves crucial to Belarus protests by newscracker on Friday August 21, 2020 @03:48PM (#24238244)
> Facebook can't read your WhatsApp messages

Facebook does get your WhatsApp communication metadata, and has been for years now. As the three letter agencies showed, metadata is actually quite valuable in many respects without needing to trawl through massive amounts of content.

Re:Telegram messaging app proves crucial to Belarus protests by Mediterraneo10 on Friday August 21, 2020 @01:49PM (#24237186)
Can’t Facebook read most people’s WhatsApp messages because cloud backups of chats are enabled by default, and only the tiny minority of users who disable that feature will get truly end-to-end encryption?
Re:Telegram messaging app proves crucial to Belarus protests by heinrich5991 on Friday August 21, 2020 @02:25PM (#24237502)
No, that's not true as far as I'm aware. The backup is to Google, not Facebook.
Re:Telegram messaging app proves crucial to Belarus protests by saagarjha on Friday August 21, 2020 @02:39PM (#24237644)
I don't see the problem of using a hand-rolled encryption algorithm or the strange choices that went into that algorithm as "patched literally 5 years ago".
Re:Telegram messaging app proves crucial to Belarus protests by maqp on Saturday August 22, 2020 @02:09AM (#24242046)
"Can we stop using 6-year-old info for apps that get updated monthly?"

The fact Telegram's E2EE has not been available

1. by default

2. on desktop apps

3. for group messages

for seven years tells you exactly how secure it is.

"the only other criticism comes from a direct competitor"

Fuck this attitude. Everyone has the right to criticize. If Telegram can't own their mistakes it's their fault, not that of the people who are beating them. Also, impartial professional cryptographers like Bruce Schneier and Matthew Green have told people not to use Telegram. Why is that if not because it's so horribly insecure. Why isn't there a single recommendation for Telegram from ANY cryptographer on the entire planet?

"they recommend WhatsApp despite the fact that it's closed-source and nobody can verify if its encryption truly works."

Because they've helped implement the encryption? Also if proprietary tools doing encryption are not secure, then why do Telegram users think it's ok for Telegram to use closed-source server that's doing the "distributed datacenter encryption" for group messages' at-rest protection. There's not even documentation available for this let alone source code.

Re:Telegram messaging app proves crucial to Belarus protests by AsyncAwait on Friday August 21, 2020 @05:24PM (#24239021)
> The problems they have with MTProto have been patched literally 5 years ag

Really? I haven't seen a single credible audit, nor a clear reason for rolling their own

Re:Telegram messaging app proves crucial to Belarus protests by input_sh on Friday August 21, 2020 @01:16PM (#24236859)
Fair point, but from my perspective, even if it was absolutely the best end-to-end encryption there is, it wouldn't mean much unless everyone's using Telegram for 1-to-1 communication using Secret Chats feature.

> Some of its channels helped unconnected, scattered rallies mature into well-coordinated action.

This line alone makes their encryption rather meaningless for this use case, since Secret Chats only work between two people.

Re:Telegram messaging app proves crucial to Belarus protests by skyyler on Friday August 21, 2020 @01:34PM (#24237030)
Which is why I'm confused people are even talking about their encryption in this thread.

This has nothing to do with secure chats and everything to do with Telegram's Channels feature. But a ton of people that have never used Telegram nor read the article don't know that.

Re:Telegram messaging app proves crucial to Belarus protests by sam_lowry_ on Friday August 21, 2020 @01:56PM (#24237242)
And proxies. Telegram has great proxy support and virtually anyone can install their own MTProxy in 5 min.

A multitude of proxies, shadow optic cables over the border and a bit of whitelisting from the government to allow payment processing made Telegram invincible.

Re:Telegram messaging app proves crucial to Belarus protests by maqp on Saturday August 22, 2020 @03:48AM (#24242482)
Where is their MTProxy tutorial?
Re:Telegram messaging app proves crucial to Belarus protests by sam_lowry_ on Thursday August 27, 2020 @04:14PM (#24298129)
Re:Telegram messaging app proves crucial to Belarus protests by DavideNL on Friday August 21, 2020 @01:01PM (#24236691)
> There's Secret Chats feature

But secret chats are only for 1-to-1 chats, not for groups as far as I know (or has that changed?)

Re:Telegram messaging app proves crucial to Belarus protests by ConsiderCrying on Friday August 21, 2020 @01:05PM (#24236745)
Nope, hasn't changed and it's one of the things on my "feature wishlist". Really hope they add for at least small chats.
Re:Telegram messaging app proves crucial to Belarus protests by BTCOG on Friday August 21, 2020 @04:04PM (#24238373)
Correct. What anyone in an oppressive regime could do though is to make sure settings are set to "share your phone number with no one," as well as delete their own messages from the channel in their entirety after having been read 15-30 min later or whatever arbitrary time they'd like. They would do best to not use an @username or account name which could identify them. Beyond that, there's no way anyone in Belarus can do a thing besides physical violence and take an individual's or a group of people's phones.

There are also options for invite only channels ( I manage several TG channels, public and private) in which nobody can join without having been given the invite link, or added to the channel if their settings permit other users adding them to channels.

Re:Telegram messaging app proves crucial to Belarus protests by BTCOG on Friday August 21, 2020 @02:47PM (#24237718)
This is all information in bad faith. The protocol and all Telegram is open source. Are you a cryptographer? And who "rolled" the Signal protocol, Moxie Marlinspike? Did he not design that himself?
Re:Telegram messaging app proves crucial to Belarus protests by input_sh on Friday August 21, 2020 @05:06PM (#24238885)
> ...and all Telegram is open source.

This is demonstrably false. Telegram's apps are open sourced (except Telegram X for some reason), same as Signal's (no exceptions). None of the two offer you their server's code.

> And who "rolled" the Signal protocol, Moxie Marlinspike? Did he not design that himself?

It passed the scrutiny of the best cryptographers out there. This comment provides more info: https://news.ycombinator.com/item?id=24237791

And again, this is completely irrelevant because even if Telegram's end-to-end encryption was absolutely the best there is, a) it doesn't work on group chats, and b) it's not enabled by default, only in Secret Chats. The vast majority of Telegram's usage is not end-to-end encrypted at all.

Re:Telegram messaging app proves crucial to Belarus protests by maqp on Saturday August 22, 2020 @03:54AM (#24242511)
"None of the two offer you their server's code."

Signal server source code:

https://github.com/signalapp/Signal-Server

"The vast majority of Telegram's usage is not end-to-end encrypted at all."

This. This is the backdoor right here. It was never going to be shady flaw in the implementation. It's SO much easier to put it out there in the open, spread misinformation about Telegram being at the forefront of privacy battle and silence all criticism (my links were shadowbanned on their subreddit), and to attack straw men like people posting example's of Telegram's bad track record. tl;dr: damage control.

Re:Telegram messaging app proves crucial to Belarus protests by maqp on Saturday August 22, 2020 @02:21AM (#24242103)
The protocol and all Telegram is open source.

The open source Telegram client tells us

1. That E2EE is not enabled by default

2. That E2EE is not available at all for group chats

3. That E2EE is not available at all for desktop clients.

So just. No.

"Are you a cryptographer?"

Here's the world's most famous cryptographer, Bruce Schneier saying don't use Telegram: https://www.schneier.com/blog/archives/2016/06/comparing_mes...

Here's the world's second most famous cryptographer, Matthew Green saying don't use Telegram https://twitter.com/matthew_d_green/status/72642891296898252...

Now show me the cryptographer who recommends Telegram. You can't. Because there isn't _any_.

"And who "rolled" the Signal protocol, Moxie Marlinspike? Did he not design that himself?"

No, it was co-authored with Trevor Perrin[1] who is a cryptographer.

[1] https://twitter.com/trevp__

Telegram's encryption OTOH was designed by Nikolai Durov who is not a cryptographer, but a geometrician. That's like asking a gynecologist to perform brain surgery, lol.

Re:Telegram messaging app proves crucial to Belarus protests by diimdeep on Friday August 21, 2020 @01:03PM (#24236711)
And how is Signal's protocol is not "roll their own" ? Sorry I don't know.
Re:Telegram messaging app proves crucial to Belarus protests by tptacek on Friday August 21, 2020 @02:56PM (#24237791)
Signal Protocol won the Levchin Prize at Real World Crypto, which was awarded by a panel of several of the most renowned academic cryptographers in the field (including Dan Boneh and Kenny Paterson). Other winners include Bellare, Krawczyk, and Joan Daemon. The protocol has been extensively analyzed and is the current gold standard for messaging encryption.

Telegram's protocol... is not that.

Re:Telegram messaging app proves crucial to Belarus protests by maqp on Saturday August 22, 2020 @02:27AM (#24242129)
This. It's not the Durov brothers who are moving the field of secure messaging onwards, or talking at conferences. They're complete amateurs surrounded by fanboys who don't understand the very basics of the field, and who think copy-pasting from https://tsf.telegram.org/manuals/e2ee-simple makes them useful as opposed to spreading propaganda.
Re:Telegram messaging app proves crucial to Belarus protests by read_if_gay_ on Friday August 21, 2020 @05:27PM (#24239042)
But the standard we should apply to secure chat protocols isn't how many awards it won, but whether it's watertight. Obviously winning a prestigious prize means it's watertight, but the converse doesn't follow. A protocol can be safe for practical use without winning any prizes.
Re:Telegram messaging app proves crucial to Belarus protests by maqp on Saturday August 22, 2020 @02:29AM (#24242140)
It can, but given Telegram's history and professional cryptographers like Schneier[1] and Green[2] saying DO NOT USE IT, it's obvious it's _anything_ but watertight.

[1] https://www.schneier.com/blog/archives/2016/06/comparing_mes...

[2] https://twitter.com/matthew_d_green/status/72642891296898252...

Re:Telegram messaging app proves crucial to Belarus protests by read_if_gay_ on Saturday August 22, 2020 @02:41AM (#24242202)
Both four years old. Did they not improve since?
Re:Telegram messaging app proves crucial to Belarus protests by maqp on Saturday August 22, 2020 @03:05AM (#24242306)
No. Still not E2EE by default, still no E2EE for groups, still no E2EE for desktop clients. Why do you want to imagine Telegram magically got better when it's so obvious it didn't?
Re:Telegram messaging app proves crucial to Belarus protests by read_if_gay_ on Saturday August 22, 2020 @06:01AM (#24243051)
Because they “magically” updated and improved tons of stuff in the last four years. So I think it’s not unreasonable to consider whether their encryption improved too.

But yes, not having encryption on by default speaks poorly of them. OTOH it’s not concrete proof that the encryption still sucks as of now.

Re:Telegram messaging app proves crucial to Belarus protests by maqp on Saturday August 22, 2020 @06:39AM (#24243196)
Don't get me wrong, I'm not saying the E2EE encryption itself is flawed. I'm saying it's not being used at all by default. And I'm saying it's not possible to use it for groups or desktop clients. That's _the_ travesty, and the proof that this is the state of things is so obvious people don't realize how serious it is. And my concern is that will lead to a tragedy.
Re:Telegram messaging app proves crucial to Belarus protests by read_if_gay_ on Saturday August 22, 2020 @11:41AM (#24244829)
Yeah, it’s true that not having E2EE makes Telegram a bad choice for the purposes of the protesters. Convenience and inertia wins out though. And when you have groups of hundreds of thousands of people, there aren’t too many choices in the first place.
Re:Telegram messaging app proves crucial to Belarus protests by maqp on Saturday August 22, 2020 @08:55PM (#24248619)
The expectation of privacy loses it's meaning when the group size grows. It's more likely what you said remains private when you say it in a group of five people than if you say it in a group of 50, 500, 5000, or 500,000 people. IMO supergroups and channels don't need E2EE, normal groups in Telegram definitely do. It's not an all-or-nothing thing. E2EE where expectation of privacy can be assumed from group size isn't a problem.

Also, Signal has no upper group size limit but E2EE would make group with 100,000s a bit sluggish. But that's a problem that reduces with Moore's law.

Re:Telegram messaging app proves crucial to Belarus protests by swinglock on Saturday August 22, 2020 @03:05AM (#24242307)
Of course not. You have to first admit you have a problem to be able to improve.
Re:Telegram messaging app proves crucial to Belarus protests by tptacek on Saturday August 22, 2020 @12:20AM (#24241520)
Does this comment have anything to do with the question I was responding to?
Re:Telegram messaging app proves crucial to Belarus protests by read_if_gay_ on Saturday August 22, 2020 @02:48AM (#24242231)
No, and obviously it doesn't have to, because I'm replying to you. You hint at Telegram's protocol being inferior based on the number of awards it won, a heuristic that isn't too relevant in practice.
Re:Telegram messaging app proves crucial to Belarus protests by stinkytaco on Friday August 21, 2020 @01:59PM (#24237275)
First of all, most of this goes back five years and things have likely changed, but basically MTProto used several non-standard and out of date security mechanisms (no AE and using SHA1 were fairly notable at the time) whereas Signal was purposing fairly standard and widely used mechanisms (OTR). It's possible that many of those failures have been addressed over the years, but I haven't followed it closely. It's worth noting that Signal has been widely vetted over time and is the underpinning of WhatsApp, whereas MTProto continues to have a poor reputation, it seems.
Re:Telegram messaging app proves crucial to Belarus protests by maqp on Saturday August 22, 2020 @02:31AM (#24242151)
The very fact out-of-date security mechanisms passed into first version should tell the developers don't follow their field, or that they're complete amateurs. Both are flags so red Stalin would have a problem with it.
Re:Telegram messaging app proves crucial to Belarus protests by Mediterraneo10 on Friday August 21, 2020 @01:51PM (#24237206)
The Signal Protocol[0] is based on OTR, a technology which had already seen a number of implementations and informed scrutiny by the time Signal came along.

[0] https://en.wikipedia.org/wiki/Signal_Protocol

Re:Telegram messaging app proves crucial to Belarus protests by godelski on Friday August 21, 2020 @02:36PM (#24237611)
Also an important aspect is that it is open sourced, meaning others can audit it. I'm a little untrusting of people that say "trust me" but also "no, you can't look at it." (unless there is a good reason to hide it, which in this case I do not believe there is)
Re:Telegram messaging app proves crucial to Belarus protests by maqp on Saturday August 22, 2020 @02:33AM (#24242164)
The thing is, there's nothing to audit.

The world's best audit of Telegram would make the following obvious findings:

1. It's not E2EE by default therefore it's not private and secure by default.

2. It's not E2EE at all for groups therefore it's not safe for use of dissident groups

3. It's not E2EE at all for desktop clients therefore it's not practical in daily messaging.

Any audit of the E2EE part is meaningless when E2EE is so impractical it's not used by users at all.

Re:Telegram messaging app proves crucial to Belarus protests by jhasse on Friday August 21, 2020 @07:23PM (#24239947)
MTproto is also open source.
Re:Telegram messaging app proves crucial to Belarus protests by godelski on Friday August 21, 2020 @08:57PM (#24240640)
Thank you for updating. For those curious this is what I found looking for the source https://github.com/tdlib/td/tree/80c35676a2eb1e9b71db355ee21...
Re:Telegram messaging app proves crucial to Belarus protests by upofadown on Friday August 21, 2020 @03:25PM (#24238052)
It's based on the concepts of OTR but it has gone in different directions to actually implement those ideas.
Re:Telegram messaging app proves crucial to Belarus protests by maqp on Saturday August 22, 2020 @02:34AM (#24242169)
(DH-ratchet is still there. 1536-bit FF-DH was replaced with X3DH etc, but the basic idea is still there. Adding hash ratchet for non-round-trip messaging was a good idea, as was pre-keys stored on server. IMO it's fair to say it's been expanded around OTR)