Canvas fingerprinting
Canvas fingerprinting is one of a number of browser fingerprinting techniques for tracking online users that allow websites to identify and track visitors using the HTML5 canvas element instead of browser cookies or other similar means.[1] The technique received wide media coverage in 2014[2][3][4][5] after researchers from Princeton University and KU Leuven University described it in their paper The Web never forgets.[6]
Description
Canvas fingerprinting works by exploiting the HTML5 canvas element. As described by Acar et al. in:[6]
When a user visits a page, the fingerprinting script first draws text with the font and size of its choice and adds background colors (1). Next, the script calls Canvas API’s ToDataURL method to get the canvas pixel data in dataURL format (2), which is basically a Base64 encoded representation of the binary pixel data. Finally, the script takes the hash of the text-encoded pixel data (3), which serves as the fingerprint ...
Variations in which the graphics processing unit (GPU), or the graphics driver, is installed may cause the fingerprint variation. The fingerprint can be stored and shared with advertising partners to identify users when they visit affiliated websites. A profile can be created from the user's browsing activity, allowing advertisers to target advertise to the user's inferred demographics and preferences.[4][7]
By January 2022, the concept was extended to fingerprinting performance characteristics of the graphics hardware, called DrawnApart by the researchers.[8]
Uniqueness
Since the fingerprint is primarily based on the browser, operating system, and installed graphics hardware, it does not uniquely identify users. In a small-scale study with 294 participants from Amazon's Mechanical Turk, an experimental entropy of 5.7 bits was observed. The authors of the study suggest more entropy could likely be observed in the wild and with more patterns used in the fingerprint. While not sufficient to identify individual users by itself, this fingerprint could be combined with other entropy sources to provide a unique identifier. It is claimed that because the technique is effectively fingerprinting the GPU, the entropy is "orthogonal" to the entropy of previous browser fingerprint techniques such as screen resolution and browser JavaScript capabilities.[9]
Much more unique identification becomes possible with DrawnApart, published in 2022, which was shown to boost tracking duration of individual fingerprints by 67% when used to enhance other methods.[8]
History
In May 2012, Keaton Mowery and Hovav Shacham, researchers at University of California, San Diego, wrote a paper Pixel Perfect: Fingerprinting Canvas in HTML5 describing how the HTML5 canvas could be used to create digital fingerprints of web users.[4][9]
Social bookmarking technology company AddThis began experimenting with canvas fingerprinting early in 2014 as a potential replacement for cookies. 5% of the top 100,000 websites used canvas fingerprinting while it was deployed.[10] According to AddThis CEO Richard Harris, the company has only used data collected from these tests to conduct internal research. Users will be able to install an opt-out cookie on any computer to prevent being tracked by AddThis with canvas fingerprinting.[4]
A software developer writing in Forbes stated that device fingerprinting has been utilized for the purpose of preventing unauthorized access to systems long before it was used for tracking users without their consent.[3]
As of 2014 the technique is widespread in many websites, used by at least a dozen high-profile web ads and user tracking suppliers.[11]
In 2022, the capabilities of canvas fingerprinting were much deepened by taking minute differences between nominally identical units of the same GPU model into account. Those differences are rooted in the manufacturing process, making units more deterministic over time than between identical copies.[8]
Mitigation
Tor Project reference documentation states, "After plugins and plugin-provided information, we believe that the HTML5 Canvas is the single largest fingerprinting threat browsers face today."[12] Tor Browser notifies the user of canvas read attempts and provides the option to return blank image data to prevent fingerprinting.[6] However, Tor Browser is currently unable to distinguish between legitimate uses of the canvas element and fingerprinting efforts, so its warning cannot be taken as proof of a website's intent to identify and track its visitors. Browser add-ons like Privacy Badger,[10] DoNotTrackMe,[13] or Adblock Plus[14] manually enhanced with EasyPrivacy list are able to block third-party ad network trackers and can be configured to block canvas fingerprinting, provided that the tracker is served by a third party server (as opposed to being implemented by the visited website itself).[citation needed] Canvas Defender, a browser add-on, spoofs Canvas fingerprints.[15]
The LibreWolf browser project includes technology to block access to the HTML5 canvas by default, only allowing it in specific instances green-lit by the user.
See also
- Evercookie – a type of browser cookie that is intentionally difficult to delete
- Local shared object – a persistent browser cookie also known as a Flash cookie
- Web storage – web application software methods and protocols used for storing data in a web browser
References
- ↑ Obaidat, Muath (2020). "Canvas Deceiver - A New Defense Mechanism Against Canvas Fingerprinting". Journal of Systemics, Cybernetics and Informatics 18 (6): 66–74.
- ↑ Knibbs, Kate (July 21, 2014). "What You Need to Know About the Sneakiest New Online Tracking Tool". Gizmodo. https://gizmodo.com/what-you-need-to-know-about-the-sneakiest-new-online-tr-1608455771. Retrieved July 21, 2014.
- ↑ 3.0 3.1 Joseph Steinberg (July 23, 2014). "You Are Being Tracked Online By A Sneaky New Technology -- Here's What You Need To Know". Forbes. https://www.forbes.com/sites/josephsteinberg/2014/07/23/you-are-being-tracked-online-by-a-sneaky-new-technology-heres-what-you-need-to-know/. Retrieved November 15, 2014.
- ↑ 4.0 4.1 4.2 4.3 Angwin, Julia (July 21, 2014). "Meet the Online Tracking Device That is Virtually Impossible to Block". ProPublica. https://www.propublica.org/article/meet-the-online-tracking-device-that-is-virtually-impossible-to-block. Retrieved July 21, 2014.
- ↑ Kirk, Jeremy (July 21, 2014). "Stealthy Web tracking tools pose increasing privacy risks to users". PC World. http://www.pcworld.com/article/2456640/stealthy-web-tracking-tools-pose-increasing-privacy-risks-to-users.html. Retrieved July 21, 2014.
- ↑ 6.0 6.1 6.2
- Acar, Gunes; Eubank, Christian. "The Web never forgets: Persistent tracking mechanisms in the wild". https://securehomes.esat.kuleuven.be/~gacar/persistent/the_web_never_forgets.pdf. Retrieved July 24, 2014.
- "Persistent tracking mechanisms in the wild". July 24, 2014. https://securehomes.esat.kuleuven.be/~gacar/persistent/index.html. Retrieved July 24, 2014.
- "Sites with canvas fingerprinting scripts on their homepages as of May 1-5, 2014". https://securehomes.esat.kuleuven.be/~gacar/sticky/index.html.
- ↑ Nikiforakis, Nick; Acar, Günes (2014-07-25). "Browser Fingerprinting and the Online-Tracking Arms Race". IEEE. https://spectrum.ieee.org/computing/software/browser-fingerprinting-and-the-onlinetracking-arms-race. Retrieved October 31, 2014.
- ↑ 8.0 8.1 8.2 Laor, Tomer; Mehanna, Naif; Durey, Antonin; Dyadyuk, Vitaly; Laperdrix, Pierre; Maurice, Clémentine; Oren, Yossi; Rouvoy, Romain et al. (2022). "DRAWNAPART: A Device Identification Technique based on Remote GPU Fingerprinting". Proceedings 2022 Network and Distributed System Security Symposium. doi:10.14722/ndss.2022.24093. ISBN 978-1-891562-74-7.
- ↑ 9.0 9.1 Mowery, Keaton; Shacham, Hovav. "Pixel Perfect: Fingerprinting Canvas in HTML5". https://www.ieee-security.org/TC/W2SP/2012/papers/w2sp12-final4.pdf. Retrieved March 22, 2018.
- ↑ 10.0 10.1 Davis, Wendy (July 21, 2014). "EFF Says Its Anti-Tracking Tool Blocks New Form Of Digital Fingerprinting". MediaPost. http://www.mediapost.com/publications/article/230430/eff-says-its-anti-tracking-tool-blocks-new-form-of.html. Retrieved July 21, 2014.
- ↑ "Websites using HTML5 canvas fingerprinting". WebCookies.org. Archived from the original on 2014-12-28. https://web.archive.org/web/20141228070123/http://webcookies.org/canvas-fingerprinting/. Retrieved 2014-12-28.
- ↑ "The Design and Implementation of the Tor Browser [DRAFT"]. https://www.torproject.org/projects/torbrowser/design/#fingerprinting-linkability.
- ↑ Kirk, Jeremy (July 25, 2014). "'Canvas fingerprinting' online tracking is sneaky but easy to halt". PC World. http://www.pcworld.com/article/2458280/canvas-fingerprinting-tracking-is-sneaky-but-easy-to-halt.html. Retrieved August 9, 2014.
- ↑ Smith, Chris. "Adblock Plus: We can stop canvas fingerprinting, the 'unstoppable' new browser tracking technique". PMC. Archived from the original on July 28, 2014. https://web.archive.org/web/20140728014705/http://bgr.com/2014/07/23/how-to-disable-canvas-fingerprinting/.
- ↑
- Canvas Defender by: multiloginapp.com at chrome web store
- Canvas Defender by: multiloginapp.com at addons.mozilla.org
- Canvas Defender at multiloginapp.com
External links
- https://browserleaks.com/canvas
- Canvas Defender by: multiloginapp.com at chrome web store
- Canvas Defender by: multiloginapp.com at addons.mozilla.org
- Canvas Defender at multiloginapp.com
Original source: https://en.wikipedia.org/wiki/Canvas fingerprinting.
Read more |