1 00:00:08,800 --> 00:00:10,300 Hello everybody! 2 00:00:11,380 --> 00:00:16,880 Man, this stage is not doing anything for this whole, like, Hackers Are Not Rockstars thing. 3 00:00:17,680 --> 00:00:19,440 Yeah, Hackers Are Not Rockstars. 4 00:00:19,440 --> 00:00:20,600 Who are rockstars? 5 00:00:21,040 --> 00:00:22,400 Rockstars, man. 6 00:00:22,400 --> 00:00:23,480 I made a few. 7 00:00:23,580 --> 00:00:25,180 We got nothing on them. 8 00:00:25,960 --> 00:00:31,840 Alright, so, before I say anything, I want to thank, you know, thank you Baidu. 9 00:00:31,920 --> 00:00:35,600 Only Epcon could go to China, and I think only you could make that happen. 10 00:00:35,600 --> 00:00:40,860 So, thanks guys, and thanks to all the other sponsors who've brought me. 11 00:00:40,860 --> 00:00:43,600 This is my first time in China, first time in Beijing. 12 00:00:43,600 --> 00:00:46,780 I've been to Asia before, but never out here. 13 00:00:46,780 --> 00:00:48,000 It's really exciting. 14 00:00:48,700 --> 00:00:53,000 So, what are we here to do today? 15 00:00:53,160 --> 00:00:59,780 Well, this is a keynote talk, so I'm supposed to inspire you all to build crazy, interesting things. 16 00:00:59,780 --> 00:01:05,180 This is a technical talk because, you know, they say you stop writing code in your thirties. 17 00:01:05,180 --> 00:01:06,480 That is a dirty lie. 18 00:01:06,480 --> 00:01:10,980 I've written more code in the last few years than ever in my life. 19 00:01:12,360 --> 00:01:20,780 The goal of this talk is to connect a series of concepts you may never have thought were linked. 20 00:01:20,780 --> 00:01:28,180 The quote-unquote hacker mindset really is just saying, you know, those things might be connected. 21 00:01:28,180 --> 00:01:30,100 Hamburgers and cheese, that's great. 22 00:01:30,100 --> 00:01:31,780 Hamburgers and clouds, sure. 23 00:01:32,240 --> 00:01:38,100 Anything can be linked, and I kind of want to, like, expand your horizons there. 24 00:01:38,360 --> 00:01:40,920 So, let's consider this sort of a skydive. 25 00:01:40,940 --> 00:01:52,060 We're going to start with a bird's-eye view, and then we're going to dive straight into the weeds and get ourselves, if you'll excuse me, pun, a bug's-eye view. 26 00:01:52,980 --> 00:02:00,900 So, I wanted to start this discussion, you know, there's a problem where we talk about hacking in terms of only software. 27 00:02:00,900 --> 00:02:06,120 So, like, if you already understand software, maybe you'll understand what I'm talking about. 28 00:02:06,120 --> 00:02:10,160 But what does hacking look like when it has nothing to do with software? 29 00:02:10,160 --> 00:02:14,580 And I figured, you know, most of us can see. 30 00:02:15,240 --> 00:02:18,800 I do have a hobby on human perception. 31 00:02:18,800 --> 00:02:20,720 Ask me about colorblindness sometime. 32 00:02:21,700 --> 00:02:27,180 There is a myth in human vision that we see at 60 frames per second. 33 00:02:27,180 --> 00:02:32,300 And I say it's a myth because you can run pretty much any experiment you want, and it's like, uh, no. 34 00:02:32,440 --> 00:02:37,960 We don't see at 60 frames per second because we don't see at frames per second. 35 00:02:37,960 --> 00:02:44,340 Your eye just kind of, like, wanders around and collects a bunch of gunk, and your brain's like, ahhh, what's that? 36 00:02:45,300 --> 00:02:48,660 Yeah, this is, uh, this is why dreaming works. 37 00:02:48,660 --> 00:02:52,780 This is why you're able to see things when your eyes are closed and you're unconscious. 38 00:02:52,780 --> 00:02:54,460 And your brain just makes stuff up. 39 00:02:54,460 --> 00:02:55,520 It's kind of cool. 40 00:02:56,420 --> 00:02:58,960 But why is the number 60? 41 00:02:58,960 --> 00:03:01,160 Because it shows up all over the place. 42 00:03:01,280 --> 00:03:10,420 Now, my traditional answer to why 60 frames per second is, oh, they say it has to do with human vision, but really it's 1940s television technology. 43 00:03:10,420 --> 00:03:13,580 That's just how fast we ran TVs back then. 44 00:03:13,980 --> 00:03:16,940 True, it was how fast we ran TVs back then. 45 00:03:17,180 --> 00:03:19,960 But why did they choose 60? 46 00:03:19,960 --> 00:03:23,200 They could have chosen any number numbers, but why 60? 47 00:03:23,340 --> 00:03:35,480 Um, I didn't realize my answer was incomplete until some news came out of Eastern Europe a few months ago that everyone's clocks were running slow. 48 00:03:35,480 --> 00:03:39,960 I actually literally mean, like, the clock radios on their, like, you know, cabinets. 49 00:03:40,300 --> 00:03:46,360 Um, European clocks move six minutes after dispute saps power from this electricity grid. 50 00:03:46,360 --> 00:03:50,520 Turns out Kosovo and Serbia don't like each other very much on your statement. 51 00:03:50,520 --> 00:03:57,820 And, uh, there was some, um, stealing of electricity and it was slowing down the frequency of the power. 52 00:03:57,820 --> 00:04:10,300 Just like, uh, water out of a tap has a certain temperature, power out of a wall has a certain frequency that's supposed to be around 60 frames per second or 60 hertz, and it wasn't. 53 00:04:10,300 --> 00:04:15,320 It was going a little slow, and so everyone's clock was going slow. 54 00:04:15,320 --> 00:04:27,620 Now, you could just have, like, a clock in your clock radio, a little coarse crystal that vibrates, but, uh, you could keep it cheap and use whatever's coming out of the wall, assuming it'll never change. 55 00:04:28,000 --> 00:04:31,800 Uh, just because you can doesn't mean you should. 56 00:04:31,940 --> 00:04:34,480 Let me tell you how often this happens in security. 57 00:04:34,680 --> 00:04:37,840 Oh, that thing, um, we'll just get it from the, the upstream. 58 00:04:37,840 --> 00:04:39,340 They'll take care of it for us. 59 00:04:39,760 --> 00:04:42,420 Well, they weren't taking care of it, and now the clock's running slow. 60 00:04:43,200 --> 00:04:48,660 So, we didn't make television 60 frames per second for human vision. 61 00:04:48,660 --> 00:04:55,580 We made television 60 frames per second because there was a 60 frames per second, 60 hertz clock handy. 62 00:04:55,920 --> 00:04:59,100 Okay, well, why was that clock 60? 63 00:04:59,100 --> 00:05:02,120 Why did the power lines go to 60? 64 00:05:02,220 --> 00:05:04,380 So now you just get to keep digging. 65 00:05:04,900 --> 00:05:12,840 Power was 60 hertz because in 1890, that was what we were good at making technology do. 66 00:05:13,020 --> 00:05:25,240 Uh, according to Wikipedia, the induction motor was found to work well on frequencies around 50 to 60 hertz, but with the materials available in the 1890s, it would not work well on a frequency of, say, 133 hertz. 67 00:05:25,240 --> 00:05:27,120 And that was too small to see up there. 68 00:05:27,120 --> 00:05:31,740 You actually see, like, all the various frequencies that people paid for, for power lines. 69 00:05:31,860 --> 00:05:40,860 So now you get the 60 frames per second thing, which supposedly had to do with vision, actually 1890s power generation. 70 00:05:40,860 --> 00:05:42,280 Kind of funny. 71 00:05:43,340 --> 00:05:45,280 But let's keep digging. 72 00:05:46,060 --> 00:05:49,460 So, um, it's funny. 73 00:05:49,460 --> 00:05:51,480 It has nothing to do with human vision. 74 00:05:52,400 --> 00:05:54,680 Why did they pick these numbers in the 1890s? 75 00:05:54,680 --> 00:05:56,480 Why was this what the materials did? 76 00:05:56,480 --> 00:06:04,700 Well, quote, there's a fixed relationship between the number of magnetic poles in the inductive field, the frequency of the alternating current, and the rotation speed. 77 00:06:04,700 --> 00:06:13,940 Ah, so now, now it's not 1890s technology, now it's physics, actual physics encourages 60 frames per second. 78 00:06:14,520 --> 00:06:16,480 And this is what blew my mind. 79 00:06:16,480 --> 00:06:23,680 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. 80 00:06:25,020 --> 00:06:27,380 You know, our brains are made of physics, too. 81 00:06:27,880 --> 00:06:30,080 Human vision comes from the brain. 82 00:06:31,720 --> 00:06:38,860 Electromagnetic signals, we have an entire series of waves called gamma waves that run at 25 to 100 hertz. 83 00:06:39,540 --> 00:06:46,300 Pure speculation, you might have 60 hertz and 60 frames per second and all these things because of physics. 84 00:06:46,360 --> 00:06:54,840 And physics is a shared element between power generation in the 1890s, between television and our brains. 85 00:06:55,560 --> 00:06:57,520 This might be correct. 86 00:06:57,520 --> 00:06:59,060 This might not be. 87 00:06:59,060 --> 00:07:01,980 And that is part of hacking, too. 88 00:07:02,660 --> 00:07:09,520 You might be thinking, why have I gone to this length in a talk that's supposedly about bugs? 89 00:07:09,720 --> 00:07:17,420 And what I really want to get through here is we don't necessarily know why things are the way they are. 90 00:07:17,560 --> 00:07:25,700 Usually, as a society, as a people, we do things because we've been doing them, and they mostly worked. 91 00:07:25,700 --> 00:07:27,620 What hasn't been a problem? 92 00:07:28,220 --> 00:07:35,500 What I want to get across is there's a universe of reasons why things are the way they are. 93 00:07:35,500 --> 00:07:38,600 Sometimes they don't need to be that way anymore. 94 00:07:38,600 --> 00:07:42,760 Sometimes they really do need to stay that way and we just don't know why. 95 00:07:42,760 --> 00:07:48,480 So stay intellectually honest as you go through these deep dives. 96 00:07:48,480 --> 00:07:53,120 Understand you really are operating from ignorance. 97 00:07:53,120 --> 00:07:55,240 That's actually your strong point. 98 00:07:55,240 --> 00:07:59,140 You don't know why the thing is doing what it's doing. 99 00:07:59,360 --> 00:08:01,680 That might mean you find something new. 100 00:08:01,680 --> 00:08:03,300 It might mean you aren't. 101 00:08:03,300 --> 00:08:08,980 Just have some humility as you explore, but also explore. 102 00:08:08,980 --> 00:08:09,620 I do it. 103 00:08:09,620 --> 00:08:10,860 It's okay. 104 00:08:11,180 --> 00:08:13,580 Just know that you're speculating. 105 00:08:13,580 --> 00:08:26,780 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. 106 00:08:27,280 --> 00:08:30,560 Speculative execution bugs. 107 00:08:31,320 --> 00:08:35,020 So there's a couple that people have nicknamed and talked about. 108 00:08:35,020 --> 00:08:39,000 I assure you there's a hundred more. 109 00:08:39,000 --> 00:08:40,980 And I'm not exaggerating. 110 00:08:40,980 --> 00:08:44,480 Number 98, number 99, number 100. 111 00:08:44,480 --> 00:08:50,060 There's a giant pile of flaws in this arena. 112 00:08:50,700 --> 00:08:52,560 What are a spectrum of them? 113 00:08:52,700 --> 00:09:00,360 The best explanation that I've had, that I've been able to explain to people, is that, you know, you ask your friend, Oh hey, you go to the coffee shop? 114 00:09:00,360 --> 00:09:01,720 They're like, No! 115 00:09:02,100 --> 00:09:03,560 Hey, do you go to the bar? 116 00:09:03,560 --> 00:09:04,600 No! 117 00:09:04,940 --> 00:09:06,420 Hey, do you go to the club? 118 00:09:07,740 --> 00:09:09,580 No! 119 00:09:11,440 --> 00:09:20,760 When you say the same thing, but you say it a different time, sometimes you're not saying the same thing. 120 00:09:22,160 --> 00:09:25,680 These bugs are timing bugs. 121 00:09:25,680 --> 00:09:39,160 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. 122 00:09:39,280 --> 00:09:42,680 And in fact, it finds out that it's not supposed to. 123 00:09:42,680 --> 00:09:43,620 It rejects. 124 00:09:43,620 --> 00:09:44,600 It gives you an exception. 125 00:09:44,600 --> 00:09:45,800 It gives you an error. 126 00:09:45,800 --> 00:09:53,460 But when it gives you the error, it's different, based on some information that you don't already have. 127 00:09:54,060 --> 00:09:58,620 Generally, it's the sort of thing where, hey, the first character in this password is A. 128 00:09:58,620 --> 00:10:00,260 The first character in this password is B. 129 00:10:00,260 --> 00:10:01,940 The first character in this password is C. 130 00:10:01,940 --> 00:10:07,780 And when you say C, that is the correct answer, either things go too fast, or things go too slow. 131 00:10:07,960 --> 00:10:13,060 In the case of Spectre, it's where you're trying to read data that you're not allowed to. 132 00:10:13,060 --> 00:10:15,320 You're told no, but it's the wrong time. 133 00:10:15,780 --> 00:10:16,980 Actually, that was Meltdown. 134 00:10:16,980 --> 00:10:19,820 With Spectre, you're trying to run a code you're not allowed to. 135 00:10:19,820 --> 00:10:25,120 And again, things go faster and slower based on what you were or were not allowed to run. 136 00:10:25,380 --> 00:10:27,720 What went wrong? 137 00:10:27,960 --> 00:10:34,440 Now, commonly people say when things go wrong, oh, you know, Intel, they were lazy, they were stupid, they were bad people. 138 00:10:34,440 --> 00:10:41,500 I have to tell you, in 20 years, I've never seen stupid moralization fix anything. 139 00:10:41,900 --> 00:10:43,260 Like, we're engineers. 140 00:10:43,440 --> 00:10:45,740 Sometimes things are going to fail. 141 00:10:45,740 --> 00:10:52,100 We can either figure out why they fail and do something about it, or we can point and laugh. 142 00:10:52,100 --> 00:10:56,940 Don't get me wrong, lots of people like pointing and laughing, and they can go have fun doing that. 143 00:10:56,940 --> 00:11:02,520 But as engineers, and hackers are a sort of engineer, we have better things to do. 144 00:11:02,520 --> 00:11:04,940 We can point and study. 145 00:11:05,380 --> 00:11:25,500 So, digging in, the assumption in a lot of vulnerability analysis for bugs like Spectre and Meltdown, these speculative execution flaws, the assumption was that you could find out that something was in memory, but not what it was. 146 00:11:25,500 --> 00:11:30,200 So here's the deal, maybe a little lesson in how microprocessors work. 147 00:11:30,580 --> 00:11:44,080 It doesn't matter how fast your chip is, it doesn't matter how powerful it is, it doesn't matter what crazy 3D instructions it can do, if it doesn't have the data in hand to work on. 148 00:11:44,080 --> 00:11:55,780 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. 149 00:11:55,880 --> 00:12:15,840 So, your system might have gigabytes of memory, it only needs to work on a small subset of data at any given moment, but that data really needs to be available or the chip is just going to sit around like, oh, I guess I gotta wait like 20,000 cycles for the data that I need to work on. 150 00:12:15,840 --> 00:12:20,960 That means it's running at 120,000 the speed or so, for certain instructions anyway. 151 00:12:21,640 --> 00:12:36,860 So, your chips have caches, they have local stores where it's like, 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, I've got some what's called my L1 cache. 152 00:12:37,620 --> 00:12:46,320 The assumption was that you could know that something was in L1, but not what was in there. 153 00:12:46,720 --> 00:12:50,620 So, that was a nice theory. 154 00:12:50,960 --> 00:12:57,120 Unfortunately, we have very rich things that we can ask the chip to do. 155 00:12:57,120 --> 00:13:19,860 We can tell the chip, hey chip, I want you to go get me this memory plus the value of that memory over there, like the address, it's like, hey, there's a house at 55 Santa Monica, go to 50 and by the way, take that 5 that's over there and add that to the address too. 156 00:13:19,860 --> 00:13:25,160 In fact, I don't even know if the 5 over there, whatever is over there, add it to the address. 157 00:13:25,160 --> 00:13:26,820 Maybe you end up with 55. 158 00:13:28,640 --> 00:13:37,540 So, this action happens without any care for the security model that the chip is trying to maintain. 159 00:13:37,540 --> 00:13:47,820 It will simply go ahead and be like, okay, well, I've got this base address of 50, that value over there was 5, I guess I've got to go retrieve 55. 160 00:13:48,680 --> 00:13:59,060 Now, as the attacker, you're like, hey, do you know about the address of 51, 52, 53, 54, 55? 161 00:13:59,060 --> 00:14:02,960 And 55 actually is already there because that's what was forced in. 162 00:14:03,560 --> 00:14:08,040 And so now the attacker knows, okay, that value was 5. 163 00:14:08,300 --> 00:14:14,660 There's only 256 possible values of a byte, so you do this 256 times and you get the byte. 164 00:14:14,660 --> 00:14:19,360 You might say, oh, but the difference is going to be really small, it's all really fast anyway. 165 00:14:19,360 --> 00:14:21,120 Yeah, it's really fast. 166 00:14:21,120 --> 00:14:25,520 That means you can do it like a million times in a second. 167 00:14:25,880 --> 00:14:31,280 Any small difference multiplied by a million is no longer a small difference. 168 00:14:31,440 --> 00:14:39,880 Especially when you can do what's called a CL flush, a cache flush, make the difference as large as possible. 169 00:14:39,880 --> 00:14:47,120 So that's kind of the transition that has happened. 170 00:14:47,120 --> 00:14:52,680 The shift in attack methodology. 171 00:14:53,900 --> 00:15:00,220 But there's something underlying all of this, which I really want people to understand. 172 00:15:00,800 --> 00:15:08,620 Spectre and Meltdown and this entire bug class exist because we assumed we could make computers faster. 173 00:15:08,620 --> 00:15:13,620 A lot of people are like, why do we have these bugs anyway? 174 00:15:13,820 --> 00:15:15,740 Isn't this just math? 175 00:15:15,740 --> 00:15:19,720 Can't we prove things are correct? 176 00:15:20,300 --> 00:15:22,260 And we can't. 177 00:15:22,260 --> 00:15:32,480 The primary consumers of mathematical-proving software in the world are microprocessor designers. 178 00:15:32,480 --> 00:15:33,420 You know why? 179 00:15:33,420 --> 00:15:37,120 Because when a chip screws up, you can't easily ship a patch. 180 00:15:37,120 --> 00:15:44,420 We try, but that stuff is... those bugs are literally etched in stone. 181 00:15:44,420 --> 00:15:48,040 That is, in fact, what they're in. 182 00:15:48,120 --> 00:15:52,960 We really, really do not like having microprocessor flaws. 183 00:15:52,960 --> 00:15:59,400 And so we do a tremendous amount of work with what are called theorem provers, what are called SAT solvers. 184 00:15:59,400 --> 00:16:06,860 And we make sure the right bits, when the right bits come in, the right bits come out. 185 00:16:09,300 --> 00:16:13,400 Time has not been part of the equation. 186 00:16:13,740 --> 00:16:20,180 That is why your computers are allowed to get faster, your phones are allowed to get faster. 187 00:16:20,180 --> 00:16:25,960 If you really think about it, a faster computer is doing different things. 188 00:16:25,980 --> 00:16:26,740 It is. 189 00:16:26,760 --> 00:16:29,320 Before it took this long, now it takes that long. 190 00:16:29,320 --> 00:16:31,000 That computer is operating differently. 191 00:16:31,000 --> 00:16:33,760 But we define it as operating the same way. 192 00:16:33,760 --> 00:16:44,220 So, all of these bugs happen because security has been made to depend on an undefined element. 193 00:16:45,140 --> 00:16:49,000 So, context matters. 194 00:16:49,920 --> 00:16:53,580 If you'll excuse me hopping to the 30,000 foot view. 195 00:16:53,580 --> 00:16:57,320 Are two things the same or are two things different? 196 00:16:57,380 --> 00:17:02,740 Depends on the context of what do you mean by same and what do you mean by different. 197 00:17:02,740 --> 00:17:06,080 Same thing might be predictable or random based on context. 198 00:17:06,080 --> 00:17:10,900 Corporations, relatively predictable, you might even call them plodding. 199 00:17:10,900 --> 00:17:18,220 But an executive at a corporation, that guy could quit tomorrow, could have a nervous breakdown. 200 00:17:18,380 --> 00:17:20,400 An executive can be erratic. 201 00:17:20,500 --> 00:17:26,000 But the actual heart in that executive is actually beating erratically. 202 00:17:26,000 --> 00:17:29,740 By a behavioral standpoint, the heartbeat is pretty steady. 203 00:17:29,740 --> 00:17:36,800 But a single cell in that otherwise beating heart, that single cell might be erratic. 204 00:17:36,800 --> 00:17:42,100 We're talking about the same point in space, the same point in time. 205 00:17:42,480 --> 00:17:44,000 Is it predictable? 206 00:17:44,000 --> 00:17:45,380 Is it random? 207 00:17:45,380 --> 00:17:50,720 It depends on the context in which the question is asked. 208 00:17:50,720 --> 00:17:54,280 Are two computers doing the same thing or are they doing different things? 209 00:17:54,280 --> 00:17:55,680 Well, it depends. 210 00:17:55,680 --> 00:17:59,300 Does time count or does time not count? 211 00:17:59,300 --> 00:18:02,240 And there's not a right answer to that. 212 00:18:02,240 --> 00:18:04,780 There is no one context. 213 00:18:04,780 --> 00:18:13,240 A huge amount of what we do in hacking and what we do in security is we play context off one another. 214 00:18:13,240 --> 00:18:16,860 We're like, that context thinks this is stable, that context thinks it's not. 215 00:18:16,860 --> 00:18:18,540 They are going to behave in a different way. 216 00:18:18,540 --> 00:18:21,520 We said something right down in the middle. 217 00:18:21,940 --> 00:18:24,640 Tremendously reliable source of vulnerability. 218 00:18:25,380 --> 00:18:33,880 So, the CR-improvers didn't fail when they showed no leakage of information between contexts because the right bits went to the right places. 219 00:18:33,880 --> 00:18:38,780 They just weren't being asked to prove these particular elements. 220 00:18:41,390 --> 00:18:51,320 The last thing that we did that caused Spectre and Meltdown to occur is what I call the Great Repurposing. 221 00:18:51,320 --> 00:18:59,180 We turned a stability boundary into a security boundary and hoped that it would work. 222 00:18:59,180 --> 00:19:02,340 Spoiler alert, it did not work. 223 00:19:03,260 --> 00:19:10,240 Historically, I know this is going to surprise you guys, most software is pretty bad. 224 00:19:10,240 --> 00:19:13,440 Like, it kind of barely works. 225 00:19:13,980 --> 00:19:17,660 Historically, most code would crash all the time. 226 00:19:17,660 --> 00:19:23,340 The game was making it so it would only crash itself. 227 00:19:23,460 --> 00:19:31,920 Like, how do we get it so when the calculator dies, it doesn't take down the server backup. 228 00:19:31,920 --> 00:19:35,420 Because I can live without the calculator. 229 00:19:36,000 --> 00:19:42,680 So, we did this stuff where all the software was specifically opt-in to the resources that are required. 230 00:19:42,680 --> 00:19:46,920 This is my RAM, this is my network connection, this is my stuff. 231 00:19:46,920 --> 00:19:55,200 So, when the software blew up and visibly blew up, you could clean up just those parts. 232 00:19:55,960 --> 00:20:02,660 So, the theory was that hackers were just kind of a new source of misbehavior. 233 00:20:02,660 --> 00:20:08,240 Instead of the software crashing randomly, it was crashing because someone intended it to. 234 00:20:08,240 --> 00:20:15,980 But otherwise, we could still see it doing bad stuff and we could still cut just that part off. 235 00:20:15,980 --> 00:20:17,720 It kind of worked. 236 00:20:17,720 --> 00:20:19,220 It kind of didn't. 237 00:20:19,960 --> 00:20:22,980 Here's the thing about hacker misbehavior. 238 00:20:23,400 --> 00:20:26,520 Hackers are actually pretty well behaved. 239 00:20:27,000 --> 00:20:31,080 You know, when hackers crash code, it doesn't actually crash. 240 00:20:31,080 --> 00:20:34,440 It actually does, like, re-control things. 241 00:20:34,460 --> 00:20:45,460 So, what hackers are doing is changing smaller things from a computer's perspective that are bigger things from a human's perspective. 242 00:20:45,460 --> 00:20:57,600 So, you don't get these random, noisy data structures that immediately cause all these exceptions to fire. 243 00:20:58,200 --> 00:21:03,200 Instead, you get nicely well-defined data structures that cause a calculator to pop up. 244 00:21:03,520 --> 00:21:12,340 In the context of Spectre and Meltdown, these attackers change time. 245 00:21:12,340 --> 00:21:16,720 Which, in this context, is not defined to exist. 246 00:21:16,820 --> 00:21:25,460 These operations that might happen fast, might happen slow, fast and slow don't exist in the context of the microprocessor running these instructions. 247 00:21:25,460 --> 00:21:31,500 They're allowed to take as long time or as little time to get the data out of memory. 248 00:21:31,600 --> 00:21:41,440 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. 249 00:21:41,440 --> 00:21:44,340 That's what's going on. 250 00:21:44,340 --> 00:21:57,800 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. 251 00:21:58,160 --> 00:22:01,460 Kind of a specific number, that 15.6. 252 00:22:01,460 --> 00:22:06,160 You take the reciprocal and you end up at 64 frames a second. 253 00:22:06,160 --> 00:22:14,000 Because the only thing computers like more than repurposing 60 FPS is powers of 2. 254 00:22:15,180 --> 00:22:20,520 So, there's a thing. 255 00:22:20,940 --> 00:22:24,760 Spectre and Meltdown leak bits that we would prefer they not. 256 00:22:25,220 --> 00:22:27,740 You can't leak bits you do not have. 257 00:22:27,740 --> 00:22:34,860 There is a hidden architectural choice in all of these bugs. 258 00:22:34,860 --> 00:22:37,920 That architectural choice is decision. 259 00:22:38,260 --> 00:22:40,200 It's context switching. 260 00:22:40,500 --> 00:22:49,980 What we do with computers generally is we have a tremendous number of contexts in which they're operating. 261 00:22:49,980 --> 00:22:52,000 One moment, it's you, the user. 262 00:22:52,000 --> 00:22:55,760 Another moment, it's the kernel running some device driver. 263 00:22:55,760 --> 00:22:58,920 Another moment, it's the web browser as a whole running something. 264 00:22:58,920 --> 00:23:03,680 Another moment, it's JavaScript from an individual page on that web browser. 265 00:23:03,680 --> 00:23:07,140 It's constantly flipping around and flitting around. 266 00:23:07,140 --> 00:23:12,060 Some of those contexts have special access to data and some of them don't. 267 00:23:12,340 --> 00:23:21,960 And we hope the design of our interesting architectures mean when we switch from one context to another, nothing is left over. 268 00:23:21,960 --> 00:23:25,420 Now, you can do that. 269 00:23:25,500 --> 00:23:28,020 But there is another context. 270 00:23:28,240 --> 00:23:34,020 And it kind of goes back to the quote, if you want two security domains, get two computers. 271 00:23:34,300 --> 00:23:36,100 You can do that. 272 00:23:36,260 --> 00:23:38,420 Computers are small now. 273 00:23:38,420 --> 00:23:42,380 Like, I don't know if you guys have seen this stuff coming out of Shenzhen. 274 00:23:42,380 --> 00:23:43,800 This is beautiful. 275 00:23:43,800 --> 00:23:44,440 Look at this thing. 276 00:23:44,440 --> 00:23:46,300 This is 20 bucks. 277 00:23:46,400 --> 00:23:47,120 20 bucks. 278 00:23:47,120 --> 00:23:48,500 It's got four cores. 279 00:23:48,500 --> 00:23:50,520 It's got a half gig of RAM. 280 00:23:50,520 --> 00:23:52,500 It's got gigabits. 281 00:23:52,500 --> 00:23:53,960 This is ridiculous. 282 00:23:54,100 --> 00:23:55,260 Look at this thing. 283 00:23:55,400 --> 00:23:57,000 I actually have one here. 284 00:23:57,000 --> 00:24:02,800 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. 285 00:24:02,840 --> 00:24:08,880 This is like, hey Raspberry Pi, nice job, but here's a real computer. 286 00:24:08,900 --> 00:24:12,660 It's got an Intel, it's got Apollo cores, four cores. 287 00:24:12,660 --> 00:24:14,320 It's got PCI Express. 288 00:24:14,660 --> 00:24:20,040 It's got, you know, let's see, five gigabits, ten gigabits, USB, three. 289 00:24:20,040 --> 00:24:22,320 It's got a PCIe port on the back. 290 00:24:22,700 --> 00:24:31,820 Like, you know, yes, we can totally go ahead and try to make context switching work. 291 00:24:32,720 --> 00:24:40,980 But, you know, instead of trying to pretend like we have a hundred computers, maybe we should just have a hundred computers. 292 00:24:41,260 --> 00:24:43,440 We could potentially do that. 293 00:24:43,440 --> 00:24:57,780 So, our present approaches to dealing with Spectre and Meltdown has been a little painful. 294 00:24:59,340 --> 00:25:19,500 There's a lot of work that we put into making context switching able to be aware that there is a security boundary and that we should not just protect what is visible at the user level or even at the kernel level, but actually what's called the microcode level. 295 00:25:19,500 --> 00:25:22,800 So, let me tell you something. 296 00:25:24,440 --> 00:25:28,580 Intel chips haven't been running x86 for a long time, okay? 297 00:25:28,580 --> 00:25:35,920 Like, there's another operating system underneath every operating system that you run. 298 00:25:35,920 --> 00:25:42,320 And that is the operating system that's managing all sorts of this prediction, what memory to grab when. 299 00:25:42,320 --> 00:25:47,720 That's the thing that we're interacting with, with all these Spectre and Meltdown patches. 300 00:25:47,720 --> 00:25:52,140 It's incredibly painful, and honestly, it's pretty slow. 301 00:25:52,660 --> 00:25:59,460 There's a great article from... actually, there's a great proof by the guys from this company, Research in Motion. 302 00:25:59,460 --> 00:26:00,920 They made the BlackBerry. 303 00:26:00,920 --> 00:26:06,880 They basically made a really compelling argument that the iPhone was totally impossible. 304 00:26:06,940 --> 00:26:16,400 And their argument was incredibly compelling right up until the moment that Steve Jobs dropped an iPhone on the table and said, Well, what do you think of that? 305 00:26:16,620 --> 00:26:26,000 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. 306 00:26:26,000 --> 00:26:30,800 And here's what we were going to get from batteries, and here's how fast batteries have been getting better. 307 00:26:31,200 --> 00:26:37,860 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. 308 00:26:38,680 --> 00:26:42,280 And if all of those assumptions were true, that would have been correct. 309 00:26:42,280 --> 00:26:44,440 All of those assumptions were not true. 310 00:26:44,440 --> 00:27:00,580 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. 311 00:27:00,580 --> 00:27:04,100 Like, okay, someone asked for this, and I have to do a bunch of this other work first. 312 00:27:04,440 --> 00:27:06,680 The work to be able to be long. 313 00:27:07,100 --> 00:27:08,660 Here's the interesting thing. 314 00:27:08,660 --> 00:27:18,180 One thing that every class developer is bad at, but the microprocessor guys are masters of, is this will probably work. 315 00:27:19,360 --> 00:27:22,800 The microprocessor guys have mostly figured out how to do. 316 00:27:23,260 --> 00:27:29,220 We're going to try this because 99.9% of the time is exactly what we're supposed to do. 317 00:27:29,220 --> 00:27:37,500 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. 318 00:27:37,500 --> 00:27:40,760 Pretty much only the chip guys have this working. 319 00:27:40,760 --> 00:27:54,240 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? 320 00:27:54,240 --> 00:27:55,640 That's why. 321 00:27:56,060 --> 00:27:57,440 Branch prediction. 322 00:27:58,000 --> 00:28:00,780 Because we didn't have the worst machine learning around yet. 323 00:28:00,780 --> 00:28:03,300 Oh yes, prediction and learning, of course they're linked. 324 00:28:03,300 --> 00:28:05,660 Kind of obvious when you think about it in retrospect. 325 00:28:08,280 --> 00:28:12,420 Tangents aside, I like going by tangents, what can I say? 326 00:28:13,820 --> 00:28:20,860 We have patched everything in case there's a security boundary. 327 00:28:21,320 --> 00:28:25,820 That doesn't actually mean there's always a security boundary. 328 00:28:25,820 --> 00:28:32,980 There's a ton of machines where the only user on the device is the administrator. 329 00:28:32,980 --> 00:28:36,220 There is no non-root. 330 00:28:36,220 --> 00:28:43,060 Or, sometimes the administrator is only not the administrator when they're running a web browser. 331 00:28:43,060 --> 00:28:50,700 And some portion of the administrator's code is a non-root, actual non-user. 332 00:28:50,720 --> 00:29:00,740 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. 333 00:29:00,740 --> 00:29:04,180 Under the same origin policy. 334 00:29:06,040 --> 00:29:20,360 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. 335 00:29:20,360 --> 00:29:22,480 Let me tell you, there's nothing about that. 336 00:29:22,480 --> 00:29:27,280 The most popular security model in the world is the same origin policy in your web browser. 337 00:29:27,280 --> 00:29:35,280 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. 338 00:29:35,400 --> 00:29:37,380 Like, someone had to build that. 339 00:29:37,380 --> 00:29:43,840 That security model, nowhere to be found in how ships work or how operating systems work. 340 00:29:43,840 --> 00:29:46,280 But it's like the most popular thing to do. 341 00:29:47,800 --> 00:30:00,920 So, as we work to deal with the horde of bugs that are coming along with Spectre Meltdown. 342 00:30:00,920 --> 00:30:04,520 I'm not joking, I think 8 got announced today. 343 00:30:04,600 --> 00:30:11,460 We will get a more explicit type of security domain to be declared. 344 00:30:11,460 --> 00:30:14,860 It won't look like users, it won't look like processes. 345 00:30:14,860 --> 00:30:19,600 It probably won't even be constrained to single machines, because guess what? 346 00:30:19,600 --> 00:30:30,340 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. 347 00:30:31,720 --> 00:30:36,360 All sorts of resources get lashed together. 348 00:30:36,360 --> 00:30:46,800 And the amount of flexibility that we're going to need to declare what is and is not able to manipulate each other. 349 00:30:49,280 --> 00:30:51,100 It's going to get complicated. 350 00:30:52,460 --> 00:30:54,940 It's going to be interesting to watch it grow though. 351 00:30:56,200 --> 00:31:02,160 There's a shocking amount of operating system design work going on out there. 352 00:31:02,600 --> 00:31:05,380 I thought I was being all clever, I'm not even going to lie. 353 00:31:05,380 --> 00:31:07,360 Oh man, I really found the future. 354 00:31:07,360 --> 00:31:13,200 And then it's like the HPC guys are like, get in line Dan, we have figured this out long before you. 355 00:31:13,760 --> 00:31:17,400 And why has HPC, High Performance Computing, figured this out? 356 00:31:17,400 --> 00:31:30,640 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. 357 00:31:30,640 --> 00:31:34,280 This turns out to be ungodly slow. 358 00:31:34,280 --> 00:31:41,420 I'm not sure how much of our computer performance we're giving up to this, but it's pretty clearly double-digit. 359 00:31:41,540 --> 00:31:50,720 Everything fast goes ahead and just for performance reasons, just for perf, says user-kernel needs to go. 360 00:31:50,720 --> 00:31:57,880 So you'll see like, you know, Intel's networking stack, DPDK, will run entirely in user space. 361 00:31:58,100 --> 00:32:04,200 There is a Linux web server called Tux, it should be now Sys in Windows. 362 00:32:04,200 --> 00:32:06,420 It will run entirely in the kernel. 363 00:32:06,420 --> 00:32:14,080 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. 364 00:32:14,080 --> 00:32:17,620 And you'll know they're a security person because their head just exploded. 365 00:32:19,000 --> 00:32:22,040 There's a funny thing called rope kernels. 366 00:32:22,080 --> 00:32:24,880 They claim to not have kernels in the kernel. 367 00:32:25,280 --> 00:32:28,320 This is not actually true, they totally have all the kernel code. 368 00:32:28,320 --> 00:32:31,980 They just don't run the kernel code with a kernel boundary. 369 00:32:31,980 --> 00:32:34,620 They run a kernel as a library. 370 00:32:34,780 --> 00:32:40,540 There's even a thing called LKL that is Linux run as a library. 371 00:32:40,540 --> 00:32:41,860 It's really cool. 372 00:32:41,860 --> 00:32:45,140 You run a command, watch Linux boot, you're in Python. 373 00:32:45,340 --> 00:32:48,940 Like, you go to the library, but it's Linux, it's kind of neat. 374 00:32:51,580 --> 00:33:07,480 There's a giant amount of work going on here because when you look at the HPC space, when you look at all the people that are looking for performance, what they are really saying is, there's a security boundary, but not you. 375 00:33:07,480 --> 00:33:13,760 These literally thousands of computers all trust each other. 376 00:33:13,760 --> 00:33:20,540 It's not like 500 of the computers over there are run by bad guys, but we want to hopefully still get useful compute out of them. 377 00:33:20,540 --> 00:33:23,880 No, they're all mutually trusting. 378 00:33:24,360 --> 00:33:35,540 So, there's a thing that security forgets, which is that you can have a place where a wall could be, but you don't always want to put a wall there. 379 00:33:35,540 --> 00:33:38,320 Not all walls are a good thing. 380 00:33:39,480 --> 00:33:44,580 Build your boundaries to what the actual security model is. 381 00:33:44,580 --> 00:33:49,640 Otherwise, you'll have fake boundaries that are just speed bumps for people to jump over. 382 00:33:49,640 --> 00:33:52,880 You've just stopped useful work from happening. 383 00:33:53,660 --> 00:33:56,360 So, why am I telling you this? 384 00:33:56,380 --> 00:34:06,980 Well, me being kind of real here, security that doesn't care about the rest of IT is security that grows increasingly irrelevant. 385 00:34:07,220 --> 00:34:11,000 Computing in 2023 is not going to look like computing in 2018. 386 00:34:11,100 --> 00:34:14,020 Too much is changing. 387 00:34:14,020 --> 00:34:22,780 Like, that gear that I showed you over there was not around like 5 or 10 years ago. 388 00:34:22,780 --> 00:34:23,960 That matters. 389 00:34:23,960 --> 00:34:26,920 Like, we build things differently now. 390 00:34:26,920 --> 00:34:34,100 In fact, computing in 2018 doesn't look like what most people think computing in 2018 looks like. 391 00:34:34,100 --> 00:34:37,860 There's a lot of mental models, even among hackers. 392 00:34:38,400 --> 00:34:43,160 People are really, really stuck on what they have on their desk. 393 00:34:43,160 --> 00:34:50,240 Let me tell you, I go ahead and I rent a machine for $13 that's got a terabyte of RAM. 394 00:34:50,240 --> 00:34:52,940 I solve problems differently than you do. 395 00:34:52,940 --> 00:34:56,880 Also means I have vulnerabilities different than you expect. 396 00:34:57,280 --> 00:35:00,780 So, that's the flip side. 397 00:35:00,780 --> 00:35:06,860 If you're just looking for bugs, look for things people think don't matter. 398 00:35:06,980 --> 00:35:23,700 Look for time, look for the flawed assumptions that developers have, that operations has, between how people think the system works and how it actually does. 399 00:35:25,160 --> 00:35:29,660 Bugs aren't random because their sources aren't random. 400 00:35:29,660 --> 00:35:37,520 The mismatch in assumptions starts in the developers thinking their system is working one way and it's really working another. 401 00:35:37,520 --> 00:35:45,940 And then, going on, it's what, as a hacker, hackers have to model. 402 00:35:45,940 --> 00:35:48,240 Hackers aren't just modeling code. 403 00:35:48,320 --> 00:35:49,520 These are not good ones. 404 00:35:49,520 --> 00:35:53,480 Hackers are modeling the developers and saying, what did that guy screw up? 405 00:35:53,480 --> 00:35:57,780 I tell you, I can't tell you how many... 406 00:35:57,780 --> 00:35:59,820 Okay, this is my own process. 407 00:35:59,820 --> 00:36:03,360 I used to run a hacking group out of Seattle. 408 00:36:03,440 --> 00:36:05,440 We spent a couple of years at Microsoft. 409 00:36:06,320 --> 00:36:11,300 Every time I would sit down with a team, I'd just be like, tell me your story. 410 00:36:11,300 --> 00:36:13,040 Tell me what you're worried about. 411 00:36:13,040 --> 00:36:16,700 Tell me how you think your system works. 412 00:36:17,020 --> 00:36:18,060 And you know what I'd do then? 413 00:36:18,060 --> 00:36:20,680 I'd shut up and listen. 414 00:36:20,820 --> 00:36:24,920 And listen for all the things they didn't talk about. 415 00:36:25,380 --> 00:36:28,860 Because that was always where my first bugs came from. 416 00:36:28,860 --> 00:36:31,160 It's like, oh, you didn't think of the auth layer? 417 00:36:31,160 --> 00:36:32,680 Oh, you didn't think of the storage layer? 418 00:36:32,680 --> 00:36:34,360 Oh, you didn't think of the directory layer? 419 00:36:34,360 --> 00:36:39,720 You just look for what you see in the code, and what the developer isn't thinking about. 420 00:36:39,720 --> 00:36:43,360 Like my favorite one of my audits, going off on a complete tangent. 421 00:36:43,580 --> 00:36:46,040 I'm like, reading through the docs. 422 00:36:46,260 --> 00:36:48,560 Like, what verb here? 423 00:36:48,560 --> 00:36:49,640 Repair. 424 00:36:49,700 --> 00:36:53,360 I'm like, hey Bob, what does repair do? 425 00:36:53,360 --> 00:36:55,400 Bob gets this look on his face. 426 00:36:55,500 --> 00:36:57,260 That's still in there? 427 00:36:57,780 --> 00:36:58,760 Yes. 428 00:36:58,760 --> 00:37:00,680 So many bugs. 429 00:37:04,420 --> 00:37:12,000 People think bug finding is purely a technical task. 430 00:37:12,000 --> 00:37:15,880 And it's not, because you're playing with people's assumptions. 431 00:37:15,900 --> 00:37:24,680 It's so much more, or at least there is such a strong angle of understand the source, and you'll find the destination. 432 00:37:25,300 --> 00:37:33,680 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. 433 00:37:34,240 --> 00:37:38,520 There's no such thing as reverse engineering. 434 00:37:40,140 --> 00:37:42,200 This is only vaguely true. 435 00:37:42,360 --> 00:37:44,540 It's kind of a cute little combination. 436 00:37:44,880 --> 00:37:46,280 Let me tell you what I mean. 437 00:37:47,520 --> 00:37:52,140 You know how people are like, oh, you know, our team, we only make the car drive left. 438 00:37:52,140 --> 00:37:53,100 Right? 439 00:37:53,100 --> 00:37:55,040 That's some other guys. 440 00:37:55,180 --> 00:37:57,160 It's just my job to get my plane in the air. 441 00:37:57,160 --> 00:37:58,960 Who cares if it lands? 442 00:37:59,980 --> 00:38:02,480 It's not that there aren't different teams. 443 00:38:02,840 --> 00:38:05,860 There could be a different team that handles takeoff and landing. 444 00:38:06,000 --> 00:38:10,300 It's just that if you don't care if your work affects the other guys, you're going to crash. 445 00:38:11,720 --> 00:38:14,880 So my thesis is there's no reverse engineering. 446 00:38:15,020 --> 00:38:16,680 There's no forward engineering. 447 00:38:17,280 --> 00:38:20,300 There's just engineering, okay? 448 00:38:20,300 --> 00:38:28,440 But we do have cultural elements in engineering that block the integration of forward and reverse. 449 00:38:28,440 --> 00:38:38,200 And the primary thing that we seem to do wrong is I think we have aggressively separated development and testing. 450 00:38:38,240 --> 00:38:39,700 And it's biting us. 451 00:38:39,700 --> 00:38:41,860 It's biting us really hard. 452 00:38:42,620 --> 00:38:45,940 Hackers like, you know, I was the director of hacking. 453 00:38:45,940 --> 00:38:48,300 I was the director of penetration testing. 454 00:38:48,300 --> 00:38:51,600 Hackers like, you know, penetration sounds cool. 455 00:38:51,840 --> 00:38:57,760 But no, testing is the important part of that phrase. 456 00:38:57,760 --> 00:39:03,980 We are a specific branch of testers that, I don't know, gets on cooler stages or something. 457 00:39:04,600 --> 00:39:09,500 Testing shouldn't be split off, but it kind of has been. 458 00:39:09,500 --> 00:39:17,580 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. 459 00:39:17,580 --> 00:39:24,740 And as a tester, you're trying to see it for what it really is because you're doing some things. 460 00:39:26,420 --> 00:39:39,340 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. 461 00:39:39,340 --> 00:39:54,920 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. 462 00:39:55,160 --> 00:39:59,240 So it creates this enormous bias in developer knowledge. 463 00:39:59,240 --> 00:40:02,880 Anything that's too testy goes to the test people. 464 00:40:03,340 --> 00:40:05,520 They'll figure it out for us. 465 00:40:05,520 --> 00:40:10,500 And what it does, it ends up biasing the generation of a lot of code. 466 00:40:11,640 --> 00:40:16,340 And let me actually show you in concrete terms what I mean by this. 467 00:40:17,820 --> 00:40:23,720 So, Fortran, ancient language, pretty fast, lets you do a lot of interesting math. 468 00:40:23,720 --> 00:40:28,200 Python, convenient language, not so fast, but fast enough, useful. 469 00:40:29,420 --> 00:40:34,280 And last step, did anyone here ever use a package called Numba? 470 00:40:36,120 --> 00:40:39,420 See, we can't just stick to hacking, okay? 471 00:40:39,420 --> 00:40:44,020 Like, there are some tools out there that do some freaking magic. 472 00:40:45,300 --> 00:40:55,640 Numba is, as far as I know, the first practical environment for taking what is, you know, Python has a nickname, executable pseudocode. 473 00:40:55,640 --> 00:41:02,680 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. 474 00:41:02,680 --> 00:41:04,300 I am not even joking. 475 00:41:04,300 --> 00:41:08,500 It is a LLVM CPU-GPU optimizing platform. 476 00:41:09,660 --> 00:41:13,980 It is an optimizer, which means it works like most optimizers do. 477 00:41:13,980 --> 00:41:28,460 It constrains what it thinks can come in, and given those constraints, throws out a bunch of optional work at runtime, and ends up delivering very fast execution. 478 00:41:31,000 --> 00:41:36,460 It's important you think about all of the, what I just said in the context of hacking. 479 00:41:36,820 --> 00:41:42,180 What happens when you define your constraints incorrectly? 480 00:41:42,180 --> 00:41:44,340 There's a simple answer, vulnerabilities. 481 00:41:44,720 --> 00:41:46,640 Stuff blows up. 482 00:41:46,640 --> 00:41:50,200 At best, you get the wrong answer. 483 00:41:50,200 --> 00:41:58,440 Most commonly, you get undefined behavior, which in the presence of hacking, becomes redefinable behavior. 484 00:42:00,100 --> 00:42:06,300 The problem that even Numba has to deal with is that Python is a dynamically typed language. 485 00:42:06,300 --> 00:42:10,720 When you have a variable, you don't really know what's going to be in there. 486 00:42:10,720 --> 00:42:24,680 So there is some dependency on the developer telling you, 2 to the 63, or 2 to the 64, and so on. 487 00:42:24,680 --> 00:42:31,760 Now there is some developer pain to go ahead and declare up front what data types are going to be in what place. 488 00:42:31,760 --> 00:42:35,880 The whole reason they used Python was they didn't have to declare that. 489 00:42:35,880 --> 00:42:39,320 They could just say, there will be something there, figure it out at runtime. 490 00:42:41,040 --> 00:42:44,480 Well, a really cute code came out recently. 491 00:42:45,700 --> 00:42:48,060 Dropbox wrote something called PyAnnotate. 492 00:42:48,060 --> 00:42:51,700 And what PyAnnotate does is it looks at... 493 00:42:51,700 --> 00:42:55,000 So you write your code, you write it your normal way as a developer. 494 00:42:55,520 --> 00:43:00,500 And you run through the test kit, or you run through production data. 495 00:43:01,400 --> 00:43:03,920 And it looks to see what's going through. 496 00:43:03,920 --> 00:43:09,400 And it says, ah, this was dynamic, but man, all we get in production is a bunch of floats. 497 00:43:09,400 --> 00:43:11,640 This is probably a float type. 498 00:43:11,880 --> 00:43:14,000 And here's what's key. 499 00:43:14,140 --> 00:43:17,480 It goes ahead and it updates the code. 500 00:43:17,480 --> 00:43:21,780 There's actually optional typing information in Python now. 501 00:43:21,780 --> 00:43:24,300 That is one of their dev extensions. 502 00:43:24,660 --> 00:43:27,560 This is the thing that you don't do. 503 00:43:27,560 --> 00:43:31,600 You never have runtime, alter compile time. 504 00:43:31,600 --> 00:43:35,500 Only the developer is allowed to actually touch the code. 505 00:43:36,020 --> 00:43:41,280 That is an unnecessary constraint. 506 00:43:42,340 --> 00:43:47,460 Now, this work has only come up for correctness. 507 00:43:47,460 --> 00:43:49,760 It hasn't come up as a means of accelerating number. 508 00:43:50,300 --> 00:43:58,900 I'm just getting in front of you guys here saying, oh man, we can make a bunch of code real fast by using PyAnnotate for performance instead of just security. 509 00:44:00,740 --> 00:44:05,900 Even the authors of this code consider it appropriate only for legacy. 510 00:44:05,900 --> 00:44:09,700 They're like, oh yeah, but the developer should do the right thing. 511 00:44:09,960 --> 00:44:11,700 Okay, yeah, it's not vitamins. 512 00:44:11,900 --> 00:44:15,020 It's not eating your Wheaties or eating your cereal. 513 00:44:15,020 --> 00:44:19,400 There's a job to do, which is to secure millions of lines of code. 514 00:44:19,400 --> 00:44:20,900 Let's figure out what we've got to do. 515 00:44:20,900 --> 00:44:27,880 And if we can discover stuff at runtime about what needs to be done to keep things secure, yes, do that. 516 00:44:28,900 --> 00:44:32,840 Why shouldn't runtime influence code? 517 00:44:33,560 --> 00:44:36,700 The approach does seem weird by standard models. 518 00:44:36,700 --> 00:44:40,580 It's a little similar to what's called profile-guided optimization. 519 00:44:40,780 --> 00:44:44,920 It's where you run a bunch of test code and you spy on what happens. 520 00:44:44,920 --> 00:44:50,860 But a lot of profile-guided optimization only lives in the compiler. 521 00:44:50,860 --> 00:44:53,740 It doesn't actually touch the source code. 522 00:44:53,740 --> 00:44:57,200 What I'm telling you is, no, we should actually update the source. 523 00:44:57,500 --> 00:45:08,800 Partially because the developer sometimes needs to say, no, it's just all floats today, sometimes they're big floats, sometimes they're integers, sometimes they're this, sometimes they're that. 524 00:45:08,800 --> 00:45:10,960 Developers don't know nothing. 525 00:45:11,540 --> 00:45:21,040 It is a little bit of pair programming with the machine, but if anyone here has ever coded for Android and you hit that tab key a lot, it's not like that's that new. 526 00:45:23,900 --> 00:45:33,860 It's important to realize that we are loosening the assumption that the developer knows what the system is supposed to do. 527 00:45:33,860 --> 00:45:36,980 See, we think we're the only ones as hackers that are ignorant. 528 00:45:36,980 --> 00:45:41,560 But the truth is, everyone who touches the computer is a little bit ignorant. 529 00:45:42,200 --> 00:45:47,880 Developer tools are weird, though, because they are the things that assume the developer is right. 530 00:45:47,880 --> 00:45:50,560 Because that's what you do in optimization. 531 00:45:50,620 --> 00:46:05,580 In optimization, you assume, okay, they have told me exactly what I need, I can throw out every handler, I can throw out every other possible path, let me just do the thing that my ground source of correctness and truth and loveliness, the developer has said. 532 00:46:05,580 --> 00:46:09,680 And any day, hacker tools don't do that. 533 00:46:09,680 --> 00:46:14,580 Hacker tools are all like, let's figure out how the hacker screwed things up, how the developer screwed things up. 534 00:46:14,660 --> 00:46:16,120 Because sometimes it works. 535 00:46:17,680 --> 00:46:20,680 All of our tools are incomplete. 536 00:46:20,680 --> 00:46:24,180 All of our tools are blind. 537 00:46:25,060 --> 00:46:33,360 The one concrete difference between reverse engineering and normal engineering is do you have the source code? 538 00:46:35,000 --> 00:46:43,360 I know this one guy, he's going to laugh when he finally sees these slides, he doesn't even bother with source if it's a C++ code on it. 539 00:46:43,360 --> 00:46:48,000 He's like, man, C++ lies to your face. 540 00:46:48,000 --> 00:46:48,880 Forget it. 541 00:46:48,880 --> 00:46:50,700 What is the computer executing? 542 00:46:50,700 --> 00:46:51,420 Binary. 543 00:46:51,420 --> 00:46:52,540 What am I going to read? 544 00:46:52,600 --> 00:46:53,560 Binary. 545 00:46:53,580 --> 00:46:59,340 That way, whatever I happen to get out of it, at least me and the CPU are on the same page. 546 00:46:59,340 --> 00:47:02,620 Forget what the developer thought, he doesn't know what's happening anyway. 547 00:47:02,620 --> 00:47:05,440 You know what, that guy wrecks code. 548 00:47:05,600 --> 00:47:07,480 He really quite does. 549 00:47:08,640 --> 00:47:30,180 So, one of the directions that I'm moving in, in building tooling that really unifies the building and breaking mindset, I'm a little tired, if I'm using an open source platform, why can't I see the source every time something crashes? 550 00:47:30,180 --> 00:47:36,420 I mean, yes, I can compile my particular app, but you know, it's got a library, and then, oops, it didn't have the source. 551 00:47:36,420 --> 00:47:39,800 Or it's calling into glibc, and oops, it didn't have the source. 552 00:47:39,800 --> 00:47:42,580 Or it's calling into the kernel, and oops, that didn't have the source. 553 00:47:42,580 --> 00:47:43,980 This is ridiculous. 554 00:47:44,220 --> 00:47:51,800 Like, yes, I understand the tools did not want to take a hard dependency on source being available. 555 00:47:51,800 --> 00:48:00,500 I once went into a SSD manufacturing plant, and I'm like, I want to audit your SSD from top to bottom. 556 00:48:00,500 --> 00:48:14,840 And they just looked at me with these sad eyes, and I think they basically finally got out, there probably is not a company in the world that has all the source code required to make a solid state disk. 557 00:48:15,060 --> 00:48:23,960 Each of them passes a binary blob onto the next, so that they won't be factored out of the manufacturing equation. 558 00:48:23,960 --> 00:48:35,620 We have a little bit of that going on in software, but it's unnecessary, because in software we have environments like Gen 2, where you can say, I need you to compile everything. 559 00:48:35,640 --> 00:48:39,940 And I need you to put all the source code right there. 560 00:48:40,000 --> 00:48:45,480 So I've been playing with, what's it like having source code access to absolutely everything in a system? 561 00:48:45,480 --> 00:48:47,360 Oh my god, it's awesome. 562 00:48:48,200 --> 00:48:51,440 Like, error messages are terrible. 563 00:48:53,660 --> 00:48:56,400 Developers pretend they know what they're telling me. 564 00:48:56,400 --> 00:49:00,200 Oh , it's because you forgot to set this flag on this thing. 565 00:49:00,980 --> 00:49:02,840 They're making random noises. 566 00:49:02,840 --> 00:49:05,400 Show me the source code that's crashing. 567 00:49:05,400 --> 00:49:14,980 And so this is the middle of SSH, and this is the middle of TLIPC, and I just have a nice, consistent, if it blows up, I get to see why. 568 00:49:15,300 --> 00:49:16,940 It's lovely. 569 00:49:16,940 --> 00:49:20,460 It's lovely for hacking, it's lovely for development, to be honest. 570 00:49:20,460 --> 00:49:23,180 And I mean, in this scale, it's whatever's on that machine. 571 00:49:23,180 --> 00:49:31,460 So it's running on SSH, a little tiny thing, it's running on Chromium, frankly, an operating system larger than Gen 2 in the first place. 572 00:49:32,640 --> 00:49:38,980 So I like to joke, ADB is old and busted, APD is the new hotness, always be debugging. 573 00:49:40,260 --> 00:49:41,660 It's a legitimate question. 574 00:49:41,660 --> 00:49:48,820 If you're always running a debugger, sometimes that code is running in the kernel, sometimes that code requires permissions to look at. 575 00:49:48,820 --> 00:49:51,280 You know, are you going to be typing sudo all the time? 576 00:49:51,280 --> 00:49:52,800 Like, are you going to be getting root? 577 00:49:55,380 --> 00:49:56,260 Okay. 578 00:49:56,800 --> 00:50:02,500 You ever get the feeling it's easier to be root on someone else's machine? 579 00:50:02,500 --> 00:50:11,280 Because, like, you have root for, like, a year somewhere else, but you are typing sudo, you're getting root, like, one line at a time. 580 00:50:11,280 --> 00:50:13,960 Like, I need to do something as an administrator. 581 00:50:13,960 --> 00:50:16,160 I need to do something as an administrator again. 582 00:50:16,160 --> 00:50:19,000 No, I'm still doing something as an administrator. 583 00:50:19,000 --> 00:50:33,340 It's an awful user interface when your work as a hacker involves constantly having to do things that alter the machine state and therefore constantly require root permissions. 584 00:50:33,500 --> 00:50:38,380 And by the way, you get such a wide variety of broken software behaviors. 585 00:50:38,380 --> 00:50:39,680 So, like, here's Wireshark. 586 00:50:39,680 --> 00:50:44,400 If you run it as a user, you know, it doesn't give you any prompt, it just runs. 587 00:50:44,400 --> 00:50:48,560 You can, you know, you can, like, listen remotely to, like, a Cisco remote pack capture. 588 00:50:49,160 --> 00:50:55,320 But with Wireshark, I want to listen to packets on interfaces on my machine. 589 00:50:55,320 --> 00:50:59,300 That's why I'm running the network snipper. 590 00:50:59,620 --> 00:51:02,120 Where's my local interfaces? 591 00:51:02,140 --> 00:51:03,800 Oh, well, then you need to run as root. 592 00:51:03,940 --> 00:51:09,120 But if you do that, you get a big, scary message that says, I'm not going to let you run code in Lua. 593 00:51:09,120 --> 00:51:10,800 It's okay, I hate Lua. 594 00:51:12,220 --> 00:51:14,620 It's not true, I actually think Lua is okay. 595 00:51:14,780 --> 00:51:17,100 You can embed it, therefore it's interesting. 596 00:51:17,280 --> 00:51:30,280 But, like, this is this really common thing where we have a security model that assumes that I've got, like, 20 people on my machine and I'm the only one who should be able to be root controlling them. 597 00:51:30,280 --> 00:51:35,640 Let me tell you, if I've got 20 people on my machine, I've got 20 people with root on my machine. 598 00:51:35,920 --> 00:51:37,200 I'm in trouble. 599 00:51:39,380 --> 00:51:42,300 So, Linux knows this is a problem. 600 00:51:42,300 --> 00:51:43,620 They kind of hide and fix. 601 00:51:43,620 --> 00:51:47,700 You have to, like, declare that it's an embedded machine because they don't want you to know it's there. 602 00:51:47,700 --> 00:51:54,000 And then you go into this, like, advanced mode and up, up, down, down, left, right, left, right, B, A, B, A, select, start. 603 00:51:54,080 --> 00:51:59,440 And, like, you end up with this checkbox that has multiple user groups and capability support. 604 00:51:59,800 --> 00:52:00,600 You know what that means? 605 00:52:00,600 --> 00:52:04,080 You uncheck that and all, like, the user root stuff goes away. 606 00:52:04,140 --> 00:52:09,100 You would think it's lovely, but man, all this code complains. 607 00:52:09,360 --> 00:52:11,480 So this, this is my solution. 608 00:52:11,480 --> 00:52:13,620 This is going to be sudo 2.0. 609 00:52:13,820 --> 00:52:15,620 I'm going to have, like, a key. 610 00:52:15,620 --> 00:52:16,520 I'm going to have a button. 611 00:52:16,520 --> 00:52:18,680 I'm going to have, like, three rocker switches. 612 00:52:18,840 --> 00:52:20,700 And then you know what I'm going to have? 613 00:52:20,700 --> 00:52:28,420 I'm going to have root now, and then, like, in my next prompt and in my next terminal window until I happen to, like, shut it down. 614 00:52:28,420 --> 00:52:29,980 And don't say it's less secure. 615 00:52:30,180 --> 00:52:33,400 This is way more work than typing sudo. 616 00:52:33,960 --> 00:52:36,860 Now, yes, I'm being silly. 617 00:52:37,020 --> 00:52:41,640 But so is this security model, and so is all this stuff we're doing with sudo. 618 00:52:41,640 --> 00:52:43,800 This is not reflecting reality. 619 00:52:44,640 --> 00:52:47,200 There is an implementation quirk. 620 00:52:47,780 --> 00:52:53,740 You can't just make all actions happen as root because software will complain like Wireshark complained. 621 00:52:54,040 --> 00:52:59,820 You have to do something weird and then bring it up without the code done because basically I'm recruiting. 622 00:52:59,820 --> 00:53:02,560 It's something I'm going to work on in the Blue Team Village after this. 623 00:53:02,560 --> 00:53:04,000 Come by and hang out. 624 00:53:06,380 --> 00:53:15,520 Effectively, what you need to do is allow action to happen as a non-root user, but mysteriously, all the permissions checks go through. 625 00:53:15,780 --> 00:53:17,040 It's okay, it's secure. 626 00:53:17,040 --> 00:53:20,060 Those rocker switches with the flips, there's an LED at the end. 627 00:53:20,060 --> 00:53:21,640 The LED makes it secure. 628 00:53:23,300 --> 00:53:27,700 Having kind of a faking root environment seems weird, but guess what? 629 00:53:27,700 --> 00:53:30,080 It's what we're doing with virtual machines. 630 00:53:30,080 --> 00:53:31,840 It's what we're doing with containers. 631 00:53:31,840 --> 00:53:34,360 Do you know why Docker is so popular? 632 00:53:34,360 --> 00:53:37,860 Because the app you get installed freaking works again. 633 00:53:38,840 --> 00:53:43,660 Katlin Linux, the first time you get an operating system that's totally designed by hackers, we're like, oh, screw that. 634 00:53:43,660 --> 00:53:44,980 That thing's a mess. 635 00:53:45,200 --> 00:53:47,300 Like, this is what's going on. 636 00:53:48,480 --> 00:53:49,840 Jupyter is probably... 637 00:53:50,500 --> 00:53:52,180 I don't know if you guys have ever used Jupyter. 638 00:53:52,180 --> 00:53:55,080 It is now how I tell people to start learning how to use code. 639 00:53:55,080 --> 00:53:58,700 It is a web-based interface for Python and data science. 640 00:53:58,700 --> 00:53:59,620 It is lovely. 641 00:53:59,620 --> 00:54:07,560 It's all the gunk of go ahead and start playing with code and turn it into logo from back in the day. 642 00:54:07,560 --> 00:54:08,940 It's great. 643 00:54:09,480 --> 00:54:15,760 But there's no way inside of Jupyter to add a package because that would require root. 644 00:54:15,760 --> 00:54:22,000 So you've got the most usable environment and it's missing actually some key functionality. 645 00:54:22,000 --> 00:54:22,920 And it's because of us. 646 00:54:22,920 --> 00:54:24,840 It's our fault. 647 00:54:25,000 --> 00:54:28,160 We need to stop breaking the rest of computing. 648 00:54:28,160 --> 00:54:33,200 Now there is a reason why things are this way. 649 00:54:33,220 --> 00:54:38,520 You know, you can't just say, like, why are people so stupid? 650 00:54:38,520 --> 00:54:40,580 Well, usually there's a reason. 651 00:54:40,960 --> 00:54:50,440 Usually when you give people who are just learning computing root access, the first thing they do is totally destroy their computer. 652 00:54:50,700 --> 00:54:52,180 This is true. 653 00:54:52,220 --> 00:54:56,660 And so we've evolved this model that will give you just a little bit of functionality. 654 00:54:56,660 --> 00:54:58,640 And we'll kind of have, like, a talent bar. 655 00:54:58,680 --> 00:55:03,440 You have to get this good before you get, like, real access to the system. 656 00:55:03,760 --> 00:55:10,620 It's not a security model as much as it is we don't want to get called in the middle of the night because the user's broke something again. 657 00:55:12,280 --> 00:55:19,440 Yes, you can do that and have a talent bar for users or you can make it just really easy to fix stuff. 658 00:55:19,740 --> 00:55:21,380 Check out this little stunt. 659 00:55:21,380 --> 00:55:24,760 So, I've been working on something called Inception. 660 00:55:25,280 --> 00:55:26,680 Forging the universe. 661 00:55:26,920 --> 00:55:38,440 I wanted to see, is it possible to take a fully configured, fully running machine that maybe a user doesn't want to break but does want to try something on and fork a copy? 662 00:55:38,440 --> 00:55:42,140 With the existing configuration, with everything in place. 663 00:55:42,140 --> 00:55:47,440 Now, I would love to do it with the present, you know, the exact moment of the flip. 664 00:55:47,440 --> 00:55:53,940 But here's how I got it working, just booting into the system that has already been configured. 665 00:55:54,260 --> 00:55:57,520 So here we are, we've got a stock little Ubuntu box. 666 00:55:57,520 --> 00:55:59,020 Couldn't really have live demos here. 667 00:55:59,020 --> 00:56:00,760 It's okay, there's no time for them anyway. 668 00:56:02,100 --> 00:56:04,540 I promised that I was going to show some code. 669 00:56:04,540 --> 00:56:07,320 Here's why you don't show code in the middle of a talk. 670 00:56:08,020 --> 00:56:10,260 But let me tell you what's happening here. 671 00:56:10,460 --> 00:56:16,720 There's a super obscure, elementary kernel module called DattoBD. 672 00:56:16,720 --> 00:56:18,740 It's the Datto block device. 673 00:56:18,840 --> 00:56:25,640 There are other ways to do this using the DMMapper functionality in Linux, but I'm using Datto because it's cool. 674 00:56:26,400 --> 00:56:30,020 Datto lets you basically say, I need to make a backup. 675 00:56:30,980 --> 00:56:35,040 And you know, when you backup a hard drive, it needs to be like a point in time. 676 00:56:35,040 --> 00:56:40,780 You can't have like, this file was what it was at the beginning of the backup, and this file was what it was at the end of the backup. 677 00:56:40,780 --> 00:56:42,660 Your system will not boot. 678 00:56:42,660 --> 00:56:44,800 You need to be able to take a snapshot. 679 00:56:44,800 --> 00:56:56,840 Datto is interesting because it allows you to snapshot a disk and not have some other disk required to store content as well, to store the changes. 680 00:56:56,840 --> 00:56:58,920 It's just a more stable variant. 681 00:56:59,220 --> 00:57:04,700 What we do in here is we take a snapshot of the running disk, and it's a read-only snapshot. 682 00:57:04,700 --> 00:57:06,080 You're not able to write to it. 683 00:57:06,080 --> 00:57:08,060 But virtual machines don't care. 684 00:57:08,060 --> 00:57:10,240 They can totally be like, read-only, that's fine. 685 00:57:10,240 --> 00:57:16,460 I'll get my reads from over here, I'll put any writes over there, so it's called a copy-on-write approach. 686 00:57:16,760 --> 00:57:28,960 So, I get myself a read-only copy of the disk, I make snapshots of my EFI partition, in this new thing, UEFI, it's a disaster. 687 00:57:29,700 --> 00:57:30,740 Terrible. 688 00:57:31,240 --> 00:57:39,320 We make a copy-on-write copy of the Datto environment, and then we boot a VM. 689 00:57:39,640 --> 00:57:41,080 And you know what happens? 690 00:57:41,080 --> 00:57:44,660 You just get that system. 691 00:57:44,660 --> 00:57:46,500 That exact system. 692 00:57:46,980 --> 00:57:49,460 And you're even rooted in it. 693 00:57:49,460 --> 00:57:55,320 You get to test whatever you want, you get to explore whatever you want, you can't break anything. 694 00:57:55,320 --> 00:57:57,240 It's lovely. 695 00:57:57,600 --> 00:57:58,400 It's rooted. 696 00:57:58,640 --> 00:58:00,240 Nothing bad can happen. 697 00:58:02,380 --> 00:58:13,920 Remember earlier I told you, you can context switch, or you can just have other computers. 698 00:58:14,020 --> 00:58:19,140 All this is about persistence, all this is about managing how much damage can happen where. 699 00:58:19,240 --> 00:58:23,360 I want to leave you guys on kind of a down note. 700 00:58:24,700 --> 00:58:26,940 I have a hard question. 701 00:58:27,580 --> 00:58:31,140 Why are we vulnerable to ransomware? 702 00:58:31,140 --> 00:58:32,700 Why is it a problem? 703 00:58:32,800 --> 00:58:39,440 Like, why is it possible for all of our data to be deleted all at once? 704 00:58:39,440 --> 00:58:43,440 Why is it possible for anyone even maliciously to wreck everything? 705 00:58:43,440 --> 00:58:46,340 Like, who is this a feature for? 706 00:58:46,340 --> 00:58:48,320 You might say, oh, you're going to run out of storage. 707 00:58:48,320 --> 00:58:48,920 Really? 708 00:58:48,920 --> 00:58:52,360 Like an 8 terabyte hard drive is like 50 US dollars. 709 00:58:52,360 --> 00:58:57,040 Like, your entire companies are not generating data fast enough. 710 00:58:57,040 --> 00:59:06,640 They could log every single bit 100 times over without exaggeration, and not spend nearly as much money as a single ransomware cleanup. 711 00:59:07,100 --> 00:59:14,100 What's going on is we have all of this leakage of capability to lose data. 712 00:59:14,100 --> 00:59:17,900 We have too many people able to break stuff. 713 00:59:18,440 --> 00:59:28,520 And as we look at the underlying capabilities of computers, realize we're not just as hackers able to break things. 714 00:59:28,520 --> 00:59:33,780 We're able to redefine them so they can't be broken in the first place. 715 00:59:33,780 --> 00:59:36,480 So let me leave you with some closing thoughts. 716 00:59:36,740 --> 00:59:40,720 We should not be separating development and testing. 717 00:59:40,720 --> 00:59:48,720 Guys, at the end of the day, computers are capable of magic, and we're just all trying to make the magic our magic, and not some bad guy's. 718 00:59:49,000 --> 00:59:57,440 Our hardest problems in security require a layment between how we build systems and how we verify them. 719 00:59:57,440 --> 01:00:08,500 And our best solutions in technology are going to require understanding the past, how we got here, how we really got here, even if it's from the 1890s. 720 01:00:08,660 --> 01:00:17,600 We're going to have to understand what is a unnecessary presumption, and what, oh no, we really shouldn't touch because we could screw this up. 721 01:00:18,960 --> 01:00:26,960 All that matters is how we protect users, and I look forward to seeing how everyone here makes the world better. 722 01:00:26,960 --> 01:00:27,620 Thank you.