News for hackers. Stuff that matters.
Re:Telegram Became the Anti-Facebook by kitsunesoba on Wednesday February 09, 2022 @12:30AM (#30269232)
Telegram is ridiculously smooth, runs on everything, doesn’t treat any platform as an afterthought (despite having the electron thing, Signal is still very mobile oriented), and isn’t Facebook. It’s about as good as you’re going to get without making big sacrifices somewhere.
Re:Telegram Became the Anti-Facebook by shp0ngle on Wednesday February 09, 2022 @01:04AM (#30269478)
Yeah, it’s ridiculously well made. I’m not disputing that. The protocol is weird but they built a great app on top of that.

They just cannot be sustainable long term. There is literally no restriction size-wise on data you can save on their servers. For free. And they have basically no income. They have some new ad program with basically no tracking (which is good for users, sure, but nobody will pay that much for that). They get 0 commissions from payment (and I never heard anyone using their payment thing). TON went nowhere.

Re:Telegram Became the Anti-Facebook by tazjin on Wednesday February 09, 2022 @03:09AM (#30270199)
I'd pay double what I pay for things like media streaming services for Telegram if they had a supporter tier. It's easily the best service I use.
Re:Telegram Became the Anti-Facebook by noxer on Wednesday February 09, 2022 @07:28AM (#30271844)
The restriction is done trough throttling in speed. It only looks like you have unlimited space but lets say you would actually want to upload a TB of stuff it would take very very long unless you use multiple accounts and then if you ever would need to download it it would again take very very long.

It also seems like files that are not downloaded by many people for a while get moved to slow servers and downloading these is really really really slow. If you have a few GB and want an additional online backup sure you could abuse it for that but realistically the potential to abuse it is low as it simply makes no sense as a could storage + they simply delete accounts from people who abuse the network. "Spam" is very lose defined and if you spam upload/download I'm sure they consider that to be spam and delete your account. Kinda pointless "backup" if you can lose access the moment you use the backup.

>And they have basically no income.

How would you know? They launched ads in public channels.

>TON went nowhere.

TON exists and seems functional just doesn't have anything to do with Telegram anymore due to the SEC.

Re:Telegram Became the Anti-Facebook by wruza on Wednesday February 09, 2022 @03:33AM (#30270352)
protocol is weird

You’re repeating weird, but working with both bot api and tg api weekly or so (tg api through a wrapper, but I’ve read about lower level calls and used these in gramjs) I can’t see what do you mean by that.

Re:Telegram Became the Anti-Facebook by maemre on Wednesday February 09, 2022 @04:22AM (#30270683)
Maybe they are referring to the fact that Telegram rolled their own cryptographic protocol that had a vulnerability that was fixed with a cryptic message [1] and still has some dubious choices [2]. I am not a cryptographer by any measure, so I don't whether there was a reason why they didn't pick an existing protocol like OTR. But, it doesn't make sense to me that they didn't switch to another protocol that is audited several times but released a second version of their protocol with the same criticisms.

[1]: https://words.filippo.io/dispatches/telegram-ecdh/ [2]: https://crypto.stackexchange.com/questions/31418/signal-vs-t...

Re:Telegram Became the Anti-Facebook by shp0ngle on Wednesday February 09, 2022 @04:02AM (#30270547)
Meaning MTProto. Not the bot API.
Re:Telegram Became the Anti-Facebook by wruza on Wednesday February 09, 2022 @04:41AM (#30270797)
So, crypto part or mtproto in general? I’m not a fanboy who is going to defend tg crypto, and personally I wonder why they didn’t use the same security stack e.g. my browser uses for gmail access. But apart from that it feels to me like a regular rpc protocol, clumsy sometimes, but nothing particularly weird. Working also with many stock exchanges protocols, I can tell these are sometimes weird af, despite being mostly over-https. E.g. bitfinex and iirc bitmex are funny ones, not to mention FIX/FAST or large exchanges native protocols.
Re:Telegram Became the Anti-Facebook by thwoeriu234 on Wednesday February 09, 2022 @04:01AM (#30270538)
Telegram is the only platform that "works" on Jolla. WA/Signal are both proprietary and will not work outside the Google-Apple "pleb sandbox".
Re:Telegram Became the Anti-Facebook by egberts1 on Wednesday February 09, 2022 @06:49AM (#30271585)
Pffft. Signal is proprietary?

it is on https://Github.com/SignalApp

and i’ve got my own variant of Signal server and client running. and runs on not only mobile but Linux too.

Re:Telegram Became the Anti-Facebook by AnonC on Wednesday February 09, 2022 @09:15AM (#30272825)
...except that for nearly a year you didn't have access to any updates to the Signal server code on their public repo while they were secretly adding Mobilecoin to it.
Re:Telegram Became the Anti-Facebook by egberts1 on Wednesday February 09, 2022 @09:45AM (#30273176)
of course. it a necessary submarine method to a rollout if not enough developers are on hand. Bad move, IMHO. but it is easily excised.
Re:Telegram Became the Anti-Facebook by SecurityLagoon on Wednesday February 09, 2022 @02:17PM (#30277092)
Out of curiosity why do you run your own Signal server when there is no federation?
Re:Telegram Became the Anti-Facebook by egberts1 on Friday February 11, 2022 @10:56AM (#30302876)
a study of Signal protocols.
Re:Telegram Became the Anti-Facebook by fastball on Wednesday February 09, 2022 @02:26AM (#30269944)
The reason Telegram is able to easily outclass WA and Signal in the UX department is due to the lack of E2EE.

If you don't need/want that it is clearly superior, but if you do...

Re:Telegram Became the Anti-Facebook by konart on Wednesday February 09, 2022 @02:55AM (#30270110)
What does UX\UI has to do with E2EE?

Sure, Telegram team used more human resources elsewhere while WA and Signal where doing their E2EE magic, but once they where done - what stopped them from investing into everything else?

Re:Telegram Became the Anti-Facebook by smt88 on Wednesday February 09, 2022 @03:20AM (#30270268)
Zero-knowledge E2EE makes it difficult or impossible to implement certain "quality of life" features that users have come to expect from cloud-based services.

The most salient of these is that, if you lose your keys, you may never be able to recover your data.

Re:Telegram Became the Anti-Facebook by hutzlibu on Wednesday February 09, 2022 @03:40AM (#30270387)
On signal you will get various security related messages, like person x changed is key (because they reinstalled).

That stuff confuses every non IT person.

Not caring about it, allows for a more simple UI and UX to provide a easy way for person A to message B. Where B can be a group of thousands of people.

(a really secure way of posting a message to a big group would be way more complicated, even signal makes compromises)

Re:Telegram Became the Anti-Facebook by Andrew_nenakhov on Wednesday February 09, 2022 @03:39AM (#30270380)
If you have true e2ee, you can't enter your login/password and see all your chats right there, instantly.
Re:Telegram Became the Anti-Facebook by piaste on Wednesday February 09, 2022 @04:29AM (#30270725)
Are you sure? You can do what good password managers do:

- Hash the password client-side

- Send the hash to the server. The server treats it as a password, and gives you your blob of encrypted data

- Decrypt the data client-side using the original password

Re:Telegram Became the Anti-Facebook by Andrew_nenakhov on Wednesday February 09, 2022 @05:04AM (#30270933)
That requires re-encoding all transmitted data with a single password and is potentially vulnerable to brute-force attacks. Encryption used in signal, etc relies on double ratchet mechanism that continuously regenerates keys as they move along. This way one compromised key will not allow to decode the rest of the messages.

Also, downloading blob to client side and decoding it locally can hardly be done fast enough for user to consider it 'instantly'.

Re:Telegram Became the Anti-Facebook by piaste on Wednesday February 09, 2022 @05:23AM (#30271055)
> That requires re-encoding all transmitted data with a single password and is potentially vulnerable to brute-force attacks. Encryption used in signal, etc relies on double ratchet mechanism that continuously regenerates keys as they move along. This way one compromised key will not allow to decode the rest of the messages.

That's a different, further goalpost - we were talking about E2E encryption, weren't we? I.e. the server should not need to decrypt your data to provide it.

Obviously if you want to be able to recover your history from storage with just a password, that does mean the password is the only protection over that history, tautology. So storing your history should be optional, if you're seriously worried about brute-force attacks on data encrypted at rest (indeed, even WhatsApp makes it optional to have a backup of your data!).

In any case, that doesn't compromise future secrecy - i.e. gaining access to the history still doesn't give you access to future messages.

> Also, downloading blob to client side and decoding it locally can hardly be done fast enough for user to consider it 'instantly'.

Off the top of my head, it doesn't have to be a single blob for all your data. You could split the blob into tiny equal-sized chunks, and then have a separate encrypted index file which stores the information of which chunks hold which chats (plus just enough metadata, e.g. chat titles and last messages, to display your homepage properly). The index file is the only one downloaded on first login, then when you want to open a chat it moves the corresponding chunks to the top of the download list.

Re:Telegram Became the Anti-Facebook by Andrew_nenakhov on Wednesday February 09, 2022 @05:52AM (#30271243)
> we were talking about E2E encryption, weren't we?

Exactly, and what is described is not e2ee at all.

Re:Telegram Became the Anti-Facebook by piaste on Wednesday February 09, 2022 @06:05AM (#30271316)
How is it not E2EE? Are you going by a stricter definition than commonly used?

> End-to-end encryption (E2EE) is a system of communication where only the communicating users can read the messages. [..] End-to-end encryption is intended to prevent data being read or secretly modified, other than by the true sender and recipient(s). The messages are encrypted by the sender but the third party does not have a means to decrypt them, and stores them encrypted. The recipients retrieve the encrypted data and decrypt it themselves.

Which requirement do you believe is failed by such a system?

Re:Telegram Became the Anti-Facebook by Andrew_nenakhov on Wednesday February 09, 2022 @06:57AM (#30271632)
It is incorrect to refer to encrypted backups as e2ee. See the wikipedia article on the subject [0], at the bottom of the "Modern usage" section.

[0] https://en.wikipedia.org/wiki/End-to-end_encryption

Re:Telegram Became the Anti-Facebook by piaste on Wednesday February 09, 2022 @09:06AM (#30272731)
> Some encrypted backup and file sharing services provide client-side encryption. The encryption they offer is here not referred to as end-to-end encryption, because the services are not meant for sharing messages between users[further explanation needed]. However, the term "end-to-end encryption" is sometimes incorrectly used to describe client-side encryption.[23]

This is reasonable, but it's not describing any weakness of encrypted backups. It merely points out that "E2E" isn't the right term to use when there are not two E[nds], but rather only one client and their files.

However, our conversation was about storing chat history. There are two parties to the conversation in that case.

The key property of E2E is that only those parties can read those messages, and nobody else, in particular not the agents running the server. That property is not affected by the existence of backups, as long as those backups are client-side encrypted, because third parties cannot access them.

Therefore, it is possible to have both cloud-stored chat histories and true E2EE. QED.

Re:Telegram Became the Anti-Facebook by GoblinSlayer on Wednesday February 09, 2022 @07:19AM (#30271788)
The wording there has no effect on security, it's semantics. E2EE being an application of client-side encryption for messaging.
Re:Telegram Became the Anti-Facebook by GoblinSlayer on Wednesday February 09, 2022 @06:47AM (#30271572)
Most of that time is spent on downloading the data, which you have to do with any synchronization.
Re:Telegram Became the Anti-Facebook by gefhfffh on Wednesday February 09, 2022 @05:02AM (#30270925)
This is wrong, see Element/Matrix, which practically does that
Re:Telegram Became the Anti-Facebook by Andrew_nenakhov on Wednesday February 09, 2022 @05:08AM (#30270961)
Ok. After all, what do I know about encryption? I only directed the development of communication products that had OTR, OMEMO and PGP/GPG encryption in them.

Please, enlighten me how exactly Element/Matrix practically do that. Thank you in advance.

Re:Telegram Became the Anti-Facebook by gefhfffh on Wednesday February 09, 2022 @05:15AM (#30271011)
It backups your keys encrypted with a password only you know at server side (opt in)

When you login, you provide that password, and Element can use that to decrypt the keys and use these to decrypt the messages stored in the cloud

Alternatively, you can solely rely on syncing keys between verified devices.

Re:Telegram Became the Anti-Facebook by Andrew_nenakhov on Wednesday February 09, 2022 @05:29AM (#30271087)
That is not 'true e2ee' at all, and more of a security theater.
Re:Telegram Became the Anti-Facebook by gefhfffh on Wednesday February 09, 2022 @05:45AM (#30271193)
How is that?

Only you as a recipient can decrypt the messages, because they are sent e2ee to you.

And this stays true if you use the backup, as only you know that password.

Re:Telegram Became the Anti-Facebook by Andrew_nenakhov on Wednesday February 09, 2022 @06:10AM (#30271349)
Encrypted backups are just that, encrypted backups. They are called end-to-end encrypted backups only by people who are ignorant of correct terminology. Even the Wikipedia entry on e2ee addresses this.

Regarding the security theater, the backups encrypted with your password are far more vulnerable to being compromised than any of the popular e2e encryption protocols.

But then again, most users do not need real security, they are fine with a warm comforting feeling of safety, provided by a sincere promise that everything is really safe, as demonstrated by Telegram users.

Re:Telegram Became the Anti-Facebook by gefhfffh on Wednesday February 09, 2022 @06:20AM (#30271408)
I have nowhere called them end-to-end encrypted Backups, that's a straw man.

> Regarding the security theater, the backups encrypted with your password are far more vulnerable to being compromised than any of the popular e2e encryption protocols.

How, so? Are you aiming weak passwords? (One is provided for you ("security key"), however you can opt into a custom one that is not directly used for encryption ("security passphrase"))? Or are you referring to PFS, which isn't a property of all popular e2e protocols either, and "far" would be quite a stretch.

How does all that disprove that Element uses true e2ee?

Re:Telegram Became the Anti-Facebook by Andrew_nenakhov on Wednesday February 09, 2022 @07:00AM (#30271654)
It is proven beyond doubt that whatever Element fetches from their own servers and decodes on application launch are not messages encrypted using e2ee protocols. It is also completely clear that it does reduce the privacy of user messages. I don't know what else to argue about here.
Re:Telegram Became the Anti-Facebook by gefhfffh on Wednesday February 09, 2022 @07:55AM (#30272043)
Element does not fetch any message from their servers in general. If you use a server hosted by Element and don't disable encryption, e2ee encrypted messages will be fetched from their servers.

What is "it" that in your opinion should reduce the users privacy?

> I don't know what else to argue about here.

I don't know what you are arguing about right now. What I know, is that I have disproven your original thesis (visible messages right after login through a password is not possible with e2ee) by explaining how it works and providing an example that has put that concept into practice.

If you feel there is anything to discuss, or if you have any further questions, don't hesitate to respond though.

I'll add link that adds technical Implementation details, in case you are interested: https://matrix.org/docs/guides/implementing-more-advanced-e-...

Re:Telegram Became the Anti-Facebook by throwjs51009 on Wednesday February 09, 2022 @08:30AM (#30272376)
Maybe what people like to know is how Matrix's backup encryption is different from WhatsApp encrypted backups:

https://www.whatsapp.com/security/WhatsApp_Security_Encrypte...

Re:Telegram Became the Anti-Facebook by gefhfffh on Wednesday February 09, 2022 @08:59AM (#30272670)
Thanks for the link. Actually, didn't even know that WhatsApp changed their backup mechanism, which previously used a mechanism that allowed e.g. google to obtain the messages.

Overall, the concept seems to be the same: use a secret, only known to the client to secure data stored at a untrusted location.

The major differences include:

- closed vs open source (it's easy to validate the mechanism in the implementation whereas you pretty much need to trust WhatsApp that they don't leak the key)

- WhatsApp uses a third party provider for storing the data whereas with Matrix your Homeserver is responsible for messaging and the backup

- only the main app can access the backup whereas with Matrix any of your clients can independently read and write to the backup (because there is no main client)

- WhatsApp stores everything in the backup, a Matrix client only the keys, because the messages are stored somewhere else

Re:Telegram Became the Anti-Facebook by GoblinSlayer on Wednesday February 09, 2022 @07:15AM (#30271761)
>Some encrypted backup and file sharing services provide client-side encryption. The encryption they offer is here not referred to as end-to-end encryption, because the services are not meant for sharing messages between users[further explanation needed].

This wikipedia entry? So client-side encrypted backups are not called end-to-end encrypted, because the backup service is not a messenger?

Re:Telegram Became the Anti-Facebook by feanaro on Wednesday February 09, 2022 @06:23AM (#30271425)
>Regarding the security theater, the backups encrypted with your password are far more vulnerable to being compromised than any of the popular e2e encryption protocols.

Hmm? How so? Surely this depends on the strength of your password.

Re:Telegram Became the Anti-Facebook by Andrew_nenakhov on Wednesday February 09, 2022 @07:02AM (#30271668)
All messages are encrypted with one key. Break one key, and all messages will be accessible to an attacker. Proper encryption protocols rotate encryption keys and compromising one message will not compromise the rest.
Re:Telegram Became the Anti-Facebook by feanaro on Wednesday February 09, 2022 @09:33AM (#30273043)
The situation is a bit more nuanced, given the large feature set that Matrix is trying to implement.

> Break one key, and all messages will be accessible to an attacker.

How do you propose breaking that one key, though? The attacker also needs to somehow acquire access to the key backup and to the encrypted messages, so it's a multi-step process.

The encryption protocol does rotate message keys. In fact it uses the same cryptographic primitives as Signal, that is the double ratchet algorithm.

I think you're conflating the message encryption protocol with cold storage, which is the purpose the key backup serves. It's completely typical for backups to be encrypted with a single symmetric key.

Finally, the key backup is completely optional and can be disabled.

Re:Telegram Became the Anti-Facebook by gefhfffh on Wednesday February 09, 2022 @09:56AM (#30273305)
So PGP and the encryption protocol of Threema aren't proper encryption protocols?

Then, how do you break the key?

Brute force? If you break one key that way, it's likely you could break equally secure keys as well.

Access to the device? Well then you have access to everything anyways

Re:Telegram Became the Anti-Facebook by msh on Wednesday February 09, 2022 @02:51AM (#30270082)
WhatsApp just recently added E2E and before that was still outclassed by telegram.
Re:Telegram Became the Anti-Facebook by throwjs51009 on Wednesday February 09, 2022 @02:56AM (#30270118)
'Recently' is 2016.
Re:Telegram Became the Anti-Facebook by fossuser on Wednesday February 09, 2022 @02:34AM (#30269990)
Isn't the big sacrifice with Telegram security?

I get that people like its UX, but if you're sacrificing security for UX then basically anything becomes fine?

Re:Telegram Became the Anti-Facebook by konart on Wednesday February 09, 2022 @02:57AM (#30270125)
For most people the said security is not a big issue. Esp. in countries where police can come for you and make you talk by any means. E2EE won't help you if they want you.
Re:Telegram Became the Anti-Facebook by smt88 on Wednesday February 09, 2022 @03:19AM (#30270259)
"Encryption isn't useful because you can be tortured" is a bizarre and ridiculous argument.

The police can only make you talk if they know who to make talk in the first place.

Reading your messages tells them who to interrogate, where to find them, who else is involved, etc.

Encryption is important especially in such countries.

Re:Telegram Became the Anti-Facebook by j16sdiz on Wednesday February 09, 2022 @04:07AM (#30270580)
It is encrypted, just not e2ee.

The police need to crack the encryption protocol (not impossible, telegram use non-standard crypto), or somehow gain access to telegram's server farm.

Re:Telegram Became the Anti-Facebook by GoblinSlayer on Wednesday February 09, 2022 @05:25AM (#30271067)
Wasn't it fixed? It was almost e2ee, but not really due to a bug as it trusted the server, but it was fixed save for key verification, but AFAIK, key verification is an open problem in e2ee.
Re:Telegram Became the Anti-Facebook by throwjs51009 on Wednesday February 09, 2022 @08:24AM (#30272318)
That's not true. Nobody needs to crack any encryption. Check my other comment with 3 links.
Re:Telegram Became the Anti-Facebook by konart on Wednesday February 09, 2022 @09:16AM (#30272841)
I'm sorry but as someone from Russia - you are wrong.

>Reading your messages tells them who to interrogate, where to find them, who else is involved, etc.

Why read my messages if they can start from me? Or that other guy who posted something on twitter? Or any other place? Or talked to someone.

I'm not saying encryption is unimportant. I'm saying that it really only matters as long as all parties involved keep their business secure in the first place.

Not to mention that they police don't really work with that kind of precision here.

Re:Telegram Became the Anti-Facebook by fossuser on Wednesday February 09, 2022 @03:11PM (#30277800)
It's not a binary thing.

If you can choose secure communication vs. insecure communication you're better off choosing secure. You're right of course this doesn't protect you 100%, but it's a lot better than not having secure communication.

Does that mean even with Signal your friend could be compelled to unlock their phone and reveal the comms? Sure. It's still better to have that be the requirement than access to all comms by default. It requires more specific and high effort targeting. It makes it harder to just query keywords generally to find people. It's the better default state.

Re:Telegram Became the Anti-Facebook by krzyk on Wednesday February 09, 2022 @04:31AM (#30270745)
Is having a "seciurity" for vast majority of people that just do a little chit-chat with they friends and family a big thing suddenly?

If you want to exchange your private keys, you better not do it using any chat platform.

What countries do you people live in that needs such hiding from the police/state?

In my country they bought Pegasus and what can I do about it? If they want to trace me they can do it.

Re:Telegram Became the Anti-Facebook by incompatible on Wednesday February 09, 2022 @03:19AM (#30270257)
I took a look, but apparently you can't use the web app unless you already have an account, and you can only create an account in a mobile app. Is this an afterthought?
Re:Telegram Became the Anti-Facebook by kasper_kerem on Wednesday February 09, 2022 @03:39AM (#30270384)
Found out the same thing. I guess they started from mobile, moved to web and git something better to do :)
Re:Telegram Became the Anti-Facebook by incompatible on Wednesday February 09, 2022 @03:44AM (#30270418)
I guess they want to know your phone number, or want to limit accounts to one per phone number.

Edit: but even so, they could verify a phone number by SMS, no need to make anyone install an app.