News for hackers. Stuff that matters.
Re:Linux under WSL2 can be leaking by Voline on Wednesday September 30, 2020 @01:48PM (#24641442)
We have tested a few other VPN clients from competitors and found that all of them leak in the same way. The way Microsoft has implemented virtual networking for Linux guests makes it very difficult to properly secure them.
Re:Linux under WSL2 can be leaking by the8472 on Wednesday September 30, 2020 @02:21PM (#24641844)
Sometimes that's a feature. At least with VirtualBox I have made the experience that NAT virtual networking leads to significant slowdown on a linux guest compared to bridging one of the host's ethernet adapters. I suspect that's due to windows' firewall software or similar things happening in the host system. It also means one less hop to debug when it comes to network issues.

I think the question is whether you consider a VM more like another machine in your network that merely happens to run on the same hardware or a part of the host system.

Re:Linux under WSL2 can be leaking by rrobukef on Wednesday September 30, 2020 @04:16PM (#24643307)
From a firewall POV: Can the host system reliably interact mechanically with the VM? I.e., can the host get root in the VM? If so, a firewall only reduces the attack surface by eliminating the obvious.
Re:Linux under WSL2 can be leaking by qz2 on Wednesday September 30, 2020 @02:16PM (#24641779)
It’s a shit show. Can’t trace packets either via wireshark on the host and tcpdump doesn’t work on the guest. I’ve gone back to virtualbox and eviscerated WSL. Another total waste of my life.
Re:Linux under WSL2 can be leaking by muricula on Wednesday September 30, 2020 @03:49PM (#24642972)
Were you using WSL 1 or 2? WSL 1 networking didn't work the way I expected, but WSL 2 seems to support proper Linux networking since it's just a Linux VM under the hood.
Re:Linux under WSL2 can be leaking by GekkePrutser on Wednesday September 30, 2020 @02:28PM (#24641952)
Conceptually this makes sense. It doesn't really run Under windows, it runs beside windows. Unlike WSL1 which was basically part of Windows. It's strange tcpdump doesn't run though as WSL2 is running a real kernel.

Personally I really liked the resource efficient WSL1 approach and I lament that they dropped it. But I know for some usecases (e.g. docker) a real Linux kernel was needed.

Re:Linux under WSL2 can be leaking by muststopmyths on Wednesday September 30, 2020 @02:50PM (#24642227)
>It's strange tcpdump doesn't run though as WSL2 is running a real kernel.

It works just fine. Just tested it

Re:Linux under WSL2 can be leaking by qz2 on Wednesday September 30, 2020 @02:53PM (#24642273)
Try dumping UDP packets from the host to the WSL machine...
Re:Linux under WSL2 can be leaking by tw04 on Wednesday September 30, 2020 @03:12PM (#24642516)
The WSL machine is a Hyper-V VM. Why would you expect the default configuration to be able to sniff traffic from the host operating system? That would be a massive security hole.
Re:Linux under WSL2 can be leaking by qz2 on Wednesday September 30, 2020 @03:42PM (#24642888)
I’m taking about traffic sent to the guest not on the interfaces.
Re:Linux under WSL2 can be leaking by rrdharan on Wednesday September 30, 2020 @07:24PM (#24645299)
It was theoretically more resource efficient but practically worse and harder to optimize. A state of affairs that VMware has exploited for a couple decades.
Re:Linux under WSL2 can be leaking by debian_lover on Wednesday September 30, 2020 @02:23PM (#24641862)
Better yet just install linux and if you need windows, use it in a locked down VM
Re:Linux under WSL2 can be leaking by mikece on Wednesday September 30, 2020 @02:07PM (#24641678)
I would think that anyone who relies on a VPN for safety or is really particularly security conscious (1) isn't using Windows 10, (2) has networking disabled if they are using it, for example, in a VM, and (3) is probably using a dedicated device like a Slate router or pfSense box as their VPN point.
Re:Linux under WSL2 can be leaking by jetpackjoe on Wednesday September 30, 2020 @02:16PM (#24641776)
With the way these companies advertise, they make it seem like a silver bullet for internet anonymity. Almost every YouTube video I've seen recently seems to have one as a sponsor, and I am sure they are picking up many non-technical customers.

I don't think users of NordVPN, ExpressVPN, MullvadVPN et al. are as sophisticated as you think.

Re:Linux under WSL2 can be leaking by jeroenhd on Wednesday September 30, 2020 @02:29PM (#24641964)
The non-technical customers probably aren't running WSL2 either. In fact I think very few of them actually need a VPN. Those who torrent in litigious countries have a benefit from their VPN provider but I doubt most others don't know about the behaviour changes that need to take place to make a VPN effective.

I think VPNs can be a powerful tool for many people who would normally not be able to find out about their existence, but the predatory nature modern VPN ads have taken is quite sad.

This leads to some cases of Youtube fan bases angrily calling out shitty VPN ads while the video creators just want to pay their bills, a situation nobody wants.

Re:Linux under WSL2 can be leaking by mikece on Wednesday September 30, 2020 @02:24PM (#24641881)
The way Express VPN's ad copy reads it seems their own people don't understand the difference between encryption and traffic tunneling (much less encryption in transit versus encryption at rest).
Re:Linux under WSL2 can be leaking by GekkePrutser on Wednesday September 30, 2020 @02:30PM (#24641966)
If they're not that sophisticated they probably won't use WSL anyway though, so it's not a huge issue in that sense (unless some malware specifically installs WSL2 to get around it).
Re:Linux under WSL2 can be leaking by gambiting on Wednesday September 30, 2020 @02:37PM (#24642060)
The reason why I route all of my traffic through a VPN is simple - in the UK all ISPs have to keep the history of all your browsing for a year. I want to avoid that. That's it. I just don't like this requirement, especially since lots of agencies can access this data without any kind of warrant - so this is like my own little personal protest against this stupid law. Nothing more complex than that.
Re:Linux under WSL2 can be leaking by johnisgood on Wednesday September 30, 2020 @03:43PM (#24642896)
"UK-based VPN companies may be subject to the same data retention laws as the country's internet service providers. The UK has also made news in the past as some carriers have blocked certain VPNs. However, the use of VPNs remains legal."

Not sure how much of it is true. I cannot imagine what would happen to some people there were it to be illegal. I would move out.

Re:Linux under WSL2 can be leaking by nybble41 on Wednesday September 30, 2020 @06:41PM (#24644888)
You can use a VPN that isn't based in your home country. It's much harder to switch to a non-local ISP.
Re:Linux under WSL2 can be leaking by munchbunny on Wednesday September 30, 2020 @02:16PM (#24641785)
I don't think that's true, plenty of security conscious but not particularly tech savvy people use a VPN with Windows.

Using WSL2 though... you kind of have to be tech savvy to do use it, and those people are probably willing to work around the issue.

Re:Linux under WSL2 can be leaking by wutwutwutwut on Wednesday September 30, 2020 @02:46PM (#24642165)
Are you saying that you don't think there is anyone on Windows who is using a VPN to hide their pirating activities? If so, you can borrow a needle from me and pop that bubble.