100 points · by cklaus · 13y ago · 49 comments
From the original paper by the Tor developers:
"A global passive adversary is the most commonly assumed threat when analyzing theoretical anonymity designs. But like all practical low-latency systems, Tor does not protect against such a strong adversary." --- Tor: The Second-Generation Onion Router http://www.dtic.mil/dtic/tr/fulltext/u2/a465464.pdf
The NSA's (authorized) budget is $10.8 billion[1]. For $5 you can get a server with 20GB SSD and 1TB of transfer per month. It doesn't seem like it'd take very much money to be able to ensure that at least, say, 1% of Tor users' traffic passes through your entry and exit nodes, de-anonymizing them. So over a long enough time scale, that would de-anonymize quite a lot of interesting traffic, and interesting users.
One solution is VPN over Tor. But the NSA claims they've cracked 30 VPN providers, and are focused on cracking the rest as soon as possible. That's a lot of compromised VPN providers.
You could set up your own server and use that as a VPN, but if you pay with Bitcoin, then it's trivial to analyze the blockchain to tie your identity to the server, unless you use a tumbling service like bitcoinfog. But even if you manage to get a server set up anonymously, then what? You still would want to use VPN over Tor, since that's your best bet for privacy. But as soon as you get de-anonymized on Tor, that correlates your home IP address with your anonymous server, thus de-anonymizing your server too.
I can't think of any options to be truly safe from a global passive adversary that doesn't also cost >1MM to set up initially. Any ideas?
[1] http://www.washingtonpost.com/wp-srv/special/national/black-...
Which could be run by the NSA...
It's turtles all of the way down.
Is that really a common assumption? I would expect that most people assume otherwise. Surely anybody informed knows that at least many, if not most, exit nodes are "hostile".
What is the cryptome document for prosectors that you refer to?
All people are doing is applying the same logic and standards governments and spy agencies do. Is there any evidence that the WHOLE of the US and rest of the planet's public are traitors and terrorists? No. But they could be, right? Best not take a chance, right? "We" can do it, it is possible, so "they might be doing it. And so on.
So, the NSA can or could compromise tor nodes, we know it is possible, so why take the risk? Especially if you are, say, Snowden or a freedom advocate.
1. VPNs using PPTP
2. VPNs using OpenVPN
1) should not be used anymore, it is more vulnerable by design (intercept the initial handshake and you're set; the NSA slides referred to a feature "Show VPN startups", which is probably what they meant by that).
So my guess is that when the say "we've cracked VPNs", it's probably PPTP VPNs, but then again, nobody knows for sure.
Couldn't we design a system that doesn't fall in this scenario, by using a constant-rate packet-blasting network that emits "background radiation" even if nothing is happening, and then filters out the good stuff via chaffing/winnowing [1]? This would clog the tubes like a torrent and run you a similar tab, but wouldn't it be 100% anonymous even in the face of such an adversary, while still being low-latency?
So it is suggested to update to a newer version that uses EC, but we are not sure if EC is not breakable? Others ([1], [2]) suggest that RSA is more secure than EC!?
I wish that the security experts could give "clear" advise.
EDIT: Added proper links to sources suggesting RSA over EC.
[1] Bruce Schneider in http://www.theguardian.com/world/2013/sep/05/nsa-how-to-rema...
"Prefer symmetric cryptography over public-key cryptography. Prefer conventional discrete-log-based systems over elliptic-curve systems; the latter have constants that the NSA influences when they can."
[2] Fefe (it's in German) http://blog.fefe.de/?ts=acd52294
Yes, I know about "nothing up my sleeve" numbers... However the ones used for ECC are not of this type.
What a sad state of affairs.
Yes they are. The P-XXXr curves which are used by most of the ECC using web (and Tor, when it uses ECC) were generated by using a deterministic strongly pseudo-random procedure which you can repeat for yourself. See page 187 of FIPS 186-3.
I went to review the deterministic procedure because I wanted to see if I could reproduce the SECP256k1 curve we use in Bitcoin. They don't give a procedure for the Koblitz curves, but they have far less design freedom than the non-koblitz so I thought perhaps I'd stumble into it with the "most obvious" procedure.
The deterministic procedure basically computes SHA1 on some seed and uses it to assign the parameters then checks the curve order, etc.. wash rinse repeat.
Then I looked at the random seed values for the P-xxxr curves. For example, P-256r's seed is c49d360886e704936a6678e1139d26b7819f7e90.
_No_ justification is given for that value. The stated purpose of the "veritably random" procedure "ensures that the parameters cannot be predetermined. The parameters are therefore extremely unlikely to be susceptible to future special-purpose attacks, and no trapdoors can have been placed in the parameters during their generation".
Considering the stated purpose I would have expected the seed to be some small value like ... "6F" and for all smaller values to fail the test. Anything else would have suggested that they tested a large number of values, and thus the parameters could embody any undisclosed mathematical characteristic whos rareness is only bounded by how many times they could run sha1 and test.
I now personally consider this to be smoking evidence that the parameters are cooked. Maybe they were only cooked in ways that make them stronger? Maybe????
SECG also makes a somewhat curious remark:
"The elliptic curve domain parameters over (primes) supplied at each security level typically consist of examples of two different types of parameters — one type being parameters associated with a Koblitz curve and the other type being parameters chosen verifiably at random — although only verifiably random parameters are supplied at export strength and at extremely high strength."
The fact that only "verifiably random" are given for export strength would seem to make more sense if you cynically read "verifiably random" as "backdoored to all heck". (though it could be more innocently explained that the performance improvements of Koblitz wasn't so important there, and/or they considered those curves weak enough to not bother with the extra effort required to produce the Koblitz curves).
Of course that doesn't stop operators from simply downloading the latest package themselves from the Tor project or compiling from source.
Wait, what?
I honestly don't know the answer as I don't deal with Linux repo's much
% wajig policy tor
tor:
Installed: 0.2.3.25-1
Candidate: 0.2.3.25-1
Version table:
*** 0.2.3.25-1 0
500 http://ua.archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages
100 /var/lib/dpkg/status
0.2.3.25-1~quantal+1 0
500 http://deb.torproject.org/torproject.org/ raring/main amd64 Packages