Network, Browser and Website Fingerprint
From Whonix
Introduction[edit]
In this chapter, the term fingerprint refers to the specific way Whonix ™ behaves on the Internet. Those specificities could be used to determine whether a particular user is running Whonix ™ or not.
As explained on the Warning page, the default Whonix ™ configuration does not hide Tor use from network observers. However, the Whonix ™ design attempts to make Whonix ™ users indistinguishable from the rest of the Tor population, particularly Tor Browser Bundle (TBB) [1] users. If Whonix ™ and TBB [1] users have distinct fingerprints, then this information significantly degrades anonymity because the Whonix ™ user base is far smaller than the broader Tor population. [2]
This section briefly addresses possible Whonix ™ fingerprinting issues and how adversaries might use this information to verify Whonix ™ is in use.
Fingerprinting Information[edit]
Tip: A unique fingerprint makes the user pseudonymous rather than anonymous.
Various types of information can be leaked about the user's browser, (host) operating system and hardware depending on the external party in question.
Entry Guards or Bridges[edit]
As noted in the Guard Fingerprinting chapter, using persistent Tor guards or bridges can threaten anonymity under certain circumstances:
While natural guard rotation is recommended, there are some corner cases in which an adversary could fingerprint the entry guards and de-anonymize a user. For instance:
- The same entry guards are used across various physical locations and access points.
- The same entry guards are used after permanently moving to a different physical location.
For example, if an adversary monitoring network activity observes a user connecting from multiple physical locations with persistent guards/bridges, then it can be reasonably assumed that all connections stem from the same person. Mitigating this risk requires techniques like using new Tor entry guards or configuring alternate bridges for different places.
Nick Mathewson from The Tor Project suggests additional precautions when moving networks: [3]
- Spoof the MAC address with randomized values on each move.
- Absolutely prevent non-Tor connections.
- Ensure a unique set of Tor entry guards (bridges) is utilized for each network you connect from. [4]
- Minimize the threat of stored Tor state files which record every network visited.
ISP or Local Network Administrators[edit]
Table: Fingerprinting Domains
Domain | Description |
---|---|
Network Stack Hardening | Whonix ™ has implemented various security hardening [archive] measures like disabling TCP timestamps, ICMP redirections, firewalling invalid packages, and more. Unfortunately these measures can increase the risk of ISP or Local Network fingerprinting. Despite this, security hardening has been prioritized. |
Random ISN Generation | Whonix ™ prevents de-anonymization of Tor onion services [archive] through Tirdad kernel module for random ISN generation [archive]. De-anonymization resistance unfortunately reduces ISP or Local Network fingerprinting resistance. Despite this, resistance against de-anonymization has been prioritized. |
Tor Enforcement |
Whonix ™ solely generates Tor activity on the network. All traffic from both the Whonix-Workstation ™ ( In contrast, usually TBB [1] users have additional network activity outside of Tor, either from another web browser or other applications. This means the proportion or volume of Tor activity might be feasible identifiers to predict whether a user is running Whonix ™ or the TBB [1]. It is probably harder for the ISP to determine whether a single user is solely generating Tor traffic (and potentially using Whonix ™) if:
|
Tor Entry Guards | Whonix ™ uses an unmodified version of Tor, [7] so entry guards are used as the default mechanism to connect to the Tor network. [8] Consequently, a Tor user will maintain the same relay as the first hop for an extended period, [9] which is a security feature.
One addition which is unique to Whonix ™ is its Tor configuration [10] for the |
Time Synchronization | When Whonix ™ is started, the system clock is synchronized to make sure it slightly differs from the host clock via sdwdate . systemcheck also issues some network traffic to check for updates and news, which all passes through different circuits. This behavior might be specific to Whonix ™. [12]
|
Website Traffic Fingerprinting | Website traffic fingerprinting is also an open Tor research question, which is unspecific to Whonix ™. [13] A related and unresearched issue is whether fingerprinting risks also apply to other traffic, such as apt traffic.
|
Whonix-Host | Once Whonix-Host is available it will exclusively generate Tor traffic in the default configuration. [14] This is very different from other operating systems, for example a Windows 10 host running Tor Browser. |
In conclusion, the ability of the ISP or local network administrator to distinctly identify users who utilize Tor Browser Bundle, Whonix ™, Tails, a custom transparent Tor proxy or similar project, depends on how differently a system is configured. Anonymity/security/privacy-focused operating systems will inevitably differ from other Tor users using popular operating systems. For example, somebody using Tails or Whonix ™ will have a different network fingerprint than a Windows 10 user utilizing Tor Browser Bundle since that will be paired with standard clearnet traffic. This is a necessary tradeoff to advance the state of technological privacy relative to the status quo.
Improved fingerprinting resistance in the near term is unlikely. This would require choosing and emulating the most popular host operating system in combination with the most widespread method of accessing Tor, which is probably Tor Browser on Windows 10. Without running this setup, it is infeasible the Windows 10 network fingerprint could be sufficiently emulated in order to fool an ISP or local network observer. Putting aside the many reasons to not use Windows, even after lots of effort it could not be proven effective.
A related topic is the potential to Hide Tor use from the Internet Service Provider. It has been concluded it is possible to circumvent censorship, but hiding Tor is impractical. This is especially true with respect to global passive adversaries who can record and store all relevant traffic.
It is impossible to hide Tor use from the Internet Service Provider (ISP). It has been concluded this goal is difficult beyond practicality.
Visited Websites[edit]
Destination websites can retrieve a lot of information about a user's browser and system, while advanced adversaries have even greater capabilities. [15] This information can include:
- the browser name and version
- CSS media queries:
- window dimensions
- desktop size
- widget size
- display type
- DPI
- a list of available extensions
- timezone [16]
- available fonts
- user agent
- video card in use [17]
- CPU and interpreter speed
- browser history [18]
- via exploited plugins:
- leak the non-Tor IP address
- interface addresses and other machine information
- list all plugins to fingerprint the user
- retrieve unique plugin identifiers
- read / store identifiers related to HTTP auth, DOM storage, cached scripts, client certificates and TLS session IDs
- browser cache
To make it difficult to distinguish Whonix ™ and TBB [1] users, TBB [1] is included on the platform. Therefore, Whonix ™ should provide the same information as TBB [1] in order to generate very similar fingerprints.
Website Traffic Fingerprinting[edit]
"Website fingerprinting" is an attack where the adversary observes a user's encrypted data traffic, and uses traffic timing and quantity to guess what website is being visited. In order to find potential target matches the adversary utilizes a database of web pages -- which are regularly downloaded in order to record their traffic timing and quantity characteristics -- for comparison against encrypted traffic. This attack is carried out by adversaries external to the Tor network who observe traffic between a user and the Tor relay or bridge. [19]
[20] The observer will not know the exact contents of the page (such as user names, passwords, etc.), but they can know with reasonable certainty that a specific website was visited, such as google.com
.
This Tor Project blog post [archive] suggests this attack on clearnet sites visited through Tor is impractical. The reason is the sheer variety of traffic and the vast number of pages visited through Tor results in a very high rate of false positives. [21] However, the attack might be more practical against users visiting Onion services because the classifier leverages real-time ad network bidding and DNS to further narrow down the possible set of pages accessed to the Onion-space and further still, picking out which one. Onion service padding is deployed to mitigate this threat.
This attack should not be confused with end-to-end correlation attacks performed by malicious Entry guards set up by Tor-relay level adversaries.
Whonix ™ Fingerprint Comparison[edit]
Further Reading[edit]
See Also[edit]
References[edit]
- ↑ 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 TBB stands for Tor Browser Bundle [archive]. It is included in Whonix ™, see Tor Browser.
- ↑ Certainly less than 50,000 users, although an exact figure [archive] is yet to be published.
- ↑ tor-dev: entry guards and linkability [archive]
- ↑ Note: this is not a recommendation for non-persistent guards because a hostile DHCP server might provide new IPs until a hostile guard is chosen.
- ↑ In case of Default/Download version, it is the host's task to establish an online connection. In the case of Physical Isolation, it is the gateway's task to establish an online connection.
- ↑ This comes with the attendant risk of the user confusing one browser with another.
- ↑ Whonix ™ uses an unmodified version of Tor
- ↑ https://www.torproject.org/docs/faq#EntryGuards [archive]
- ↑ Typically the entry guards are rotated after a few months.
- ↑ https://github.com/Whonix/anon-gw-anonymizer-config [archive]
- ↑ Stream Isolation
- ↑ It is unknown if an ISP can detect whether a user has many different Tor circuits open. On the other hand, Tor seems to only open X entry guards and maintain them for a period, thus not opening as many entry guards as streams.
- ↑ See Tor Browser Design [archive] for further exploration of this issue.
- ↑ Should Whonix ™ host be fully torified by default? [archive]
- ↑ Information that is leaked depends on the browser in use, JavaScript settings, Tor Browser's security slider settings, whether it is a malicious attack or not, and other factors.
- ↑ Via the date object.
- ↑ Via WebGL.
- ↑ For example, using CSS and JavaScript to perform history disclosure attacks.
- ↑ Quote research paper by University of Waterloo, Website Fingerprinting: Attacks and Defenses [archive]:
Website fingerprinting attacks allow a local, passive eavesdropper to determine a client's web activity by leveraging features from her packet sequence. These attacks break the privacy expected by users of privacy technologies, including low-latency anonymity networks such as proxies, VPNs, or Tor. As a discipline, website fingerprinting is an application of machine learning techniques to the diverse field of privacy. To perform a website fingerprinting attack, the eavesdropping attacker passively records the time, direction, and size of the client's packets. Then, he uses a machine learning algorithm to classify the packet sequence so as to determine the web page it came from.
- ↑ https://forums.whonix.org/t/new-low-cost-traffic-analysis-attacks-and-mitigations/8708 [archive] forum discussion
- ↑ https://blog.torproject.org/critique-website-traffic-fingerprinting-attacks [archive]
License[edit]
Whonix ™ Fingerprint wiki page Copyright (C) Amnesia <amnesia at boum dot org>
Whonix ™ Fingerprint wiki page Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>This program comes with ABSOLUTELY NO WARRANTY; for details see the wiki source code.
This is free software, and you are welcome to redistribute it under certain conditions; see the wiki source code for details.
Whonix ™ is Supported by Evolution Host DDoS Protected VPS. Stay private and get your VPS with Bitcoin or Monero.
100px | |
Fosshost | About Advertisements |
Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix ™ Wiki
Are you proficient with iptables? Want to contribute? Check out possible improvements to iptables. Please come and introduce yourself in the development forum.
Priority Support | Investors | Professional Support
Whonix ™ | © ENCRYPTED SUPPORT LP | Freedom Software / Open Source (Why?)
The personal opinions of moderators or contributors to the Whonix ™ project do not represent the project as a whole.