[00:02.190 --> 00:05.810] Now, Roger here is going to share some wonderful stories. [00:05.810 --> 00:13.750] He has lots of stories, and I've known him for a number of years, and he is, like many of the other folks that are here, way more approachable than you think. [00:13.750 --> 00:18.510] So, he's going to offer at the end to come and hang out, answer questions, come meet all of you. [00:18.510 --> 00:21.070] When he says that, he's genuine. [00:21.170 --> 00:22.490] Take this opportunity. [00:23.190 --> 00:29.430] Thank you for coming so often, and thank you for always being so open, and thank you for being so friendly for everybody. [00:29.730 --> 00:33.690] Let's give Roger a big round of applause for everything that he's done for all of us. [00:37.490 --> 00:38.290] Okay. [00:38.290 --> 00:39.070] Hi, everybody. [00:39.070 --> 00:40.090] Is the microphone working? [00:40.090 --> 00:41.090] Seems like it is. [00:41.090 --> 00:41.830] Awesome. [00:41.830 --> 00:42.150] Okay. [00:42.150 --> 00:48.370] Hi, I'm Roger, and indeed, the lights here are very bright, so I'm going to go like this every time I want to actually see the audience. [00:48.370 --> 00:49.030] Sorry. [00:49.230 --> 01:03.130] So, I wrote Tor long ago, and I have a bunch of different experiences, and I'm going to try to share some of them with you today to give you a sense of how building Tor, how running the Tor network has been over the past decades. [01:03.130 --> 01:04.990] So, I've got 12 different stories. [01:04.990 --> 01:13.210] We're going to start with examples of trying to teach governments and law enforcement how Tor works, some of them successfully, some of them not so successfully. [01:13.210 --> 01:21.670] And then we're going to talk about trying to run the Tor network itself despite organizations and mafia and so on, people out there trying to attack it. [01:21.670 --> 01:31.810] And then we'll talk a little bit about Tor in authoritarian regimes and how it's been useful and not as useful as we'd like for those situations. [01:31.850 --> 01:34.510] And then I'll try to end with some more fun stories. [01:34.550 --> 01:48.190] So, this is the I tell the stories phase, but afterwards, I plan to bring as many of you as I can over to the Tor booth in the nonprofit vendor area, and I will answer all of your questions as long as it takes, whatever questions you've got. [01:48.670 --> 01:48.950] Okay. [01:48.950 --> 01:59.450] So, I should also point out, generally, I do DEF CON talks that are more technical, like, hi, this is how Russia blocked Tor by protocol, and this is how we got around it and check out these graphs. [01:59.550 --> 02:04.230] And part of that is that's the cool technical stuff, and I want to teach people about that. [02:04.230 --> 02:11.730] But also, generally, I try to avoid the journalists who have their quotas and find something overhyped and so on. [02:11.730 --> 02:16.210] So, if you're one of those journalists and you're excited to write about things today, great. [02:16.230 --> 02:20.910] Let's talk and try to figure out how to make it something that we're both comfortable with. [02:22.710 --> 02:23.310] Okay. [02:23.310 --> 02:43.470] So, starting off on the FBI DOJ side of things, long ago back in 2005, I ended up meeting the EFF people, and they introduced me to some Department of Justice lawyers in Los Angeles, and I figured I'm going to go teach some feds about privacy and anonymity and why that's important. [02:43.470 --> 02:53.590] And it was, I guess, the first impression I had, there were like three or four Department of Justice lawyers, and they were smart, interesting people who had, you know, good arguments on their side. [02:53.630 --> 03:01.770] But also, there were like 20 Secret Service people who showed up and lined the back of the room, like they filed in all at once. [03:01.770 --> 03:03.930] They never said anything for the entire meeting. [03:03.930 --> 03:05.830] They never took their sunglasses off. [03:05.830 --> 03:12.310] So, I don't know if this was an intimidation tactic or it's just standard dress code for Secret Service people to be doing this. [03:12.310 --> 03:17.890] But that was the beginning of my let me try to teach feds about Tor experience. [03:17.930 --> 03:34.030] And part of the early realization I had, we were discussing backdoors and why they make no sense, and why people shouldn't ask us for backdoors, and especially in an open source system like Tor, a distributed trust system like Tor, there shouldn't be, [03:34.030 --> 03:36.330] like, it doesn't even make sense to have a backdoor. [03:36.410 --> 03:44.810] And at one point I was explaining, and we've got EFF people who are happy to defend us if this happens, and anyway, nobody has even asked us for one. [03:44.890 --> 03:50.510] And one of the DOJ people jokingly, not jokingly raised his hand and was like, can I have a backdoor? [03:50.610 --> 03:57.370] So now I can't tell people that the feds haven't asked for a backdoor anymore, because even back in 2005 they were asking. [03:57.370 --> 04:04.970] But as far as I know, nobody has done any, like, actually written formal official requests for a backdoor, at least in this country. [04:05.770 --> 04:14.970] Okay, so the other lesson from that particular talk, I had been talking to a bunch of proxy anonymizing companies. [04:14.970 --> 04:17.890] One of them was anonymizer.com before that. [04:17.890 --> 04:21.790] And the leader of that company said, we never answer subpoenas. [04:21.790 --> 04:25.170] If we ever answered a subpoena, nobody would trust us ever again. [04:25.170 --> 04:27.390] So of course we don't answer subpoenas. [04:27.390 --> 04:34.730] And during that DOJ meeting, just out of the blue, one of the DOJ lawyers was like, why can't you be like anonymizer? [04:34.730 --> 04:35.370] It's easy. [04:35.370 --> 04:36.490] We send them a subpoena. [04:36.490 --> 04:37.790] They send us an answer. [04:37.790 --> 04:38.690] It's easy. [04:38.690 --> 04:40.570] Why can't you be like them? [04:40.930 --> 04:43.710] And I say that not to pick on any particular company. [04:43.710 --> 04:45.310] That company is long gone. [04:45.310 --> 04:46.790] But the problem is the architecture. [04:46.790 --> 04:49.370] The problem is they have the data. [04:49.370 --> 04:51.410] They promise not to screw you. [04:51.450 --> 04:59.190] And that's why Tor aims to be different, where there is no single point in the system, in the architecture, that knows who did what. [04:59.190 --> 05:05.650] So it's not about, I hope you don't send us a subpoena or we refuse to answer you. [05:05.650 --> 05:09.850] It's we actually don't have the information that you're asking about. [05:10.310 --> 05:10.690] Okay. [05:10.690 --> 05:27.170] So alongside those, like, Department of Justice stories, one of my side hobbies is trying to get myself invited to FBI conferences so I can argue with them about the importance of privacy and why back doors are not so helpful. [05:27.190 --> 05:38.210] And one of the examples there, I've been at like this two-day workshop with a bunch of Facebook people and Google people and Twitter and a bunch of feds. [05:38.410 --> 05:46.830] And towards the end of the workshop, one of the, like, senior feds came over to me and was like, surely you have a back door. [05:46.870 --> 05:51.710] All these other companies that we're talking to, they all have ways of tracking all their users. [05:51.810 --> 05:55.710] I don't believe you that you don't have a way of tracking your users. [05:55.730 --> 05:59.730] And I tried all sorts of arguments of, you know, we distribute trust is important. [05:59.730 --> 06:00.770] It's a nonprofit. [06:00.770 --> 06:02.030] None of those worked. [06:02.030 --> 06:10.110] But the one that did work was pointing at various FBI people in the audience and saying, those people told me they use Tor for their job. [06:10.110 --> 06:15.350] Do you want me to have the ability to know what your FBI people are doing on the Tor network? [06:15.350 --> 06:26.010] And that was the argument that finally sank in that made them think, well, wait a minute, I guess there is something important to having an actually secure privacy system out there. [06:26.330 --> 06:45.850] And then I guess the other fun piece of that FBI teaching example is I was talking to one of the other FBI people at some, like, later conference and there I was, like, arguing on behalf of internet privacy along with Microsoft people and Facebook people and so on. [06:45.850 --> 06:49.870] And the FBI guy is like, so you Tor have an image problem. [06:49.870 --> 06:53.770] You've got this, like, dark web thing, bad people, journalists keep writing about you. [06:53.770 --> 06:54.970] I have an idea. [06:54.970 --> 07:02.010] Why don't you take just a small number of your engineers, just, like, 500 engineers and have them work on, like, press for six months. [07:02.010 --> 07:03.990] I think you could totally beat this. [07:03.990 --> 07:17.770] And it was at that point I realized that from his perspective he's meeting with, like, Microsoft and Facebook and Google and Tor and surely we're all, like, huge tech companies that have 10,000 employees and, boy, is that not the case for Tor. [07:17.770 --> 07:23.410] So that was a big gulf of expectations that was surprising. [07:24.230 --> 07:24.590] Okay. [07:24.590 --> 07:33.750] And here is my laptop locking so I will try not to use too much time on the future slides. [07:35.930 --> 07:36.850] Nope, nope, nope. [07:36.850 --> 07:37.870] Just for me. [07:39.810 --> 07:40.690] Okay. [07:40.690 --> 07:42.350] Yeah, the slides are just helping me. [07:42.350 --> 07:48.510] I figure the good speakers don't use slides so I'm going to see how that works for me this time. [07:49.210 --> 07:49.530] Okay. [07:49.530 --> 07:50.730] So story two. [07:51.090 --> 07:54.150] Similarly, not in the U.S., this is in Sweden now. [07:54.330 --> 08:04.970] So we have a bunch of privacy civil liberties friends in Sweden and one of them arranged a presentation for a pair of, like, Swedish government people. [08:04.970 --> 08:17.410] And one of them was the guy who tried to pass the data retention bill in Sweden and he failed and he was still bitter and angry that his citizens didn't understand the importance of surveilling the entire population. [08:17.470 --> 08:23.590] And the other one was, like, cyber forensics detective person for the Swedish government. [08:23.590 --> 08:31.070] So I sat them both down and I taught them all about Tor and privacy and the importance of having distributed trust and so on. [08:31.070 --> 08:36.970] And at the end, the data retention guy is like, you're all criminals. [08:37.330 --> 08:41.870] Only people who want privacy, only criminals would do that. [08:42.030 --> 08:44.790] What are you doing trying to make the world a worse place? [08:44.970 --> 08:46.370] And I'm thinking, okay, great. [08:46.370 --> 08:49.270] I invited you here to have this conversation. [08:49.270 --> 08:53.750] Let's talk about, like, why all sorts of different people in the world need privacy. [08:53.790 --> 08:59.170] Let's talk about, you know, why back doors don't make sense and so on. [08:59.170 --> 09:03.230] So I opened my mouth to start trying to, you know, have that next step of the debate with him. [09:03.230 --> 09:10.370] When cyber forensics guy stood up and said, actually, I use Tor every day for my job and I use it at home, too. [09:10.370 --> 09:11.470] Shouldn't everybody? [09:11.730 --> 09:21.090] And the look on data retention guy's face of, I thought we were here together to beat down these criminals, to, like, show them that privacy is only for bad people. [09:21.090 --> 09:27.350] What are you doing undermining what I think should be the Swedish government's position of only bad people need privacy. [09:27.350 --> 09:30.010] So that was an important lesson also. [09:30.010 --> 09:37.090] And I guess I should stop here because I was telling some of these stories to some folks earlier and they were like, wait, you talk to cops? [09:37.410 --> 09:44.310] Which is an important piece of how we as the hacker community get our messages to the right place. [09:44.310 --> 09:57.750] So, yes, part of the challenge with making Tor succeed in the world is talking to other organizations out there that don't necessarily start off agreeing with us, including governments and law enforcement and so on. [09:57.750 --> 10:00.430] And there are, I guess, three big reasons for doing this. [10:00.430 --> 10:06.070] One of them is the Tor network needs a lot of different users so that they can blend together. [10:06.070 --> 10:11.970] You can't just have Egyptian activists in the Tor network, otherwise it doesn't provide the security that they need. [10:11.970 --> 10:16.470] You need to have governments and other groups all using the same network. [10:16.470 --> 10:22.730] So explaining to them why they also need privacy and why Tor can help them is an important piece of it. [10:22.730 --> 10:36.950] But if you don't buy that, the second example is I was talking to a friend who ended up joining the FBI and he was telling me a story about being in a room with a bunch of Department of Justice lawyers and they said, you know what we should do today? [10:36.950 --> 10:39.010] We should pass a law outlawing Tor. [10:39.370 --> 10:43.830] And he was in the room and got to stand up and say, I work for the FBI. [10:44.010 --> 10:45.650] I use Tor every day for my job. [10:45.650 --> 10:46.590] I need Tor. [10:46.590 --> 10:48.930] Are you trying to make my job impossible? [10:49.030 --> 10:55.670] And the fact that he was in the room that day meant that they moved on to whatever other bad law they were thinking about writing. [10:55.790 --> 11:05.870] So that's, that lesson is really important in terms of having allies in the right place so that they can get the message to the right people. [11:05.870 --> 11:08.430] Because I'm not going to be in that room. [11:08.470 --> 11:22.550] And I guess the third example there is having somebody like that inside these organizations, like imagine you're running a relay and somebody did something bad through your exit relay and some law enforcement person shows up. [11:22.550 --> 11:28.370] Nothing you say at that point is going to convince them that you're not like helping some bad people somehow. [11:28.370 --> 11:29.990] They're like, I found the criminal. [11:29.990 --> 11:31.890] I'm dealing with this now. [11:31.890 --> 11:35.830] But if you say, call Russell down the hall from you. [11:35.870 --> 11:40.810] I'm not going to explain it, but he's your colleague and he will explain what this is to you. [11:40.870 --> 11:45.870] That has really been helpful in a lot of ways to have insiders at these various organizations. [11:45.870 --> 11:51.910] Speaking of which, Russell is no longer an FBI person and we don't actually have a person like Russell. [11:51.910 --> 11:55.430] I figure this is a DEFCON audience so it's what, 10% feds or something? [11:55.430 --> 12:13.830] So if you are one of these, if you are in one of these groups and you're a TOR fan, I would love to meet you and turn you into one of our allies on the inside so that you can help to advocate for privacy and internet freedom and civil liberties and so on for all the people around the world who need it most. [12:16.090 --> 12:23.650] Okay, so another example in the fun talking to government side, we had a TOR meeting in Iceland in 2014. [12:24.270 --> 12:32.370] And I figure I'm going to a new country and I will offer to do some sort of TOR training for the government cyber forensics people. [12:32.510 --> 12:37.490] So we reached out and we found both of the Iceland cyber people. [12:37.490 --> 12:39.530] Haha, it's Iceland, yes, there are two. [12:39.630 --> 12:44.970] And invited them to come down and we talked about TOR for, you know, two or three hours. [12:44.970 --> 12:51.770] And at the end of those two or three hours, I'm like, okay, so I've explained a lot of things about TOR and surely this is all you need. [12:51.770 --> 12:57.630] I was going to talk about onion services next, but surely, you know, you're full of information. [12:57.670 --> 13:00.630] And they're like, no, actually, onion services are really interesting. [13:00.630 --> 13:01.830] Please continue. [13:02.210 --> 13:06.770] And it turns out that Silk Road was hosted in Iceland, but nobody knew that at the time. [13:06.770 --> 13:12.010] But I guess they did and the feds had been leaning on them to learn what this TOR thing is and so on. [13:12.010 --> 13:24.590] So that was a point where each of these cases, it's not like I, I mean, I tell everybody basically the same information about TOR, whether I'm talking to Egyptian activists or feds somewhere. [13:24.590 --> 13:31.870] Because part of the point is that everybody needs to be sharing the same privacy system in order to blend together, to have privacy together. [13:32.310 --> 13:37.130] So, yeah, that was an adventure where it turns out they really did care more. [13:37.170 --> 13:45.230] Another example where things didn't go quite as well as I'd hoped, I ended up at one of these conferences meeting some DEA people. [13:45.430 --> 13:50.130] And I'm like, why don't I come to your DEA headquarters and, and do a talk on TOR. [13:50.130 --> 13:51.550] And I'll explain, you know, what it is. [13:51.550 --> 13:54.630] And we can talk through why distributed trust is important. [13:54.630 --> 13:57.990] We can talk about why a lot of different types of users are important. [13:58.070 --> 14:02.090] And they, like, I started doing the talk and they're like, where is Silk Road? [14:02.090 --> 14:03.690] And I'm like, I don't, I don't know. [14:03.690 --> 14:05.910] But let me, let me teach you more about TOR. [14:05.910 --> 14:07.570] And they're like, where is Silk Road? [14:07.630 --> 14:15.030] So that was, that was an example where trying to approach these particular people didn't work as well as I hoped it would. [14:15.830 --> 14:16.170] Okay. [14:16.170 --> 14:17.970] And then a more fun example. [14:18.010 --> 14:26.870] Somewhere in there, back in, like, 2006, I ended up inviting myself to NSA headquarters, Fort Meade, to do a talk to the NSA people. [14:26.870 --> 14:31.470] And I figured, hey, I should, you know, try to learn from, as much as I can from what they're doing. [14:31.470 --> 14:36.670] I talked to some people inside NSA afterwards who say that they use TOR and rely on TOR. [14:36.670 --> 14:37.810] That was interesting. [14:37.970 --> 14:43.410] But the most interesting part here is they wrote some notes on my talk. [14:43.410 --> 14:49.470] And you can read these notes because Ed brought them out when he brought a bunch of TOR things out and sent them to the Washington Post. [14:49.470 --> 14:57.010] So you can learn all about what the NSA intern or whatever wrote about what I was presenting to them. [14:57.010 --> 15:06.290] And, again, I was just doing an ordinary TOR talk, like the same, here are the types of people who need privacy, this is why privacy is important, and so on. [15:06.290 --> 15:16.290] But one of the fun examples from the notes, so if I'm doing a talk and the audience isn't reacting at all, I need to do a little bit more outrageous statements. [15:16.370 --> 15:19.790] And there's one point in the notes where they're writing. [15:19.790 --> 15:32.150] And then he says, for example, in regimes where they don't follow rule of law, such as Germany or France or United States, open paren, not sure what he meant there, close paren. [15:32.770 --> 15:48.910] And a few years later when you got to read those notes in the Washington Post because certain governments were not following their own rule of law, I'd like to think that they do kind of understand what I meant by regimes, including the U.S., that do not follow their own rule of law. [15:48.910 --> 15:59.490] So part of the challenge there is how do we get governments, even the ones that are supposed to be the good ones, to actually follow their laws rather than undermine them to harm human rights and civil liberties. [16:00.950 --> 16:02.610] Okay, so that was phase one. [16:02.610 --> 16:04.790] That was Roger talks to cops. [16:05.050 --> 16:14.590] Phase two is talking more about trying to keep the Tor network itself safe, even from attacks and attackers all around the world. [16:14.590 --> 16:24.530] So the example that I have here, back in 2021, there was some guy, I think in Russia, and he was like DDoSing other onion marketplaces. [16:24.550 --> 16:37.390] And the idea, as I understand it, is you sell some bad stuff on the Internet, somebody else sells some bad stuff on the Internet and there's like a DDoS thing going back and forth where you try to knock your competitors off the Internet so if they can't sell the bad stuff, [16:37.390 --> 16:39.430] maybe people will come buy your bad stuff. [16:39.430 --> 16:49.790] And I don't really care about, in fact, I don't really want people building these dark marketplaces on Tor because they're not actually helping us with our message about privacy and so on. [16:49.790 --> 16:54.230] But as long as they stay to themselves and DDoS each other, you know, not so bad. [16:54.230 --> 17:08.270] But it turns out that the DDoSs were splashing collateral damage on the rest of the Tor network because they were basically trying to overload onion services and that was producing a lot of traffic on Tor while they were trying to keep up with the attacks and so on. [17:08.270 --> 17:11.130] And that was a problem because it was slowing down Tor. [17:11.130 --> 17:22.930] So I had just fixed some like fairness rate limiting thing where it slowed down the attacks because it slowed down the collateral damage on the rest of the Tor network. [17:22.970 --> 17:24.650] So at that point I'm like, sounds good. [17:24.650 --> 17:32.510] We've at least, you know, squeezed down these jerks who are trying to be, who don't care about the Tor network as much as they should. [17:32.630 --> 17:36.990] And then they switched to actually attacking the Tor network directly. [17:36.990 --> 17:43.890] They were making connections through Tor to the directory authorities to fetch the directory information. [17:43.890 --> 17:54.790] So from the perspective of the Internet, there are like 5,000 computers all around the world who are DDoSing these nine directory authorities to try to pull directory information from them. [17:54.790 --> 18:00.310] And then we started having ISPs that are like, I'm going to fix this DDoS by blocking that IP address. [18:00.310 --> 18:06.030] And suddenly we were getting more and more of the Tor network blocked in various people's block lists and so on. [18:06.030 --> 18:09.570] So that was, it was a theoretical attack that we knew about. [18:09.570 --> 18:11.990] It's easy to rate limit per IP address. [18:11.990 --> 18:19.690] But if you're using Tor, we built an anonymity system, you can use that to get around the per IP address rate limits. [18:19.750 --> 18:20.490] Makes sense. [18:20.490 --> 18:24.950] So we knew this was going to happen eventually, but we were hoping it wouldn't happen then. [18:24.950 --> 18:32.290] We did have a fix , which is basically when you try to exit from the Tor network, we check whether it's a Tor relay you're trying to connect to. [18:32.290 --> 18:34.310] And if it is, then we disallow it. [18:34.310 --> 18:37.430] So we don't allow reentering into the Tor network. [18:37.430 --> 18:42.090] That way you could build infinite length paths and load things down that way. [18:42.090 --> 18:44.830] So that was, you know, we figured out how to block that. [18:44.830 --> 18:45.710] We blocked that. [18:45.710 --> 18:56.510] I'd had sort of a miserable day where, or a miserable couple of days, I guess, where a lot of relay operators were sad because they were getting abuse complaints about how they were attacking somebody. [18:56.510 --> 19:03.370] And we were trying to explain to a bunch of block lists that they should not be adding more Tor infrastructure to the block lists. [19:03.370 --> 19:09.530] And you can see some of these attacks going back and forth where, like, sometimes our graphs show that we have 2 million daily users. [19:09.530 --> 19:12.150] Sometimes the graphs show that we have 5 million daily users. [19:12.150 --> 19:16.410] And those extra 3 are these jerks doing their DDoSes. [19:16.410 --> 19:21.210] So that was, you know, mostly sorted out, mostly figured out. [19:21.350 --> 19:24.110] And we'd been scrambling for the whole week. [19:24.110 --> 19:26.150] So there I am at 7 a.m. [19:26.150 --> 19:31.310] on like a Thursday and this guy shows up to IRC and he's like, yeah, that's me. [19:31.530 --> 19:33.850] I'm the one who's been doing these attacks. [19:34.190 --> 19:40.990] And I'm upset that you fixed the last bug because everything was going great. [19:40.990 --> 19:44.990] And I'm thinking, okay, what exactly is your business model? [19:44.990 --> 19:47.110] Like, I know there's this DDoS stuff going on. [19:47.110 --> 19:49.850] So how do you make the money here? [19:49.850 --> 19:52.330] Like, what's in this for you? [19:52.330 --> 19:58.250] And he's like, well, I attack people and then I ask them to pay me to stop. [19:58.630 --> 20:01.170] And I'm like, ah, so extortion. [20:01.270 --> 20:03.590] And he's like, more or less. [20:04.510 --> 20:06.130] Well, more really. [20:07.070 --> 20:14.050] And I'm thinking, okay, this is definitely a strange person for me to be talking to. [20:14.050 --> 20:17.830] And he was explaining, I don't want you to add any back doors. [20:18.470 --> 20:20.270] Just can you like leave some bugs in? [20:20.270 --> 20:22.990] Surely there's a way that we can, you know, make this work. [20:22.990 --> 20:24.810] I'll give you a cut of my profits. [20:24.810 --> 20:26.590] Like, I'm making a lot of money here. [20:26.590 --> 20:28.370] So surely you want some. [20:28.370 --> 20:36.310] And I guess in his world, he's like some Russian mafia dude and it's all about the money and why would you be on the internet at all if not to be making more money. [20:36.410 --> 20:43.450] So there I am trying to like figure out, because the first answer is no, fuck you, dude. [20:43.870 --> 20:49.070] But he's the one who was just making the Tor network under attack for the last week. [20:49.070 --> 20:54.250] So I can't be like, I can't be as directly screw you, go away. [20:54.250 --> 20:57.070] But I also don't want to be like, oh, tell me more. [20:57.350 --> 21:09.590] Let me stall you while you, like give me at least three or four days to not be attacking the Tor network so I can finish patching things and finish making sure that relays upgrade and the Tor network can continue to exist. [21:09.590 --> 21:22.450] So that was part of a challenge where I'm like trying to walk the fine line between screw you and tell me more so that I can stall you or at least, you know, can you stop doing the attacks for a little while. [21:22.450 --> 21:29.990] And it was at that point where he says, so I just sent $10,000 of Monero to your donation address as a proof of my good faith. [21:29.990 --> 21:35.950] That's like just to show that, you know, there's plenty more where that came from and maybe we can make this work. [21:35.950 --> 21:52.090] And then I'm thinking, I have criminal proceeds in the donation queue now and like I know it because you just told me, oh, shit, now I've got $10,000 that like if we ever turn this into actual Tor donations, then we've just broken I don't even know how many laws in various places. [21:52.090 --> 21:56.630] So as an aside, it turns out there is a way to light cryptocurrency on fire. [21:56.630 --> 22:04.270] The metaphor is you send it to the zero public key and nobody knows the private key for the zero public key so it just vanishes. [22:04.270 --> 22:13.970] So we ended up doing that in order to not cash out our criminal proceeds that the Russian asshole had so helpfully given to us. [22:13.970 --> 22:36.750] So that was, yeah, that particular story isn't over because those DDoSs are still going on and those marketplaces are still attacking each other and that's part of a bigger issue about like sanctions and whether people, whether good cyber security people in Russia have other jobs that they can get besides criminal activities like this and as we sanction them more, [22:36.750 --> 22:38.630] they have fewer and fewer options. [22:38.630 --> 22:42.750] So that is an ongoing story that we should be doing in the policy track. [22:43.910 --> 22:44.430] Okay. [22:44.430 --> 22:54.890] So let me talk a little bit about the things that have happened in authoritarian worlds around the past 10, 15, 20 years. [22:54.890 --> 23:07.870] So the first example is back in 2011 when Iran did its first DPI block on Tor and before that we'd been like, look, you can block us by IP address but we're going to look like TLS. [23:07.870 --> 23:12.370] We're going to look like a browser talking to a web server and who would block TLS? [23:12.730 --> 23:14.330] Hopefully we'll blend in well enough. [23:14.330 --> 23:19.690] This was back before phrases like pluggable transports and things like that if you know that phrase. [23:19.910 --> 23:31.350] So before that they'd just been blocking by address and then the very first block somehow Tor stopped working in Iran and we're like, okay, did they block all of TLS? [23:31.350 --> 23:32.370] How did they do this? [23:32.370 --> 23:44.350] And it turns out we had a friendly DPI engineer, Deep Packet Inspection engineer at Team Cymru who was looking at our packet traces and he's like, I found this particular constant in your source code. [23:44.350 --> 23:48.630] I don't know what it is but when I change this number stuff starts working again. [23:48.690 --> 23:58.710] And it turns out we had built TLS using Diffie-Hellman like the appropriate protocol and Diffie-Hellman has a parameter P, the prime, and we used a great prime. [23:58.710 --> 24:01.210] We used a prime from the DNSSEC like RFC. [24:01.210 --> 24:08.890] We used a good solid prime but we didn't use the same prime as Apache talking to, as Firefox talking to Apache did. [24:08.890 --> 24:30.670] So we were using a different, same crypto system, same protocol, same everything just a different parameter and the very first blocking attempt in the world of Tor by DPI turned out to be censoring the TLS protocol looking at the parameter, the prime parameter we were using which is not at all what we were imagining the first blocking thing would be. [24:30.670 --> 24:35.790] Surely it would be like look at the cipher suites or look at the domain you're going to or something like that. [24:35.790 --> 24:51.290] So one of the lessons is every time we make a list of how we think a sensor is going to block us, like here are the top 20 ways that they might do it and here's what we're going to do in each case, every time we make that list the way that they actually block us turns out to be not on, [24:51.290 --> 24:52.810] not anywhere on our list. [24:52.810 --> 24:56.130] So it's hard to predict how these things are actually going to work. [24:56.130 --> 25:12.890] And the other answer is the importance of community here where in no way would a couple of Tor developers sitting in a room have figured out that it was that parameter P in the time that the rest of the community did looking around and trying to figure out these are the traces, [25:12.890 --> 25:14.530] these ones work, these ones don't. [25:14.530 --> 25:23.650] So it's really important to have a lot of folks, especially in the debugging phase of wait a minute , Tor stopped working in this country, what did they break? [25:24.430 --> 25:35.750] Okay, so another fun example on the Iran side, a few years earlier, 2009, so you remember when Mousavi got elected in Iran and then suddenly he wasn't in charge? [25:36.250 --> 25:38.190] I see a couple of hands here and there. [25:38.190 --> 25:54.110] So in terms of maybe you remember long ago the folks with the green fingers, the Green Party in Iran, so we know some of the people who were like sysadmins for the Green Party and one of the challenges they had, they had a blog talking about, you know, [25:54.110 --> 25:59.390] political things in their country and they ran the blog on WordPress, which I guess is what everybody did. [25:59.390 --> 26:00.330] So they had two problems. [26:00.330 --> 26:05.970] One of them was you can DDoS the WordPress and now nobody can read that party's blog. [26:05.970 --> 26:14.710] And the other problem was, it's WordPress, so you just break in and you write the Iranian Cyber Army was here and now nobody trusts that political party quite as much. [26:14.710 --> 26:27.810] So I was talking to the folks who were helping to run this and we realized that this would be actually a great use for onion services where we gave them, we hooked them up with a static gigabit connection in the U.S. [26:27.810 --> 26:32.270] so that the static version of the page would be hard for people to overload. [26:32.370 --> 26:37.810] And then for every editor of the WordPress blog, we gave them a different onion address. [26:37.810 --> 26:53.310] And that meant when a certain person disappears and you're worried they're in a basement having their fingernails torn off or whatever is going to happen, that person doesn't know where the WordPress server is and nothing that you can extract from him is going to help you find out where to attack it. [26:53.310 --> 27:03.590] So in that case, it's an example of reducing surface area so that it's not about a website that everybody can reach and you hope that the bad guys don't also reach it. [27:03.590 --> 27:07.430] It's about separating who knows what in an opposite kind of way. [27:09.210 --> 27:25.830] And I guess the other example going on from that same Iran story, I was talking to one of those people, I guess back in 2010, 2011 or something, and he was telling me that he had been doing a bunch of trainings in Iran of various people and he taught them all, [27:25.830 --> 27:33.430] here's how you use open proxies, here's how you use VPNs, here's how you use Tor, here's how you use other circumvention tools. [27:33.430 --> 27:40.930] And then he realized one day that everybody he had taught anything other than Tor to was now dead or in jail. [27:41.230 --> 27:46.790] And he realized now it is time to only teach Tor because the other ones are really not appropriate. [27:46.790 --> 28:06.450] So there's a whole talk there of how do you convince the people in these situations that, yeah, their government isn't really that good right now at surveillance but the government is working really hard to become better and you don't know when that transition is going to happen so it's important to use the more safe tools by default from the beginning. [28:07.110 --> 28:11.330] Here I am telling that story about Iran but the same story applies here in the U.S. [28:11.330 --> 28:30.230] where the government is maybe not as good as it wants to be at surveillance but they're working hard to become a lot better so it might be important, just as important for these communities here to think through how do we be safe by default so later when we're surprised we turn out to not have a bunch of data trail behind us. [28:30.230 --> 28:32.910] Okay, so that was on the Iran side. [28:33.170 --> 28:35.270] Let's talk a little bit about Russia. [28:35.330 --> 28:47.150] So back when Russia was invading Ukraine back in, I think it was December 2021, so before the invasion, they ended up blocking a bunch of different pieces of the Tor protocol. [28:47.150 --> 28:58.930] They blocked all the public relays, they blocked many of the default bridges, they even blocked Snowflake which is a protocol that uses WebRTC and they ended up blocking Snowflake by blocking domain fronting. [28:58.930 --> 29:01.850] So how many people here know what domain fronting is? [29:01.850 --> 29:04.710] I see a couple of hands but quite a few but okay. [29:04.710 --> 29:15.590] So domain fronting is a cool trick for getting around censorship and the idea is let's say you have some large HTTPS website that the sensor doesn't want to block. [29:15.590 --> 29:30.470] So you do a TLS connection to that website and on the outside in the parameter called the SNI server name indicator, you specify an innocuous domain name, like something that's too big to block that nobody would care about. [29:30.470 --> 29:39.610] But once you have done that TLS connection, inside that encrypted tunnel, you then say host colon whichever other domain you wanted to go to. [29:39.610 --> 29:47.170] And for a bunch of CDNs back then it was Azure and Amazon and Google and CloudFlare and CDN 77 and so on. [29:47.190 --> 29:57.370] They allowed this trick where they didn't actually make sure that the domain that you say you're asking for on the outside matches up with the actual domain that you're asking for. [29:57.370 --> 30:03.230] So that meant that you can pretend to be going to Skype.com or something but actually you're tunneling your traffic through Tor. [30:03.250 --> 30:17.650] And that was the way that Snowflake worked where as the first step for Snowflake, the censored user does this domain fronting technique in order to say hello, I'm a censored user, here's my IP address, I want to connect back from one of the volunteers. [30:18.250 --> 30:22.390] But Russia blocked this somehow and we're like wait a minute, how did they do that? [30:22.390 --> 30:24.910] And the goal is we picked like a big domain. [30:24.910 --> 30:26.610] It was what was it called? [30:27.010 --> 30:30.490] Ajax.aspnetcdn.com. [30:30.490 --> 30:35.470] So this is a website that has all the JavaScript on it that all the other websites on the Internet use. [30:35.570 --> 30:41.270] So surely they wouldn't be willing to block a domain that's so integral to the rest of the Internet . [30:41.530 --> 30:45.310] But yeah, it turns out that Russia just blocked the whole thing. [30:45.450 --> 30:47.810] And I'm like, oh my God, they blocked the front domain. [30:47.810 --> 30:50.170] That was really gutsy of them. [30:50.170 --> 30:54.090] And then we looked deeper and it turns out no, they blocked it by IP address. [30:54.270 --> 30:59.010] And because Azure uses GeoDNS, they blocked all of Azure. [30:59.570 --> 31:07.390] So this is my no shit let me tell you that story about the time I got Russia to block all of Azure for a day accidentally. [31:07.470 --> 31:14.610] And I can't imagine that they actually thought through and said I accept the collateral damage but we're going to do this anyway. [31:14.610 --> 31:20.510] It seems much more likely they ran a tool, they saw where it connected, they're like, this is an IP address, let's shut it down. [31:20.510 --> 31:28.290] And they had no idea they just turned off Skype login, like Microsoft.com, like whatever else is hosted on Azure at the time. [31:28.290 --> 31:34.150] So that was an example where, again, things don't quite go the way that you expect them to go. [31:34.610 --> 31:53.970] So to a different country, I was in Germany years ago meeting with the German foreign ministry and they were trying to figure out should Europe pass a law outlawing like American and European companies selling surveillance tools to the Middle East and to Russia and China and so on. [31:54.110 --> 32:00.910] And it was a weird meeting because it was a bunch of policy people and politicians and lawyers and I was the technical person there. [32:00.910 --> 32:06.770] So periodically they would lean over and be like, hey, Roger, what does the developer community think of this topic? [32:06.850 --> 32:13.330] And here I am trying to like explain what every person in this room would be answering to that question. [32:13.330 --> 32:15.890] And I'm only one person so I did what I could. [32:15.890 --> 32:27.010] But one of the interesting stories that I got after that, I was talking to a telecom engineer from Dubai and we'd been arguing about like having back doors and routers. [32:27.010 --> 32:31.010] They're not called back doors, they're called lawful intercept by our government. [32:31.010 --> 32:37.670] But basically it's a back door and a router and you're relying on the local like legal infrastructure. [32:37.750 --> 32:43.830] You're relying on the judges to say yes or no on whether you can use the back door and the router. [32:44.110 --> 32:47.470] And he was explaining, look, I'm in the UAE. [32:47.750 --> 32:51.790] I've got the same routers you've got because you mandate back doors in them. [32:51.790 --> 32:59.390] And I plug my router in and my like Emirati guy who's in charge of everything comes over and says, what's that port? [32:59.390 --> 33:01.310] And I say, oh, that's the lawful intercept port. [33:01.310 --> 33:02.830] And he says, I am the law. [33:02.830 --> 33:03.810] Plug it in. [33:04.070 --> 33:13.170] So part of the important lesson here is reusing legal assumptions that aren't really working in the U.S. [33:13.170 --> 33:24.690] but we can at least pretend they are in a different situation where they really don't work is a big problem that our governments have been continuing to have that problem. [33:24.690 --> 33:30.610] So we keep seeing more lawyers and politicians saying, no, no, no, let's undermine everything. [33:30.610 --> 33:35.510] Let's break end to end encryption and don't worry because we have rule of law here. [33:35.510 --> 33:37.930] So we'll never break our own laws. [33:37.930 --> 33:40.790] We'll never look at the traffic we're not supposed to look at. [33:40.790 --> 33:42.990] So that doesn't work in the U.S. [33:42.990 --> 33:47.390] and it especially doesn't work in some other situations. [33:48.090 --> 33:48.490] Okay. [33:48.490 --> 33:53.190] So let me tell you a couple of last stories more on the fun side. [33:53.190 --> 33:59.090] So I was watching Ed Snowden do his NFT and I'm just as cool as Ed. [33:59.090 --> 34:00.890] I could do an NFT of my own. [34:00.890 --> 34:06.210] So we did an NFT and we sold it for $2 million, which we had really good timing. [34:06.210 --> 34:07.630] We had really good people. [34:07.630 --> 34:10.510] I mean, nobody is actually buying the thing that we're selling. [34:10.510 --> 34:13.970] They're doing a donation to Tor and this is the excuse that they were doing. [34:13.970 --> 34:22.770] So we ended up selling the very first private key for the very first onion service that I made back in 2004 when I was first building onion services. [34:22.830 --> 34:29.750] And that private key, it's like a, so it's a 1024 bit RSA key, which is already kind of bad. [34:29.750 --> 34:37.530] And the onion address at the time is the first 80 bits of the SHA-1 of the 1024 bit RSA. [34:37.530 --> 34:43.750] So basically every piece of that sentence is bad news in terms of good crypto systems these days. [34:43.750 --> 34:52.790] But this was like a 20 year old design and 20, 25 years ago it made sense to be using SHA-1 and RSA 1024 and so on. [34:52.790 --> 34:59.830] But we've been phasing out that whole older onion service design with the crappy crypto and moved up to some better ones. [34:59.830 --> 35:03.530] And I figured that was the perfect time to sell the very first private key. [35:03.530 --> 35:14.650] So we did that and a great group named Pleaser Dow did a big donation to Tor, which really, like before that we were wondering the pandemic has just started. [35:14.650 --> 35:16.190] Our funding has just gone to shit. [35:16.190 --> 35:21.110] What are we going to do when governments don't fund and people are all getting laid off? [35:21.110 --> 35:24.810] So that was really helpful to have a big donation right then. [35:24.810 --> 35:31.690] But the fun part of that story was then the Pleaser Dow people invited me to their nightclub party. [35:31.830 --> 35:34.570] And at first I'm like, no, I'm not going to go get COVID at your party. [35:34.570 --> 35:35.350] No thanks. [35:35.350 --> 35:40.750] But then it turns out that that was right at the time when New York City had the COVID vaccine cards. [35:40.750 --> 35:41.950] So everybody was going to be checked. [35:41.950 --> 35:45.590] So I'm like, okay, you scheduled this thing like three blocks from where I live. [35:45.590 --> 35:46.410] It's fate. [35:46.410 --> 35:47.390] I should go. [35:47.410 --> 35:53.610] And I'm used to going to like engineering technical places and I can teach people about Tor and privacy and so on. [35:53.610 --> 35:54.670] Here I am doing it now. [35:54.670 --> 35:56.270] But this was a different situation. [35:56.270 --> 35:58.170] There were three categories of people there. [35:58.170 --> 36:02.770] There were the cryptocurrency bros who wanted to like further their pyramid schemes. [36:02.950 --> 36:07.270] There were the finance bros who wanted to take money from the cryptocurrency bros. [36:07.390 --> 36:09.410] And there was the art. [36:09.490 --> 36:11.090] And I was the art. [36:11.410 --> 36:14.830] They're like, let me introduce you to Roger, who I just bought for $2 million. [36:15.050 --> 36:18.190] And I'm like, well, that's, that's not how I would have framed it. [36:18.190 --> 36:19.970] But yeah, that's not wrong. [36:20.370 --> 36:28.510] So and there were other interesting art people there, like Nadia from Pussy Riot was also the art that they had bought like an NFT from. [36:28.510 --> 36:35.610] And I got to talk to her about stories of apparently when so they did something that pissed off Putin. [36:35.610 --> 36:41.370] And they for three weeks stayed in Moscow moving from place to place, always using Tor. [36:41.370 --> 36:49.170] And the Russian secret police who were instructed by Putin to go find those people failed to find them for three weeks because they were using Tor. [36:49.170 --> 36:52.450] And then one day one of them didn't use Tor and then they got arrested. [36:52.650 --> 36:56.190] So that's a, that story happens over and over also. [36:56.190 --> 36:59.730] So it was, it was fun to hang out with the other art in that situation. [37:00.710 --> 37:01.190] Okay. [37:01.190 --> 37:08.970] And then the last one that I wanted to talk about is doing this sort of Tor talk to other DEF CON audiences. [37:08.970 --> 37:13.110] I was talking to Jeff Moss, I guess, I don't know, five or 10 years ago. [37:13.110 --> 37:18.490] And I was trying to explain like, I'd love to go to China and I'd love to reach the audience there. [37:18.710 --> 37:22.210] And I don't think that I, I don't think it makes sense for me to go to mainland China. [37:22.210 --> 37:23.910] Like it would probably be fine. [37:23.910 --> 37:28.230] But, but what if it isn't, but I mean, you've got this DEF CON Beijing thing. [37:28.230 --> 37:35.570] So can't, wouldn't it be great if I could like go do a Tor talk at DEF CON Beijing, but I'm not sure if it would be safe. [37:35.570 --> 37:36.830] Is there a way to make it safe? [37:36.890 --> 37:41.430] And Jeff's like, well, the, the, the DEF CON Beijing guy is like two tables down. [37:41.430 --> 37:42.510] Let's just go ask him. [37:42.830 --> 37:45.310] So I, I go over and I, I do my pitch. [37:45.310 --> 37:46.290] I'm like, hi, I'm Roger. [37:46.290 --> 37:52.070] I want to, I want to go to Beijing and, and talk to the DEF CON audience about Tor, but I'm not sure how we can make this safe. [37:52.070 --> 37:55.490] Is there a way to, to make this so that I don't end up arrested? [37:55.490 --> 37:58.090] And he's like, yeah, we're, we're totally going to make it work. [37:58.170 --> 38:00.330] Just never talk about censorship. [38:00.370 --> 38:03.190] Only talk about privacy and we can make this work. [38:03.330 --> 38:04.590] And I'm like, awesome. [38:04.590 --> 38:06.710] That, I, I, I can totally work with that. [38:06.710 --> 38:08.450] Like we don't have to talk about censorship. [38:08.530 --> 38:10.450] There are a bunch of important privacy topics. [38:10.450 --> 38:13.670] We can frame this for the, like the China audience. [38:13.950 --> 38:18.550] And so I give him my card and I'm like, please contact me and, and we'll find a way to make this work. [38:18.550 --> 38:19.030] I'm serious. [38:19.030 --> 38:20.010] I really want to go. [38:20.010 --> 38:26.650] And then he looks down at my card and he pauses for like 30 seconds and then he says, and don't mention Tor either. [38:27.990 --> 38:34.030] And, and then I'm like, okay, I, I guess this isn't actually going to work the way I was hoping it was going to work. [38:34.030 --> 38:46.270] So I guess one lesson there is if you know an audience that really needs to hear from Tor, maybe in a situation where we, the like Western Tor people can go to, let us know. [38:46.270 --> 38:47.810] We'd love to help. [38:47.810 --> 38:57.790] And we have contacts around the world who might be more appropriate for doing Tor talks or trainings or something in, in various other parts of the world. [38:58.130 --> 39:05.730] So I've got a bunch of other stories that I can talk about and I think I'm going to save some of them for next time. [39:05.730 --> 39:11.010] For example, that time that I went to GCHQ right soon after the Fort Meade talk. [39:11.230 --> 39:14.330] And I didn't actually know I was going to GCHQ. [39:14.330 --> 39:18.590] I met a great, like great seeming privacy engineer at a privacy conference. [39:18.590 --> 39:21.790] And he's like, you've got to come talk to my, my organization. [39:21.810 --> 39:27.150] And when I was on the train towards Cheltenham, I'm like, wait a minute, what, what is in Cheltenham? [39:27.270 --> 39:29.270] What have I just signed myself up for? [39:29.270 --> 39:40.770] And at the time I'm like, okay, I'm going to do, I'm going to do a talk that is only like, I want to be, you know, friendly and technical, but I don't want to give them anything that's going to help them in any way. [39:40.770 --> 39:54.570] So I'm going to, I decide I'm going to do a talk about like censorship in China, the arms race, the deep packet inspection arms race where China's trying to find ways to block us by protocol and we're trying to get unblocked and like, surely that's not going to help the British like intelligence world. [39:55.010 --> 40:05.070] And then we learned from the Snowden documents that the X key score project inside NSA and GCHQ is a surveillance based DPI engine. [40:05.310 --> 40:07.090] So it's a different arms race. [40:07.090 --> 40:11.590] It's a surveillance deep packet inspection, not a censorship deep packet inspection. [40:11.590 --> 40:21.730] But it turns out I went to England and, and did a talk to the British like intelligence people about the topic that they were probably actually working on. [40:21.730 --> 40:29.770] And so there's, there's definitely a lesson there of you can think that you're choosing an innocuous topic but, but sometimes you screw up. [40:29.770 --> 40:30.270] Okay. [40:30.270 --> 40:33.310] In the last couple of minutes, two, two last thoughts. [40:33.310 --> 40:38.670] One of them is EFF has been running a campaign to get tour relays running in universities. [40:38.670 --> 40:42.650] And we started the campaign two years ago with eight universities. [40:42.650 --> 40:45.670] And we are now up to 37 different universities. [40:45.670 --> 40:47.810] We just added , thank you. [40:47.810 --> 40:48.930] And thank them. [40:49.310 --> 40:51.790] We just added UCSD. [40:51.790 --> 40:55.450] We added the National Research and Education Network for Morocco. [40:55.450 --> 41:02.010] So like the, the organization that provides internet connections to universities in Morocco is running a tour relay. [41:02.010 --> 41:06.870] We are in the process of adding one in Technical University Dresden in Germany. [41:06.870 --> 41:14.130] And we have a bunch right now in MIT and CMU and Michigan and University of North Carolina. [41:14.770 --> 41:17.150] And, say it again? [41:17.510 --> 41:20.170] Some of them are exits and some of them are not. [41:20.170 --> 41:22.150] So MIT has some exits. [41:22.150 --> 41:24.450] Waterloo in Canada has some exits. [41:24.470 --> 41:25.870] Michigan has an exit. [41:25.870 --> 41:27.330] UNC has an exit. [41:27.350 --> 41:28.930] CMU has an exit. [41:28.990 --> 41:30.350] So some of them are. [41:30.350 --> 41:31.630] And you can run either one. [41:31.630 --> 41:40.310] So if anybody here is connected to a university, or it doesn't have to be a university, we have the equivalent of a junior high in Switzerland running an exit relay. [41:40.310 --> 41:42.610] And it's because the sysadmin there set it up. [41:42.610 --> 41:45.010] And that's just what you do in his country. [41:45.010 --> 41:50.330] So if you're connected to an educational institution, please contact me afterwards. [41:50.330 --> 41:55.710] I would love to help you help EFF further that particular campaign. [41:55.710 --> 42:03.270] So they have these awesome challenge coins that they made that I'll show you later with these cute little onions jumping rope. [42:03.270 --> 42:06.670] So do it for the human rights or do it for the shiny coin. [42:06.670 --> 42:08.350] Whichever one works for you. [42:08.370 --> 42:11.250] And with that, I'm close to out of time. [42:11.250 --> 42:15.270] I'm going to stand down here and answer all of your questions. [42:15.390 --> 42:22.230] And I'd love to hear from your perspective how the whole war stories, don't use slides, just tell stories thing goes. [42:22.230 --> 42:30.390] And most importantly, after this, I'm going to lead as many of you as want to come over to the tour booth in the nonprofit vendor area. [42:30.390 --> 42:37.390] And I will stand around in a bright green shirt, easy to spot, answering all of your tour questions until you have no more tour questions. [42:37.390 --> 42:39.490] So thank you and talk to you soon.