Okay, so there's a well-known problem for speakers at conferences like these. You know, DEF CON's a big place, people are spread out, people are still coming and going, and you know, at the beginning of your talk, probably there's still people coming in, everyone hasn't really made it yet. And so what speakers do is they try and start slow, so that nobody misses any of the interesting stuff. So you know, they'll start with a tedious bio about their background, or go into the you know, the history of the problem that they're going to be talking about, but I don't really like that stuff. So I want to try something a little different, where I'm just going to tell, for the first three minutes here, a completely unrelated, totally random story that has nothing to do with computer security or this talk. Here it goes. The story goes like this. Okay, so just after I'd gotten out of high school, me and some friends had this hair brain schemed. Where we thought that we were going to travel to the Caribbean, find an uninhabited island, and like, colonize it. Yes, I know. I blame DDC on my youth. So, you know, this was, you know, a long time ago, and back then, driving was cheaper than flying, so we drove all the way to Miami before getting on an airplane for a short flight into the Caribbean, where we tried to find a boat, et cetera. And it didn't really work out, obviously. We were very hungry, and so then, you know, on the way back, we were driving back up north through Florida, you know, feeling somewhat defeated, and we decided to stop for lunch at some point, and we actually wanted to, you know, stop and get out of the car, so we saw this, like, kind of Tex-Mex type restaurant, you know, the kind of place with, like, chips and you sit down, that kind of thing. So, you know, we stopped, and we got out of the car, and we started walking towards this restaurant. And, you know, through the parking lot, about halfway there, I was with two friends, and one of them realized that he'd left something in the car, or that he'd left it unlocked or something like that, so he turned around and went back to the car, while my other friend and I went into the restaurant. And when we got into the restaurant, we caught the end of their birthday ritual. You know, I feel like these restaurants all have their own sort of unique birthday ritual. They have, like, a special song or something that they sing when people come out. And so we caught the end of theirs, and it was the strangest thing I've ever heard. I've ever seen in a restaurant. So they came out, you know, singing, and there's two waiters, and one of them stood in front of the woman whose birthday it was, with a little, like, saucer, you know, plate type, you know, almost like you'd put a teacup on it, but with just a little dab of whipped cream on it, and a spoon, and held it in front of her and asked her to close her eyes and open her mouth as if he was going to feed her this whipped cream. Meanwhile, there was another waiter standing behind her with a full pie tin, full of whipped cream, and she closed her eyes and opened her mouth, and the dude reaches around and just slams her in the face with the whipped cream, you know. I mean, this lady's shocked, you know. It's her birthday. She's dressed up. She just gets, like, a pie to the face, you know. No warning at all. And so my friend and I are standing there, like, you know, looking at this, you know, mouths open, and my other friend is still at the car. So, you know, my friend who's standing there looks at me and says, hey, I think it might be Jack's birthday today. So, you know, we come in and we sit down, and I surreptitiously, during the meal, get up and go and talk to the waiter. I'm like, hey, you know, it's my friend's birthday today. I don't know if you do anything here. And he's like, oh, yeah, we got a thing we do. You know, we'll come out. And so I was like, great. You know, I go and sit back down. We're waiting. Eventually, you know, they come in. I'm out singing the song and everything. And, you know, our friend is looking a little bit bewildered, you know. And he later confessed that he thought that we had told them that it was his birthday so that we could get, like, free cake or something like that. So he starts, you know, willingly playing along. And they put a little hat on him, and then, sure enough, they do the thing where they, you know, hold the little dab of whipped cream in front of him and closes his eyes. He opens his mouth, and the dude reaches around behind him and just slams him in the face. And, you know, I knew this was coming, so I had one of those disposable cameras, you know, that you used to use back then, you know. And I had it under the table. It was all ready. And so I got him right at the moment, you know. Just the look on his face is just pure shock. All right. Anyway, I hope that was more interesting than a three-minute, you know, description of my background. Okay. So let's talk about SSL and the future of authenticity. Really, this talk is about trust. And I want to start this talk out with another story. It's kind of a downer, but I feel like it's illustrative of the situation that we're in. And the story is about a company called Komodo. They're a certificate authority, and according to Netcraft, they certify somewhere between a quarter and a fifth of the certificates on the Internet today. So they're the second largest certificate authority in the world. And in March of this year, they were hacked. The attacker was able to make off with a number of certificates, you know, mail.google.com, login.yahoo.com, Skype, basically everything that the attacker would need to intercept login credentials to all of the popular web mail providers and a few other services. And so immediately after the attack, the founder and CEO of Komodo issued a statement where he said, this attack was extremely sophisticated and critically executed. It was a very well-orchestrated clinical attack, and the attacker knew exactly what they needed to do and how fast they had to operate. He went on to add that all of the IP addresses involved in the attack were from Iran. You know what this means. Cyber. But he didn't leave it at innuendo. He actually spelled it out. He said, all of the above leads us to one conclusion only, that this was likely to be a state-driven attack. So he's painting a pretty complete picture for us here, right? This isn't just a hack, you know, this is war. And who is to blame Komodo for falling into the full assaults of a, you know, a state-sponsored invasion, you know, from a cyber army? And so ironically, it was these statements that really catapulted the story out of the trade press and into the mainstream media. And so a number of reporters called me, and they all had the same question, you know, what does this mean? What can this attacker do? And I said, well, you know, it means they can intercept communication to these websites. And I said, well, you know, it means they can intercept communication to these websites. And the reporters would say, well, how? You know, how would they use these certificates to do that? And I would say, well, you know, I think there's commercial solutions, you know, like the blue code and a few other, you know, kind of scary interception devices out there. And I was talking to one reporter who asked me, she said, no, what is the easiest way? What is the most straightforward way that an attacker would leverage these certificates? And I thought about it, and I said, well, you know, the attacker could just use SSL sniff, which was a tool that I wrote to perform man-in-the-mill attacks against SSL connections. Now, interestingly enough, when Komodo published their incident report, they also published the IP address of the attacker, which is somewhat unusual. But I think that they were doing this to, you know, sort of underscore the Iran, Iran, Iran, Iran thing, you know, because this is the IP address is registered to a block in Iran. And so, you know, I was thinking about that reporter's question, you know, SSL sniff and all that stuff. And so, you know, I thought, well, I wonder. So I went and I looked at my web logs. For my web server where I host SSL sniff. And sure enough, the day, the morning after the attack, the same IP address that Komodo had published downloaded SSL sniff from my website. Now, there's some other interesting things in here. First of all, the attacker is running Windows. And also, interestingly, the attacker's web browser is localized to U.S. English. Hmm. But the most interesting thing was the referrer. So I went back to my web logs and I found the point that the attacker, you know, initially made a connection with my website so that I could see the website that they had visited before. And so the referrer was a Hack 5 video. On using SSL strip. For those of you who don't know, Hack 5 is sort of like a, it's like a set of video tutorials that are pretty introductory material for, you know, people that are just getting interested in this kind of thing. So just to break this down for you. On one hand, we have the CEO of Komodo saying this is a clinical attack. And on the other hand, you know, we see that the attacker is literally following video tutorials on the Internet. I mean, maybe that was a great video. I don't know. I haven't watched it yet. It could have turned him into a clinical attacker. I'm not sure. And then there were a number of other sort of embarrassing searches that led them to my same website again and again throughout the day. So I caught the Google search referrers, which were things like SSL protocol, man in the middle, how to, IP tables, pre-routing. Apparently he was having some trouble setting up their IP tables. So I was kind of chuckling about this to myself, you know. And then the attacker posted a communique. And it could not have been more embarrassing. I mean, he alternated between making these grandiose, impossible claims about how he's hacked RSA and all this stuff while simultaneously very proudly declaring that he's capable of doing extremely trivial things like, you know, he can export functions from DLLs and create his own soapy PIs and stuff like that. So this could not have been more embarrassing for really anybody involved. You know, the attacker, Komodo, you know. But what was worse is he just wouldn't shut up. He just kept posting communiques. Each one more embarrassing than the last. And I think he posted six in total. He also did interviews with the press and all this stuff. It was ridiculous. And so the Komodo CEO and founder responded to these events by making a statement where he said, if this were a secure and trusted DNS, this issue would be a moot point, exclamation point. We need a secure and trusted DNS, exclamation point. So this guy has just very enthusiastically declared that he does not understand the business that he's in. On one hand, he seems to be suggesting that DNS tampering is the only way to perform a man-in-the-middle attack, which is just not true. 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. If man-in-the-middle attacks weren't possible, we wouldn't need the certificates that he's selling us. Later that month, they got hacked two more times. And the next month, they got hacked again. Now, you know, normally I wouldn't take this much time to be so critical of a company like Komodo. But I think it's an interesting story because I think there's an interesting question here, which is, what happened to Komodo? After all of this, it couldn't have been more embarrassing. It could not have been worse, really. You know, what happened to them? Nothing. Their business didn't suffer. They didn't lose customers. They didn't get sued. You know, really, the only thing that happened to Komodo, this year, was the CEO was named Entrepreneur of the Year at the RSA conference. And so I think that this is the essence of the problem that we're looking at. You know, this is the problem with SSL today. So let's take a moment and just sort of step back and look generally at secure protocols. Any secure protocol needs to provide three things. Secrecy, integrity, and authenticity. It has to provide all three. If one of these fails, the whole protocol will fall apart. But we need to remember that SSL, which is a secure protocol and it's trying to meet these objectives, was designed in the early 90s. And things were different there. You know, there wasn't a lot of information available on how to design a secure protocol. You know, books like Applied Cryptography had not been published yet. You know, if you wanted to use RSA, the algorithm, you had to license the patent from RSA, the company. You had to pay money in order to just even, you know, perform this type of cryptography. E-commerce didn't exist. The idea of transmitting your credit card number over the Internet was totally foreign. There were no such things as web applications, really. You know, people weren't really transmitting their login and password credentials through websites. And the Internet itself was tiny. You know, in 94, according to ISC, there were less than 5 million hosts on the entire Internet. Compare that to today where, you know, we're about to run out of public-facing IP addresses. Is it more than 4 billion or at 4 billion? You know, at the time, there were probably less than 10 secure sites that you could think of. Less than 10 sites that, for some reason, you wanted traffic to be encrypted to these websites. Whereas today, there are more than 2 million certificates on the Internet. More than 2 million sites that are using SSL. At the same time, you know, it's worth remembering that SSL was developed at Netscape. And this was an environment of really intense pressure. You know, the game, the race was really on then. And this is the same place where a series of 4 a.m. decisions gave us JavaScript. And we're still dealing with that today. So, you know, actually, when you look at it, the designers of SSL were actually pretty heroic. You know, they didn't have a lot to work with. And they were working in circumstances that are totally different than our circumstances today. And yet, it served us pretty well. You know, when it comes to these first two things, secrecy and integrity, they did okay. There have been some problems, and there are still some problems. You know, the piece that has always caused some real friction is now causing real problems is the authenticity piece. Now, authenticity is important, of course, because, you know, normally if you establish a secure session with a website, the problem is that if you don't have authenticity, someone could have intercepted your connection to that website. They establish a secure session with you. They make their own secure session with the website and just shuttle data back and forth, logging it in between. But, you know, what's easy to forget is that this attack, a man-in-the-middle attack, was entirely theoretical. In 94 or 95. You know, the network tools didn't exist. This wasn't the kind of thing that was actively happening. This was thought of as like an academic thing. You know, it's like, oh, well, there's this other thing called the man-in-the-middle attack. And, you know, we need to design something, you know, theoretically to prevent against that. And so, the designers came up with a solution that was certificates and certificate authorities. Where every site has a certificate and, you know, it's known to be authentic because it's assigned by a certificate authority. Which is, you know, just some organization that we've decided to trust. So, you know, I had this hypothesis that, you know, that we've outgrown the circumstances in which SSL was originally imagined. And that this is a different world today. And then I thought, well, I wonder if that's true. You know, I wonder what they were actually thinking. And so, I thought, well, I should talk to the people that designed SSL. And so, I did some research and I figured out that SSL was originally designed by this guy, Kip Hickman. Who was a Netscape employee back in the day. And the last thing that Kip Hickman posted to the internet was in 1995. So, it was difficult to find him. You know, I talked to some people at Netscape who, like, pointed me in the right direction. And eventually, I tracked him down. And I basically just cold called him. And, you know, I talked to him on the phone. And he's a great guy. And, you know, he's like, oh, SSL. Yeah, I hadn't thought about that in a long time. I was like, wow, okay, you know. And he's like, oh, yeah. And I was like, so, certificate authorities, what's the deal? He's like, oh, that whole authenticity thing. He's like, yeah, we just threw that in. We just threw that in at the end. He's like, you know, SSL, it was never designed. We were designing it to prevent passive attacks for the most part. You know, we heard about this thing, the man in the middle attack. And so, we just sort of threw that in at the end. He's like, really, that whole thing with certificates, you know, it was a bit of a hand wave. He's like, we didn't think it was going to work. We didn't know, you know. And, you know, like, the idea back then, you could say, made sense, right? You know, if you look at the number of domain names on the internet, you know, back in 94, when that number, the graph was appropriate, and now it's approaching zero, you know, it makes sense that, okay, maybe you have ten sites that you could identify as secure sites. And so, you have one organization that just looks at those ten sites really carefully and, you know, makes a decision and signs those certificates. But, you know, if you try and scale that up over time, you know, to today, when there's almost a billion domain names on the internet, and ideally we'd like all of them to be secure, it seems a little bit unrealistic to think, well, we're going to have an organization or even a set of organizations that's going to look, you know, appropriately, closely at all of these domain names. When I asked Kip about how he saw the scaling over time, he was like, oh, scaling, we didn't really think about it. He was like, you've got to remember, at the time when this was designed, Yahoo was a web page with 30 links on it. He was like, that's what Yahoo was. I was like, oh, okay, yeah, that's different. And history has really borne this out. Ivan Ristik put together a nice little threat matrix of, you know, all of the possible problems with SSL that have cropped up in the past. And, you know, up over here in this corner, you see some of the problems with secrecy and integrity that have come up, but, you know, it's managed to sort of squeak by. And down here, there's some of the problems with the, you know, user interaction. These are things like SSL strip. But in terms of the protocol itself, this stuff up here with the authenticity piece has been where all the real problems are. And I think, you know, looking back at the Komodo thing, you know, the lesson from these events shouldn't be that this was cyber war, because I think pretty clearly it wasn't, but that this is happening every day. You know, that's the real story. You know, one of these domains that the attacker got, login.live.com, I mean, you know, we should remember that Mike Zussman got this just by asking for it. You know, he didn't have to export functions from DLLs or create his own soap APIs or whatever, you know. He just sent in a request, you know. Eddie Nigg got Mozilla.com with no validation at all, just asked for it. VeriSign issued a code signing certificate for Microsoft Corporation to attackers that are still unidentified. You know, they were never discovered. I mean, this kind of thing happens all the time. Just recently, I needed to get an SSL certificate, so I went to this website, sslinabox.com, you know, straight to the bottom of the barrel. And, you know, it's one of these things where you have to, like, create an account in order to, you know, submit anything. So I go to create the account, and when I click, you know, create, it just logged me into someone else's account. I was like, that was broken, you know. And I was like, well, fuck, you know, I'm not even trying to hack this. I just want a certificate, you know. So, you know, I logged out, and I, like, tried to create an account, and it logged me into someone else's account. And every time I did it, I just got a different account, you know. And the thing is, it's like, I didn't even bother emailing them about it, because, you know, I'm sure that they don't even care, right? You know, there's this certificate authority that published the key to their certificate in the public directory of their web server. This is a certificate authority. And the thing is, like, you could kind of understand, I mean, not really, but you might be able to understand how it's possible that someone could have made this mistake, but it's still there. You know, it's not like they, like, were like, oh, crap, you know, and, like, removed it. Since in 2009, the key to the certificate has been available for the public. You know, Starcom recently got hacked. We don't know why. We don't really know what happened. And, you know, you don't even have to hack anybody. Like, if you've got the money, you can just buy a certificate authority. You can get a CA cert from GeoTrust. I think it's 50 grand. Anybody has 50 grand to spend? Get your own CA cert, intercept all the communication on the Internet. I really like their iconography in the top right corner, because it really is, you know, it's just like, we're giving you the key to the world. You know, they're not hiding anything. And what if this were a state-sponsored attack, this whole Komodo thing, you know? I think it's worth realizing that the only reason that Iran would have to hack a certificate authority in order to order, in order to issue certificates, is because they don't have a certificate authority of their own. But, you know, many other countries do. The EFF put together an excellent project called the SSL Observatory, where they scan the Internet, and they put together a map of all the countries in the world that are currently capable of issuing certificates, and thus intercepting secure communication. And it looks like this. I mean, I don't know if you can see, but way out in the middle of the Atlantic there, there's a little red speck. That's Bermuda. Bermuda can issue certificates. So I think the good news is that the vibe around this sort of thing seems to be shifting. From the old vibe of total ripoff, which I think was just the general perception of certificate authorities, to the new vibe of total ripoff and mostly worthless. But, so there's been a lot of talk about, you know, moving forward and replacing certificate authorities with something else. But I think that if we're going to do that, it makes sense to really accurately identify the problem and, you know, figure out what it is that we're trying to solve so that we don't end up in the same situation again. Now, there have been, I think, a few sort of general perceptions of what the problem might be. The first is people look at the EFF SSL observatory data. So the EFF scan the Internet and they put together a graph of all of the organizations in the world that are currently capable of signing certificates. And it's a lot of organizations. In fact, it's 650 different organizations are currently capable of intercepting communication. And so I think one simplistic reaction to this is just to say, well, the problem is that there's too many certificate authorities. There's just too many of them. What we need is fewer certificate authorities. But, you know, I feel like this might be a little simplistic. You know, like, for instance, remember when there was only one and they could charge as much and do really whatever they wanted? And if part of the problem here is really a scaling issue where we've gone from maybe 20 secure sites to 2 million secure sites and ideally we'd like a billion secure sites, you know, it seems like less is not really the answer, right? If anything, we would want more organizations that are capable of being on the ball here. Another kind of general perception is that there's just a few bad apples, that most of the certificate authorities are cool and there's just a few certificate authorities that have, you know, given the whole thing a bad rap for everybody else. But, you know, I also, I don't know if this is true. I think that if you look closely, there's really nobody here that does not have dirt on their hands. You know, even VeriSign, back when they were the only game in town, at the same time that they had a business issuing certificates and securing communication, had another section of their business where they were managing so-called lawful intercept services for governments. You know, so the same organization that we had entrusted to secure our communication was also simultaneously making money by intercepting secure communication. And I think if you look closely, there's really nobody here that isn't similarly distressed. Another idea is that it's a scoping issue, right? That the problem is that the authorities are all in the same scope. So, for instance, today, two authorities who can sign certificates and thus intercept secure communication on the Internet are the Department of Homeland Security and the State of China. And so there's this idea, well, the problem is that the DHS can sign Chinese sites and China can sign U.S. sites. And really, if we just separated the scope and, you know, China could only sign sites in China and the Department of Homeland Security could only sign sites in the United States, everything would be cool. And while this might be an improvement, I feel like it's kind of a low bar. I think there are plenty of people in China that probably don't trust the State of China. to certify sites even within their country. And likewise, I feel like there are plenty of people in the United States who don't trust the Department of Homeland Security to be certifying their communication either. So in order to answer this question of, you know, what is the problem, I think it's a good idea to look back at the first question. What happened to Komodo? Well, nothing happened to Komodo. But why? Why did nothing happen? What could we have done? If I decide that I don't trust Komodo, and I don't, the very best thing that I can do is remove them from the trust database in my web browser. I could say, okay, they are no longer a trusted authority. The problem is that if I do that, somewhere between a quarter and a fifth of the Internet just disappears. Totally breaks. I can't visit those sites anymore. And sure, I could take an ideological stance to never visit those sites again because they're mixed up in the Komodo cabal of whatever. But really, there's no appropriate response. And the thing to remember is that this is as true for browser vendors as it is for you or me. You know, a browser vendor cannot remove Komodo from their trust database because they're just going to be breaking somewhere between a quarter and a fifth of the Internet for all of their users. They're in the exact same situation that you and I are. The truth is that somewhere along the line, we made a decision to trust Komodo. And now we are locked into trusting them forever. And I think that this is the essence of what we're looking at today. That we can void on all the problems that we've had with certificate authorities to a single missing property. And I call this property trust agility. The idea is that trust agility provides two things. One, that a trust decision can be easily revised at any time. You know, there are plenty of people that say, oh, Moxie, don't trust anybody. That's not true. I mean, there are plenty of organizations that I could identify today that I trust to secure my communication. For me, you know. But what seems insane is to think that I could identify an organization or set of organizations that I would be willing to trust not just now, but forever, regardless of whether they continue to warrant my trust and without any incentive to continue behaving in a trustworthy way. The second property of trust agility is that individual users can decide where to anchor their trust. And this could be the same thing as saying individual browsers can decide where to anchor their trust. And I think this is important. You know, right now, there's this idea, oh, there's this scoping problem. You know, that VeriSign and Komodo are in the same scope. And that, well, if we just separated the scopes, then if VeriSign did something particularly egregious, you know, a site like Facebook could switch to a different certificate authority, and this would actually have some significance because VeriSign would be unable to continue signing certificates for Facebook, which is currently not the case. But, you know, I think, you know, if it's been a struggle to get websites to deploy HTTP, or SSL, to begin with, it seems a little bit far-fetched to think that they're going to continue making really active decisions in our best interests. And what's worse, in this increasingly globalized world, it doesn't seem like there's really, it's really possible to make one trust decision for everybody. That, you know, different people live in different contexts with different threats, and, you know, have different needs, and probably trust different individuals. And so, you know, what's more, it's our data. It's our data that's at risk here, not the site administrator, not the company that's, you know, operating this web service. It's the user's data. And I feel like it should be the users or the browsers who get to decide, you know, who to trust. This property that individual users decide where they can anchor their trust is really just a simple but powerful inversion of the way that things already work. You know, currently there's three entities involved in any one of these transactions. You know, there's the client, the server, and the authority. And that this trust relationship is initiated by the server. The server, you know, talks to an authority and says, hey, please certify me. The authority responds with a certificate that is eventually given back to the user through the site. And, you know, what we're talking about here is just doing a simple inversion where it's the user or the client that initiates this trust transaction and talks to the authority, the authority, and says, please certify this site for me. The authority certifies that site and responds back to the user. The reason this is so powerful is because now this means the user can decide what authority they need to talk to. Which means that this issue of scoping is not such a big deal, right? The fact that the Department of Homeland Security can sign sites, you know, in China is not an issue because users in China will just ignore it and talk to some Chinese authority. Or they might decide they don't trust China either and they talk to some NGO or something else instead. I think that these two components of trust agility are really powerful. And I think that they are exactly what's missing from the CA system today. And that is where all our problems have come from. So I want to take a few minutes to talk about DNSSEC because there's been a little bit of talk recently about using DNSSEC to replace the authenticity piece of SSL. And the basic idea is this. You take your SSL certificate on your site and you shove it in your DNS record. That's basically the gist of it. So you have a cert, you put it in your DNS record. That way, when a client goes to contact a site, it does a DNS lookup, it gets back a DNS response with not only the IP address, but also the server certificate embedded in the DNS response. That way, when they connect to the server, they just make sure that the certificate they see is the same thing they got in the DNS response. And this thing is known to be authentic because it's signed because we're using DNSSEC. Now, this scheme has a really immediately kind of visceral appeal. And I think it's because people tend to mentally associate DNS with the word distributed. And distributed sounds really good right now. You know, it sounds like exactly what we need. After suffering under the centralized yoke of certificate authorities for all these years, it would feel good to just wipe them off the page and replace them with a distributed system instead. But when you start to look closely at it, the way that DNS works and DNSSEC works is that it's the information that is distributed. The information in the DNS records is distributed across the various zones on the Internet. But the trust, is incredibly centralized and hierarchical. And this is actually exactly how the CA system works today. The information, the certificates, are distributed across the web servers of the sites that are serving them on the Internet. And the trust is highly centralized in this hierarchy of certificate authorities. So the next question is, well, okay, if it's still centralized trust, maybe there's something about the people that we have to trust or maybe there's some increased trust agility here that would be appealing. So let's look at the trust requirements. There are three main classes of people that you have to trust under DNSSEC. The first is the registrars. You know, I feel like if CAs are sketchy, these people are, they're taking it up a notch. You know? Personally, I think it should be laughable that the current first step in deploying DNSSEC is to create an account with GoDaddy. I think that should be laughable. The second class of people that we have to trust here are the TLDs. So these are the companies that manage the top-level domains. So in the case of .com and .net, the, you know, largest TLDs on the Internet, the company that manages those is Verisign. Same player, same game. If you look at other TLDs like .org and .edu, the, you know, the companies that manage them are probably not companies that you've ever heard of. And I would at least say that I would at least suggest that if you were to think, oh, who's like a really trustworthy company, you know, who's really, you know, you know, has a strong sense of integrity, these companies are probably not the first that would come to mind. You know, take a minute to look at the organizations that manage the other TLDs, and look at the executive boards, look at the people managing the operations, and ask yourselves, are these the people that I want to trust with all of my secure communication in the future? There's also the country code top-level domains. So does everyone that's using TLDs that are kind of hip, like .io, .cc, and .ly, trust the corresponding governments for these countries to secure all of their communication? What about TLDs like .ir and .cn? Should the citizens of these countries have to trust their governments with all of their secure communication to local sites? You know, this is the current picture of what countries around the world are capable of intercepting secure communication based on the EFF SSL. This is what that picture would look like under DNSSEC. And if the recent domain seizures are any indication of the future, it seems like these TLDs could be dangerous. And then the third class of people that we have to trust here is the root, and that's ICANN. Now, you know, I don't have any particular beef with ICANN, but while ICANN has made, you know, a great effort to be a sort of global organization, as far as I know, you know, fundamentally, they are just a California 501 nonprofit, which, as far as I know, means that they have to abide by laws in the United States. And, you know, if this legislation that's been coming up recently, like COICA and Protect IP and this kind of thing, to me, the real lesson here isn't whether this passes or not, because there's been some kind of heroic efforts to prevent this legislation from going through, but I think the thing to take away from this is that they're trying to pass legislation that messes with this stuff, and maybe one day they'll succeed. And I think, you know, ICANN would be subject to that regulation in that case. You know, the worst part about, you know, all of these organizations is that this system actually provides reduced trust agility. That today, even as unrealistic as it might be, I could still choose to remove VeriSign from my list of trusted certificate authorities. But there is nothing that I can do to stop VeriSign from being the company that manages VeriSign.net TLBs. So, if we sign up to trust these people, we're signing up not to trust them just now, but forever, regardless of whether they should continue to warrant our trust, with no ability to change our mind about whether we should continue trusting them, without any incentives to continue behaving appropriately. So, let's talk about things that I'm a little bit more inspired by. There's a project called Perspectives, which came out at Carnegie Mellon University, and it was done by Dan Winlent, David Anderson, and Adrian Perig. And it was originally a paper that was published on using multi-path probing in order to provide authenticity for SSH and SSL. And the concept is fundamentally about perspective. The basic idea is this. You connect to a secure site, you give back a certificate, and you think, wow, I wonder if this certificate is good or not. How do I validate it? You contact an authority, then you say, hey, what certificate do you see for PayPal.com in this case? The authority makes its own connection to the website, gets its own certificate back, just like a normal web browser would, and then sends that certificate back to you as the client. Now, you compare the thing you got from the authority with the thing you got from the site, and you make sure that they're the same. And so what you're essentially doing is you're using some network perspective to get a different view on the same site. You know, that you have a different network path from wherever the authority is communicating from. And we call these authorities notaries. And you can't, you don't have to talk to just one notary. You can talk to any number of notaries. And they can be distributed around the world, so they each have their own unique network path to the same destination. You're essentially building a constellation of trust. This idea of using perspective is actually not new. It's how SSL works right now. You know, right now, if a site administrator wants to get a certificate for its site, you know, what does the administrator do? They contact an authority, and they say, hey, could you please issue a certificate for my site? And what does the authority do? They send an email to the site with a verification code in it. And if the administrator can receive the verification code, and send it back to the authority, the authority issues the certificate. So it's just using another form of network perspective to do the same thing. We're just trying to invert this relationship so that instead of being site initiated, it's user initiated. Now, Perspectives, when it was released, came with an implementation, but the implementation was kind of limited. It was initially designed for self-signed certificates, and so it has had some challenges. The first big challenge is completeness. Since it was initially designed for self-signed certificates, it only works for the initial connection that your web browser sends. So it doesn't work for any of the background content, the images, CSS, JavaScript, all that stuff. So it's not possible to eliminate certificate authorities completely using Perspectives. The second problem was privacy. If every time I make a secret connection to a website, I have to make another connection to a notary, I'm now leaking my entire connection history to the notary, and that seems a little bit unfortunate. And the last problem is responsiveness. Perspectives suffered from this idea of notary lag. What would happen is, you get a certificate, you contact a notary, and you say, hey, what do you see for paypal.com? And the notary would make a connection and see a certificate. The problem is the notary would cache the response so that it wasn't constantly having to connect to all of these sites, and then just periodically at some interval, poll the site, like once a day or something like that, all the sites that it had certificates for, in order to see whether the site had switched to a different certificate. The problem is that if a site did switch to a different certificate, your responses from the notary would be invalid for the duration of the poll interval. So what I've done is I've taken this concept of using Perspectives and I've built on it to create a system that I call Convergence. Convergence is a new protocol, a new client implementation, and a new server implementation of this concept. The first thing that we do is try to address the perspective challenges. We eliminate notary lag by basically when you contact the notary, you also send what you saw. So now the notary doesn't have to do any polling, it just has to contact the server in the case of a cache miss or cache mismatch. There's no more notary lag. The next thing that we did was add privacy. So this is two parts. The first part was through local caching. So now whenever you contact a notary and you say, hey, what do you think of this certificate? If it says, hey, this is A-OK, you go ahead and cache that certificate locally. That way the next time you connect to the site, you get the same certificate back, all you have to do is check the local cache and say, yeah, this thing is good, and you don't even have to talk to a notary. So now you're only leaking your connection history if a secret site's certificate changes. So that still doesn't seem that great. So the next thing we do is implement notary bouncing. The idea is that you have a set of notaries that you have configured as notaries that you trust, and you want to talk to all of them. And the first thing that you do is randomly select one of the notaries and assign it as a bounce. And you connect to that notary and then you tunnel SSL through the notary to all the notaries that you want to talk to. So the bounce notary is just a dump proxy shoveling bytes around, and it doesn't have any visibility into what you're querying about. The notaries that you're talking to know what you're asking about, but they don't know who you are. And the bounce notary knows who you are, but it doesn't know who you're asking about. These SSL connections to the destination notaries are done using static pre-shared keys that are configured whenever you add the notary to begin with in your browser, just like with certificate authorities now. Convergence is a Firefox app that you can get on, and it looks exactly like the normal Firefox experience. The only difference is in the upper right-hand corner you get this little convergence button. If you click this button and enable convergence, you are completely divorced from the CA system. Everything, foreground content, background content, the certificate authority certificates in your web browser are completely ignored. Everything looks exactly the same. The only difference is that normally if you visit a secure site and you put your mouse over the favicon, you'll see a little tooltip about who has certified this communication. The only difference with convergence is we are taking the certificate authorities completely out of the picture. Everything else works the same. The notary implementation is available free, open source. Anybody can run their own notary. It requires very little resources and it's designed to be extensible. The protocol is a REST protocol and the idea is to design a protocol that supported a number of different backends. So by default, the default backend for the notary is to use network perspective. But you could write any number of other backends for the notary. For instance, if you like DNSSEC, the notary could do DNSSEC to validate the certificate on the backend. It wouldn't have to use network perspective. If you're crazy, it could use CA signatures to validate certificates. You could even use notaries as fraud ends to other services, which the EFF has volunteered to run. And you can configure notaries that do different things. You could have a set of trusted notaries. Each one does a different thing. And the convergence implementation also has a threshold that you can set on what percentage of the notaries have to agree in order for things to be secure. I think the default is consensus. So what this means is that in the current CA system, you have some number of notaries and a number of certificate authorities. And if one of them is a bad actor, you're completely out of luck. And we're inverting that here where the more authorities that you have, the more notaries that you configure, the better off you are because it means that all of them have to be in cahoots to misbehave and intercept your SSL communication. And we have full trust agility. If we decide we don't like one of these people, we can just remove it and there are no implications. And if you like, you could replace it with a different one that does the same thing because you think they're more trustworthy. Other nice things here are that the servers do nothing. People's web servers, you don't have to make any changes, which means we don't have to migrate the internet to anything else. All we have to do is implement convergence in the four major browsers and be done. That would be it. That would be the end of the CA system right there. We don't have to make any changes because we don't have to make any changes. The concept of a self-signed certificate does not exist in the convergence system. Certificates are certificates. That's it. There are a few problems. The first is the Citibank problem, what's known as the Citibank problem. Right now, if you're running convergence and you visit Citibank.com, you will get a certificate warning, an untrusted certificate warning. And the problem is that Citibank apparently has like a couple of hundred different SSL certificates. And each one is on a different SSL accelerator, so every time you connect you get a different certificate, which means that all the notaries see different certificates, your browser sees a different certificate, and it looks identical to the case of being attacked. The good news is that there aren't many sites like this on the internet. In fact, Citibank is the only one that I could find. I'm sure that there are others, but they're pretty rare. And so while we might not need to migrate the internet, I'm going to ask a few of these sites to use sane practices like not having hundreds of different SSL certificates. The other problem right now is captive portals. So if you're running convergence right now and you're in an airport or hotel, you want to connect to the internet and you'll get redirected to this captive portal where you have to type in your credit card number before you can actually access the internet. You want to secure this connection with the captive portal, but the captive portal is not letting internet traffic out, so you can't contact your notaries. And so right now you have to actually just unclick convergence in order to deal with this thing. But the good news is that almost always in these captive portal situations they let DNS out, which means that we only have to build a convergence protocol over DNS, and it'll work in the captive portal situation as well. You can download the software. I released it yesterday from convergence.io. Try it out. It's in beta. Look at the server stuff. If you want to run a notary, set one up. Talk to people who might trust you and ask them to configure you as a notary. Even if you're not going to try convergence or you're not into it, the one question that I want to leave you with here today is whenever someone is proposing another authenticity system, I think the question that we should all ask is who do we have to trust and for how long? If the answer is a prescribed set of people forever, then proceed with caution. In the meantime, try out convergence. Thank you.