Better HN
topnewbestaskshowjobs
Log inSign up

2cb

252 karma · joined Feb 2, 2021 (5y ago) · 111 submissions

Submissions

comment 5y ago · link · parent

It only allows a whitelist of Signal related URLs, nothing else.

See here in the code:

https://github.com/signalapp/Signal-TLS-Proxy/blob/master/da...

comment 5y ago · link · parent

If you click on one of the links it is using sgnl://signal.tube/#[domain] to deliver the proxy settings to the Signal app.

comment 5y ago · link · parent

So you use the hashtag on a public tweet etc and say DM me for a proxy.

comment 5y ago · link · parent

The mere fact it hoovers up less metadata alone makes it more private. I also trust the developers more way way more than I trust Facebook. That's a personal preference though and if you trust WhatsApp and don't mind that it leaks contacts and other metadata to Facebook to profile you then use WhatsApp.

If I wanted to I could install a fork of Signal that doesn't require Google Play [1] and run it on any non-Google Android build. I would do if it wasn't for the fact I'm currently using an iPhone.

[1] https://langis.cloudfrancois.fr/

comment 5y ago · link · parent

I haven't played with their crypto wallet honestly so I can't provide any kind of informed opinion on it. It's a fork of Monero, but Monero is more widely accepted. Although Monero's wallet has a terrible UX too so if they've forked their wallet too, that'll be why.

Session has a pretty nice UX though, better than Wickr which has been around longer, although not as refined as Wire. It's pretty much a more barebones Signal without phone numbers as far as pure UX goes. It should follow the system setting for dark mode though. No idea why it doesn't.

> I have to say, I’ve considered the utility of it myself. It seems to me that I’m far, far more likely to have my chats compromised through my chats being stored in plain text on my devices than in a technical scenario that PFS could have prevented. What do you think?

To be honest I agree. It's always good to have layers of security in case there's an exploited vulnerability in one. However, it seems pretty far fetched that someone with the ability to pull off a successful attack to grab your keys in the first place is going to be stopped from grabbing past messages by PFS.

If they've got your keys they've either cracked the layers of encryption that protect them in transit (highly unlikely) or they've pwned your device (much more likely). If they've got remote code execution on your device PFS isn't going to make any difference to anything. As you say, messages stored in plaintext is a far bigger real world risk.

This is why I always have disappearing messages on. That makes me feel safer than PFS. At least then in the worst case scenario past messages simply aren't there in storage.

To put it another way, if I had to choose between disappearing messages and PFS, and I could only have one, I'd choose disappearing messages.

And it does also seem to me less like they're removing security, more like they're relying on a different form of it. They're having to strip PFS to make the protocol work reliably on their onion network. The fact all my traffic goes E2EE through 5-7 nodes, as per the technical description, should provide a strong level of protection against any traffic sniffing threat model assuming their fancy new way of doing onion routing is as secure as they say.

It seems to me that's what it really hinges on. As long as their onion router is actually secure, the E2EE messages are going to be secure in transit.

The biggest risk then would come back to unpatched exploits or 0days in the OS or side channel attacks in Session itself. That's how most attacks on messengers succeed after all, not by complex attacks on the crypto protocol but through side channel attacks in the application or exploits in the underlying OS.

comment 5y ago · link · parent

Jami uses git and TLS to implement E2E encrypted chats.[1] That doesn't sound all that secure to me. I'd feel much more comfortable using a fork of Signal with an onion router.

I don't get the prejudice some have against blockchains either. It's not even like this is Keybase where they shoehorned a crypto wallet into the app. They do have a wallet but it's a totally separate application. Session is purely a messenger and nothing else, you'd have no idea a blockchain was involved at any part of the backend if you weren't told about it.

I have played around with Tox and it's a cool project, but it's been in beta since 2014 and is not well optimised for mobile at all. I don't think it'll go very far personally.

[1] https://jami.net/swarm-introducing-a-new-generation-of-group...

comment 5y ago · link · parent

Looking at the technical writeup [1] it sounds like they're currently running a hybrid of the two as they do a staged rollout of the various changes they've made to the Signal Protocol.

But yes you are correct it looks like they're justifying ditching PFS by saying "if someone has your keys you're screwed anyway."

However they're not just stripping away security outright, it's more that they're betting on onion routing to cover the user instead - no one who is sniffing traffic on your WiFi network will be able to get your keys because the traffic is routed through the onion network, therefore the only way anyone would get those keys is by pwning your entire device or having physical access to it while it's decrypted which, as they note, is endgame no matter what messenger you use.

I don't necessarily think this is smart as it's best to not put all your eggs in one basket especially where security is concerned. But given all traffic goes between 5-7 nodes [1] the scope for someone without remote or physical access to your device to get your keys is extremely limited assuming their onion network is as secure as they claim.

As for deniability, they sign the message with the long-term keypair, but once the message is validated this signature is wiped. So again it pretty much comes down to relying on their onion routing to ensure this signature isn't intercepted in transit.

