start	end	text
8800	15000	Hello everybody! Man, this stage is not doing anything for this whole, like, Hackers Are
15000	22400	Not Rockstars thing. Yeah, Hackers Are Not Rockstars. Who are rockstars? Rockstars, man.
22400	30500	I made a few. We got nothing on them. Alright, so, before I say anything, I want to thank, you know,
30500	36400	thank you Baidu. Only Epcon could go to China, and I think only you could make that happen. So, thanks
36400	42760	guys, and thanks to all the other sponsors who've brought me. This is my first time in China, first
42760	51060	time in Beijing. I've been to Asia before, but never out here. It's really exciting. So, what are we
51060	58460	here to do today? Well, this is a keynote talk, so I'm supposed to inspire you all to build crazy,
58460	64180	interesting things. This is a technical talk because, you know, they say you stop writing code
64180	69920	in your thirties. That is a dirty lie. I've written more code in the last few years than ever in my
69920	80780	life. The goal of this talk is to connect a series of concepts you may never have thought were linked.
80780	88180	The quote-unquote hacker mindset really is just saying, you know, those things might be connected.
88180	94260	Hamburgers and cheese, that's great. Hamburgers and clouds, sure. Anything can be linked, and I kind
94260	101600	of want to, like, expand your horizons there. So, let's consider this sort of a skydive. We're going
101600	107880	to start with a bird's-eye view, and then we're going to dive straight into the weeds and get
107880	116740	ourselves, if you'll excuse me, pun, a bug's-eye view. So, I wanted to start this discussion, you know,
116740	121840	there's a problem where we talk about hacking in terms of only software. So, like, if you already
121840	127920	understand software, maybe you'll understand what I'm talking about. But what does hacking look like
127920	136160	when it has nothing to do with software? And I figured, you know, most of us can see. I do have a
136160	144360	hobby on human perception. Ask me about colorblindness sometime. There is a myth in human vision that
144360	149920	we see at 60 frames per second. And I say it's a myth because you can run pretty much any experiment you
149920	157960	want, and it's like, uh, no. We don't see at 60 frames per second because we don't see at frames per second.
157960	162540	Your eye just kind of, like, wanders around and collects a bunch of gunk, and your brain's like,
162540	170260	ahhh, what's that? Yeah, this is, uh, this is why dreaming works. This is why you're able to see things when
170260	175520	your eyes are closed and you're unconscious. And your brain just makes stuff up. It's kind of cool.
176420	184240	But why is the number 60? Because it shows up all over the place. Now, my traditional answer to why 60 frames per second
184240	190800	is, oh, they say it has to do with human vision, but really it's 1940s television technology. That's just
190800	199960	how fast we ran TVs back then. True, it was how fast we ran TVs back then. But why did they choose 60?
199960	208840	They could have chosen any number numbers, but why 60? Um, I didn't realize my answer was incomplete
208840	215480	until some news came out of Eastern Europe a few months ago that everyone's clocks were running slow.
215480	221780	I actually literally mean, like, the clock radios on their, like, you know, cabinets. Um, European clocks move
221780	228760	six minutes after dispute saps power from this electricity grid. Turns out Kosovo and Serbia don't like each other
228760	235340	very much on your statement. And, uh, there was some, um, stealing of electricity and it was slowing down
235340	242600	the frequency of the power. Just like, uh, water out of a tap has a certain temperature, power out of a wall
242600	250300	has a certain frequency that's supposed to be around 60 frames per second or 60 hertz, and it wasn't.
250300	258200	It was going a little slow, and so everyone's clock was going slow. Now, you could just have, like, a clock
258200	265260	in your clock radio, a little coarse crystal that vibrates, but, uh, you could keep it cheap and use whatever's
265260	271800	coming out of the wall, assuming it'll never change. Uh, just because you can doesn't mean you should.
271940	277840	Let me tell you how often this happens in security. Oh, that thing, um, we'll just get it from the, the upstream.
277840	282420	They'll take care of it for us. Well, they weren't taking care of it, and now the clock's running slow.
283200	290840	So, we didn't make television 60 frames per second for human vision. We made television 60 frames per second
290840	299100	because there was a 60 frames per second, 60 hertz clock handy. Okay, well, why was that clock 60?
299100	308760	Why did the power lines go to 60? So now you just get to keep digging. Power was 60 hertz because in 1890,
308760	316000	that was what we were good at making technology do. Uh, according to Wikipedia, the induction motor was found
316000	321140	to work well on frequencies around 50 to 60 hertz, but with the materials available in the 1890s,
321140	327120	it would not work well on a frequency of, say, 133 hertz. And that was too small to see up there.
327120	331740	You actually see, like, all the various frequencies that people paid for, for power lines.
331860	340860	So now you get the 60 frames per second thing, which supposedly had to do with vision, actually 1890s power generation.
340860	351480	Kind of funny. But let's keep digging. So, um, it's funny. It has nothing to do with human vision.
352400	356480	Why did they pick these numbers in the 1890s? Why was this what the materials did?
356480	361100	Well, quote, there's a fixed relationship between the number of magnetic poles in the inductive field,
361400	368500	the frequency of the alternating current, and the rotation speed. Ah, so now, now it's not 1890s technology,
368500	376480	now it's physics, actual physics encourages 60 frames per second. And this is what blew my mind.
376480	383680	I wanted to bring this up because I did not expect to find anything close to this when I started digging into the number 60.
385020	390080	You know, our brains are made of physics, too. Human vision comes from the brain.
391720	398860	Electromagnetic signals, we have an entire series of waves called gamma waves that run at 25 to 100 hertz.
399540	406300	Pure speculation, you might have 60 hertz and 60 frames per second and all these things because of physics.
406360	414840	And physics is a shared element between power generation in the 1890s, between television and our brains.
415560	419060	This might be correct. This might not be.
419060	421980	And that is part of hacking, too.
422660	429520	You might be thinking, why have I gone to this length in a talk that's supposedly about bugs?
429720	437420	And what I really want to get through here is we don't necessarily know why things are the way they are.
437560	445700	Usually, as a society, as a people, we do things because we've been doing them, and they mostly worked.
445700	447620	What hasn't been a problem?
448220	455500	What I want to get across is there's a universe of reasons why things are the way they are.
455500	462760	Sometimes they don't need to be that way anymore. Sometimes they really do need to stay that way and we just don't know why.
462760	468480	So stay intellectually honest as you go through these deep dives.
468480	475240	Understand you really are operating from ignorance. That's actually your strong point.
475240	479140	You don't know why the thing is doing what it's doing.
479360	483300	That might mean you find something new. It might mean you aren't.
483300	490860	Just have some humility as you explore, but also explore. I do it. It's okay.
491180	493580	Just know that you're speculating.
493580	506780	So, speaking of speculation, let's talk about what is actually going to actually become one of the ugliest bugs we've had to deal with in the last 10 or 20 years.
507280	510560	Speculative execution bugs.
511320	515020	So there's a couple that people have nicknamed and talked about.
515020	519000	I assure you there's a hundred more.
519000	530060	And I'm not exaggerating. Number 98, number 99, number 100. There's a giant pile of flaws in this arena.
530700	532560	What are a spectrum of them?
532700	538580	The best explanation that I've had, that I've been able to explain to people, is that, you know, you ask your friend,
538580	541720	Oh hey, you go to the coffee shop? They're like, No!
542100	544600	Hey, do you go to the bar? No!
544940	546420	Hey, do you go to the club?
547740	549580	No!
551440	560760	When you say the same thing, but you say it a different time, sometimes you're not saying the same thing.
562160	565680	These bugs are timing bugs.
565680	579160	These bugs involve a security boundary attempted to be maintained by a microprocessor, where it either is or is not supposed to give you some bit of information.
579280	585800	And in fact, it finds out that it's not supposed to. It rejects. It gives you an exception. It gives you an error.
585800	593460	But when it gives you the error, it's different, based on some information that you don't already have.
594060	598620	Generally, it's the sort of thing where, hey, the first character in this password is A.
598620	601940	The first character in this password is B. The first character in this password is C.
601940	607780	And when you say C, that is the correct answer, either things go too fast, or things go too slow.
607960	613060	In the case of Spectre, it's where you're trying to read data that you're not allowed to.
613060	615320	You're told no, but it's the wrong time.
615780	616980	Actually, that was Meltdown.
616980	619820	With Spectre, you're trying to run a code you're not allowed to.
619820	625120	And again, things go faster and slower based on what you were or were not allowed to run.
625380	627720	What went wrong?
627960	634440	Now, commonly people say when things go wrong, oh, you know, Intel, they were lazy, they were stupid, they were bad people.
634440	641500	I have to tell you, in 20 years, I've never seen stupid moralization fix anything.
641900	645740	Like, we're engineers. Sometimes things are going to fail.
645740	652100	We can either figure out why they fail and do something about it, or we can point and laugh.
652100	656940	Don't get me wrong, lots of people like pointing and laughing, and they can go have fun doing that.
656940	662520	But as engineers, and hackers are a sort of engineer, we have better things to do.
662520	664940	We can point and study.
665380	675120	So, digging in, the assumption in a lot of vulnerability analysis for bugs like Spectre and Meltdown,
675120	685500	these speculative execution flaws, the assumption was that you could find out that something was in memory, but not what it was.
685500	690200	So here's the deal, maybe a little lesson in how microprocessors work.
690580	695180	It doesn't matter how fast your chip is, it doesn't matter how powerful it is,
695180	704080	it doesn't matter what crazy 3D instructions it can do, if it doesn't have the data in hand to work on.
704080	715780	So, a lot of the real world work of making a fast chip is in making sure the right data is available at the right time.
715880	725200	So, your system might have gigabytes of memory, it only needs to work on a small subset of data at any given moment,
725200	729520	but that data really needs to be available or the chip is just going to sit around like,
729520	735840	oh, I guess I gotta wait like 20,000 cycles for the data that I need to work on.
735840	740960	That means it's running at 120,000 the speed or so, for certain instructions anyway.
741640	746360	So, your chips have caches, they have local stores where it's like,
746360	753980	okay, so I have a copy of what's in memory over here, if I need to run it, I don't need to go all the way up to main memory,
753980	756860	I've got some what's called my L1 cache.
757620	766320	The assumption was that you could know that something was in L1, but not what was in there.
766720	770620	So, that was a nice theory.
770960	777120	Unfortunately, we have very rich things that we can ask the chip to do.
777120	786640	We can tell the chip, hey chip, I want you to go get me this memory plus the value of that memory over there,
786640	792330	like the address, it's like, hey, there's a house at 55 Santa Monica,
792800	799860	go to 50 and by the way, take that 5 that's over there and add that to the address too.
799860	805160	In fact, I don't even know if the 5 over there, whatever is over there, add it to the address.
805160	806820	Maybe you end up with 55.
808640	817540	So, this action happens without any care for the security model that the chip is trying to maintain.
817540	824980	It will simply go ahead and be like, okay, well, I've got this base address of 50, that value over there was 5,
824980	827820	I guess I've got to go retrieve 55.
828680	839060	Now, as the attacker, you're like, hey, do you know about the address of 51, 52, 53, 54, 55?
839060	842960	And 55 actually is already there because that's what was forced in.
843560	848040	And so now the attacker knows, okay, that value was 5.
848300	854660	There's only 256 possible values of a byte, so you do this 256 times and you get the byte.
854660	859360	You might say, oh, but the difference is going to be really small, it's all really fast anyway.
859360	865520	Yeah, it's really fast. That means you can do it like a million times in a second.
865880	871280	Any small difference multiplied by a million is no longer a small difference.
871440	879880	Especially when you can do what's called a CL flush, a cache flush, make the difference as large as possible.
879880	887120	So that's kind of the transition that has happened.
887120	892680	The shift in attack methodology.
893900	900220	But there's something underlying all of this, which I really want people to understand.
900800	908620	Spectre and Meltdown and this entire bug class exist because we assumed we could make computers faster.
908620	919720	A lot of people are like, why do we have these bugs anyway? Isn't this just math? Can't we prove things are correct?
920300	922260	And we can't.
922260	932480	The primary consumers of mathematical-proving software in the world are microprocessor designers.
932480	937120	You know why? Because when a chip screws up, you can't easily ship a patch.
937120	944420	We try, but that stuff is... those bugs are literally etched in stone.
944420	948040	That is, in fact, what they're in.
948120	952960	We really, really do not like having microprocessor flaws.
952960	959400	And so we do a tremendous amount of work with what are called theorem provers, what are called SAT solvers.
959400	966860	And we make sure the right bits, when the right bits come in, the right bits come out.
969300	973400	Time has not been part of the equation.
973740	980180	That is why your computers are allowed to get faster, your phones are allowed to get faster.
980180	985960	If you really think about it, a faster computer is doing different things.
985980	989320	It is. Before it took this long, now it takes that long.
989320	991000	That computer is operating differently.
991000	993760	But we define it as operating the same way.
993760	1004220	So, all of these bugs happen because security has been made to depend on an undefined element.
1005140	1009000	So, context matters.
1009920	1013580	If you'll excuse me hopping to the 30,000 foot view.
1013580	1017320	Are two things the same or are two things different?
1017380	1022740	Depends on the context of what do you mean by same and what do you mean by different.
1022740	1026080	Same thing might be predictable or random based on context.
1026080	1030900	Corporations, relatively predictable, you might even call them plodding.
1030900	1038220	But an executive at a corporation, that guy could quit tomorrow, could have a nervous breakdown.
1038380	1040400	An executive can be erratic.
1040500	1046000	But the actual heart in that executive is actually beating erratically.
1046000	1049740	By a behavioral standpoint, the heartbeat is pretty steady.
1049740	1056800	But a single cell in that otherwise beating heart, that single cell might be erratic.
1056800	1062100	We're talking about the same point in space, the same point in time.
1062480	1065380	Is it predictable? Is it random?
1065380	1070720	It depends on the context in which the question is asked.
1070720	1074280	Are two computers doing the same thing or are they doing different things?
1074280	1079300	Well, it depends. Does time count or does time not count?
1079300	1082240	And there's not a right answer to that.
1082240	1084780	There is no one context.
1084780	1093240	A huge amount of what we do in hacking and what we do in security is we play context off one another.
1093240	1096860	We're like, that context thinks this is stable, that context thinks it's not.
1096860	1098540	They are going to behave in a different way.
1098540	1101520	We said something right down in the middle.
1101940	1104640	Tremendously reliable source of vulnerability.
1105380	1110300	So, the CR-improvers didn't fail when they showed no leakage of information between contexts
1110300	1113880	because the right bits went to the right places.
1113880	1118780	They just weren't being asked to prove these particular elements.
1121390	1131320	The last thing that we did that caused Spectre and Meltdown to occur is what I call the Great Repurposing.
1131320	1139180	We turned a stability boundary into a security boundary and hoped that it would work.
1139180	1142340	Spoiler alert, it did not work.
1143260	1150240	Historically, I know this is going to surprise you guys, most software is pretty bad.
1150240	1153440	Like, it kind of barely works.
1153980	1157660	Historically, most code would crash all the time.
1157660	1163340	The game was making it so it would only crash itself.
1163460	1171920	Like, how do we get it so when the calculator dies, it doesn't take down the server backup.
1171920	1175420	Because I can live without the calculator.
1176000	1182680	So, we did this stuff where all the software was specifically opt-in to the resources that are required.
1182680	1186920	This is my RAM, this is my network connection, this is my stuff.
1186920	1195200	So, when the software blew up and visibly blew up, you could clean up just those parts.
1195960	1202660	So, the theory was that hackers were just kind of a new source of misbehavior.
1202660	1208240	Instead of the software crashing randomly, it was crashing because someone intended it to.
1208240	1215980	But otherwise, we could still see it doing bad stuff and we could still cut just that part off.
1215980	1219220	It kind of worked. It kind of didn't.
1219960	1222980	Here's the thing about hacker misbehavior.
1223400	1226520	Hackers are actually pretty well behaved.
1227000	1234440	You know, when hackers crash code, it doesn't actually crash. It actually does, like, re-control things.
1234460	1245460	So, what hackers are doing is changing smaller things from a computer's perspective that are bigger things from a human's perspective.
1245460	1257600	So, you don't get these random, noisy data structures that immediately cause all these exceptions to fire.
1258200	1263200	Instead, you get nicely well-defined data structures that cause a calculator to pop up.
1263520	1272340	In the context of Spectre and Meltdown, these attackers change time.
1272340	1276720	Which, in this context, is not defined to exist.
1276820	1285460	These operations that might happen fast, might happen slow, fast and slow don't exist in the context of the microprocessor running these instructions.
1285460	1291500	They're allowed to take as long time or as little time to get the data out of memory.
1291600	1301440	So, it means nothing to the chip, but it means everything to the users, to the administrators, to the security models, but nothing in this context.
1301440	1304340	That's what's going on.
1304340	1317800	It's worth noting, by the way, that the exploits in Spectre and Meltdown involve attacking the system timers, which often operate once every 15.6 milliseconds.
1318160	1321460	Kind of a specific number, that 15.6.
1321460	1326160	You take the reciprocal and you end up at 64 frames a second.
1326160	1334000	Because the only thing computers like more than repurposing 60 FPS is powers of 2.
1335180	1340520	So, there's a thing.
1340940	1344760	Spectre and Meltdown leak bits that we would prefer they not.
1345220	1347740	You can't leak bits you do not have.
1347740	1354860	There is a hidden architectural choice in all of these bugs.
1354860	1357920	That architectural choice is decision.
1358260	1360200	It's context switching.
1360500	1369980	What we do with computers generally is we have a tremendous number of contexts in which they're operating.
1369980	1372000	One moment, it's you, the user.
1372000	1375760	Another moment, it's the kernel running some device driver.
1375760	1378920	Another moment, it's the web browser as a whole running something.
1378920	1383680	Another moment, it's JavaScript from an individual page on that web browser.
1383680	1387140	It's constantly flipping around and flitting around.
1387140	1392060	Some of those contexts have special access to data and some of them don't.
1392340	1401960	And we hope the design of our interesting architectures mean when we switch from one context to another, nothing is left over.
1401960	1405420	Now, you can do that.
1405500	1408020	But there is another context.
1408240	1414020	And it kind of goes back to the quote, if you want two security domains, get two computers.
1414300	1416100	You can do that.
1416260	1418420	Computers are small now.
1418420	1422380	Like, I don't know if you guys have seen this stuff coming out of Shenzhen.
1422380	1423800	This is beautiful.
1423800	1424440	Look at this thing.
1424440	1426300	This is 20 bucks.
1426400	1427120	20 bucks.
1427120	1428500	It's got four cores.
1428500	1430520	It's got a half gig of RAM.
1430520	1432500	It's got gigabits.
1432500	1433960	This is ridiculous.
1434100	1435260	Look at this thing.
1435400	1437000	I actually have one here.
1437000	1442800	If you want to know if I bring a camera, I'm like, no, I want you guys to strain your eyes to have to see this.
1442840	1448880	This is like, hey Raspberry Pi, nice job, but here's a real computer.
1448900	1452660	It's got an Intel, it's got Apollo cores, four cores.
1452660	1454320	It's got PCI Express.
1454660	1460040	It's got, you know, let's see, five gigabits, ten gigabits, USB, three.
1460040	1462320	It's got a PCIe port on the back.
1462700	1471820	Like, you know, yes, we can totally go ahead and try to make context switching work.
1472720	1480980	But, you know, instead of trying to pretend like we have a hundred computers, maybe we should just have a hundred computers.
1481260	1483440	We could potentially do that.
1483440	1497780	So, our present approaches to dealing with Spectre and Meltdown has been a little painful.
1499340	1507660	There's a lot of work that we put into making context switching able to be aware that there is a security boundary
1507660	1516860	and that we should not just protect what is visible at the user level or even at the kernel level,
1516860	1519500	but actually what's called the microcode level.
1519500	1522800	So, let me tell you something.
1524440	1528580	Intel chips haven't been running x86 for a long time, okay?
1528580	1535920	Like, there's another operating system underneath every operating system that you run.
1535920	1542320	And that is the operating system that's managing all sorts of this prediction, what memory to grab when.
1542320	1547720	That's the thing that we're interacting with, with all these Spectre and Meltdown patches.
1547720	1552140	It's incredibly painful, and honestly, it's pretty slow.
1552660	1559460	There's a great article from... actually, there's a great proof by the guys from this company, Research in Motion.
1559460	1560920	They made the BlackBerry.
1560920	1566880	They basically made a really compelling argument that the iPhone was totally impossible.
1566940	1574520	And their argument was incredibly compelling right up until the moment that Steve Jobs dropped an iPhone on the table and said,
1574520	1576400	Well, what do you think of that?
1576620	1586000	The iPhone was impossible because, well, we just sort of assumed a certain amount of interactivity required a certain amount of power and electricity and resources.
1586000	1590800	And here's what we were going to get from batteries, and here's how fast batteries have been getting better.
1591200	1597860	And, you know, you intersect all your curves, and you end up with the iPhone will never have a battery life more than 20 minutes.
1598680	1602280	And if all of those assumptions were true, that would have been correct.
1602280	1604440	All of those assumptions were not true.
1604440	1620580	The reason computers got fast is because this microcode layer, these layers that do all of this prediction about what resources are required when, what work can be done in advance, so that you don't need to wait and find out in real time.
1620580	1624100	Like, okay, someone asked for this, and I have to do a bunch of this other work first.
1624440	1626680	The work to be able to be long.
1627100	1628660	Here's the interesting thing.
1628660	1638180	One thing that every class developer is bad at, but the microprocessor guys are masters of, is this will probably work.
1639360	1642800	The microprocessor guys have mostly figured out how to do.
1643260	1649220	We're going to try this because 99.9% of the time is exactly what we're supposed to do.
1649220	1657500	0.1% of the time, it was the exact opposite, and we need to hit the brakes and pull everything back and make it like it never happened in the first place.
1657500	1660760	Pretty much only the chip guys have this working.
1660760	1674240	But man, you ever wonder why Intel chips are really fast, and chips that have the exact same specs, they're just as good memory, they're just as good instruction set, but for some reason everything is slow?
1674240	1675640	That's why.
1676060	1677440	Branch prediction.
1678000	1680780	Because we didn't have the worst machine learning around yet.
1680780	1683300	Oh yes, prediction and learning, of course they're linked.
1683300	1685660	Kind of obvious when you think about it in retrospect.
1688280	1692420	Tangents aside, I like going by tangents, what can I say?
1693820	1700860	We have patched everything in case there's a security boundary.
1701320	1705820	That doesn't actually mean there's always a security boundary.
1705820	1712980	There's a ton of machines where the only user on the device is the administrator.
1712980	1716220	There is no non-root.
1716220	1723060	Or, sometimes the administrator is only not the administrator when they're running a web browser.
1723060	1730700	And some portion of the administrator's code is a non-root, actual non-user.
1730720	1740740	They're still the user, but they're not the user who should run code, they're the user who should run JavaScript under a particular domain name.
1740740	1744180	Under the same origin policy.
1746040	1760360	There's a huge amount of what you might call in the electrical domain, impedance mismatch between the security models that our architectures expose and what we actually do in the real world.
1760360	1762480	Let me tell you, there's nothing about that.
1762480	1767280	The most popular security model in the world is the same origin policy in your web browser.
1767280	1775280	It's the thing that makes it so you can have one tab open for email, and one tab open for news, and the news site can't read your email.
1775400	1777380	Like, someone had to build that.
1777380	1783840	That security model, nowhere to be found in how ships work or how operating systems work.
1783840	1786280	But it's like the most popular thing to do.
1787800	1800920	So, as we work to deal with the horde of bugs that are coming along with Spectre Meltdown.
1800920	1804520	I'm not joking, I think 8 got announced today.
1804600	1811460	We will get a more explicit type of security domain to be declared.
1811460	1814860	It won't look like users, it won't look like processes.
1814860	1819600	It probably won't even be constrained to single machines, because guess what?
1819600	1830340	As you look at the cloud from the large scale, or as you look at, if you want two computers, two security domains get two computers at the small scale.
1831720	1836360	All sorts of resources get lashed together.
1836360	1846800	And the amount of flexibility that we're going to need to declare what is and is not able to manipulate each other.
1849280	1851100	It's going to get complicated.
1852460	1854940	It's going to be interesting to watch it grow though.
1856200	1862160	There's a shocking amount of operating system design work going on out there.
1862600	1865380	I thought I was being all clever, I'm not even going to lie.
1865380	1867360	Oh man, I really found the future.
1867360	1873200	And then it's like the HPC guys are like, get in line Dan, we have figured this out long before you.
1873760	1877400	And why has HPC, High Performance Computing, figured this out?
1877400	1890640	Well it turns out, huge amounts of just how operating systems normally work involve a user-kernel boundary where the user is untrusted and asks the kernel to go do something.
1890640	1894280	This turns out to be ungodly slow.
1894280	1901420	I'm not sure how much of our computer performance we're giving up to this, but it's pretty clearly double-digit.
1901540	1910720	Everything fast goes ahead and just for performance reasons, just for perf, says user-kernel needs to go.
1910720	1917880	So you'll see like, you know, Intel's networking stack, DPDK, will run entirely in user space.
1918100	1924200	There is a Linux web server called Tux, it should be now Sys in Windows.
1924200	1926420	It will run entirely in the kernel.
1926420	1934080	There's a cute little thing, you will know somebody is an old school kernel hacker if they've ever heard of the phrase kernel mode Linux.
1934080	1937620	And you'll know they're a security person because their head just exploded.
1939000	1942040	There's a funny thing called rope kernels.
1942080	1944880	They claim to not have kernels in the kernel.
1945280	1948320	This is not actually true, they totally have all the kernel code.
1948320	1951980	They just don't run the kernel code with a kernel boundary.
1951980	1954620	They run a kernel as a library.
1954780	1960540	There's even a thing called LKL that is Linux run as a library.
1960540	1961860	It's really cool.
1961860	1965140	You run a command, watch Linux boot, you're in Python.
1965340	1968940	Like, you go to the library, but it's Linux, it's kind of neat.
1971580	1978020	There's a giant amount of work going on here because when you look at the HPC space,
1978020	1981320	when you look at all the people that are looking for performance,
1981320	1987480	what they are really saying is, there's a security boundary, but not you.
1987480	1993760	These literally thousands of computers all trust each other.
1993760	1997680	It's not like 500 of the computers over there are run by bad guys,
1997680	2000540	but we want to hopefully still get useful compute out of them.
2000540	2003880	No, they're all mutually trusting.
2004360	2012680	So, there's a thing that security forgets, which is that you can have a place where a wall could be,
2012680	2015540	but you don't always want to put a wall there.
2015540	2018320	Not all walls are a good thing.
2019480	2024580	Build your boundaries to what the actual security model is.
2024580	2029640	Otherwise, you'll have fake boundaries that are just speed bumps for people to jump over.
2029640	2032880	You've just stopped useful work from happening.
2033660	2036360	So, why am I telling you this?
2036380	2042260	Well, me being kind of real here, security that doesn't care about the rest of IT
2042260	2046980	is security that grows increasingly irrelevant.
2047220	2051000	Computing in 2023 is not going to look like computing in 2018.
2051100	2054020	Too much is changing.
2054020	2062780	Like, that gear that I showed you over there was not around like 5 or 10 years ago.
2062780	2063960	That matters.
2063960	2066920	Like, we build things differently now.
2066920	2074100	In fact, computing in 2018 doesn't look like what most people think computing in 2018 looks like.
2074100	2077860	There's a lot of mental models, even among hackers.
2078400	2083160	People are really, really stuck on what they have on their desk.
2083160	2090240	Let me tell you, I go ahead and I rent a machine for $13 that's got a terabyte of RAM.
2090240	2092940	I solve problems differently than you do.
2092940	2096880	Also means I have vulnerabilities different than you expect.
2097280	2100780	So, that's the flip side.
2100780	2106860	If you're just looking for bugs, look for things people think don't matter.
2106980	2116880	Look for time, look for the flawed assumptions that developers have, that operations has,
2116880	2123700	between how people think the system works and how it actually does.
2125160	2129660	Bugs aren't random because their sources aren't random.
2129660	2137520	The mismatch in assumptions starts in the developers thinking their system is working one way and it's really working another.
2137520	2145940	And then, going on, it's what, as a hacker, hackers have to model.
2145940	2149520	Hackers aren't just modeling code. These are not good ones.
2149520	2153480	Hackers are modeling the developers and saying, what did that guy screw up?
2153480	2157780	I tell you, I can't tell you how many...
2157780	2159820	Okay, this is my own process.
2159820	2163360	I used to run a hacking group out of Seattle.
2163440	2165440	We spent a couple of years at Microsoft.
2166320	2171300	Every time I would sit down with a team, I'd just be like, tell me your story.
2171300	2176700	Tell me what you're worried about. Tell me how you think your system works.
2177020	2180680	And you know what I'd do then? I'd shut up and listen.
2180820	2184920	And listen for all the things they didn't talk about.
2185380	2188860	Because that was always where my first bugs came from.
2188860	2192680	It's like, oh, you didn't think of the auth layer? Oh, you didn't think of the storage layer?
2192680	2194360	Oh, you didn't think of the directory layer?
2194360	2199720	You just look for what you see in the code, and what the developer isn't thinking about.
2199720	2203360	Like my favorite one of my audits, going off on a complete tangent.
2203580	2206040	I'm like, reading through the docs.
2206260	2209640	Like, what verb here? Repair.
2209700	2213360	I'm like, hey Bob, what does repair do?
2213360	2215400	Bob gets this look on his face.
2215500	2220680	That's still in there? Yes. So many bugs.
2224420	2232000	People think bug finding is purely a technical task.
2232000	2235880	And it's not, because you're playing with people's assumptions.
2235900	2244680	It's so much more, or at least there is such a strong angle of understand the source, and you'll find the destination.
2245300	2253680	So right now is about a good time to introduce what I'd like to say is the big, catchy, only vaguely correct catchphrase designed to spark interest.
2254240	2258520	There's no such thing as reverse engineering.
2260140	2264540	This is only vaguely true. It's kind of a cute little combination.
2264880	2266280	Let me tell you what I mean.
2267520	2272140	You know how people are like, oh, you know, our team, we only make the car drive left.
2272140	2275040	Right? That's some other guys.
2275180	2278960	It's just my job to get my plane in the air. Who cares if it lands?
2279980	2282480	It's not that there aren't different teams.
2282840	2285860	There could be a different team that handles takeoff and landing.
2286000	2290300	It's just that if you don't care if your work affects the other guys, you're going to crash.
2291720	2294880	So my thesis is there's no reverse engineering.
2295020	2296680	There's no forward engineering.
2297280	2300300	There's just engineering, okay?
2300300	2308440	But we do have cultural elements in engineering that block the integration of forward and reverse.
2308440	2318200	And the primary thing that we seem to do wrong is I think we have aggressively separated development and testing.
2318240	2321860	And it's biting us. It's biting us really hard.
2322620	2328300	Hackers like, you know, I was the director of hacking. I was the director of penetration testing.
2328300	2331600	Hackers like, you know, penetration sounds cool.
2331840	2337760	But no, testing is the important part of that phrase.
2337760	2343980	We are a specific branch of testers that, I don't know, gets on cooler stages or something.
2344600	2349500	Testing shouldn't be split off, but it kind of has been.
2349500	2357580	And it's kind of had to have been because people, when they write code, tend to see that code for what it's supposed to be.
2357580	2364740	And as a tester, you're trying to see it for what it really is because you're doing some things.
2366420	2379340	What this means in practice is that large amounts of tooling in software that tells you what software is really doing are isolated to a different group of people.
2379340	2394920	So the developers who already have a problem psychologically of only seeing what their code is supposed to do are also isolated from all the software that would tell them, no, actually you're doing five other things for what you really shouldn't be.
2395160	2399240	So it creates this enormous bias in developer knowledge.
2399240	2402880	Anything that's too testy goes to the test people.
2403340	2405520	They'll figure it out for us.
2405520	2410500	And what it does, it ends up biasing the generation of a lot of code.
2411640	2416340	And let me actually show you in concrete terms what I mean by this.
2417820	2423720	So, Fortran, ancient language, pretty fast, lets you do a lot of interesting math.
2423720	2428200	Python, convenient language, not so fast, but fast enough, useful.
2429420	2434280	And last step, did anyone here ever use a package called Numba?
2436120	2439420	See, we can't just stick to hacking, okay?
2439420	2444020	Like, there are some tools out there that do some freaking magic.
2445300	2455640	Numba is, as far as I know, the first practical environment for taking what is, you know, Python has a nickname, executable pseudocode.
2455640	2462680	It lets you write Python, and then it does a bunch of magic, and suddenly you have code that's approximately as fast as Fortran.
2462680	2468500	I am not even joking. It is a LLVM CPU-GPU optimizing platform.
2469660	2473980	It is an optimizer, which means it works like most optimizers do.
2473980	2481140	It constrains what it thinks can come in, and given those constraints,
2481140	2488460	throws out a bunch of optional work at runtime, and ends up delivering very fast execution.
2491000	2496460	It's important you think about all of the, what I just said in the context of hacking.
2496820	2502180	What happens when you define your constraints incorrectly?
2502180	2504340	There's a simple answer, vulnerabilities.
2504720	2510200	Stuff blows up. At best, you get the wrong answer.
2510200	2518440	Most commonly, you get undefined behavior, which in the presence of hacking, becomes redefinable behavior.
2520100	2526300	The problem that even Numba has to deal with is that Python is a dynamically typed language.
2526300	2530720	When you have a variable, you don't really know what's going to be in there.
2530720	2540180	So there is some dependency on the developer telling you,
2540180	2544680	2 to the 63, or 2 to the 64, and so on.
2544680	2551760	Now there is some developer pain to go ahead and declare up front what data types are going to be in what place.
2551760	2555880	The whole reason they used Python was they didn't have to declare that.
2555880	2559320	They could just say, there will be something there, figure it out at runtime.
2561040	2564480	Well, a really cute code came out recently.
2565700	2568060	Dropbox wrote something called PyAnnotate.
2568060	2571700	And what PyAnnotate does is it looks at...
2571700	2575000	So you write your code, you write it your normal way as a developer.
2575520	2580500	And you run through the test kit, or you run through production data.
2581400	2583920	And it looks to see what's going through.
2583920	2589400	And it says, ah, this was dynamic, but man, all we get in production is a bunch of floats.
2589400	2591640	This is probably a float type.
2591880	2594000	And here's what's key.
2594140	2597480	It goes ahead and it updates the code.
2597480	2601780	There's actually optional typing information in Python now.
2601780	2604300	That is one of their dev extensions.
2604660	2607560	This is the thing that you don't do.
2607560	2611600	You never have runtime, alter compile time.
2611600	2615500	Only the developer is allowed to actually touch the code.
2616020	2621280	That is an unnecessary constraint.
2622340	2627460	Now, this work has only come up for correctness.
2627460	2629760	It hasn't come up as a means of accelerating number.
2630300	2634960	I'm just getting in front of you guys here saying, oh man, we can make a bunch of code real fast
2634960	2638900	by using PyAnnotate for performance instead of just security.
2640740	2645900	Even the authors of this code consider it appropriate only for legacy.
2645900	2649700	They're like, oh yeah, but the developer should do the right thing.
2649960	2651700	Okay, yeah, it's not vitamins.
2651900	2655020	It's not eating your Wheaties or eating your cereal.
2655020	2659400	There's a job to do, which is to secure millions of lines of code.
2659400	2660900	Let's figure out what we've got to do.
2660900	2665620	And if we can discover stuff at runtime about what needs to be done to keep things secure,
2665620	2667880	yes, do that.
2668900	2672840	Why shouldn't runtime influence code?
2673560	2676700	The approach does seem weird by standard models.
2676700	2680580	It's a little similar to what's called profile-guided optimization.
2680780	2684920	It's where you run a bunch of test code and you spy on what happens.
2684920	2690860	But a lot of profile-guided optimization only lives in the compiler.
2690860	2693740	It doesn't actually touch the source code.
2693740	2697200	What I'm telling you is, no, we should actually update the source.
2697500	2700100	Partially because the developer sometimes needs to say,
2700100	2705440	no, it's just all floats today, sometimes they're big floats,
2705440	2708800	sometimes they're integers, sometimes they're this, sometimes they're that.
2708800	2710960	Developers don't know nothing.
2711540	2714360	It is a little bit of pair programming with the machine,
2714360	2719300	but if anyone here has ever coded for Android and you hit that tab key a lot,
2719300	2721040	it's not like that's that new.
2723900	2728900	It's important to realize that we are loosening the assumption
2728900	2733860	that the developer knows what the system is supposed to do.
2733860	2736980	See, we think we're the only ones as hackers that are ignorant.
2736980	2741560	But the truth is, everyone who touches the computer is a little bit ignorant.
2742200	2747880	Developer tools are weird, though, because they are the things that assume the developer is right.
2747880	2750560	Because that's what you do in optimization.
2750620	2754980	In optimization, you assume, okay, they have told me exactly what I need,
2754980	2758940	I can throw out every handler, I can throw out every other possible path,
2758940	2764060	let me just do the thing that my ground source of correctness and truth and loveliness,
2764060	2765580	the developer has said.
2765580	2769680	And any day, hacker tools don't do that.
2769680	2772540	Hacker tools are all like, let's figure out how the hacker screwed things up,
2772540	2774580	how the developer screwed things up.
2774660	2776120	Because sometimes it works.
2777680	2780680	All of our tools are incomplete.
2780680	2784180	All of our tools are blind.
2785060	2789920	The one concrete difference between reverse engineering and normal engineering
2789920	2793360	is do you have the source code?
2795000	2799440	I know this one guy, he's going to laugh when he finally sees these slides,
2799440	2803360	he doesn't even bother with source if it's a C++ code on it.
2803360	2808880	He's like, man, C++ lies to your face. Forget it.
2808880	2811420	What is the computer executing? Binary.
2811420	2813560	What am I going to read? Binary.
2813580	2819340	That way, whatever I happen to get out of it, at least me and the CPU are on the same page.
2819340	2822620	Forget what the developer thought, he doesn't know what's happening anyway.
2822620	2827480	You know what, that guy wrecks code. He really quite does.
2828640	2833520	So, one of the directions that I'm moving in, in building tooling
2833520	2839480	that really unifies the building and breaking mindset,
2841080	2846220	I'm a little tired, if I'm using an open source platform,
2846220	2850180	why can't I see the source every time something crashes?
2850180	2854780	I mean, yes, I can compile my particular app, but you know, it's got a library,
2854780	2856420	and then, oops, it didn't have the source.
2856420	2859800	Or it's calling into glibc, and oops, it didn't have the source.
2859800	2862580	Or it's calling into the kernel, and oops, that didn't have the source.
2862580	2863980	This is ridiculous.
2864220	2871800	Like, yes, I understand the tools did not want to take a hard dependency on source being available.
2871800	2876080	I once went into a SSD manufacturing plant,
2876080	2880500	and I'm like, I want to audit your SSD from top to bottom.
2880500	2883340	And they just looked at me with these sad eyes,
2883340	2887300	and I think they basically finally got out,
2887300	2890200	there probably is not a company in the world
2890200	2894840	that has all the source code required to make a solid state disk.
2895060	2899340	Each of them passes a binary blob onto the next,
2899340	2903960	so that they won't be factored out of the manufacturing equation.
2903960	2907440	We have a little bit of that going on in software,
2907440	2911380	but it's unnecessary, because in software we have environments like Gen 2,
2911380	2915620	where you can say, I need you to compile everything.
2915640	2919940	And I need you to put all the source code right there.
2920000	2923580	So I've been playing with, what's it like having source code access
2923580	2925480	to absolutely everything in a system?
2925480	2927360	Oh my god, it's awesome.
2928200	2931440	Like, error messages are terrible.
2933660	2936400	Developers pretend they know what they're telling me.
2936400	2940200	Oh, it's because you forgot to set this flag on this thing.
2940980	2942840	They're making random noises.
2942840	2945400	Show me the source code that's crashing.
2945400	2947460	And so this is the middle of SSH,
2947460	2949180	and this is the middle of TLIPC,
2949180	2951380	and I just have a nice, consistent,
2951380	2954980	if it blows up, I get to see why.
2955300	2956940	It's lovely.
2956940	2960460	It's lovely for hacking, it's lovely for development, to be honest.
2960460	2963180	And I mean, in this scale, it's whatever's on that machine.
2963180	2965800	So it's running on SSH, a little tiny thing,
2965800	2968540	it's running on Chromium, frankly,
2968540	2971460	an operating system larger than Gen 2 in the first place.
2972640	2975240	So I like to joke, ADB is old and busted,
2975240	2977140	APD is the new hotness,
2977140	2978980	always be debugging.
2980260	2981660	It's a legitimate question.
2981660	2983300	If you're always running a debugger,
2983300	2985900	sometimes that code is running in the kernel,
2985900	2988820	sometimes that code requires permissions to look at.
2988820	2991280	You know, are you going to be typing sudo all the time?
2991280	2992800	Like, are you going to be getting root?
2995380	2996260	Okay.
2996800	2999940	You ever get the feeling it's easier to be root
2999940	3002500	on someone else's machine?
3002500	3005880	Because, like, you have root for, like, a year somewhere else,
3005880	3007500	but you are typing sudo,
3007500	3011280	you're getting root, like, one line at a time.
3011280	3013960	Like, I need to do something as an administrator.
3013960	3016160	I need to do something as an administrator again.
3016160	3019000	No, I'm still doing something as an administrator.
3019000	3022280	It's an awful user interface
3022280	3025420	when your work as a hacker
3026620	3028600	involves constantly having to do things
3028600	3030120	that alter the machine state
3030120	3033340	and therefore constantly require root permissions.
3033500	3036140	And by the way, you get such a wide variety
3036140	3038380	of broken software behaviors.
3038380	3039680	So, like, here's Wireshark.
3039680	3041980	If you run it as a user, you know,
3041980	3044400	it doesn't give you any prompt, it just runs.
3044400	3046240	You can, you know, you can, like, listen remotely
3046240	3048560	to, like, a Cisco remote pack capture.
3049160	3050720	But with Wireshark,
3050720	3052020	I want to listen to packets
3052020	3055320	on interfaces on my machine.
3055320	3059300	That's why I'm running the network snipper.
3059620	3062120	Where's my local interfaces?
3062140	3063800	Oh, well, then you need to run as root.
3063940	3066320	But if you do that, you get a big, scary message
3066320	3069120	that says, I'm not going to let you run code in Lua.
3069120	3070800	It's okay, I hate Lua.
3072220	3074620	It's not true, I actually think Lua is okay.
3074780	3077100	You can embed it, therefore it's interesting.
3077280	3080340	But, like, this is this really common thing
3080340	3081940	where we have a security model
3081940	3084200	that assumes that I've got, like,
3084200	3085840	20 people on my machine
3086880	3089200	and I'm the only one who should be able to be root
3089200	3090280	controlling them.
3090280	3092940	Let me tell you, if I've got 20 people on my machine,
3092940	3095640	I've got 20 people with root on my machine.
3095920	3097200	I'm in trouble.
3099380	3102300	So, Linux knows this is a problem.
3102300	3103620	They kind of hide and fix.
3103620	3106140	You have to, like, declare that it's an embedded machine
3106140	3107700	because they don't want you to know it's there.
3107700	3110080	And then you go into this, like, advanced mode
3110080	3112440	and up, up, down, down, left, right, left, right,
3112440	3114000	B, A, B, A, select, start.
3114080	3116620	And, like, you end up with this checkbox
3116620	3119440	that has multiple user groups and capability support.
3119800	3120600	You know what that means?
3120600	3124080	You uncheck that and all, like, the user root stuff goes away.
3124140	3126160	You would think it's lovely,
3126160	3129100	but man, all this code complains.
3129360	3131480	So this, this is my solution.
3131480	3133620	This is going to be sudo 2.0.
3133820	3135620	I'm going to have, like, a key.
3135620	3136520	I'm going to have a button.
3136520	3138680	I'm going to have, like, three rocker switches.
3138840	3140700	And then you know what I'm going to have?
3140700	3142500	I'm going to have root now,
3142500	3144760	and then, like, in my next prompt
3144760	3146060	and in my next terminal window
3146060	3148420	until I happen to, like, shut it down.
3148420	3149980	And don't say it's less secure.
3150180	3153400	This is way more work than typing sudo.
3153960	3156860	Now, yes, I'm being silly.
3157020	3159640	But so is this security model,
3159640	3161640	and so is all this stuff we're doing with sudo.
3161640	3163800	This is not reflecting reality.
3164640	3167200	There is an implementation quirk.
3167780	3170620	You can't just make all actions happen as root
3170620	3173740	because software will complain like Wireshark complained.
3174040	3175840	You have to do something weird
3175840	3178360	and then bring it up without the code done
3178360	3179820	because basically I'm recruiting.
3179820	3182560	It's something I'm going to work on in the Blue Team Village after this.
3182560	3184000	Come by and hang out.
3186380	3188300	Effectively, what you need to do is
3189580	3192160	allow action to happen as a non-root user,
3192160	3195520	but mysteriously, all the permissions checks go through.
3195780	3197040	It's okay, it's secure.
3197040	3198880	Those rocker switches with the flips,
3198880	3201640	there's an LED at the end. The LED makes it secure.
3203300	3206880	Having kind of a faking root environment seems weird,
3206880	3210080	but guess what? It's what we're doing with virtual machines.
3210080	3211840	It's what we're doing with containers.
3211840	3214360	Do you know why Docker is so popular?
3214360	3217860	Because the app you get installed freaking works again.
3218840	3221300	Katlin Linux, the first time you get an operating system
3221300	3222860	that's totally designed by hackers, we're like,
3222860	3224980	oh, screw that. That thing's a mess.
3225200	3227300	Like, this is what's going on.
3228480	3229840	Jupyter is probably...
3230500	3232180	I don't know if you guys have ever used Jupyter.
3232180	3235080	It is now how I tell people to start learning how to use code.
3235080	3238700	It is a web-based interface for Python and data science.
3238700	3239620	It is lovely.
3239620	3243920	It's all the gunk of go ahead and start playing with code
3243920	3247560	and turn it into logo from back in the day.
3247560	3248940	It's great.
3249480	3252620	But there's no way inside of Jupyter to add a package
3252620	3255760	because that would require root.
3255760	3258420	So you've got the most usable environment
3258420	3262000	and it's missing actually some key functionality.
3262000	3264840	And it's because of us. It's our fault.
3265000	3268160	We need to stop breaking the rest of computing.
3268160	3273200	Now there is a reason why things are this way.
3273220	3276460	You know, you can't just say, like,
3276460	3278520	why are people so stupid?
3278520	3280580	Well, usually there's a reason.
3280960	3285000	Usually when you give people who are just learning computing
3286080	3290440	root access, the first thing they do is totally destroy their computer.
3290700	3292180	This is true.
3292220	3296660	And so we've evolved this model that will give you just a little bit of functionality.
3296660	3298640	And we'll kind of have, like, a talent bar.
3298680	3303440	You have to get this good before you get, like, real access to the system.
3303760	3306220	It's not a security model as much as it is
3306220	3307980	we don't want to get called in the middle of the night
3307980	3310620	because the user's broke something again.
3312280	3315360	Yes, you can do that and have a talent bar for users
3315360	3319440	or you can make it just really easy to fix stuff.
3319740	3321380	Check out this little stunt.
3321380	3324760	So, I've been working on something called Inception.
3325280	3326680	Forging the universe.
3326920	3331740	I wanted to see, is it possible to take a fully configured, fully running machine
3332680	3336160	that maybe a user doesn't want to break but does want to try something on
3337000	3338440	and fork a copy?
3338440	3342140	With the existing configuration, with everything in place.
3342140	3347440	Now, I would love to do it with the present, you know, the exact moment of the flip.
3347440	3351560	But here's how I got it working, just booting into the system
3352020	3353940	that has already been configured.
3354260	3357520	So here we are, we've got a stock little Ubuntu box.
3357520	3360760	Couldn't really have live demos here. It's okay, there's no time for them anyway.
3362100	3364540	I promised that I was going to show some code.
3364540	3367320	Here's why you don't show code in the middle of a talk.
3368020	3370260	But let me tell you what's happening here.
3370460	3376720	There's a super obscure, elementary kernel module called DattoBD.
3376720	3378740	It's the Datto block device.
3378840	3382740	There are other ways to do this using the DMMapper functionality in Linux,
3382740	3385640	but I'm using Datto because it's cool.
3386400	3390020	Datto lets you basically say, I need to make a backup.
3390980	3395040	And you know, when you backup a hard drive, it needs to be like a point in time.
3395040	3398520	You can't have like, this file was what it was at the beginning of the backup,
3398520	3400780	and this file was what it was at the end of the backup.
3400780	3402660	Your system will not boot.
3402660	3404800	You need to be able to take a snapshot.
3404800	3410420	Datto is interesting because it allows you to snapshot a disk
3410420	3416840	and not have some other disk required to store content as well, to store the changes.
3416840	3418920	It's just a more stable variant.
3419220	3423580	What we do in here is we take a snapshot of the running disk,
3423580	3426080	and it's a read-only snapshot. You're not able to write to it.
3426080	3428060	But virtual machines don't care.
3428060	3430240	They can totally be like, read-only, that's fine.
3430240	3432360	I'll get my reads from over here,
3432360	3436460	I'll put any writes over there, so it's called a copy-on-write approach.
3436760	3442280	So, I get myself a read-only copy of the disk,
3442280	3445520	I make snapshots of my EFI partition,
3445520	3447520	in this new thing, UEFI,
3447520	3448960	it's a disaster.
3449700	3450740	Terrible.
3451240	3457380	We make a copy-on-write copy of the Datto environment,
3457380	3459320	and then we boot a VM.
3459640	3461080	And you know what happens?
3461080	3464660	You just get that system.
3464660	3466500	That exact system.
3466980	3469460	And you're even rooted in it.
3469460	3471600	You get to test whatever you want,
3471600	3473480	you get to explore whatever you want,
3473480	3475320	you can't break anything.
3475320	3477240	It's lovely.
3477600	3478400	It's rooted.
3478640	3480240	Nothing bad can happen.
3482380	3485220	Remember earlier I told you,
3485980	3489500	you can context switch,
3489500	3493920	or you can just have other computers.
3494020	3495840	All this is about persistence,
3495840	3499140	all this is about managing how much damage can happen where.
3499240	3503360	I want to leave you guys on kind of a down note.
3504700	3506940	I have a hard question.
3507580	3511140	Why are we vulnerable to ransomware?
3511140	3512700	Why is it a problem?
3512800	3516400	Like, why is it possible for all of our data
3516400	3519440	to be deleted all at once?
3519440	3523440	Why is it possible for anyone even maliciously to wreck everything?
3523440	3526340	Like, who is this a feature for?
3526340	3528320	You might say, oh, you're going to run out of storage.
3528320	3528920	Really?
3528920	3532360	Like an 8 terabyte hard drive is like 50 US dollars.
3532360	3537040	Like, your entire companies are not generating data fast enough.
3537040	3542300	They could log every single bit 100 times over without exaggeration,
3542300	3546640	and not spend nearly as much money as a single ransomware cleanup.
3547100	3554100	What's going on is we have all of this leakage of capability to lose data.
3554100	3557900	We have too many people able to break stuff.
3558440	3564360	And as we look at the underlying capabilities of computers,
3564360	3568520	realize we're not just as hackers able to break things.
3568520	3573780	We're able to redefine them so they can't be broken in the first place.
3573780	3576480	So let me leave you with some closing thoughts.
3576740	3580720	We should not be separating development and testing.
3580720	3583760	Guys, at the end of the day, computers are capable of magic,
3583760	3587160	and we're just all trying to make the magic our magic,
3587160	3588720	and not some bad guy's.
3589000	3592980	Our hardest problems in security require a layment
3593320	3597440	between how we build systems and how we verify them.
3597440	3603040	And our best solutions in technology are going to require understanding the past,
3603040	3608500	how we got here, how we really got here, even if it's from the 1890s.
3608660	3613980	We're going to have to understand what is a unnecessary presumption,
3613980	3617600	and what, oh no, we really shouldn't touch because we could screw this up.
3618960	3622140	All that matters is how we protect users,
3622140	3626960	and I look forward to seeing how everyone here makes the world better.
3626960	3627620	Thank you.
