Device fingerprinting is a technique that identifies a specific physical device from hardware and software traits, such as GPU rendering behavior, installed fonts and audio stack quirks, that persist across different browsers and cleared cookies. A 2017 NDSS study used OS and hardware features, such as those from graphics cards and the CPU, to track users across different browsers on the same machine.
How Device Fingerprinting Works
A site gathers many small details about a device and combines them into one identifier.
- Passive collection reads what arrives with every web request, such as HTTP headers and the IP address.
- Active collection runs code, usually JavaScript, on the device to query things like window size, fonts or connected devices.
- Other signals named by the UK ICO include clock information, TCP stack variation, installed browser plugins and API use.
Device vs. Browser Fingerprinting
Browser fingerprinting is one form of device fingerprinting. A browser fingerprint tracks a user inside one browser. Cross-browser methods drop browser-specific values and keep OS and hardware signals, which stay the same in every browser on the machine. In the NDSS 2017 dataset, 99.24% of single-browser fingerprints were unique, compared with 83.24% for the cross-browser fingerprint.
Security and Fraud Uses
W3C notes fingerprinting can serve as a security measure, for example to help authenticate a user. The ICO gives the example of a service that fingerprints devices to detect fraudulent account creation and misuse of login credentials.
Countermeasures and Their Limits
- Blending in: Some browsers make every install look the same. Tor Browser, Firefox and Safari limit font lists this way.
- Randomizing: Firefox adds noise to canvas data read by sites, hides non-standard fonts and reports CPU cores as 4 or 8.
- Blocking: Firefox blocks scripts on a list of known fingerprinters, which does not cover companies missing from the list.
These defenses can break site features or slow pages. In the NDSS 2017 tests, Tor Browser still exposed screen ratio and some audio data.