Novel attack against virtually all VPN apps neuters their entire purpose
(arstechnica.com)
from cypherpunks@lemmy.ml to security@lemmy.ml on 07 May 2024 15:43
https://lemmy.ml/post/15353213
from cypherpunks@lemmy.ml to security@lemmy.ml on 07 May 2024 15:43
https://lemmy.ml/post/15353213
#security
threaded - newest
It doesn’t sound to me like this really negates the purpose of a VPN, more accurately it provides a way for someone on your local network to snoop on VPN traffic, if I understand correctly.
From how the article describes the attack, someone on your local network would have to set up a malicious DHCP server/gateway. The average home user who is using a VPN to mask their public IP probably doesn’t need to worry about this.
Or am I misunderstanding?
You nailed it.
That makes this a very misleading headline, then. “VPN Usage over a Public Network may be Vulnerable to Attack” would be a lot more accurate IMO.
Agreed
Sounds like the attack bypasses the VPN entirely. It’s not a worry on your home network if you control the DHCP server. But, on public networks, where you really should always use a VPN, you can’t be sure your traffic is going through the VPN.
Maybe, you can check a trusted site like the VPN provider’s webpage to see if you’re going through the VPN. But, a really sophisticated attack could potentially route just that traffic through the VPN and everything else outside of it.
If my reading of it is correct.
VPNs have several purposes but the big two are hiding your traffic from attackers on the local area network and concealing your location from sites that you visit.
If you’re using a VPN on wifi at a cafe and anyone else at the cafe can run a rogue DHCP server (eg, with an app on their phone) and route all of your traffic through them instead of through the VPN, I think most VPN users would say the purpose of the VPN has been defeated.
If some random user is able to configure themselves as DHCP, NOONE should be connected to that insecure trash.
The vast majority of LANs do not do anything to prevent rogue DHCP servers.
Just to be clear, a “DHCP server” is a piece of software which can run anywhere (including a phone). Eg, if your friend’s phone has some malware and you let them use the wifi at your house, someone could be automatically doing this attack against your laptop while they’re there.
Seems like quite an amateur move to run a public network without filtering everyrhing, including dhcp. Again; insecure trash.
Yes, I know there is a lot of insecure trash out there. The commonality doesn’t magically make it not insecure trash.
didnt know DHCP had an option to modify routing tables wtf
In most situations, any host on the LAN can become a DHCP server.
No. There are certainly ways of mitigating it, but afaict no Linux distros have done so yet.
When I use a VPN, I very rarely imagine that the coffee shop / home internet that I'm hooked up to will have a malicious actor or compromised host physically inside it. I mean, maybe. But more likely is that I'm protecting against a malicious ISP, or effectively doing an extra level of authentication to my work network before I get access to non-world-visible elements of it (that shouldn't be exposed to anyone in the world that wants to poke at it). The "someone else at the cafe is malicious" case isn't un-heard of, but it's not the most common threat model. That's my point.
From the article:
"Deanonymize" and denial of service are very very different from hijacking the connection and rerouting destination traffic to a hostile device, which it sounds like are what's possible on iOS and Windows.
I don't really know the full details (e.g. what does it mean that "there's a setting", and is activating that setting starting this week any different in practice from applying the patch that will surely come this week for Windows and iOS). But it does sound fair to say that there's a serious level of vulnerability that's exclusive to Windows and iOS.
That’s like 90% of the reason to actually use a VPN at a coffee shop.
For this scenario, are you imagining that a person may have physically entered the coffee shop who's both tech savvy and malicious enough to run a malicious device there?
Or were you thinking a remote compromise of their router? That one seems moderately more probable, but eliminates anything special about the coffee shop's router specifically as opposed to your home router or your workplace's router.
I mean… Yeah. I’ve sat in a coffee shop or airport in the past and sniffed traffic out of mere curiosity. Why wouldn’t a malicious actor be there?
I have done, and friends of mine have done a lot more than that. My point is that I'm unusually nerdy and the number of people who've ever been subjected to it by me being near them is probably in the double digits for a few minutes over my entire life.
I will bet you any amount of money that you can go to any coffee shop and set up an insecure VPN there all day and not a single person will randomly come in, set up a malicious DHCP server, and reroute the VPN traffic through their hardware so they can spoof it and spy on your traffic.
The fact that it's possible means it's worth defending against, sure. If it sounds like I'm saying it's not a big deal I am not. I'm just saying that it is not the most common threat that you need to defend against most urgently or even in the top 10 (primarily because it requires one of this little handful of people nearby to you to be a malicious actor, where most of the ones that are really commonly-encountered threats are the ones that literally any one of billions of people on the planet could at any time randomly target you with, so you're going to run into a lot more frequently.)
Sorry - but you think
I’d take that bet.
Okay, how much?
I can enumerate the ISPs that have will-hand-your-traffic-over-for-general-vacuuming-up deals with the American government, and the ISPs worldwide that do some form of traffic editing on behalf of differently-repressive-than-the-US regimes, and I can go to Starbucks tomorrow and we can compare that proportion of ISPs to the proportion of people I find actively tampering with my traffic from the cafe.
You need to compare “everybody who has ever done anything malicious at a cafe” if you want to make a valid comparison to “all the ISPs in the world”. In the US nobody would be using an ISP that would be doing anything malicious in a cafe. “has deals with the American government” paranoia notwithstanding.
What?
I am comparing the question, is my traffic being spied on by the ISP (in practice, passed off from the ISP to the NSA for sure and in practice maybe whoever else) actively as I'm running my connection, versus is my traffic being spied on by my fellow patrons. I would describe harvesting all my traffic and giving it to the government as "malicious." That, to me, is more likely (I mean, more or less 100% chance, within the US) than someone randomly being at the cafe acting maliciously to the point of setting up a spoof DHCP server randomly during the time that I am there.
(Part of the Snowden revelations were that the NSA had deals with more or less every major data carrier to harvest in bulk more or less everything that goes over the long-distance internet.)
What percentage of people in the world do you imagine set up spoof DHCP servers at cafes? 1%? And what percent of their time do you imagine they spend doing it? I cannot possibly make the math work out to make it make sense unless the cafe literally has at bare minimum thousands of people in it at all times. I mean, sure, it's worth making sure your VPN is secure against it.
I don't really want to argue continuously back and forth about this for too too long. I feel like I've said what I needed to say to communicate my piece about it at this point.
I’m going to go ahead and say we just differ in what we consider to be “malicious behavior”. Yes, the NSA spying is bad, but they’re not “stealing credit cards bad”.