It's known that Flash can give away your real IP address to web services if you use it in Tor Browser directly run by your computers OS. But what if you use flash inside a Whonix workstation (either in Tor Browser or in a "normal" browser like Firefox, Chromium, Google Chrome)?

The Whonix VMs are designed in such a way that all internet traffic of the Whonix workstation has to go through Tor. Is it possible to figure out the real IP address of someone if they're using Adobe Flash inside a Whonix workstation? Does using Adobe Flash have any other major implications for privacy such as making fingerprinting much easier?


TL;DR: generally no, it is not possible to figure out your IP assuming the Whonix VM is congigured correctly as you describe, and ALL traffic tunnels through Tor.

Long story, there are several ways for Flash applets to find your real IP. As stated above, none of this applies to Whonix which protects against all of them. Those are listed here for the education purpose, and to explain why other Tor configurations (such as Tor Browser Bundle or Tails) still could be vulnerable to those.

  1. The most obvious way is to request a specific URL from Flash itself, and see the IP in the server logs. If the Flash traffic is routed through Tor, this will return the IP of Tor exit node. Tails protects against this, but Tor Browser Bundle, as far as I know, does not (and this is why Flash is disabled in TBB).

  2. It is possible (in Adobe Air 2.5) to enumerate local interfaces and find out the IP there. In your configuration this would probably be a nondescript IP such as 10.x.x.x which will give out no information. Same as above.

  3. It is possible to use a browser exploit, and then run some code in your VM. This code will not be restricted by Flash policies, and could leak your IP depending on how tight the configuration is.

    For example, Tails enforces routing of traffic through Tor via the firewall rules. If an exploit gains root privileges, it can flush the firewall rules table, effectively disabling this rules enforcement. Then every request (such as wget to whatismyip.com) would return the IP address.

    However if the rules are enforced at the workstation itself (i.e. the VM can only talk to workstation no matter what the VM firewall/NAT configuration is), this will not work. Still, there are other possible ways. For example, if VM only firewalls TCP traffic, but passes ICMP traffic (Tor cannot really tunnel ICMP or UDP, only TCP), it is possible to send the information via ICMP. Also if DNS requests are not filtered by Whonix, it is possible to set up your own DNS server for a domain, perform DNS lookup for domains such as and log the requests on your DNS server. However with proper filtering - which I believe Whoenix is doing - this should not be possible.

| improve this answer | |
  • Wait, what? I think it's highly unlikely that Whonix just lets ICMP, UDP, and/or DNS through without passing it through Tor. Why would that be? Shouldn't it just block those connections if routing them through Tor isn't possible? I don't know anything about ICMP. I heard, caring about resoling DNS isn't necessary as with Tor you can just ask the Tor network to connect to a certain URL rather than resolving the domain, the sub domain, the sub-sub domain, etc., and once you got the IP asking that server for the document you want to have. – UTF-8 Sep 29 '16 at 2:42
  • Neither ICMP nor UDP can be "routed" through Tor network because it doesn't have support for that (only for TCP), so it should be blocked completely. With DNS it is a bit different - if Whonix resolves non-Onion DNS requests by itself, it is possible to find your IP by executing code (via exploits) which attempts to resolve subdomains such as <random>.myserver.com - this request will be handled by the DNS server running at myserver.com, which will record the IP. – George Y. Sep 29 '16 at 2:52
  • Can you explain me a few details regarding this in chat? – UTF-8 Sep 29 '16 at 9:16
  • The DNS works as hierarchy. Simplifying this a lot, if your computer does DNS resolving by itself, then to find out the IP address of update.microsoft.com your computer first queries which DNS server serves the microsoft.com domain. Then it sends the request to this DNS server (which runs by Microsoft). Thus if I run a DNS server at mydomain.org, and your computer tries to resolve abc.mydomain.org (for example if you type it in your browser), my DNS server will receive this request, and can log the IP address of a computer which sent it. – George Y. Sep 30 '16 at 2:04
  • So by querying a non-existent subdomain (for example, your username on a website is qwe123, so I write an exploit which queries qwe123.mydomain.org - for example by embedding an image as <img src=qwe123.mydomain.org/img.jpg>), I can force your browser to resolve this domain and log it on my server. To avoid this, your computer should not resolve the domains yourself, and should use a large public DNS (such as Google – George Y. Sep 30 '16 at 2:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.