Hey everybody, I've got one o'clock by my watch, and since I was here last time, my goon has put me on the honor system, so I'm going to start talking. I'm Nick Mathewson, I'm one of the Tor people, and this talk is about social attacks against anonymity networks. So, I told people I was doing this talk, and they said the title was confusing. So, first, what do I mean by social attacks? I mean generally the kind of stuff you would put in the category of social engineering. You know, lying to people in order to trick them into doing something that's a bad idea, so that you violate some sort of security requirement. And, you know, this can be as simple as, hey, so I consider, hey, I'm an FBI agent, to be a social engineering attack. I consider phishing is a great example of social engineering attacks. Those idiots who keep getting my parents to install screensaver Trojans, so that they can look at pretty people. Pictures of hedgehogs, those are on my current hit list. My mom really likes hedgehogs. All right, so that's social attacks. What do I mean by anonymity network? By anonymity network, I mean stuff like, that tries to hide what users are doing on the internet, hide connections between users' activities and other activities of the same user. Like, for instance, you don't want people to know that HackerX9000 is the same person as, um, Fred Jones, ordinary businessman, um, and, and so on. There are different kinds of these. I'll talk about it a little bit in a minute. Not covered here will be how to do these attacks most effectively. I'm kind of hoping you don't do them, because I kind of spending, spend all my time making these networks. Instead, I'll try to talk about how to recognize them and different attack vectors to worry about. I'm going to start out by talking a little bit about anonymity networks. First off, the basics. Then I'll also get into the basics of traffic analysis, because lots of these attacks don't win on their own. They win by making traffic analysis attacks easier. And I'll talk a little bit about why social engineering is really good against anonymity networks. By good, I mean effective, not ethical or desirable. Um, I'm, I'll start then with trivial attacks that don't need any traffic analysis. Then I'll move into ones that exist to help traffic analysis, um, either by getting more input or better input for your statistical attack. And I'll close by saying, I'm going to start by talking about some defenses that have worked or might worked, might work. So, here's the basic idea of an anonymity network. You hide users among users. Anyone who was at my last talk, you saw some of these slides before. Um, I'll, I'll be done with that in a minute. Um, so here you can tell that somebody's talking to these bobs, but you don't know who. And these Alice's are talking to somebody, but you don't know which of the bobs. Um, but when you, what happens when users act differently? Like, Alice 1 is, um, sending a gigabyte every day, and Bob 2 is getting a gigabyte every day, and nobody else is sending more than, you know, a few K every day. When users act differently, you can tell them apart by observing. Also, if you can separate users, they don't hide so well. Previously, all of the Alice's hid among three Alice's. But if you can get Alice to use a network that is split, whether it's actually a different network, or whether it's just a... split, it's a different part of the network from the other Alice's, then you keep them from hiding each other. Now, in practice, we use distributed networks. So the big blob that was networked here is now a whole bunch of little servers, typically operated by volunteers, so that no one single server can compromise users' traffic. Um, examples of these are, uh, remailers like Cyberpunk, Mixed Minion, Mixmaster, um, Onion Routing-style designs like Onion Routing, Tor, um, and others, and so on. Now, how do these differ? These differ largely in the kind of security they provide and the kind of performance they provide. If you want to, now, if, say you're going to build one of these, and you start by saying, I want good performance, because whoever's beeping not, um, so against the low latency ones, so you can say when you're starting to build your network, um, I want to be useful for web browsing and IM and SSH and fast stuff. Well, that kind of means you need to deliver all the traffic pretty quickly, because people don't accept, uh, three-hour delays between clicking on a link and getting the web page, plus an additional three-hour delay between getting the web page and getting the images. So, you've got to be pretty quick. But when you're pretty quick, you don't disturb traffic patterns end-to-end, um, sufficiently to keep anyone who's watching both ends from noticing that the pattern Alice saw looks a lot like the pattern Bob2 got. All of the defenses for this are expensive that anybody knows of. This is the biggest open problem in the anonymity field. If you think you know of a solution, then, um, you should talk to us and maybe we can publish about it. If you just thought of the solution in the last 30 seconds, chances are somebody thought of it before. Examples of low latency systems are Tor, Freedom, Pipenet, I2P, John Doe, which used to be the Java Anon proxy, possibly Freenet, although, um, what Freenet is changes a lot between Freenet versions, so I can't say that with any certainty. Now, high latency networks can give you better security at the expense of worse performance. If you can accept a multi-hour delay on your messages, you can get a whole bunch of messages at every step, batch them up, delay them, um, shuffle them, and really hide the traffic patterns, so that all you really get are how many messages did Alice send in aggregate in a given time frame, and how many did Bob receive aggregate in a given time frame. These still fall to traffic analysis, but they fall more slowly. Um, the typical traffic analysis approach is that the attacker, um, in this case you assume a global attacker, although you don't really need a global attacker because this is a statistical attack, and sampling works. But you assume that the attacker is watching the network, they get a view of, for every given recipient, I'm naming all the recipients Bob, um, for every given recipient, how much do they get on average when Alice has sent a message recently, and how much do they get on average when Alice has not sent a message recently. And then you compare those two vectors, and those Bobs who get more traffic after Alice has sent are probably the ones that Alice likes to talk to. This is the long-term intersection attack, also known as statistical disclosure. It needs lots of traffic to work. So, um, and it's, so we're talking like, days, weeks, months, or years of traffic, as opposed to the minutes or seconds worth of traffic that you need to break low latency networks. But, of course, people don't just always use low latency networks because they're too slow for web browsing, SSH, IM, and other stuff you might want to do. Yes, people have had the idea of mid-latency networks. No, no one has proven that any network fast enough to do web browsing is secure against these attacks. But it's an interesting field. So, what should you do if you're a smart attacker? If possible, you should try to remove the benefits of the network from the user. Otherwise, you should try to speed up your traffic analysis. You can either get more traffic, that's more input into your traffic analysis system, or, in the high latency case, in the low latency case, you want to increase the odds that you get both ends of the circuit, or both ends of the connection, so you can watch them both and do the correlation. You want to make the traffic that you get more useful. Try to make it stand out from all the other traffic. Also, remember that you are hiding users among users. So, if I can knock off half the users from the network, even though they aren't the half I care about, that's great, because the remaining ones, because I now have half as many suspects, and half as much traffic to hide the ones that I'm looking at. So, two caveats for the rest of this talk, because I'm going to talk about ways to do this with social engineering, including specific examples. And because the examples are going to be specific, I want to be really clear, I am not accusing anyone, with a couple exceptions, no, I'm not accusing anyone of actually attempting these attacks, because even if you start spreading an idea that's really harmful to this stuff, well, gosh, everybody has bad ideas. Never attribute to malice what can be explained by being human. Also, many ideas that work for social engineering work because they are plausible. So, you know, saying, hi, I'm from the phone company, I need to look in this closet, classic social engineering, only works because sometimes people from the phone company need to get into that closet. Or sometimes people do need to get into that closet. So, when somebody tells you about the say you're from the phone company to get into the closet attack, they aren't saying anyone who says they're from the phone company should be shot on sight. And similarly, just because some of this stuff is a decent way to do an attack on the network, doesn't mean, or on a user, doesn't mean that everyone who says it is actually trying to do so. So, first, trivial attacks. Why would you actually attack the network or attack a user on the network when you can get them off the network? So, for a lot of stuff, a lot of applications aren't supported by all networks. Like Tor, you can't really make your Flash plug-in be anonymous. Even if you do manage to anonymize all of the traffic from your Flash plug-in, Flash can be made to leak enough system information to probably identify you. Some people will argue with me, I will argue with them. Let's talk about that after this talk is done. So, one way to attack users is to get them to enable stuff that they've been told to disable, or disable stuff they've been told to enable. You know, hey, I've got a video of a kitten. You've got to turn on Flash for that one, but it's a cute kitten. Or, you know, click here for some service you shouldn't be using. Another one that has worked, and we've seen both of those in practice, people saying, oh, come on, don't worry, it's not a big deal, just do it. In both cases. Another one is, you know, hey, this system you're using, it's just not working for me. Just use Yahoo, that's pretty anonymous, you know. They can't trace you. They will trace you. They will out you. And, you know, classics of police investigation. I love your ideas, and I would like to meet you. Or, I support your cause completely. Viva whatever we're doing. Down with whatever we're fighting. I am fully in favor of the things you are advocating. I am also a beautiful 19-year-old with the kind of hair you like best. Please meet me in the coffee shop. Across from the police station. Are you 18? Oh, yeah, totally. Can't you tell? Also, why attack the network when you can replace it? When you can replace it, you know. And, you know, everyone likes to promote their network, so I'm not saying that people who promote their own networks are actually attacking stuff. But, you know, if you're an attacker, and you know of one network that's harder for you to attack than another one, you want to get all the people out there. You want the other one. So, one approach is to come up with your own, and, you know, pimp it really hard. We have seen this with re-mailers a lot. Some people have claimed that this has happened with re-mailers. Again, you can't really prove anything, but there have been cases of, this alternate approach is better, you should use it. And it wasn't, in fact, better. Now, were these people confused, or were they trying to get more traffic for an attack? The nice thing about this kind of attack is, it's really hard to prove that anyone actually is doing this in order to be bad. But, yeah, be careful what you believe. Or also, another fun thing is that secure popular networks gets lots of analysis. This makes sense. If you're a researcher, are you going to attack a network that everyone has heard of, and, you know, get in all the blogs? Or are you going to attack a network that no one has heard of, and people will go, well, you just broke foobar net? And, you know, if you break foobar net, then nobody cares, so you're going to attack a popular one. And then, but the thing is, though, when you read about a popular network getting attacked, and you don't read about an unpopular network getting attacked, that's a great vector for telling everyone, hey, look at all of these research results against popular network. You should use this unpopular one, where there are fewer users, and you're easier to analyze. I mean, you should use this unpopular one that has no published attacks against it. Another one is just spreading the rumor that there's a secret backdoor. This works pretty good. Most people can't or won't read source code. So, and most people are willing to believe what some random guy on IRC told them. I'll talk more about some guy later. But, yeah, when some guy says there's a secret backdoor, some folks will believe it and move wherever you want them to move. Or attack the providers. Show up and say, hey, I really need you to help me out this user. Sometimes you, some people will check that you're an actual law enforcement agent. Some people won't check that you're an actual law enforcement agent. There's actually one guy right now who's been claiming to be a law enforcement agent and asking one of our operators of Tor for information. We're not too worried about this, because A, he refuses to supply actual law enforcement agent credentials, so we're pretty sure he's fake. And B, they're Tor servers by default, and if you configure them right, and if you're not a bad person who deliberately screws up your Tor server to be mean, don't have any information, so it's perfectly fine to turn over all of your logs, because all of your logs are useless for this stuff. Another is, you know, be a slightly evil developer or a slightly evil friend of a developer. Say, hey, I'm doing a research project. Or, hey, I'm looking for a bug. Could you turn on really, really verbose logging and install this network analysis tool? And send me all of the logs from it? And another fine one that we saw in the remailer days was, here is some extra-fast, extra-stable server software that's better than the server software you're using now. You should run it instead. No one really knows for sure who wrote the extra-fast, extra-stable server software. No one can prove that the fact that its random number generator was deeply, deeply compromised was an accident. Because if this was the... Random number generators are hard. People do screw them up. People screw them up by accident. On the other hand, a crappy random number generator is exactly what you should use if you're trying to pass off an insecure server as an accident. So we'll probably never know whether that was a real attack or just a programmer with his heart in the right place. Now, in the long term, if your goal is to not compromise specific users but to get everybody, you want to make the network unmaintained. You want to get everybody off the network. And you want this thing to go away because it's a problem for you. Fortunately, we haven't got this so much in Tor so far. But if you look in the remailer world, the field is pretty much littered with Developer X is a jerk. Developer X is a xenophobe. Developer X is a bigot. Let's all pile on Developer X. Now let's pile on the other developers. Now let's flame each other forever. And this has made not any core remailer developers that I'm aware of quit. But it has made developers of several graphical front-ends for remailers just decide it wasn't worth their while to be in this culture anymore. And this is an example of a successful attack. I'm pretty sure that they weren't flaming these people with good intentions. And because it's all anonymous, you don't know who did it, so yeah. Another is try to disenhearten developers by convincing them that you're using their stuff for evil. This could work, could not work. From time to time, I get some idiot Nazi asking me for tech support. I tell them that although I will defend to the death their right to say what they say, that defense doesn't mean free tech support. Or any tech support. Go screw off. Another one is trying to get providers to leave en masse by intimidating them, posing as one of them, so on and so on. So alright. Say you failed at actually getting the user you want to meet you in the coffee shop across from the police station. And say instead you're going to do traffic analysis. Well, traffic analysis is pretty easy if you are a popular server. In this case, if anyone is using the first red server, the red means compromised here, to talk to... Say Alice2 is using the red server to talk to Bob2, then it sees both ends, and it wins in a low latency network. Well, if you get even more traffic, you compromise even more users. So if you can find a way to be the most popular servers in the whole network, your odds get better and better. So how do you win traffic and compromise people? Ask for it. Hey, my server is better than all of the other servers. Please use it. People say this a fair amount in the remailer world. Again, we don't get this so much in Tor, but we do have people... We do have people claiming special properties for their servers from time to time. I would... This is basically why when somebody comes up with a neat new enhancement to make servers better, we would ask them, send us the code so we can roll it in so everybody can get it and all of the servers can be good, as opposed to trying to get all the traffic yourself, which maybe you're doing to be a good citizen, but it's also the sort of thing a bad citizen would do. Another thing you can do is, I've added extra features to my server. Same kind of thing. From time to time, people publish guides to fast performance, better performance. You should use fast servers. Here is a list of the fast servers. Of course I am not running any of these fast servers. Would I lie? Another is, you know, just get people off specific servers that are in competition to you. Like, say it's compromised. Some people will believe you. You don't need to present any evidence, and some people will still believe you. It is surveilled. No, really. It's in country so-and-so. Everything in country so-and-so is surveilled. Would I lie? It's in a bad country. And, you know, you see these from time to time in flame wars, in anonymity circles. Can't prove it's malicious, but... And, you know, in some cases, maybe some of them are compromised, are surveilled, which makes it kind of hard to know what to actually do if you're a user of one of these things. So... Moving onward... So, let's talk a little bit about network partitioning. It's not completely trivial, but it does help your traffic analysis. So, say you've got one big network, and you're having problems doing traffic analysis against it. Well, if you can get some servers to stop talking to each other, and this works okay for remailers, then... Or you can get some servers to go one way, some servers to go to another, then... You can split one big network into many small networks. Smaller networks means fewer users on each network, means fewer places to look, and means that you've got better likelihood of seeing all of the traffic if you're trying to eavesdrop on or compromise these networks. So, another thing you can do is just partition clients' knowledge. So, the network is all the same, but Alice knows or likes or uses some servers, and Alice 2 knows or likes or uses other servers, and so you can tell that anything that comes from a server that Alice 1 doesn't know about couldn't have come from Alice 1. So here, Alice 1 doesn't know the server on the bottom right, so there's no way that she's talking to Bob 2. And also, in a smaller set of servers, it's easier for you to get a pretty large foothold. You know, it's easier to compromise three servers out of 30. Compromising three servers out of 30 is better than compromising three servers out of 300 in terms of how much traffic you're likely to see. And also, you can do even better than just simply binary knowing which users know which servers. Even if you don't know which users know which servers, but you can say, well, not every user knows every server. It's kind of random. Well, say it's random with different probabilities for each server, and, like, you've got a bad compromised S2 here, and you're kind of obvious about it. You're such a bad server that 80% of users say, I don't want to use that. Well, okay, now 0.2 of all the traffic, 0.2 of users might use you. And say somebody comes to you from S1, which 40% of users know about, and goes to S3, which 80% of users know about. Well, you know, you've now split off. Only about 6% of actual users are going to use this path. And over time, you can backtrack. You can build up profiles of, all right, I saw this chain again. It's one of the same users who used this chain before, and probably not the average population. And you can use that as a stepping stone to get to better traffic analysis results. So what are some good ways to encourage partitioning? Well, through social attacks, just everybody come up with their list of favorite servers and convince everybody to use it. And if you're really lucky, not only will people use your list of extra favorite special servers, or his list of extra favorite special servers, or your sock puppet's list of extra special servers, but they'll mix and match. They'll say, well, I'll take the top five on his list and the top five on his list, and now they're in a set of one. Or start flame wars, you know. If you say don't use any servers in Germany or France, and everyone believes you, then you've cut down the size of the network. But if you say don't use any servers in Germany or France, that's not going to work. Someone else is going to come back and say, no, don't use any in the USA because of the NSA. And someone will say, well, actually, no. Germany's data retention laws and the NSA mean you shouldn't use either one of those, but France actually is fine. And you get a massive flame war on the mailing list or the news group or whatever, and any client who, and the clients who listen to all of you will come up with different answers, and they'll all be on smaller networks, and then your social engineering attack wins. And, you know, we haven't seen flame wars like this. With Germany's data retention stuff, with USA wiretap stuff, with France's old anti-crypto stuff. Gosh, where else? China's a big one, too. And everyone has a point. It's unclear for certain which, whether there are places that are better than others to put servers. It seems like geographical diversity is probably better than no geographical diversity. That is to say, having all of your servers in one country is kind of a bad thing. But, you know, and then we can start the flame war also about geological diversity versus topological diversity. That is probably just as important as not having all of the servers in France, is not having all of the servers' connections to each other go through the same exchange, or not having them all go through the same ISP, and so on. And if you are a backbone ISP, my goodness, you see a lot of the network. More fun, and you see this a lot, especially on networks that have been around for a really long while, like the Mixmaster and Cypherpunk remailer networks. Start operator feuds. A really good way to start an operator feud is to show up and say, Hey, I'm an operator. I intend to be really, really evil. No matter how evil you intend to be, there's somebody who will think you've got a good point, because, you know, bell curve, there's always somebody off on that end. And, you know, they will go, Yeah, actually, I kind of agree with the evil operator. And everyone will say they don't, and people will stop peering with each other, or start peering with each other, and you do this a few times, and the network is pretty, well, messed up. Say, show of hands, who here has actually, I asked about Tor in the last talk, who here has actually used a remailer, ever? Who here has run a remailer, ever? Oh, wow, we've, gosh, this is probably the biggest convention we've had in a while. Yeah. So, yeah, you guys know what I'm talking about, and everyone else, you can ask them later if they're willing to talk to you about it. A lawyer has told me I should not name names in any of this stuff, because not naming names is probably my easiest way to stay out of libel issues. So, yeah. I'm pretty sure that, in fact, some of these deliberately evil operators are, among other things, though, trying to do partitioning attacks against remailer networks. I can talk to you about evidence later. Also, user preferences are a great partitioning opportunity. So, you know, if you've got some servers that have very low latency, some that have popular operators, some that are on Bob's Fast Server List, some that are in the USA, and users mix and match all of these sets, then, well, okay, here we've got one, two, three, four sets, so that's 15 different possible non-empty unions of sets you might do, and if you do unions and intersections, it's even worse. And so just by having different options, you can turn on and off, you can make, or different options users should select from, it can give people the illusion of more control and more security and exactly the perfect security for you. But the problem is that when you're hiding users among other users, the perfect security for just you is an anonymity set that contains just you and no one else, and you're there by yourself. Also, you know, if you can't partition the network, you can try partitioning the traffic. That is, you know, come out and say, hey, next version. Some of you have complained about AES, so in this version you get to choose AES, Blowfish, Two Fish, earlier versions of various ciphers, Triple Des, and so on and so on. Well, you know, that's all well and good for something like PGP, where you don't really, where, you know, if you're the only person using Triple Des, you're just as encrypted as if everyone was using Triple Des. But if you're the only person using Triple Des on an anonymity network where everyone else is using AES, then you're kind of screwed. This was actually a mistake in the earliest designs for the Cypherpunk remailers, but there's been a large contingent in favor of keeping this mistake in later revisions of the Cypherpunk remailers. Cypherpunk remailers and later implementations, and I'll leave it to you to speculate why. So, yeah. On to defenses. And here I'm going to try to talk about generally stuff that has been tried and failed, stuff that's tried and succeeded, and, you know, sort of speculate about what might or might not work. And, you know, later during the Q&A time, I'd like any great ideas you guys have for how to resist some of this stuff. Well, some of this stuff is in the code. It's just a matter of code. So, remailers are really vulnerable to network partitioning attacks because there is no standard popular method for getting a list of servers other than download a list of servers from a trusted source, and there's really nothing that stops anybody from becoming a trusted source. Mixed Minion kind of solves this, but Mixed Minion is not really being actively developed these days because I got a job on Tor, and I can't really build two anonymity networks at once. I'm very sorry. If you want to hack Mixed Minion and send me patches to finish it, please do. But anyone like Python? No one likes Python. Okay, yeah. So just provide a good list of servers and make it so that by default everybody uses the same set of servers. And if anyone, you know, disables particular servers they don't like, they can. But if you start everybody out with the same set by default, ideally a set that is chosen in some sort of non-centralized multi-party fashion so that any one point of failure can't just change the set on people, then you're doing pretty good. And it needs to be self-updating because the list will change over time, and you don't want the situation that most remailer networks are currently in where you pick at random how often you're going to update your list of servers and then, you know, and someone who gets their list on Monday acts differently from someone who gets their list on Friday. And, you know, so far so good with the Tor approach on this. And, you know, we kind of hope it will work out. There is from time to time people encouraging users to split off and go do different random stuff from each other. So, you know, we'll see how this actually works in the end. Hmm. If you're building a network and someone asks for an option or submits a patch for an option, ask, is this option really necessary? There are some bad options out there, mostly in cypherpunk remailers. So I talked earlier about how having an option to choose your cipher is kind of a bad idea. Now, you want replaceable ciphers. If there is a major flaw found in one cipher suite, you want the ability to bump the protocol version from version 3 to version 4, and version 3 is all the bad cipher, and everyone switches over time to version 4, which is using a better cipher. But you don't want to use any random, whichever random combination you think is best. Because really, look, you are the developer here. Your typical, if your typical user knew, it only makes sense to force your typical user to choose which cipher. If you think your typical user would make a better decision than the default, because if only a few users would make a better decision than the default, well, they wouldn't get very good anonymity because there's only a few of them. And if most users are smarter than you about the cipher suite, maybe you should just ask them and do what they say. So another example for cypherpunks for a bad choice was you'd like to hide the length of your message by padding it. So cypherpunks has padding length of any length you like. So I can choose to pad all of my messages to 30k and you can choose to pad all of your messages to 100k. And my message will move through the network being 30k and all of yours will move through the network being 100k. And our messages will look nothing like each other and we'll get very little anonymity out of that. Good options? Well, looking for examples of good options. We've got a whole lot of options in Tor. Some of them are a bad idea to use willy-nilly. Some are kind of obviously, though, what the user wants. Like, for instance, you need to be able to choose the text of your message and who you're communicating with. You know, if you didn't, then you'd be way more anonymous. Everyone sends the same message to the same person. But it wouldn't be a terribly useful piece of software. Similarly, automatic translation software is not good enough so that Alice, who likes to talk in Arabic, and Bob, who likes to talk in Bulgarian, are ever going to come out with messages where you can't tell that the Arabic one might have been Alice but not Bob. Providers need thick skins. And provider culture needs to build thick skins. People will try to tell you stuff to try to get you to stop being a provider. Is it all true? Some of it is basically unverifiable. It's hard to tell. You know, people will from time to time just go on, you know, will spam all of the... nasty stuff that they can imagine anyone doing with your system and tell you it's all happened and, you know, try to get you to decide that it's just not worthwhile giving people privacy, it's just not worthwhile helping people in censored countries communicate. And, you know, the defense here is basically to remember, well, look, you hear about these systems, you hear about your users when something goes wrong. When something goes right, you don't hear about, you know, the user who's got an embarrassing disease and is using your stuff to talk to a specialist. You don't hear about your users who are in some censored country who are using your software to talk to reporters, to look at censored news sites and so on because they're not necessarily going to tell you because they're kind of trying to keep it quiet. And the news sites aren't going to necessarily tell you because they don't even notice. So you are going to get a fairly biased view of activities. And the antidote here is actually, you know, keep in contact with your community. Some people are going to tell you anyway, like, about all your good stuff because they like you a lot. Keep it in perspective. If you have 200,000 users or so, it's hard to count, they're anonymous, like Tor does, and you get, you know, one abuse report every couple weeks, you're doing pretty good. And even though that is, you know, even if some of the abuse reports are pretty sad, you know, you're doing pretty good. Also, people will try to start provider flame wars. So you want to kind of build a culture where people kind of default not to trust but towards more or less agnosticism with respect to one another's good faith and so on and aren't really easily led astray. When you hear about attacks, you know, you want to demand a pretty clear description of them. You, you know, see if this attack is already on the frequently asked questions. Find out what are the requirements for the attacker and what are the results that the attacker can get. Like, pretty, you know, from time to time somebody will come up with an attack that is a really cool attack from a theoretical perspective. Except you need some resource that's harder to get than watching both ends of the connection. And what you get is actually less than linking users. So it's actually a worse attack than existing attacks, even if it's cool. And, you know, also ask, does this attack work against other systems of the kind? You know, this is kind of a pet peeve of mine in that, you know, all of the neat results are published on Tor these days, and I'm really proud of that. But, okay, most of the neat results are published on Tor. The Freenet talk at 11 was really cool, if you guys are still in the room. Are you guys still in the room? Oh yeah, cool, yeah. If anybody saw his Freenet talk, that was really cool. If not, ask him how you break Freenet's, um, routing algorithms. Um, but yeah, pretty often somebody will come up with an attack against Tor and people assume that every other, because they didn't try this attack against every other low latency system, every other low latency system is secure. In a few cases they've been right, like when we screwed up crypto back in 2002, for which I'm eternally embarrassed, but we fixed that, and we had like 60 users at the time, all of whom were like just crypto geeks trying it out to see if it would work. Um, and, you know, but mostly attacks that work against low latency systems work against other low latency systems. So, you know, look into that and make informed decisions as users. Also, paranoia is for noobs. Yeah, you know, we can all be paranoid, we can all trust nobody, but trusting nobody includes trusting, not even trusting the people who tell you not to trust other people. Like, no, I don't trust, um, you know, I don't trust telecom providers in the US not to, um, turn stuff over to the feds. Because, hey, they do, they have. On the other hand, I don't trust the people who tell me that the telecom providers in other nations are particularly better. I don't trust the people who try to do this to get me to like, you know, just only use remailers in France and the UK, or maybe not the UK, or maybe not France, or maybe only Austria. Um, I think I did get a guy telling me to use only Austria, you know. But anyway, yeah, just because, you know, people have a good point about trust no one, that includes them. Follow information to its source. Remember where you heard stuff. So there's, so, some guy is spreading disinformation about Tor. I know this, because whenever somebody comes up to me and says, is it true that such and such and such and such, and so I say, you know, no, that's not actually true at all. Who told you that? He says, oh, some guy told me. So, some guy on IRC, um, don't trust him. I don't know who he is, but, you know, if somebody shows up with, like, handle some guy, somebody's totally going to show up on our channel now with handle some guy and start, you know, um, yeah. But no, seriously, remember where you heard stuff, so that, like, if you find out later that it wasn't true, you don't believe them the next time they tell you. Also, if you hear something from some random person, see whether you can confirm or disconfirm it. Um, yeah. And now I'm going to, wow, I've got some good time for questions, like 10 minutes or so. Um, then I'm going to be in, um, the corresponding Q&A room for Q&A on this talk and on the previous talk. And I'm just going to close with my shameless plugs section, um, which is, check out Tor. Oh, um, one public service announcement. If you are using Tor, upgrade to the latest version. Really. There's a reason. Um, if you are in, if you are using Tor and you did not already know this, this is because you did not subscribe to the announcements mailing list. Subscribe. Um, there's an attack. It's kind of tricky. We aren't going to say too much about it until people have, you know, some time to upgrade because it takes a while for all the people who aren't on the mailing list to actually, um, hear about it from everybody, for the people who don't speak English to hear about it from people who do, and so on. if you can think of a, if you want to help us build a better way to notify users, then, um, we'd really like some help with that. Um, I'd really like to get something into the system so we can, like, narrow vulnerability windows. Um, no, this is not a remote exploit that you can do, use to hurt anything but Tor, but you can sure hurt Tor with this. Um, right. Let's see, what else? Um, yeah, run a server if you like. Um, if you have any questions about how stuff works, we have written down in copious detail how everything works. we, and, you know, if you don't understand how it works, then, after you read the stuff, then, let us know and we'll try to rewrite it so it's even more clear. Um, Tor, as of earlier this year, is now a tax exempt charity in the US, the Tor Project. You can donate to us if you pay US taxes, and write it off on your taxes. Consult your tax advisor, I am not an accountant, CPA, or lawyer. But, yeah, um, if you want to help us out, you can go to EFF because they're great people. I'm going to help them out by going to their dunk tank at 630. If anything I have said offends, annoys, or irritates you, or if anyone has used Tor to say, you are a poopy hedge you on your IRC channel, and, you think this is my fault somehow, then, come dunk me in the dunk tank at 630. Um, there is another cool talk after this by Roger at 2 o'clock, on, um, using Tor to defeat censorship. And, Mike Perry is talking at 5 about neat security stuff. And, yeah. Uh, questions? Anybody? Anything? Well, not ideally anything. Yeah? Uh, can you be louder? Yeah. Um, all versions earlier than 01216 and 0204 alpha are affected. If you have con, if you have the control port open, closing the control port will also solve this. As will not running a browser. But, you are probably running a browser, aren't you? Oh, also everybody should, if you're not running Tor button, Tor button is great software. Um, it works with Firefox. It locks down nearly everything that you might forget to lock down, and gives you nice checklists of everything that you might forget to lock down. So, you can decide whether you want to lock it down in this particular case or not. It's pretty good software made by, made by a large number of people currently maintained by Mike Perry. Um, check it out. See if it works for you. Report bugs. We like fixing bugs. More questions? Concerns? Yeah? Yeah? Ah, so, is, good question. Um, 200,000 users, roughly. Um, so, we check from time to time. Um, we try to estimate how many users. It's kind of hard, because, so, um, so, first off, yes, that is estimated number of distinct IPs that we would observe over, um, connecting to the network. The way you do something like this, is, you have a node, count the distinct IPs that it sees. You don't log them, because that would be wrong. You just count, internally in RAM, and you don't set it to disk. You keep that going for a week or so, so you get a count. You figure out what fraction of the users are, based on the routing algorithm, using this node. You multiply. It's an imperfect estimator, but it's about the best we can do. Another approach is to, um, do a similar thing with a directory, but, um, clients are better than they used to be, about, not, routing, rotating among all of the directories. So enumerating users is getting harder than it used to be. And this, yeah, again, this is IPs. Um, this is undercounting any, when you have many users behind the same IP. This is overcounting users with dynamic IPs. If you have a good, any sense of how to get it better, without compromising people's security, then we'd like to hear it. Roughly a thousand. Roughly a thousand volunteer operated servers. Do you have a better number, Roger? Something around there. Yeah. Yeah. Yeah. No. Uh, we didn't measure that. It turns out that, you know, so, we wouldn't measure at all, if we weren't trying to, like, convince people that, you know, we're a pretty good deal, that we're actually, you know, doing a fairly good job, and that we have some users, that, who are not doing evil stuff. Um, we kind of try to measure as little as possible, because, the more you measure, the less people trust you. Yeah. Oh, no, that's five minutes, that's not a question. The, yeah. Yeah. Oh, yes, good. . Okay, good question. . Okay, I think, so, there were two questions, I, I, I think there. First was, do the organizations that donate to us, demand anything in particular in exchange? The answer is, the organizations that donate to us, tend to have areas of development, that they would prefer that stuff happen in. Some of them care a lot more about anti-censorship, than they care about, uh, in, in oppressive countries, than they care about regular privacy in the rest of the world. Some of them care a lot more about regular privacy in the rest of the world, than they do about anti-censorship. Some of them care a lot, most of all, about solving interesting research problems, and, sort of feel that the fact that we're actually deploy, using this to deploy a network, is, kind of, a neat hobby that we've got. We try to, work things out, so that we're doing things, doing good work, that ought to be done on the Tor network, to make stuff better, and, everybody's, happy donating, uh, money to us, so they want to. Now the other question is, if you've got some money, and you either wanted to donate it to us, to help development, or you wanted to spend it on bandwidth, to, um, get it, to run a server, which should you do? Uh, depends how much. You know, don't, putting up $10,000 worth of servers, would probably be a poor idea, simply because, you'd, wind up getting a whole lot of traffic, on the network, and people were, would assume you were up to something bad. Um, putting up a server is always a great thing. Um, and, I feel like kind, I would feel like kind of a jerk, saying, no, no, give the money to us, to us, to us. Um, some people do ask, uh, what we're, given that we're asking folks, to donate to us, if they want a tax write off, or if they think we're doing good work, or something, it's probably a good idea to say, what we're actually, what we do with, what we would do with more money. We would not raise our income. We would, um, instead, spend it on, more developers, on subcontracting for problems that are, outside of the expertise of the people who are currently working on Tor. So for instance, we suck at Windows. Um, the fact that Windows works on Tor, is due to the fact we've got a pretty decent volunteer community, and, dumb luck, and, yeah, so, you know, um, the, the fact, actually no, the fact that, I started working on Windows in the first place, was due to a, donor, who gave me a one year MSDN subscription once upon a time, and that year was enough to get a couple of anonymity networks that weren't previously working, on Windows, working on Windows. Um, and, I think the anonymous donor is in the room, and I'm willing to credit him if he waves his hand, otherwise I'll assume he wants to be anonymous. Alright, um, yeah, any more questions? Oh, are there other stuff we want to work on? Um, we, we want to work on speed and performance. We, um, now speed and performance is tricky. If you've used Tor recently, you'll know it's slow. Um, two things we want to do to make it better. You would think one of the things is just add more capacity. Adding more capacity typically means we get more users, because, typically what happens when we hit wired or slash dot or something is, a whole bunch of people show up, Tor gets slow for a day because we just got slash dotted, and, people start leaving until Tor is tolerable for everyone who remains. Um, typically when the stuff gets faster, we get more users, and the performance reaches a baseline again. So increasing capacity is important, because the more people who use it, in some sense, the more anonymous you are. But, we also want to increase speed at the same time. We're looking into ways of doing this, including, um, providing incentives for people to add more capacity by saying, you know, if you relay, then, um, you'll be better off in terms of your performance. This is tricky, and there are subtle anonymity issues there, which is why we want to work on speed and performance, so we haven't just done it. But, yeah, we want to make stuff faster, we want to make stuff more secure, we want to work on censorship beating, we want to make stuff easier to use, so you don't need to worry about being misconfigured, and stuff like that. And, I think I have, like, time for one more question? Before I run off to the QA room? Anybody? Uh, yeah, you, um, oh, where's the QA room? Um, it's the one corresponding to this sec, this track, this is track four. I'll be in QA room four, I'm asking my goon to drag me there, and, um, if you follow the large fellow in the red shirt dragging me off, you will get to the QA room I'm going to. It'll be QA room, if this is track four, it'll be QA room four. Uh, you had a question? We are in Google Summer of Code this year, uh, through the EFF. We got four students working on four awesome things. Um, we hope to get, we hope that Google still thinks that we're worthwhile, and the EFF still thinks we're worthwhile next year. And we hope we work on different things next year. Um, if anyone here sent in Summer of Code applications this year that didn't get in, um, we're sorry, it's not because you sucked. It's probably because we were just too short-sighted to realize that your stuff was more important than the stuff we thought we needed. Um, or the phase of the moon, or we were having a bad day, or you didn't send us a code sample like we asked you to. And I think I'm out of time. Am I out of time? Yeah, cutting off. All right. Thank you everyone for coming. Thank you whoever loaned me this laptop. Yeah.