1 00:00:00,000 --> 00:00:04,680 Okay, so there's a well-known problem for speakers at conferences like these. 2 00:00:05,960 --> 00:00:10,340 You know, DEF CON's a big place, people are spread out, people are still coming and going, 3 00:00:10,580 --> 00:00:14,060 and you know, at the beginning of your talk, probably there's still people coming in, everyone 4 00:00:14,060 --> 00:00:14,940 hasn't really made it yet. 5 00:00:15,820 --> 00:00:20,720 And so what speakers do is they try and start slow, so that nobody misses any of the interesting 6 00:00:20,720 --> 00:00:21,120 stuff. 7 00:00:22,020 --> 00:00:26,700 So you know, they'll start with a tedious bio about their background, or go into the 8 00:00:26,700 --> 00:00:31,040 you know, the history of the problem that they're going to be talking about, but I don't 9 00:00:31,040 --> 00:00:32,000 really like that stuff. 10 00:00:32,140 --> 00:00:36,080 So I want to try something a little different, where I'm just going to tell, for the first 11 00:00:36,080 --> 00:00:41,780 three minutes here, a completely unrelated, totally random story that has nothing to do 12 00:00:41,780 --> 00:00:43,340 with computer security or this talk. 13 00:00:47,620 --> 00:00:48,280 Here it goes. 14 00:00:48,880 --> 00:00:50,040 The story goes like this. 15 00:00:51,580 --> 00:00:55,780 Okay, so just after I'd gotten out of high school, me and some friends had this hair 16 00:00:55,780 --> 00:00:56,400 brain schemed. 17 00:00:56,700 --> 00:01:02,080 Where we thought that we were going to travel to the Caribbean, find an uninhabited island, 18 00:01:02,400 --> 00:01:04,340 and like, colonize it. 19 00:01:06,580 --> 00:01:07,540 Yes, I know. 20 00:01:07,780 --> 00:01:09,800 I blame DDC on my youth. 21 00:01:11,220 --> 00:01:15,360 So, you know, this was, you know, a long time ago, and back then, driving was cheaper 22 00:01:15,360 --> 00:01:21,080 than flying, so we drove all the way to Miami before getting on an airplane for a short 23 00:01:21,080 --> 00:01:23,820 flight into the Caribbean, where we tried to find a boat, et cetera. 24 00:01:25,580 --> 00:01:27,820 And it didn't really work out, obviously. 25 00:01:29,040 --> 00:01:35,540 We were very hungry, and so then, you know, on the way back, we were driving back up north 26 00:01:35,540 --> 00:01:40,880 through Florida, you know, feeling somewhat defeated, and we decided to stop for lunch 27 00:01:40,880 --> 00:01:44,220 at some point, and we actually wanted to, you know, stop and get out of the car, so 28 00:01:44,220 --> 00:01:48,520 we saw this, like, kind of Tex-Mex type restaurant, you know, the kind of place with, like, chips 29 00:01:48,520 --> 00:01:49,880 and you sit down, that kind of thing. 30 00:01:50,840 --> 00:01:53,660 So, you know, we stopped, and we got out of the car, and we started walking towards this 31 00:01:53,660 --> 00:01:53,800 restaurant. 32 00:01:53,820 --> 00:01:58,460 And, you know, through the parking lot, about halfway there, I was with two friends, and 33 00:01:58,460 --> 00:02:02,240 one of them realized that he'd left something in the car, or that he'd left it unlocked 34 00:02:02,240 --> 00:02:05,860 or something like that, so he turned around and went back to the car, while my other friend 35 00:02:05,860 --> 00:02:07,060 and I went into the restaurant. 36 00:02:07,640 --> 00:02:11,160 And when we got into the restaurant, we caught the end of their birthday ritual. 37 00:02:12,280 --> 00:02:16,580 You know, I feel like these restaurants all have their own sort of unique birthday ritual. 38 00:02:16,640 --> 00:02:19,240 They have, like, a special song or something that they sing when people come out. 39 00:02:19,380 --> 00:02:23,800 And so we caught the end of theirs, and it was the strangest thing I've ever heard. 40 00:02:23,800 --> 00:02:24,600 I've ever seen in a restaurant. 41 00:02:25,940 --> 00:02:30,640 So they came out, you know, singing, and there's two waiters, and one of them stood in front 42 00:02:30,640 --> 00:02:35,780 of the woman whose birthday it was, with a little, like, saucer, you know, plate type, 43 00:02:35,960 --> 00:02:39,780 you know, almost like you'd put a teacup on it, but with just a little dab of whipped 44 00:02:39,780 --> 00:02:44,060 cream on it, and a spoon, and held it in front of her and asked her to close her eyes 45 00:02:44,060 --> 00:02:47,380 and open her mouth as if he was going to feed her this whipped cream. 46 00:02:48,640 --> 00:02:53,780 Meanwhile, there was another waiter standing behind her with a full pie tin, full of whipped cream, 47 00:02:53,800 --> 00:02:59,500 and she closed her eyes and opened her mouth, and the dude reaches around and just slams 48 00:02:59,500 --> 00:03:02,900 her in the face with the whipped cream, you know. 49 00:03:04,720 --> 00:03:06,680 I mean, this lady's shocked, you know. 50 00:03:06,720 --> 00:03:07,160 It's her birthday. 51 00:03:07,260 --> 00:03:07,980 She's dressed up. 52 00:03:08,000 --> 00:03:09,720 She just gets, like, a pie to the face, you know. 53 00:03:10,000 --> 00:03:10,800 No warning at all. 54 00:03:12,480 --> 00:03:17,240 And so my friend and I are standing there, like, you know, looking at this, you know, 55 00:03:17,240 --> 00:03:21,520 mouths open, and my other friend is still at the car. 56 00:03:28,380 --> 00:03:32,180 So, you know, my friend who's standing there looks at me and says, hey, I think it might 57 00:03:32,180 --> 00:03:33,160 be Jack's birthday today. 58 00:03:35,740 --> 00:03:40,860 So, you know, we come in and we sit down, and I surreptitiously, during the meal, get 59 00:03:40,860 --> 00:03:42,040 up and go and talk to the waiter. 60 00:03:42,080 --> 00:03:43,840 I'm like, hey, you know, it's my friend's birthday today. 61 00:03:43,940 --> 00:03:45,340 I don't know if you do anything here. 62 00:03:47,640 --> 00:03:49,180 And he's like, oh, yeah, we got a thing we do. 63 00:03:49,240 --> 00:03:50,240 You know, we'll come out. 64 00:03:50,640 --> 00:03:51,500 And so I was like, great. 65 00:03:51,580 --> 00:03:52,500 You know, I go and sit back down. 66 00:03:52,540 --> 00:03:52,820 We're waiting. 67 00:03:53,000 --> 00:03:53,780 Eventually, you know, they come in. 68 00:03:53,800 --> 00:03:54,840 I'm out singing the song and everything. 69 00:03:55,760 --> 00:03:59,460 And, you know, our friend is looking a little bit bewildered, you know. 70 00:03:59,800 --> 00:04:05,380 And he later confessed that he thought that we had told them that it was his birthday 71 00:04:05,380 --> 00:04:07,420 so that we could get, like, free cake or something like that. 72 00:04:07,800 --> 00:04:09,680 So he starts, you know, willingly playing along. 73 00:04:10,700 --> 00:04:15,320 And they put a little hat on him, and then, sure enough, they do the thing where they, 74 00:04:15,320 --> 00:04:19,920 you know, hold the little dab of whipped cream in front of him and closes his eyes. 75 00:04:20,120 --> 00:04:23,360 He opens his mouth, and the dude reaches around behind him and just slams him in the face. 76 00:04:24,000 --> 00:04:28,300 And, you know, I knew this was coming, so I had one of those disposable cameras, you know, 77 00:04:28,340 --> 00:04:30,460 that you used to use back then, you know. 78 00:04:30,560 --> 00:04:31,680 And I had it under the table. 79 00:04:31,680 --> 00:04:32,140 It was all ready. 80 00:04:32,240 --> 00:04:37,780 And so I got him right at the moment, you know. 81 00:04:38,520 --> 00:04:42,760 Just the look on his face is just pure shock. 82 00:04:45,540 --> 00:04:46,120 All right. 83 00:04:46,140 --> 00:04:51,780 Anyway, I hope that was more interesting than a three-minute, you know, description of my background. 84 00:04:52,620 --> 00:04:52,980 Okay. 85 00:04:54,560 --> 00:04:57,700 So let's talk about SSL and the future of authenticity. 86 00:04:58,900 --> 00:05:00,360 Really, this talk is about trust. 87 00:05:00,760 --> 00:05:04,100 And I want to start this talk out with another story. 88 00:05:04,400 --> 00:05:08,260 It's kind of a downer, but I feel like it's illustrative of the situation that we're in. 89 00:05:08,760 --> 00:05:11,320 And the story is about a company called Komodo. 90 00:05:13,680 --> 00:05:16,520 They're a certificate authority, and according to Netcraft, 91 00:05:16,720 --> 00:05:20,720 they certify somewhere between a quarter and a fifth of the certificates on the Internet today. 92 00:05:20,860 --> 00:05:22,880 So they're the second largest certificate authority in the world. 93 00:05:23,800 --> 00:05:26,360 And in March of this year, they were hacked. 94 00:05:28,140 --> 00:05:32,640 The attacker was able to make off with a number of certificates, you know, 95 00:05:32,700 --> 00:05:36,800 mail.google.com, login.yahoo.com, Skype, 96 00:05:37,020 --> 00:05:41,400 basically everything that the attacker would need to intercept login credentials 97 00:05:41,400 --> 00:05:45,400 to all of the popular web mail providers and a few other services. 98 00:05:46,120 --> 00:05:51,160 And so immediately after the attack, the founder and CEO of Komodo issued a statement 99 00:05:51,160 --> 00:05:52,200 where he said, 100 00:05:52,200 --> 00:05:55,640 this attack was extremely sophisticated and critically executed. 101 00:05:55,980 --> 00:05:58,180 It was a very well-orchestrated clinical attack, 102 00:05:58,420 --> 00:06:01,980 and the attacker knew exactly what they needed to do and how fast they had to operate. 103 00:06:02,200 --> 00:06:06,720 He went on to add that all of the IP addresses involved in the attack were from Iran. 104 00:06:08,140 --> 00:06:09,120 You know what this means. 105 00:06:10,140 --> 00:06:10,540 Cyber. 106 00:06:14,220 --> 00:06:16,860 But he didn't leave it at innuendo. He actually spelled it out. 107 00:06:16,960 --> 00:06:19,160 He said, all of the above leads us to one conclusion only, 108 00:06:19,320 --> 00:06:21,860 that this was likely to be a state-driven attack. 109 00:06:22,760 --> 00:06:25,140 So he's painting a pretty complete picture for us here, right? 110 00:06:25,360 --> 00:06:27,560 This isn't just a hack, you know, this is war. 111 00:06:28,080 --> 00:06:32,120 And who is to blame Komodo for falling into the full assaults of a, you know, 112 00:06:32,120 --> 00:06:34,880 a state-sponsored invasion, you know, from a cyber army? 113 00:06:36,120 --> 00:06:40,620 And so ironically, it was these statements that really catapulted the story out of the trade press 114 00:06:40,620 --> 00:06:41,640 and into the mainstream media. 115 00:06:42,180 --> 00:06:45,500 And so a number of reporters called me, and they all had the same question, you know, 116 00:06:45,520 --> 00:06:47,220 what does this mean? What can this attacker do? 117 00:06:47,740 --> 00:06:51,340 And I said, well, you know, it means they can intercept communication to these websites. 118 00:06:51,480 --> 00:06:52,180 And I said, well, you know, it means they can intercept communication to these websites. 119 00:06:52,200 --> 00:06:53,980 And the reporters would say, well, how? 120 00:06:54,320 --> 00:06:56,420 You know, how would they use these certificates to do that? 121 00:06:56,920 --> 00:06:59,900 And I would say, well, you know, I think there's commercial solutions, you know, 122 00:06:59,940 --> 00:07:05,300 like the blue code and a few other, you know, kind of scary interception devices out there. 123 00:07:05,620 --> 00:07:09,060 And I was talking to one reporter who asked me, she said, no, what is the easiest way? 124 00:07:09,160 --> 00:07:12,380 What is the most straightforward way that an attacker would leverage these certificates? 125 00:07:13,260 --> 00:07:16,800 And I thought about it, and I said, well, you know, the attacker could just use SSL sniff, 126 00:07:17,200 --> 00:07:20,760 which was a tool that I wrote to perform man-in-the-mill attacks against SSL connections. 127 00:07:22,400 --> 00:07:26,900 Now, interestingly enough, when Komodo published their incident report, 128 00:07:27,040 --> 00:07:31,100 they also published the IP address of the attacker, which is somewhat unusual. 129 00:07:31,800 --> 00:07:36,240 But I think that they were doing this to, you know, sort of underscore the Iran, Iran, Iran, Iran thing, you know, 130 00:07:36,280 --> 00:07:40,300 because this is the IP address is registered to a block in Iran. 131 00:07:41,020 --> 00:07:45,480 And so, you know, I was thinking about that reporter's question, you know, SSL sniff and all that stuff. 132 00:07:45,800 --> 00:07:47,600 And so, you know, I thought, well, I wonder. 133 00:07:48,040 --> 00:07:50,140 So I went and I looked at my web logs. 134 00:07:50,140 --> 00:07:53,340 For my web server where I host SSL sniff. 135 00:07:58,540 --> 00:08:02,580 And sure enough, the day, the morning after the attack, 136 00:08:02,860 --> 00:08:07,780 the same IP address that Komodo had published downloaded SSL sniff from my website. 137 00:08:10,060 --> 00:08:11,980 Now, there's some other interesting things in here. 138 00:08:12,100 --> 00:08:13,420 First of all, the attacker is running Windows. 139 00:08:15,520 --> 00:08:19,320 And also, interestingly, the attacker's web browser is localized 140 00:08:19,320 --> 00:08:20,960 to U.S. English. 141 00:08:21,600 --> 00:08:22,040 Hmm. 142 00:08:23,220 --> 00:08:25,560 But the most interesting thing was the referrer. 143 00:08:25,860 --> 00:08:29,500 So I went back to my web logs and I found the point that the attacker, you know, 144 00:08:29,500 --> 00:08:34,280 initially made a connection with my website so that I could see the website that they had visited before. 145 00:08:34,920 --> 00:08:39,620 And so the referrer was a Hack 5 video. 146 00:08:43,420 --> 00:08:44,920 On using SSL strip. 147 00:08:46,120 --> 00:08:48,500 For those of you who don't know, Hack 5 is sort of like a, 148 00:08:48,500 --> 00:08:52,600 it's like a set of video tutorials that are pretty introductory material 149 00:08:52,600 --> 00:08:54,840 for, you know, people that are just getting interested in this kind of thing. 150 00:08:57,120 --> 00:08:58,440 So just to break this down for you. 151 00:08:58,480 --> 00:09:05,940 On one hand, we have the CEO of Komodo saying this is a clinical attack. 152 00:09:06,160 --> 00:09:10,480 And on the other hand, you know, we see that the attacker is literally following video tutorials on the Internet. 153 00:09:13,140 --> 00:09:14,500 I mean, maybe that was a great video. 154 00:09:14,580 --> 00:09:14,920 I don't know. 155 00:09:15,040 --> 00:09:16,220 I haven't watched it yet. 156 00:09:16,700 --> 00:09:18,480 It could have turned him into a clinical attacker. 157 00:09:18,500 --> 00:09:19,080 I'm not sure. 158 00:09:20,720 --> 00:09:24,040 And then there were a number of other sort of embarrassing searches 159 00:09:24,040 --> 00:09:27,540 that led them to my same website again and again throughout the day. 160 00:09:27,660 --> 00:09:31,400 So I caught the Google search referrers, which were things like SSL protocol, 161 00:09:31,700 --> 00:09:34,740 man in the middle, how to, IP tables, pre-routing. 162 00:09:35,300 --> 00:09:38,400 Apparently he was having some trouble setting up their IP tables. 163 00:09:39,920 --> 00:09:42,280 So I was kind of chuckling about this to myself, you know. 164 00:09:42,360 --> 00:09:44,640 And then the attacker posted a communique. 165 00:09:45,500 --> 00:09:47,540 And it could not have been more embarrassing. 166 00:09:47,540 --> 00:09:51,660 I mean, he alternated between making these grandiose, impossible claims 167 00:09:51,660 --> 00:09:54,400 about how he's hacked RSA and all this stuff 168 00:09:54,400 --> 00:09:59,720 while simultaneously very proudly declaring that he's capable of doing extremely trivial things 169 00:09:59,720 --> 00:10:05,140 like, you know, he can export functions from DLLs and create his own soapy PIs and stuff like that. 170 00:10:06,040 --> 00:10:09,260 So this could not have been more embarrassing for really anybody involved. 171 00:10:09,640 --> 00:10:12,140 You know, the attacker, Komodo, you know. 172 00:10:13,420 --> 00:10:15,880 But what was worse is he just wouldn't shut up. 173 00:10:16,000 --> 00:10:17,520 He just kept posting communiques. 174 00:10:17,540 --> 00:10:20,200 Each one more embarrassing than the last. 175 00:10:20,460 --> 00:10:22,900 And I think he posted six in total. 176 00:10:23,020 --> 00:10:24,800 He also did interviews with the press and all this stuff. 177 00:10:24,880 --> 00:10:25,220 It was ridiculous. 178 00:10:26,400 --> 00:10:33,680 And so the Komodo CEO and founder responded to these events by making a statement where he said, 179 00:10:33,760 --> 00:10:38,200 if this were a secure and trusted DNS, this issue would be a moot point, exclamation point. 180 00:10:38,540 --> 00:10:41,360 We need a secure and trusted DNS, exclamation point. 181 00:10:42,060 --> 00:10:47,520 So this guy has just very enthusiastically declared that he does not understand the business that he's in. 182 00:10:49,420 --> 00:10:54,940 On one hand, he seems to be suggesting that DNS tampering is the only way to perform a man-in-the-middle attack, 183 00:10:55,180 --> 00:10:56,460 which is just not true. 184 00:10:56,820 --> 00:11:03,340 And on the other hand, even if that were true, the reason that we have SSL certificates is to stop man-in-the-middle attacks. 185 00:11:03,900 --> 00:11:09,240 If man-in-the-middle attacks weren't possible, we wouldn't need the certificates that he's selling us. 186 00:11:13,260 --> 00:11:16,260 Later that month, they got hacked two more times. 187 00:11:16,260 --> 00:11:18,280 And the next month, they got hacked again. 188 00:11:19,920 --> 00:11:24,680 Now, you know, normally I wouldn't take this much time to be so critical of a company like Komodo. 189 00:11:25,000 --> 00:11:30,160 But I think it's an interesting story because I think there's an interesting question here, which is, what happened to Komodo? 190 00:11:30,720 --> 00:11:32,720 After all of this, it couldn't have been more embarrassing. 191 00:11:32,780 --> 00:11:34,280 It could not have been worse, really. 192 00:11:34,640 --> 00:11:35,680 You know, what happened to them? 193 00:11:37,040 --> 00:11:37,440 Nothing. 194 00:11:38,860 --> 00:11:40,140 Their business didn't suffer. 195 00:11:40,280 --> 00:11:41,060 They didn't lose customers. 196 00:11:41,580 --> 00:11:42,500 They didn't get sued. 197 00:11:43,740 --> 00:11:45,780 You know, really, the only thing that happened to Komodo, 198 00:11:46,260 --> 00:11:51,780 this year, was the CEO was named Entrepreneur of the Year at the RSA conference. 199 00:11:56,300 --> 00:12:00,400 And so I think that this is the essence of the problem that we're looking at. 200 00:12:00,580 --> 00:12:03,000 You know, this is the problem with SSL today. 201 00:12:03,780 --> 00:12:09,280 So let's take a moment and just sort of step back and look generally at secure protocols. 202 00:12:09,640 --> 00:12:11,920 Any secure protocol needs to provide three things. 203 00:12:12,160 --> 00:12:13,760 Secrecy, integrity, and authenticity. 204 00:12:13,760 --> 00:12:16,040 It has to provide all three. 205 00:12:16,220 --> 00:12:18,420 If one of these fails, the whole protocol will fall apart. 206 00:12:19,640 --> 00:12:24,340 But we need to remember that SSL, which is a secure protocol and it's trying to meet these objectives, 207 00:12:24,820 --> 00:12:26,440 was designed in the early 90s. 208 00:12:28,180 --> 00:12:29,500 And things were different there. 209 00:12:29,720 --> 00:12:34,340 You know, there wasn't a lot of information available on how to design a secure protocol. 210 00:12:34,580 --> 00:12:37,720 You know, books like Applied Cryptography had not been published yet. 211 00:12:38,240 --> 00:12:43,660 You know, if you wanted to use RSA, the algorithm, you had to license the patent from RSA, the company. 212 00:12:43,660 --> 00:12:47,880 You had to pay money in order to just even, you know, perform this type of cryptography. 213 00:12:48,740 --> 00:12:50,020 E-commerce didn't exist. 214 00:12:50,220 --> 00:12:54,140 The idea of transmitting your credit card number over the Internet was totally foreign. 215 00:12:54,620 --> 00:12:56,780 There were no such things as web applications, really. 216 00:12:57,120 --> 00:13:01,440 You know, people weren't really transmitting their login and password credentials through websites. 217 00:13:02,060 --> 00:13:03,560 And the Internet itself was tiny. 218 00:13:04,140 --> 00:13:09,140 You know, in 94, according to ISC, there were less than 5 million hosts on the entire Internet. 219 00:13:09,620 --> 00:13:13,420 Compare that to today where, you know, we're about to run out of public-facing IP addresses. 220 00:13:13,420 --> 00:13:15,400 Is it more than 4 billion or at 4 billion? 221 00:13:17,500 --> 00:13:21,520 You know, at the time, there were probably less than 10 secure sites that you could think of. 222 00:13:21,560 --> 00:13:26,960 Less than 10 sites that, for some reason, you wanted traffic to be encrypted to these websites. 223 00:13:27,480 --> 00:13:30,740 Whereas today, there are more than 2 million certificates on the Internet. 224 00:13:30,900 --> 00:13:33,180 More than 2 million sites that are using SSL. 225 00:13:33,900 --> 00:13:38,160 At the same time, you know, it's worth remembering that SSL was developed at Netscape. 226 00:13:38,280 --> 00:13:40,440 And this was an environment of really intense pressure. 227 00:13:41,480 --> 00:13:43,400 You know, the game, the race was really on then. 228 00:13:43,420 --> 00:13:46,600 And this is the same place where a series of 4 a.m. decisions gave us JavaScript. 229 00:13:49,020 --> 00:13:51,060 And we're still dealing with that today. 230 00:13:52,740 --> 00:13:57,640 So, you know, actually, when you look at it, the designers of SSL were actually pretty heroic. 231 00:13:57,920 --> 00:13:59,120 You know, they didn't have a lot to work with. 232 00:13:59,220 --> 00:14:02,900 And they were working in circumstances that are totally different than our circumstances today. 233 00:14:03,820 --> 00:14:05,360 And yet, it served us pretty well. 234 00:14:06,760 --> 00:14:10,120 You know, when it comes to these first two things, secrecy and integrity, they did okay. 235 00:14:10,240 --> 00:14:12,000 There have been some problems, and there are still some problems. 236 00:14:13,620 --> 00:14:19,300 You know, the piece that has always caused some real friction is now causing real problems is the authenticity piece. 237 00:14:19,800 --> 00:14:25,260 Now, authenticity is important, of course, because, you know, normally if you establish a secure session with a website, 238 00:14:25,520 --> 00:14:29,720 the problem is that if you don't have authenticity, someone could have intercepted your connection to that website. 239 00:14:30,000 --> 00:14:31,760 They establish a secure session with you. 240 00:14:31,920 --> 00:14:36,680 They make their own secure session with the website and just shuttle data back and forth, logging it in between. 241 00:14:37,880 --> 00:14:43,060 But, you know, what's easy to forget is that this attack, a man-in-the-middle attack, was entirely theoretical. 242 00:14:43,060 --> 00:14:45,160 In 94 or 95. 243 00:14:45,680 --> 00:14:47,260 You know, the network tools didn't exist. 244 00:14:47,580 --> 00:14:49,280 This wasn't the kind of thing that was actively happening. 245 00:14:49,340 --> 00:14:51,420 This was thought of as like an academic thing. 246 00:14:51,720 --> 00:14:54,220 You know, it's like, oh, well, there's this other thing called the man-in-the-middle attack. 247 00:14:54,620 --> 00:14:57,860 And, you know, we need to design something, you know, theoretically to prevent against that. 248 00:14:58,540 --> 00:15:03,180 And so, the designers came up with a solution that was certificates and certificate authorities. 249 00:15:03,960 --> 00:15:09,740 Where every site has a certificate and, you know, it's known to be authentic because it's assigned by a certificate authority. 250 00:15:10,180 --> 00:15:12,780 Which is, you know, just some organization that we've decided to trust. 251 00:15:13,360 --> 00:15:20,980 So, you know, I had this hypothesis that, you know, that we've outgrown the circumstances in which SSL was originally imagined. 252 00:15:21,380 --> 00:15:22,580 And that this is a different world today. 253 00:15:22,940 --> 00:15:24,400 And then I thought, well, I wonder if that's true. 254 00:15:24,620 --> 00:15:26,080 You know, I wonder what they were actually thinking. 255 00:15:26,580 --> 00:15:29,540 And so, I thought, well, I should talk to the people that designed SSL. 256 00:15:30,060 --> 00:15:35,280 And so, I did some research and I figured out that SSL was originally designed by this guy, Kip Hickman. 257 00:15:36,000 --> 00:15:38,420 Who was a Netscape employee back in the day. 258 00:15:38,920 --> 00:15:42,180 And the last thing that Kip Hickman posted to the internet was in 1995. 259 00:15:45,660 --> 00:15:47,140 So, it was difficult to find him. 260 00:15:47,200 --> 00:15:49,500 You know, I talked to some people at Netscape who, like, pointed me in the right direction. 261 00:15:49,600 --> 00:15:50,920 And eventually, I tracked him down. 262 00:15:51,500 --> 00:15:52,980 And I basically just cold called him. 263 00:15:53,760 --> 00:15:55,100 And, you know, I talked to him on the phone. 264 00:15:55,280 --> 00:15:56,180 And he's a great guy. 265 00:15:57,220 --> 00:16:00,100 And, you know, he's like, oh, SSL. 266 00:16:00,440 --> 00:16:02,320 Yeah, I hadn't thought about that in a long time. 267 00:16:04,240 --> 00:16:05,740 I was like, wow, okay, you know. 268 00:16:05,800 --> 00:16:07,160 And he's like, oh, yeah. 269 00:16:07,320 --> 00:16:09,200 And I was like, so, certificate authorities, what's the deal? 270 00:16:09,240 --> 00:16:11,280 He's like, oh, that whole authenticity thing. 271 00:16:11,660 --> 00:16:12,860 He's like, yeah, we just threw that in. 272 00:16:13,060 --> 00:16:13,300 We just threw that in at the end. 273 00:16:15,360 --> 00:16:17,300 He's like, you know, SSL, it was never designed. 274 00:16:17,440 --> 00:16:19,900 We were designing it to prevent passive attacks for the most part. 275 00:16:20,100 --> 00:16:21,780 You know, we heard about this thing, the man in the middle attack. 276 00:16:22,060 --> 00:16:23,480 And so, we just sort of threw that in at the end. 277 00:16:23,800 --> 00:16:27,280 He's like, really, that whole thing with certificates, you know, it was a bit of a hand wave. 278 00:16:29,000 --> 00:16:30,300 He's like, we didn't think it was going to work. 279 00:16:30,400 --> 00:16:31,060 We didn't know, you know. 280 00:16:32,720 --> 00:16:36,620 And, you know, like, the idea back then, you could say, made sense, right? 281 00:16:36,760 --> 00:16:41,140 You know, if you look at the number of domain names on the internet, you know, back in 94, 282 00:16:41,320 --> 00:16:43,040 when that number, the graph was appropriate, 283 00:16:43,060 --> 00:16:45,320 and now it's approaching zero, you know, it makes sense that, okay, 284 00:16:45,360 --> 00:16:49,140 maybe you have ten sites that you could identify as secure sites. 285 00:16:49,400 --> 00:16:53,000 And so, you have one organization that just looks at those ten sites really carefully 286 00:16:53,520 --> 00:16:56,320 and, you know, makes a decision and signs those certificates. 287 00:16:56,900 --> 00:17:00,980 But, you know, if you try and scale that up over time, you know, to today, 288 00:17:01,200 --> 00:17:03,060 when there's almost a billion domain names on the internet, 289 00:17:03,220 --> 00:17:07,920 and ideally we'd like all of them to be secure, it seems a little bit unrealistic to think, 290 00:17:07,980 --> 00:17:10,320 well, we're going to have an organization or even a set of organizations 291 00:17:10,320 --> 00:17:12,620 that's going to look, you know, appropriately, 292 00:17:13,060 --> 00:17:14,860 closely at all of these domain names. 293 00:17:16,100 --> 00:17:19,000 When I asked Kip about how he saw the scaling over time, 294 00:17:19,120 --> 00:17:20,700 he was like, oh, scaling, we didn't really think about it. 295 00:17:20,900 --> 00:17:23,120 He was like, you've got to remember, at the time when this was designed, 296 00:17:24,220 --> 00:17:27,380 Yahoo was a web page with 30 links on it. 297 00:17:27,720 --> 00:17:29,060 He was like, that's what Yahoo was. 298 00:17:29,280 --> 00:17:30,900 I was like, oh, okay, yeah, that's different. 299 00:17:32,800 --> 00:17:34,420 And history has really borne this out. 300 00:17:34,620 --> 00:17:37,780 Ivan Ristik put together a nice little threat matrix of, you know, 301 00:17:37,800 --> 00:17:41,720 all of the possible problems with SSL that have cropped up in the past. 302 00:17:41,720 --> 00:17:44,020 And, you know, up over here in this corner, 303 00:17:44,140 --> 00:17:47,000 you see some of the problems with secrecy and integrity that have come up, 304 00:17:47,060 --> 00:17:48,740 but, you know, it's managed to sort of squeak by. 305 00:17:49,320 --> 00:17:52,640 And down here, there's some of the problems with the, you know, user interaction. 306 00:17:52,860 --> 00:17:53,960 These are things like SSL strip. 307 00:17:54,840 --> 00:17:56,740 But in terms of the protocol itself, 308 00:17:57,060 --> 00:18:00,780 this stuff up here with the authenticity piece has been where all the real problems are. 309 00:18:01,580 --> 00:18:03,780 And I think, you know, looking back at the Komodo thing, 310 00:18:04,000 --> 00:18:07,620 you know, the lesson from these events shouldn't be that this was cyber war, 311 00:18:07,840 --> 00:18:10,000 because I think pretty clearly it wasn't, 312 00:18:10,000 --> 00:18:12,580 but that this is happening every day. 313 00:18:13,640 --> 00:18:14,860 You know, that's the real story. 314 00:18:15,360 --> 00:18:18,580 You know, one of these domains that the attacker got, login.live.com, 315 00:18:18,720 --> 00:18:23,220 I mean, you know, we should remember that Mike Zussman got this just by asking for it. 316 00:18:23,420 --> 00:18:25,940 You know, he didn't have to export functions from DLLs 317 00:18:25,940 --> 00:18:28,640 or create his own soap APIs or whatever, you know. 318 00:18:28,700 --> 00:18:30,760 He just sent in a request, you know. 319 00:18:31,200 --> 00:18:34,980 Eddie Nigg got Mozilla.com with no validation at all, just asked for it. 320 00:18:35,940 --> 00:18:38,680 VeriSign issued a code signing certificate for Microsoft Corporation 321 00:18:39,180 --> 00:18:40,920 to attackers that are still unidentified. 322 00:18:41,200 --> 00:18:42,720 You know, they were never discovered. 323 00:18:43,460 --> 00:18:45,160 I mean, this kind of thing happens all the time. 324 00:18:45,220 --> 00:18:48,020 Just recently, I needed to get an SSL certificate, 325 00:18:48,260 --> 00:18:51,180 so I went to this website, sslinabox.com, 326 00:18:51,320 --> 00:18:52,920 you know, straight to the bottom of the barrel. 327 00:18:54,300 --> 00:18:57,680 And, you know, it's one of these things where you have to, like, 328 00:18:57,680 --> 00:19:00,020 create an account in order to, you know, submit anything. 329 00:19:00,260 --> 00:19:02,740 So I go to create the account, and when I click, you know, create, 330 00:19:02,920 --> 00:19:04,420 it just logged me into someone else's account. 331 00:19:05,940 --> 00:19:07,660 I was like, that was broken, you know. 332 00:19:07,660 --> 00:19:10,040 And I was like, well, fuck, you know, I'm not even trying to hack this. 333 00:19:10,100 --> 00:19:11,620 I just want a certificate, you know. 334 00:19:13,960 --> 00:19:16,600 So, you know, I logged out, and I, like, tried to create an account, 335 00:19:16,680 --> 00:19:17,800 and it logged me into someone else's account. 336 00:19:18,600 --> 00:19:20,640 And every time I did it, I just got a different account, you know. 337 00:19:20,700 --> 00:19:23,980 And the thing is, it's like, I didn't even bother emailing them about it, 338 00:19:24,020 --> 00:19:26,620 because, you know, I'm sure that they don't even care, right? 339 00:19:28,000 --> 00:19:31,600 You know, there's this certificate authority that published the key 340 00:19:32,300 --> 00:19:37,200 to their certificate in the public directory of their web server. 341 00:19:40,160 --> 00:19:41,380 This is a certificate authority. 342 00:19:41,820 --> 00:19:44,540 And the thing is, like, you could kind of understand, 343 00:19:44,760 --> 00:19:46,940 I mean, not really, but you might be able to understand 344 00:19:47,720 --> 00:19:50,140 how it's possible that someone could have made this mistake, 345 00:19:51,180 --> 00:19:52,500 but it's still there. 346 00:19:54,000 --> 00:19:56,480 You know, it's not like they, like, were like, oh, crap, you know, 347 00:19:56,480 --> 00:19:57,040 and, like, removed it. 348 00:19:57,100 --> 00:20:04,040 Since in 2009, the key to the certificate has been available for the public. 349 00:20:05,420 --> 00:20:07,360 You know, Starcom recently got hacked. 350 00:20:07,440 --> 00:20:07,640 We don't know why. 351 00:20:07,660 --> 00:20:08,240 We don't really know what happened. 352 00:20:08,420 --> 00:20:11,280 And, you know, you don't even have to hack anybody. 353 00:20:11,540 --> 00:20:13,860 Like, if you've got the money, you can just buy a certificate authority. 354 00:20:14,720 --> 00:20:16,920 You can get a CA cert from GeoTrust. 355 00:20:17,000 --> 00:20:17,760 I think it's 50 grand. 356 00:20:18,000 --> 00:20:19,120 Anybody has 50 grand to spend? 357 00:20:19,340 --> 00:20:21,880 Get your own CA cert, intercept all the communication on the Internet. 358 00:20:22,940 --> 00:20:26,900 I really like their iconography in the top right corner, 359 00:20:27,380 --> 00:20:28,780 because it really is, you know, it's just like, 360 00:20:28,860 --> 00:20:30,420 we're giving you the key to the world. 361 00:20:31,820 --> 00:20:33,580 You know, they're not hiding anything. 362 00:20:33,580 --> 00:20:38,400 And what if this were a state-sponsored attack, 363 00:20:38,520 --> 00:20:39,640 this whole Komodo thing, you know? 364 00:20:39,780 --> 00:20:43,580 I think it's worth realizing that the only reason that Iran 365 00:20:44,020 --> 00:20:46,800 would have to hack a certificate authority in order to order, 366 00:20:46,920 --> 00:20:48,380 in order to issue certificates, 367 00:20:48,540 --> 00:20:50,740 is because they don't have a certificate authority of their own. 368 00:20:51,140 --> 00:20:53,500 But, you know, many other countries do. 369 00:20:53,980 --> 00:20:57,640 The EFF put together an excellent project called the SSL Observatory, 370 00:20:57,700 --> 00:20:58,500 where they scan the Internet, 371 00:20:58,680 --> 00:21:02,380 and they put together a map of all the countries in the world 372 00:21:02,380 --> 00:21:04,780 that are currently capable of issuing certificates, 373 00:21:05,040 --> 00:21:06,480 and thus intercepting secure communication. 374 00:21:06,980 --> 00:21:07,980 And it looks like this. 375 00:21:08,260 --> 00:21:09,400 I mean, I don't know if you can see, 376 00:21:09,440 --> 00:21:11,680 but way out in the middle of the Atlantic there, 377 00:21:11,800 --> 00:21:13,680 there's a little red speck. 378 00:21:14,140 --> 00:21:14,940 That's Bermuda. 379 00:21:16,220 --> 00:21:17,540 Bermuda can issue certificates. 380 00:21:19,560 --> 00:21:22,540 So I think the good news is that the vibe around this sort of thing 381 00:21:22,540 --> 00:21:23,320 seems to be shifting. 382 00:21:24,320 --> 00:21:26,320 From the old vibe of total ripoff, 383 00:21:26,420 --> 00:21:29,220 which I think was just the general perception of certificate authorities, 384 00:21:29,500 --> 00:21:31,380 to the new vibe of total ripoff 385 00:21:31,380 --> 00:21:32,980 and mostly worthless. 386 00:21:34,440 --> 00:21:37,140 But, so there's been a lot of talk about, you know, 387 00:21:37,140 --> 00:21:39,760 moving forward and replacing certificate authorities with something else. 388 00:21:39,960 --> 00:21:41,180 But I think that if we're going to do that, 389 00:21:41,320 --> 00:21:44,100 it makes sense to really accurately identify the problem 390 00:21:45,420 --> 00:21:47,960 and, you know, figure out what it is that we're trying to solve 391 00:21:47,960 --> 00:21:50,260 so that we don't end up in the same situation again. 392 00:21:53,820 --> 00:21:55,440 Now, there have been, I think, 393 00:21:55,460 --> 00:21:59,460 a few sort of general perceptions of what the problem might be. 394 00:22:00,320 --> 00:22:04,020 The first is people look at the EFF SSL observatory data. 395 00:22:04,180 --> 00:22:06,700 So the EFF scan the Internet and they put together a graph 396 00:22:06,700 --> 00:22:09,120 of all of the organizations in the world 397 00:22:09,120 --> 00:22:10,920 that are currently capable of signing certificates. 398 00:22:14,020 --> 00:22:15,500 And it's a lot of organizations. 399 00:22:16,120 --> 00:22:18,840 In fact, it's 650 different organizations 400 00:22:18,840 --> 00:22:21,000 are currently capable of intercepting communication. 401 00:22:21,880 --> 00:22:24,960 And so I think one simplistic reaction to this is just to say, 402 00:22:25,040 --> 00:22:27,140 well, the problem is that there's too many certificate authorities. 403 00:22:27,520 --> 00:22:28,680 There's just too many of them. 404 00:22:28,680 --> 00:22:30,080 What we need is fewer certificate authorities. 405 00:22:31,520 --> 00:22:33,680 But, you know, I feel like this might be a little simplistic. 406 00:22:34,100 --> 00:22:36,420 You know, like, for instance, remember when there was only one 407 00:22:37,180 --> 00:22:40,540 and they could charge as much and do really whatever they wanted? 408 00:22:41,360 --> 00:22:43,800 And if part of the problem here is really a scaling issue 409 00:22:43,800 --> 00:22:47,600 where we've gone from maybe 20 secure sites to 2 million secure sites 410 00:22:47,600 --> 00:22:49,460 and ideally we'd like a billion secure sites, 411 00:22:50,560 --> 00:22:53,060 you know, it seems like less is not really the answer, right? 412 00:22:53,100 --> 00:22:54,440 If anything, we would want more organizations 413 00:22:54,440 --> 00:22:56,280 that are capable of being on the ball here. 414 00:22:58,020 --> 00:23:01,060 Another kind of general perception is that there's just a few bad apples, 415 00:23:01,820 --> 00:23:04,160 that most of the certificate authorities are cool 416 00:23:04,160 --> 00:23:06,520 and there's just a few certificate authorities 417 00:23:06,520 --> 00:23:09,760 that have, you know, given the whole thing a bad rap for everybody else. 418 00:23:10,340 --> 00:23:12,680 But, you know, I also, I don't know if this is true. 419 00:23:12,780 --> 00:23:13,860 I think that if you look closely, 420 00:23:14,340 --> 00:23:16,740 there's really nobody here that does not have dirt on their hands. 421 00:23:16,840 --> 00:23:19,220 You know, even VeriSign, back when they were the only game in town, 422 00:23:19,880 --> 00:23:22,360 at the same time that they had a business issuing certificates 423 00:23:22,360 --> 00:23:23,760 and securing communication, 424 00:23:24,420 --> 00:23:26,260 had another section of their business 425 00:23:26,280 --> 00:23:30,380 where they were managing so-called lawful intercept services for governments. 426 00:23:31,220 --> 00:23:34,640 You know, so the same organization that we had entrusted to secure our communication 427 00:23:34,640 --> 00:23:38,400 was also simultaneously making money by intercepting secure communication. 428 00:23:39,120 --> 00:23:41,300 And I think if you look closely, there's really nobody here 429 00:23:41,300 --> 00:23:44,060 that isn't similarly distressed. 430 00:23:45,860 --> 00:23:48,080 Another idea is that it's a scoping issue, right? 431 00:23:48,140 --> 00:23:52,120 That the problem is that the authorities are all in the same scope. 432 00:23:52,300 --> 00:23:54,840 So, for instance, today, two authorities 433 00:23:54,840 --> 00:23:58,120 who can sign certificates and thus intercept secure communication on the Internet 434 00:23:58,120 --> 00:24:00,960 are the Department of Homeland Security and the State of China. 435 00:24:01,780 --> 00:24:05,280 And so there's this idea, well, the problem is that the DHS can sign Chinese sites 436 00:24:05,280 --> 00:24:06,920 and China can sign U.S. sites. 437 00:24:07,000 --> 00:24:08,600 And really, if we just separated the scope 438 00:24:09,240 --> 00:24:12,100 and, you know, China could only sign sites in China 439 00:24:12,100 --> 00:24:15,240 and the Department of Homeland Security could only sign sites in the United States, 440 00:24:15,340 --> 00:24:16,320 everything would be cool. 441 00:24:16,720 --> 00:24:19,400 And while this might be an improvement, I feel like it's kind of a low bar. 442 00:24:20,700 --> 00:24:24,680 I think there are plenty of people in China that probably don't trust the State of China. 443 00:24:24,680 --> 00:24:26,860 to certify sites even within their country. 444 00:24:27,080 --> 00:24:29,860 And likewise, I feel like there are plenty of people in the United States 445 00:24:29,860 --> 00:24:31,400 who don't trust the Department of Homeland Security 446 00:24:31,400 --> 00:24:33,400 to be certifying their communication either. 447 00:24:36,320 --> 00:24:38,900 So in order to answer this question of, you know, what is the problem, 448 00:24:39,380 --> 00:24:42,620 I think it's a good idea to look back at the first question. 449 00:24:42,700 --> 00:24:43,480 What happened to Komodo? 450 00:24:45,040 --> 00:24:46,360 Well, nothing happened to Komodo. 451 00:24:46,680 --> 00:24:48,360 But why? Why did nothing happen? 452 00:24:48,500 --> 00:24:49,800 What could we have done? 453 00:24:50,820 --> 00:24:53,980 If I decide that I don't trust Komodo, and I don't, 454 00:24:54,680 --> 00:24:58,840 the very best thing that I can do is remove them from the trust database in my web browser. 455 00:24:59,020 --> 00:25:01,160 I could say, okay, they are no longer a trusted authority. 456 00:25:01,580 --> 00:25:03,180 The problem is that if I do that, 457 00:25:03,340 --> 00:25:06,920 somewhere between a quarter and a fifth of the Internet just disappears. 458 00:25:07,620 --> 00:25:08,340 Totally breaks. 459 00:25:08,900 --> 00:25:10,300 I can't visit those sites anymore. 460 00:25:10,800 --> 00:25:13,900 And sure, I could take an ideological stance to never visit those sites again 461 00:25:13,900 --> 00:25:17,360 because they're mixed up in the Komodo cabal of whatever. 462 00:25:18,340 --> 00:25:20,000 But really, there's no appropriate response. 463 00:25:20,320 --> 00:25:24,420 And the thing to remember is that this is as true for browser vendors 464 00:25:24,680 --> 00:25:25,800 as it is for you or me. 465 00:25:26,080 --> 00:25:28,960 You know, a browser vendor cannot remove Komodo from their trust database 466 00:25:29,940 --> 00:25:32,620 because they're just going to be breaking somewhere between a quarter and a fifth 467 00:25:32,620 --> 00:25:33,920 of the Internet for all of their users. 468 00:25:34,140 --> 00:25:36,040 They're in the exact same situation that you and I are. 469 00:25:37,000 --> 00:25:38,760 The truth is that somewhere along the line, 470 00:25:39,420 --> 00:25:41,540 we made a decision to trust Komodo. 471 00:25:42,620 --> 00:25:45,300 And now we are locked into trusting them forever. 472 00:25:46,880 --> 00:25:51,480 And I think that this is the essence of what we're looking at today. 473 00:25:52,640 --> 00:25:56,600 That we can void on all the problems that we've had with certificate authorities 474 00:25:56,600 --> 00:25:57,980 to a single missing property. 475 00:25:58,520 --> 00:26:00,620 And I call this property trust agility. 476 00:26:02,320 --> 00:26:05,360 The idea is that trust agility provides two things. 477 00:26:05,720 --> 00:26:09,280 One, that a trust decision can be easily revised at any time. 478 00:26:09,520 --> 00:26:11,420 You know, there are plenty of people that say, 479 00:26:11,660 --> 00:26:13,260 oh, Moxie, don't trust anybody. 480 00:26:13,560 --> 00:26:14,160 That's not true. 481 00:26:14,360 --> 00:26:16,780 I mean, there are plenty of organizations that I could identify today 482 00:26:17,480 --> 00:26:19,400 that I trust to secure my communication. 483 00:26:19,460 --> 00:26:20,300 For me, you know. 484 00:26:20,300 --> 00:26:25,260 But what seems insane is to think that I could identify 485 00:26:25,260 --> 00:26:28,660 an organization or set of organizations that I would be willing to trust 486 00:26:28,660 --> 00:26:30,600 not just now, but forever, 487 00:26:31,480 --> 00:26:33,840 regardless of whether they continue to warrant my trust 488 00:26:33,840 --> 00:26:37,000 and without any incentive to continue behaving in a trustworthy way. 489 00:26:38,520 --> 00:26:42,460 The second property of trust agility is that individual users 490 00:26:42,460 --> 00:26:43,920 can decide where to anchor their trust. 491 00:26:44,040 --> 00:26:45,820 And this could be the same thing as saying individual browsers 492 00:26:45,820 --> 00:26:47,320 can decide where to anchor their trust. 493 00:26:48,500 --> 00:26:49,680 And I think this is important. 494 00:26:49,900 --> 00:26:50,280 You know, right now, 495 00:26:50,300 --> 00:26:52,420 there's this idea, oh, there's this scoping problem. 496 00:26:52,640 --> 00:26:55,420 You know, that VeriSign and Komodo are in the same scope. 497 00:26:55,580 --> 00:26:57,820 And that, well, if we just separated the scopes, 498 00:26:58,560 --> 00:27:01,740 then if VeriSign did something particularly egregious, 499 00:27:01,840 --> 00:27:05,920 you know, a site like Facebook could switch to a different certificate authority, 500 00:27:06,220 --> 00:27:08,420 and this would actually have some significance 501 00:27:08,420 --> 00:27:11,700 because VeriSign would be unable to continue signing certificates for Facebook, 502 00:27:11,940 --> 00:27:13,340 which is currently not the case. 503 00:27:14,280 --> 00:27:17,340 But, you know, I think, you know, 504 00:27:17,340 --> 00:27:20,000 if it's been a struggle to get websites to deploy HTTP, 505 00:27:20,000 --> 00:27:22,880 or SSL, to begin with, 506 00:27:22,940 --> 00:27:26,020 it seems a little bit far-fetched to think that they're going to continue 507 00:27:26,020 --> 00:27:29,100 making really active decisions in our best interests. 508 00:27:29,520 --> 00:27:32,280 And what's worse, in this increasingly globalized world, 509 00:27:32,540 --> 00:27:34,140 it doesn't seem like there's really, 510 00:27:34,900 --> 00:27:37,480 it's really possible to make one trust decision for everybody. 511 00:27:38,240 --> 00:27:41,180 That, you know, different people live in different contexts with different threats, 512 00:27:41,320 --> 00:27:43,140 and, you know, have different needs, 513 00:27:43,340 --> 00:27:45,280 and probably trust different individuals. 514 00:27:45,920 --> 00:27:48,260 And so, you know, what's more, it's our data. 515 00:27:48,920 --> 00:27:51,640 It's our data that's at risk here, not the site administrator, 516 00:27:52,000 --> 00:27:54,700 not the company that's, you know, operating this web service. 517 00:27:54,920 --> 00:27:55,860 It's the user's data. 518 00:27:56,040 --> 00:27:58,340 And I feel like it should be the users or the browsers 519 00:27:58,340 --> 00:28:01,080 who get to decide, you know, who to trust. 520 00:28:02,240 --> 00:28:05,840 This property that individual users decide where they can anchor their trust 521 00:28:05,840 --> 00:28:09,280 is really just a simple but powerful inversion of the way that things already work. 522 00:28:09,560 --> 00:28:13,240 You know, currently there's three entities involved in any one of these transactions. 523 00:28:13,560 --> 00:28:16,400 You know, there's the client, the server, and the authority. 524 00:28:16,520 --> 00:28:17,860 And that this trust relationship 525 00:28:17,860 --> 00:28:19,440 is initiated by the server. 526 00:28:19,720 --> 00:28:22,020 The server, you know, talks to an authority and says, 527 00:28:22,140 --> 00:28:23,460 hey, please certify me. 528 00:28:24,020 --> 00:28:26,280 The authority responds with a certificate 529 00:28:26,280 --> 00:28:29,200 that is eventually given back to the user through the site. 530 00:28:29,840 --> 00:28:32,900 And, you know, what we're talking about here is just doing a simple inversion 531 00:28:32,900 --> 00:28:37,560 where it's the user or the client that initiates this trust transaction 532 00:28:37,560 --> 00:28:40,100 and talks to the authority, the authority, 533 00:28:40,120 --> 00:28:41,900 and says, please certify this site for me. 534 00:28:42,100 --> 00:28:45,220 The authority certifies that site and responds back to the user. 535 00:28:45,320 --> 00:28:47,220 The reason this is so powerful is because now this means 536 00:28:47,220 --> 00:28:50,000 the user can decide what authority they need to talk to. 537 00:28:50,480 --> 00:28:53,180 Which means that this issue of scoping is not such a big deal, right? 538 00:28:53,280 --> 00:28:57,500 The fact that the Department of Homeland Security can sign sites, you know, in China 539 00:28:58,100 --> 00:29:00,900 is not an issue because users in China will just ignore it 540 00:29:00,900 --> 00:29:02,200 and talk to some Chinese authority. 541 00:29:02,380 --> 00:29:04,300 Or they might decide they don't trust China either 542 00:29:04,300 --> 00:29:06,460 and they talk to some NGO or something else instead. 543 00:29:07,480 --> 00:29:12,980 I think that these two components of trust agility are really powerful. 544 00:29:13,120 --> 00:29:17,200 And I think that they are exactly what's missing from the CA system today. 545 00:29:17,220 --> 00:29:21,240 And that is where all our problems have come from. 546 00:29:22,100 --> 00:29:24,540 So I want to take a few minutes to talk about DNSSEC 547 00:29:24,540 --> 00:29:27,160 because there's been a little bit of talk recently 548 00:29:27,160 --> 00:29:31,160 about using DNSSEC to replace the authenticity piece of SSL. 549 00:29:34,300 --> 00:29:35,840 And the basic idea is this. 550 00:29:36,180 --> 00:29:38,620 You take your SSL certificate on your site 551 00:29:38,620 --> 00:29:40,540 and you shove it in your DNS record. 552 00:29:40,940 --> 00:29:42,120 That's basically the gist of it. 553 00:29:42,440 --> 00:29:44,260 So you have a cert, you put it in your DNS record. 554 00:29:44,360 --> 00:29:46,180 That way, when a client goes to contact a site, 555 00:29:46,180 --> 00:29:48,780 it does a DNS lookup, it gets back a DNS response 556 00:29:48,780 --> 00:29:52,360 with not only the IP address, but also the server certificate 557 00:29:52,360 --> 00:29:54,160 embedded in the DNS response. 558 00:29:54,580 --> 00:29:56,220 That way, when they connect to the server, 559 00:29:56,300 --> 00:29:57,680 they just make sure that the certificate they see 560 00:29:57,680 --> 00:29:59,140 is the same thing they got in the DNS response. 561 00:29:59,460 --> 00:30:02,000 And this thing is known to be authentic because it's signed 562 00:30:02,000 --> 00:30:03,640 because we're using DNSSEC. 563 00:30:05,200 --> 00:30:09,080 Now, this scheme has a really immediately kind of visceral appeal. 564 00:30:09,560 --> 00:30:12,800 And I think it's because people tend to mentally associate 565 00:30:13,320 --> 00:30:15,060 DNS with the word distributed. 566 00:30:15,800 --> 00:30:18,380 And distributed sounds really good right now. 567 00:30:18,560 --> 00:30:20,700 You know, it sounds like exactly what we need. 568 00:30:20,800 --> 00:30:23,180 After suffering under the centralized yoke 569 00:30:23,180 --> 00:30:25,460 of certificate authorities for all these years, 570 00:30:25,640 --> 00:30:27,860 it would feel good to just wipe them off the page 571 00:30:27,860 --> 00:30:30,180 and replace them with a distributed system instead. 572 00:30:31,620 --> 00:30:33,420 But when you start to look closely at it, 573 00:30:33,460 --> 00:30:35,340 the way that DNS works and DNSSEC works 574 00:30:35,340 --> 00:30:37,920 is that it's the information that is distributed. 575 00:30:38,140 --> 00:30:40,280 The information in the DNS records is distributed 576 00:30:40,280 --> 00:30:42,940 across the various zones on the Internet. 577 00:30:43,380 --> 00:30:44,400 But the trust, 578 00:30:45,060 --> 00:30:47,080 is incredibly centralized and hierarchical. 579 00:30:47,600 --> 00:30:50,340 And this is actually exactly how the CA system works today. 580 00:30:50,580 --> 00:30:52,080 The information, the certificates, 581 00:30:52,240 --> 00:30:54,700 are distributed across the web servers 582 00:30:54,700 --> 00:30:57,440 of the sites that are serving them on the Internet. 583 00:30:57,600 --> 00:30:59,420 And the trust is highly centralized 584 00:30:59,930 --> 00:31:01,360 in this hierarchy of certificate authorities. 585 00:31:02,360 --> 00:31:03,840 So the next question is, well, okay, 586 00:31:03,880 --> 00:31:05,100 if it's still centralized trust, 587 00:31:06,240 --> 00:31:08,840 maybe there's something about the people that we have to trust 588 00:31:08,840 --> 00:31:11,520 or maybe there's some increased trust agility here 589 00:31:11,520 --> 00:31:12,360 that would be appealing. 590 00:31:12,880 --> 00:31:15,040 So let's look at the trust requirements. 591 00:31:15,060 --> 00:31:17,360 There are three main classes of people 592 00:31:17,360 --> 00:31:18,940 that you have to trust under DNSSEC. 593 00:31:19,280 --> 00:31:21,420 The first is the registrars. 594 00:31:23,460 --> 00:31:26,300 You know, I feel like if CAs are sketchy, 595 00:31:26,360 --> 00:31:28,860 these people are, they're taking it up a notch. 596 00:31:29,340 --> 00:31:29,920 You know? 597 00:31:30,900 --> 00:31:32,380 Personally, I think it should be laughable 598 00:31:32,380 --> 00:31:34,940 that the current first step in deploying DNSSEC 599 00:31:34,940 --> 00:31:36,860 is to create an account with GoDaddy. 600 00:31:37,520 --> 00:31:38,660 I think that should be laughable. 601 00:31:40,220 --> 00:31:42,280 The second class of people that we have to trust here 602 00:31:42,280 --> 00:31:43,460 are the TLDs. 603 00:31:43,460 --> 00:31:46,300 So these are the companies that manage the top-level domains. 604 00:31:47,140 --> 00:31:49,640 So in the case of .com and .net, 605 00:31:49,820 --> 00:31:53,180 the, you know, largest TLDs on the Internet, 606 00:31:53,400 --> 00:31:56,300 the company that manages those is Verisign. 607 00:31:57,640 --> 00:31:59,100 Same player, same game. 608 00:32:00,180 --> 00:32:04,880 If you look at other TLDs like .org and .edu, 609 00:32:06,460 --> 00:32:08,960 the, you know, the companies that manage them 610 00:32:08,960 --> 00:32:11,000 are probably not companies that you've ever heard of. 611 00:32:11,500 --> 00:32:13,440 And I would at least say 612 00:32:13,460 --> 00:32:15,540 that I would at least suggest that if you were to think, 613 00:32:15,620 --> 00:32:17,780 oh, who's like a really trustworthy company, 614 00:32:17,960 --> 00:32:19,260 you know, who's really, you know, 615 00:32:19,720 --> 00:32:21,520 you know, has a strong sense of integrity, 616 00:32:21,720 --> 00:32:23,460 these companies are probably not the first 617 00:32:23,460 --> 00:32:24,440 that would come to mind. 618 00:32:25,300 --> 00:32:27,040 You know, take a minute to look at the organizations 619 00:32:27,040 --> 00:32:28,620 that manage the other TLDs, 620 00:32:28,620 --> 00:32:29,840 and look at the executive boards, 621 00:32:29,960 --> 00:32:31,320 look at the people managing the operations, 622 00:32:31,500 --> 00:32:33,700 and ask yourselves, are these the people that I want to trust 623 00:32:33,700 --> 00:32:36,560 with all of my secure communication in the future? 624 00:32:37,380 --> 00:32:39,140 There's also the country code top-level domains. 625 00:32:39,880 --> 00:32:41,460 So does everyone that's using TLDs 626 00:32:41,460 --> 00:32:45,620 that are kind of hip, like .io, .cc, and .ly, 627 00:32:45,720 --> 00:32:47,040 trust the corresponding governments 628 00:32:47,680 --> 00:32:48,780 for these countries 629 00:32:49,800 --> 00:32:51,780 to secure all of their communication? 630 00:32:52,700 --> 00:32:55,480 What about TLDs like .ir and .cn? 631 00:32:55,580 --> 00:32:57,860 Should the citizens of these countries 632 00:32:58,280 --> 00:33:00,000 have to trust their governments 633 00:33:00,000 --> 00:33:02,580 with all of their secure communication to local sites? 634 00:33:03,220 --> 00:33:05,020 You know, this is the current picture 635 00:33:05,020 --> 00:33:07,680 of what countries around the world 636 00:33:07,680 --> 00:33:09,340 are capable of intercepting secure communication 637 00:33:09,340 --> 00:33:11,440 based on the EFF SSL. 638 00:33:11,460 --> 00:33:14,060 This is what that picture would look like 639 00:33:14,060 --> 00:33:14,780 under DNSSEC. 640 00:33:16,520 --> 00:33:18,280 And if the recent domain seizures 641 00:33:18,280 --> 00:33:19,620 are any indication of the future, 642 00:33:19,820 --> 00:33:22,100 it seems like these TLDs 643 00:33:22,100 --> 00:33:23,020 could be dangerous. 644 00:33:24,300 --> 00:33:26,280 And then the third class of people 645 00:33:26,280 --> 00:33:27,100 that we have to trust here 646 00:33:27,100 --> 00:33:29,320 is the root, and that's ICANN. 647 00:33:31,140 --> 00:33:32,140 Now, you know, 648 00:33:32,160 --> 00:33:33,500 I don't have any particular beef with ICANN, 649 00:33:33,580 --> 00:33:35,360 but while ICANN has made, 650 00:33:36,160 --> 00:33:37,580 you know, a great effort 651 00:33:37,580 --> 00:33:39,240 to be a sort of global organization, 652 00:33:39,560 --> 00:33:40,700 as far as I know, 653 00:33:41,460 --> 00:33:43,460 you know, fundamentally, 654 00:33:44,500 --> 00:33:46,360 they are just a California 501 nonprofit, 655 00:33:47,200 --> 00:33:48,300 which, as far as I know, 656 00:33:48,400 --> 00:33:50,880 means that they have to abide by laws 657 00:33:50,880 --> 00:33:51,620 in the United States. 658 00:33:52,280 --> 00:33:53,620 And, you know, if this legislation 659 00:33:54,180 --> 00:33:55,580 that's been coming up recently, 660 00:33:55,740 --> 00:33:56,960 like COICA and Protect IP 661 00:33:56,960 --> 00:33:57,680 and this kind of thing, 662 00:33:58,900 --> 00:34:00,400 to me, the real lesson here 663 00:34:00,400 --> 00:34:02,060 isn't whether this passes or not, 664 00:34:02,160 --> 00:34:04,040 because there's been some kind of heroic efforts 665 00:34:04,040 --> 00:34:05,700 to prevent this legislation from going through, 666 00:34:05,820 --> 00:34:08,460 but I think the thing to take away from this 667 00:34:08,460 --> 00:34:10,820 is that they're trying to pass legislation 668 00:34:11,460 --> 00:34:12,160 that messes with this stuff, 669 00:34:12,320 --> 00:34:13,800 and maybe one day they'll succeed. 670 00:34:14,180 --> 00:34:15,800 And I think, you know, 671 00:34:16,620 --> 00:34:18,940 ICANN would be subject to that regulation 672 00:34:18,940 --> 00:34:19,660 in that case. 673 00:34:20,420 --> 00:34:21,680 You know, the worst part about, 674 00:34:22,380 --> 00:34:23,660 you know, all of these organizations 675 00:34:23,660 --> 00:34:25,620 is that this system actually provides 676 00:34:25,620 --> 00:34:26,740 reduced trust agility. 677 00:34:27,180 --> 00:34:29,760 That today, even as unrealistic as it might be, 678 00:34:29,940 --> 00:34:32,040 I could still choose to remove VeriSign 679 00:34:32,040 --> 00:34:34,980 from my list of trusted certificate authorities. 680 00:34:35,260 --> 00:34:37,420 But there is nothing that I can do 681 00:34:37,420 --> 00:34:38,860 to stop VeriSign 682 00:34:38,860 --> 00:34:40,600 from being the company that manages 683 00:34:41,460 --> 00:34:42,440 VeriSign.net TLBs. 684 00:34:43,520 --> 00:34:45,400 So, if we sign up to trust these people, 685 00:34:46,020 --> 00:34:47,520 we're signing up not to trust them 686 00:34:47,520 --> 00:34:49,200 just now, but forever, 687 00:34:50,340 --> 00:34:51,500 regardless of whether 688 00:34:51,500 --> 00:34:53,220 they should continue to warrant our trust, 689 00:34:53,300 --> 00:34:55,300 with no ability to change our mind 690 00:34:55,300 --> 00:34:57,000 about whether we should continue trusting them, 691 00:34:57,060 --> 00:34:58,540 without any incentives to continue 692 00:34:58,540 --> 00:34:59,800 behaving appropriately. 693 00:35:02,520 --> 00:35:03,500 So, let's talk 694 00:35:03,500 --> 00:35:05,000 about things that I'm a little bit more inspired by. 695 00:35:08,480 --> 00:35:09,420 There's a project called 696 00:35:09,420 --> 00:35:11,440 Perspectives, which came out 697 00:35:11,460 --> 00:35:12,360 at Carnegie Mellon University, 698 00:35:12,700 --> 00:35:14,800 and it was done by Dan Winlent, 699 00:35:14,900 --> 00:35:16,520 David Anderson, and Adrian Perig. 700 00:35:17,160 --> 00:35:18,920 And it was originally a paper 701 00:35:18,920 --> 00:35:20,320 that was published on using 702 00:35:20,320 --> 00:35:22,320 multi-path probing in order to 703 00:35:22,920 --> 00:35:23,880 provide authenticity 704 00:35:24,940 --> 00:35:26,640 for SSH and SSL. 705 00:35:27,160 --> 00:35:28,680 And the concept is fundamentally 706 00:35:28,680 --> 00:35:29,480 about perspective. 707 00:35:30,260 --> 00:35:31,660 The basic idea is this. 708 00:35:31,940 --> 00:35:33,800 You connect to a secure site, 709 00:35:33,940 --> 00:35:35,060 you give back a certificate, 710 00:35:35,340 --> 00:35:37,640 and you think, wow, I wonder if this certificate 711 00:35:37,640 --> 00:35:39,140 is good or not. How do I validate it? 712 00:35:41,460 --> 00:35:42,100 You contact an authority, 713 00:35:42,820 --> 00:35:45,040 then you say, hey, what certificate do you see 714 00:35:45,040 --> 00:35:47,440 for PayPal.com in this case? 715 00:35:47,960 --> 00:35:49,300 The authority makes its own connection 716 00:35:49,300 --> 00:35:51,020 to the website, gets its own certificate back, 717 00:35:51,220 --> 00:35:52,400 just like a normal web browser would, 718 00:35:52,560 --> 00:35:54,720 and then sends that certificate back to you as the client. 719 00:35:55,180 --> 00:35:57,480 Now, you compare the thing you got from the authority 720 00:35:57,480 --> 00:35:59,440 with the thing you got from the site, 721 00:35:59,680 --> 00:36:00,840 and you make sure that they're the same. 722 00:36:01,060 --> 00:36:02,640 And so what you're essentially doing is you're using 723 00:36:02,640 --> 00:36:04,660 some network perspective to get a different view 724 00:36:04,660 --> 00:36:06,980 on the same site. You know, that you have 725 00:36:06,980 --> 00:36:08,960 a different network path from wherever 726 00:36:08,960 --> 00:36:10,460 the authority is communicating from. 727 00:36:11,460 --> 00:36:13,680 And we call these authorities notaries. 728 00:36:14,600 --> 00:36:15,520 And you can't, 729 00:36:15,520 --> 00:36:16,740 you don't have to talk to just one notary. 730 00:36:16,780 --> 00:36:18,020 You can talk to any number of notaries. 731 00:36:18,600 --> 00:36:21,100 And they can be distributed around the world, 732 00:36:21,180 --> 00:36:23,200 so they each have their own unique network path 733 00:36:23,200 --> 00:36:24,320 to the same destination. 734 00:36:24,680 --> 00:36:27,060 You're essentially building a constellation of trust. 735 00:36:28,520 --> 00:36:29,660 This idea of using 736 00:36:29,660 --> 00:36:31,120 perspective is actually not new. 737 00:36:31,200 --> 00:36:33,320 It's how SSL works right now. 738 00:36:34,220 --> 00:36:35,200 You know, right now, 739 00:36:35,300 --> 00:36:37,380 if a site administrator 740 00:36:37,380 --> 00:36:39,640 wants to get a certificate 741 00:36:39,640 --> 00:36:41,000 for its site, you know, 742 00:36:41,460 --> 00:36:42,220 what does the administrator do? 743 00:36:42,460 --> 00:36:44,500 They contact an authority, and they say, 744 00:36:44,600 --> 00:36:46,680 hey, could you please issue a certificate for my site? 745 00:36:46,880 --> 00:36:47,840 And what does the authority do? 746 00:36:48,280 --> 00:36:49,820 They send an email to the site 747 00:36:49,820 --> 00:36:52,360 with a verification code in it. 748 00:36:53,500 --> 00:36:55,160 And if the administrator can receive 749 00:36:55,160 --> 00:36:56,100 the verification code, 750 00:36:56,800 --> 00:36:58,400 and send it back to the authority, 751 00:36:58,500 --> 00:37:01,260 the authority issues the certificate. 752 00:37:01,680 --> 00:37:03,520 So it's just using another form 753 00:37:03,520 --> 00:37:04,920 of network perspective to do the same thing. 754 00:37:05,120 --> 00:37:06,820 We're just trying to invert this relationship 755 00:37:06,820 --> 00:37:09,320 so that instead of being site initiated, 756 00:37:09,660 --> 00:37:10,360 it's user initiated. 757 00:37:11,460 --> 00:37:13,080 Now, Perspectives, when it was released, 758 00:37:13,160 --> 00:37:14,360 came with an implementation, 759 00:37:15,420 --> 00:37:17,820 but the implementation was kind of limited. 760 00:37:18,120 --> 00:37:19,500 It was initially designed 761 00:37:19,500 --> 00:37:20,480 for self-signed certificates, 762 00:37:21,360 --> 00:37:23,880 and so it has had some challenges. 763 00:37:24,820 --> 00:37:25,900 The first big challenge 764 00:37:25,900 --> 00:37:26,640 is completeness. 765 00:37:27,020 --> 00:37:28,420 Since it was initially designed 766 00:37:28,420 --> 00:37:30,080 for self-signed certificates, 767 00:37:30,980 --> 00:37:33,280 it only works for the initial connection 768 00:37:33,280 --> 00:37:35,720 that your web browser sends. 769 00:37:36,020 --> 00:37:37,340 So it doesn't work for any of the 770 00:37:37,340 --> 00:37:38,920 background content, the images, CSS, 771 00:37:39,220 --> 00:37:40,760 JavaScript, all that stuff. So it's not possible 772 00:37:41,460 --> 00:37:42,740 to eliminate certificate authorities completely 773 00:37:42,740 --> 00:37:43,820 using Perspectives. 774 00:37:44,520 --> 00:37:45,860 The second problem was privacy. 775 00:37:46,240 --> 00:37:49,240 If every time I make a secret connection 776 00:37:49,240 --> 00:37:50,980 to a website, I have to make another connection 777 00:37:50,980 --> 00:37:53,520 to a notary, I'm now leaking my entire 778 00:37:53,520 --> 00:37:55,240 connection history to the notary, 779 00:37:55,360 --> 00:37:56,460 and that seems a little bit unfortunate. 780 00:37:57,300 --> 00:37:59,060 And the last problem is responsiveness. 781 00:38:00,380 --> 00:38:01,680 Perspectives suffered from this idea 782 00:38:01,680 --> 00:38:02,420 of notary lag. 783 00:38:02,820 --> 00:38:04,580 What would happen is, you get a certificate, 784 00:38:04,880 --> 00:38:06,540 you contact a notary, and you say, 785 00:38:06,620 --> 00:38:08,260 hey, what do you see for paypal.com? 786 00:38:08,540 --> 00:38:10,200 And the notary would make a connection 787 00:38:11,460 --> 00:38:11,800 and see a certificate. 788 00:38:12,880 --> 00:38:14,940 The problem is the notary would cache the response 789 00:38:14,940 --> 00:38:16,740 so that it wasn't constantly having to connect 790 00:38:16,740 --> 00:38:19,120 to all of these sites, and then just periodically 791 00:38:19,120 --> 00:38:21,900 at some interval, poll the site, 792 00:38:22,620 --> 00:38:24,200 like once a day or something like that, 793 00:38:24,280 --> 00:38:25,680 all the sites that it had certificates for, 794 00:38:26,120 --> 00:38:28,120 in order to see whether the site 795 00:38:28,120 --> 00:38:29,540 had switched to a different certificate. 796 00:38:29,960 --> 00:38:31,460 The problem is that if a site did switch 797 00:38:31,460 --> 00:38:33,420 to a different certificate, your responses 798 00:38:33,420 --> 00:38:34,560 from the notary would be invalid 799 00:38:34,560 --> 00:38:36,320 for the duration of the poll interval. 800 00:38:37,820 --> 00:38:39,180 So what I've done is I've taken 801 00:38:39,180 --> 00:38:41,380 this concept of using Perspectives 802 00:38:41,460 --> 00:38:44,040 and I've built on it to create a system 803 00:38:44,040 --> 00:38:44,860 that I call Convergence. 804 00:38:46,400 --> 00:38:48,460 Convergence is a new protocol, 805 00:38:48,740 --> 00:38:49,900 a new client implementation, 806 00:38:50,160 --> 00:38:51,400 and a new server implementation 807 00:38:51,940 --> 00:38:52,780 of this concept. 808 00:38:53,440 --> 00:38:54,940 The first thing that we do is try to address 809 00:38:54,940 --> 00:38:55,940 the perspective challenges. 810 00:38:56,880 --> 00:39:00,860 We eliminate notary lag by basically 811 00:39:00,860 --> 00:39:02,020 when you contact the notary, 812 00:39:02,060 --> 00:39:03,740 you also send what you saw. 813 00:39:03,940 --> 00:39:05,940 So now the notary doesn't have to do any polling, 814 00:39:06,380 --> 00:39:08,120 it just has to contact the server 815 00:39:08,120 --> 00:39:09,860 in the case of a cache miss 816 00:39:09,860 --> 00:39:10,920 or cache mismatch. 817 00:39:11,460 --> 00:39:11,960 There's no more notary lag. 818 00:39:12,540 --> 00:39:14,500 The next thing that we did was add privacy. 819 00:39:15,380 --> 00:39:16,720 So this is two parts. 820 00:39:16,800 --> 00:39:18,680 The first part was through local caching. 821 00:39:19,480 --> 00:39:21,220 So now whenever you contact a notary 822 00:39:21,220 --> 00:39:23,320 and you say, hey, what do you think 823 00:39:23,320 --> 00:39:23,740 of this certificate? 824 00:39:24,060 --> 00:39:25,280 If it says, hey, this is A-OK, 825 00:39:25,740 --> 00:39:27,620 you go ahead and cache that certificate locally. 826 00:39:28,340 --> 00:39:29,900 That way the next time you connect to the site, 827 00:39:30,000 --> 00:39:31,140 you get the same certificate back, 828 00:39:31,320 --> 00:39:32,540 all you have to do is check the local cache 829 00:39:32,540 --> 00:39:34,000 and say, yeah, this thing is good, 830 00:39:34,100 --> 00:39:35,300 and you don't even have to talk to a notary. 831 00:39:35,740 --> 00:39:37,580 So now you're only leaking your connection history 832 00:39:41,460 --> 00:39:43,040 if a secret site's certificate changes. 833 00:39:43,820 --> 00:39:45,500 So that still doesn't seem that great. 834 00:39:46,220 --> 00:39:47,500 So the next thing we do 835 00:39:47,500 --> 00:39:48,780 is implement notary bouncing. 836 00:39:49,700 --> 00:39:51,500 The idea is that you have a set of notaries 837 00:39:51,500 --> 00:39:53,460 that you have configured as notaries 838 00:39:53,460 --> 00:39:55,760 that you trust, and you want to talk to all of them. 839 00:39:56,160 --> 00:39:57,160 And the first thing that you do 840 00:39:57,160 --> 00:39:58,900 is randomly select one of the notaries 841 00:39:58,900 --> 00:40:01,260 and assign it as a bounce. 842 00:40:01,980 --> 00:40:03,340 And you connect to that notary 843 00:40:03,340 --> 00:40:05,080 and then you tunnel SSL 844 00:40:05,080 --> 00:40:07,340 through the notary to all the notaries 845 00:40:07,340 --> 00:40:08,020 that you want to talk to. 846 00:40:08,840 --> 00:40:11,300 So the bounce notary is just a dump 847 00:40:11,460 --> 00:40:12,740 proxy shoveling bytes around, 848 00:40:13,840 --> 00:40:16,440 and it doesn't have any visibility 849 00:40:16,440 --> 00:40:18,260 into what you're querying about. 850 00:40:18,620 --> 00:40:19,940 The notaries that you're talking to 851 00:40:19,940 --> 00:40:21,800 know what you're asking about, 852 00:40:21,920 --> 00:40:22,820 but they don't know who you are. 853 00:40:23,200 --> 00:40:24,860 And the bounce notary knows who you are, 854 00:40:24,880 --> 00:40:27,420 but it doesn't know who you're asking about. 855 00:40:28,480 --> 00:40:29,440 These SSL connections 856 00:40:29,440 --> 00:40:30,600 to the destination notaries 857 00:40:30,600 --> 00:40:33,120 are done using static pre-shared keys 858 00:40:33,120 --> 00:40:35,180 that are configured whenever you add 859 00:40:35,180 --> 00:40:36,440 the notary to begin with in your browser, 860 00:40:36,540 --> 00:40:38,200 just like with certificate authorities now. 861 00:40:39,500 --> 00:40:41,400 Convergence is a Firefox app 862 00:40:41,460 --> 00:40:41,480 that you can get on, 863 00:40:41,640 --> 00:40:43,340 and it looks exactly like 864 00:40:43,340 --> 00:40:45,200 the normal Firefox experience. 865 00:40:45,480 --> 00:40:47,060 The only difference is in the upper right-hand corner 866 00:40:47,060 --> 00:40:48,440 you get this little convergence button. 867 00:40:48,940 --> 00:40:51,620 If you click this button and enable convergence, 868 00:40:51,980 --> 00:40:53,760 you are completely divorced 869 00:40:53,760 --> 00:40:55,040 from the CA system. 870 00:40:56,100 --> 00:40:57,640 Everything, foreground content, 871 00:40:57,820 --> 00:40:58,520 background content, 872 00:40:59,000 --> 00:41:00,300 the certificate authority certificates 873 00:41:00,300 --> 00:41:03,160 in your web browser are completely ignored. 874 00:41:03,920 --> 00:41:05,460 Everything looks exactly the same. 875 00:41:05,740 --> 00:41:07,300 The only difference is that normally 876 00:41:07,300 --> 00:41:08,960 if you visit a secure site 877 00:41:08,960 --> 00:41:11,300 and you put your mouse over the favicon, 878 00:41:12,260 --> 00:41:13,360 you'll see a little tooltip 879 00:41:13,360 --> 00:41:14,380 about who has certified 880 00:41:14,380 --> 00:41:16,420 this communication. 881 00:41:17,300 --> 00:41:18,520 The only difference with convergence 882 00:41:18,520 --> 00:41:20,080 is we are taking the certificate authorities 883 00:41:20,080 --> 00:41:21,200 completely out of the picture. 884 00:41:21,760 --> 00:41:22,960 Everything else works the same. 885 00:41:24,420 --> 00:41:25,560 The notary implementation 886 00:41:26,380 --> 00:41:28,360 is available free, open source. 887 00:41:28,480 --> 00:41:29,520 Anybody can run their own notary. 888 00:41:29,700 --> 00:41:31,920 It requires very little resources 889 00:41:31,920 --> 00:41:33,700 and it's designed to be extensible. 890 00:41:34,280 --> 00:41:36,500 The protocol is a REST protocol 891 00:41:37,300 --> 00:41:39,460 and the idea is to design a protocol 892 00:41:39,460 --> 00:41:41,080 that supported a number of different backends. 893 00:41:41,460 --> 00:41:42,400 So by default, 894 00:41:42,520 --> 00:41:44,040 the default backend for the notary 895 00:41:44,040 --> 00:41:44,940 is to use network perspective. 896 00:41:45,900 --> 00:41:48,140 But you could write any number of other backends 897 00:41:48,140 --> 00:41:48,560 for the notary. 898 00:41:48,640 --> 00:41:50,460 For instance, if you like DNSSEC, 899 00:41:50,620 --> 00:41:52,280 the notary could do DNSSEC 900 00:41:52,280 --> 00:41:53,620 to validate the certificate on the backend. 901 00:41:53,740 --> 00:41:54,780 It wouldn't have to use network perspective. 902 00:41:55,460 --> 00:41:57,260 If you're crazy, it could use CA signatures 903 00:41:58,000 --> 00:42:00,200 to validate certificates. 904 00:42:01,340 --> 00:42:02,920 You could even use notaries 905 00:42:02,920 --> 00:42:04,180 as fraud ends to other services, 906 00:42:07,300 --> 00:42:09,020 which the EFF has volunteered to run. 907 00:42:10,180 --> 00:42:11,880 And you can configure notaries 908 00:42:11,880 --> 00:42:14,000 that do different things. 909 00:42:14,100 --> 00:42:15,520 You could have a set of trusted notaries. 910 00:42:15,520 --> 00:42:16,500 Each one does a different thing. 911 00:42:17,760 --> 00:42:20,280 And the convergence implementation 912 00:42:20,280 --> 00:42:23,840 also has a threshold 913 00:42:23,840 --> 00:42:24,620 that you can set 914 00:42:24,620 --> 00:42:27,600 on what percentage of the notaries 915 00:42:27,600 --> 00:42:28,100 have to agree 916 00:42:28,620 --> 00:42:30,260 in order for things to be secure. 917 00:42:30,500 --> 00:42:32,000 I think the default is consensus. 918 00:42:32,500 --> 00:42:33,860 So what this means is that 919 00:42:34,480 --> 00:42:35,780 in the current CA system, 920 00:42:36,220 --> 00:42:37,280 you have some number of notaries 921 00:42:37,300 --> 00:42:38,300 and a number of certificate authorities. 922 00:42:38,560 --> 00:42:41,000 And if one of them is a bad actor, 923 00:42:41,220 --> 00:42:42,980 you're completely out of luck. 924 00:42:43,680 --> 00:42:45,620 And we're inverting that here 925 00:42:45,620 --> 00:42:46,460 where the more 926 00:42:47,760 --> 00:42:48,700 authorities that you have, 927 00:42:48,780 --> 00:42:50,200 the more notaries that you configure, 928 00:42:50,700 --> 00:42:51,880 the better off you are 929 00:42:51,880 --> 00:42:53,200 because it means that all of them 930 00:42:53,200 --> 00:42:54,380 have to be in cahoots 931 00:42:54,920 --> 00:42:56,920 to misbehave and intercept your SSL communication. 932 00:42:58,220 --> 00:42:59,860 And we have full trust agility. 933 00:43:00,140 --> 00:43:01,940 If we decide we don't like one of these people, 934 00:43:02,080 --> 00:43:02,980 we can just remove it 935 00:43:02,980 --> 00:43:04,040 and there are no implications. 936 00:43:07,860 --> 00:43:09,140 And if you like, 937 00:43:09,200 --> 00:43:10,480 you could replace it with a different one 938 00:43:10,480 --> 00:43:11,260 that does the same thing 939 00:43:11,260 --> 00:43:12,640 because you think they're more trustworthy. 940 00:43:13,780 --> 00:43:15,420 Other nice things here are that 941 00:43:15,420 --> 00:43:16,860 the servers do nothing. 942 00:43:18,500 --> 00:43:19,200 People's web servers, 943 00:43:19,300 --> 00:43:20,200 you don't have to make any changes, 944 00:43:20,300 --> 00:43:21,320 which means we don't have to migrate 945 00:43:21,320 --> 00:43:22,540 the internet to anything else. 946 00:43:23,140 --> 00:43:25,740 All we have to do is implement convergence 947 00:43:25,740 --> 00:43:28,120 in the four major browsers and be done. 948 00:43:28,300 --> 00:43:28,880 That would be it. 949 00:43:28,980 --> 00:43:30,440 That would be the end of the CA system right there. 950 00:43:30,720 --> 00:43:32,140 We don't have to make any changes 951 00:43:37,300 --> 00:43:37,580 because we don't have to make any changes. 952 00:43:37,580 --> 00:43:38,660 The concept of a self-signed certificate 953 00:43:38,660 --> 00:43:41,380 does not exist in the convergence system. 954 00:43:41,800 --> 00:43:42,700 Certificates are certificates. 955 00:43:43,020 --> 00:43:43,540 That's it. 956 00:43:45,060 --> 00:43:46,460 There are a few problems. 957 00:43:47,040 --> 00:43:49,080 The first is the Citibank problem, 958 00:43:49,260 --> 00:43:50,800 what's known as the Citibank problem. 959 00:43:51,520 --> 00:43:52,980 Right now, if you're running convergence 960 00:43:52,980 --> 00:43:54,720 and you visit Citibank.com, 961 00:43:54,880 --> 00:43:56,420 you will get a certificate warning, 962 00:43:58,560 --> 00:44:00,260 an untrusted certificate warning. 963 00:44:00,480 --> 00:44:02,300 And the problem is that 964 00:44:02,300 --> 00:44:03,980 Citibank apparently has 965 00:44:03,980 --> 00:44:06,120 like a couple of hundred different 966 00:44:06,120 --> 00:44:06,920 SSL certificates. 967 00:44:07,600 --> 00:44:09,120 And each one is on a different 968 00:44:09,800 --> 00:44:10,600 SSL accelerator, 969 00:44:11,240 --> 00:44:13,300 so every time you connect you get a different certificate, 970 00:44:13,520 --> 00:44:14,820 which means that all the notaries 971 00:44:14,820 --> 00:44:15,600 see different certificates, 972 00:44:15,800 --> 00:44:17,000 your browser sees a different certificate, 973 00:44:17,160 --> 00:44:21,080 and it looks identical to the case of being attacked. 974 00:44:22,640 --> 00:44:23,980 The good news is that there aren't 975 00:44:23,980 --> 00:44:25,080 many sites like this on the internet. 976 00:44:25,300 --> 00:44:27,080 In fact, Citibank is the only one that I could find. 977 00:44:27,140 --> 00:44:27,920 I'm sure that there are others, 978 00:44:28,580 --> 00:44:29,540 but they're pretty rare. 979 00:44:29,760 --> 00:44:32,100 And so while we might not need to migrate the internet, 980 00:44:33,980 --> 00:44:35,040 I'm going to ask a few of these sites to 981 00:44:35,540 --> 00:44:37,480 use sane practices 982 00:44:37,480 --> 00:44:39,400 like not having hundreds of different 983 00:44:39,400 --> 00:44:40,040 SSL certificates. 984 00:44:41,560 --> 00:44:43,600 The other problem right now is captive portals. 985 00:44:43,700 --> 00:44:44,360 So if you're running 986 00:44:45,460 --> 00:44:47,640 convergence right now and you're in an airport or hotel, 987 00:44:48,480 --> 00:44:49,840 you want to connect to the internet 988 00:44:49,840 --> 00:44:51,500 and you'll get redirected to this captive portal 989 00:44:51,500 --> 00:44:52,920 where you have to type in your credit card number 990 00:44:52,920 --> 00:44:54,480 before you can actually access the internet. 991 00:44:54,780 --> 00:44:57,140 You want to secure this connection with the captive portal, 992 00:44:57,360 --> 00:44:59,600 but the captive portal is not letting internet traffic out, 993 00:44:59,780 --> 00:45:02,140 so you can't contact your notaries. 994 00:45:03,480 --> 00:45:03,960 And so 995 00:45:03,980 --> 00:45:06,420 right now 996 00:45:06,420 --> 00:45:07,540 you have to actually just unclick 997 00:45:08,000 --> 00:45:09,860 convergence in order to deal with this thing. 998 00:45:10,080 --> 00:45:11,520 But the good news is that 999 00:45:11,520 --> 00:45:14,540 almost always in these captive portal situations 1000 00:45:14,540 --> 00:45:15,680 they let DNS out, 1001 00:45:15,820 --> 00:45:17,420 which means that we only have to 1002 00:45:17,980 --> 00:45:19,640 build a 1003 00:45:21,240 --> 00:45:22,120 convergence protocol 1004 00:45:22,120 --> 00:45:22,760 over DNS, 1005 00:45:23,020 --> 00:45:25,380 and it'll work in the captive portal situation as well. 1006 00:45:27,260 --> 00:45:28,120 You can download 1007 00:45:28,120 --> 00:45:29,300 the software. I released it yesterday 1008 00:45:30,060 --> 00:45:31,480 from convergence.io. 1009 00:45:32,060 --> 00:45:33,480 Try it out. It's in beta. 1010 00:45:34,200 --> 00:45:35,240 Look at the server stuff. 1011 00:45:35,400 --> 00:45:36,780 If you want to run a notary, set one up. 1012 00:45:37,300 --> 00:45:38,740 Talk to people who might trust you 1013 00:45:38,740 --> 00:45:40,560 and ask them to configure you as a notary. 1014 00:45:41,720 --> 00:45:43,900 Even if you're not going to try convergence 1015 00:45:43,900 --> 00:45:44,720 or you're not into it, 1016 00:45:44,880 --> 00:45:47,260 the one question that I want to leave you with here today 1017 00:45:47,260 --> 00:45:49,920 is whenever someone is proposing 1018 00:45:50,560 --> 00:45:51,840 another authenticity system, 1019 00:45:52,700 --> 00:45:54,420 I think the question that we should all ask 1020 00:45:54,420 --> 00:45:55,760 is who do we have to trust 1021 00:45:56,520 --> 00:45:57,580 and for how long? 1022 00:45:58,580 --> 00:45:59,620 If the answer is 1023 00:45:59,620 --> 00:46:00,980 a prescribed set of people 1024 00:46:01,600 --> 00:46:02,000 forever, 1025 00:46:03,980 --> 00:46:04,380 then proceed with caution. 1026 00:46:05,060 --> 00:46:06,980 In the meantime, try out convergence. 1027 00:46:07,380 --> 00:46:07,980 Thank you.