I mentioned attacks using DHCP option 121 (aka "classless static routes") nearly 9 years ago in my blog post about attacks on OpenVPN: https://www.agwa.name/blog/post/hardening_openvpn_for_def_co... (under "Attacks on redirect-gateway") It's really hard to make a robust VPN.
How hard is it for a firewall to block option 121 (and 33)? Cloudflare WARP made a robust VPN but is not cheap.
Novel attack against virtually all VPN apps neuters their entire purpose
31–40 of 77 posts
Re: Novel attack against virtually all VPN apps neuters their entire purpose
#32It seems that this is only an issue if there is a malicious actor present on the remote network. I've always considered VPN services to be snakeoil, and this doesn't really seem like a problem with VPN technology at all. If you are connecting to an untrusted network, then you are at risk. This has always been true. From the VPN service providers perspective, can't this be mitigated by blocking direct traffic between…
> It seems that this is only an issue if there is a malicious actor present on the remote network. As I understand it, the problem comes not from the remote network provided by the VPN, but by the local network - the physical link over which the user accesses the Internet.
Re: Novel attack against virtually all VPN apps neuters their entire purpose
#33"there are no ways to prevent such attacks except when the user's VPN runs on Linux or Android" I guess it really is the year of the Linux desktop :)
Sadly, I've read similar comments for 10+ years now and yet, here we still are.
Re: Novel attack against virtually all VPN apps neuters their entire purpose
#34"there are no ways to prevent such attacks except when the user's VPN runs on Linux or Android" I guess it really is the year of the Linux desktop :)
If Linux can do it, why not the others?
Re: Novel attack against virtually all VPN apps neuters their entire purpose
#35Earlier quoted context omitted.
Yes, namespaces are the gold standard solution.
In addition, wg-quick appears to use the rule-based solution with multiple tables by default. As I understand it this should make Wireguard (with wg-quick) users on Linux immune to this attack. My default route sends traffic to my gateway, not my VPN: default via dev host0 proto static So there's nothing for an attacker to do here. They could make themselves my gateway perhaps, but the `ip rule` would still send my t…
> And finally we add a convenience feature for still accessing the local network, whereby we allow packets without the fwmark to use the main routing table, not the WireGuard interface's routing table, if it matches any routes in it with a prefix length greater than zero, such as non-default local routes. [https://www.wireguard.com/netns/#improved-rule-based-routing]
Doesn't that completely neutralize the protection against a DHCP server sending malicious routes or a gigantic subnet mask?
Re: Novel attack against virtually all VPN apps neuters their entire purpose
#36It seems that this is only an issue if there is a malicious actor present on the remote network. I've always considered VPN services to be snakeoil, and this doesn't really seem like a problem with VPN technology at all. If you are connecting to an untrusted network, then you are at risk. This has always been true. From the VPN service providers perspective, can't this be mitigated by blocking direct traffic between…
> It seems that this is only an issue if there is a malicious actor present on the remote network. As I understand it, the problem comes not from the remote network provided by the VPN, but by the local network - the physical link over which the user accesses the Internet.
Re: Novel attack against virtually all VPN apps neuters their entire purpose
#37"there are no ways to prevent such attacks except when the user's VPN runs on Linux or Android" I guess it really is the year of the Linux desktop :)
Sadly, I've read similar comments for 10+ years now and yet, here we still are.
Do you want every distro turning into Ubuntu with cloud services and telemetry all over the place ?
Re: Novel attack against virtually all VPN apps neuters their entire purpose
#38Re: Novel attack against virtually all VPN apps neuters their entire purpose
#39Re: Novel attack against virtually all VPN apps neuters their entire purpose
#40edit: ahh I’m dumb, it’s the router (correct me if I’m wrong!). So as others have said, you have to already be on a compromised network, yes?