stop canvas fingerprinting
-
basementhell
stop canvas fingerprinting
A new kind of tracking tool, canvas fingerprinting, is being used to follow visitors to thousands of top websites...
"Use NoScript browser extension to block JavaScript from known fingerprinters such as AddThis (Warning: requires a lot of research and decision-making)"
http://www.propublica.org/article/meet- ... e-to-block
Anybody have a good solution for this?
"the Tor Project added a feature to its privacy-protecting Web browser to notify users when a website attempts to use the canvas feature and sends a blank canvas image. But other Web browsers did not add notifications for canvas fingerprinting."
Can NoScript add a feature for this, as Tor Project did?
"Use NoScript browser extension to block JavaScript from known fingerprinters such as AddThis (Warning: requires a lot of research and decision-making)"
http://www.propublica.org/article/meet- ... e-to-block
Anybody have a good solution for this?
"the Tor Project added a feature to its privacy-protecting Web browser to notify users when a website attempts to use the canvas feature and sends a blank canvas image. But other Web browsers did not add notifications for canvas fingerprinting."
Can NoScript add a feature for this, as Tor Project did?
Last edited by therube on Tue Jul 22, 2014 10:50 am, edited 1 time in total.
Reason: fix URL
Reason: fix URL
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0
Re: stop canvas fingerprinting
see also viewtopic.php?f=19&t=19907
Your link got broken by the forum. Could you please re-post it wrapped in tags? like this:
Note that you can already write NoScript surrogate scripts that effectively zap any JS object property you want, so you should be able to make the site think your browser doesn't properly support canvas - but since I don't know what JS is being used in this case, I can't actually provide such a surrogate, sorry.
Your link got broken by the forum. Could you please re-post it wrapped in tags? like this:
Code: Select all
[url]your link here[/url]*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30a1
Re: stop canvas fingerprinting
(Fixed &) also noted here, viewtopic.php?f=19&t=19907.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1
-
basementhell
Re: stop canvas fingerprinting
therube wrote:(Fixed &)
@ therube: Thanks for fixing the link I had posted.
@ barbaz: It would be nice if NoScript were to address this Canvas Fingerprinting issue through surrogate scripts or some other method, for all NoScript users. If a few people were to write our own rules to zap things, perhaps we would be fingerprinting ourselves with the resulting potentially unique behavior of our browsers. If NoScript itself included the rules needed to defeat Canvas Fingerprinting, there would be a large crowd of browsers with Canvas Fingerprinting defeating behavior, thereby helping to protect privacy rights.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0
Re: stop canvas fingerprinting
You've got to figure it relies on JavaScript.
And also that by default none of the domains being used (linked in the other thread) would be Allowed, so in that respect, done.
And also that by default none of the domains being used (linked in the other thread) would be Allowed, so in that respect, done.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:29.0) Gecko/20100101 SeaMonkey/2.26.1
Re: stop canvas fingerprinting
You think we should add a new "Canvas" checkbox in the Noscript options on the Embeddings page to block this element entirely (for websites where someone would want to have js enabled that is)?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0
Re: stop canvas fingerprinting
@Lurion: Remember that NoScript is a security tool, not a privacy tool. Any privacy benefits NoScript gives/can give are side-effects.
Ideally, to mitigate this there would be an extension or surrogate script that, when a website wants to send a canvas image, prompts the user (showing the URL(s)) whether to send a blank canvas image like TOR Browser does or send the actual rendered image.
Ideally, to mitigate this there would be an extension or surrogate script that, when a website wants to send a canvas image, prompts the user (showing the URL(s)) whether to send a blank canvas image like TOR Browser does or send the actual rendered image.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux i686; rv:34.0) Gecko/20100101 Firefox/34.0 SeaMonkey/2.30a1
- Giorgio Maone
- Site Admin
- Posts: 9530
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: stop canvas fingerprinting
And yet, once the user allows JavaScript on a tracking site, there are so many way you can be fingerprinted (e.g. by profiling your execution performance, your browser quirks and so on) that it's a lost battle. So I'm not sure this is something I should put much effort into.barbaz wrote:@Lurion: Remember that NoScript is a security tool, not a privacy tool. Any privacy benefits NoScript gives/can give are side-effects.
Ideally, to mitigate this there would be an extension or surrogate script that, when a website wants to send a canvas image, prompts the user (showing the URL(s)) whether to send a blank canvas image like TOR Browser does or send the actual rendered image.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Re: stop canvas fingerprinting
Do you perhaps know of a FF addon that blocks or at least tries to detect profiling? For example by watching which functions a script is calling (i.e. document.createElement("canvas") ), and what properties are being accessed (i.e. navigator.userAgent)?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0
- Giorgio Maone
- Site Admin
- Posts: 9530
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: stop canvas fingerprinting
NoScript has the ability to do that (and it does, e.g. for WebGL usages), but as has already been stated in this thread, security requirements are different than privacy ones, and can even be in conflict (see below).Lurion wrote:Do you perhaps know of a FF addon that blocks or at least tries to detect profiling? For example by watching which functions a script is calling (i.e. document.createElement("canvas") ), and what properties are being accessed (i.e. navigator.userAgent)?
If you really need anonymity (even at expenses of some security and a lot of convenience) your only (yet not perfect) choice, currently, is the Tor Browser (which, BTW, ships with NoScript in a customized -- less secure but more anonymous -- default configuration), or even better the Tails Live System (which includes Tor).
As an example of the conflict between security and privacy, Tor Browser's default NoScript settings use the new "cascade permissions" mode, which is inherently less safe: if you whitelist the top level domain everything imported by the page and its subframe gets automatically allowed, even if not whitelisted, as long as its ancestor document is whitelisted.
The rationale behind this choice is not just usability, but the fact that a fingerprinting script could check if a list of popular websites are or not in your whitelist (by trying to import a script from them and testing for failure) and use this information to identify your browser. This is of course mitigated if your permanent whitelist is quite generic and you generally use "Temporary Allow...", but neatly demonstrates how an undisputable security advantage (keeping 3rd party scripts disabled by default) can have negative impacts on anonymity/privacy.
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0