start	end	text
0	4380	This is Dr. Jeremy Galula. He's the tech projects director of the Electronic Frontier Foundation.
4380	8300	He's going to talk with us about kind of the cool encryption internet kind of thingies.
8300	11340	So I'm going to turn it over to him. Let's give him a great big round of applause.
11720	17980	Thanks very much. So yes, apologies if you were looking forward to seeing Shahid Batar.
17980	22560	He is elsewhere at DEF CON but couldn't be here to give this particular talk.
22560	27260	So I'm not going to be talking about NSA spying. I am going to be talking, however, about NSA spying,
27260	28800	but just from a totally different angle.
29020	33640	So first of all, thank you everyone for showing up here bright and early this morning.
33640	37880	I'm amazed that there are more than like two of you in the audience at 10 a.m. on Saturday.
38220	41180	So I will try not to put you back to sleep.
41560	45600	So most people see the EFF like this, like a bunch of lawyers.
45600	49740	So these are a team of lawyers. They're outside the United States Court of Appeals.
49740	52500	And it's true. We have a lot of lawyers. They're awesome.
52740	55880	But EFF also does a lot of other awesome stuff.
56480	59260	Obviously, with lawyers, we petition the government.
59260	66680	This is some comments we wrote to the FCC during the whole net neutrality debacle.
67400	71620	We actually put together comments from Internet engineers, pioneers, and technologists
71620	74840	about the technical flaws in the FCC's proposal.
75400	78060	And so we bring technologists together.
78160	81620	Obviously, we also do a lot of grassroots support, rallying grassroots support.
81620	84120	Some of you might have been at some of these protests.
84120	89980	But nearest and dearest to my heart as tech projects director is that we actually write code.
90140	94360	We have a bunch of technologists on staff at EFF who not only advise the lawyers,
94360	99740	we also write code, we create software that people can use to enhance their privacy and security.
99740	102500	And I'm going to be talking a little bit about that sort of stuff today.
103280	107220	So some of our software projects, some of you may or may not have heard of.
107240	109740	There's HTTPS Everywhere is probably our most well-known.
109740	115780	It's a browser extension you can install to enhance your security online.
116140	118800	I'll be talking a little bit more about that one later.
118800	124100	There's also Privacy Badger. That's another browser extension that's a privacy-focused as opposed to security-focused.
124160	128280	And then Certbot, which some of you may have even used to get yourself a certificate.
128280	131280	And I'll be talking a little bit about these two today.
133080	135800	So EFF has these three different theories of change.
135800	138220	We've got lawyers, activists, and technologists.
138220	146700	And so we get this wonderful sweet spot of being able to pressure the world to make the world a better place from three different angles.
148360	151080	So let's take a trip down memory lane.
151160	156740	And this is sort of how all of this sort of really tech-focused part of EFF started.
157000	162460	So back in 2006, this is way pre-Snowden.
163100	169060	A technician from AT&T literally walked in EFF's front door one day and said,
169060	173920	there's some shady stuff going on at AT&T between the AT&T and the NSA.
173920	175800	And I think you ought to know about it.
176140	181680	And so this was a guy named Mark Klein, who was an AT&T technician.
181680	190020	And he came to EFF and told us about essentially how AT&T was letting the NSA tap the Internet backbone.
190020	193740	There was this secret room in an AT&T facility in San Francisco.
193740	195900	And this was, again, long before Snowden.
196160	198560	And so we said, all right, we've got to do something about this.
198560	201660	This is warrantless mass surveillance, not cool.
201660	203460	Let's try and fix this.
204100	205740	So we tried the courts.
206360	209920	Our first lawsuit was Hefting versus AT&T.
209920	221000	Hefting was an AT&T customer we found who we had reason to believe that their communications had been sucked up by the NSA via AT&T.
222520	225240	Does anyone know how this one turned out?
226920	234960	So the fun fact is it disappeared because Congress, as soon as AT&T got sued, AT&T ran to Congress and said,
234960	237000	Congress, you have to protect us.
237000	239400	We were doing this because the DOJ told us to.
239400	241880	We were doing this because the NSA told us to.
242080	247160	How could we have possibly known that warrantless wiretapping was illegal and we should have challenged it?
247160	251860	And so Congress passed a law granting all of the telcos retroactive immunity.
252320	256340	And so Congress basically said, AT&T, you've got to get out of jail free pass.
256340	258300	And it goes backward in time.
258360	259480	So that went away.
259480	265160	So then we're like, fine, AT&T, we can't sue you, so we'll sue the NSA.
265160	267440	So Joule versus NSA.
267600	273940	Joule was another customer whose, again, communications we had reason to believe had been sucked up by the NSA.
274220	280440	Fun fact, Carolyn Joule is actually a romance author who lives in Northern California.
280440	281460	She's really awesome.
281460	284780	If you're into romance fiction, you should check out her books.
285940	290640	Anyway, so does anyone know how this one turned out?
292360	293820	Didn't disappear.
293820	294740	Good guess.
294740	296060	Excellent guess.
296320	297580	She did not disappear.
297580	298900	She's still around.
298960	301480	And in fact, so is the damn case.
301480	307420	It's been 10 years, and the wheels of justice grind inexorably slowly.
308460	314020	It is still ongoing, just because legal lawsuits take forever.
314020	316080	And they take especially longer.
316080	320360	They take a much longer infinity if you're suing the federal government.
320740	321920	And so this is still ongoing.
321920	326680	We still hope that we will succeed at some point, but it's just taking forever.
327440	333320	And so from our perspective, we're like, well, we don't want to wait for infinity time to get a resolution.
333360	335200	We think we can do something a little better.
335500	336820	So we tried some activism.
336820	338840	How many of you have seen this before?
339220	340060	A couple.
340060	341960	So then I'm happy to show it to you.
341960	348480	So this was a blimp that we flew in partnership with Greenpeace, I think the First Amendment Coalition.
348480	349600	There might have been a couple other groups.
349600	351980	I apologize for not remembering all of them.
351980	354860	And we flew it over the NSA's Utah data center.
354860	362460	So this is out in the middle of Utah where they've got this giant data center, which is presumably storing all of the data they're sucking up.
362520	367900	And we thought people should know that there's some illegal spying going on beneath that.
367900	370760	Of course, that didn't really pressure the NSA to stop.
371760	375540	As you might imagine, they didn't really care about a blimp flying overhead.
376380	378080	So what about technology?
378080	381540	As I said, we've got lawyers, we've got activists, we've got technologists.
383840	386280	So what is the fundamental problem?
387200	391440	To solve it with technology, we have to define what the problem is we're trying to solve.
391700	397080	So this is a slide later released via the Snowden leaks.
397080	400460	But it shows you the sort of thing that the NSA was sucking up.
400460	405040	And in particular, what you're seeing here is the headers from a connection.
405040	407580	And you notice that it's over HTTP.
407780	410140	This whole thing is unencrypted.
410600	415720	So the reason the NSA can suck all of this mass surveillance up is because it's unencrypted.
415720	421940	If it were encrypted, the NSA would not be able to look at everyone's communications.
421960	430160	Even the NSA, as far as I'm concerned, does not have the capacity to break everyone's encryption.
430160	433520	Assuming the encryption is configured correctly and is up to date, etc.
433540	437400	They may still be able to target individuals, but that's no longer mass surveillance.
437400	439200	And so then that's going to be a different problem.
440260	445320	So we said, fine, the solution is to get everyone to use HTTPS.
445320	449560	Well, 10 years ago, none of this was HTTPS.
449560	453640	It's kind of hard to believe that just 10 years ago, Google, Facebook, Wikipedia, Twitter,
453640	456060	none of them were using HTTPS by default.
456740	459120	And so we said, well, let's pressure them.
459120	462900	Because what we want to do is get as much traffic on the web encrypted as possible.
462900	466520	So let's start with the most popular sites, and then we'll work our way down.
467720	470220	So Idea Kitty has a bright idea.
470860	472400	We can fix this.
472400	476400	So we created the HTTPS Everywhere Firefox extension.
476780	480220	So what it is, it's a browser extension for Firefox, now also Chrome.
480220	481940	You can also install it in Opera.
482060	485840	I'm pretty sure it's compatible with Brave, too, although I don't think you need it in Brave.
485840	490880	Because Brave actually incorporates the HTTPS Everywhere list into the browser itself.
491380	498220	And what it does is when a website supports HTTPS, but it is not by default,
498220	500760	HTTPS Everywhere will upgrade your connection automatically.
500760	502920	You don't even have to remember anything.
502920	509080	It will prevent any sort of man-in-the-middle style attacks, any SSL attacks,
509080	514860	because it says, if that website is on my list of websites that support HTTPS,
514860	517860	then I'm only going to let the browser connect over HTTPS.
518540	520040	So we launched that.
520160	522240	It was in June of 2010.
523300	525780	At launch, it was about 1,000 websites.
525780	528080	It's now tens of thousands of websites.
528860	532380	It also blocked mixed content before the browsers did.
532460	535300	Now, I just want to double-check and get a sense of the room.
535300	537720	How many people here know what mixed content is?
538240	539160	Okay, so about half.
539160	543100	So basically, mixed content is when you load a web page over HTTPS,
543100	548140	but then it pulls in other resources over HTTP, so like images or JavaScript.
548200	550960	And when it's pulling the other stuff over HTTP,
550960	555560	that gives an attacker an opportunity to inject malicious scripts, basically,
555560	560160	and bypass the fact that the original web page was loaded over HTTPS.
560160	563280	So we did that before the browsers did, which is kind of awesome.
563280	567020	And now, of course, blocking mixed content is the default for browsers.
570160	576420	So shortly after we launched this news...
576420	579620	Well, basically, someone else launched another tool,
579620	582800	which gave us great motivation and pleasure that we had just launched HTTPS Everywhere.
582800	585480	How many people remember something called FireSheep?
586260	588000	So, okay, so a couple of people.
588000	592060	So FireSheep was yet another browser extension,
592060	594880	but what it was designed to do was to listen
594880	599640	if you were on an unsecured wireless network
599640	602060	or if you're just connected to a wired LAN
602060	604860	and it was just broadcasting packets,
604860	609640	it would listen to the HTTP connections that other clients,
609640	612620	other browsers were making, other computers,
612620	616160	and it would say, hey, look, that one looks like a cookie,
616160	618460	an authentication cookie for Facebook.
618560	622620	And then it would pull that in and it would let you log in as the other person.
622620	625600	And again, it was taking advantage of the fact that at the time,
625600	628200	even log-in connections were not encrypted.
628340	631740	So I could get on FireSheep, I could sit at a coffee shop,
631740	635380	and I could basically become a log-in as any person
635380	637620	who logged into Facebook at that coffee shop
637620	639700	because it wasn't over HTTPS.
639960	644980	And so HTTPS Everywhere protects against that, which was great.
644980	646960	So we were like, look, this is an active thing,
646960	648480	this is an attack that can really happen,
648480	650420	and we're protecting against it. Awesome.
651420	653820	So great. Wonderful. We've solved the problem.
653820	656380	We can go home. The NSA will stop surveilling.
657000	660200	Sadly, no. That is not quite how life works.
660200	661600	Everything was not awesome.
663240	666530	Although we might have been able to protect many sites,
666940	669500	not everyone's using HTTPS Everywhere, for one thing.
669560	674100	We've got anywhere from 3 to 10 million users,
674100	675800	depending on how you count.
675800	677940	Fun fact, as a privacy organization,
677940	679980	counting how many users you have is really difficult
679980	682300	given that we're not collecting that information.
683020	685760	But regardless, that is not the entire web.
685800	687320	Lots of people aren't using it.
688040	690800	And there's still no default HTTPS support.
692220	695520	So we said, all right, the real way to protect everyone
695520	697960	is to get the actual companies to change.
697960	699740	We can put out this browser extension,
699740	702020	and smart people can use it, they can tell their friends,
702020	703920	they can tell their family, they can tell their neighbors,
703920	705860	but it's still not going to reach everybody.
706140	709200	So we launched a HTTPS Now campaign,
709200	712120	basically pressuring the companies, trying to shame them,
712120	715040	and say, why the hell aren't you using HTTPS by default?
715040	716860	It's not that frickin' hard.
718320	719780	So we made some progress.
719800	722340	And it looks like I don't have all of the fonts on my computer,
722340	724680	because those were supposed to be green checkboxes.
724680	727700	That's what happens when you upgrade your operating system
727700	730620	and don't check your slides to make sure that you've got the same fonts.
730960	734140	But Facebook and Wikipedia still know default HTTPS,
734140	735440	which is kind of ridiculous.
736780	739320	So then, along came Edward Snowden,
739320	743260	and I'm pretty sure everyone in here knows who Edward Snowden is.
744220	747600	And so back in 2013, we got the Snowden leaks,
747600	750700	which told us even more of, frankly, what EFF already knew,
750700	753860	that the NSA was wiretapping the backbone of the Internet
753860	757080	and sucking up innocent Americans' data without a warrant.
757440	761080	Not only that, they were collecting phone records,
761080	764920	they had this X-Keyscore program,
764920	768260	which they would use to look through the data.
769180	770700	And this is not good.
771060	774780	This came out, and finally, the whole world started to realize,
774780	776720	holy shit, this is really awful.
777440	780640	And so we decided shortly after that to really turn up the pressure
780640	783040	and put out an encrypting-the-web report
783040	786380	that would just, in plain, I was going to say black and white,
786380	788930	but I guess red and green, show the world,
789440	791160	this is what the companies are doing.
791160	795120	And if the company is getting undetermined or red Xs,
795120	797340	then that means they're not paying attention to your security.
797840	799280	And so we put that out.
799280	802840	This is actually, obviously, not up to date.
802880	804880	This was back when we launched it.
804880	807880	Because, obviously, today, most of this would be
807880	810820	supports HTTPS, encrypts data center links,
810820	814300	uses HTTP strict, etc.
815760	818180	As we're going down memory lane,
818180	821620	it's fun for me to note that some of these companies
821620	823060	don't exist anymore.
823480	825900	But at the time, they were important to rank.
825900	827860	They were important to put on this chart.
828900	831700	So we did that, and we actually made a lot of progress.
831700	836120	This pushed a lot of these big companies to adopt HTTPS.
837180	839160	So great, we're done again.
839160	843060	That was a bit of technology plus activism plus the original technology.
843060	844540	We don't have to wait for the courts.
844540	848860	It's good to get that precedent, but in the meantime, we're set.
849020	852000	We've now thwarted NSA mass surveillance.
852640	854780	Well, unfortunately, again, the answer is no.
854780	856500	Our job is not yet done.
857420	860720	Although we might have gotten the major websites encrypted,
860720	863560	overall, the Internet was still not encrypted.
863560	865540	So this is a chart from...
866360	868720	this is actually courtesy of Mozilla,
868720	870920	showing the percentage of page loads
871720	875980	over a 14-day moving average that use HTTPS.
876500	879980	And you can see, if it's tough to read the text in the back,
879980	881980	the dark blue line is all users.
881980	886740	And then more recently, Mozilla broke out USA versus Japan users.
886980	888060	USA is the one on top.
888060	889160	Japan is the one on the bottom.
889160	892240	But as you can see, back in 2013, this is like 30%.
892240	893540	This is ridiculous.
893540	896560	This is less than a third of page loads are encrypted.
896560	899280	As you can also see, the story is going to get better,
899280	900460	but we'll get to that.
902780	907320	So at the time, back in 2013, TLS was not ubiquitous.
907500	910440	You log into a site like Quora,
910440	912920	and you can just look at the packets.
912920	914360	And I know that's really tiny text,
914360	918040	but what that's showing is the username and password.
918480	920540	You just get on Wireshark, you snip it,
920540	925440	and obviously the NSA is doing Wireshark on infinite steroids.
926620	928620	So, okay, sorry, this is in 2013.
928620	929960	This is June 2014.
931920	934380	It wasn't just sites like Quora.
934380	936700	It was even the Googles.
937040	939900	So, oh, man, I am missing all of the fonts.
939900	941880	That's supposed to be the table-flipping emoji.
941980	946240	Anyway, in particular to notice here,
946240	950640	this is an HTTP page with a link to a sign-in page.
950640	952800	And so an attacker could inject
952800	956820	and basically redirect this sign-in to wherever they want.
957000	959600	Because they could have intercepted this page
959600	961760	while it was en route to you,
961760	965260	said, I want to redirect this to some URL
965260	968800	that's using some sort of homoglyphs and some shady...
968800	971580	It will be some domain that looks kind of like Google,
971580	972840	but it's actually ours.
972840	975000	And so we'll get you to click that, you'll go to that domain,
975000	976800	and you'll enter your Google credentials.
976800	980120	And so even though Google's actual login is over HTTPS,
980120	984060	we're going to trick you into signing in on our page.
984720	986780	This is 2015.
987300	991000	So why was this such a big deal?
991000	992780	Why was this so hard?
992920	996460	So the first reason that HTTPS wasn't ubiquitous
996460	999780	was setting up TLS was tedious.
999920	1002180	Like, this is a page from DreamHost
1002180	1006400	about how to set up HTTPS on DreamHost
1006400	1008560	if you were hosted on their service.
1008860	1012180	And it is just... even for an actual sysadmin,
1012180	1015360	it's just a tedious ton of stupid work.
1015360	1017660	Like, it's just a bunch of manual steps.
1018560	1020500	It's also really hard.
1020560	1024400	There's all this... every time a new exploit
1025020	1027000	or new vulnerability in some part,
1027000	1030560	some cipher comes out or something like that,
1030560	1032680	some configuration of TLS,
1032680	1034340	unless you're a crypto expert,
1034340	1036680	you're not going to understand this stuff.
1037100	1040040	And not everyone who runs a website is a crypto expert,
1040040	1042060	nor should we expect everyone who runs a website
1042060	1043640	to be a crypto expert.
1044180	1047260	We want to make the web easy to use both to access
1047260	1049800	but also to put content up there.
1051980	1055300	So, I mean, there are entire books written
1055300	1057780	on how to set up TLS properly.
1057780	1061420	And if you're like a mom and pop shop,
1061420	1063760	you just want to put up your website so that people can see
1063760	1066340	that you've got a restaurant or something,
1066340	1070340	you don't have to read a freaking book to know how to set up your website securely.
1071720	1074180	So, TLS wasn't ubiquitous
1074180	1076400	because the one thing I also missed
1076400	1078820	is it costs money most of the time.
1079040	1082200	You have to pay a service, a certificate authority,
1082200	1085840	to get a certificate that you would then post on your website.
1085840	1088240	You have to pay for that HTTPS certificate.
1088360	1091400	It was also tedious. It was also very hard.
1091400	1094500	So, this makes me sad.
1094800	1097640	But, what if we told you we could fix
1097640	1099980	every single one of those problems?
1100440	1105060	So, back in, I guess, around 2016,
1105060	1106420	EFF started brainstorming.
1106420	1107480	Well, how can we fix this?
1107480	1110140	Like, this is a fundamental infrastructure problem.
1110140	1113600	And so, the answer is to make the infrastructure better.
1114080	1117220	So, we decided to fix that by creating a...
1117220	1119040	I'm sorry, it wasn't even 2016. It was earlier.
1119040	1121360	It was 2014 when we started thinking about it.
1121360	1123920	We decided to create a certificate authority.
1124060	1127820	So, the certificate authority is the entity that issues certificates,
1127820	1129820	which you can then put on your website.
1130760	1135240	That's how the browser verifies the HTTPS connection.
1136320	1137840	And so, the goal of Let's Encrypt
1137840	1140460	wasn't just to make sure that we could give everyone certificates,
1140460	1142380	but it was to eliminate all of the obstacles
1142380	1145040	in getting HTTPS set up properly.
1146780	1149640	Whoops, that was wrong button.
1150020	1153300	So, the first problem, TLS is not ubiquitous.
1153440	1156580	The answer, let's automate certificate issuance
1156580	1159520	and make it free so that everyone can get a certificate
1159520	1162560	and you don't have to follow a bunch of manual steps.
1162560	1165480	So, you can type in one or two commands in the command line
1165480	1168900	and just get your certificate. It will be set up.
1169720	1171960	And the solution to this was we created
1171960	1175520	an open protocol for requesting and getting a certificate
1175520	1177200	called ACME.
1178360	1182560	I can no longer remember what it stands for.
1182560	1185220	It's something certificate management something.
1185560	1187080	But it doesn't matter.
1187080	1190380	The point is, it is a protocol that is open.
1190380	1192920	So, any server, any certificate authority
1192920	1197540	can use this protocol to issue certificates.
1197780	1199240	And in particular, fun fact,
1199240	1201600	Let's Encrypt is no longer the only certificate authority
1201600	1202820	using ACME.
1202980	1209380	I believe... man, I'm forgetting which one.
1209620	1212040	There's another major certificate authority
1212040	1213620	that is now also using ACME.
1213620	1217980	I forget if it's Komodo or the result of Komodo
1217980	1218960	or something else.
1218960	1222900	But the open part of it worked, which is exciting.
1224160	1225880	So, how ACME works.
1226320	1227720	First, there's an ACME client.
1227720	1228820	This is your web server.
1228820	1231160	The client is the thing that wants to get the certificate
1231160	1233100	so they can put it on a web server.
1233500	1236040	And then there's an ACME server, the certificate authority.
1237080	1239220	A lot of you are probably thinking, wait a second,
1239220	1240800	we can't just give out certificates willy-nilly
1240800	1243640	because then I could request a certificate for Google.com
1243640	1245880	and then I could spoof Google
1245880	1248980	and scoop up everyone's Gmail passwords.
1249380	1252560	And so the way it works is the ACME client
1252560	1255300	tells the server, I want to search for example.com
1255300	1257600	and here's the public key I want to put in that certificate.
1258020	1261840	And then the server, again, this is the certificate authority,
1261840	1264680	says, OK, that's great. Here's a nonce.
1264680	1267080	Here's some random string and I want you to post it
1267080	1271940	at example.com slash nonce and sign it with the corresponding private key.
1272140	1274000	And so what that does is first,
1274000	1277380	that verifies that if I can post it at example.com
1277380	1280140	slash nonce, that pretty well establishes
1280140	1282680	that I have control of that domain and the server
1282680	1285500	that is serving content from that domain.
1285800	1289520	Because what will happen is I'll say, great, it's posted.
1289840	1293360	And then the ACME server is going to just try to get that nonce.
1293400	1295980	And if it can get that nonce over,
1295980	1300660	and of course, there are a couple of other issues with this.
1300660	1303740	So if there was DNS hijacking, that would defeat this.
1303740	1305240	So we are relying on DNS.
1306260	1310160	Another thing that we're looking at implementing,
1310160	1312180	and if this is going over your head, don't worry about it,
1312180	1315600	is doing this from multiple perspectives on the Internet
1315600	1317840	so you can't just hijack one route.
1318500	1322680	But basically, if the server can get that nonce,
1322680	1325960	then it knows this machine I was talking to
1325960	1331560	controls this domain and also can put stuff on the web,
1331560	1333900	on port 80 for that domain.
1334040	1336640	And so if that's enough, if it can do that,
1336640	1339060	then it can do whatever it wants on that domain.
1339060	1341220	So that's good enough. It obviously has control.
1341720	1344540	And so the server will get that nonce.
1345360	1348660	Of course, the web server will respond with the nonce
1348660	1349740	and the signature.
1349980	1354080	And then now the ACME server knows this web server
1354080	1357200	controls the domain, can put content there,
1357200	1360360	controls the public key because it signed that nonce
1360360	1361600	with the private key.
1361600	1364480	And so of course the ACME server can verify that.
1364700	1367340	And so then it says signature checks out,
1367340	1369560	so you control the public key, you control the server,
1369560	1373800	you control the DNS, so here's your certificate.
1374400	1377120	And so now in an automated way, this is all happening
1377120	1379860	over the ACME protocol, you can get a certificate
1379860	1381900	and prove that you control the domain.
1383920	1386320	So that's how the protocol works.
1386320	1390260	How do we actually get that certificate on the other side?
1390760	1392960	So what we do is we created a client
1392960	1395940	or an agent that basically gets it right.
1395940	1399200	We created a piece of software you can use
1399200	1401340	over the command line, very simple,
1401340	1404460	that will not only use the ACME protocol
1404460	1408000	to talk to the ACME server, get the certificate,
1408000	1410540	but also if you're using Apache or NGINX,
1410540	1414080	it will install the certificate and configure it for you.
1414080	1416060	So you don't even have to think about like,
1416060	1418540	where do I put it, how do I set this up,
1418540	1421300	what cipher suite should I be using,
1421300	1424760	it will use sensible defaults and do it for you.
1425560	1427940	Again, it will tweak your existing web server
1427940	1429880	to pass those challenges, so what I just showed you
1429880	1431960	that back and forth was called a challenge.
1431960	1436140	It will install the cert, it will tweak the security options,
1436140	1439500	plus it's going to automate renewals, certificates expire.
1439740	1442900	And in particular, since we're doing this in an automated fashion,
1442900	1447020	what we decided was we wanted a very quick expiration
1447020	1448860	just in case something went wrong.
1448860	1452360	And so let's encrypt certificates expire after 90 days.
1452380	1454560	And nobody is going to always remember
1454560	1457180	to renew their certificate, I guarantee you.
1457180	1460580	So because computers are good at doing things on a schedule,
1460580	1462260	we'll have the computer do it for you.
1462260	1464320	We'll have your server automate the renewal
1464320	1467160	and some of these security response tasks.
1468060	1470080	So what kinds of automation happen?
1470080	1472940	Well, like I said, easy ones, cipher tuning,
1472940	1477280	if you're doing OCSP, OCSP stapling,
1477280	1480600	you could also set up upgrade insecure
1480600	1482780	for content security policies.
1484180	1487020	There are some features where if you want to do redirect
1487020	1490080	from HTTP to HTTPS by default,
1490080	1493520	then you can tell this software,
1493520	1495380	which is called Certbot,
1495380	1497820	you can tell it, I've set that up on my server too,
1497820	1499540	so I don't even have to think about it.
1499540	1503300	So install the cert and set up automatic redirects to HTTPS.
1504220	1507900	What we haven't quite gotten to yet is full rewrites.
1507900	1511260	So if you want to actually automatically rewrite
1511260	1514480	all of the content on your web server to use HTTPS
1514480	1517900	instead of HTTP, like if you've got hard-coded links,
1517900	1519640	Certbot doesn't quite do that yet.
1519640	1522980	That's a little bit harder, but it does support HSTS,
1522980	1527260	which is a protocol that a web server can use to say,
1527260	1530080	when you connect to me, always use HTTPS.
1530080	1533360	It's kind of like the server's way of saying,
1533360	1535880	use HTTPS everywhere, essentially.
1537280	1539280	And then there's even harder stuff
1539280	1541240	like mixed content auditing and correction
1541240	1543820	and HTTP public key pinning,
1543820	1545860	which we're probably never actually going to implement.
1546520	1548740	But this is the software. It's called Certbot.
1548740	1550540	It'll do all of those things.
1550820	1552860	Not only that, it supports plugins.
1552960	1557000	So if you want it to work on a different web server,
1557000	1558620	you can write a plugin for that.
1558960	1560360	There are different challenges.
1560360	1562280	So the challenge I showed you is just one challenge.
1562280	1563960	There's also other challenges.
1563980	1567620	Say you want a wildcard certificate.
1567620	1570280	So you don't want a certificate just for example.com.
1570280	1572860	You want one for star.example.com.
1573280	1574620	That's a different challenge.
1574620	1576760	You have to actually do the challenge over DNS.
1577420	1579360	And thanks to various plugins,
1579360	1582920	Certbot will automate that for various DNS providers, too.
1583640	1585840	It works on most Unix-based systems.
1586440	1588840	And pretty soon it's also going to work on Windows,
1588840	1590520	which we're really excited about.
1592340	1594240	So actually this is not current events.
1594240	1596580	This is, God, eight months ago events.
1598900	1601200	So this is just giving you an example.
1601220	1602320	As some of you probably remember,
1602320	1606320	the U.S. government shut down about eight months ago.
1606480	1610200	And all of a sudden a bunch of websites went down,
1610200	1611080	U.S. government websites,
1611080	1613100	because their certificates weren't renewed.
1613160	1614780	They should have been using Certbot.
1616060	1618660	Obviously that would have been solution one, automating renewal.
1618960	1622580	You might as well automate this task. It's easy.
1623080	1625480	Maybe the other solution is don't shut down the government
1625480	1627920	over stupid budget disputes.
1628300	1630720	But this is not a political talk.
1631520	1634040	EFF is a nonpartisan organization.
1634240	1635580	No, I'm just kidding.
1636260	1638060	Encryption is inherently political.
1638320	1640820	Encryption may not be partisan, but it is political
1640820	1643600	in that it does equalize power.
1643700	1646340	It allows people who normally wouldn't have the power
1646340	1650520	to keep their information, their communication secret, secret.
1651320	1653640	And that's part of why EFF does its work.
1653640	1656460	We want to give everyone this ability.
1657040	1659140	So anyway, HTTPS for everybody.
1659140	1661680	We've got Let's Encrypt. We've got Certbot.
1661680	1664120	We've got security. It's usable.
1664580	1667880	We've got transparency with Let's Encrypt now
1667880	1669860	being part of certificate transparency.
1669860	1671620	We're great. We're set, right?
1671860	1674740	And the answer is actually, yeah, we did pretty awesome.
1674760	1678440	So this is a chart of how many fully qualified domains
1678440	1681720	are using the Let's Encrypt certificate authority.
1682120	1684540	And so you can see back when we launched,
1684540	1687320	when we actually went into a public beta,
1687320	1690220	and, God, this thing's actually a year old
1690220	1692700	and it's at 140 million certificates.
1692700	1697220	So this blue line is fully qualified domains, and that's 140 million.
1697600	1700820	The dotted line in the middle is certificates active.
1700820	1703400	So there could be multiple domains per certificate,
1703400	1705000	which is why that number is lower.
1705220	1708840	And then this is the number of registered domains that are active.
1709060	1711000	So no matter how you slice it,
1711000	1715460	basically Let's Encrypt is now the largest certificate authority in the world.
1715460	1720360	And so we are basically a fundamental part of encrypting the Internet,
1720360	1721760	which I think is pretty awesome.
1722200	1726280	And if you look, I think we had something to do with this upward trend.
1726280	1729560	Now, to be clear, Let's Encrypt didn't single-handedly make this trend
1729560	1734700	go from 30% encryption to, at the beginning of 2019,
1734700	1736940	almost 80% encrypted page loads.
1736940	1738040	There were other things.
1738040	1739860	The browsers definitely helped.
1739860	1743460	When Google and Firefox decided to say,
1743460	1746120	we're going to work pages as insecure instead of secure,
1746120	1750020	so that people start feeling creeped out when they're using an HTTP page,
1750020	1751240	that definitely helped.
1751240	1753840	Because now sysadmins are like, well, crap,
1753840	1757660	I've got to upgrade just so my website doesn't look shady.
1760080	1762060	Other things that look good,
1762060	1765060	HTTP2 is going to be encrypted by default,
1765060	1768420	and that is the only way it will be supported by all of the major browsers.
1769300	1771640	So if you upgrade to HTTP2,
1771640	1774040	the answer is, everything is going to be encrypted.
1775420	1776520	But there's more.
1777220	1780560	EFF is not satisfied with just the web.
1780680	1781900	The web is not enough.
1781900	1784460	There are other things that we want to encrypt.
1785540	1788360	And so for the last 20 minutes of this talk,
1788360	1790400	I'm going to be talking about a couple of other things
1790400	1792480	that we really want to see get encrypted.
1794120	1798720	So, in order, they are TLS, SNI, and I'll explain what all of these are,
1798720	1801260	encrypted DNS, and start TLS.
1801920	1804180	So, SNI.
1804420	1806580	So this is a weird quirk,
1806580	1810960	and all credit due to CloudFlare for making this awesome image,
1810960	1813760	which I am using as fair use, because I work at EFF,
1813760	1815000	and I know what that means.
1816500	1820380	When you go to an HTTPS page, there is still information being leaked.
1820380	1822860	And in particular, I know it's really tiny to see,
1822860	1826880	but, so this is the website you're going to visit.
1826880	1832080	When you send the initial connection to that web server,
1832080	1833240	you have to tell it,
1833240	1835280	this is the domain name I'm trying to visit,
1835280	1837880	and that has to be sent in the clear at the moment.
1838340	1839800	And so that gets leaked.
1839820	1841640	The actual page you're visiting,
1841640	1847880	so if you're visiting example.com slash index.html,
1847880	1852020	the index.html gets obfuscated, but example.com gets leaked.
1852020	1855820	And in particular, if this is sitting on a CDN,
1855820	1860180	then that's telling the adversary which domain you're visiting.
1860180	1861580	Because it could have been example.com,
1861580	1864400	it could have been EFF.org, if they're all on the same CDN.
1864400	1866020	But now the adversary knows.
1867240	1869040	And so they can see that.
1869620	1875200	And then, again, after that, everything is sent encrypted,
1875200	1878340	but not until the adversary, someone listening on the wire,
1878340	1879780	can know what domain you visited.
1880080	1882860	So the solution? Encrypt the damn thing!
1882860	1886940	So encrypted SNI... oh, I should mention.
1886940	1889020	SNI stands for server name indication.
1889020	1892800	It indicates to the server the domain name that you're trying to visit.
1893260	1895380	So the solution is to encrypt it.
1895780	1900080	And so there is now a RFC out there.
1900700	1903040	It's still a bit in flux.
1903400	1908220	But you can now essentially send that server name
1908220	1911760	in an encrypted way by getting a certificate ahead of time.
1911760	1916920	And so now the adversary cannot tell what domain you're visiting.
1917340	1919980	So great. But what about this side over here?
1919980	1921640	I've been pointing over at this side.
1921640	1924500	I've conveniently ignored the DNS side of things.
1924620	1927400	That is still going to leak the domain name you're visiting.
1927400	1930080	Because DNS, by default, is sent in the clear.
1930080	1931660	It's an unencrypted protocol.
1931680	1936000	And again, if an adversary is listening in, they can see that.
1936360	1939920	So let's just encrypt all of it. Let's encrypt the DNS, too.
1940680	1942760	So there are currently two different protocols
1942760	1944640	that are competing for encrypted DNS.
1944660	1948760	One is called DNS over HTTPS, and it's exactly what you think.
1949020	1953780	It sets up an HTTPS connection and then makes a DNS query over it.
1953780	1957060	And the other is DNS over TLS, which also is exactly what you think.
1957060	1959660	It sets up a TLS connection, but doesn't build the stack
1959660	1960720	all the way up to HTTPS.
1960720	1963040	It just sends the DNS request over TLS.
1963480	1965360	And they have some different pros and cons.
1966120	1970860	DNS over HTTPS, it's harder for censorship-prone regimes to censor.
1970860	1972980	And the reason is, it looks like HTTPS traffic.
1972980	1976720	Unless you start doing a serious traffic analysis,
1976720	1980020	it just looks like something going over port 443.
1980020	1982120	And so the only way to censor it
1982120	1985060	is to block all of the HTTPS traffic.
1986220	1988600	The downside, it's harder for network operators
1988600	1990420	to monitor for malicious activity
1990420	1992960	because it looks just like all other HTTPS traffic.
1992960	1994580	And so if there's malware in your network
1994580	1998160	and it's making DNS queries over HTTPS,
1998160	2000100	it's going to be very difficult for you to tell that
2000100	2002160	versus other HTTPS traffic.
2002640	2007160	And it's basically the inverse for DNS over TLS.
2009140	2012020	EFF does not have a strong position on either of these.
2012020	2013960	We just want to get DNS encrypted.
2014140	2016360	So if you have a strong position on either of these,
2016360	2017320	come tell me.
2017320	2020040	I won't promise I will be fully convinced,
2020040	2023800	but I am open to hearing good arguments for either side.
2023940	2027120	Either way, this is the future.
2027120	2029140	Encrypted DNS is the future.
2029320	2032420	And we're going to see, we believe,
2032420	2036060	ISPs and also other providers,
2036060	2039100	DNS providers, move towards encrypted DNS.
2040340	2042400	And in fact, EFF is going to do
2042400	2044760	another encrypting the net scorecard before too long
2044760	2047040	and both of these things are going to be on it.
2047240	2049340	Does your website support ESNI?
2049340	2052480	And if you're a DNS provider, do you support DOH or DOT?
2053260	2054660	Don't ask me when.
2055820	2058700	It will happen in the impending future.
2060180	2062060	But certainly if you work for a company,
2062060	2064060	you should be thinking about these sorts of things.
2064300	2066400	Certainly if you work for a company that will get on EFF
2066400	2069680	encrypting the net scorecard, it's coming.
2071140	2072620	What about e-mail?
2072620	2075120	So far I've been talking mostly about web stuff.
2075120	2077540	DNS supports the web.
2077900	2081580	E-mail is the cockroach that will not die.
2081940	2086020	When the singularity has come and the hive mind,
2086020	2087280	as we are all part of the hive mind,
2087280	2089840	the hive mind will still communicate with itself via
2090240	2092660	e-mail because e-mail will not die.
2093400	2095240	So we need to fix e-mail.
2095240	2100160	So the way e-mail works is you're on some client,
2100160	2103780	either you're on Gmail's webmail client or you've got
2103780	2105060	Thunderbird or something.
2105060	2107540	And when you're communicating to your e-mail server,
2107540	2108880	it's probably encrypted.
2109160	2113140	And then when your friend is reading their e-mail again,
2113140	2115560	they're talking to their e-mail server, it's probably encrypted.
2115740	2118920	But there's this thing in the middle between e-mail servers
2119560	2121400	that may or may not be encrypted.
2121400	2124480	And that's an issue because that is a point where an
2124480	2126680	adversary could listen in on e-mail.
2127760	2131160	And so there's this protocol called start TLS which is meant
2131160	2132340	to solve this.
2132840	2138100	And the way it works is essentially what happens is when
2138100	2141760	these two mail servers are talking to each other,
2141760	2145200	the first one will say, hey, do you support start TLS?
2145200	2146760	Do you support TLS basically?
2146760	2148740	And then the other one will say, sure.
2148740	2151360	And then they'll say, okay, great, I'm going to set up a TLS
2151360	2153180	connection to you and everything will be encrypted.
2153480	2156200	The problem is that first message is sent in the clear.
2156560	2160380	And so if there's a man in the middle attack, when this first
2160380	2165420	server tries to connect, Google will say, yeah, I support TLS.
2165420	2166420	Let's do this encrypted.
2166420	2168580	But the man in the middle will just strip that right out.
2169360	2172220	And the first mail server has no way of knowing that that's
2172220	2174400	happened because all of this was sent in the clear.
2174400	2175680	There's no authentication.
2175680	2176660	There's nothing.
2176660	2180300	And so it's trivially simple to strip that out.
2180620	2181940	So that's a problem.
2183620	2190760	Additionally, so the other issue is that many mail servers,
2190760	2192740	even if they do support start TLS,
2192740	2196320	they're using self-signed certificates for that TLS
2196320	2200060	connection, which means that nobody on this end is ever
2200060	2203260	checking the authenticity and verifying the certificate.
2203260	2205620	They're not trying to say, does this chain up to a valid
2205620	2208120	certificate authority, to a root certificate?
2208840	2212480	And so again, an attacker can sit in the middle and provide
2212480	2215540	their own self-signed certificate, and the originating
2215540	2218080	mail server sending the mail is going to be none the wiser.
2218260	2220700	And actually, since on this side they're not checking the
2220700	2223440	certificate either, Google isn't going to be any the wiser.
2223640	2227220	And so both of these mail servers will think, oh,
2227220	2229160	everything was fine, the connection was encrypted.
2229160	2231900	But in fact, there was an attacker in the middle who was
2232580	2235140	encrypting traffic to Google, decrypting it,
2235140	2238080	re-encrypting it to EFF, EFF would send traffic,
2238080	2241400	and then they'd decrypt it, re-encrypt it, et cetera.
2241400	2244500	So it's, again, a really big deal.
2245300	2247080	And this isn't theoretical.
2247620	2252220	20% of the Alexa top million domains that support
2252220	2255200	connections, incoming email connections,
2255200	2256720	don't use start TLS.
2257220	2260520	40% of them present invalid certificates.
2261080	2264100	And I don't know what the hell is going on in Tunisia,
2264100	2267840	but 96% of the traffic is stripped of those
2267840	2269000	start TLS headers.
2269000	2271940	So someone is actually going in there and removing the start
2271940	2274940	TLS header and preventing the encryption.
2275720	2278080	Also, what the hell is going on?
2278080	2281100	Like, you know, maybe I understand that a lot of these
2281100	2285460	places are in, you know, like Uzbekistan.
2285460	2288180	Maybe I don't expect Uzbekistan to have the best security on the
2288180	2288740	network.
2288740	2290400	What the hell is going on in Denmark?
2291020	2294680	Like, 4% of traffic of the TLS is being stripped.
2294680	2296700	Also, this was in 2015, I should note.
2296700	2299140	So it can be a little bit out of date, but it's definitely
2299140	2299900	happening.
2301860	2304480	So trivial downgrade attacks, trivial impersonation attacks.
2304480	2310100	The solution is a new specification called MTA-STS,
2310100	2316100	which stands for Mail Transport Agent Strict Transport Security,
2316100	2319460	which is basically a... well, let's get into it.
2319740	2321900	It's a way for a mail server to say,
2321900	2324240	always use TLS to connect to me.
2325380	2327800	So the way it works is say I've got...
2328320	2331860	I use EFF, and I'm trying to send mail to somebody in Google.
2333100	2337400	So first, my mail goes to the EFF mail server,
2337400	2338820	and then it's trying to figure out what do I do with this.
2338820	2340080	So it goes to the DNS provider.
2340080	2340540	And it goes to the DNS provider and says,
2340540	2346720	hey, does gmail.com have a particular text record in its
2346720	2351620	DNS corresponding to this MTA-STS field?
2352020	2355100	And then presumably Google has already set this up ahead of
2355100	2355620	time.
2355620	2358280	And it says, yes, here's this record.
2358660	2362300	And the record points to an HTTPS address.
2363180	2368740	The HTTPS address hosts gmail's MTA-STS policy.
2368740	2370060	The policy is basically just saying,
2370060	2372060	here's a text document which says,
2372060	2374820	these are the servers that you should be...
2374820	2376860	If you're trying to send mail to gmail.com,
2376860	2381420	these are the actual MX addresses that will answer for that.
2381500	2384760	Also, you can be in testing or enforced mode.
2384760	2387560	If you want to make sure your configuration is working before
2387560	2389900	you start rejecting email and mass,
2389900	2391580	you can put it in testing mode.
2391580	2396760	And that way, even if things don't check out with MTA-STS,
2396760	2400280	in testing mode, the sending mail server is still supposed to
2400280	2401340	send the email.
2401340	2405120	It will post a log to you saying there were these issues,
2405120	2407380	but you won't start getting mail rejected.
2409340	2413320	So this web server says, okay, here's the MTA-STS policy.
2413720	2416640	And then I go to gmail and say,
2416640	2418240	let's start a TLS connection.
2418580	2420740	And then gmail says, great.
2420980	2423080	And then you get your TLS connection.
2424700	2428240	And so what would have happened if there was this attacker in the
2428240	2428980	middle?
2429540	2433160	Well, let's say that this destination was in gmail.com's
2433160	2434440	MTA-STS policy.
2435180	2437420	Let's just assume it's gmail.com.
2439540	2442520	Then essentially what will happen is,
2442520	2444680	I will try to start the TLS connection.
2445100	2448180	The attacker will strip out that start TLS header.
2448180	2450660	And then I'll say, holy crap, something's going on.
2452080	2455260	According to gmail's policy, it's supposed to be using TLS.
2455260	2456640	It's supposed to be encrypted.
2456800	2459920	So I'm not going to send the e-mail if it's in enforced mode.
2459920	2461820	I'll still send the e-mail if it's in testing mode.
2461820	2468160	But either way, the other part of the policy is basically a
2468720	2469620	reporting mechanism.
2469620	2472840	You can either send the report over e-mail or post it to a
2472840	2474360	specific URL.
2474360	2478540	But I can essentially communicate to gmail that something shady
2478540	2481640	went on, so either you didn't get the e-mail or I still sent
2481640	2483500	it to you, but somebody was trying to strip away this
2483500	2484240	encryption.
2485500	2488720	So that's great. How do we actually get this out in the wild?
2489060	2491100	How do we actually make this happen?
2491660	2494920	Well, we started a project called start TLS everywhere.
2495080	2497440	And the goal of the start TLS everywhere project is to promote
2497440	2501160	the spec, get mail servers to use it.
2502420	2505520	It will also maintain a start TLS policy list.
2505520	2508840	So as you probably noticed, there is this potential still
2508840	2513940	for a downgrade attack if a attacker can intercept your DNS
2513940	2515120	requests.
2515200	2518140	And basically say, you know, we go back to this point right
2518140	2519020	here.
2519940	2523940	And say, does gmail have a MTSTS text record?
2523940	2527820	And if they can intercept that first request and say no, then I
2527820	2530460	will think, oh, gmail doesn't support MTSTS.
2530540	2533780	And so what the start TLS everywhere policy or the start
2533780	2537660	TLS policy list is, is it is a preloaded list that you can
2537660	2540280	download from a different channel.
2540340	2543080	It's basically an out-of-band way to get a list of websites
2543080	2545100	that support MTSTS.
2545380	2547900	And so now an attacker would not only have to intercept your
2547900	2552100	DNS, they would also have to basically block your ability to
2552100	2553880	connect to EFF's website.
2553900	2556920	And if that's happening, then probably something shady is going
2556920	2559240	on if you can't connect to EFF's website.
2559900	2561980	We also want to lower the barriers to entry.
2561980	2564620	It's really hard to run a secure mail server in the same way it
2564620	2567020	was hard to run a secure web server.
2568400	2571620	So in terms of promoting MTSTS adoption, there are a couple
2571620	2572420	steps.
2572840	2575400	First, we have to make sure that mail servers actually support
2575400	2576360	start TLS.
2577360	2579920	Then we have to make sure mail servers can get certificates.
2580480	2582940	We have to make it easy for sysadmins to receive those
2582940	2585500	failure reports because no sysadmin is going to set this up
2585500	2587740	and be like, man, I don't care if e-mail isn't getting through
2587740	2589900	anymore because if the e-mail isn't getting through anymore,
2589900	2593100	you get fired and then you don't have a job and then it doesn't
2593100	2594940	matter what great security things you did.
2595880	2598400	So we want to make it easy for sysadmins not only to receive
2598400	2602040	those failure reports but also to post them to other mail
2602040	2604620	servers when you are sending the mail.
2605480	2608220	And also make sure the MTS software finally knows how to
2608220	2611580	check for and use MTS policies.
2612700	2615540	So there's actually quite a few steps to make MTS work.
2615540	2616500	So how are we going to do this?
2616500	2623340	Well, step one is the good news is mail servers already all
2623340	2624700	support start TLS.
2624920	2627860	Maybe they are not configured to use it but they all support it.
2628940	2631280	Step two, getting a certificate.
2631520	2633860	Well, the good news is we happen to already have some software
2633860	2635660	you can use to get a certificate.
2635660	2639840	So you can use certbot and we have guides for how to use
2639840	2644660	certbot to get a certificate for postfix, XM, send mail.
2644660	2648140	You can check out all of these if you run a mail server and it
2648140	2649260	will walk you through.
2649260	2650840	This is how you get a certificate.
2650860	2652400	This is how you install it.
2652700	2656300	It is not quite yet just one click and it installs it for
2656300	2656940	you.
2656940	2658860	That was actually due to a lot of feedback we got from
2658860	2663200	sysadmins who told us my mail system set up is so convoluted
2663200	2664720	I don't want you touching it.
2664720	2666340	Just tell me where to put the certificate.
2666340	2667780	I will take over from there.
2668160	2669740	That is what we did.
2669880	2671680	Here is how you get the certificate.
2671720	2673320	You put it wherever you want.
2673640	2676820	If you are using a default install, here is where you put
2676820	2677400	it.
2678940	2681160	That was supposed to be a green check mark again.
2681160	2682260	Sorry about the fonts.
2683220	2685520	Step three, receiving failure reports.
2685960	2692600	This is the RFC for MTSDF and in particular it is a
2692600	2694700	complimentary RFC for the reporting part.
2694700	2697940	The report may be delivered by e-mail.
2698060	2701240	The good news is if you have a mail server, it can send
2701420	2701960	e-mail.
2702720	2704940	And it can also receive e-mail.
2705080	2709200	All we have to do is basically set it up so that when your
2709200	2713560	mail server encounters some sort of error trying to connect,
2713560	2716420	we just have to set up so it can send a report over e-mail.
2716420	2718800	We don't have to create a new web server for you to receive
2720220	2722500	reports via post or anything like that.
2722500	2723760	We are just going to say do it over e-mail.
2723760	2724460	It is fine.
2726300	2728360	Posting MTSDS records and policies.
2728360	2732080	This is like how do I actually tell the world that my server
2732080	2733700	supports MTSDS?
2734140	2737560	To do this, this is something we are still working on.
2737700	2741900	Basically on the start TLS everywhere website, we are going
2741900	2744780	to have basically a form you can fill out where you put in the
2744780	2749020	details of like this is my MX domain.
2749020	2751540	This is the actual domain for e-mails.
2751580	2753840	This is where I am going to post my policy.
2753840	2757460	And then it will turn all of that into a valid MTSDS policy
2757460	2760600	and tell you what DNS records to put it in.
2760700	2762000	We are working on that.
2762000	2763960	It is basically a web tool you can use to generate the
2763960	2766900	policies and guide you through how to set it up.
2767120	2770720	It is not quite ready yet, but it is something we are working
2770720	2771500	on.
2772380	2776420	And then last but not least is getting MTAs to actually use
2776420	2777760	MTSDS.
2777760	2781700	This is actually getting the actual mail transfer software.
2781700	2784620	This is getting DoveCod or XM or SendMail to actually pay
2784620	2789260	attention to request the policy now that you have it posted.
2789260	2790880	And then to know how to use it.
2790880	2791860	What are the options here?
2791860	2796820	One, we could submit patches directly to SendMail and XM,
2796820	2797620	et cetera.
2798660	2802740	But sysadmins upgrade their MTA about once every lifetime.
2803620	2807100	There are tons of really obsolete MTA software out there
2807100	2807880	running.
2808540	2811680	And so even if we got patches in, it would take forever to
2811680	2815180	finally upgrade and actually get that in the wild.
2816520	2819340	We could write a middleware application that sits in front
2819340	2820280	of MTAs.
2820280	2822980	And so the MTA is oblivious and then it is connecting to this
2822980	2825840	middleware application that is then paying attention to all
2825840	2829340	the MTSDS stuff and otherwise routing things to and back
2829340	2830520	through that MTA.
2831000	2832680	It is one more thing to administer.
2832680	2835560	It adds some complexity, but it also reduces other complexity
2835560	2838820	that the MTA doesn't have to know about start TLS or the
2839460	2840420	MTSDS.
2840980	2842560	Maybe there is another option.
2843100	2844780	If you have an idea, come talk to me.
2844780	2847180	This is a problem we are still trying to solve.
2847620	2849280	We are still trying to figure this one out.
2850980	2854200	So we have our work cut out for us, but we think the future
2854200	2855080	looks bright.
2856020	2859460	We have come a long way in ten years from just a little
2859460	2862300	browser extension to an encrypting the web report to
2862300	2866160	actually launching a freaking certificate authority and being
2866160	2869000	the biggest certificate authority in the world, launching
2869000	2872200	the start TLS everywhere project, and we are really
2872200	2874020	excited to see where we go from here.
2874800	2877180	Before I finish up, credit where credit is due.
2877180	2880160	This is the work of a tremendous number of people who have
2880160	2883020	worked at EFF, but also at other places.
2883140	2885140	People have worked at Tor project.
2885140	2887560	It's just everywhere when we launched was a joint project
2887560	2888500	with Tor.
2889120	2893860	A bunch of people have worked on Let's Encrypt and Certbot.
2893940	2896160	Let's Encrypt, I should say, wasn't just an EFF thing.
2896160	2900580	We worked with Mozilla and the University of Michigan to
2900580	2903180	initially get it off the ground, and now there's a whole host
2903180	2905780	of sponsors that keep it alive.
2906420	2909520	If you don't donate to EFF, you should donate to Let's
2909520	2910340	Encrypt.
2911660	2914760	I think you should donate to EFF, but you should also
2914760	2916000	donate to Let's Encrypt.
2916660	2919080	So credit where credit is due, a bunch of people have
2919080	2920500	contributed to this work.
2921180	2924060	And the reason we have been able to do all this amazing work
2924060	2925980	is thanks to members like you.
2926220	2929660	Your public support directly, as almost all of you know, EFF
2929660	2933660	is a member-supported nonprofit, directly translates into this
2933660	2935040	sort of technical work.
2935040	2940940	We couldn't have a team of 15 or so technologists on staff to
2940940	2943820	do this work without your support.
2943820	2945780	And to be clear, this is a...
2945780	2948340	I don't know if our 2018 chart is up yet.
2948340	2950840	This shows you where our money comes from.
2951320	2955140	And in particular, these three things right here are all
2955140	2956380	individual donations.
2956380	2959900	Whether it's individual or like individual but it's employee
2959900	2962620	matching, that's basically individual.
2962620	2965380	It's not like Google gets to decide where their employees
2965380	2966320	choose to donate.
2966320	2967520	They just match it.
2968900	2971600	This part right here, this is sheer luck.
2971640	2974260	This is when we get an award in the courts.
2974260	2976480	And this is not when we're in a lawsuit.
2976480	2977580	Sorry about that.
2977580	2981540	This is when another entity has filed a lawsuit and the answer
2981540	2985000	is instead of giving a dollar to every person in a class, let's
2985000	2987540	give it to an entity that is going to do some good for
2987540	2989060	privacy or security.
2989140	2991780	And we can't control that.
2991780	2993560	We can't rely on that.
2993780	2997460	And this is us begging actual foundations for money.
2997520	2999900	Even though we have foundation in the name, we don't give out
2999900	3000220	money.
3000220	3003120	We take in money and turn it into an awesome project.
3003120	3008660	So as you can see, the majority of it is from individual members.
3009580	3013220	So on behalf of everyone at EFF, thank you, DEF CON, for your
3013220	3014480	tremendous support over the years.
3014480	3016740	Thank you for making work like this possible.
3016860	3019100	And I'm happy to take any questions.
3036680	3041700	We don't, EFF doesn't personally or like as EFF work closely with
3041700	3044580	Linux foundation, but as you said, Linux foundation does
3044580	3049060	essentially do the administration and overhead for ISR
3049060	3052420	G, the organization that actually runs Let's Encrypt, which
3052420	3053480	is pretty awesome.
3053480	3056660	That way they don't have to hire an HR person or accountants or
3056660	3057840	stuff like that.
3058500	3060900	They can focus on Let's Encrypt.
3061060	3062020	Yep.
3062020	3062760	Yeah.
3069930	3071590	Not yet.
3071590	3073930	Are you talking about...
3078080	3083840	So I'm pretty sure ES and I is a different thing, I think.
3083880	3085700	I would have to go double check.
3111300	3112500	Yep.
3124980	3127780	We have seen that sort of argument.
3127780	3130860	From our perspective, the...
3130860	3136860	We feel like the right tradeoff is that for given that...
3137720	3141180	I guess the way I would put it is normal users don't have the
3141180	3145020	same resources to invest in making sure that their traffic is
3145020	3148580	encrypted as a corporation does.
3148580	3151180	And so we feel like the right tradeoff is to get...
3151660	3154940	Basically get as much encryption as possible and then if a
3154940	3157680	corporation does need to do that sort of TLS termination, the
3157680	3159200	answer is...
3159200	3163300	It's kind of a side effect of making the web more secure for
3163300	3164140	everyone, I guess.
3164560	3165560	I definitely get it.
3166400	3167000	Yeah.
3167000	3170020	But it's true, yes.
3171160	3171520	It does...
3172020	3174020	Yeah.
3173440	3174640	Yep.
3175620	3176020	Yep.
3176020	3176640	Absolutely.
3178160	3179020	Yeah.
3185200	3185960	Yeah.
3185960	3189560	So in particular, this is...
3189560	3190600	That's an interesting one.
3190600	3193400	So I can think of two cases.
3193400	3199340	One, cloudflare actually rolled out ESNI in south korea.
3199340	3203080	I think it was either earlier this year or late last year.
3203080	3207600	And basically ISPs in south korea, I believe at the
3207600	3210840	direction of the government, just started blocking ESNI.
3211220	3213700	Just straight up because they could no longer look at the
3213700	3217220	domains that you were trying to connect to.
3219060	3219560	Similarly...
3220200	3221200	Related.
3221920	3227440	About a month ago now, I think it was, an industry organization
3227440	3232700	of ISPs in the united kingdom nominated of all organizations
3233940	3237280	mozilla as their internet villain of the year.
3237280	3239820	Because mozilla wants to push forward encrypted DNS.
3239820	3241980	Now, to be fair, what mozilla...
3241980	3246680	Because ISPs don't yet support encrypted DNS, what mozilla is
3246680	3250940	thinking of doing is cloudflare has a centralized DNS server and
3250940	3252640	they're supporting encrypted DNS.
3253500	3254660	And so...
3254660	3256680	It hasn't rolled out yet.
3256680	3258920	And from my understanding, I think what mozilla is thinking
3258920	3261000	about doing is if you're in the U.S.
3261000	3264300	Where the privacy laws are crap, then they will turn that on by
3264740	3265080	default.
3265080	3268260	Because frankly, cloudflare has a better privacy policy than
3268260	3268980	most U.S.
3270720	3271440	ISPs.
3271940	3274180	However, that's not true in europe or the united kingdom
3274180	3276420	where there are actually decent privacy laws controlling what
3276420	3278360	your ISP can do with your private data.
3278940	3282480	And so they're thinking that it will be an opt-in there.
3282480	3286700	But regardless, in the U.K., there is an obligation by the
3286700	3292080	ISPs from the government to censor for all sorts of silly
3292080	3294880	stuff, adult content, terrorist content, whatever.
3294880	3299060	And because the ISPs, if you're using cloudflare's DNS in an
3299060	3303000	encrypted way, could no longer do that censoring, they got
3303000	3306860	really up in arms and they said, oh, my god, this is terrible.
3306860	3310040	They later rolled it back once they realized that not everyone
3310040	3312460	was against mozilla doing this encrypted DNS thing.
3312460	3316980	But certainly in, you know, countries where there are, I
3316980	3319940	would say is democratic rule of law, we are still seeing pushes
3319940	3321440	for censorship.
3321440	3323280	Or the ability to censor.
3323280	3327480	And so that's not even touching places like China or Iran or
3327480	3328980	something else like that.
3329840	3330640	Yeah.
3363320	3367740	So I think from my perspective, the way to do that, that is the
3367740	3370280	way to, that's the destination.
3370280	3372100	You have to get there slowly.
3372100	3374640	Because if you do that immediately, people will just stop
3374640	3375800	using your software.
3376300	3379420	And it's just, it's just a sad, like, we won't stop using that
3379420	3379760	software.
3379760	3381380	Because we'll be like, what the fuck's going on?
3381380	3383180	Someone's trying to intercept my traffic.
3383200	3389880	But, you know, my nieces and nephews, my friends, they're
3389880	3392280	just going to stop using that software and switch to something
3392280	3393260	that works.
3393380	3396500	And so the trick is, I feel like, to raise the bar slowly.
3396500	3399600	And by raising it, basically it's kind of like this boiling
3399600	3400380	frog approach.
3400380	3403380	Until you get to the point where there is no longer anything
3403380	3404440	else to switch to.
3404440	3405960	Because everything is encrypted.
3406440	3407120	Yeah.
3412720	3413540	Acme protocol.
3413540	3414120	Yep.
3429570	3431150	So there's a couple things.
3431150	3434130	One of the things that they're working on, I don't know if it's
3434130	3439070	rolled out yet, is basically doing multibandage point
3439070	3440190	verification.
3440330	3444030	So that you would have to man in the middle, not just, you
3444030	3445790	know, let's encrypt servers.
3447430	3449750	Well, they're going to do it via Tor.
3450130	3453210	So you would have to man in the middle a bunch of
3453210	3455870	unpredictable Tor nodes as well.
3456170	3460030	And so if they do like three or four of those from different
3460510	3463770	exit nodes, you know, then that's a much, I mean, that
3463770	3464450	raises the barrier.
3464450	3465550	It's still possible, right?
3465550	3467710	Like, you know, eventually, you know, someone who controls all
3467710	3469570	the Internet traffic could man in the middle it.
3476240	3476940	Yeah.
3477940	3478700	Yeah.
3479360	3482500	So that's, I was going to say, I think there was another
3482500	3482820	thing.
3482820	3484880	But that's the big one that they're working on.
3484880	3485980	It's not there yet.
3486260	3489180	The other thing is there's a thing called certificate
3489180	3489960	transparency.
3489960	3491460	I'm sure many of you have heard of it.
3491520	3495200	But now let's encrypt logs all of its certificates to
3495200	3497000	certificate transparency servers.
3497060	3501640	And so if you run a domain, you can essentially log into
3501640	3504360	these certificate transparency servers and say, did somebody
3504360	3506740	issue a certificate or did let's encrypt issue a certificate
3506740	3507940	from my domain?
3508180	3509340	And was that me?
3509480	3511840	If I don't, if I'm not using let's encrypt and that
3511840	3515320	happened, or I am, but I go look in my server logs and
3515320	3518480	certbot doesn't say recently renewed my certificate,
3518480	3519860	something shady is going on.
3519860	3521880	So that's detection, not mitigation.
3521960	3524480	But detection is still helpful while we're working toward
3524480	3525260	mitigation.
3527830	3528530	All right.
3528530	3529910	Thanks very much, everybody.
3529910	3530090	Thank you.
3530090	3531030	Thank you.
3531030	3531990	Thank you.
3531990	3532210	And thanks for coming.
