Live data from Hacker News

Cloudflare ReCAPTCHA De-Anonymizes Tor Users

cryptome.org

71–80 of 122 posts

Re: Cloudflare ReCAPTCHA De-Anonymizes Tor Users

#71
post #63

Why is this phrased as if it's Cloudflare's fault? If it's this easy for a side effect of a recapcha image to de-anonymize a Tor user, then this seems like a failing of the Tor protocol that they should fix. Maybe they need to introduce more jitter, repackage requests into a single stream with consistent (or randomized) packet size, or pad the packets with random data.

Introducing jitter would mean increasing latency and generally slowing down your browsing.

as a tradeoff for security? Ok..

I mean, using a VPN is slower than not, but tons of people use them

Re: Cloudflare ReCAPTCHA De-Anonymizes Tor Users

#72
post #10
post #3

I didn't realize just how fragile TOR is. . . While I understand that remaining anonymous requires adjusting your browser habits somewhat extensively, the fact that a ReCAPTCHA is enough to (theoretically) de-anonymize a user seems to me that it's not able to anonymize at all when browsing. While TOR may be useful for evading firewalls, my general perception of the project has changed from general anonymity tool to a…

> I didn't realize just how fragile TOR is. . . It's JavaScript that causes it (you could choose to disable it [0]). The FAQ [1] warns of it: But there's a third issue: websites can easily determine whether you have allowed JavaScript for them, and if you disable JavaScript by default but then allow a few websites to run scripts (the way most people use NoScript), then your choice of whitelisted websites acts as a so…

[deleted]

Re: Cloudflare ReCAPTCHA De-Anonymizes Tor Users

#73
post #68

Huh, I always thought that Tor breaks up traffic in a random, but deterministic (not data dependent) way - sometimes joining data from two packets into one network packet, sometimes splitting packets and holding data for a while [x]. That's how I explained the jitter to myself. Sometimes a connection would be really fast, and sometimes it would hang on a single packet for hundreds of ms. Seems I was mistaken. In this…

This is called a mix network and only one server currently does that in Tor's network.

Could you please expand on this? I tried to find more info of a Tor relay running mixing, but couldn't find anything. I would like to turn it on for my servers if possible.

Re: Cloudflare ReCAPTCHA De-Anonymizes Tor Users

#74

A lot of comments here talk about recaptcha having a distinctive traffic signature, but I don't understand this. Why does recaptcha have a distinct signature and if it does couldn't an attacker just make a distinct signature without recaptcha? And why does recaptcha have a traffic signature that can distinguish between users? I mean how does a simple request response create a distinct traffic?

One issue here is that recaptcha's traffic signature allows for a passive attacker. So instead of needing to modify the website a user visits, or trick them into going to a domain you control, you are able to just look at the traffic logs and identify them without them knowing.

I'm not too sure about what defines the "distinctive" signature of recaptcha, but I expect timing of when packets of certain sizes were sent (e.g. loading 9 images in quick succession will generate larger packets, and then you often get the incremental couple images with human-length delays between them).

Re: Cloudflare ReCAPTCHA De-Anonymizes Tor Users

#75

Earlier quoted context omitted.

Wouldn't running your own entry node be enough protection still (assuming you could guarantee it wouldn't be compromised)? As far as I'm aware, control of entry & exit is required for these sorts of attacks. Running the entry node with a consistent entry point and using it as a random walk crawler with a real browser would seem to be enough for personal use as long as you aren't a criminal worth active, serious inves…

These attacks require observation of entry and exit.

Exactly. Taps further enables that. Malware even more. Just a metadata, recording system could fo plenty and not take much bandwidth to leak.

Re: Cloudflare ReCAPTCHA De-Anonymizes Tor Users

#76

Earlier quoted context omitted.

Encryption doesn't obscure the size or frequency of requests.

It does obscure the size, maybe not the frequency. Best have JS disabled when you come across this.

As I get it, it's irrelevant to JS. "Select all X" image-based captcha can be done without it. For example, a set of checkboxes with CSS background-image for its :checked (or :hover/:active/whatever) states would also do the trick (unless you patch/configure your browser to not optimize/delay the load of resources until they're actually required)

Re: Cloudflare ReCAPTCHA De-Anonymizes Tor Users

#77

Earlier quoted context omitted.

It does obscure the size, maybe not the frequency. Best have JS disabled when you come across this.

> It does obscure the size Encryption does not inherently obscure the size of plaintext. Protocols may choose to pad plaintext for various reasons, and both Tor (since Tor always sends fixed-width cells) and TLS (when it uses a block cipher mode) do so. However, the amount of padding is typically small and can hardly be said to "obscure" the size of a request - it is not a defense against traffic analysis.

> since Tor always sends fixed-width cells

you send 1px of data or 500px tor always send fixed width cells. There is no question of padding here.

Re: Cloudflare ReCAPTCHA De-Anonymizes Tor Users

#78
post #63

Earlier quoted context omitted.

Introducing jitter would mean increasing latency and generally slowing down your browsing.

as a tradeoff for security? Ok.. I mean, using a VPN is slower than not, but tons of people use them

The effect will be exaggerated since tor traffic goes through three nodes and random jitter would need to be added for each. In general, beating traffic analysis in a low latency network is a hard problem. You could have perfect anonymity if you could add arbitrary delays but that would make the network unusably slow.

Re: Cloudflare ReCAPTCHA De-Anonymizes Tor Users

#79
post #78

Earlier quoted context omitted.

as a tradeoff for security? Ok.. I mean, using a VPN is slower than not, but tons of people use them

The effect will be exaggerated since tor traffic goes through three nodes and random jitter would need to be added for each. In general, beating traffic analysis in a low latency network is a hard problem. You could have perfect anonymity if you could add arbitrary delays but that would make the network unusably slow.

So make it a configurable option that you can turn on and off when you need it.

Having to wait a few seconds for a web page to load seems like a small price to pay to avoid government agents banging on your door because you're looking at "subversive content".

Re: Cloudflare ReCAPTCHA De-Anonymizes Tor Users

#80

Earlier quoted context omitted.

I remember someone at a security conference talking about a kid at a University who sent a bomb threat via Tor. The University simply looked their their logs to see who was connecting to known Tor nodes, narrowed it down by time and found the kid. Source: http://www.theregister.co.uk/2013/12/18/harvard_bomb_hoax_ch...

That situation becomes quite relevant when debating "VPN then Tor" or "Tor then VPN," which I've seen people come down on both ways. Ultimately it depends on who the threat is. Example: https://thetinhat.com/tutorials/darknets/tor-vpn-using-both....

What about VPN -> Tor -> VPN?
Post reply on HN