News for hackers. Stuff that matters.
Re:VPN use is at an all-time high – but are people safe? by wg0 on Monday July 03, 2023 @12:51AM (#36569024)
VPN = Rented proxy?

Even running your own VPN means that the destination knows your IP and that IP range is known to be allocated to a particular cloud provider and at any particular time, any cloud provider knows by the second which VM/tenant their allocated IPs are attached to.

So who are you hiding from and are you really hidden?

Re:VPN use is at an all-time high – but are people safe? by bradknowles on Tuesday July 04, 2023 @01:47AM (#36582662)
My ISP is well known for using Deep Packet Inspection techniques to look at what you're doing and where, and to shape traffic to sites they want to discourage -- like NetFlix. And they inject their own ads into web pages, which could be a source of malware. It's trivial for large providers to get root certs so that they can MITM any TLS traffic on their network, unless you're using pinned certificates.

So, I need to protect myself against my ISP.

And their name? AT&T.

Re:VPN use is at an all-time high – but are people safe? by rjh29 on Tuesday July 04, 2023 @09:28AM (#36586357)
Do you have any proof that AT&T are conducting mass-scale MITM attacks against their users?
Re:VPN use is at an all-time high – but are people safe? by xyst on Tuesday July 04, 2023 @09:44AM (#36586550)
Re:VPN use is at an all-time high – but are people safe? by rjh29 on Tuesday July 04, 2023 @09:52AM (#36586662)
Okay, I concede that they have injected cookies into HTTP sites for tracking purposes, and maybe injected ads. But 8 years later the web landscape has changed, everyone uses TLS by default and we have Certificate Transparency, so this sort of thing can't be done anymore.

The most they can do now is spy on your DNS and redirect unresolved domains to some ad-filled page.

Re:VPN use is at an all-time high – but are people safe? by jsnell on Tuesday July 04, 2023 @10:20AM (#36587078)
So, the original statement that companies like AT&T can trivially get root certificates and MITM TLS traffic is just crazy talk, and you were right to challenge that.

> The most they can do now is spy on your DNS and redirect unresolved domains to some ad-filled page.

But this isn't really true either. There's a lot more that can be done with a packet stream than spy on DNS, even if the actual payload traffic is encrypted. A combination of DNS, SNI, IPs, and packet sizes and transmission patterns can allow fairly granular classification of traffic by type, and specific connections can then be traffic-shaped, e.g. by explicit throttling to some target bitrate or by applying differential QoS to them.

Re:VPN use is at an all-time high – but are people safe? by Reisen on Tuesday July 04, 2023 @10:05AM (#36586863)
It's worth considering that spying on DNS is a tremendous privacy leak, much more than "the most they can do" implies. An aware user might configure their system with DoH and use a privacy respecting DNS provider but for many users on a default home connection the ISP is pretty much able to build up a traffic profile of everything you visit and when you visit it. A VPN provider can close this hole too quite easily.

Just from DNS, your ISP can:

1. Infer shopping habbits.

2. Infer which communication services you use (flag users hitting signal.org)

3. Infer when you install, update, or open programs based on telemetry DNS, potentially the versions being run, and how long they run for.

4. Infer when you're most active, infer sleeping habits.

5. Infer probability of health problems if you're hitting more medical sites.

6. Infer political alliance from news sites you visit.

And much more.

Since US congress dropped the rules preventing ISPs selling this data this might be the most insidious thing your ISP can do today.

If you believe that a VPN provider is less likely to spy due to it being the incentive for a paying customer, then a VPN with a no-log DNS option is a huge privacy win. I would argue DoH with NextDNS by itself does more for your privacy than any VPN does with IP masking.

Re:VPN use is at an all-time high – but are people safe? by doublerabbit on Tuesday July 04, 2023 @11:30AM (#36587991)
How many folk here on HN are using 1.1.1.1 or 8.8.8.8 for DNS?

I do not believe that Google is not doing something with the DNS data.

Data is a commodity after-all.

Re:VPN use is at an all-time high – but are people safe? by PlutoIsAPlanet on Wednesday July 05, 2023 @04:06AM (#36597230)
It depends on what they're using the data for.

Cloudflare if they use their DNS data, is likely to use it to improve their network and security products. Google likely uses it to sell intrusive ads.

I know which one I'm more comfortable with.

Re:VPN use is at an all-time high – but are people safe? by thriftwy on Tuesday July 04, 2023 @09:32AM (#36586399)
"It's trivial for large providers to get root certs so that they can MITM any TLS traffic on their network"

Seriously? Just like that? You can pretend that you are a random site.com and get a SSL lock icon in 2023 if you are big enough?

Re:VPN use is at an all-time high – but are people safe? by regecks on Tuesday July 04, 2023 @09:39AM (#36586493)
No, it isn’t. Browser root programs have certificate transparency (SCT embedding) requirements which would immediately reveal to the world if an ISP started to use a trusted root to MITM its users.
Re:VPN use is at an all-time high – but are people safe? by blueflow on Tuesday July 04, 2023 @09:37AM (#36586468)
Its already worse than that. Any provider sitting between you and LetsEncrypt could pass the HTTP challenge on your behalf and get themselves certified as your server.
Re:VPN use is at an all-time high – but are people safe? by rootusrootus on Tuesday July 04, 2023 @10:09AM (#36586918)
I'd love to hear how exactly they'd pull that off.
Re:VPN use is at an all-time high – but are people safe? by blueflow on Tuesday July 04, 2023 @10:28AM (#36587202)
In Linux, you can do a dstaddr/dstport based redirect in the iptables FORWARD chain to your own http server and serve the ACME challenge/response things from there. This is basically a transparent proxy setup.
Re:VPN use is at an all-time high – but are people safe? by rootusrootus on Tuesday July 04, 2023 @01:37PM (#36589962)
What does that buy you? The challenge is merely an authorization, intercepting it does not get you a certificate.
Re:VPN use is at an all-time high – but are people safe? by blueflow on Tuesday July 04, 2023 @02:11PM (#36590491)
What else would i need to request the certificate?
Re:VPN use is at an all-time high – but are people safe? by 3np on Tuesday July 04, 2023 @10:11AM (#36586954)
The ambition is that this will be addressed by supporting RFC8657[0], which would allow domain owners to restrict HTTP-01 issuance by declaring an issuance policy through DNS records. It's been live at staging for years and still waiting to make it to prod[1].

DNS-01 attacks are by default similarly vulnerable to MitM between the issuer and your DNS server, which can be mitigated by setting up DNSSEC.

[0]: https://datatracker.ietf.org/doc/html/rfc8657

[1]: https://community.letsencrypt.org/t/prod-support-for-rfc8657...

Re:VPN use is at an all-time high – but are people safe? by rjh29 on Tuesday July 04, 2023 @09:45AM (#36586576)
Basically no.

You would have to be forced to install an extra root certificate that allows the ISP to MITM your traffic, or have a CA turn rogue and start issuing certificates for other people (e.g. DigiNotar). Both of these attacks would be detected by the Certificate Transparency system, so everyone would know. And for very big domains (google/facebook) browsers pre-bundle the certs they expect to see and refuse to honour any other cert, this is known as static key pinning.

Nation states would be more likely to just tap up Cloudflare to spy on the traffic since a huge % of the internet goes directly to them and is unencrypted at that point.

Re:VPN use is at an all-time high – but are people safe? by michaelt on Tuesday July 04, 2023 @09:55AM (#36586727)
No, it's not true.

You can tell it's not true, because if MITM certs signed by trusted root CAs were being issued, they'd appear in Certificate Transparency logs.

Although mis-issued certificates have happened [1] it is very rare, and convincing a root CA to intentionally issue you such a certificate would be very, very far from trivial.

[1] https://www.computerworld.com/article/2714719/rogue-google-s...

Re:VPN use is at an all-time high – but are people safe? by raesene9 on Tuesday July 04, 2023 @09:45AM (#36586580)
It really shouldn't be and (AFAIK) isn't trivial for people to get root certs any more unless they can get end-users to install them on their systems.

It used to be relatively straightforward (you could buy security appliances that had them) but that was quite a long time ago, things have tightened up considerably since then.

So if an ISP wants to do this, the only other option is a mandatory proxy.

Re:VPN use is at an all-time high – but are people safe? by bradknowles on Tuesday July 04, 2023 @04:08PM (#36591902)
How many root certificate authorities are there in the world that are trusted by default by most browsers, or have their authority cross signed by one of the trusted root certificate authorities.

At last count, the number I heard of was north of 300. All it takes is one of them being semi shady and being willing to sell or cross sign root certs for someone else, like an ISP. And surprising number of those 300+ are pretty shady.

This is one of the methods used in the Great Firewall of China. Or Russia. Or a number of other countries. And most of those countries have smaller annual budgets than AT&T.

Of course, that's also why a lot of people in China use VPNs.

Just like any sufficiently well funded company or country can go to certain businesses in Israel and get professional zero day/no touch malware that they can drop on any unsuspecting target. And Israel is not the only country selling that kind of technology.

Re:VPN use is at an all-time high – but are people safe? by blueflow on Tuesday July 04, 2023 @09:32AM (#36586398)
I don't dare to call my virtual home network a "VPN" anymore because people will instantly ask which provider its using. I need a new word that means virtual private network but doesn't have the "rented proxy for hiding my identity" meaning.
Re:VPN use is at an all-time high – but are people safe? by rjh29 on Tuesday July 04, 2023 @09:54AM (#36586701)
LAN.

Or 'virtual home network'.

Re:VPN use is at an all-time high – but are people safe? by calvinmorrison on Tuesday July 04, 2023 @10:13AM (#36586988)
Vlan
Re:VPN use is at an all-time high – but are people safe? by dathinab on Tuesday July 04, 2023 @11:00AM (#36587585)
Yes, that's what it is for many people today.

Through to be more precise "Rented proxy which uses an opaque encrypted tunnel and can be setup in a system wide transparent manner which avoid all the pain traditional web proxies tend to introduce. Also a proxy which at least pretends to keeps your side of the connection private and might provide (or pretend to provide) some additional security benefits compared to a traditional web proxy.".

> So who are you hiding from and are you really hidden?

Your ISP, in most countries ISPs will analyze network data and sell some aggregated statistics, but in some countries they can go far beyond this in ways which can have noticeable negative effects on your life.

In case of using anything with a P2P connection to untrusted 3rd parties which seems fine initially but turn out to be fanatics, extremists, or crazy (in a negative/dangerous way) . E.g. if you play online in a game which uses P2P someone might use this to trace you down, maybe try to hack you and especially in combination with ISPs selling to private infos might be able to easily find out where you life. This can put your life in danger, even if you aren't a streamer or parts of a frequently harassed minority.

Overreaching not person specific state surveillance, not that you have anything to hide but you shouldn't tolerate it anyway. I mean just because you don't have anything to hide today doesn't mean you don't have tomorrow, potentially in retrospective. I mean for an extrema example I don't think most Jews in 1938 did expect they have to hide for their live in Germany just a few years down the line. And who knows what will happen in the future.