Finally I think it's relevant Session is really designed for a different use case than Signal - since your ID is not connected to any personal identifiers, you can wipe it whenever you want and get a new ID that has zero cryptographic connection to the old one. So while there's no ratcheting of keys, the intention isn't really for someone to stick with the same account for years like it is for Signal where your account uses your phone number as an identifier.

I'll wait for the results of the audit, if they come out and say Session is fundamentally flawed I'll happily concede. I have zero ties to this project aside from finding it useful for particular use cases. My prediction is the initial audit will find some potential vulns as they roll out more of the Session Protocol simply because it's a new fork. Probably why they're getting the audit done now. That's the responsible move when forking a crypto protocol it seems to me.

I maintain that for people who want a messenger that knows as little about them as possible, doesn't rely on a personal identifier, and connects to an onion router reliably (by comparison, using Tor on mobile is... not a good experience) it's at very least an interesting project to watch even if it still needs time to mature.

[1] https://getsession.org/session-protocol-technical-informatio...

comment 5y ago · link · parent

Absolutely. Of course hackers are reverse engineering WhatsApp, that's how all those nasty exploits it has keep getting sold to governments by the NSO Group.

But reverse engineering is a skill in itself and modern day smartphone OS's use a lot of code obfuscation when apps are compiled. This effectively means even those talented hackers are going through the reverse engineering process pulling at threads until they get lucky.

Reverse engineering (in this context, at least) doesn't just show you the code as the developer wrote it. And FB hires a lot of very clever people including cybersecurity experts who could sneak these things in using innocent looking code scrambled around the app. Even open source projects are at risk of having backdoors put in that pass review and simply look like innocent bugs if they get discovered, let alone closed source apps that have to be reverse engineered.

Again not going conspiracy nut and saying that's what FB is doing. Just saying it'd be very easy for FB to hide it if they were doing it.

To me the biggest confirmed weakness of WhatsApp is the cloud backups. E2EE is pointless when the message database is synced up to iCloud or Google Drive. WhatsApp even tells you this itself. When you enable cloud backups (and they keep bugging you until you do it) it literally tells you the backups aren't secured by E2EE. [1] Because, well, of course they aren't.

[1] https://faq.whatsapp.com/iphone/chats/how-to-back-up-to-iclo...

"Media and messages you back up aren't protected by WhatsApp end-to-end encryption while in iCloud."

comment 5y ago · link · parent

This is very true. Reproducible builds for mobile apps would be far superior. You can build Signal from source for Android if you wish, although obviously this is a massive pain to do for each update, there’s absolutely nothing stopping you from doing it.

On iOS it's a lot more difficult to get the required certificates from Apple but you can run your own build in Xcode and deploy it to your personal device if you are a registered Apple developer.

While reproducible builds are obviously the gold standard, for apps you install from the Play Store or the App Store, developers sign the apps that get distributed with their own private keys. As Google and Apple don’t have access to these it should be verifiable that the apps are not tampered with.

There is an exception here with the Play Store, where there is an opt-in option for Google to sign the app on your behalf [1], but I think we can safely assume Signal are manually signing with their own private keys.

In any case it's easy to just grab an APK from an Android device and check signatures for yourself.

For iOS though, no surprises here it’s locked down. Although from what I gather reading Apple’s security documentation, it confirms that apps must be signed by developers with their private keys. [2] But unlike Android there’s sadly no way I can tell for the user to independently verify this without jailbreaking.

But ultimately, short of building each version yourself, all this is moot if you distrust the developers.

[1] https://developer.android.com/studio/publish/app-signing [2] https://manuals.info.apple.com/MANUALS/1000/MA1902/en_US/app...

comment 5y ago · link · parent

I mentioned it because it has a seamlessly built in onion routing protocol. I read further down the thread that Tor is blocked in Iran, but I’m guessing the same is unlikely to be true of Loki/Oxen simply because it isn’t nearly as well known.

The lack of metadata is also quite a unique selling point in my eyes. There’s a million encrypted messengers now sure. How many automatically connect through an onion router with zero config required and don’t require you to create an account at all, but instead assign you a random ID disconnected entirely from your phone number, email, and other personal identifiers?

It’s certainly an option to consider is the only thing I’m saying. Tor was mentioned so Session popped into my head for the reasons mentioned above.

Regarding PFS. They currently implement the Signal Protocol. Session is of course FOSS so anyone can check this. Your source does say they’re planning to fork it as the Session Protocol later this year so it integrates with their network more easily. But that’s an upcoming, unfinished project. To be honest I don’t know much about it as it’s still in development. I do know that currently Session uses the Signal Protocol through an onion router without the need to so much as create an account.

And yes the network itself is a bit of a convoluted idea that tries to do many things at once, but the fact they run on a blockchain means they already have a lot of nodes set up in different countries around the world through which to route traffic, and the reason they could build a decentralised network quite quickly despite being a relatively young project is they incentivise those node operators with cryptocurrency.

