News for hackers. Stuff that matters.
Re:Against privacy defeatism: why browsers can still stop fi... by fpgaminer on Friday June 29, 2018 @04:27PM (#17427599)
Over the years I've noticed this, privacy defeatism, amongst other excuses used to push back against security and privacy enhancements.

Another is security chicken and egg. "Because A isn't secure, there's no point in securing B. And because B isn't secure, there's no point in securing A." I've seen arguments along those lines used against improving the security of, for example, DNS and SNI. Or just DNS in general. "There's no point in securing DNS because your ISP can see what IP addresses you connect to."

The all-or-nothing argument has been used to argue against HTTPS. "State actors like China can circumvent HTTPS, since they control trusted CAs! So why use HTTPS at all?"

Then there's the arguments against security because "it makes development harder!" People have argued against mandatory HTTPS saying that it makes developing websites harder.

The list goes on.

Luckily it seems that pro-security and pro-privacy succeed in the end, for the most part. But those that use these pathological arguments have certainly delayed things more than they should have been.

Re:Against privacy defeatism: why browsers can still stop fi... by neverfone on Friday June 29, 2018 @05:40PM (#17428051)
I'm not a privacy defeatist, but I am a fingerprinting defeatist. Here's why: I don't think it's realistic for caching and anti-fingerprinting to co-exist, and given those two options users will always pick the former because the latter would be perceived as slow. The classic example is:

<script src=foobar.js>

Where foobar.js just returns something like "var id=0x1234567", the user who doesn't want to be fingerprinted cannot cache this script because it could be uniquely generated.

Re:Against privacy defeatism: why browsers can still stop fi... by yayana on Friday June 29, 2018 @05:57PM (#17428160)
It would be simple enough to rely on resource hashes to not actually contact the sources of files and then to skip or approve seeking hashes you can't get from your preferred shared caches. Thus a unique file gets ignored by the most anonymity concious.

I think there is a chicken and egg here combined with IP incentives to not fix how web browsers work.

I hoped the great firewall would have accidentally fixed this by making it preferable to refer to hashes that can be found in peer caches irregardless of CDN status.

Re:Against privacy defeatism: why browsers can still stop fi... by neverfone on Friday June 29, 2018 @07:22PM (#17428605)
I think you're forgetting that resources cannot be shared if they're marked private. You cannot get account_statement.js from your shared cache, it has to be unique to you.

There is no easy fix to this.

Re:Against privacy defeatism: why browsers can still stop fi... by yayana on Saturday June 30, 2018 @05:42AM (#17430181)
Your example actually isn't incorrectly marked private.. So that is already covered in my previous comment.

The most anonymity concious would realize they are trying to do banking in what is supposed to be their anonymous session and never fetch the file.. if they somehow missed that they were entering auth details?

The way things need to work on the web involve choices that you apply differently (or IE applies for Windows users.) The defeatist response is not to implement any choices. A typical user will want a small number of PII sites, so let's have only PII mode and autofill their details into forms in any blog!

Re:Against privacy defeatism: why browsers can still stop fi... by neverfone on Sunday July 01, 2018 @02:11PM (#17436726)
I'm not following your argument, do you agree that there are resources that cannot be saved in a shared cache?
Re:Against privacy defeatism: why browsers can still stop fi... by yayana on Sunday July 01, 2018 @05:11PM (#17437624)
There are resources that shouldn't be saved in a shared cache and shouldn't be seen in an anonymous session. It is not a coincidence that they are both and it is great that they are explicitly marked.
Re:Against privacy defeatism: why browsers can still stop fi... by tripzilch on Sunday July 01, 2018 @11:27AM (#17435942)
But, if the server sends you a private resource, this implies the server must already know your identity. Being private it's not supposed to send it to anyone else, so it needs to identify you in order to know "does this user have access to this resource?".

Am I missing something here?

Re:Against privacy defeatism: why browsers can still stop fi... by neverfone on Sunday July 01, 2018 @02:05PM (#17436700)
Yes, private doesn't necessarily mean authenticated, it just means shouldn't be saved in a shared cache.

For example, "weather_at_your_geoip.js".

Re:Against privacy defeatism: why browsers can still stop fi... by jhasse on Saturday June 30, 2018 @03:45AM (#17429918)
The script tag could have a mandatory file hash attribute.
Re:Against privacy defeatism: why browsers can still stop fi... by neverfone on Sunday July 01, 2018 @02:06PM (#17436704)
Then you would need to know the (dynamically generated) contents in advance?
Re:Against privacy defeatism: why browsers can still stop fi... by jhasse on Sunday July 01, 2018 @03:51PM (#17437216)
The server generates the content, so he knows the file hash in advance.
Re:Against privacy defeatism: why browsers can still stop fi... by path411 on Monday July 02, 2018 @03:36PM (#17444717)
What's to prevent the server from sending you a unique hash?
Re:Against privacy defeatism: why browsers can still stop fi... by jhasse on Monday July 02, 2018 @03:42PM (#17444755)
How would he know that it's "you"?
Re:Against privacy defeatism: why browsers can still stop fi... by DenisM on Friday June 29, 2018 @11:49PM (#17429380)
You could cache files per requesting domain. That way repeat visit of the same site is fast, but nothing is leaked cross-domain.
Re:Against privacy defeatism: why browsers can still stop fi... by gsnedders on Saturday June 30, 2018 @07:21AM (#17430424)
That still allows same-site fingerprinting, though, and as long as there are ways to transmit data across origins that doesn't really suffice.
Re:Against privacy defeatism: why browsers can still stop fi... by DennisP on Friday June 29, 2018 @06:08PM (#17428218)
Why not cache it for the user, but go ahead and retrieve it in the background?
Re:Against privacy defeatism: why browsers can still stop fi... by neverfone on Friday June 29, 2018 @07:20PM (#17428591)
I don't understand the question, it's either cached or not.

If it's not cached, then it has to be fetched synchronously for anything depending on its value to work - so it's slow.

If it is cached, then the cached value is known.

Re:Against privacy defeatism: why browsers can still stop fi... by notriddle on Friday June 29, 2018 @08:54PM (#17428926)
> Why not cache it for the user, but go ahead and retrieve it in the background?

If the JS triggers another download, and the browser requests the second resource before the initial JS is done downloading...

Re:Against privacy defeatism: why browsers can still stop fi... by jessaustin on Friday June 29, 2018 @07:24PM (#17428620)
The point is that other scripts on the page can find out that id=0x1234567, and use that value for tracking requests. Since you've cached it, they can track you across sessions.
Re:Against privacy defeatism: why browsers can still stop fi... by endianswap on Friday June 29, 2018 @07:27PM (#17428643)
The idea is that if you visit two sites, and on both sites you use the same token, the ad-provider (or whoever) can associate you across the two origins because of the cached token.
Re:Against privacy defeatism: why browsers can still stop fi... by blakesterz on Friday June 29, 2018 @05:08PM (#17427888)
I've been thinking that the "State actors like..." argument is rather weak because it seems like the more we learn about "State actors" from anywhere the more it seems like they can get around anything. If they happen be be focused on your or your organization it seems like it's just game over no matter what you try to do.

Luckily, I guess, securing yourself against state level actors keeps you safe from everyone else that's trying to do bad things, so, win/win?

Re:Against privacy defeatism: why browsers can still stop fi... by kbenson on Friday June 29, 2018 @05:39PM (#17428045)
A "state actor" focusing on you should be considered at least as dangerous (and semi-impossible) to guard against as a dedicated adversary that wants to infiltrate you specifically. Just as with a dedicated adversary, it's no justification not to make it hard for the average or law-abiding citizen and what they can easily come up with.

We don't have locks on our front doors to make it impossible for unwanted people to get inside our houses, we do it to prevent the average person, deter the interested criminal, and hopefully give us warning when it is or has happened.

> Luckily, I guess, securing yourself against state level actors

To be clear, there is no securing yourself against state level actors. You can harden yourself, and reduce your target area and/or footprint, but there's no way to actually make yourself secure.

Re:Against privacy defeatism: why browsers can still stop fi... by mirimir on Friday June 29, 2018 @07:35PM (#17428674)
> To be clear, there is no securing yourself against state level actors. You can harden yourself, and reduce your target area and/or footprint, but there's no way to actually make yourself secure.

Yes. Your best bet is hiding. Once you're identified, it's basically over. It's just another facet of the state monopoly on force.

Re:Against privacy defeatism: why browsers can still stop fi... by apk17 on Saturday June 30, 2018 @02:22AM (#17429738)
The force monopoly has little to do with it - few institutions would have the resources to win against the US govt.
Re:Against privacy defeatism: why browsers can still stop fi... by mirimir on Saturday June 30, 2018 @09:17PM (#17433555)
Resource monopoly is rather a subset of force monopoly, no?

I mean, consider guns. In the US, citizens can own guns. And armed private security is OK, too. But there's consistent push-back against private militias, armies, etc. Unless they work only outside the country, in acceptable contexts.

Re:Against privacy defeatism: why browsers can still stop fi... by Santosh83 on Saturday June 30, 2018 @07:43AM (#17430488)
> To be clear, there is no securing yourself against state level actors. You can harden yourself, and reduce your target area and/or footprint, but there's no way to actually make yourself secure.

You can, if you gain the support of an opposing, comparable state actor. That's what Snowden has employed. But 100% security is still a myth, not only against state actors... reality itself is just not like that. Unless you can hide inside a black hole.

Re:Against privacy defeatism: why browsers can still stop fi... by apk17 on Saturday June 30, 2018 @02:43AM (#17429790)
Re state actor: I guess secure-or-known-to-have-failed is attainable on a personal scope. Securing a company, no matter what size, is futile.
Re:Against privacy defeatism: why browsers can still stop fi... by rqs on Friday June 29, 2018 @10:05PM (#17429112)
Irony. HTTPS deployment in China is going very ... not bad.

First and second tier websites already switched it on long ago. Because in China we had an ancient tradition for ISPs to sniff and modify user's traffic to (for example) inject their own affiliation codes to the web request. Those websites hates it of course.

Re:Against privacy defeatism: why browsers can still stop fi... by forkerenok on Saturday June 30, 2018 @04:44AM (#17430035)
> Irony. HTTPS deployment in China is going very ... not bad.

Given Chinese govt has been controlling some CAs, China vs. HTTPS irony is.. well, less of an irony :)

Re:Against privacy defeatism: why browsers can still stop fi... by rqs on Saturday June 30, 2018 @05:47AM (#17430191)
On the "CAs is controlled by state" side, some privacy enthusiasts in China already removed those CAs from their system long ago. Go give them some hug and support: https://github.com/chengr28/RevokeChinaCerts

And of course, in the context of CA, what's truly important is transparency in the audit process and continuous monitoring. Catch them red handed will end their business[0] once and for all. And so far, most of them are rule-abiding.

[0] https://blog.mozilla.org/security/2016/10/24/distrusting-new...

Re:Against privacy defeatism: why browsers can still stop fi... by gsnedders on Saturday June 30, 2018 @07:20AM (#17430420)
And it's a question of when, and not if, we require CT logs for every certificate the browser sees.
Re:Against privacy defeatism: why browsers can still stop fi... by taneq on Friday June 29, 2018 @11:53PM (#17429395)
Another example of how "untrusted by default" results in a better system.
Re:Against privacy defeatism: why browsers can still stop fi... by cm2187 on Friday June 29, 2018 @05:30PM (#17427995)
Absolutely. Heard that with stateless IPv6 DHCP. "If you can fingerprint the browser, why does it matter that one can use the MAC component of the IPv6 to track people across networks?". Heard on HN...
Re:Against privacy defeatism: why browsers can still stop fi... by oconnor663 on Friday June 29, 2018 @05:53PM (#17428135)
> "There's no point in securing DNS because your ISP can see what IP addresses you connect to."

I don't see the flaw in that one. It does seem kind of extra to secure DNS. What's the argument in favor?

> "State actors like China can circumvent HTTPS, since they control trusted CAs! So why use HTTPS at all?"

This one I agree is wrong, but not for something-is-better-than-nothing reasons. I think it's wrong because when Chinese CA's abuse their position they get blacklisted: https://arstechnica.com/information-technology/2015/04/googl...

Re:Against privacy defeatism: why browsers can still stop fi... by cpeterso on Friday June 29, 2018 @06:46PM (#17428428)
> I don't see the flaw in that one. It does seem kind of extra to secure DNS. What's the argument in favor?

If ISPs control your DNS, then they can block domains they don't want you to reach or redirect unknown domains to their own ad pages like Comcast has in the past. If you use someone else's DNS, your ISP could still block network packets sent to certain IP addresses, but they wouldn't want to block all AWS IP addresses just to block one site on AWS.

> when Chinese CA's abuse their position they get blacklisted [in Chrome]

AFAIK, Chrome has very small market share in China. Most Chinese users use chimeric browsers that combine Chromium and IE's Trident engines. Many Chinese bank and government sites require NPAPI plugins for custom crypto, so the popular browsers can seamlessly switch a tab from Chromium to Trident for sites that are known to require plugins.

Re:Against privacy defeatism: why browsers can still stop fi... by ummonk on Friday June 29, 2018 @07:07PM (#17428527)
>If you use someone else's DNS, your ISP could still block network packets sent to certain IP addresses, but they wouldn't want to block all AWS IP addresses just to block one site on AWS.

Well, that's sort of what Russia did to try to ban Telegram...

Re:Against privacy defeatism: why browsers can still stop fi... by danShumway on Saturday June 30, 2018 @03:41AM (#17429910)
Russia may decide they're OK with blocking AWS. Comcast probably isn't going to do that. Is it really essential that we solve the Russia problem before we solve the Comcast problem?

Even on the Russia side of things there are advantages.

If you use your ISP's DNS, they can block a specific site or service with very high granularity and zero cost. If you don't, they can still block things, but they have to resort to cruder methods that risk annoying customers/citizens and degrading their overall network health.

Over time these extra annoyances might become a kind of death by 1000 cuts, allowing ISPs and countries that don't censor to outperform them in ways that even ordinary, privacy/freedom ambivalent people care about.

This is all quite proper. It's healthy for censorship (even when it's possible) to have costs. Where possible, we should try to build technological infrastructure so that networks that censor won't be able to compete on an even ground with the networks that don't.

Re:Against privacy defeatism: why browsers can still stop fi... by mirimir on Friday June 29, 2018 @07:16PM (#17428574)
Well, there isn't much benefit to securing DNS or using third-party name servers, unless you also use VPN services and/or Tor to prevent your ISP from seeing what sites you access. However, securing DNS can somewhat interfere with geolocation by websites. Given mechanisms that point to the nearest servers.

But if you are using VPNs and/or Tor, it's crucial to secure DNS. Tor exits do DNS lookups for clients. And properly configured VPN services do as well.

Re:Against privacy defeatism: why browsers can still stop fi... by 87 on Friday June 29, 2018 @06:36PM (#17428370)
An IP is pretty useless nowadays with so many sites behind cloudflare.
Re:Against privacy defeatism: why browsers can still stop fi... by mirimir on Friday June 29, 2018 @09:30PM (#17429021)
Even so, can't ISPs still see what sites you connect to? Or is everything after the inital connection to Cloudflare hidden in HTTPS? And how many sites are typically reachable through a given Cloudflare IPv4 address?
Re:Against privacy defeatism: why browsers can still stop fi... by tialaramex on Friday June 29, 2018 @10:26PM (#17429180)
In TLS 1.2 (what a good browser and site uses today) the Server Name Indication sent from your client is plaintext, as is the certificate sent back by the server and the choices made by both sides during key agreement.

In TLS 1.3 (not yet officially published as a standard but basically finished and already drafts are used by Firefox, Chrome, and Cloudflare) only SNI remains plaintext.

So yes, the FQDN you're connecting to will still be revealed, but an adversary can't trust it, unlike the certificate itself, you could be lying if the remote server lets you.

If you scroll back a few days HN discussed the Internet Draft about SNI encryption (it's a problem statement rather than a proposed solution) so they want it, it's just not clear how it could be done (there are lots of bad / ineffective options)

Re:Against privacy defeatism: why browsers can still stop fi... by textmode on Saturday June 30, 2018 @12:24AM (#17429465)
"There's no point in securing DNS because your ISP can see what IP addresses you connect to."

Perhaps the ISP has fingerprinted the pages of every website on every shared IP address so they can easily determine which website the user is visiting? Why rely on unencrypted DNS or unencrypted SNI when it is so trivial to map IP addresses to domains.

A poor example, but consider this single IP address 216.239.36.21 with a reverse lookup returning a 23M list of 1,283,151 domains.

https://api.hackertarget.com/reverseiplookup/?q=216.239.36.2...

Re:Against privacy defeatism: why browsers can still stop fi... by walterbell on Friday June 29, 2018 @04:34PM (#17427654)
Speaking of mining, here’s a thread on cryptocurrency ASIC resistance defeatism, similar pattern?

https://www.reddit.com/r/CryptoCurrency/comments/7fuh2l/why_...

Re:Against privacy defeatism: why browsers can still stop fi... by sametmax on Sunday July 01, 2018 @04:35AM (#17434695)
The biggest barrier for privacy is not a technical one. It's that most people don't care. We see outrages in a few intellectual or tech saavy niches, like hn, but the average joe has many, many, other priorities before this.
Re:Against privacy defeatism: why browsers can still stop fi... by deleted_account on Friday June 29, 2018 @08:46PM (#17428899)
I see a parallel between this and digital rights management. Eliminating probabilistic fingerprinting for browsers is always going to be a technical arms race.
Re:Against privacy defeatism: why browsers can still stop fi... by pmoriarty on Friday June 29, 2018 @07:09PM (#17428541)
"your ISP can see what IP addresses you connect to"

Why not make some browser extensions that randomly connect to all sorts of websites and download random web pages?

There's plenty of bandwidth for us to do that these days, and your real browsing habits should be able to hide in the noise.

Of course, for something more sophisticated, the "random" browsing should statistically match real web browsing, to make traffic analysis more difficult.

Re:Against privacy defeatism: why browsers can still stop fi... by notriddle on Friday June 29, 2018 @08:48PM (#17428910)
No. [The Tor people did the math on that][1]. It would probably spell the end of "unlimited home internet at X Mb/s" if it got widely used.

[1]: https://www.torproject.org/docs/faq.html.en#SendPadding

Re:Against privacy defeatism: why browsers can still stop fi... by extralego on Friday June 29, 2018 @04:39PM (#17427685)
It’s also the extent of the anarchy-libertarian stance popular on HN.
Re:Against privacy defeatism: why browsers can still stop fi... by JumpCrisscross on Friday June 29, 2018 @04:44PM (#17427719)
> the anarchy-libertarian stance popular on HN

What’s popular in the tech community is some combination of laziness and naive political cynicism masking as strategy or anarcho-libertarianism.

Re:Against privacy defeatism: why browsers can still stop fi... by throwaway37585 on Friday June 29, 2018 @07:47PM (#17428715)
> laziness and naive political cynicism

What are you referring to?

Re:Against privacy defeatism: why browsers can still stop fi... by paganel on Saturday June 30, 2018 @03:56AM (#17429941)
I’m a privacy defeatist because the vast majority of people who argue for things like “https everywhere” and secure DNS nevertheless still use CC payments and buy most of their things online, which practically defeats the whole purpose: your CC-processor or bank now know when and if you’re going to have sex (you bought some condoms with your CC), know your political and ideological affiliations (based on the books you’ve purchased online) etc etc. It’s all pretty much a farse, I’d call it “voodoo privacy”.
Re:Against privacy defeatism: why browsers can still stop fi... by forkerenok on Saturday June 30, 2018 @04:08AM (#17429971)
That's ironic that you responded with the points, exact spirit of which the parent rebukes.

The issues you are raising are indeed real issues, that will be eventually addressed. And that "eventually" largely depends on the pressure that privacy-minded consumers create.

And just because they are not addressed yet, it doesn't mean we shouldn't care about fixing other weak links.

Re:Against privacy defeatism: why browsers can still stop fi... by paganel on Saturday June 30, 2018 @08:43AM (#17430678)
It’s not ironic at all, I’ve read about this discourse about data privacy for at least 10 years, nothing has changed for the better since then, quite the contrary. I for one take active steps in combating it (I very rarely use my CC for purchases, I buy almost nothing online etc), it’s tiring to be lectured on privacy by people who act one way and say a totally different thing.
Re:Against privacy defeatism: why browsers can still stop fi... by dkersten on Saturday June 30, 2018 @06:53AM (#17430340)
Just because one person or entity (the CC company in this case) has all my data doesn’t mean every other person or entity should have it too. The fewer that have your data the better and the more it becomes possible to slowly improve your privacy level.

Es, my CC company can infer a lot about me. Yes, they may even be selling that information to others. That doesn’t mean that I want anybody who can MITM my requests to be able to see what I’m doing (or, worse, send me forged content for whatever purpose).

Re:Against privacy defeatism: why browsers can still stop fi... by godzillabrennus on Saturday June 30, 2018 @05:01AM (#17430077)
Merchants don’t typically pass data about items being purchased to merchant providers.

Merchants rely on cc info to track consumer behavior.

Projects like ShopIn.com give me hope that blockchain may decentralize this data and put control back in consumers hands.

If they decide that’s important to them.