News for hackers. Stuff that matters.
Re:Firefox can now stop Instagram and Facebook from tracking... by mickael-kerjean on Tuesday May 15, 2018 @12:22PM (#17075122)
Mozilla, if you ever read this:

- when will you stop twitter from knowing all about youporn's user ? yes HN user, open your developer console and look out for the cookie coming from syndication.twitter.com. If you ever try to visit http://syndication.twitter.com, you end up on "Sorry, that page doesn’t exist!".

- when will you ask for user permission before revealing hardware related information (via the screen object and navigator object)? I can't think of any use case to reveal how many core my computer has when js only use 1. Same for the screen object as we already have the window object.

- when will you create a feature to dynamically update the user agent ?

- when will you create a feature to trick browser fingerprinting ?

- when will you enforce a no third party cookie by default? Especially for website that don't comply with the do not track header. Unfortunatly, our entire industry don't seem to care about the do not track header (funnily google is the rare good student in this area)

I guess there's a lot more "industry standard" I'm not aware.

Re:Firefox can now stop Instagram and Facebook from tracking... by bzbarsky on Tuesday May 15, 2018 @02:46PM (#17076554)
> when js only use 1.

That's not true with web workers. And "How many workers should I spin up?" is a common question people actually using them want to answer...

I'm highly sympathetic to reducing fingerprinting attack area, by the way; we should just be clear that providing sites less information does mean they can't do various performance optimizations, and in some cases can't even provide correct functionality. That tension is at the heart of all the anti-fingerprinting efforts browsers are involved in...

Asking users for permission isn't really a solution either, unfortunately: all the bad actors will just spam permission prompts continuously. I've browsed before in a "prompt for attempts to set cookies" mode, back when Firefox had this feature. It wasn't pretty, even in the mid-2000s.

> when will you enforce a no third party cookie by default?

When it can be done without breaking too many users' day-to-day browsing.

> Especially for website that don't comply with the do not track header

How does one go about determining that? This is an honest question; I'm not aware of any database of sites that classifies them along this dimension.

Dicslosure: I work on Firefox and various people including myself have been pushing for various anti-tracking bits for a while now. Some of them have shipped; others are in the works.

Re:Firefox can now stop Instagram and Facebook from tracking... by tokyodude on Wednesday May 16, 2018 @01:15AM (#17080170)
I'm actually curious how useful fingerprinting is. One the one hand maybe your average enthusiast has a unique fingerprint. On the other every model of iPad/iPhone on the same OS version should have the same fingerprint as every other of the same model/OS.

Also

>> when will you enforce a no third party cookie by default? > > When it can be done without breaking too many users' day-to-day browsing.

Doesn't Safari do this already? Isn't that proof that millions of users (every iPhone, iPad, and greater than 30% of all mac users) are having no real issues using the web with that in place?

Re:Firefox can now stop Instagram and Facebook from tracking... by bzbarsky on Wednesday May 16, 2018 @12:48PM (#17083927)
> On the other every model of iPad/iPhone on the same OS version should have the same fingerprint

Not quite. For example, they might be on different networks, have different zoom levels set, etc.

> Doesn't Safari do this already?

Last I checked, Safari "blocks" (not quite; it's double-keying, not actually blocking) some third-party cookies, but not all. In particular, it doesn't block third-party cookies from sites you have visited in a first-party context. So for example it doesn't block Facebook or Google trackers.

The Firefox "no third party cookies" mode, which actually blocks all third-party cookies, is quite different from the Safari behavior...

Re:Firefox can now stop Instagram and Facebook from tracking... by Whitestrake on Wednesday May 16, 2018 @02:00AM (#17080314)
Are you asking how useful fingerprinting is, or are you asking how effective it is?

For the former, any amount of fingerprinting lets ad companies make the case that their ads are better or worth more money. For the latter, the EFF Panopticlick research project seems to be pretty good at giving you an idea:

https://panopticlick.eff.org/

I don't have an iPad/iPhone etc. to test Safari with; seems like they'd be amongst the most homogeneous of devices. Perhaps someone with one of those devices could tell us if the EFF can uniquely identify their device. It was able to uniquely identify all of my devices.

Re:Firefox can now stop Instagram and Facebook from tracking... by tokyodude on Wednesday May 16, 2018 @01:51PM (#17084664)
The panopticlick site is hyperbole (or in other words poorly implemented). Since no one visits it it will tell you an iPhoneX in Los Angeles is 1 in a million. Their site doesn't take IP into account it's only the taking what it can get from the phone. Timezone for example and then all the normal fingerprints. And yet every iPhoneX is exactly the same. Calculate the penetration of iPhoneX and it should be more like 1 in 100 or 1 in 33 or even one in 20 not 1 in a million. It expires data which make sense but any site wanting to actually track you would need to be on popular sites. As such it would need a unique fingerprint. It won't get one for an iPhoneX which I'm just using as an example. you can choose any popular device.
Re:Firefox can now stop Instagram and Facebook from tracking... by _jomo on Wednesday May 16, 2018 @07:35AM (#17081560)
> When it can be done without breaking too many users' day-to-day browsing.

I've had 3rd party cookies disabled for years. I can count the number of times this has caused trouble on one hand.

Re:Firefox can now stop Instagram and Facebook from tracking... by bzbarsky on Wednesday May 16, 2018 @12:45PM (#17083896)
I have too, and I can too. Though one of those was a bank that turned out to be a showstopper; I have to flip the pref, then flip it back every time I interact with them. Not some thing I can ask "normal" users to do.

It also turns out that this varies a _lot_ based on browsing patterns. For example, I never use the "log in with Facebook/Google/etc" things. People who do report a lot more problems from blanket third-party cookie blocking.

Re:Firefox can now stop Instagram and Facebook from tracking... by jamesmcm on Wednesday May 16, 2018 @09:04AM (#17082024)
I find it's best to use uBlock Origin Matrix though, as it gives you more control when things do break.
Re:Firefox can now stop Instagram and Facebook from tracking... by mickael-kerjean on Wednesday May 16, 2018 @04:49AM (#17080909)
I reread my initial message and I'm sorry if the tone felt a bit rude, It's not an attack against Firefox but against all those "industry best practises" that are so unfair to everyone. Firefox is pretty much the only hope when it comes to enforce better practises across our entire industry that are more privacy friendly. Be sure, I have a lot of respect for what you are doing. I'm just a random dude that feel very sad everytime I try to dig what all those website are actually made of, pushing for behaviors that are against everything I stands for:

- even the W3C get trap (https://pbs.twimg.com/media/DWtqPzFUQAExO2h.jpg) probably without their knowledge but still that's the W3C ...

- twitter tracking youporn's user considering their track record when it comes to database leak. The damage that can be done here from a political perspective would be absolutly terrible.

- ..... many other examples as you probably know a lot more

> That's not true with web workers. And "How many workers should I spin up?" is a common question people actually using them want to answer...

It would be common when it comes to create real world complex apps which isn't what most of the web is about (I know 1 person isn't very representative). Those questions are legit but feel to me as an edge case, not the general rule considering the market share of wordpress and co. I would love to have a popup when it comes to reveal information that should be considered as edge case. If a newspaper need access to this information, there's small chance it benefits my experience but more the complex network of advertising and even sometimes some real time bidding system that have performance imperative for which web workers are a great fit

> Asking users for permission isn't really a solution either, unfortunately: all the bad actors will just spam permission prompts continuously.

As I see, It doesn't mean the solution itself is wrong but rather a correct compromise hasn't been fount yet. There's a world between a website creating a cookie for legit purposes and a dependencies of this website that rely on another one that rely on another one.

> How does one go about determining that? This is an honest question; I'm not aware of any database of sites that classifies them along this dimension.

Considering some actors like Cloudflare that track a big part of internet, a database approach is broken by design. As I see it, the only approach that can work is behavior based: if a third party website is forcing a cookie despite having a do not track header, it's shady and thus shouldn't be acceptable (eg: twitter, facebook and a lot more as the "industry standard" is to ignore the DNT). What about you'd do like Chrome did by forcing HTTPS enverywhere, by bringing a message "this site has unfair trackers" instead of "this site isn't secure"

> reducing fingerprinting attack area, by the way; we should just be clear that providing sites less information does mean they can't do various performance optimizations,

Not all the time, I can think of a few things that shouldn't have such an impact if implemented well:

- I've read a bit around fingerprinting using canvas and webgl. Why not adding some sort of randomness that are pretty much invisible to the eyes of a human but put those type of algorithm innefective?

- don't make the navigator object global across all pages and make a few tinny changes everytime. For example Firefox provides the buildID as part of the navigator object. Mine is on this machine: "20180327223059". Will it really break the world if some existing website receives "20180327223434" while another receive "20180327224387"? If somebody is making such optimisation as to know the exact time the build was created, it sounds shady and creepy at best.

I understand some optimisations aren't possible without braking a lot of website for which your users will mostly wonder why they can't navigate it properly but why not creating a different mode, let's say a safe mode that expressly say some website might appear weird but that's only because you're taking active measure to block any sort of trackers? As of today, the private navigation isn't really effective at protecting against fingerprinting

Re:Firefox can now stop Instagram and Facebook from tracking... by the8472 on Tuesday May 15, 2018 @12:52PM (#17075366)

    privacy.firstparty.isolate = true
    privacy.resistFingerprinting = true
Throw in content blockers if you don't want the 3rd-party requests to happen at all instead of just compartmentalizing the tracking.

> when will you create a feature to dynamically update the user agent ?

Extensions can do that. Not everything needs to be in the core browser, does it?

Re:Firefox can now stop Instagram and Facebook from tracking... by threecheese on Thursday May 17, 2018 @06:29AM (#17090141)
`privacy.resistFingerprinting = true` breaks just about every site that relies on timezone (gmail etc); I am patiently hoping for a whitelist. Unless you actually reside in UTC...
Re:Firefox can now stop Instagram and Facebook from tracking... by mickael-kerjean on Tuesday May 15, 2018 @01:08PM (#17075530)
Wasn't aware about those options, thanks!

I think those features should be build by browser vendor. Why? Because pretty much all the existing extensions claiming to "protect privacy" are doing a poor job at it. They all rely on an internal database of "bad guys" as if it's technically possible to even build such a database.

For example, Cloudflare already control a large amount of website through their CDN. They are sending cookies regardless of the do not track headers. I haven't seen 1 of those extensions blocking website using Cloudflare. The do not track header is also a funny joke that even the W3C doesn't respect (https://pbs.twimg.com/media/DWtqPzFUQAExO2h.jpg)

Re:Firefox can now stop Instagram and Facebook from tracking... by the8472 on Tuesday May 15, 2018 @01:10PM (#17075553)
> They all rely on an internal database of "bad guys"

Not all do. uMatrix comes with a whitelist-based approach, so all 3rd party requests (modulo images and CSS if you so choose) are blocked and need to be whitelisted to unbreak sites.

Re:Firefox can now stop Instagram and Facebook from tracking... by mickael-kerjean on Tuesday May 15, 2018 @01:25PM (#17075714)
I had quite a bit of those popular "privacy extensions" in the test bench: DuckDuckGo Privacy Essentials, Ghostery, Privacy Badger, Stealth mode and none of them were blocking things as I'd have expected.

Thank you for proposing uMatrix it just pass the cookie test none of the above succeed, I might have found my new internet condom.

Re:Firefox can now stop Instagram and Facebook from tracking... by x0x on Tuesday May 15, 2018 @10:08PM (#17079479)
You can also try "Inox Browser"[1] based on Chromium but with security/privacy patches. With extensions like "uBlock0 (Origin)"[2], "uMatrix"[3].

[1] https://github.com/gcarq/inox-patchset [2] https://github.com/gorhill/uBlock [3] https://github.com/gorhill/uMatrix

Optionally, unrelated to security you can try "Dark Reader" extension, which makes all sites darker ^_^ Especially useful with darker themes.

Re:Firefox can now stop Instagram and Facebook from tracking... by reitanqild on Tuesday May 15, 2018 @03:16PM (#17076872)
> - when will you enforce a no third party cookie by default?

In another comment you say:

> on Chromium and Chrome there's a nice feature to block third party cookies. For obvious reason, it's not enabled by default but it's there and doesn't affect the performances.

Why is this a problem when we are talking about Firefox but it's "obvious reason" with Chrome?

Or am I misreading you?

Re:Firefox can now stop Instagram and Facebook from tracking... by mickael-kerjean on Wednesday May 16, 2018 @06:00AM (#17081178)
Third party cookies is probably the most usefull technical foundation for creating trackers making mass surveillance a reality that's supposed to benefit the advertising industry. As opposed to Chrome, This industry isn't Mozilla business
Re:Firefox can now stop Instagram and Facebook from tracking... by Sylos on Tuesday May 15, 2018 @12:52PM (#17075375)
Probably when they have large enough marketshare that they can afford to piss off webpage owners without those being able to stop supporting them.
Re:Firefox can now stop Instagram and Facebook from tracking... by John_KZ on Wednesday May 16, 2018 @09:56AM (#17082363)
If they stopped trying to be like Chrome maybe the old users would return. Abruptly ending NPAPI support rubbed a lot of people the wrong way.
Re:Firefox can now stop Instagram and Facebook from tracking... by staticassertion on Tuesday May 15, 2018 @12:49PM (#17075344)
Have you filed bugs for these? Are you aware of open bugs?
Re:Firefox can now stop Instagram and Facebook from tracking... by mickael-kerjean on Tuesday May 15, 2018 @01:36PM (#17075840)
No, no. When I did my research, I simply investigate on those "privacy extensions" but wasn't happy with any of those once you put them in the bench. I ended up in my garage for a week end making my own extension that was never publish as it makes my laptop running high in temperature everytime I end up on a streaming platform
Re:Firefox can now stop Instagram and Facebook from tracking... by Scottn1 on Wednesday May 16, 2018 @02:55AM (#17080481)
Check out the newly released Privacy Possum. It is a "fork" of Privacy Badger and the author was also part of the Privacy Badger development. He makes a good case of why his form is different here: https://github.com/cowlicks/privacypossum . I've been testing it out for few days now and it is doing something, though can't vouch for how much.

I've also had good effect with Canvas Blocker. Decentraleyes is another good concept privacy add-on to look into as well.