mozz, (edited )
@mozz@mbin.grits.dev avatar
  1. Sounds like it requires that your DHCP server is hostile, which is actually a very small (though nonzero, yes) number of the attack scenarios that VPNs are designed for
  2. "there are no ways to prevent such attacks except when the user's VPN runs on Linux or Android" is a very funny way of saying "in practice applies only to Windows and iOS".
cypherpunks,
@cypherpunks@lemmy.ml avatar

Sounds like it requires that your DHCP server is hostile, which is actually a very small (though nonzero, yes) number of the attack scenarios that VPNs are designed for

In most situations, any host on the LAN can become a DHCP server.

“there are no ways to prevent such attacks except when the user’s VPN runs on Linux or Android” is a very funny way of saying “in practice applies only to Windows and iOS”.

No. There are certainly ways of mitigating it, but afaict no Linux distros have done so yet.

mozz, (edited )
@mozz@mbin.grits.dev avatar

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:

When apps run on Linux there’s a setting that minimizes the effects, but even then TunnelVision can be used to exploit a side channel that can be used to de-anonymize destination traffic and perform targeted denial-of-service attacks.

"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.

atzanteol,

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

That’s like 90% of the reason to actually use a VPN at a coffee shop.

mozz,
@mozz@mbin.grits.dev avatar

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.

atzanteol,

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?

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?

mozz,
@mozz@mbin.grits.dev avatar

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.)

atzanteol,

Sorry - but you think

But more likely is that I’m protecting against a malicious ISP

I’d take that bet.

mozz, (edited )
@mozz@mbin.grits.dev avatar

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.

atzanteol,

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.

mozz,
@mozz@mbin.grits.dev avatar

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.

atzanteol,

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”.

FuckyWucky,

didnt know DHCP had an option to modify routing tables wtf

corroded,

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?

ExhaleSmile,

You nailed it.

corroded,

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.

ExhaleSmile,

Agreed

cypherpunks,
@cypherpunks@lemmy.ml avatar

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.

MotoAsh,

If some random user is able to configure themselves as DHCP, NOONE should be connected to that insecure trash.

cypherpunks,
@cypherpunks@lemmy.ml avatar

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.

MotoAsh, (edited )

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.

athairmor,

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • security@lemmy.ml
  • ngwrru68w68
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Youngstown
  • everett
  • slotface
  • rosin
  • osvaldo12
  • mdbf
  • kavyap
  • cubers
  • megavids
  • modclub
  • normalnudes
  • tester
  • khanakhh
  • Durango
  • ethstaker
  • tacticalgear
  • Leos
  • provamag3
  • anitta
  • cisconetworking
  • JUstTest
  • lostlight
  • All magazines