News for hackers. Stuff that matters.
Re:ProtonVPN by tptacek on Tuesday June 20, 2017 @01:15PM (#14596437)
Using public commercial VPN providers for serious security/privacy is a very bad idea. Get someone to set up Trail of Bits "Algo" for you (or do it yourself, if you're comfortable with Ansible).
Re:ProtonVPN by aktau on Tuesday June 20, 2017 @02:08PM (#14596987)
Looking at Algo (https://blog.trailofbits.com/2016/12/12/meet-algo-the-vpn-th...), it seems like it provides an easy way to setup a (secure) VPN on a piece of hardware you own or one of the supported public clouds. In that respect, I'm not sure if it gives a lot of privacy. As you're the only one using that VPN, the traffic may not be too hard to trace back to you.
Re:ProtonVPN by dublinben on Tuesday June 20, 2017 @03:05PM (#14597494)
It sounds like you're attempting to gain anonymity, not privacy. Any VPN only offers limited anonymity, since that is not their purpose. If you want robust anonymity, you need to use something like Tor.
Re:ProtonVPN by problems on Tuesday June 20, 2017 @04:53PM (#14598521)
Algo isn't that much better than any other VPN - arguably it's slightly better security wise, though I'd argue Wireguard tops it by far on cipher choices and security margins.

Ultimately VPNs just aren't for hiding anything that could cause you significant problems. If you want that, Tor, i2p, or piles of hacked boxes are your only options really if you must interact with the clearnet.

Re:ProtonVPN by Loony2 on Tuesday June 20, 2017 @05:02PM (#14598571)
The security of Wireguard is completely unknown. Sure, it might be more secure after a formal release and a security evaluation.

They even state themselves that they should not be used if security is required.

Re:ProtonVPN by tptacek on Tuesday June 20, 2017 @05:10PM (#14598639)
I don't know anyone working in the field who believes Wireguard is likely to be less secure than StrongSwan or OpenVPN, and Wireguard is something that gets talked about a lot.

It's early days for Wireguard, to be sure, but it's one of the most promising security projects there is right now.

Re:ProtonVPN by Loony2 on Tuesday June 20, 2017 @05:22PM (#14598732)
I work in the field and anybody that says that a piece of software is secure before it has even had a security evaluation by a third party does not know what they are talking about.

I think what you have seen is security people saying that the design of Wireguard seems to be equal or better than other, current, options, that doesn't mean that the implementation is just yet.

Re:ProtonVPN by tptacek on Tuesday June 20, 2017 @05:32PM (#14598809)
I've spent my career doing third-party software security evaluations --- among other things, I founded the NCC Cryptography Services practice --- and I will tell you right now that the Wireguard security story is far more compelling than any third-party audit.

It's not simply the protocol design, which is superior in pretty much every conceivable way to IKE or TLS, but also the code, which is carefully written to minimize attack surface and increase reviewability.

Choosing OpenVPN or StrongSWAN over WireGuard to minimize exposure to vulnerabilities would be a dumb bet. Sometimes dumb bets pay off, but it's still dumb to make them.

Re:ProtonVPN by jwfxpr on Tuesday June 20, 2017 @07:27PM (#14599414)
Could you unpack your statement about the careful code writing, or link to an explanation? We would usually expect a formal third-party audit to substantiate such a claim, but if there is other good evidence for their code's secure implementation I'd love to see it.
Re:ProtonVPN by tptacek on Tuesday June 20, 2017 @09:02PM (#14599834)
First, I'm going to try not to go into this in detail right now, but HN has very weird ideas about the potency of third-party code audits, particularly for things involving cryptography. A short summary: most third-party audits of cryptographic software written in systems languages don't accomplish anything. Most crypto software you depend on has never had a full-coverage audit from third-party auditors qualified to evaluate crypto.

You can watch any talk about WireGuard to see what I mean about the way WireGuard's code is written, but the short answer is that the thing was designed from the bottom up to be simple. WireGuard's feature selection was influenced strongly by what would keep the codebase smaller and easier to review. It was also designed to simplify the object lifecycle inside the code itself. All its state is preallocated at initialization.

WireGuard's cryptography is essentially an instantiation of Trevor Perrin's Noise framework. It's modern and, again, simple. Every other VPN option is a mess of negotiation and handshaking and complicated state machines. WireGuard is like the Signal/Axolotl of VPNs, except it's much simpler and easier to reason about (cryptographically, in this case) than double ratchet messaging protocols.

It is basically the qmail of VPN software.

And it's ~4000 lines of code. It is plural orders of magnitude smaller than its competitors.

WireGuard isn't a panacea. In particular: clientside support for it isn't there yet! But it's pretty clear to me at least that WireGuard should imminently be replacing OpenVPN and IPSEC.

Re:ProtonVPN by jwfxpr on Wednesday June 21, 2017 @02:04AM (#14601124)
That's an excellent brief answer, thank you for your perspective and time!
Re:ProtonVPN by nickpsecurity on Tuesday June 20, 2017 @08:46PM (#14599768)
I agree with you. It needs formal evaluation by pros with time to dig into it with review and tool-assisted analysis. That said, a person as experienced at pentesting as tptacek saying the crypto and code looked good puts its trustworthiness above most options in my eyes. I mean, you rarely here good things about both in such software. The quality of average development in crypto is just that bad. I also liked what I saw when I looked at it in terms of simplicity.
Re:ProtonVPN by dadrian on Wednesday June 21, 2017 @05:49PM (#14608251)
The Wireguard protocol has been symbolically verified for correctness using Tamarin.
Re:ProtonVPN by nickpsecurity on Wednesday June 21, 2017 @06:17PM (#14608443)
Didn't know that. Thanks for the tip!
Re:ProtonVPN by __jal on Tuesday June 20, 2017 @07:51PM (#14599526)
I only know Thomas via his output, but will say that based on it, he very much knows what he is talking about when it comes to the design and implementation of security protocols.
Re:ProtonVPN by jsalinas on Tuesday June 20, 2017 @06:21PM (#14599091)
The only problem I have with Algo is that it isn't compatible with Little Snitch :(
Re:ProtonVPN by andai on Tuesday June 20, 2017 @01:56PM (#14596886)
Isn't one of the main benefits of VPNs sharing the IP with many other people?
Re:ProtonVPN by chinathrow on Tuesday June 20, 2017 @03:27PM (#14597688)
Isn't that making that IP an even bigger target for anyone interested in large amounts of traffic?
Re:ProtonVPN by KingMob on Tuesday June 20, 2017 @05:43PM (#14598877)
Algo's pretty easy, but if you want to use a cheap service like Vultr, which isn't yet supported by Algo, I wrote a post on the necessary steps recently: http://modulolotus.net/posts/2017-03-28-setting-up-algo
Re:ProtonVPN by nazgul17 on Tuesday June 20, 2017 @07:45PM (#14599497)
I installed algo a couple of weeks ago on a server behind an external firewall. I managed to make it work by opening ports 500 and 4500. Maybe that works for you, too.

By the way, is it possible to have all hosts connected to reach each other, as in a lan?

Re:ProtonVPN by dguido on Tuesday June 20, 2017 @08:42PM (#14599752)
> By the way, is it possible to have all hosts connected to reach each other, as in a lan?

Yes! Change this variable to N, then deploy your server:

https://github.com/trailofbits/algo/blob/master/config.cfg#L...

Re:ProtonVPN by KingMob on Tuesday June 20, 2017 @05:45PM (#14598897)
What would people think of a VPN service that builds it for you, then hands over control when done? E.g., it walks you through setting up a DO droplet, uses keys to install a VPN, then prompts you to change the keys so it can't access the server? Think there's a market for that?
Re:ProtonVPN by gmac on Wednesday June 21, 2017 @08:26AM (#14603094)
I wondered about creating something very like that a couple of months ago. Check out my vapourware! http://digitalsnorkel.net/

I think a key problem may be that there aren't a whole lot of people who (a) understand the tech well enough to know they need this, and (b) don't understand the tech well enough to spin up a VPS and run a Bash script.

Re:ProtonVPN by KingMob on Wednesday June 21, 2017 @10:26AM (#14604054)
Interesting! How many sign-ups have you received?
Re:ProtonVPN by gmac on Wednesday June 21, 2017 @02:08PM (#14606374)
Well, I never mentioned it to anyone until now ...
Re:ProtonVPN by tptacek on Tuesday June 20, 2017 @05:48PM (#14598909)
That's essentially what Algo does.
Re:ProtonVPN by KingMob on Tuesday June 20, 2017 @06:45PM (#14599211)
Oh, I know; I wrote a blog post on using Algo.

To be clear, I was thinking about the less-technically-sophisticated-than-HN crowd. E.g., is there a market for the people who would typically purchase VPN services, don't want to trust a VPN company, but don't know how to setup a cloud server?

Re:ProtonVPN by zeratax on Wednesday June 21, 2017 @04:38AM (#14601984)
Is there a reason to trust a cloud server over a VPN company?
Re:ProtonVPN by KingMob on Wednesday June 21, 2017 @10:30AM (#14604089)
Hmm, it depends on your threat model. If you're being targeted by a three-letter agency, then no (of course, you need something more secure than a VPN at that point, anyway). But if you're not singled out, your own VPS is much less likely to be passively surveilled than if it's part of a known VPN IP block.
Re:ProtonVPN by gmac on Wednesday June 21, 2017 @08:20AM (#14603060)
... or if you're not comfortable with Ansible, I have a Bash script that does something similar: https://github.com/jawj/IKEv2-setup
Re:ProtonVPN by homakov on Tuesday June 20, 2017 @05:11PM (#14598651)
Why use algo over ssh tunneling? ssh -ND 8080 user@host
Re:ProtonVPN by KingMob on Tuesday June 20, 2017 @05:24PM (#14598754)
Mobile use, for one.
Re:ProtonVPN by homakov on Wednesday June 21, 2017 @03:59AM (#14601801)
For sure Android can tunnel traffic over SSH, but iOS, not so sure. They expose some API for VPN?