A device fingerprint or machine fingerprint or browser fingerprint is information collected about a remote computing device for the purpose of identification. Fingerprints can fully or partially identify individual users or devices even when cookies are turned off.
Basic web browser configuration information has long been collected by web analytics services in an effort to accurately measure real human web traffic and discount various forms of click fraud. With the assistance of client-side scripting languages, collection of much more esoteric parameters is possible. Assimilation of such information into a single string comprises a device fingerprint.
Motivation for the device fingerprint concept stems from the forensic value of human fingerprints. In the "ideal" case, all web client machines would have a different fingerprint value (diversity), and that value would never change (stability). Under those assumptions, it would be possible to uniquely distinguish between all machines on a network, without the explicit consent of the users themselves.
In practice neither diversity nor stability is fully attainable, and improving one has a tendency to adversely impact the other.
- Diversity requires that no two machines have the same fingerprint. However, large numbers of machines are likely to have exactly the same configuration data and thus the same fingerprint. This is particularly true in the case of factory installed operating systems. One remedy is to use a scripting language to harvest a large numbers of parameters from the client machine; however, this is likely to reduce stability, as there are more parameters that may change over time.
- Stability requires that fingerprints remain the same over time. However, by definition browser configuration preferences are not tamper proof. For example, if one measured attribute is whether the browser has cookies on or off, then a simple change of that setting is sufficient to change the fingerprint. One remedy is to reduce the number of parameters collected to only those that are very unlikely to change; however, this is likely to reduce diversity, as fewer parameters are being measured.
Active vs passive collection
Fingerprinting methods range from passive to active.
Passive fingerprinting occurs without obvious querying of the client machine. These methods rely upon precise classification of such factors as the client's TCP/IP configuration, OS fingerprint, IEEE 802.11 (wireless) settings, and hardware clock skew.
Active fingerprinting assumes the client will tolerate some degree of invasive querying. The most active method is installation of executable code directly on the client machine. Such code may have access to attributes not typically available by other means, such as the MAC address, or other unique serial numbers assigned to the machine hardware. Such data is useful for fingerprinting by programs that employ Digital Rights Management. A drawback is that installed software is an easy target for tampering.
OSI model fingerprints
Passive collection of device attributes below the web-browser layer may occur at several OSI model layers. In normal operation, various network protocols transmit or broadcast packets or headers from which one may infer client configuration parameters. Sorted by layer, some examples of such protocols are:
- OSI Layer 7: FTP, HTTP, Telnet, TLS/SSL, DHCP
- OSI Layer 5: SNMP, NetBIOS
- OSI Layer 4: TCP
- OSI Layer 3: IPv4, IPv6, ICMP, IEEE 802.11
- OSI Layer 2: SMB, CDP
A separate issue is that a single device may have multiple web clients installed, or even multiple virtual operating systems. As each distinct client and OS has distinct internal parameters, one may change the device fingerprint by simply running a different browser on the same machine.
Consumers and their advocacy groups may consider covert tracking of users to be a violation of user privacy. Computer security experts may consider the ease of bulk parameter extraction to be a browser security hole.
- "BrowserSpy". gemal.dk. Retrieved 2010-01-28.
- "IE "default behaviors [sic]" browser information disclosure tests: clientCaps". Mypage.direct.ca. Retrieved 2010-01-28.
- "User confidence takes a Net loss". Techworld.com. 1970-01-01. Retrieved 2010-01-28.
- "Wireless Device Driver Fingerprinting" (PDF). Retrieved 2010-01-28.
- "Remote Physical Device Detection". Cs.washington.edu. Retrieved 2010-01-28.
- "Chatter on the Wire: A look at DHCP traffic" (PDF). Retrieved 2010-01-28.
- TCP/IP stack fingerprinting
- "Chatter on the Wire: A look at excessive network traffic and what it can mean to network security." (PDF). Retrieved 2010-01-28.
- "EFF's Top 12 Ways to Protect Your Online Privacy | Electronic Frontier Foundation". Eff.org. 2002-04-10. Retrieved 2010-01-28.
- "MSIE clientCaps "isComponentInstalled" and "getComponentVersion" registry information leakage". Archive.cert.uni-stuttgart.de. Retrieved 2010-01-28.
- Panopticlick, by the Electronic Frontier Foundation, gathers some elements of your browser's device fingerprint and estimates how identifiable it makes you
- Julia Angwin, Jennifer Valentino-DeVries: Race Is On to 'Fingerprint' Phones, PCs The Wall Street Journal, 29 November 2010
- Device Fingerprint, browser fingerprinting site
- How Unique Are You?, student device fingerprinting project, including change detection features