Because it is a young project they are still undergoing audit yes. This is absolutely something worth noting. It’s a relatively new project. It’s no longer in beta, but nowhere near as well established as Signal. However it’s precisely because of this it’s unlikely governments are bothering to target it yet.

comment 5y ago · link · parent

Using innocent sounding CNAMEs on abandoned domains is definitely a smart idea.

I’ve definitely got some old domains kicking about, I’ll see how far off they are from expiration and do something similar if they have at least a few months left in them.

The proxies themselves can also be hosted at normal sounding domains and subdomains like cdn.technology.memes or whatever.

And when you point other domains to them as CNAMEs use equally regular looking subdomains no algorithm would pick up as a proxy like webmail.abandoned.tld.

comment 5y ago · link · parent

Considering Apple put all data of Chinese users on Chinese servers to keep the CCP happy I have no doubt they’re perfectly happy and willing to comply with government requests elsewhere too.

comment 5y ago · link · parent

This is correct, just set one of these up and it uses extra Nginx plugins.

Also the way they’ve done it makes it incredibly easy for anyone who isn’t a tech expert with a web server to still help out with a $5 domain and a $5 VPS. You literally run three commands and it’s done.

They want as many people as possible running these so blocking them all is as difficult as possible. It’s the smartest approach to have a low barrier to entry for something like this.

comment 5y ago · link · parent

> signal is not censorship resistant by itself. And we should criticise them for that because it was a warning delivered in a timely manner and never heeded.

I don’t believe Signal ever claimed to be censorship resistant to begin with. I just looked at their description on the App Store and nothing there mentions bypassing censorship.

Signal in fact did used to be censorship resistant before they were prevented from using domain fronting by third parties outside of their control.

Now the Iranian people need help and Signal has made it extremely easy for anyone who visits sites like this to kick in and provide that help. It’s likely proxies are a stopgap solution but that’s okay. Iranians are having their messages blocked now and Signal has managed to release a working fix rapidly.

comment 5y ago · link · parent

You can literally spin this up on a $5 a month VPS as well, not like you need to break the bank. And with so many TLDs there’s plenty of dirt cheap domains too. I just spun one up in 15 mins and if it gets blocked I’ll happily spin up more.

comment 5y ago · link · parent

They could literally have a hidden function in WhatsApp that scoops up all your chat history and sends it to Facebook if the government ask them to. It’s closed source. No one has a clue what it’s doing.

To be clear I’m not suggesting this is absolutely happening. I’m merely pointing out it’s entirely possible from a technological perspective given it’s closed source software owned by Facebook. That’s not a recipe for privacy.

comment 5y ago · link · parent

I just set up one of these Signal proxies. Hope it helps you and others in your country communicate freely and safely. [1]

Regarding Tor: if you want a Signal-like app that uses an onion router look at Session. [2]

It uses the same encryption protocol and very similar UI to Signal but routes all traffic through the Loki network so your traffic passes through three nodes. It is an onion network like Tor.

One other benefit of Session is the lack of metadata inherent to its design. No phone numbers or even usernames are attached to your account. You get a set of characters that looks similar to a bitcoin address and a QR code to make sharing it easier.

Of course this lacks the convenience of Signal but it’s as hard to block as Tor.

[1] https://signal.tube/#signal.xanny.family

[2] https://getsession.org

comment 5y ago · link · parent

And this new way, while less convenient, is arguably superior due to its decentralisation. They’re not just going after one service they’re now going after people all around the world running these proxies.

Just set one up myself took 15 minutes and that includes setting up a fresh VPS.

Just thinking what the best way to share it is.

comment 5y ago · link · parent

That’ll be it, you’re right. Basically just bringing an old sales trick into the 21st century by making it look like social media.

I can imagine teenagers jumping at this if a retailer for whatever it is kids find cool these days uses it to be honest. Win an exclusive pair of Weezys if you send the coolest skateboard video!

(Just how old must I sound right now? Damn.)

comment 5y ago · link · parent

I’ve been getting back into RSS feeds so I could follow news sources and blogs of people I know without an algorithm dictating what I see like all the news apps you get these days. You just gave me some real cool resources to add. Thanks!

I didn’t appreciate RSS enough back when it was a hot new thing, now in these days of the algorithmic internet it’s a blessing and a relief.

I really like Mastodon as a platform for the largely same reason. It’s “neutral” with its chronological feeds and you control what you see, especially if you run an instance.

Saw a post recently that sums it up nicely and could equally apply to RSS: “On Mastodon the content is the product and you’re the algorithm.”

comment 5y ago · link · parent

I can’t quite picture how this would work in practice, can anyone else? So say you’re a retailer with a commerce app. Is the idea you put a TikTok clone inside of it in the hope users sign up and use your app as a social network?

I get the end goal is targeting ads at your customers better and having user generated content to create ads at the same time, and that’s obviously an appealing concept to businesses, but who would actually sign up and use this as a consumer?

1234