{{Header}} {{Title|title= Network, Browser and Website Fingerprint }} {{#seo: |description=About {{project_name_long}} Network, Bridge/Guard, Internet Service Provider (ISP) Fingerprint and Website Traffic Fingerprinting. |image=Eye-319668-640.jpg }} {{fingerprint_mininav}} [[File:Eye-319668-640.jpg|thumb]] {{intro| About {{project_name_short}} Network, Bridge/Guard, Internet Service Provider (ISP) Fingerprint and Website Traffic Fingerprinting. }} = Introduction = In this chapter, the term ''fingerprint'' refers to the specific way {{project_name_short}} behaves on the Internet. Those specificities could be used to determine whether a particular user is running {{project_name_short}} or not. As explained on the [[Warning]] page, the default {{project_name_short}} configuration does not hide Tor use from network observers. However, the {{project_name_short}} design attempts to make {{project_name_short}} users indistinguishable from the rest of the Tor population, particularly Tor Browser (TB) users. If {{project_name_short}} and TBB TBB stands for [https://www.torproject.org/download/ Tor Browser Bundle]. It is included in {{project_name_short}}, see [[Tor Browser]]. users have distinct fingerprints, then this information significantly degrades anonymity because the {{project_name_short}} user base is far smaller than the broader Tor population. Certainly less than 50,000 users, although [https://phabricator.whonix.org/T689 an exact figure] is yet to be published. This section briefly addresses possible {{project_name_short}} fingerprinting issues and how adversaries might use this information to verify {{project_name_short}} is in use. {{Anchor|web fingerprint}} {{Anchor|web_fingerprint}} = Fingerprinting Information = {{mbox | type = notice | image = [[File:Ambox_notice.png|40px|alt=Info]] | text = '''Tip:''' A unique fingerprint makes the user [[Tips_on_Remaining_Anonymous#Study:_Anonymity_and_Pseudonymity_are_not_the_same|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 == As noted in the [[Tor_Entry_Guards#Guard_Fingerprinting|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, co-founder of The Tor Project suggests additional precautions when moving networks: [https://lists.torproject.org/pipermail/tor-dev/2013-September/005424.html tor-dev: entry guards and linkability] * [[MAC_Address|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. 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. * Minimize the threat of stored Tor state files which record every network visited. "Absolutely prevent non-Tor connections." is useful anyhow for other reasons as well, see also [[Tips_on_Remaining_Anonymous#Only_Connect_to_a_Server_Either_Anonymously_Or_Non-anonymously|Do Not Connect to a Server Anonymously and Non-anonymously at the Same Time]]. Qubes feature request: [https://github.com/QubesOS/qubes-issues/issues/7586 document how to route all traffic over Tor / how to disable Qubes default clearnet traffic] {{Anchor|ISP fingerprint}} == ISP or Local Network Administrators == '''Table:''' ''Fingerprinting Domains'' {| class="wikitable" |- ! scope="col"| '''Domain''' ! scope="col"| '''Description''' |- ! scope="row"| Network Stack Hardening | {{project_name_short}} has implemented various [https://github.com/Kicksecure/security-misc security hardening] 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. |- ! scope="row"| Random ISN Generation | {{project_name_short}} prevents [https://dl.acm.org/doi/10.1145/1180405.1180410 de-anonymization of Tor onion services] through [https://github.com/Kicksecure/tirdad Tirdad kernel module for random ISN generation]. De-anonymization resistance unfortunately reduces ISP or Local Network fingerprinting resistance. Despite this, resistance against de-anonymization has been prioritized. |- ! scope="row"| Tor Enforcement | {{project_name_short}} solely generates Tor activity on the network. All traffic from both the {{project_name_workstation_long}} (
{{project_name_workstation_template}}
) and {{project_name_gateway_long}} ({{project_name_gateway_template}}
) such as TBB , updates, and sdwdate pass through Tor. Establishing an online connection is the task of the host, so the host In case of Default/Download version, it is the host's task to establish an online connection. In the case of [[Dev/Build_Documentation/Physical_Isolation|Physical Isolation]], it is the gateway's task to establish an online connection. is most likely using DHCP to obtain a local IP address. Stream Isolation
[[Stream Isolation]] security feature.
|-
! scope="row"| Time Synchronization
| When {{project_name_short}} is started, the system clock is synchronized to make sure it slightly differs from the host clock via [[sdwdate]]
. [https://www.kicksecure.com/wiki/Systemcheck systemcheck]
also issues some network traffic to check for updates and news, which all passes through different circuits. This behavior might be specific to {{project_name_short}}. 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.
|-
! scope="row"| [[Fingerprint#Website Traffic Fingerprinting|Website Traffic Fingerprinting]]
| Website traffic fingerprinting is also an open Tor research question, which is unspecific to {{project_name_short}}. See [https://2019.www.torproject.org/projects/torbrowser/design/ Tor Browser Design] for further exploration of this issue. A related and unresearched issue is whether fingerprinting risks also apply to other traffic, such as apt
traffic.
|-
! scope="row"| [[Whonix-Host]]
| Once Whonix-Host is available it will exclusively generate Tor traffic in the default configuration.
[https://forums.whonix.org/t/should-whonix-host-be-fully-torified-by-default/7404 Should {{project_name_short}} host be fully torified by default?]
This is very different from other operating systems, for example a Microsoft Windows host running Tor Browser.
|-
|}
In conclusion, the ability of the ISP or local network administrator to distinctly identify users who utilize Tor Browser Bundle, {{project_name_short}}, 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 {{project_name_short}} will have a different network fingerprint than a Microsoft Windows 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 Microsoft Windows. Without running this setup, it is infeasible the Microsoft Windows network fingerprint could be sufficiently emulated in order to fool an ISP or local network observer. Putting aside the many [[Windows Hosts|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_from_your_Internet_Service_Provider|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 == Destination websites can retrieve [[Data_Collection_Techniques|a lot of information]] about a user's browser and system, while [[Tor_Browser/Advanced_Users#Adversary_Attack_Capabilities|advanced adversaries]] have even greater capabilities. 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. This information can include:
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 forum discussion 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 [https://blog.torproject.org/new-low-cost-traffic-analysis-attacks-mitigations Tor Project blog post] 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. https://blog.torproject.org/critique-website-traffic-fingerprinting-attacks 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.
= {{project_name_short}} Fingerprint Comparison =
* [[Comparison with Others#Fingerprint|Fingerprint: {{project_name_short}} vs other anonymity systems or tools]]
= Further Reading =
* [[Protocol-Leak-Protection and Fingerprinting-Protection|Protocol Leak Protection and Fingerprinting Protection]]
= See Also =
* [[VM Fingerprinting]]
* [[Hide_Tor_from_your_Internet_Service_Provider|Hide Tor use from the Internet Service Provider]]
= References =
{{reflist|close=1}}
= License =
{{License_Amnesia|{{FULLPAGENAME}}}}
{{Footer}}
[[Category:Documentation]] [[Category:Design]]