challenges.tex 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. \documentclass{llncs}
  2. \usepackage{url}
  3. \usepackage{amsmath}
  4. \usepackage{epsfig}
  5. \newenvironment{tightlist}{\begin{list}{$\bullet$}{
  6. \setlength{\itemsep}{0mm}
  7. \setlength{\parsep}{0mm}
  8. % \setlength{\labelsep}{0mm}
  9. % \setlength{\labelwidth}{0mm}
  10. % \setlength{\topsep}{0mm}
  11. }}{\end{list}}
  12. \begin{document}
  13. \title{Challenges in bringing low-latency stream anonymity to the masses (DRAFT)}
  14. \author{Roger Dingledine and Nick Mathewson}
  15. \institute{The Free Haven Project\\
  16. \email{\{arma,nickm\}@freehaven.net}}
  17. \maketitle
  18. \pagestyle{empty}
  19. \begin{abstract}
  20. foo
  21. \end{abstract}
  22. \section{Introduction}
  23. Anonymous communication on the Internet today
  24. Tor is a low-latency anonymous communication overlay network
  25. \cite{tor-design}. We have been operating a publicly deployed Tor network
  26. since October 2003.
  27. Tor aims to resist observers and insiders by distributing each transaction
  28. over several nodes in the network. This ``distributed trust'' approach
  29. means the Tor network can be safely operated and used by a wide variety
  30. of mutually distrustful users, providing more sustainability and security
  31. than previous attempts at anonymizing networks.
  32. The Tor network has a broad range of users, including ordinary citizens
  33. who want to avoid being profiled for targeted advertisements, corporations
  34. who don't want to reveal information to their competitors, and law
  35. enforcement and government intelligence agencies who need
  36. to do operations on the Internet without being noticed.
  37. Tor has been funded by both the U.S. Navy, for use in securing government
  38. communications, and also the Electronic Frontier Foundation, for use in
  39. maintain civil liberties for ordinary citizens online.
  40. The Tor protocol is one of the leading choices
  41. to be the anonymizing layer in the European Union's PRIME directive to
  42. help maintain privacy in Europe. The University of Dresden in Germany
  43. has integrated an independent implementation of the Tor protocol into
  44. their popular Java Anon Proxy anonymizing client. This wide variety of
  45. interests helps maintain both the stability and the security of the
  46. network.
  47. We deployed this thing called Tor. it's got all these different types of
  48. users. it's been backed by navy and eff, and prime and anonymizer looked at
  49. it. Because we're this cool, you should believe us when we tell you stuff.
  50. In this paper we give the reader an understanding of Tor's context
  51. in the anonymity space and then we go on to describe the
  52. practical challenges that stand in the way of moving from a practical
  53. useful network to a practical useful anonymous network.
  54. % The goal of the paper is to get the PET-audience reader up to speed
  55. % on all the issues we have with Tor, so he can, if he wants,
  56. % * understand the technical and policy and legal issues and why they're
  57. % tricky in practice
  58. % * help us out with answering some of the technical decisions
  59. % (and in writing it, we'll clarify our own opinions about them)
  60. % * help us out with answering some of the anonymity questions
  61. \section{What Is Tor}
  62. \subsection{Distributed trust: safety in numbers}
  63. Tor provides \emph{forward privacy}, so that users can connect to
  64. Internet sites without revealing their logical or physical locations
  65. to those sites or to observers. It also provides \emph{location-hidden
  66. services}, so that critical servers can support authorized users without
  67. giving adversaries an effective vector for physical or online attacks.
  68. Our design provides this protection even when a portion of its own
  69. infrastructure is controlled by an adversary.
  70. To make private connections in Tor, users incrementally build a path or
  71. \emph{circuit} of encrypted connections through servers on the network,
  72. extending it one step at a time so that each server in the circuit only
  73. learns which server extended to it and which server it has been asked
  74. to extend to. The client negotiates a separate set of encryption keys
  75. for each step along the circuit.
  76. Once a circuit has been established, the client software waits for
  77. applications to request TCP connections, and directs these application
  78. streams along the circuit. Many streams can be multiplexed along a single
  79. circuit, so applications don't need to wait for keys to be negotiated
  80. every time they open a connection. Because each server sees no
  81. more than one end of the connection, a local eavesdropper or a compromised
  82. server cannot use traffic analysis to link the connection's source and
  83. destination. The Tor client software rotates circuits periodically
  84. to prevent long-term linkability between different actions by a
  85. single user.
  86. Tor differs from other deployed systems for traffic analysis resistance
  87. in its security and flexibility. Mix networks such as Mixmaster or its
  88. successor Mixminion \cite{minion-design}
  89. gain the highest degrees of anonymity at the expense of introducing highly
  90. variable delays, thus making them unsuitable for applications such as web
  91. browsing that require quick response times. Commercial single-hop proxies
  92. such as {\url{anonymizer.com}} present a single point of failure, where
  93. a single compromise can expose all users' traffic, and a single-point
  94. eavesdropper can perform traffic analysis on the entire network.
  95. Also, their proprietary implementations place any infrastucture that
  96. depends on these single-hop solutions at the mercy of their providers'
  97. financial health. Tor can handle any TCP-based protocol, such as web
  98. browsing, instant messaging and chat, and secure shell login; and it is
  99. the only implemented anonymizing design with an integrated system for
  100. secure location-hidden services.
  101. No organization can achieve this security on its own. If a single
  102. corporation or government agency were to build a private network to
  103. protect its operations, any connections entering or leaving that network
  104. would be obviously linkable to the controlling organization. The members
  105. and operations of that agency would be easier, not harder, to distinguish.
  106. Instead, to protect our networks from traffic analysis, we must
  107. collaboratively blend the traffic from many organizations and private
  108. citizens, so that an eavesdropper can't tell which users are which,
  109. and who is looking for what information. By bringing more users onto
  110. the network, all users become more secure \cite{econymics}.
  111. Naturally, organizations will not want to depend on others for their
  112. security. If most participating providers are reliable, Tor tolerates
  113. some hostile infiltration of the network. For maximum protection,
  114. the Tor design includes an enclave approach that lets data be encrypted
  115. (and authenticated) end-to-end, so high-sensitivity users can be sure it
  116. hasn't been read or modified. This even works for Internet services that
  117. don't have built-in encryption and authentication, such as unencrypted
  118. HTTP or chat, and it requires no modification of those services to do so.
  119. weasel's graph of \# nodes and of bandwidth, ideally from week 0.
  120. Tor has the following goals.
  121. and we made these assumptions when trying to design the thing.
  122. \section{Tor's position in the anonymity field}
  123. There are many other classes of systems: single-hop proxies, open proxies,
  124. jap, mixminion, flash mixes, freenet, i2p, mute/ants/etc, tarzan,
  125. morphmix, freedom. Give brief descriptions and brief characterizations
  126. of how we differ. This is not the breakthrough stuff and we only have
  127. a page or two for it.
  128. \section{Crossroads}
  129. Discuss each item that Tor hasn't solved yet that isn't just coding
  130. work. Perhaps we'll have so many that we can pick out the best ones to
  131. discuss, so it's a bit less of a laundry list. Maybe they'll even fit
  132. into categories. The trick to making the paper good will be to find
  133. the right balance between going into depth and breadth of coverage.
  134. Peer-to-peer / practical issues:
  135. Network discovery, sybil, node admission, scaling. It seems that the code
  136. will ship with something and that's our trust root. We could try to get
  137. people to build a web of trust, but no. Where we go from here depends
  138. on what threats we have in mind. Really decentralized if your threat is
  139. RIAA; less so if threat is to application data or individuals or...
  140. Making use of servers with little bandwidth. How to handle hammering by
  141. certain applications.
  142. Handling servers that are far away from the rest of the network, e.g. on
  143. the continents that aren't North America and Europe. High latency,
  144. often high packet loss.
  145. Running Tor servers behind NATs, behind great-firewalls-of-China, etc.
  146. Restricted routes. How to propagate to everybody the topology? BGP
  147. style doesn't work because we don't want just *one* path. Point to
  148. Geoff's stuff.
  149. Routing-zones. It seems that our threat model comes down to diversity and
  150. dispersal. But hard for Alice to know how to act. Many questions remain.
  151. The China problem. We have lots of users in Iran and similar (we stopped
  152. logging, so it's hard to know now, but many Persian sites on how to use
  153. Tor), and they seem to be doing ok. But the China problem is bigger. Cite
  154. Stefan's paper, and talk about how we need to route through clients,
  155. and we maybe we should start with a time-release IP publishing system +
  156. advogato based reputation system, to bound the number of IPs leaked to the
  157. adversary.
  158. Policy issues:
  159. Bittorrent and dmca. Should we add an IDS to autodetect protocols and
  160. snipe them? Takedowns and efnet abuse and wikipedia complaints and irc
  161. networks. Should we allow revocation of anonymity if a threshold of
  162. servers want to?
  163. Image: substantial non-infringing uses. Image is a security parameter,
  164. since it impacts user base and perceived sustainability.
  165. Sustainability. Previous attempts have been commercial which we think
  166. adds a lot of unnecessary complexity and accountability. Freedom didn't
  167. collect enough money to pay its servers; JAP bandwidth is supported by
  168. continued money, and they periodically ask what they will do when it
  169. dries up.
  170. Logging. Making logs not revealing. A happy coincidence that verbose
  171. logging is our \#2 performance bottleneck. Is there a way to detect
  172. modified servers, or to have them volunteer the information that they're
  173. logging verbosely? Would that actually solve any attacks?
  174. Anonymity issues:
  175. Transporting the stream vs transporting the packets.
  176. The DNS problem in practice.
  177. Applications that leak data. We can say they're not our problem, but
  178. they're somebody's problem.
  179. How to measure performance without letting people selectively deny service
  180. by distinguishing pings. Heck, just how to measure performance at all. In
  181. practice people have funny firewalls that don't match up to their exit
  182. policies and Tor doesn't deal.
  183. Mid-latency. Can we do traffic shape to get any defense against George's
  184. PET2004 paper? Will padding or long-range dummies do anything then? Will
  185. it kill the user base or can we get both approaches to play well together?
  186. Does running a server help you or harm you? George's Oakland attack.
  187. Plausible deniability -- without even running your traffic through Tor! We
  188. have to pick the path length so adversary can't distinguish client from
  189. server (how many hops is good?).
  190. When does fixing your entry or exit node help you?
  191. Helper nodes in the literature don't deal with churn, and
  192. especially active attacks to induce churn.
  193. Survivable services are new in practice, yes? Hidden services seem
  194. less hidden than we'd like, since they stay in one place and get used
  195. a lot. They're the epitome of the need for helper nodes. This means
  196. that using Tor as a building block for Free Haven is going to be really
  197. hard. Also, they're brittle in terms of intersection and observation
  198. attacks. Would be nice to have hot-swap services, but hard to design.
  199. P2P + anonymity issues:
  200. Incentives. Copy the page I wrote for the NSF proposal, and maybe extend
  201. it if we're feeling smart.
  202. Usability: fc03 paper was great, except the lower latency you are the
  203. less useful it seems it is.
  204. A Tor gui, how jap's gui is nice but does not reflect the security
  205. they provide.
  206. Public perception, and thus advertising, is a security parameter.
  207. Network investigation: Is all this bandwidth publishing thing a good idea?
  208. How can we collect stats better? Note weasel's smokeping, at
  209. http://seppia.noreply.org/cgi-bin/smokeping.cgi?target=Tor
  210. which probably gives george and steven enough info to break tor?
  211. Do general DoS attacks have anonymity implications? See e.g. Adam
  212. Back's IH paper, but I think there's more to be pointed out here.
  213. % need to do somewhere in the paper:
  214. have a serious discussion of morphmix's assumptions, since they would
  215. seem to be the direct competition. in fact tor is a flexible architecture
  216. that would encompass morphmix, and they're nearly identical except for
  217. path selection and node discovery. and the trust system morphmix has
  218. seems overkill (and/or insecure) based on the threat model we've picked.
  219. need to discuss how we take the approach of building the thing, and then
  220. assuming that, how much anonymity can we get. we're not here to model or
  221. to simulate or to produce equations and formulae. but those have their
  222. roles too.
  223. %%%
  224. TCP vs UDP
  225. argument 1: we need to do IP-level packet normalization, to block things like ip
  226. fingerprinting.
  227. argument 2: we still need to be easy to integrate with applications, so they can do
  228. application-level scrubbing.
  229. argument 3: we need a block-level encryption approach that can provide security despite
  230. packet loss and out-of-order delivery. i believe you that such a thing can be created,
  231. but no thing has yet been specified. so specify it for me if you want me to believe it.
  232. (freedom and cebolla are vulnerable to tagging and malleability attacks i believe.)
  233. argument 4: we still need to play with parameters for throughput, congestion control,
  234. etc -- since we need sequence numbers and maybe more to do replay detection,
  235. and just to handle duplicate frames. so we would be reimplementing some subset of tcp
  236. anyway.
  237. argument 5: tls over udp is not implemented or even specified.
  238. argument 6: exit policies over arbitrary IP packets seems to be an IDS-hard problem. i
  239. don't want to build an IDS into tor.
  240. argument 7: certain protocols are going to leak information at the IP layer anyway. for
  241. example, if we anonymizer your dns requests, but they still go to comcast's dns servers,
  242. that's bad.
  243. argument 8: hidden services, .exit addresses, etc are broken unless we have some way to
  244. reach into the application-level protocol and decide the hostname it's trying to get.
  245. \bibliographystyle{plain} \bibliography{tor-design}
  246. \end{document}