News for hackers. Stuff that matters.
Re:Encrypted traffic interception on Hetzner and Linode targ... by codedokode on Friday October 20, 2023 @06:56PM (#37962404)
They should have used Telegram: unlike Let's Encrypt with a joke level security it is not so easy to break.
Re:Encrypted traffic interception on Hetzner and Linode targ... by acheong08 on Friday October 20, 2023 @07:04PM (#37962469)
Telegram? Not Signal or Matrix?
Re:Encrypted traffic interception on Hetzner and Linode targ... by toastal on Saturday October 21, 2023 @03:51AM (#37964930)
Signal has massive usability issues: requires a phone number, requires a primary Android or iOS devices, can’t register multiple Android or iOS devices, requires Google Play services for notifications unless you get the APK which drains your battery (a fork, Molly, no supports UnifiedPush tho).
Re:Encrypted traffic interception on Hetzner and Linode targ... by cies on Saturday October 21, 2023 @09:22AM (#37966616)
> Signal has massive usability issues

I'd say these are security issues

Re:Encrypted traffic interception on Hetzner and Linode targ... by KomoD on Saturday October 21, 2023 @11:16AM (#37967498)
> requires a phone number

so does Telegram

> requires a primary Android or iOS devices

so does Telegram

Re:Encrypted traffic interception on Hetzner and Linode targ... by toastal on Sunday October 22, 2023 @12:55AM (#37972925)
Telegram is also bad
Re:Encrypted traffic interception on Hetzner and Linode targ... by paulryanrogers on Friday October 20, 2023 @08:17PM (#37962916)
Has Telegram been audited? Does it encrypt by default?
Re:Encrypted traffic interception on Hetzner and Linode targ... by codedokode on Saturday October 21, 2023 @01:01PM (#37968550)
Did audit help Let's Encrypt to prevent issuing fake certificates? Such audit is useless. SSL infrastructure security is in a much worse state than Telegram's yet nobody seems to notice it. If any large ISP can issue fake certificates by doing MitM then this system is compromised completely. What's the point of having SSL if basically anyone can MitM it?

To be honest, Telegram using homemade crypto instead of relying on standard approaches like CA certs turned out to be good solution in the end. Apps should stop trusting CA and should hardcode public certificates instead.

Re:Encrypted traffic interception on Hetzner and Linode targ... by paulryanrogers on Sunday October 22, 2023 @09:01AM (#37975002)
Apples and oranges? Let's Encrypt is a bandaid for a (possibly inevitable) architectural weakness, one serving browsers which must communicate with a world of unfamiliar servers. Telegram is a messaging app primarily meant for communicating among people and groups one already knows.

Regardless, using open and verified cryptographic primitives is a best practice for a reason. As are audits. The likelihood any company can start from scratch and produce a flawless solution is a number approaching zero.

I'd feel much more comfortable with something using Signal protocol. Ideally built from audited source.

Re:Encrypted traffic interception on Hetzner and Linode targ... by asdfv09s9d80fu9 on Friday October 20, 2023 @08:26PM (#37962967)
Re:Encrypted traffic interception on Hetzner and Linode targ... by grishka on Friday October 20, 2023 @08:36PM (#37963038)
> The popular messaging app Telegram can leak your IP address if you simply add a hacker to your contacts and accept a phone call from them.

Peer-to-peer communication reveals people's IP addresses to each other, what a sensational revelation! By the way, water is wet.

Re:Encrypted traffic interception on Hetzner and Linode targ... by asdfv09s9d80fu9 on Friday October 20, 2023 @08:46PM (#37963100)
Since Telegram claims to be a secure messaging app, while leaking private details and since you used to work at Telegram, maybe stfu.

All voice can be E2E thru servers, like Signal does.

Re:Encrypted traffic interception on Hetzner and Linode targ... by grishka on Friday October 20, 2023 @09:00PM (#37963166)
Telegram is as secure as it can possibly be without the security requiring compromises and leaking into the UX. I thought that was clear to anyone who has ever used it. If you require 100% bulletproof security and are willing to compromise on convenience, it's not for you.

Since this thread is about XMPP, Telegram's security is effectively the same as XMPP over TLS, maybe a bit better because there isn't a trusted third party (the CA).

> All voice can be E2E thru servers, like Signal does.

I know that. In fact, I built the first VoIP implementation for Telegram, libtgvoip, myself from scratch. Relay servers add delay, can run out of capacity, and cost money in bandwidth. Of course relays are still used if a P2P connection can not be established (libtgvoip always started the call through the relays and only switched to P2P if pings went through and RTT was lower, that took at least several seconds before enough statistics was gathered).

Re:Encrypted traffic interception on Hetzner and Linode targ... by codedokode on Friday October 20, 2023 @08:50PM (#37963121)
You can disable peer-to-peer connections in settings, as well as disable calls from everyone or specific contacts.
Re:Encrypted traffic interception on Hetzner and Linode targ... by xp84 on Friday October 20, 2023 @09:52PM (#37963402)
I actually think it depends on what your type of threat is. If secure means talking to trusted people, and no one else should know what you say or to whom, Telegram is still great and who cares if my confederate knows my IP. He doesn’t care.

If you’re using it to communicate to a hostile party who would love to unmask you, then very not so much. Personally I’m not in the second category but I’m sure some are.

Re:Encrypted traffic interception on Hetzner and Linode targ... by robjan on Saturday October 21, 2023 @12:21AM (#37964051)
Signal is peer to peer by default as well unless you go into advanced settings and enable "always relay calls"
Re:Encrypted traffic interception on Hetzner and Linode targ... by Timber-6539 on Saturday October 21, 2023 @06:33AM (#37965621)
Shocking.
Re:Encrypted traffic interception on Hetzner and Linode targ... by forward1 on Saturday October 21, 2023 @11:11AM (#37967453)
And if you call someone, they can get your phone number!

Your IP address is public. Stop treating it like a secret.

Re:Encrypted traffic interception on Hetzner and Linode targ... by dns_snek on Saturday October 21, 2023 @02:42PM (#37969422)
Why don't you post yours? ;) Open up a TCP server on port 13729 for verification.

And no, your IP should not be made public in any modern chat app, that's ridiculous. The fact that Discord protects your IP from leaks is at least half of the reason it's so successful.

Re:Encrypted traffic interception on Hetzner and Linode targ... by forward1 on Sunday October 22, 2023 @10:39AM (#37975758)
Good luck, I'm behind like 4 NATs.
Re:Encrypted traffic interception on Hetzner and Linode targ... by slater on Sunday October 22, 2023 @10:41AM (#37975776)
And behind at least 7 proxies, you say?
Re:Encrypted traffic interception on Hetzner and Linode targ... by grishka on Friday October 20, 2023 @08:33PM (#37963013)
I'd like to add that MTProto is impossible to MITM because there are no trusted third parties. The handshake that happens before the user logs into their account includes a step with RSA. The public keys for that step are hardcoded into clients.

To anyone who wants to complain about Telegram not encrypting chats by default and using "homebrew crypto" I'd like to say that it's XMPP we're discussing here. Telegram offers marginally better security than XMPP over TLS. The "homebrew crypto" is still not broken in 10 years and not for the lack of trying.

Re:Encrypted traffic interception on Hetzner and Linode targ... by Jenda_ on Friday October 20, 2023 @09:21PM (#37963268)
> Telegram offers marginally better security than XMPP over TLS.

I think you should compare apples to apples, that is, end-to-end encrypted XMPP using OTR/OMEMO/PGP. However, I agree that many XMPP clients were UX disaster when using E2E.

Re:Encrypted traffic interception on Hetzner and Linode targ... by grishka on Friday October 20, 2023 @09:35PM (#37963316)
End-to-end encrypted XMPP should be compared to Telegram's secret chats then. Both are opt-in and both aren't very popular among users of these services.
Re:Encrypted traffic interception on Hetzner and Linode targ... by toastal on Saturday October 21, 2023 @03:48AM (#37964916)
A lot of clients have OMEMO on by default now. You can’t enforce it for all clients & across the entire network tho as XMPP is a ‘simple’ protocol without a let of bells & whistles meant to be eXtended like OMEMO/OTR/PGP built atop it. With the newer compliance suites tho, to be considered ‘modern’ OMEMO & other e2ee options are expected to be supported. Gajim makes the UI easy, & Conversations isn’t bad. Profanity is a bit more obtuse to use since you need to trust your own keys manually too & they’re not autocompleted, but all the tools are there even for a TUI client.
Re:Encrypted traffic interception on Hetzner and Linode targ... by raxxorraxor on Thursday October 26, 2023 @11:27AM (#38026858)
XMPP over TLS is secure though. Of course that is for the transport as the name implies. The difference to e2e is the same. Although if one party of any e2e exchange is compromised, you would have similar problems.
Re:Encrypted traffic interception on Hetzner and Linode targ... by throwaway290 on Friday October 20, 2023 @09:57PM (#37963419)
> The public keys for that step are hardcoded into clients.

Yeah, and the private keys are shared with Roskompozor.

Re:Encrypted traffic interception on Hetzner and Linode targ... by Nasreddin_Hodja on Saturday October 21, 2023 @03:06AM (#37964739)
> They should have used Telegram

It requires phone number.