Abstract
This paper introduces adF, a novel system for analyzing the vulnerability of different devices, operating systems, and browsers to web fingerprinting. adF performs its measurements from code inserted in ads. We use our system in several ad campaigns that delivered 5.40 million ad impressions. The collected data allow us to assess the vulnerability of current desktop and mobile devices to web fingerprinting. We estimate that 66% of desktop and 40% of mobile devices can be uniquely fingerprinted with our web fingerprinting system. However, web fingerprinting resilience varies significantly across browsers and device types, with Chrome on desktops being the most vulnerable configuration. To counter web fingerprinting, we propose ShieldF, a straightforward solution that blocks browsers from reporting attributes with the most significant discrimination power, as identified through our dataset analysis. Our experiments reveal that ShieldF outperforms all anti-fingerprinting solutions proposed by major browsers (Chrome, Safari and Firefox), providing a resilience boost of up to 62% for some device configurations. ShieldF is accessible as an add-on for any Chromium-based browser. Moreover, it is readily adoptable by browser and mobile app developers. Its widespread use would lead to a marked enhancement in browsers' and mobile apps' defense against web fingerprinting.