| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 | Filename: 116-two-hop-paths-from-guards.txtTitle: Two hop paths from entry guardsVersion: $Revision$Last-Modified: $Date$Author: Michael LiebermanCreated: 26-Jun-2007Status: OpenThis proposal is related to (but different from) Mike Perry's proposal 115"Two Hop Paths."Overview:Volunteers who run entry guards should have the option of using only 2additional tor nodes when constructing their own tor circuits.While the option of two hop paths should perhaps be extended to every client(as discussed in Mike Perry's thread), I believe the anonymity properties oftwo hop paths are particularly well-suited to client computers that are alsoserving as entry guards.First I will describe the details of the strategy, as well as possibleavenues of attack. Then I will list advantages and disadvantages. Then, Iwill discuss some possibly safer variations of the strategy, and finallysome implementation issues.Details:Suppose Alice is an entry guard, and wants to construct a two hop circuit.Alice chooses a middle node at random (not using the entry guard strategy),and gains anonymity by having her traffic look just like traffic fromsomeone else using her as an entry guard.Can Alice's middle node figure out that she is initiator of the traffic? Ican think of four possible approaches for distinguishing traffic from Alicewith traffic through Alice:1) Notice that communication from Alice comes too fast: Experimentation isneeded to determine if traffic from Alice can be distinguished from trafficfrom a computer with a decent link to Alice.2) Monitor Alice's network traffic to discover the lack of incoming packetsat the appropriate times. If an adversary has this ability, then Alicealready has problems in the current system, because the adversary can run astandard timing attack on Alice's traffic.3) Notice that traffic from Alice is unique in some way such that if Alicewas just one of 3 entry guards for this traffic, then the traffic should becoming from two other entry guards as well. An example of "unique traffic"could be always sending 117 packets every 3 minutes to an exit node thatexits to port 4661. However, if such patterns existed with sufficientprecision, then it seems to me that Tor already has a problem. (This "uniquetraffic" may not be a problem if clients often end up choosing a singleentry guard because their other two are down. Does anyone know if this isthe case?)4) First, control the middle node *and* some other part of the traffic,using standard attacks on a two hop circuit without entry nodes (my recentpaper on Browser-Based Attacks would work well for thishttp://petworkshop.org/2007/papers/PET2007_preproc_Browser_based.pdf). Withcontrol of the circuit, we can now cause "unique traffic" as in 3).Alternatively, if we know something about Alice independently, and we cansee what websites are being visited, we might be able to guess that she isthe kind of person that would visit those websites.Anonymity Advantages:-Alice never has the problem of choosing a malicious entry guard. In somesense, Alice acts as her own entry guard.Anonymity Disadvantages:-If Alice's traffic is identified as originating from herself (see above forhow hard that might be), then she has the anonymity of a 2 hop circuitwithout entry guards.Additional advantages:-A discussion of the latency advantages of two hop circuits is going on inMike Perry's thread already.-Also, we can advertise this change as "Run an entry guard and decrease yourown Tor latency." This incentive has the potential to add nodes to thenetwork, improving the network as a whole.Safer variations:To solve the "unique traffic" problem, Alice could use two hop paths only1/3 of the time, and choose 2 other entry guards for the other 2/3 of thetime. All the advantages are now 1/3 as useful (possibly more, if the other2 entry guards are not always up).To solve the problem that Alice's responses are too fast, Alice could delayher responses (ideally based on some real data of response time when Aliceis used an entry guard). This loses most of the speed advantages of the twohop path, but if Alice is a fast entry guard, it doesn't lose everything. Italso still has the (arguable) anonymity advantage that Alice doesn't have toworry about having a malicious entry guard.Implementation details:For Alice to remain anonymous using this strategy, she has to actually beacting as an entry guard for other nodes. This means the two hop option canonly be available to whatever high-performance threshold is currently set onentry guards. Alice may need to somehow check her own current status as anentry guard before choosing this two hop strategy.Another thing to consider: suppose Alice is also an exit node. If thefraction of exit nodes in existence is too small, she may rarely or never bechosen as an entry guard. It would be sad if we offered an incentive to runan entry guard that didn't extend to exit nodes. I suppose clients of Exitnodes could pull the same trick, and bypass using Tor altogether (zero hoppaths), though that has additional issues.*Mike LiebermanMIT*Why we shouldn't recommend Exit nodes pull the same trick:1) Exit nodes would suffer heavily from the problem of "unique traffic"mentioned above.2) It would give governments an incentive to confiscate exit nodes to see ifthey are pulling this trick.
 |