1 00:00:00,000 --> 00:00:00,560 This is Dr. 2 00:00:00,560 --> 00:00:01,460 Jeremy Galula. 3 00:00:01,460 --> 00:00:04,380 He's the tech projects director of the Electronic Frontier Foundation. 4 00:00:04,380 --> 00:00:08,300 He's going to talk with us about kind of the cool encryption internet kind of thingies. 5 00:00:08,300 --> 00:00:09,800 So I'm going to turn it over to him. 6 00:00:09,800 --> 00:00:11,340 Let's give him a great big round of applause. 7 00:00:11,720 --> 00:00:12,880 Thanks very much. 8 00:00:14,120 --> 00:00:17,980 So yes, apologies if you were looking forward to seeing Shahid Batar. 9 00:00:17,980 --> 00:00:22,560 He is elsewhere at DEF CON but couldn't be here to give this particular talk. 10 00:00:22,560 --> 00:00:24,320 So I'm not going to be talking about NSA spying. 11 00:00:24,320 --> 00:00:28,800 I am going to be talking, however, about NSA spying, but just from a totally different angle. 12 00:00:29,020 --> 00:00:33,640 So first of all, thank you everyone for showing up here bright and early this morning. 13 00:00:33,640 --> 00:00:36,820 I'm amazed that there are more than like two of you in the audience at 10 a.m. 14 00:00:36,820 --> 00:00:37,880 on Saturday. 15 00:00:38,220 --> 00:00:41,180 So I will try not to put you back to sleep. 16 00:00:41,560 --> 00:00:45,600 So most people see the EFF like this, like a bunch of lawyers. 17 00:00:45,600 --> 00:00:47,500 So these are a team of lawyers. 18 00:00:47,500 --> 00:00:49,740 They're outside the United States Court of Appeals. 19 00:00:49,740 --> 00:00:50,600 And it's true. 20 00:00:50,600 --> 00:00:51,640 We have a lot of lawyers. 21 00:00:51,640 --> 00:00:52,500 They're awesome. 22 00:00:52,740 --> 00:00:55,880 But EFF also does a lot of other awesome stuff. 23 00:00:56,480 --> 00:00:59,260 Obviously, with lawyers, we petition the government. 24 00:00:59,260 --> 00:01:06,680 This is some comments we wrote to the FCC during the whole net neutrality debacle. 25 00:01:07,400 --> 00:01:14,840 We actually put together comments from Internet engineers, pioneers, and technologists about the technical flaws in the FCC's proposal. 26 00:01:15,400 --> 00:01:18,060 And so we bring technologists together. 27 00:01:18,160 --> 00:01:21,620 Obviously, we also do a lot of grassroots support, rallying grassroots support. 28 00:01:21,620 --> 00:01:24,120 Some of you might have been at some of these protests. 29 00:01:24,120 --> 00:01:29,980 But nearest and dearest to my heart as tech projects director is that we actually write code. 30 00:01:30,140 --> 00:01:39,740 We have a bunch of technologists on staff at EFF who not only advise the lawyers, we also write code, we create software that people can use to enhance their privacy and security. 31 00:01:39,740 --> 00:01:42,500 And I'm going to be talking a little bit about that sort of stuff today. 32 00:01:43,280 --> 00:01:47,220 So some of our software projects, some of you may or may not have heard of. 33 00:01:47,240 --> 00:01:49,740 There's HTTPS Everywhere is probably our most well-known. 34 00:01:49,740 --> 00:01:55,780 It's a browser extension you can install to enhance your security online. 35 00:01:56,140 --> 00:01:58,800 I'll be talking a little bit more about that one later. 36 00:01:58,800 --> 00:02:00,140 There's also Privacy Badger. 37 00:02:00,140 --> 00:02:04,100 That's another browser extension that's a privacy-focused as opposed to security-focused. 38 00:02:04,160 --> 00:02:08,280 And then Certbot, which some of you may have even used to get yourself a certificate. 39 00:02:08,280 --> 00:02:11,280 And I'll be talking a little bit about these two today. 40 00:02:13,080 --> 00:02:15,800 So EFF has these three different theories of change. 41 00:02:15,800 --> 00:02:18,220 We've got lawyers, activists, and technologists. 42 00:02:18,220 --> 00:02:26,700 And so we get this wonderful sweet spot of being able to pressure the world to make the world a better place from three different angles. 43 00:02:28,360 --> 00:02:31,080 So let's take a trip down memory lane. 44 00:02:31,160 --> 00:02:36,740 And this is sort of how all of this sort of really tech-focused part of EFF started. 45 00:02:37,000 --> 00:02:42,460 So back in 2006, this is way pre-Snowden. 46 00:02:43,100 --> 00:02:53,920 A technician from AT&T literally walked in EFF's front door one day and said, there's some shady stuff going on at AT&T between the AT&T and the NSA. 47 00:02:53,920 --> 00:02:55,800 And I think you ought to know about it. 48 00:02:56,140 --> 00:03:01,680 And so this was a guy named Mark Klein, who was an AT&T technician. 49 00:03:01,680 --> 00:03:10,020 And he came to EFF and told us about essentially how AT&T was letting the NSA tap the Internet backbone. 50 00:03:10,020 --> 00:03:13,740 There was this secret room in an AT&T facility in San Francisco. 51 00:03:13,740 --> 00:03:15,900 And this was, again, long before Snowden. 52 00:03:16,160 --> 00:03:18,560 And so we said, all right, we've got to do something about this. 53 00:03:18,560 --> 00:03:21,660 This is warrantless mass surveillance, not cool. 54 00:03:21,660 --> 00:03:23,460 Let's try and fix this. 55 00:03:24,100 --> 00:03:25,740 So we tried the courts. 56 00:03:26,360 --> 00:03:29,920 Our first lawsuit was Hefting versus AT&T. 57 00:03:29,920 --> 00:03:41,000 Hefting was an AT&T customer we found who we had reason to believe that their communications had been sucked up by the NSA via AT&T. 58 00:03:42,520 --> 00:03:45,240 Does anyone know how this one turned out? 59 00:03:46,920 --> 00:03:57,000 So the fun fact is it disappeared because Congress, as soon as AT&T got sued, AT&T ran to Congress and said, Congress, you have to protect us. 60 00:03:57,000 --> 00:03:59,400 We were doing this because the DOJ told us to. 61 00:03:59,400 --> 00:04:01,880 We were doing this because the NSA told us to. 62 00:04:02,080 --> 00:04:07,160 How could we have possibly known that warrantless wiretapping was illegal and we should have challenged it? 63 00:04:07,160 --> 00:04:11,860 And so Congress passed a law granting all of the telcos retroactive immunity. 64 00:04:12,320 --> 00:04:16,340 And so Congress basically said, AT&T, you've got to get out of jail free pass. 65 00:04:16,340 --> 00:04:18,300 And it goes backward in time. 66 00:04:18,360 --> 00:04:19,480 So that went away. 67 00:04:19,480 --> 00:04:25,160 So then we're like, fine, AT&T, we can't sue you, so we'll sue the NSA. 68 00:04:25,160 --> 00:04:27,440 So Joule versus NSA. 69 00:04:27,600 --> 00:04:33,940 Joule was another customer whose, again, communications we had reason to believe had been sucked up by the NSA. 70 00:04:34,220 --> 00:04:40,440 Fun fact, Carolyn Joule is actually a romance author who lives in Northern California. 71 00:04:40,440 --> 00:04:41,460 She's really awesome. 72 00:04:41,460 --> 00:04:44,780 If you're into romance fiction, you should check out her books. 73 00:04:45,940 --> 00:04:50,640 Anyway, so does anyone know how this one turned out? 74 00:04:52,360 --> 00:04:53,820 Didn't disappear. 75 00:04:53,820 --> 00:04:54,740 Good guess. 76 00:04:54,740 --> 00:04:56,060 Excellent guess. 77 00:04:56,320 --> 00:04:57,580 She did not disappear. 78 00:04:57,580 --> 00:04:58,900 She's still around. 79 00:04:58,960 --> 00:05:01,480 And in fact, so is the damn case. 80 00:05:01,480 --> 00:05:07,420 It's been 10 years, and the wheels of justice grind inexorably slowly. 81 00:05:08,460 --> 00:05:14,020 It is still ongoing, just because legal lawsuits take forever. 82 00:05:14,020 --> 00:05:16,080 And they take especially longer. 83 00:05:16,080 --> 00:05:20,360 They take a much longer infinity if you're suing the federal government. 84 00:05:20,740 --> 00:05:21,920 And so this is still ongoing. 85 00:05:21,920 --> 00:05:26,680 We still hope that we will succeed at some point, but it's just taking forever. 86 00:05:27,440 --> 00:05:33,320 And so from our perspective, we're like, well, we don't want to wait for infinity time to get a resolution. 87 00:05:33,360 --> 00:05:35,200 We think we can do something a little better. 88 00:05:35,500 --> 00:05:36,820 So we tried some activism. 89 00:05:36,820 --> 00:05:38,840 How many of you have seen this before? 90 00:05:39,220 --> 00:05:40,060 A couple. 91 00:05:40,060 --> 00:05:41,960 So then I'm happy to show it to you. 92 00:05:41,960 --> 00:05:48,480 So this was a blimp that we flew in partnership with Greenpeace, I think the First Amendment Coalition. 93 00:05:48,480 --> 00:05:49,600 There might have been a couple other groups. 94 00:05:49,600 --> 00:05:51,980 I apologize for not remembering all of them. 95 00:05:51,980 --> 00:05:54,860 And we flew it over the NSA's Utah data center. 96 00:05:54,860 --> 00:06:02,460 So this is out in the middle of Utah where they've got this giant data center, which is presumably storing all of the data they're sucking up. 97 00:06:02,520 --> 00:06:07,900 And we thought people should know that there's some illegal spying going on beneath that. 98 00:06:07,900 --> 00:06:10,760 Of course, that didn't really pressure the NSA to stop. 99 00:06:11,760 --> 00:06:15,540 As you might imagine, they didn't really care about a blimp flying overhead. 100 00:06:16,380 --> 00:06:18,080 So what about technology? 101 00:06:18,080 --> 00:06:21,540 As I said, we've got lawyers, we've got activists, we've got technologists. 102 00:06:23,840 --> 00:06:26,280 So what is the fundamental problem? 103 00:06:27,200 --> 00:06:31,440 To solve it with technology, we have to define what the problem is we're trying to solve. 104 00:06:31,700 --> 00:06:37,080 So this is a slide later released via the Snowden leaks. 105 00:06:37,080 --> 00:06:40,460 But it shows you the sort of thing that the NSA was sucking up. 106 00:06:40,460 --> 00:06:45,040 And in particular, what you're seeing here is the headers from a connection. 107 00:06:45,040 --> 00:06:47,580 And you notice that it's over HTTP. 108 00:06:47,780 --> 00:06:50,140 This whole thing is unencrypted. 109 00:06:50,600 --> 00:06:55,720 So the reason the NSA can suck all of this mass surveillance up is because it's unencrypted. 110 00:06:55,720 --> 00:07:01,940 If it were encrypted, the NSA would not be able to look at everyone's communications. 111 00:07:01,960 --> 00:07:10,160 Even the NSA, as far as I'm concerned, does not have the capacity to break everyone's encryption. 112 00:07:10,160 --> 00:07:13,520 Assuming the encryption is configured correctly and is up to date, etc. 113 00:07:13,540 --> 00:07:17,400 They may still be able to target individuals, but that's no longer mass surveillance. 114 00:07:17,400 --> 00:07:19,200 And so then that's going to be a different problem. 115 00:07:20,260 --> 00:07:25,320 So we said, fine, the solution is to get everyone to use HTTPS. 116 00:07:25,320 --> 00:07:29,560 Well, 10 years ago, none of this was HTTPS. 117 00:07:29,560 --> 00:07:36,060 It's kind of hard to believe that just 10 years ago, Google, Facebook, Wikipedia, Twitter, none of them were using HTTPS by default. 118 00:07:36,740 --> 00:07:39,120 And so we said, well, let's pressure them. 119 00:07:39,120 --> 00:07:42,900 Because what we want to do is get as much traffic on the web encrypted as possible. 120 00:07:42,900 --> 00:07:46,520 So let's start with the most popular sites, and then we'll work our way down. 121 00:07:47,720 --> 00:07:50,220 So Idea Kitty has a bright idea. 122 00:07:50,860 --> 00:07:52,400 We can fix this. 123 00:07:52,400 --> 00:07:56,400 So we created the HTTPS Everywhere Firefox extension. 124 00:07:56,780 --> 00:08:00,220 So what it is, it's a browser extension for Firefox, now also Chrome. 125 00:08:00,220 --> 00:08:01,940 You can also install it in Opera. 126 00:08:02,060 --> 00:08:05,840 I'm pretty sure it's compatible with Brave, too, although I don't think you need it in Brave. 127 00:08:05,840 --> 00:08:10,880 Because Brave actually incorporates the HTTPS Everywhere list into the browser itself. 128 00:08:11,380 --> 00:08:20,760 And what it does is when a website supports HTTPS, but it is not by default, HTTPS Everywhere will upgrade your connection automatically. 129 00:08:20,760 --> 00:08:22,920 You don't even have to remember anything. 130 00:08:22,920 --> 00:08:37,860 It will prevent any sort of man-in-the-middle style attacks, any SSL attacks, because it says, if that website is on my list of websites that support HTTPS, then I'm only going to let the browser connect over HTTPS. 131 00:08:38,540 --> 00:08:40,040 So we launched that. 132 00:08:40,160 --> 00:08:42,240 It was in June of 2010. 133 00:08:43,300 --> 00:08:45,780 At launch, it was about 1,000 websites. 134 00:08:45,780 --> 00:08:48,080 It's now tens of thousands of websites. 135 00:08:48,860 --> 00:08:52,380 It also blocked mixed content before the browsers did. 136 00:08:52,460 --> 00:08:55,300 Now, I just want to double-check and get a sense of the room. 137 00:08:55,300 --> 00:08:57,720 How many people here know what mixed content is? 138 00:08:58,240 --> 00:08:59,160 Okay, so about half. 139 00:08:59,160 --> 00:09:08,140 So basically, mixed content is when you load a web page over HTTPS, but then it pulls in other resources over HTTP, so like images or JavaScript. 140 00:09:08,200 --> 00:09:20,160 And when it's pulling the other stuff over HTTP, that gives an attacker an opportunity to inject malicious scripts, basically, and bypass the fact that the original web page was loaded over HTTPS. 141 00:09:20,160 --> 00:09:23,280 So we did that before the browsers did, which is kind of awesome. 142 00:09:23,280 --> 00:09:27,020 And now, of course, blocking mixed content is the default for browsers. 143 00:09:30,160 --> 00:09:36,420 So shortly after we launched this news... 144 00:09:36,420 --> 00:09:42,800 Well, basically, someone else launched another tool, which gave us great motivation and pleasure that we had just launched HTTPS Everywhere. 145 00:09:42,800 --> 00:09:45,480 How many people remember something called FireSheep? 146 00:09:46,260 --> 00:09:48,000 So, okay, so a couple of people. 147 00:09:48,000 --> 00:10:09,640 So FireSheep was yet another browser extension, but what it was designed to do was to listen if you were on an unsecured wireless network or if you're just connected to a wired LAN and it was just broadcasting packets, it would listen to the HTTP connections that other clients, 148 00:10:09,640 --> 00:10:18,460 other browsers were making, other computers, and it would say, hey, look, that one looks like a cookie, an authentication cookie for Facebook. 149 00:10:18,560 --> 00:10:22,620 And then it would pull that in and it would let you log in as the other person. 150 00:10:22,620 --> 00:10:28,200 And again, it was taking advantage of the fact that at the time, even log-in connections were not encrypted. 151 00:10:28,340 --> 00:10:39,700 So I could get on FireSheep, I could sit at a coffee shop, and I could basically become a log-in as any person who logged into Facebook at that coffee shop because it wasn't over HTTPS. 152 00:10:39,960 --> 00:10:44,980 And so HTTPS Everywhere protects against that, which was great. 153 00:10:44,980 --> 00:10:49,700 So we were like, look, this is an active thing, this is an attack that can really happen, and we're protecting against it. 154 00:10:49,700 --> 00:10:50,420 Awesome. 155 00:10:51,420 --> 00:10:52,320 So great. 156 00:10:52,320 --> 00:10:52,840 Wonderful. 157 00:10:52,840 --> 00:10:53,820 We've solved the problem. 158 00:10:53,820 --> 00:10:54,700 We can go home. 159 00:10:54,700 --> 00:10:56,380 The NSA will stop surveilling. 160 00:10:57,000 --> 00:10:58,300 Sadly, no. 161 00:10:58,520 --> 00:11:00,200 That is not quite how life works. 162 00:11:00,200 --> 00:11:01,600 Everything was not awesome. 163 00:11:03,240 --> 00:11:09,500 Although we might have been able to protect many sites, not everyone's using HTTPS Everywhere, for one thing. 164 00:11:09,560 --> 00:11:15,800 We've got anywhere from 3 to 10 million users, depending on how you count. 165 00:11:15,800 --> 00:11:22,300 Fun fact, as a privacy organization, counting how many users you have is really difficult given that we're not collecting that information. 166 00:11:23,020 --> 00:11:25,760 But regardless, that is not the entire web. 167 00:11:25,800 --> 00:11:27,320 Lots of people aren't using it. 168 00:11:28,040 --> 00:11:30,800 And there's still no default HTTPS support. 169 00:11:32,220 --> 00:11:37,960 So we said, all right, the real way to protect everyone is to get the actual companies to change. 170 00:11:37,960 --> 00:11:45,860 We can put out this browser extension, and smart people can use it, they can tell their friends, they can tell their family, they can tell their neighbors, but it's still not going to reach everybody. 171 00:11:46,140 --> 00:11:55,040 So we launched a HTTPS Now campaign, basically pressuring the companies, trying to shame them, and say, why the hell aren't you using HTTPS by default? 172 00:11:55,040 --> 00:11:56,860 It's not that frickin' hard. 173 00:11:58,320 --> 00:11:59,780 So we made some progress. 174 00:11:59,800 --> 00:12:04,680 And it looks like I don't have all of the fonts on my computer, because those were supposed to be green checkboxes. 175 00:12:04,680 --> 00:12:10,620 That's what happens when you upgrade your operating system and don't check your slides to make sure that you've got the same fonts. 176 00:12:10,960 --> 00:12:15,440 But Facebook and Wikipedia still know default HTTPS, which is kind of ridiculous. 177 00:12:16,780 --> 00:12:23,260 So then, along came Edward Snowden, and I'm pretty sure everyone in here knows who Edward Snowden is. 178 00:12:24,220 --> 00:12:37,080 And so back in 2013, we got the Snowden leaks, which told us even more of, frankly, what EFF already knew, that the NSA was wiretapping the backbone of the Internet and sucking up innocent Americans' data without a warrant. 179 00:12:37,440 --> 00:12:48,260 Not only that, they were collecting phone records, they had this X-Keyscore program, which they would use to look through the data. 180 00:12:49,180 --> 00:12:50,700 And this is not good. 181 00:12:51,060 --> 00:12:56,720 This came out, and finally, the whole world started to realize, holy shit, this is really awful. 182 00:12:57,440 --> 00:13:11,160 And so we decided shortly after that to really turn up the pressure and put out an encrypting-the-web report that would just, in plain, I was going to say black and white, but I guess red and green, show the world, this is what the companies are doing. 183 00:13:11,160 --> 00:13:17,340 And if the company is getting undetermined or red Xs, then that means they're not paying attention to your security. 184 00:13:17,840 --> 00:13:19,280 And so we put that out. 185 00:13:19,280 --> 00:13:22,840 This is actually, obviously, not up to date. 186 00:13:22,880 --> 00:13:24,880 This was back when we launched it. 187 00:13:24,880 --> 00:13:34,300 Because, obviously, today, most of this would be supports HTTPS, encrypts data center links, uses HTTP strict, etc. 188 00:13:35,760 --> 00:13:43,060 As we're going down memory lane, it's fun for me to note that some of these companies don't exist anymore. 189 00:13:43,480 --> 00:13:45,900 But at the time, they were important to rank. 190 00:13:45,900 --> 00:13:47,860 They were important to put on this chart. 191 00:13:48,900 --> 00:13:51,700 So we did that, and we actually made a lot of progress. 192 00:13:51,700 --> 00:13:56,120 This pushed a lot of these big companies to adopt HTTPS. 193 00:13:57,180 --> 00:13:59,160 So great, we're done again. 194 00:13:59,160 --> 00:14:03,060 That was a bit of technology plus activism plus the original technology. 195 00:14:03,060 --> 00:14:04,540 We don't have to wait for the courts. 196 00:14:04,540 --> 00:14:08,860 It's good to get that precedent, but in the meantime, we're set. 197 00:14:09,020 --> 00:14:12,000 We've now thwarted NSA mass surveillance. 198 00:14:12,640 --> 00:14:14,780 Well, unfortunately, again, the answer is no. 199 00:14:14,780 --> 00:14:16,500 Our job is not yet done. 200 00:14:17,420 --> 00:14:23,560 Although we might have gotten the major websites encrypted, overall, the Internet was still not encrypted. 201 00:14:23,560 --> 00:14:25,540 So this is a chart from... 202 00:14:26,360 --> 00:14:35,980 this is actually courtesy of Mozilla, showing the percentage of page loads over a 14-day moving average that use HTTPS. 203 00:14:36,500 --> 00:14:41,980 And you can see, if it's tough to read the text in the back, the dark blue line is all users. 204 00:14:41,980 --> 00:14:46,740 And then more recently, Mozilla broke out USA versus Japan users. 205 00:14:46,980 --> 00:14:48,060 USA is the one on top. 206 00:14:48,060 --> 00:14:49,160 Japan is the one on the bottom. 207 00:14:49,160 --> 00:14:52,240 But as you can see, back in 2013, this is like 30%. 208 00:14:52,240 --> 00:14:53,540 This is ridiculous. 209 00:14:53,540 --> 00:14:56,560 This is less than a third of page loads are encrypted. 210 00:14:56,560 --> 00:15:00,460 As you can also see, the story is going to get better, but we'll get to that. 211 00:15:02,780 --> 00:15:07,320 So at the time, back in 2013, TLS was not ubiquitous. 212 00:15:07,500 --> 00:15:12,920 You log into a site like Quora, and you can just look at the packets. 213 00:15:12,920 --> 00:15:18,040 And I know that's really tiny text, but what that's showing is the username and password. 214 00:15:18,480 --> 00:15:25,440 You just get on Wireshark, you snip it, and obviously the NSA is doing Wireshark on infinite steroids. 215 00:15:26,620 --> 00:15:28,620 So, okay, sorry, this is in 2013. 216 00:15:28,620 --> 00:15:29,960 This is June 2014. 217 00:15:31,920 --> 00:15:34,380 It wasn't just sites like Quora. 218 00:15:34,380 --> 00:15:36,700 It was even the Googles. 219 00:15:37,040 --> 00:15:39,900 So, oh, man, I am missing all of the fonts. 220 00:15:39,900 --> 00:15:41,880 That's supposed to be the table-flipping emoji. 221 00:15:41,980 --> 00:15:50,640 Anyway, in particular to notice here, this is an HTTP page with a link to a sign-in page. 222 00:15:50,640 --> 00:15:56,820 And so an attacker could inject and basically redirect this sign-in to wherever they want. 223 00:15:57,000 --> 00:16:08,800 Because they could have intercepted this page while it was en route to you, said, I want to redirect this to some URL that's using some sort of homoglyphs and some shady... 224 00:16:08,800 --> 00:16:12,840 It will be some domain that looks kind of like Google, but it's actually ours. 225 00:16:12,840 --> 00:16:16,800 And so we'll get you to click that, you'll go to that domain, and you'll enter your Google credentials. 226 00:16:16,800 --> 00:16:24,060 And so even though Google's actual login is over HTTPS, we're going to trick you into signing in on our page. 227 00:16:24,720 --> 00:16:26,780 This is 2015. 228 00:16:27,300 --> 00:16:31,000 So why was this such a big deal? 229 00:16:31,000 --> 00:16:32,780 Why was this so hard? 230 00:16:32,920 --> 00:16:39,780 So the first reason that HTTPS wasn't ubiquitous was setting up TLS was tedious. 231 00:16:39,920 --> 00:16:48,560 Like, this is a page from DreamHost about how to set up HTTPS on DreamHost if you were hosted on their service. 232 00:16:48,860 --> 00:16:55,360 And it is just... even for an actual sysadmin, it's just a tedious ton of stupid work. 233 00:16:55,360 --> 00:16:57,660 Like, it's just a bunch of manual steps. 234 00:16:58,560 --> 00:17:00,500 It's also really hard. 235 00:17:00,560 --> 00:17:16,680 There's all this... every time a new exploit or new vulnerability in some part, some cipher comes out or something like that, some configuration of TLS, unless you're a crypto expert, you're not going to understand this stuff. 236 00:17:17,100 --> 00:17:23,640 And not everyone who runs a website is a crypto expert, nor should we expect everyone who runs a website to be a crypto expert. 237 00:17:24,180 --> 00:17:29,800 We want to make the web easy to use both to access but also to put content up there. 238 00:17:31,980 --> 00:17:37,780 So, I mean, there are entire books written on how to set up TLS properly. 239 00:17:37,780 --> 00:17:50,340 And if you're like a mom and pop shop, you just want to put up your website so that people can see that you've got a restaurant or something, you don't have to read a freaking book to know how to set up your website securely. 240 00:17:51,720 --> 00:17:58,820 So, TLS wasn't ubiquitous because the one thing I also missed is it costs money most of the time. 241 00:17:59,040 --> 00:18:05,840 You have to pay a service, a certificate authority, to get a certificate that you would then post on your website. 242 00:18:05,840 --> 00:18:08,240 You have to pay for that HTTPS certificate. 243 00:18:08,360 --> 00:18:09,700 It was also tedious. 244 00:18:09,980 --> 00:18:11,400 It was also very hard. 245 00:18:11,400 --> 00:18:14,500 So, this makes me sad. 246 00:18:14,800 --> 00:18:19,980 But, what if we told you we could fix every single one of those problems? 247 00:18:20,440 --> 00:18:26,420 So, back in, I guess, around 2016, EFF started brainstorming. 248 00:18:26,420 --> 00:18:27,480 Well, how can we fix this? 249 00:18:27,480 --> 00:18:30,140 Like, this is a fundamental infrastructure problem. 250 00:18:30,140 --> 00:18:33,600 And so, the answer is to make the infrastructure better. 251 00:18:34,080 --> 00:18:37,220 So, we decided to fix that by creating a... 252 00:18:37,220 --> 00:18:38,580 I'm sorry, it wasn't even 2016. 253 00:18:38,580 --> 00:18:39,040 It was earlier. 254 00:18:39,040 --> 00:18:41,360 It was 2014 when we started thinking about it. 255 00:18:41,360 --> 00:18:43,920 We decided to create a certificate authority. 256 00:18:44,060 --> 00:18:49,820 So, the certificate authority is the entity that issues certificates, which you can then put on your website. 257 00:18:50,760 --> 00:18:55,240 That's how the browser verifies the HTTPS connection. 258 00:18:56,320 --> 00:19:05,040 And so, the goal of Let's Encrypt wasn't just to make sure that we could give everyone certificates, but it was to eliminate all of the obstacles in getting HTTPS set up properly. 259 00:19:06,780 --> 00:19:09,640 Whoops, that was wrong button. 260 00:19:10,020 --> 00:19:13,300 So, the first problem, TLS is not ubiquitous. 261 00:19:13,440 --> 00:19:22,560 The answer, let's automate certificate issuance and make it free so that everyone can get a certificate and you don't have to follow a bunch of manual steps. 262 00:19:22,560 --> 00:19:27,380 So, you can type in one or two commands in the command line and just get your certificate. 263 00:19:27,380 --> 00:19:28,900 It will be set up. 264 00:19:29,720 --> 00:19:37,200 And the solution to this was we created an open protocol for requesting and getting a certificate called ACME. 265 00:19:38,360 --> 00:19:42,560 I can no longer remember what it stands for. 266 00:19:42,560 --> 00:19:45,220 It's something certificate management something. 267 00:19:45,560 --> 00:19:47,080 But it doesn't matter. 268 00:19:47,080 --> 00:19:50,380 The point is, it is a protocol that is open. 269 00:19:50,380 --> 00:19:57,540 So, any server, any certificate authority can use this protocol to issue certificates. 270 00:19:57,780 --> 00:20:02,820 And in particular, fun fact, Let's Encrypt is no longer the only certificate authority using ACME. 271 00:20:02,980 --> 00:20:09,380 I believe... man, I'm forgetting which one. 272 00:20:09,620 --> 00:20:13,620 There's another major certificate authority that is now also using ACME. 273 00:20:13,620 --> 00:20:18,960 I forget if it's Komodo or the result of Komodo or something else. 274 00:20:18,960 --> 00:20:22,900 But the open part of it worked, which is exciting. 275 00:20:24,160 --> 00:20:25,880 So, how ACME works. 276 00:20:26,320 --> 00:20:27,720 First, there's an ACME client. 277 00:20:27,720 --> 00:20:28,820 This is your web server. 278 00:20:28,820 --> 00:20:33,100 The client is the thing that wants to get the certificate so they can put it on a web server. 279 00:20:33,500 --> 00:20:36,040 And then there's an ACME server, the certificate authority. 280 00:20:37,080 --> 00:20:48,980 A lot of you are probably thinking, wait a second, we can't just give out certificates willy-nilly because then I could request a certificate for Google.com and then I could spoof Google and scoop up everyone's Gmail passwords. 281 00:20:49,380 --> 00:20:57,600 And so the way it works is the ACME client tells the server, I want to search for example.com and here's the public key I want to put in that certificate. 282 00:20:58,020 --> 00:21:03,140 And then the server, again, this is the certificate authority, says, OK, that's great. 283 00:21:03,380 --> 00:21:04,680 Here's a nonce. 284 00:21:04,680 --> 00:21:11,940 Here's some random string and I want you to post it at example.com slash nonce and sign it with the corresponding private key. 285 00:21:12,140 --> 00:21:25,500 And so what that does is first, that verifies that if I can post it at example.com slash nonce, that pretty well establishes that I have control of that domain and the server that is serving content from that domain. 286 00:21:25,800 --> 00:21:29,520 Because what will happen is I'll say, great, it's posted. 287 00:21:29,840 --> 00:21:33,360 And then the ACME server is going to just try to get that nonce. 288 00:21:33,400 --> 00:21:40,660 And if it can get that nonce over, and of course, there are a couple of other issues with this. 289 00:21:40,660 --> 00:21:43,740 So if there was DNS hijacking, that would defeat this. 290 00:21:43,740 --> 00:21:45,240 So we are relying on DNS. 291 00:21:46,260 --> 00:21:57,840 Another thing that we're looking at implementing, and if this is going over your head, don't worry about it, is doing this from multiple perspectives on the Internet so you can't just hijack one route. 292 00:21:58,500 --> 00:22:13,900 But basically, if the server can get that nonce, then it knows this machine I was talking to controls this domain and also can put stuff on the web, on port 80 for that domain. 293 00:22:14,040 --> 00:22:19,060 And so if that's enough, if it can do that, then it can do whatever it wants on that domain. 294 00:22:19,060 --> 00:22:19,700 So that's good enough. 295 00:22:19,700 --> 00:22:21,220 It obviously has control. 296 00:22:21,720 --> 00:22:24,540 And so the server will get that nonce. 297 00:22:25,360 --> 00:22:29,740 Of course, the web server will respond with the nonce and the signature. 298 00:22:29,980 --> 00:22:41,600 And then now the ACME server knows this web server controls the domain, can put content there, controls the public key because it signed that nonce with the private key. 299 00:22:41,600 --> 00:22:44,480 And so of course the ACME server can verify that. 300 00:22:44,700 --> 00:22:53,800 And so then it says signature checks out, so you control the public key, you control the server, you control the DNS, so here's your certificate. 301 00:22:54,400 --> 00:23:01,900 And so now in an automated way, this is all happening over the ACME protocol, you can get a certificate and prove that you control the domain. 302 00:23:03,920 --> 00:23:06,320 So that's how the protocol works. 303 00:23:06,320 --> 00:23:10,260 How do we actually get that certificate on the other side? 304 00:23:10,760 --> 00:23:15,940 So what we do is we created a client or an agent that basically gets it right. 305 00:23:15,940 --> 00:23:34,080 We created a piece of software you can use over the command line, very simple, that will not only use the ACME protocol to talk to the ACME server, get the certificate, but also if you're using Apache or NGINX, it will install the certificate and configure it for you. 306 00:23:34,080 --> 00:23:44,760 So you don't even have to think about like, where do I put it, how do I set this up, what cipher suite should I be using, it will use sensible defaults and do it for you. 307 00:23:45,560 --> 00:23:51,960 Again, it will tweak your existing web server to pass those challenges, so what I just showed you that back and forth was called a challenge. 308 00:23:51,960 --> 00:23:59,500 It will install the cert, it will tweak the security options, plus it's going to automate renewals, certificates expire. 309 00:23:59,740 --> 00:24:08,860 And in particular, since we're doing this in an automated fashion, what we decided was we wanted a very quick expiration just in case something went wrong. 310 00:24:08,860 --> 00:24:12,360 And so let's encrypt certificates expire after 90 days. 311 00:24:12,380 --> 00:24:17,180 And nobody is going to always remember to renew their certificate, I guarantee you. 312 00:24:17,180 --> 00:24:22,260 So because computers are good at doing things on a schedule, we'll have the computer do it for you. 313 00:24:22,260 --> 00:24:27,160 We'll have your server automate the renewal and some of these security response tasks. 314 00:24:28,060 --> 00:24:30,080 So what kinds of automation happen? 315 00:24:30,080 --> 00:24:42,780 Well, like I said, easy ones, cipher tuning, if you're doing OCSP, OCSP stapling, you could also set up upgrade insecure for content security policies. 316 00:24:44,180 --> 00:24:59,540 There are some features where if you want to do redirect from HTTP to HTTPS by default, then you can tell this software, which is called Certbot, you can tell it, I've set that up on my server too, so I don't even have to think about it. 317 00:24:59,540 --> 00:25:03,300 So install the cert and set up automatic redirects to HTTPS. 318 00:25:04,220 --> 00:25:07,900 What we haven't quite gotten to yet is full rewrites. 319 00:25:07,900 --> 00:25:19,640 So if you want to actually automatically rewrite all of the content on your web server to use HTTPS instead of HTTP, like if you've got hard-coded links, Certbot doesn't quite do that yet. 320 00:25:19,640 --> 00:25:30,080 That's a little bit harder, but it does support HSTS, which is a protocol that a web server can use to say, when you connect to me, always use HTTPS. 321 00:25:30,080 --> 00:25:35,880 It's kind of like the server's way of saying, use HTTPS everywhere, essentially. 322 00:25:37,280 --> 00:25:45,860 And then there's even harder stuff like mixed content auditing and correction and HTTP public key pinning, which we're probably never actually going to implement. 323 00:25:46,520 --> 00:25:47,940 But this is the software. 324 00:25:47,940 --> 00:25:48,740 It's called Certbot. 325 00:25:48,740 --> 00:25:50,540 It'll do all of those things. 326 00:25:50,820 --> 00:25:52,860 Not only that, it supports plugins. 327 00:25:52,960 --> 00:25:58,620 So if you want it to work on a different web server, you can write a plugin for that. 328 00:25:58,960 --> 00:26:00,360 There are different challenges. 329 00:26:00,360 --> 00:26:02,280 So the challenge I showed you is just one challenge. 330 00:26:02,280 --> 00:26:03,960 There's also other challenges. 331 00:26:03,980 --> 00:26:07,620 Say you want a wildcard certificate. 332 00:26:07,620 --> 00:26:10,280 So you don't want a certificate just for example.com. 333 00:26:10,280 --> 00:26:12,860 You want one for star.example.com. 334 00:26:13,280 --> 00:26:14,620 That's a different challenge. 335 00:26:14,620 --> 00:26:16,760 You have to actually do the challenge over DNS. 336 00:26:17,420 --> 00:26:22,920 And thanks to various plugins, Certbot will automate that for various DNS providers, too. 337 00:26:23,640 --> 00:26:25,840 It works on most Unix-based systems. 338 00:26:26,440 --> 00:26:30,520 And pretty soon it's also going to work on Windows, which we're really excited about. 339 00:26:32,340 --> 00:26:34,240 So actually this is not current events. 340 00:26:34,240 --> 00:26:36,580 This is, God, eight months ago events. 341 00:26:38,900 --> 00:26:41,200 So this is just giving you an example. 342 00:26:41,220 --> 00:26:42,640 As some of you probably remember, the U.S. 343 00:26:42,640 --> 00:26:46,320 government shut down about eight months ago. 344 00:26:46,480 --> 00:26:50,500 And all of a sudden a bunch of websites went down, U.S. 345 00:26:50,500 --> 00:26:53,100 government websites, because their certificates weren't renewed. 346 00:26:53,160 --> 00:26:54,780 They should have been using Certbot. 347 00:26:56,060 --> 00:26:58,660 Obviously that would have been solution one, automating renewal. 348 00:26:58,960 --> 00:27:01,580 You might as well automate this task. 349 00:27:01,580 --> 00:27:02,580 It's easy. 350 00:27:03,080 --> 00:27:07,920 Maybe the other solution is don't shut down the government over stupid budget disputes. 351 00:27:08,300 --> 00:27:10,720 But this is not a political talk. 352 00:27:11,520 --> 00:27:14,040 EFF is a nonpartisan organization. 353 00:27:14,240 --> 00:27:15,580 No, I'm just kidding. 354 00:27:16,260 --> 00:27:18,060 Encryption is inherently political. 355 00:27:18,320 --> 00:27:23,600 Encryption may not be partisan, but it is political in that it does equalize power. 356 00:27:23,700 --> 00:27:30,520 It allows people who normally wouldn't have the power to keep their information, their communication secret, secret. 357 00:27:31,320 --> 00:27:33,640 And that's part of why EFF does its work. 358 00:27:33,640 --> 00:27:36,460 We want to give everyone this ability. 359 00:27:37,040 --> 00:27:39,140 So anyway, HTTPS for everybody. 360 00:27:39,140 --> 00:27:39,980 We've got Let's Encrypt. 361 00:27:39,980 --> 00:27:41,680 We've got Certbot. 362 00:27:41,680 --> 00:27:43,000 We've got security. 363 00:27:43,000 --> 00:27:44,120 It's usable. 364 00:27:44,580 --> 00:27:49,860 We've got transparency with Let's Encrypt now being part of certificate transparency. 365 00:27:49,860 --> 00:27:50,540 We're great. 366 00:27:50,540 --> 00:27:51,620 We're set, right? 367 00:27:51,860 --> 00:27:54,740 And the answer is actually, yeah, we did pretty awesome. 368 00:27:54,760 --> 00:28:01,720 So this is a chart of how many fully qualified domains are using the Let's Encrypt certificate authority. 369 00:28:02,120 --> 00:28:12,700 And so you can see back when we launched, when we actually went into a public beta, and, God, this thing's actually a year old and it's at 140 million certificates. 370 00:28:12,700 --> 00:28:17,220 So this blue line is fully qualified domains, and that's 140 million. 371 00:28:17,600 --> 00:28:20,820 The dotted line in the middle is certificates active. 372 00:28:20,820 --> 00:28:25,000 So there could be multiple domains per certificate, which is why that number is lower. 373 00:28:25,220 --> 00:28:28,840 And then this is the number of registered domains that are active. 374 00:28:29,060 --> 00:28:35,460 So no matter how you slice it, basically Let's Encrypt is now the largest certificate authority in the world. 375 00:28:35,460 --> 00:28:41,760 And so we are basically a fundamental part of encrypting the Internet, which I think is pretty awesome. 376 00:28:42,200 --> 00:28:46,280 And if you look, I think we had something to do with this upward trend. 377 00:28:46,280 --> 00:28:56,940 Now, to be clear, Let's Encrypt didn't single-handedly make this trend go from 30% encryption to, at the beginning of 2019, almost 80% encrypted page loads. 378 00:28:56,940 --> 00:28:58,040 There were other things. 379 00:28:58,040 --> 00:28:59,860 The browsers definitely helped. 380 00:28:59,860 --> 00:29:11,240 When Google and Firefox decided to say, we're going to work pages as insecure instead of secure, so that people start feeling creeped out when they're using an HTTP page, that definitely helped. 381 00:29:11,240 --> 00:29:17,660 Because now sysadmins are like, well, crap, I've got to upgrade just so my website doesn't look shady. 382 00:29:20,080 --> 00:29:28,420 Other things that look good, HTTP2 is going to be encrypted by default, and that is the only way it will be supported by all of the major browsers. 383 00:29:29,300 --> 00:29:34,040 So if you upgrade to HTTP2, the answer is, everything is going to be encrypted. 384 00:29:35,420 --> 00:29:36,520 But there's more. 385 00:29:37,220 --> 00:29:40,560 EFF is not satisfied with just the web. 386 00:29:40,680 --> 00:29:41,900 The web is not enough. 387 00:29:41,900 --> 00:29:44,460 There are other things that we want to encrypt. 388 00:29:45,540 --> 00:29:52,480 And so for the last 20 minutes of this talk, I'm going to be talking about a couple of other things that we really want to see get encrypted. 389 00:29:54,120 --> 00:30:01,260 So, in order, they are TLS, SNI, and I'll explain what all of these are, encrypted DNS, and start TLS. 390 00:30:01,920 --> 00:30:04,180 So, SNI. 391 00:30:04,420 --> 00:30:15,000 So this is a weird quirk, and all credit due to CloudFlare for making this awesome image, which I am using as fair use, because I work at EFF, and I know what that means. 392 00:30:16,500 --> 00:30:20,380 When you go to an HTTPS page, there is still information being leaked. 393 00:30:20,380 --> 00:30:26,880 And in particular, I know it's really tiny to see, but, so this is the website you're going to visit. 394 00:30:26,880 --> 00:30:37,880 When you send the initial connection to that web server, you have to tell it, this is the domain name I'm trying to visit, and that has to be sent in the clear at the moment. 395 00:30:38,340 --> 00:30:39,800 And so that gets leaked. 396 00:30:39,820 --> 00:30:52,020 The actual page you're visiting, so if you're visiting example.com slash index.html, the index.html gets obfuscated, but example.com gets leaked. 397 00:30:52,020 --> 00:31:00,180 And in particular, if this is sitting on a CDN, then that's telling the adversary which domain you're visiting. 398 00:31:00,180 --> 00:31:04,400 Because it could have been example.com, it could have been EFF.org, if they're all on the same CDN. 399 00:31:04,400 --> 00:31:06,020 But now the adversary knows. 400 00:31:07,240 --> 00:31:09,040 And so they can see that. 401 00:31:09,620 --> 00:31:19,780 And then, again, after that, everything is sent encrypted, but not until the adversary, someone listening on the wire, can know what domain you visited. 402 00:31:20,080 --> 00:31:21,500 So the solution? 403 00:31:21,500 --> 00:31:22,860 Encrypt the damn thing! 404 00:31:22,860 --> 00:31:26,940 So encrypted SNI... oh, I should mention. 405 00:31:26,940 --> 00:31:29,020 SNI stands for server name indication. 406 00:31:29,020 --> 00:31:32,800 It indicates to the server the domain name that you're trying to visit. 407 00:31:33,260 --> 00:31:35,380 So the solution is to encrypt it. 408 00:31:35,780 --> 00:31:40,080 And so there is now a RFC out there. 409 00:31:40,700 --> 00:31:43,040 It's still a bit in flux. 410 00:31:43,400 --> 00:31:51,760 But you can now essentially send that server name in an encrypted way by getting a certificate ahead of time. 411 00:31:51,760 --> 00:31:56,920 And so now the adversary cannot tell what domain you're visiting. 412 00:31:57,340 --> 00:31:58,240 So great. 413 00:31:58,360 --> 00:31:59,980 But what about this side over here? 414 00:31:59,980 --> 00:32:01,640 I've been pointing over at this side. 415 00:32:01,640 --> 00:32:04,500 I've conveniently ignored the DNS side of things. 416 00:32:04,620 --> 00:32:07,400 That is still going to leak the domain name you're visiting. 417 00:32:07,400 --> 00:32:10,080 Because DNS, by default, is sent in the clear. 418 00:32:10,080 --> 00:32:11,660 It's an unencrypted protocol. 419 00:32:11,680 --> 00:32:16,000 And again, if an adversary is listening in, they can see that. 420 00:32:16,360 --> 00:32:18,100 So let's just encrypt all of it. 421 00:32:18,100 --> 00:32:19,920 Let's encrypt the DNS, too. 422 00:32:20,680 --> 00:32:24,640 So there are currently two different protocols that are competing for encrypted DNS. 423 00:32:24,660 --> 00:32:28,760 One is called DNS over HTTPS, and it's exactly what you think. 424 00:32:29,020 --> 00:32:33,780 It sets up an HTTPS connection and then makes a DNS query over it. 425 00:32:33,780 --> 00:32:37,060 And the other is DNS over TLS, which also is exactly what you think. 426 00:32:37,060 --> 00:32:40,720 It sets up a TLS connection, but doesn't build the stack all the way up to HTTPS. 427 00:32:40,720 --> 00:32:43,040 It just sends the DNS request over TLS. 428 00:32:43,480 --> 00:32:45,360 And they have some different pros and cons. 429 00:32:46,120 --> 00:32:50,860 DNS over HTTPS, it's harder for censorship-prone regimes to censor. 430 00:32:50,860 --> 00:32:52,980 And the reason is, it looks like HTTPS traffic. 431 00:32:52,980 --> 00:33:00,020 Unless you start doing a serious traffic analysis, it just looks like something going over port 443. 432 00:33:00,020 --> 00:33:05,060 And so the only way to censor it is to block all of the HTTPS traffic. 433 00:33:06,220 --> 00:33:12,960 The downside, it's harder for network operators to monitor for malicious activity because it looks just like all other HTTPS traffic. 434 00:33:12,960 --> 00:33:22,160 And so if there's malware in your network and it's making DNS queries over HTTPS, it's going to be very difficult for you to tell that versus other HTTPS traffic. 435 00:33:22,640 --> 00:33:27,160 And it's basically the inverse for DNS over TLS. 436 00:33:29,140 --> 00:33:32,020 EFF does not have a strong position on either of these. 437 00:33:32,020 --> 00:33:33,960 We just want to get DNS encrypted. 438 00:33:34,140 --> 00:33:37,320 So if you have a strong position on either of these, come tell me. 439 00:33:37,320 --> 00:33:43,800 I won't promise I will be fully convinced, but I am open to hearing good arguments for either side. 440 00:33:43,940 --> 00:33:47,120 Either way, this is the future. 441 00:33:47,120 --> 00:33:49,140 Encrypted DNS is the future. 442 00:33:49,320 --> 00:33:59,100 And we're going to see, we believe, ISPs and also other providers, DNS providers, move towards encrypted DNS. 443 00:34:00,340 --> 00:34:07,040 And in fact, EFF is going to do another encrypting the net scorecard before too long and both of these things are going to be on it. 444 00:34:07,240 --> 00:34:09,340 Does your website support ESNI? 445 00:34:09,340 --> 00:34:12,480 And if you're a DNS provider, do you support DOH or DOT? 446 00:34:13,260 --> 00:34:14,660 Don't ask me when. 447 00:34:15,820 --> 00:34:18,700 It will happen in the impending future. 448 00:34:20,180 --> 00:34:24,060 But certainly if you work for a company, you should be thinking about these sorts of things. 449 00:34:24,300 --> 00:34:29,680 Certainly if you work for a company that will get on EFF encrypting the net scorecard, it's coming. 450 00:34:31,140 --> 00:34:32,620 What about e-mail? 451 00:34:32,620 --> 00:34:35,120 So far I've been talking mostly about web stuff. 452 00:34:35,120 --> 00:34:37,540 DNS supports the web. 453 00:34:37,900 --> 00:34:41,580 E-mail is the cockroach that will not die. 454 00:34:41,940 --> 00:34:52,660 When the singularity has come and the hive mind, as we are all part of the hive mind, the hive mind will still communicate with itself via e-mail because e-mail will not die. 455 00:34:53,400 --> 00:34:55,240 So we need to fix e-mail. 456 00:34:55,240 --> 00:35:05,060 So the way e-mail works is you're on some client, either you're on Gmail's webmail client or you've got Thunderbird or something. 457 00:35:05,060 --> 00:35:08,880 And when you're communicating to your e-mail server, it's probably encrypted. 458 00:35:09,160 --> 00:35:15,560 And then when your friend is reading their e-mail again, they're talking to their e-mail server, it's probably encrypted. 459 00:35:15,740 --> 00:35:21,400 But there's this thing in the middle between e-mail servers that may or may not be encrypted. 460 00:35:21,400 --> 00:35:26,680 And that's an issue because that is a point where an adversary could listen in on e-mail. 461 00:35:27,760 --> 00:35:32,340 And so there's this protocol called start TLS which is meant to solve this. 462 00:35:32,840 --> 00:35:45,200 And the way it works is essentially what happens is when these two mail servers are talking to each other, the first one will say, hey, do you support start TLS? 463 00:35:45,200 --> 00:35:46,760 Do you support TLS basically? 464 00:35:46,760 --> 00:35:48,740 And then the other one will say, sure. 465 00:35:48,740 --> 00:35:53,180 And then they'll say, okay, great, I'm going to set up a TLS connection to you and everything will be encrypted. 466 00:35:53,480 --> 00:35:56,200 The problem is that first message is sent in the clear. 467 00:35:56,560 --> 00:36:05,420 And so if there's a man in the middle attack, when this first server tries to connect, Google will say, yeah, I support TLS. 468 00:36:05,420 --> 00:36:06,420 Let's do this encrypted. 469 00:36:06,420 --> 00:36:08,580 But the man in the middle will just strip that right out. 470 00:36:09,360 --> 00:36:14,400 And the first mail server has no way of knowing that that's happened because all of this was sent in the clear. 471 00:36:14,400 --> 00:36:15,680 There's no authentication. 472 00:36:15,680 --> 00:36:16,660 There's nothing. 473 00:36:16,660 --> 00:36:20,300 And so it's trivially simple to strip that out. 474 00:36:20,620 --> 00:36:21,940 So that's a problem. 475 00:36:23,620 --> 00:36:43,260 Additionally, so the other issue is that many mail servers, even if they do support start TLS, they're using self-signed certificates for that TLS connection, which means that nobody on this end is ever checking the authenticity and verifying the certificate. 476 00:36:43,260 --> 00:36:48,120 They're not trying to say, does this chain up to a valid certificate authority, to a root certificate? 477 00:36:48,840 --> 00:36:58,080 And so again, an attacker can sit in the middle and provide their own self-signed certificate, and the originating mail server sending the mail is going to be none the wiser. 478 00:36:58,260 --> 00:37:03,440 And actually, since on this side they're not checking the certificate either, Google isn't going to be any the wiser. 479 00:37:03,640 --> 00:37:09,160 And so both of these mail servers will think, oh, everything was fine, the connection was encrypted. 480 00:37:09,160 --> 00:37:21,400 But in fact, there was an attacker in the middle who was encrypting traffic to Google, decrypting it, re-encrypting it to EFF, EFF would send traffic, and then they'd decrypt it, re-encrypt it, et cetera. 481 00:37:21,400 --> 00:37:24,500 So it's, again, a really big deal. 482 00:37:25,300 --> 00:37:27,080 And this isn't theoretical. 483 00:37:27,620 --> 00:37:36,720 20% of the Alexa top million domains that support connections, incoming email connections, don't use start TLS. 484 00:37:37,220 --> 00:37:40,520 40% of them present invalid certificates. 485 00:37:41,080 --> 00:37:49,000 And I don't know what the hell is going on in Tunisia, but 96% of the traffic is stripped of those start TLS headers. 486 00:37:49,000 --> 00:37:54,940 So someone is actually going in there and removing the start TLS header and preventing the encryption. 487 00:37:55,720 --> 00:37:58,080 Also, what the hell is going on? 488 00:37:58,080 --> 00:38:05,460 Like , you know, maybe I understand that a lot of these places are in, you know, like Uzbekistan. 489 00:38:05,460 --> 00:38:08,740 Maybe I don't expect Uzbekistan to have the best security on the network. 490 00:38:08,740 --> 00:38:10,400 What the hell is going on in Denmark? 491 00:38:11,020 --> 00:38:14,680 Like, 4% of traffic of the TLS is being stripped. 492 00:38:14,680 --> 00:38:16,700 Also, this was in 2015, I should note. 493 00:38:16,700 --> 00:38:19,900 So it can be a little bit out of date, but it's definitely happening. 494 00:38:21,860 --> 00:38:24,480 So trivial downgrade attacks, trivial impersonation attacks. 495 00:38:24,480 --> 00:38:39,460 The solution is a new specification called MTA-STS, which stands for Mail Transport Agent Strict Transport Security, which is basically a... well, let's get into it. 496 00:38:39,740 --> 00:38:44,240 It's a way for a mail server to say, always use TLS to connect to me. 497 00:38:45,380 --> 00:38:47,800 So the way it works is say I've got... 498 00:38:48,320 --> 00:38:51,860 I use EFF, and I'm trying to send mail to somebody in Google. 499 00:38:53,100 --> 00:38:58,820 So first, my mail goes to the EFF mail server, and then it's trying to figure out what do I do with this. 500 00:38:58,820 --> 00:39:00,080 So it goes to the DNS provider. 501 00:39:00,080 --> 00:39:11,620 And it goes to the DNS provider and says, hey, does gmail.com have a particular text record in its DNS corresponding to this MTA-STS field? 502 00:39:12,020 --> 00:39:15,620 And then presumably Google has already set this up ahead of time. 503 00:39:15,620 --> 00:39:18,280 And it says, yes, here's this record. 504 00:39:18,660 --> 00:39:22,300 And the record points to an HTTPS address. 505 00:39:23,180 --> 00:39:28,740 The HTTPS address hosts gmail's MTA-STS policy. 506 00:39:28,740 --> 00:39:34,820 The policy is basically just saying, here's a text document which says, these are the servers that you should be... 507 00:39:34,820 --> 00:39:41,420 If you're trying to send mail to gmail.com, these are the actual MX addresses that will answer for that. 508 00:39:41,500 --> 00:39:44,760 Also, you can be in testing or enforced mode. 509 00:39:44,760 --> 00:39:51,580 If you want to make sure your configuration is working before you start rejecting email and mass, you can put it in testing mode. 510 00:39:51,580 --> 00:40:01,340 And that way, even if things don't check out with MTA-STS, in testing mode, the sending mail server is still supposed to send the email. 511 00:40:01,340 --> 00:40:07,380 It will post a log to you saying there were these issues, but you won't start getting mail rejected. 512 00:40:09,340 --> 00:40:13,320 So this web server says, okay, here's the MTA-STS policy. 513 00:40:13,720 --> 00:40:18,240 And then I go to gmail and say, let's start a TLS connection. 514 00:40:18,580 --> 00:40:20,740 And then gmail says, great. 515 00:40:20,980 --> 00:40:23,080 And then you get your TLS connection. 516 00:40:24,700 --> 00:40:28,980 And so what would have happened if there was this attacker in the middle? 517 00:40:29,540 --> 00:40:34,440 Well, let's say that this destination was in gmail.com's MTA-STS policy. 518 00:40:35,180 --> 00:40:37,420 Let's just assume it's gmail.com. 519 00:40:39,540 --> 00:40:44,680 Then essentially what will happen is, I will try to start the TLS connection. 520 00:40:45,100 --> 00:40:48,180 The attacker will strip out that start TLS header. 521 00:40:48,180 --> 00:40:50,660 And then I'll say, holy crap, something's going on. 522 00:40:52,080 --> 00:40:55,260 According to gmail's policy, it's supposed to be using TLS. 523 00:40:55,260 --> 00:40:56,640 It's supposed to be encrypted. 524 00:40:56,800 --> 00:40:59,920 So I'm not going to send the e-mail if it's in enforced mode. 525 00:40:59,920 --> 00:41:01,820 I'll still send the e-mail if it's in testing mode. 526 00:41:01,820 --> 00:41:09,500 But either way, the other part of the policy is basically a reporting mechanism. 527 00:41:09,500 --> 00:41:13,740 You can either send the report over e-mail or post it to a specific URL. 528 00:41:13,980 --> 00:41:24,240 But I can essentially communicate to gmail that something shady went on, so either you didn't get the e-mail or I still sent it to you, but somebody was trying to strip away this encryption. 529 00:41:25,500 --> 00:41:26,640 So that's great. 530 00:41:26,640 --> 00:41:28,720 How do we actually get this out in the wild? 531 00:41:29,060 --> 00:41:31,100 How do we actually make this happen? 532 00:41:31,660 --> 00:41:34,920 Well, we started a project called start TLS everywhere. 533 00:41:35,080 --> 00:41:41,160 And the goal of the start TLS everywhere project is to promote the spec, get mail servers to use it. 534 00:41:42,420 --> 00:41:45,520 It will also maintain a start TLS policy list. 535 00:41:45,520 --> 00:41:55,120 So as you probably noticed, there is this potential still for a downgrade attack if a attacker can intercept your DNS requests. 536 00:41:55,200 --> 00:41:59,020 And basically say, you know, we go back to this point right here. 537 00:41:59,940 --> 00:42:03,940 And say, does gmail have a MTSTS text record? 538 00:42:03,940 --> 00:42:10,460 And if they can intercept that first request and say no, then I will think, oh, gmail doesn't support MTSTS. 539 00:42:10,540 --> 00:42:20,280 And so what the start TLS everywhere policy or the start TLS policy list is, is it is a preloaded list that you can download from a different channel. 540 00:42:20,340 --> 00:42:25,100 It's basically an out-of-band way to get a list of websites that support MTSTS. 541 00:42:25,380 --> 00:42:33,880 And so now an attacker would not only have to intercept your DNS, they would also have to basically block your ability to connect to EFF's website. 542 00:42:33,900 --> 00:42:39,240 And if that's happening, then probably something shady is going on if you can't connect to EFF's website. 543 00:42:39,900 --> 00:42:41,980 We also want to lower the barriers to entry. 544 00:42:41,980 --> 00:42:47,020 It's really hard to run a secure mail server in the same way it was hard to run a secure web server. 545 00:42:48,400 --> 00:42:52,420 So in terms of promoting MTSTS adoption, there are a couple steps. 546 00:42:52,840 --> 00:42:56,360 First, we have to make sure that mail servers actually support start TLS. 547 00:42:57,360 --> 00:42:59,920 Then we have to make sure mail servers can get certificates. 548 00:43:00,480 --> 00:43:14,940 We have to make it easy for sysadmins to receive those failure reports because no sysadmin is going to set this up and be like, man, I don't care if e-mail isn't getting through anymore because if the e-mail isn't getting through anymore, you get fired and then you don't have a job and then it doesn't matter what great security things you did. 549 00:43:15,880 --> 00:43:24,620 So we want to make it easy for sysadmins not only to receive those failure reports but also to post them to other mail servers when you are sending the mail. 550 00:43:25,480 --> 00:43:31,580 And also make sure the MTS software finally knows how to check for and use MTS policies. 551 00:43:32,700 --> 00:43:35,540 So there's actually quite a few steps to make MTS work. 552 00:43:35,540 --> 00:43:36,500 So how are we going to do this? 553 00:43:36,500 --> 00:43:44,700 Well, step one is the good news is mail servers already all support start TLS. 554 00:43:44,920 --> 00:43:47,860 Maybe they are not configured to use it but they all support it. 555 00:43:48,940 --> 00:43:51,280 Step two, getting a certificate. 556 00:43:51,520 --> 00:43:55,660 Well, the good news is we happen to already have some software you can use to get a certificate. 557 00:43:55,660 --> 00:44:04,660 So you can use certbot and we have guides for how to use certbot to get a certificate for postfix, XM, send mail. 558 00:44:04,660 --> 00:44:09,260 You can check out all of these if you run a mail server and it will walk you through. 559 00:44:09,260 --> 00:44:10,840 This is how you get a certificate. 560 00:44:10,860 --> 00:44:12,400 This is how you install it. 561 00:44:12,700 --> 00:44:16,940 It is not quite yet just one click and it installs it for you. 562 00:44:16,940 --> 00:44:24,720 That was actually due to a lot of feedback we got from sysadmins who told us my mail system set up is so convoluted I don't want you touching it. 563 00:44:24,720 --> 00:44:26,340 Just tell me where to put the certificate. 564 00:44:26,340 --> 00:44:27,780 I will take over from there. 565 00:44:28,160 --> 00:44:29,740 That is what we did. 566 00:44:29,880 --> 00:44:31,680 Here is how you get the certificate. 567 00:44:31,720 --> 00:44:33,320 You put it wherever you want. 568 00:44:33,640 --> 00:44:37,400 If you are using a default install, here is where you put it. 569 00:44:38,940 --> 00:44:41,160 That was supposed to be a green check mark again. 570 00:44:41,160 --> 00:44:42,260 Sorry about the fonts. 571 00:44:43,220 --> 00:44:45,520 Step three, receiving failure reports. 572 00:44:45,960 --> 00:44:54,700 This is the RFC for MTSDF and in particular it is a complimentary RFC for the reporting part. 573 00:44:54,700 --> 00:44:57,940 The report may be delivered by e-mail. 574 00:44:58,060 --> 00:45:01,960 The good news is if you have a mail server, it can send e-mail. 575 00:45:02,720 --> 00:45:04,940 And it can also receive e-mail. 576 00:45:05,080 --> 00:45:16,420 All we have to do is basically set it up so that when your mail server encounters some sort of error trying to connect, we just have to set up so it can send a report over e-mail. 577 00:45:16,420 --> 00:45:22,500 We don't have to create a new web server for you to receive reports via post or anything like that. 578 00:45:22,500 --> 00:45:23,760 We are just going to say do it over e-mail. 579 00:45:23,760 --> 00:45:24,460 It is fine. 580 00:45:26,300 --> 00:45:28,360 Posting MTSDS records and policies. 581 00:45:28,360 --> 00:45:33,700 This is like how do I actually tell the world that my server supports MTSDS? 582 00:45:34,140 --> 00:45:37,560 To do this, this is something we are still working on. 583 00:45:37,700 --> 00:45:49,020 Basically on the start TLS everywhere website, we are going to have basically a form you can fill out where you put in the details of like this is my MX domain. 584 00:45:49,020 --> 00:45:51,540 This is the actual domain for e-mails. 585 00:45:51,580 --> 00:45:53,840 This is where I am going to post my policy. 586 00:45:53,840 --> 00:46:00,600 And then it will turn all of that into a valid MTSDS policy and tell you what DNS records to put it in. 587 00:46:00,700 --> 00:46:02,000 We are working on that. 588 00:46:02,000 --> 00:46:06,900 It is basically a web tool you can use to generate the policies and guide you through how to set it up. 589 00:46:07,120 --> 00:46:11,500 It is not quite ready yet, but it is something we are working on. 590 00:46:12,380 --> 00:46:17,760 And then last but not least is getting MTAs to actually use MTSDS. 591 00:46:17,760 --> 00:46:21,700 This is actually getting the actual mail transfer software. 592 00:46:21,700 --> 00:46:29,260 This is getting DoveCod or XM or SendMail to actually pay attention to request the policy now that you have it posted. 593 00:46:29,260 --> 00:46:30,880 And then to know how to use it. 594 00:46:30,880 --> 00:46:31,860 What are the options here? 595 00:46:31,860 --> 00:46:37,620 One, we could submit patches directly to SendMail and XM, et cetera. 596 00:46:38,660 --> 00:46:42,740 But sysadmins upgrade their MTA about once every lifetime. 597 00:46:43,620 --> 00:46:47,880 There are tons of really obsolete MTA software out there running. 598 00:46:48,540 --> 00:46:55,180 And so even if we got patches in, it would take forever to finally upgrade and actually get that in the wild. 599 00:46:56,520 --> 00:47:00,280 We could write a middleware application that sits in front of MTAs. 600 00:47:00,280 --> 00:47:10,520 And so the MTA is oblivious and then it is connecting to this middleware application that is then paying attention to all the MTSDS stuff and otherwise routing things to and back through that MTA. 601 00:47:11,000 --> 00:47:12,680 It is one more thing to administer. 602 00:47:12,680 --> 00:47:20,420 It adds some complexity, but it also reduces other complexity that the MTA doesn't have to know about start TLS or the MTSDS. 603 00:47:20,980 --> 00:47:22,560 Maybe there is another option. 604 00:47:23,100 --> 00:47:24,780 If you have an idea, come talk to me. 605 00:47:24,780 --> 00:47:27,180 This is a problem we are still trying to solve. 606 00:47:27,620 --> 00:47:29,280 We are still trying to figure this one out. 607 00:47:30,980 --> 00:47:35,080 So we have our work cut out for us, but we think the future looks bright. 608 00:47:36,020 --> 00:47:51,040 We have come a long way in ten years from just a little browser extension to an encrypting the web report to actually launching a freaking certificate authority and being the biggest certificate authority in the world, launching the start TLS everywhere project, 609 00:47:51,040 --> 00:47:54,020 and we are really excited to see where we go from here. 610 00:47:54,800 --> 00:47:57,180 Before I finish up, credit where credit is due. 611 00:47:57,180 --> 00:48:03,020 This is the work of a tremendous number of people who have worked at EFF, but also at other places. 612 00:48:03,140 --> 00:48:05,140 People have worked at Tor project. 613 00:48:05,140 --> 00:48:08,500 It's just everywhere when we launched was a joint project with Tor. 614 00:48:09,120 --> 00:48:13,860 A bunch of people have worked on Let's Encrypt and Certbot. 615 00:48:13,940 --> 00:48:16,160 Let's Encrypt, I should say, wasn't just an EFF thing. 616 00:48:16,160 --> 00:48:25,780 We worked with Mozilla and the University of Michigan to initially get it off the ground, and now there's a whole host of sponsors that keep it alive. 617 00:48:26,420 --> 00:48:30,340 If you don't donate to EFF, you should donate to Let's Encrypt. 618 00:48:31,660 --> 00:48:36,000 I think you should donate to EFF, but you should also donate to Let's Encrypt. 619 00:48:36,660 --> 00:48:40,500 So credit where credit is due, a bunch of people have contributed to this work. 620 00:48:41,180 --> 00:48:45,980 And the reason we have been able to do all this amazing work is thanks to members like you. 621 00:48:46,220 --> 00:48:55,040 Your public support directly, as almost all of you know, EFF is a member-supported nonprofit, directly translates into this sort of technical work. 622 00:48:55,040 --> 00:49:03,820 We couldn't have a team of 15 or so technologists on staff to do this work without your support. 623 00:49:03,820 --> 00:49:05,780 And to be clear, this is a... 624 00:49:05,780 --> 00:49:08,340 I don't know if our 2018 chart is up yet. 625 00:49:08,340 --> 00:49:10,840 This shows you where our money comes from. 626 00:49:11,320 --> 00:49:16,380 And in particular, these three things right here are all individual donations. 627 00:49:16,380 --> 00:49:22,620 Whether it's individual or like individual but it's employee matching, that's basically individual. 628 00:49:22,620 --> 00:49:26,320 It's not like Google gets to decide where their employees choose to donate. 629 00:49:26,320 --> 00:49:27,520 They just match it. 630 00:49:28,900 --> 00:49:31,600 This part right here, this is sheer luck. 631 00:49:31,640 --> 00:49:34,260 This is when we get an award in the courts. 632 00:49:34,260 --> 00:49:36,480 And this is not when we're in a lawsuit. 633 00:49:36,480 --> 00:49:37,580 Sorry about that. 634 00:49:37,580 --> 00:49:49,060 This is when another entity has filed a lawsuit and the answer is instead of giving a dollar to every person in a class, let's give it to an entity that is going to do some good for privacy or security. 635 00:49:49,140 --> 00:49:51,780 And we can't control that. 636 00:49:51,780 --> 00:49:53,560 We can't rely on that. 637 00:49:53,780 --> 00:49:57,460 And this is us begging actual foundations for money. 638 00:49:57,520 --> 00:50:00,220 Even though we have foundation in the name, we don't give out money. 639 00:50:00,220 --> 00:50:03,120 We take in money and turn it into an awesome project. 640 00:50:03,120 --> 00:50:08,660 So as you can see, the majority of it is from individual members. 641 00:50:09,580 --> 00:50:14,480 So on behalf of everyone at EFF, thank you, DEF CON, for your tremendous support over the years. 642 00:50:14,480 --> 00:50:16,740 Thank you for making work like this possible. 643 00:50:16,860 --> 00:50:19,100 And I'm happy to take any questions. 644 00:50:36,680 --> 00:50:53,480 We don't, EFF doesn't personally or like as EFF work closely with Linux foundation, but as you said, Linux foundation does essentially do the administration and overhead for ISR G, the organization that actually runs Let's Encrypt, which is pretty awesome. 645 00:50:53,480 --> 00:50:57,840 That way they don't have to hire an HR person or accountants or stuff like that. 646 00:50:58,500 --> 00:51:00,900 They can focus on Let's Encrypt. 647 00:51:01,060 --> 00:51:02,020 Yep. 648 00:51:02,020 --> 00:51:02,760 Yeah. 649 00:51:09,930 --> 00:51:11,590 Not yet. 650 00:51:11,590 --> 00:51:13,930 Are you talking about... 651 00:51:18,080 --> 00:51:23,840 So I'm pretty sure ES and I is a different thing, I think. 652 00:51:23,880 --> 00:51:25,700 I would have to go double check. 653 00:51:51,300 --> 00:51:52,500 Yep. 654 00:52:04,980 --> 00:52:07,780 We have seen that sort of argument. 655 00:52:07,780 --> 00:52:10,860 From our perspective, the... 656 00:52:10,860 --> 00:52:16,860 We feel like the right tradeoff is that for given that... 657 00:52:17,720 --> 00:52:28,580 I guess the way I would put it is normal users don't have the same resources to invest in making sure that their traffic is encrypted as a corporation does. 658 00:52:28,580 --> 00:52:31,180 And so we feel like the right tradeoff is to get... 659 00:52:31,660 --> 00:52:43,720 Basically get as much encryption as possible and then if a corporation does need to do that sort of TLS termination, the answer is... It's kind of a side effect of making the web more secure for everyone, I guess. 660 00:52:43,720 --> 00:52:45,300 I definitely get it. 661 00:52:45,300 --> 00:52:45,560 Yeah. 662 00:52:46,400 --> 00:52:47,520 But it's true, yes. 663 00:52:47,520 --> 00:52:50,020 It does... 664 00:52:51,160 --> 00:52:51,520 Yeah. 665 00:52:53,440 --> 00:52:54,640 Yep. 666 00:52:55,620 --> 00:52:56,020 Yep. 667 00:52:56,020 --> 00:52:56,640 Absolutely. 668 00:52:58,160 --> 00:52:59,020 Yeah. 669 00:53:05,200 --> 00:53:05,960 Yeah. 670 00:53:05,960 --> 00:53:09,560 So in particular, this is... 671 00:53:09,560 --> 00:53:10,600 That's an interesting one. 672 00:53:10,600 --> 00:53:13,400 So I can think of two cases. 673 00:53:13,400 --> 00:53:19,340 One, cloudflare actually rolled out ESNI in south korea. 674 00:53:19,340 --> 00:53:23,080 I think it was either earlier this year or late last year. 675 00:53:23,080 --> 00:53:30,840 And basically ISPs in south korea, I believe at the direction of the government, just started blocking ESNI. 676 00:53:31,220 --> 00:53:37,220 Just straight up because they could no longer look at the domains that you were trying to connect to. 677 00:53:39,060 --> 00:53:39,560 Similarly... 678 00:53:40,200 --> 00:53:41,200 Related. 679 00:53:41,920 --> 00:53:57,280 About a month ago now, I think it was, an industry organization of ISPs in the united kingdom nominated of all organizations mozilla as their internet villain of the year. 680 00:53:57,280 --> 00:53:59,820 Because mozilla wants to push forward encrypted DNS. 681 00:53:59,820 --> 00:54:01,980 Now, to be fair, what mozilla... 682 00:54:01,980 --> 00:54:12,640 Because ISPs don't yet support encrypted DNS, what mozilla is thinking of doing is cloudflare has a centralized DNS server and they're supporting encrypted DNS. 683 00:54:13,500 --> 00:54:14,660 And so... 684 00:54:14,660 --> 00:54:16,680 It hasn't rolled out yet. 685 00:54:16,680 --> 00:54:21,000 And from my understanding, I think what mozilla is thinking about doing is if you're in the U.S. 686 00:54:21,000 --> 00:54:25,080 Where the privacy laws are crap, then they will turn that on by default. 687 00:54:25,080 --> 00:54:28,980 Because frankly, cloudflare has a better privacy policy than most U.S. 688 00:54:30,720 --> 00:54:31,440 ISPs. 689 00:54:31,940 --> 00:54:38,360 However, that's not true in europe or the united kingdom where there are actually decent privacy laws controlling what your ISP can do with your private data. 690 00:54:38,940 --> 00:54:42,480 And so they're thinking that it will be an opt-in there. 691 00:54:42,480 --> 00:54:54,880 But regardless, in the U.K., there is an obligation by the ISPs from the government to censor for all sorts of silly stuff, adult content, terrorist content, whatever. 692 00:54:54,880 --> 00:55:06,860 And because the ISPs, if you're using cloudflare's DNS in an encrypted way, could no longer do that censoring, they got really up in arms and they said, oh, my god, this is terrible. 693 00:55:06,860 --> 00:55:12,460 They later rolled it back once they realized that not everyone was against mozilla doing this encrypted DNS thing. 694 00:55:12,460 --> 00:55:21,440 But certainly in, you know, countries where there are, I would say is democratic rule of law, we are still seeing pushes for censorship. 695 00:55:21,440 --> 00:55:23,280 Or the ability to censor. 696 00:55:23,280 --> 00:55:28,980 And so that's not even touching places like China or Iran or something else like that. 697 00:55:29,840 --> 00:55:30,640 Yeah. 698 00:56:03,320 --> 00:56:10,280 So I think from my perspective, the way to do that, that is the way to, that's the destination. 699 00:56:10,280 --> 00:56:12,100 You have to get there slowly. 700 00:56:12,100 --> 00:56:15,800 Because if you do that immediately, people will just stop using your software. 701 00:56:16,300 --> 00:56:19,760 And it's just, it's just a sad, like, we won't stop using that software. 702 00:56:19,760 --> 00:56:21,380 Because we'll be like, what the fuck's going on? 703 00:56:21,380 --> 00:56:23,180 Someone's trying to intercept my traffic. 704 00:56:23,200 --> 00:56:33,260 But, you know, my nieces and nephews, my friends, they're just going to stop using that software and switch to something that works. 705 00:56:33,380 --> 00:56:36,500 And so the trick is, I feel like, to raise the bar slowly. 706 00:56:36,500 --> 00:56:40,380 And by raising it, basically it's kind of like this boiling frog approach. 707 00:56:40,380 --> 00:56:44,440 Until you get to the point where there is no longer anything else to switch to. 708 00:56:44,440 --> 00:56:45,960 Because everything is encrypted. 709 00:56:46,440 --> 00:56:47,120 Yeah. 710 00:56:52,720 --> 00:56:53,540 Acme protocol. 711 00:56:53,540 --> 00:56:54,120 Yep. 712 00:57:09,570 --> 00:57:11,150 So there's a couple things. 713 00:57:11,150 --> 00:57:20,190 One of the things that they're working on, I don't know if it's rolled out yet, is basically doing multibandage point verification. 714 00:57:20,330 --> 00:57:25,790 So that you would have to man in the middle, not just, you know, let's encrypt servers. 715 00:57:27,430 --> 00:57:29,750 Well, they're going to do it via Tor. 716 00:57:30,130 --> 00:57:35,870 So you would have to man in the middle a bunch of unpredictable Tor nodes as well. 717 00:57:36,170 --> 00:57:44,450 And so if they do like three or four of those from different exit nodes, you know, then that's a much, I mean, that raises the barrier. 718 00:57:44,450 --> 00:57:45,550 It's still possible, right? 719 00:57:45,550 --> 00:57:49,570 Like, you know, eventually, you know, someone who controls all the Internet traffic could man in the middle it. 720 00:57:56,240 --> 00:57:56,940 Yeah. 721 00:57:57,940 --> 00:57:58,700 Yeah. 722 00:57:59,360 --> 00:58:02,820 So that's, I was going to say, I think there was another thing. 723 00:58:02,820 --> 00:58:04,880 But that's the big one that they're working on. 724 00:58:04,880 --> 00:58:05,980 It's not there yet. 725 00:58:06,260 --> 00:58:09,960 The other thing is there's a thing called certificate transparency. 726 00:58:09,960 --> 00:58:11,460 I'm sure many of you have heard of it. 727 00:58:11,520 --> 00:58:17,000 But now let's encrypt logs all of its certificates to certificate transparency servers. 728 00:58:17,060 --> 00:58:27,940 And so if you run a domain, you can essentially log into these certificate transparency servers and say, did somebody issue a certificate or did let's encrypt issue a certificate from my domain? 729 00:58:28,180 --> 00:58:29,340 And was that me? 730 00:58:29,480 --> 00:58:39,860 If I don't, if I'm not using let's encrypt and that happened, or I am, but I go look in my server logs and certbot doesn't say recently renewed my certificate, something shady is going on. 731 00:58:39,860 --> 00:58:41,880 So that's detection, not mitigation. 732 00:58:41,960 --> 00:58:45,260 But detection is still helpful while we're working toward mitigation. 733 00:58:47,830 --> 00:58:48,530 All right. 734 00:58:48,530 --> 00:58:49,910 Thanks very much, everybody. 735 00:58:49,910 --> 00:58:50,090 Thank you . 736 00:58:50,090 --> 00:58:51,030 Thank you. 737 00:58:51,030 --> 00:58:51,990 Thank you. 738 00:58:51,990 --> 00:58:52,210 And thanks for coming.