1 00:00:00,000 --> 00:00:06,120 The leash I have today is only, actually I go all the way off the edge of the stage, so it's enough rope to hang myself, that's good. 2 00:00:07,400 --> 00:00:12,140 Alright, I think we're going to go ahead and try to get started, modulo two hours, but I think we're ready to go. 3 00:00:13,820 --> 00:00:21,320 Let's see, lots of ground rules. I'm Bruce Potter, I'll have an intro slide later, it's obligatory, you have to do it so people know who the random guy on the stage is. 4 00:00:21,820 --> 00:00:27,000 I gave this talk at Black Hat, basically the same talk a couple days ago, so if anyone here was at Black Hat, 5 00:00:27,000 --> 00:00:32,900 I apologize now, and you can go see another talk, because this will largely be me just screaming and ranting like before, and not saying anything of value. 6 00:00:33,800 --> 00:00:40,340 The one thing that was, I think, kind of shocking to me is that this talk should have, well, it was received very well, and it shouldn't have been. 7 00:00:42,720 --> 00:00:50,980 I should have been lynched. Last year I gave a talk at DEF CON that was about why you should use Windows if you care about security, rather than using Linux. 8 00:00:52,500 --> 00:00:56,380 And I lived, so this year I've tackled something. 9 00:00:57,000 --> 00:01:02,480 I hope to be equally as confrontational, and prove that I can indeed at least drink the crappy beer and live to tell about it. 10 00:01:02,580 --> 00:01:10,960 So, I was going to dress up as church lady, but when I started to pass that idea around to people, and say, could it be Satan? 11 00:01:11,180 --> 00:01:21,160 And people didn't know who the church lady was, they thought I was a little crazy, so Dana Carvey, and, you know, church lady, I mean, I assume most of you hands that know who the church, 12 00:01:21,260 --> 00:01:25,140 all right, so clearly I should have dressed up as church lady, but it's your loss, so I apologize. 13 00:01:27,000 --> 00:01:29,900 Well, on the other hand, maybe you'll see me dressed up like church lady on Saturday. 14 00:01:31,260 --> 00:01:33,060 Other odds and ends, not really. 15 00:01:34,760 --> 00:01:38,240 First off, don't believe anything I'm about to tell you, it's my obligatory slide. 16 00:01:39,320 --> 00:01:41,860 For those that know, where did I get this quote from? 17 00:01:43,540 --> 00:01:46,740 Liquor store, I heard it, someone said liquor store, wow, someone's actually seen this before. 18 00:01:47,380 --> 00:01:54,360 I was at a liquor store, buying some $5 whiskey, and there was Buddha staring at me, rubbed his belly, and he told me this. 19 00:01:55,460 --> 00:01:56,540 You know, it's interesting. 20 00:01:57,000 --> 00:02:04,900 I used to come to DEFCON and black hat and conferences like that, and listen to people talk, and they would say the most random crap that wasn't technologically sound, 21 00:02:05,020 --> 00:02:11,900 that wasn't based in reality, and I think it was largely due to the fact that we don't have a lot of discipline in what we do in this particular community. 22 00:02:12,140 --> 00:02:14,420 We kind of shoot from the hip and say, hey, look at the cool stuff we can do. 23 00:02:14,980 --> 00:02:21,460 Note, I didn't say shit, I'm trying to avoid swearing, because some GCN reporter actually quoted me saying, god damn it, at my black hat talk the other day, 24 00:02:21,520 --> 00:02:23,540 in the same sentence as my employer was used. 25 00:02:24,140 --> 00:02:24,500 So... 26 00:02:24,500 --> 00:02:25,200 . 27 00:02:26,000 --> 00:02:26,360 . 28 00:02:27,000 --> 00:02:28,540 There's no F-bombs at all. None. Zero. 29 00:02:29,840 --> 00:02:36,280 Anyway, so there used to be this problem with people kind of saying random stuff that wasn't necessarily true, we have a different problem now. 30 00:02:36,460 --> 00:02:40,480 We have a problem where the security community is very big. There's a lot of money in it, it turns out. 31 00:02:41,260 --> 00:02:43,480 There's a lot of money in offensive and defensive capabilities. 32 00:02:44,600 --> 00:02:47,500 We used to have this dialogue about full disclosure, right? 33 00:02:47,720 --> 00:02:55,320 And it was this huge naval contemplation of, do you tell the vendor now, or do you inform the users first, or do you tell everybody at once, or what do you do? 34 00:02:55,320 --> 00:02:59,540 and Microsoft and at stake and all these people got together and formed this thing called the 35 00:02:59,540 --> 00:03:04,380 organization for internet safety they drafted this thing that was a counterpoint to the RF policy 36 00:03:04,380 --> 00:03:09,120 about full disclosure and everyone debated this like it was profound and interesting and whatever 37 00:03:09,120 --> 00:03:14,880 a couple years later turns out that is the wrong argument to have because now we're all selling 38 00:03:14,880 --> 00:03:20,120 our exploits we're selling them to companies no nothing against uh 3com and and the other 39 00:03:20,120 --> 00:03:23,320 companies are out there that are buying the exploits but we have a different debate on our 40 00:03:23,320 --> 00:03:27,400 hands you know we're not exercising full disclosure in the same way that we used to 41 00:03:28,360 --> 00:03:31,700 and that really can change the motivation of the people that you see up here on stage 42 00:03:31,700 --> 00:03:36,360 I have my motivations I'm biased clearly I'm giving a talk pro-trusting computing at DEF CON 43 00:03:36,360 --> 00:03:42,820 I clearly have a bias and potentially a chemical imbalance but we really have to pay attention 44 00:03:42,820 --> 00:03:47,800 who's on stage and why are they telling me this you know why are they ranting about these things 45 00:03:47,800 --> 00:03:52,660 and and you got to ask yourself when you see all these talks what's that person trying to what's 46 00:03:52,660 --> 00:03:53,100 he trying to do 47 00:03:53,320 --> 00:03:58,440 what's he trying to get accomplished so I encourage you use your brain be cynical right we're cynical 48 00:03:58,440 --> 00:04:03,840 about code we're cynical about firewall rule sets we're cynical about routing protocols but when it 49 00:04:03,840 --> 00:04:08,720 comes to idiots on stage we believe them like mice so just think about it throw crap at me 50 00:04:08,720 --> 00:04:13,080 disagree I encourage you to be as confrontational as possible within reason simple's up here to 51 00:04:13,080 --> 00:04:18,700 defend me if it gets too thank you thank you there I'll move along um actually real quick 52 00:04:18,700 --> 00:04:22,960 anyone know what a volvo 1800 is all right I have a 53 00:04:23,320 --> 00:04:53,300 a volvo 1872 volvo 1800 on blocks it's in my garage though it's not my yard so it's not quite as redneck got a big hole on the floorboard and it's the swedish car I was restoring so anyway two things to accomplish today and what's becoming a shorter amount of time one I'm going to make the case of trusted computing hopefully or at least I'll try to make the case of why there's good in this whole world of evil that people seem to see on it I'll also demonstrate TPM running on this macbook pro right here and we'll release some code and it'll be all wonderful so I'll just say thank you for watching and I'll see you next time. 54 00:04:53,320 --> 00:05:23,240 um sprinkling some good arguments some beer etc here's my anecdotal history of what we've accomplished in the last 40 years of infosec it's not complicated okay we've been solving problems and we've been doing a reasonable job at it but the problem keeps getting more complicated how many people in here review code for a living handful of people got a few people review code is it easy is it easy to find bugs yeah it's easy to find bugs okay it's a this is not my 55 00:05:23,320 --> 00:05:33,900 cell phone that is ringing hello no this is not Richard actually this is 56 00:05:33,900 --> 00:05:35,860 Richard's cell phone hold on one second 57 00:05:43,140 --> 00:05:52,120 and there you go I thought I was going to take the red pill and anyway so the 58 00:05:52,120 --> 00:05:57,680 problem keeps getting more complex um you know reviewing code is hard reviewing 59 00:05:57,680 --> 00:06:01,860 code in an embedded system that we could have divide design 15 years ago is a hard 60 00:06:01,860 --> 00:06:05,940 problem reviewing code in an enterprise service oriented architecture is 61 00:06:05,940 --> 00:06:10,900 currently an impossible problem okay we can't write secured device drivers as 62 00:06:10,900 --> 00:06:16,760 was demonstrated by who was Johnny Cash and David Maynor or Black Hat we but you 63 00:06:16,760 --> 00:06:19,900 know let alone at an enterprise level understand what security looks like in 64 00:06:19,900 --> 00:06:22,100 these massively complex systems okay and the problem keeps getting more complex 65 00:06:22,120 --> 00:06:26,320 okay but yet that's the buzzword go buy computer world or go buy some current contemporary 66 00:06:26,320 --> 00:06:29,600 magazine and this is what we're talking about we're talking about solving big enterprise 67 00:06:29,600 --> 00:06:33,940 security problems and we don't have our hands of the stuff that's 15 years old so you know 68 00:06:33,940 --> 00:06:38,780 we have a sustainable profitable industry where we're chasing an impossible dream this 69 00:06:38,780 --> 00:06:43,060 is fantastic you know that means we'll all get paid very well now while that's all well 70 00:06:43,060 --> 00:06:46,700 and good it's not actually making anything you know better that line you know these lines 71 00:06:46,700 --> 00:06:51,960 should at some point intersect or at least get closer but they're not really this is this is founded in 72 00:06:51,960 --> 00:06:55,680 data I have thousands of data points to back up these two lines if you want to see it later so 73 00:06:59,780 --> 00:07:06,840 in infosec trends defense in depth so the core problem is currently unsolvable okay we can't 74 00:07:06,840 --> 00:07:12,960 build provably secure systems oh there's a dirty word provably secure systems so let's throw a bunch 75 00:07:12,960 --> 00:07:19,200 of band-aids on it right let's go ahead and we'll slap on firewalls and IDS's and IPS's and execution 76 00:07:19,200 --> 00:07:21,940 control mechanisms and all kinds of stuff and hope that we all get to the point where we're able to 77 00:07:21,960 --> 00:07:22,160 build our systems back to the point where we're able to build our systems back to the point where we're able to 78 00:07:22,160 --> 00:07:26,540 stay in front of the wily hacker because the wily hacker apparently is an idiot and doesn't learn 79 00:07:27,000 --> 00:07:31,960 right wrong okay so you know with phrases like defense and death we sound like we're being 80 00:07:31,960 --> 00:07:36,000 responsible no sure it's the best practice is what we got going today this is the best idea we 81 00:07:36,000 --> 00:07:39,280 got but we need to think about how are we going to solve these core problems that we're facing 82 00:07:39,280 --> 00:07:46,460 an infosec things like if you access the system directly you win okay physical access to a system 83 00:07:46,460 --> 00:07:51,680 with a backtrack boot disk wins the day period right there are very few situations where that 84 00:07:51,680 --> 00:07:51,940 doesn't work and this is a very important issue I think we need to, so how can we do this right now 85 00:07:51,960 --> 00:07:52,880 to get you everything you need. 86 00:07:53,460 --> 00:07:55,540 And even Hikari and crew have gone 87 00:07:55,540 --> 00:07:58,040 and malicious slayed devices plugged into things, 88 00:07:58,180 --> 00:07:58,900 auto-routing stuff. 89 00:07:59,620 --> 00:08:02,300 If you can touch the device, poof, there you go. 90 00:08:02,400 --> 00:08:03,240 What else is there? 91 00:08:03,580 --> 00:08:06,020 And then transactions are trusted at a network level. 92 00:08:06,460 --> 00:08:09,940 End-to-end device-to-device security only really exists 93 00:08:10,220 --> 00:08:13,700 in controlled and highly, well, controlled, 94 00:08:13,920 --> 00:08:15,480 I couldn't think of another word, I failed miserably, 95 00:08:15,720 --> 00:08:16,800 highly controlled environments. 96 00:08:17,200 --> 00:08:19,160 So this is the kind of situation today. 97 00:08:19,160 --> 00:08:21,700 You know, I'm being really cynical today, I apologize, 98 00:08:22,180 --> 00:08:24,400 but this is the third time I've talked about this 99 00:08:24,400 --> 00:08:25,820 in like a week, so I'm kind of down on it. 100 00:08:26,400 --> 00:08:27,200 How did we get here? 101 00:08:28,020 --> 00:08:29,380 It's a paper from 1971. 102 00:08:30,700 --> 00:08:32,400 Butler Lampson, he wrote a paper called Protection. 103 00:08:32,560 --> 00:08:34,000 He actually wrote a lot of papers around this period. 104 00:08:34,660 --> 00:08:36,420 I'll give you a couple seconds to read through this. 105 00:08:38,860 --> 00:08:39,960 Can you read it in the back? 106 00:08:41,720 --> 00:08:42,220 Nods, good. 107 00:08:45,680 --> 00:08:48,400 So, you know, is this any less true today? 108 00:08:49,160 --> 00:08:50,680 Is this any less true of what we're trying to do 109 00:08:50,680 --> 00:08:52,500 with system stay, be it your cell phone, 110 00:08:52,620 --> 00:08:55,240 or be it your enterprise web server, or your SOA gateway? 111 00:08:56,080 --> 00:08:57,400 This is the same damn problem, right? 112 00:08:58,140 --> 00:08:59,420 His paper goes on to describe, 113 00:09:01,260 --> 00:09:04,280 in a nutshell, multi-level security, MLS, 114 00:09:04,880 --> 00:09:07,980 basically object level separation enforced by the kernel, 115 00:09:08,080 --> 00:09:10,740 keeping things really secure, and you know, 116 00:09:10,760 --> 00:09:12,620 the idea is you can keep multiple classifications 117 00:09:12,620 --> 00:09:14,400 of data away from each other in a military environment, 118 00:09:14,620 --> 00:09:16,680 but in general, you can keep the good data 119 00:09:16,680 --> 00:09:17,620 from the bad data. 120 00:09:17,620 --> 00:09:19,780 The need for hardware security to enforce 121 00:09:19,780 --> 00:09:22,600 this data separation, and this object-based access control. 122 00:09:24,600 --> 00:09:27,120 1971, okay, 2006, for reference, 123 00:09:27,180 --> 00:09:29,560 in case your calendar broke, we haven't gotten real far. 124 00:09:29,720 --> 00:09:30,400 Hey, it's a blank slide. 125 00:09:30,660 --> 00:09:32,080 No, it's PowerPoint, foo. 126 00:09:33,540 --> 00:09:36,220 Ha ha ha ha, this is all as good as it's gonna get, folks. 127 00:09:37,500 --> 00:09:40,340 I'll give you a few minutes to read these quotes. 128 00:09:49,260 --> 00:09:51,020 All right, any guesses when this was written? 129 00:09:51,680 --> 00:09:52,140 Yesterday. 130 00:09:52,400 --> 00:09:52,860 Yesterday. 131 00:09:54,100 --> 00:09:54,940 Another guess. 132 00:09:55,500 --> 00:09:56,100 Seventy-two. 133 00:09:56,320 --> 00:09:57,380 Seventy, someone. 134 00:09:57,580 --> 00:09:58,220 Seventy-four. 135 00:09:58,360 --> 00:09:59,600 Someone saw the talk. 136 00:09:59,680 --> 00:10:02,560 1972, actually, 68, right? 137 00:10:02,740 --> 00:10:04,840 It was a long time ago, again. 138 00:10:04,940 --> 00:10:06,740 This was from a computer security technology 139 00:10:06,740 --> 00:10:10,200 planning study, October 1972, published by the Air Force. 140 00:10:11,060 --> 00:10:14,060 Okay, hey, smells like the same thing we're doing today. 141 00:10:14,280 --> 00:10:15,720 Right, if you go through this paper, 142 00:10:15,780 --> 00:10:17,520 and you redact all the specific systems and networks, 143 00:10:17,620 --> 00:10:19,680 and random network topologies that I've never heard of, 144 00:10:19,740 --> 00:10:21,240 it's exactly the same problem. 145 00:10:22,140 --> 00:10:24,940 Wow, we've done a fantastic job at building this industry. 146 00:10:25,800 --> 00:10:26,240 All right. 147 00:10:28,460 --> 00:10:30,500 So, I'm not gonna be employed by the end of this. 148 00:10:32,060 --> 00:10:33,560 The road is littered with corpses. 149 00:10:34,400 --> 00:10:35,960 MLS, people have been searching for MLS, 150 00:10:36,000 --> 00:10:36,880 trying to do this for years. 151 00:10:36,940 --> 00:10:38,160 Turns out, it's really hard, right? 152 00:10:38,260 --> 00:10:40,000 We try to do provable, secure operating systems 153 00:10:40,000 --> 00:10:42,480 with formal methods and all kinds of stuff, and that hurts. 154 00:10:42,660 --> 00:10:44,620 It hurts a lot, okay? 155 00:10:44,800 --> 00:10:47,000 And complex operating systems, when you try to build one, 156 00:10:47,000 --> 00:10:48,960 the formal methods and everything go out the window 157 00:10:48,960 --> 00:10:50,720 the moment the fingers touch the keyboard. 158 00:10:51,560 --> 00:10:53,800 Soon as a developer and a human gets involved, 159 00:10:54,020 --> 00:10:56,380 it's no longer provably secure at a reasonable scale. 160 00:10:56,680 --> 00:10:59,140 I hate to say it, but we're not arming our developers 161 00:10:59,140 --> 00:11:00,800 the best that we could, you know? 162 00:11:00,840 --> 00:11:03,140 It's like going off in the streets of some inner city, 163 00:11:03,320 --> 00:11:05,400 and having a Nerf gun, and walking up to people, 164 00:11:05,460 --> 00:11:07,040 and smacking them on the head, and picking a fight. 165 00:11:07,420 --> 00:11:09,320 It's not the greatest idea, but that's about 166 00:11:09,320 --> 00:11:11,180 what our developers are armed like these days. 167 00:11:11,320 --> 00:11:13,420 They don't learn security when they're in college. 168 00:11:13,940 --> 00:11:15,560 They might be able to go to a conference, 169 00:11:15,600 --> 00:11:16,620 and learn how to audit code. 170 00:11:16,620 --> 00:11:18,660 And maybe learn how to write some good code. 171 00:11:18,820 --> 00:11:20,000 But it's not a pervasive thing. 172 00:11:20,440 --> 00:11:23,180 There's not armies of millions of developers out there 173 00:11:23,180 --> 00:11:24,720 who can write uber-secure code. 174 00:11:26,060 --> 00:11:27,140 This is a problem. 175 00:11:27,240 --> 00:11:29,620 This is something that academics have to address, 176 00:11:29,720 --> 00:11:30,280 and they're getting better. 177 00:11:30,640 --> 00:11:32,340 But operating systems are complicated. 178 00:11:32,540 --> 00:11:34,500 Software developers don't have the tools, 179 00:11:34,580 --> 00:11:36,460 don't have the knowledge, don't have the time 180 00:11:36,460 --> 00:11:37,340 to write secure code. 181 00:11:37,640 --> 00:11:40,100 So the best you can do in that situation 182 00:11:40,460 --> 00:11:42,200 is layer on other protection mechanisms 183 00:11:42,200 --> 00:11:43,640 that developers aren't involved with, 184 00:11:43,760 --> 00:11:46,600 like firewalls and execution systems. 185 00:11:46,620 --> 00:11:50,460 So what's the thing... 186 00:11:51,160 --> 00:11:51,560 GRsec. 187 00:11:51,620 --> 00:11:52,780 GRsec, no, the Immunix... 188 00:11:54,340 --> 00:11:54,740 StatGuard. 189 00:11:54,860 --> 00:11:55,620 StatGuard, thank you. 190 00:11:55,740 --> 00:11:57,400 All right, trucking right along, 191 00:11:57,520 --> 00:11:58,600 because my memory's failing me. 192 00:11:58,780 --> 00:11:59,880 All right, fast forward. 193 00:11:59,960 --> 00:12:00,180 2000. 194 00:12:02,000 --> 00:12:03,240 DRM emerges on the scene. 195 00:12:03,420 --> 00:12:03,760 Woohoo! 196 00:12:03,860 --> 00:12:05,580 Man, everyone was making money. 197 00:12:05,660 --> 00:12:08,940 It was 1999, and everybody was getting rich. 198 00:12:09,140 --> 00:12:09,860 And then it crashed. 199 00:12:10,400 --> 00:12:11,900 DRM stayed around, though, as it turns out. 200 00:12:12,600 --> 00:12:13,420 Content was king. 201 00:12:13,700 --> 00:12:15,840 AOL Time Warner was going to be the biggest, 202 00:12:16,640 --> 00:12:17,880 corporation in the world. 203 00:12:18,100 --> 00:12:19,160 Didn't work out so well. 204 00:12:21,260 --> 00:12:23,300 DRM, though, was a key part 205 00:12:23,300 --> 00:12:27,280 of how the content evolution, revolution kind of came about. 206 00:12:27,540 --> 00:12:29,520 Content providers had a mode 207 00:12:29,520 --> 00:12:31,080 where they were used to selling their stuff 208 00:12:31,080 --> 00:12:32,100 and getting money for it. 209 00:12:32,200 --> 00:12:33,760 And as much as Napster and Crew 210 00:12:33,760 --> 00:12:35,600 were allowing you to download it for free, 211 00:12:35,700 --> 00:12:36,980 there had to be a sustaining business model 212 00:12:36,980 --> 00:12:37,580 that was developed, 213 00:12:37,740 --> 00:12:39,920 and digital rights management fit it pretty well. 214 00:12:40,460 --> 00:12:43,160 Microsoft even has DRM-like capability in Office now, 215 00:12:43,380 --> 00:12:45,800 where you can control where files get sent. 216 00:12:46,620 --> 00:12:47,520 It's not perfect, right? 217 00:12:47,880 --> 00:12:51,300 Like DVD John, he proved that DVD encryption, not perfect. 218 00:12:51,560 --> 00:12:53,300 Not rocket science, there was a static key. 219 00:12:53,460 --> 00:12:55,940 You get the key, you can rip down DVDs. 220 00:12:55,980 --> 00:12:58,120 How many people have ripped DVDs on a PC? 221 00:12:59,660 --> 00:13:00,780 It sucks, doesn't it? 222 00:13:00,880 --> 00:13:01,900 It really hurts. 223 00:13:01,940 --> 00:13:03,220 How many people have ripped DVDs on a Mac? 224 00:13:04,240 --> 00:13:04,880 Is it easy? 225 00:13:05,540 --> 00:13:05,900 Yeah. 226 00:13:07,760 --> 00:13:08,240 Handbrake, baby. 227 00:13:08,420 --> 00:13:10,000 There's a great program out there called Handbrake. 228 00:13:10,000 --> 00:13:10,640 You hit one button. 229 00:13:10,780 --> 00:13:12,640 I was offended when I tried to do it on a PC, 230 00:13:12,740 --> 00:13:13,340 how bad it was. 231 00:13:13,440 --> 00:13:15,540 You download 15 different little codecs and widgets, 232 00:13:15,640 --> 00:13:16,520 and then nothing works together. 233 00:13:16,520 --> 00:13:19,060 And blue screens of death that I hadn't seen in forever, 234 00:13:19,280 --> 00:13:20,420 pop it into my Mac, 235 00:13:20,440 --> 00:13:21,880 my Mac's like, oh, there it is. 236 00:13:21,980 --> 00:13:22,820 Oh, and I have two cores, 237 00:13:22,920 --> 00:13:24,460 so I can do anything else while we're doing this too, 238 00:13:24,560 --> 00:13:25,340 because I'm badass. 239 00:13:28,100 --> 00:13:31,100 I might not be a Mac fan, but I probably am. 240 00:13:31,300 --> 00:13:34,180 So DRM can be subverted. 241 00:13:34,380 --> 00:13:36,500 If I'm really interested in overcoming 242 00:13:36,500 --> 00:13:38,940 the copy protection mechanisms in an Office document, 243 00:13:39,460 --> 00:13:41,940 I'm gonna just type it into another document, right? 244 00:13:42,480 --> 00:13:45,180 It's not gonna keep the evil people from doing evil stuff. 245 00:13:45,180 --> 00:13:48,540 If I wanna take, you know, an MP3 or AAC file 246 00:13:48,540 --> 00:13:50,340 that is, you know, protected by DRM, 247 00:13:50,380 --> 00:13:52,920 I'm just gonna transcode it in MP3, right? 248 00:13:53,240 --> 00:13:55,140 This is not rocket science, you know? 249 00:13:55,160 --> 00:13:57,200 There's nothing stopping me from doing this. 250 00:13:57,480 --> 00:13:59,100 DRM's gonna keep legitimate people legitimate. 251 00:13:59,460 --> 00:14:00,640 So we all hate it, right? 252 00:14:00,800 --> 00:14:02,660 It's all evil, lose control of my content, 253 00:14:03,000 --> 00:14:03,760 blah, blah, blah, blah, blah. 254 00:14:04,000 --> 00:14:04,620 Guess what? 255 00:14:04,700 --> 00:14:05,100 It's cool. 256 00:14:06,520 --> 00:14:07,760 Go ask any college student. 257 00:14:08,040 --> 00:14:10,440 Apparently iPods are cooler than beer. 258 00:14:12,000 --> 00:14:13,620 This is not the college I went to. 259 00:14:13,740 --> 00:14:15,160 I don't know where they took it. 260 00:14:15,160 --> 00:14:15,880 I don't know where they took this question from. 261 00:14:18,180 --> 00:14:21,220 But, anyway, it's all just mind numbing to me. 262 00:14:21,360 --> 00:14:24,780 So, ultimately, there's some transitivity here. 263 00:14:24,920 --> 00:14:25,820 So let's follow the path. 264 00:14:26,700 --> 00:14:28,440 iPod, you know, one of the big things 265 00:14:28,440 --> 00:14:29,680 that made iPods successful is existence 266 00:14:29,680 --> 00:14:30,740 of the iTunes Music Store. 267 00:14:30,920 --> 00:14:32,440 iTunes Music Store could exist 268 00:14:33,070 --> 00:14:35,520 because there's a DRM mechanism that Apple came up with 269 00:14:35,520 --> 00:14:37,260 that was tenable to the content providers. 270 00:14:37,460 --> 00:14:39,120 So the content providers could put content 271 00:14:39,120 --> 00:14:40,180 on iTunes Music Store. 272 00:14:40,300 --> 00:14:41,300 Apple could sell it for a buck. 273 00:14:41,420 --> 00:14:42,260 You could buy it. 274 00:14:42,340 --> 00:14:44,520 You could get the Britney Spears song you haven't heard 275 00:14:45,160 --> 00:14:46,660 in years and download it to your iPod 276 00:14:46,660 --> 00:14:47,460 and no one had to know it 277 00:14:47,460 --> 00:14:48,520 because you didn't even have to go into a store. 278 00:14:48,780 --> 00:14:50,260 It's like buying porn, you know? 279 00:14:51,280 --> 00:14:52,060 Dirty little secret. 280 00:14:52,140 --> 00:14:53,720 I buy porn and Britney Spears albums online. 281 00:14:56,880 --> 00:15:00,260 February 2006, one billion songs sold 282 00:15:00,260 --> 00:15:01,340 on the iTunes Music Store. 283 00:15:01,880 --> 00:15:04,380 Now, Budweiser, they sell a lot of beer. 284 00:15:04,580 --> 00:15:06,520 One billion songs sold on that thing? 285 00:15:06,580 --> 00:15:07,500 That's actually a lot of songs. 286 00:15:07,720 --> 00:15:09,940 That officially probably puts them in the realm of cool. 287 00:15:12,160 --> 00:15:14,540 So, transitivity, Apple made DRM cool. 288 00:15:14,540 --> 00:15:15,560 Nobody even realized it. 289 00:15:15,600 --> 00:15:16,160 It was sexy. 290 00:15:16,240 --> 00:15:16,880 It was useful. 291 00:15:17,040 --> 00:15:19,200 It was something the users wanted and they put up with it. 292 00:15:19,680 --> 00:15:19,880 You know? 293 00:15:19,940 --> 00:15:22,260 If you had an argument on the face of it of, hey, 294 00:15:22,340 --> 00:15:23,520 it violates your privacy and whatever, 295 00:15:23,640 --> 00:15:24,920 people would probably get upset about it. 296 00:15:25,360 --> 00:15:27,240 When you say, hey, but it's a dollar, oh, 297 00:15:27,640 --> 00:15:30,000 your eyes get real big and they just kind of wander off 298 00:15:30,000 --> 00:15:31,280 into space like, ooh, a dollar. 299 00:15:34,320 --> 00:15:37,800 So, it, it, it, it, it, okay, trusted hardware. 300 00:15:38,000 --> 00:15:38,880 What does this have to do with Apple? 301 00:15:41,260 --> 00:15:42,900 So, Apple's doing the same thing with trusted hardware. 302 00:15:43,740 --> 00:15:44,520 I hate to tell you. 303 00:15:44,520 --> 00:15:45,740 I hate to tell you this, but they're gonna, they're gonna, 304 00:15:45,780 --> 00:15:46,780 they're gonna have the same effect. 305 00:15:48,140 --> 00:15:50,740 MacBook Pro runs on an Intel, okay? 306 00:15:51,060 --> 00:15:53,480 Apple, six, seven years ago, decided they're gonna get away 307 00:15:53,480 --> 00:15:56,780 from allowing people to sell cloned Apple products. 308 00:15:56,960 --> 00:15:59,100 And so, they got another, they got Stranglehold back 309 00:15:59,100 --> 00:16:00,960 on their, on their hardware platform again. 310 00:16:01,340 --> 00:16:02,960 And the models worked out well for them. 311 00:16:03,020 --> 00:16:05,100 Apple's growing, you know, their stock's going great, 312 00:16:05,180 --> 00:16:06,060 making a lot of money. 313 00:16:07,260 --> 00:16:09,180 IBM relationship isn't working out so well. 314 00:16:09,380 --> 00:16:10,440 So, they moved to Intel. 315 00:16:10,860 --> 00:16:13,840 And Apple wants to maintain this kind of, not Stranglehold, 316 00:16:13,840 --> 00:16:16,640 but certainly a good, strong grip on the hardware market 317 00:16:16,640 --> 00:16:17,600 around their software. 318 00:16:18,500 --> 00:16:21,180 Knowing, though, that they're walking into the x86 market, 319 00:16:21,360 --> 00:16:23,480 which, how many people in the room own an x86-based PC? 320 00:16:23,820 --> 00:16:24,280 All right, good. 321 00:16:24,400 --> 00:16:25,020 I'm just, so we're clear. 322 00:16:25,100 --> 00:16:26,100 I thought there might be a few of us. 323 00:16:27,600 --> 00:16:29,420 You know, that, that's a bit of a threat. 324 00:16:29,660 --> 00:16:31,620 Because OS X's actually kind of cool. 325 00:16:31,780 --> 00:16:35,800 I mean, all, all things aside, like, it's a Unix that runs Word. 326 00:16:36,360 --> 00:16:36,800 All right? 327 00:16:37,340 --> 00:16:40,580 So, you can go own a box and write a letter to your mom 328 00:16:40,580 --> 00:16:43,820 and fax it all at the same time, and you don't have to use, you know, 329 00:16:43,840 --> 00:16:45,840 open office and play around with print drivers. 330 00:16:46,020 --> 00:16:46,960 It all just freaking works. 331 00:16:47,080 --> 00:16:47,440 It's fantastic. 332 00:16:48,620 --> 00:16:50,980 So, when they made the switch, you know, there were certain bits 333 00:16:50,980 --> 00:16:52,620 of proprietary things they wanted to protect. 334 00:16:52,880 --> 00:16:55,800 I need to caveat with this by saying, this is my crystal ball. 335 00:16:56,000 --> 00:16:56,700 I've shaken it up. 336 00:16:56,700 --> 00:16:57,380 I've looked into it. 337 00:16:57,460 --> 00:16:58,580 And this is what it looks like to me. 338 00:16:58,640 --> 00:17:00,300 I don't have any inside information from Apple. 339 00:17:00,520 --> 00:17:02,780 This is what I've read on the net, what I've been able to synthesize 340 00:17:02,780 --> 00:17:03,940 based on looking at these machines. 341 00:17:04,540 --> 00:17:07,660 But what they, what they want to do is keep this grip on this hardware. 342 00:17:07,840 --> 00:17:11,600 So, one thing that was really interesting when they made the migration is, 343 00:17:11,660 --> 00:17:13,660 they have, oh, I don't know, 20 years of legacy 344 00:17:13,840 --> 00:17:17,820 PowerPC code, actually I guess 10, 10 years of legacy PowerPC code, 345 00:17:18,020 --> 00:17:20,500 and they want to be able to run that on the x86 platform. 346 00:17:20,940 --> 00:17:22,900 So, they could do the nonsense they did with Classic, 347 00:17:23,020 --> 00:17:25,020 which is where you instantiate a whole virtual machine, 348 00:17:25,440 --> 00:17:28,160 suck up a bunch of memory, and you run slower than death. 349 00:17:28,340 --> 00:17:31,400 Or you can actually just do the translation in real time. 350 00:17:31,600 --> 00:17:32,920 So, I think they actually acquired a company. 351 00:17:33,160 --> 00:17:36,020 They've named the product Rosetta, and it does real-time translations 352 00:17:36,020 --> 00:17:39,960 of PPC opcodes to x86 opcodes. 353 00:17:40,160 --> 00:17:40,560 Neat. 354 00:17:40,660 --> 00:17:41,760 This is their differentiator. 355 00:17:41,860 --> 00:17:43,400 This allows them the seamless transition. 356 00:17:43,400 --> 00:17:44,540 To the Intel platform. 357 00:17:44,840 --> 00:17:48,100 This is the little bit of thing that they don't want running on every PC so that people 358 00:17:48,100 --> 00:17:49,240 just don't start running OS 10. 359 00:17:49,940 --> 00:17:55,240 So, what they do is they put a TPM in this thing, and then when Rosetta instantiates itself, 360 00:17:56,020 --> 00:17:58,420 it checks to see, hey, is this really a MacBook? 361 00:17:58,720 --> 00:18:00,160 And if it is, okay, it'll run. 362 00:18:00,340 --> 00:18:02,440 If it doesn't, you can't run your PowerPC stuff. 363 00:18:03,020 --> 00:18:03,600 Pretty neat. 364 00:18:03,780 --> 00:18:07,520 There's a Russian hacker by the name of Maxis who repeatedly bypassed this protection. 365 00:18:08,000 --> 00:18:10,900 Apple lawyers are repeatedly beating him about the head and face. 366 00:18:11,280 --> 00:18:13,380 I challenge you to go find it right now. 367 00:18:13,400 --> 00:18:13,560 Google. 368 00:18:13,880 --> 00:18:14,620 I'll give you 10 minutes. 369 00:18:14,900 --> 00:18:17,160 I'll give you a t-shirt if you can find me a Maxis patch. 370 00:18:17,800 --> 00:18:19,120 They're really hard to find right now. 371 00:18:19,260 --> 00:18:20,460 They're really hard to find. 372 00:18:21,220 --> 00:18:24,820 And all he was really doing, though, was going into binaries and sniping out the calls 373 00:18:24,820 --> 00:18:27,820 that made the call to TPM and just said, yep, everything's fine, whoop, and the thing 374 00:18:27,820 --> 00:18:28,100 would start. 375 00:18:30,380 --> 00:18:30,740 Software. 376 00:18:31,840 --> 00:18:35,140 So the problem was, clearly there's an architectural problem there. 377 00:18:35,200 --> 00:18:38,880 It was still subvertible via software, but there's long-term solutions that, and I'll 378 00:18:38,880 --> 00:18:42,460 get into it in a minute, that would actually make that very difficult and not impossible 379 00:18:42,460 --> 00:18:42,900 to bypass. 380 00:18:43,780 --> 00:18:44,860 So backing up a step. 381 00:18:45,020 --> 00:18:49,280 I used an acronym on the previous page that I didn't explain, which in consulting foo 382 00:18:49,280 --> 00:18:49,780 is bad. 383 00:18:50,280 --> 00:18:52,940 I'm not having a good logical step. 384 00:18:53,160 --> 00:18:55,420 So backing up a step because I didn't feel like re-running the slide. 385 00:18:56,620 --> 00:18:58,760 Trusted Computing Group used to be the TCPA. 386 00:18:59,040 --> 00:19:00,160 This is an industry group. 387 00:19:00,260 --> 00:19:01,440 It's not the IETF. 388 00:19:01,600 --> 00:19:05,820 This is not like an open forum that you can just go to Zurich and hang out for a week 389 00:19:05,820 --> 00:19:07,800 and talk about the direction this thing is going. 390 00:19:07,980 --> 00:19:09,420 You have to buy your way into this thing. 391 00:19:10,200 --> 00:19:13,140 They're setting up standards for trusted computing systems and architectures. 392 00:19:13,140 --> 00:19:17,380 It used to be solely focused on the development of standards around the trusted computing 393 00:19:17,380 --> 00:19:19,740 module, a chip that gets embedded on the motherboard. 394 00:19:20,760 --> 00:19:22,080 Now they've branched out. 395 00:19:22,160 --> 00:19:25,540 They realize just building the chip isn't going to make anything happen. 396 00:19:25,900 --> 00:19:30,320 So what we need to do is focus on, hey, let's talk about infrastructure, mobile devices, 397 00:19:30,440 --> 00:19:35,440 PC clients, servers, trusted network connect storage, software stack, how you access this 398 00:19:35,440 --> 00:19:35,640 thing. 399 00:19:35,720 --> 00:19:36,480 That's kind of important. 400 00:19:37,260 --> 00:19:38,500 And tie it all together. 401 00:19:38,700 --> 00:19:41,800 So there's all these documents and there's all these specifications that you can get 402 00:19:41,800 --> 00:19:43,120 to try to help you build this. 403 00:19:44,260 --> 00:19:45,720 That's what the trusted computing group is. 404 00:19:46,260 --> 00:19:49,660 If you read their charter, at no point does it say, be evil. 405 00:19:50,200 --> 00:19:51,640 Be the counterpoint to Google. 406 00:19:52,340 --> 00:19:53,080 Don't be evil. 407 00:19:53,140 --> 00:19:53,520 Be evil. 408 00:19:54,660 --> 00:19:55,280 Ha, ha, ha. 409 00:19:55,300 --> 00:19:56,280 That was funny in my head. 410 00:19:59,060 --> 00:20:03,280 So anyway, thank you, thank you. 411 00:20:04,740 --> 00:20:05,520 Try to be evil. 412 00:20:05,600 --> 00:20:05,860 I'm done. 413 00:20:06,040 --> 00:20:06,320 All right. 414 00:20:07,300 --> 00:20:11,540 So it strikes me that people think this is inherently evil. 415 00:20:11,540 --> 00:20:17,760 And I think the ultimate anecdote for that is the really angry doll in The Simpsons 416 00:20:17,760 --> 00:20:18,640 is trying to kill Homer. 417 00:20:18,780 --> 00:20:22,180 And the guy comes over and is like, oh, you have it set to evil. 418 00:20:22,280 --> 00:20:22,620 Click. 419 00:20:22,900 --> 00:20:25,680 And oh, it serves him food and everything's fine. 420 00:20:27,260 --> 00:20:30,080 This thing doesn't have that property one way or the other, all right? 421 00:20:30,140 --> 00:20:31,360 It's going to be what we make of it. 422 00:20:32,380 --> 00:20:34,100 So let's talk about privacy for a minute. 423 00:20:34,860 --> 00:20:39,000 First of all, I need to tell you up front, full disclosure, I have fully bought into 424 00:20:39,000 --> 00:20:40,300 the church of McNeely. 425 00:20:40,300 --> 00:20:43,380 If you have a family that says you have no privacy, get over it, OK? 426 00:20:44,960 --> 00:20:49,840 McNeely said that many moons ago at some Sun event, and I believe him to be fully correct. 427 00:20:50,360 --> 00:20:53,940 I know other people in this audience disagree with me vehemently, and that's cool. 428 00:20:54,500 --> 00:20:56,000 So let's talk about privacy a little bit. 429 00:20:56,580 --> 00:21:02,040 First of all, previous versions of the TCG or the TPM spec actually were pretty bad when 430 00:21:02,040 --> 00:21:05,500 it came to privacy stuff and would allow for the content providers to really grab hold 431 00:21:05,500 --> 00:21:08,240 of your machine and shake it vigorously without allowing you to do anything. 432 00:21:09,840 --> 00:21:10,280 And I think that's a good thing. 433 00:21:10,300 --> 00:21:12,160 And there was a lot of pushback, understandably so. 434 00:21:12,420 --> 00:21:13,860 There were also a lot of pushback to things. 435 00:21:13,940 --> 00:21:19,040 Remember the Intel serial number issue, when they put serial numbers on the chips? 436 00:21:19,660 --> 00:21:21,740 There was no end user benefit there. 437 00:21:21,800 --> 00:21:23,560 That wasn't sexy and cool, right? 438 00:21:23,980 --> 00:21:31,380 Again, DRM, iPod, sexy, cool, serial number on the Pentium, profit. 439 00:21:31,580 --> 00:21:33,000 There was nothing in the middle, right? 440 00:21:33,380 --> 00:21:34,900 It was bad. 441 00:21:36,080 --> 00:21:38,500 So the new specification allows for a couple things. 442 00:21:38,660 --> 00:21:38,760 One. 443 00:21:40,300 --> 00:21:40,580 Personalization. 444 00:21:40,700 --> 00:21:40,980 Note. 445 00:21:41,100 --> 00:21:41,460 Owner. 446 00:21:41,680 --> 00:21:42,520 Not administrator. 447 00:21:43,180 --> 00:21:44,940 Not the guy in front of the computer. 448 00:21:45,320 --> 00:21:46,140 But the owner. 449 00:21:46,320 --> 00:21:46,500 Okay? 450 00:21:46,660 --> 00:21:49,900 In an enterprise, when you're using a laptop given to you by the company that you work 451 00:21:49,900 --> 00:21:52,500 for, you have no expectation of privacy on it, period. 452 00:21:52,800 --> 00:21:53,480 I'm sorry. 453 00:21:53,600 --> 00:21:56,500 I know that there's laws that allow workplace privacy and things like that. 454 00:21:56,620 --> 00:22:00,900 But by and large, you should not assume that anything you do in that box is subject to 455 00:22:00,900 --> 00:22:02,100 your own little private whims. 456 00:22:02,200 --> 00:22:04,000 It can all be controlled and monitored by your employer. 457 00:22:04,340 --> 00:22:07,100 So the owner in that case is probably the company. 458 00:22:07,260 --> 00:22:09,720 When you buy your own laptop and take it home, you're the owner. 459 00:22:09,720 --> 00:22:10,880 You can do anything you want with it. 460 00:22:11,300 --> 00:22:12,680 You can take over the chip. 461 00:22:12,820 --> 00:22:13,620 You can turn it off. 462 00:22:13,680 --> 00:22:14,360 You can turn it on. 463 00:22:14,500 --> 00:22:15,600 You can reset it. 464 00:22:15,640 --> 00:22:16,460 You can do anything you want to. 465 00:22:17,940 --> 00:22:21,800 The private personalization information is never exposed, and the keys are encrypted. 466 00:22:22,040 --> 00:22:23,400 I mean, I'll get into all this kind of nonsense. 467 00:22:24,460 --> 00:22:28,660 In a nutshell, there are keys that can be bound to the TPM, and there are keys that 468 00:22:28,660 --> 00:22:29,980 you can export off the TPM. 469 00:22:30,160 --> 00:22:33,860 The original spec just had keys that were bound to it, which is pretty evil. 470 00:22:33,940 --> 00:22:38,840 Because then if your box dies, all the data that was encrypted with that chip is gone. 471 00:22:38,840 --> 00:22:43,900 On the flip side, nothing really got ever made with that particular specification, so 472 00:22:43,900 --> 00:22:44,900 you don't need to worry about it much. 473 00:22:45,160 --> 00:22:47,500 Anyway, that was a rambling, horrible slide. 474 00:22:47,660 --> 00:22:48,220 I'm going to shoot it. 475 00:22:49,360 --> 00:22:50,440 Trusted platform module. 476 00:22:50,600 --> 00:22:53,060 Chips are manufactured by a bunch of folks at a high level. 477 00:22:53,180 --> 00:22:54,160 They got three things they can do. 478 00:22:54,240 --> 00:22:55,900 One, assured cryptographic operations. 479 00:22:56,140 --> 00:22:59,520 When I say assured, it means someone looked at their implementation and said, yeah, this 480 00:22:59,520 --> 00:22:59,920 thing's okay. 481 00:23:00,560 --> 00:23:03,320 Not like it's uber cool or whatever. 482 00:23:03,500 --> 00:23:05,280 It's going to do the same thing every time. 483 00:23:05,440 --> 00:23:06,540 You can't change it. 484 00:23:06,920 --> 00:23:07,280 Right? 485 00:23:07,280 --> 00:23:09,740 You can't download a new library version and break it. 486 00:23:09,820 --> 00:23:12,160 It's just going to do RSA correctly every time. 487 00:23:12,540 --> 00:23:13,940 It serves as a trusted key store. 488 00:23:14,180 --> 00:23:15,280 It's on a little chip. 489 00:23:15,340 --> 00:23:16,300 It's inside the chip. 490 00:23:16,840 --> 00:23:19,680 Without a lot of high-end gear, you're not going to be able to extract it. 491 00:23:19,800 --> 00:23:23,060 It'll also make integrity statements, basically say, I'm okay. 492 00:23:23,620 --> 00:23:27,940 Everything's a-okay, or at least it's not okay, but it'll cryptographically sign those 493 00:23:27,940 --> 00:23:29,840 messages and say that it's not okay. 494 00:23:30,060 --> 00:23:32,020 The TPM on its own doesn't do anything. 495 00:23:32,680 --> 00:23:33,800 It sits there. 496 00:23:34,000 --> 00:23:37,260 When you boot the box, it's kind of a mess. 497 00:23:37,260 --> 00:23:37,660 It kind of hangs out. 498 00:23:37,880 --> 00:23:43,260 It doesn't set the evil flag, doesn't do IP over avian carrier. 499 00:23:43,660 --> 00:23:45,040 All it does is sit there. 500 00:23:45,840 --> 00:23:51,360 I boot this Mac running Linux right now, TPM wasn't even activated, didn't get in the 501 00:23:51,360 --> 00:23:51,820 way of anything. 502 00:23:53,240 --> 00:23:57,540 Higher-level systems must use the TPM to do something, right? 503 00:23:58,040 --> 00:24:00,720 They can't just expect it's going to intermediate. 504 00:24:01,060 --> 00:24:02,480 Again, it is not magical. 505 00:24:02,740 --> 00:24:04,360 There's no magical property about this. 506 00:24:04,820 --> 00:24:05,700 Magic's not real. 507 00:24:05,800 --> 00:24:06,620 That's what my son says to me. 508 00:24:07,260 --> 00:24:07,380 I'm sorry. 509 00:24:07,780 --> 00:24:08,440 How'd you do it? 510 00:24:08,480 --> 00:24:08,900 I say it's magic. 511 00:24:08,980 --> 00:24:09,780 Magic's not real. 512 00:24:11,380 --> 00:24:12,820 He's disenfranchised at eight already. 513 00:24:12,920 --> 00:24:13,260 It's great. 514 00:24:14,940 --> 00:24:20,500 The TPM spec says the user must have the ability to turn off the turn of the TPM chip. 515 00:24:20,540 --> 00:24:23,540 That's off, O-F-F, the TPM chip. 516 00:24:23,660 --> 00:24:25,540 That means the user always has control of the device. 517 00:24:25,760 --> 00:24:29,260 Again, though, if you have software that needs it, that means the software might not work. 518 00:24:29,840 --> 00:24:30,780 There's a trade-off here. 519 00:24:31,160 --> 00:24:32,160 Who in the what now? 520 00:24:32,420 --> 00:24:34,860 Like the operating system, particularly. 521 00:24:35,680 --> 00:24:36,920 Let's talk about that. 522 00:24:36,920 --> 00:24:39,880 There's a lot more, but I've paid some hecklers in the room, particularly ones that look like 523 00:24:39,880 --> 00:24:40,180 pirates. 524 00:24:40,360 --> 00:24:40,540 Arr. 525 00:24:43,340 --> 00:24:49,780 Truly, there may be things that you want to use that if you don't want them to access 526 00:24:49,780 --> 00:24:52,020 the TPM in your system, they're not going to work. 527 00:24:53,800 --> 00:24:54,980 Now here's the thing. 528 00:24:55,160 --> 00:24:56,620 One user isn't important. 529 00:24:57,020 --> 00:24:59,020 Same thing I tell people when I talk about wireless security. 530 00:24:59,340 --> 00:25:00,700 Nobody cares about you as an individual. 531 00:25:01,120 --> 00:25:02,500 They care about you as a group of people. 532 00:25:02,960 --> 00:25:05,900 They care about getting 100 million credit card numbers from a VA laptop. 533 00:25:05,900 --> 00:25:07,680 They don't care about getting one credit card number. 534 00:25:07,760 --> 00:25:11,220 You find the identity theft that's sitting around sniffing someone's home network looking 535 00:25:11,220 --> 00:25:13,980 for credit card information, I'll show you the dumbest man in the world. 536 00:25:16,660 --> 00:25:21,080 There's market pressures involved, though, with massive amounts of people rebelling against 537 00:25:21,080 --> 00:25:21,380 something. 538 00:25:21,760 --> 00:25:26,140 If your operating system doesn't boot because it requires some piece of trusted hardware 539 00:25:26,140 --> 00:25:28,720 that nobody wants to use, the market's going to adapt. 540 00:25:28,920 --> 00:25:32,320 People will use other systems to get their job done, and people will stop making it that 541 00:25:32,810 --> 00:25:33,040 fascist. 542 00:25:33,240 --> 00:25:33,660 Okay? 543 00:25:33,660 --> 00:25:39,080 Or maybe the law will get involved and EFF or ACLU or somebody will sue to make that 544 00:25:39,080 --> 00:25:39,380 change. 545 00:25:39,740 --> 00:25:39,840 Okay? 546 00:25:39,920 --> 00:25:41,040 This is a cultural issue. 547 00:25:41,220 --> 00:25:41,420 Right? 548 00:25:41,580 --> 00:25:42,760 And this is the evil side. 549 00:25:42,980 --> 00:25:44,920 And clearly that's a battle that has to be fought. 550 00:25:45,080 --> 00:25:46,040 I'm not arguing that. 551 00:25:46,120 --> 00:25:47,660 I'm not arguing that at all. 552 00:25:47,740 --> 00:25:48,900 We're going to fight that battle. 553 00:25:49,040 --> 00:25:53,020 And there'll be people up here talking next year about the evils of TPM and some legal 554 00:25:53,020 --> 00:25:55,180 battle that's going on or something they're doing with some vendor. 555 00:25:55,480 --> 00:25:55,880 Fantastic. 556 00:25:56,320 --> 00:25:57,300 More power to them. 557 00:25:57,400 --> 00:25:57,800 You know what? 558 00:25:57,840 --> 00:25:58,480 There's a lot of good. 559 00:25:58,580 --> 00:25:59,460 Remember that graph I showed? 560 00:26:00,000 --> 00:26:00,760 Two lines. 561 00:26:01,020 --> 00:26:01,740 Same slope. 562 00:26:01,740 --> 00:26:01,880 Same slope. 563 00:26:01,880 --> 00:26:02,600 Not making any progress. 564 00:26:03,200 --> 00:26:07,240 Well, let's focus on that part and assume the cultural bits because we all like to moan 565 00:26:07,240 --> 00:26:08,660 and groan and complain about the cultural bits. 566 00:26:08,840 --> 00:26:10,500 That problem will work itself out. 567 00:26:10,580 --> 00:26:11,340 Let's talk about the technology. 568 00:26:11,860 --> 00:26:13,120 So to you, the pirate. 569 00:26:15,400 --> 00:26:17,240 It was a very piratey response. 570 00:26:17,520 --> 00:26:21,680 I think if pirates stood on the bow of the ship, they probably got blown off with a cannon. 571 00:26:24,500 --> 00:26:29,840 Here's the inside of a TPM chip in swank little PowerPoint rounded bits. 572 00:26:31,180 --> 00:26:31,720 Go on. 573 00:26:31,720 --> 00:26:32,320 Point around the horn. 574 00:26:32,540 --> 00:26:33,860 You've got IO in the middle. 575 00:26:35,160 --> 00:26:35,600 NVRAM. 576 00:26:36,460 --> 00:26:37,880 Platform configuration registers. 577 00:26:38,140 --> 00:26:38,880 The PCRs. 578 00:26:38,900 --> 00:26:43,040 This is basically a set of information that can uniquely identify your system. 579 00:26:43,360 --> 00:26:46,700 It's going to have manufacturer information, serial numbers, peripheral information. 580 00:26:47,160 --> 00:26:51,540 This can be used to basically form a hash that uniquely identifies your system in a 581 00:26:51,540 --> 00:26:52,040 given state. 582 00:26:52,620 --> 00:26:52,680 Okay? 583 00:26:52,980 --> 00:26:54,640 Again, good and evil. 584 00:26:54,740 --> 00:26:56,720 We can all think about ways this can be used for good and bad. 585 00:26:57,540 --> 00:26:58,640 Adversation identity key. 586 00:26:58,840 --> 00:27:01,600 This is basically the key that's used to identify and authenticate the chip. 587 00:27:01,720 --> 00:27:02,440 To off-chip entities. 588 00:27:02,780 --> 00:27:05,340 So if the chip needs to talk to the rest of the operating system or talk to something 589 00:27:05,340 --> 00:27:07,340 on the network, this is the key that gets involved. 590 00:27:07,740 --> 00:27:08,480 Program code. 591 00:27:08,680 --> 00:27:10,900 This is where it does, you know, programming stuff. 592 00:27:12,740 --> 00:27:13,620 Very descriptive. 593 00:27:14,160 --> 00:27:14,600 RNG. 594 00:27:15,020 --> 00:27:18,720 It's somewhere between a really good RNG and a PRNG. 595 00:27:19,080 --> 00:27:22,100 Note, it won't give you the same answer every time, thanks Dev Random. 596 00:27:22,720 --> 00:27:25,160 But it's not necessarily 100% great. 597 00:27:25,900 --> 00:27:26,840 SHA-1 engine. 598 00:27:27,040 --> 00:27:29,520 Yes, we can debate how good SHA-1 is, but come on now. 599 00:27:29,980 --> 00:27:30,720 Key generation. 600 00:27:30,720 --> 00:27:33,740 Because it does need to generate keys on its own for internal and external use. 601 00:27:34,060 --> 00:27:34,500 RSA. 602 00:27:34,960 --> 00:27:35,840 State management. 603 00:27:36,300 --> 00:27:37,340 Is it turned on? 604 00:27:37,400 --> 00:27:38,040 Is it turned off? 605 00:27:38,760 --> 00:27:39,680 That kind of thing. 606 00:27:39,860 --> 00:27:42,320 And the exec engine basically executes the program code. 607 00:27:42,440 --> 00:27:43,440 That's your kind of processor. 608 00:27:44,420 --> 00:27:46,060 So here's how you interact with it. 609 00:27:46,520 --> 00:27:47,860 Looks a lot like a smart card. 610 00:27:48,100 --> 00:27:50,580 So I was told the other day that there's a reason for that. 611 00:27:50,640 --> 00:27:54,060 If you look at the chip model numbers for some of these vendors, there are precisely 612 00:27:54,060 --> 00:27:59,780 one model number off or just a letter modifier from the smart card chip from the same manufacturer. 613 00:27:59,780 --> 00:28:03,420 So for those that do smart card work, this looks very, it's command response. 614 00:28:03,880 --> 00:28:06,200 You send something to it, a bunch of hex. 615 00:28:06,360 --> 00:28:08,140 You get something back, a bunch of hex. 616 00:28:08,860 --> 00:28:09,600 There's an application. 617 00:28:09,940 --> 00:28:12,200 It makes a library socket call. 618 00:28:12,440 --> 00:28:15,900 This particular datagram, this is the startup datagram. 619 00:28:16,180 --> 00:28:18,040 It's actually one that's a real pain in my butt. 620 00:28:19,040 --> 00:28:20,960 The first line is the type of datagram. 621 00:28:21,620 --> 00:28:23,200 The second line is the size. 622 00:28:23,360 --> 00:28:25,500 The third is a specific command, in this case start. 623 00:28:25,680 --> 00:28:26,940 And the fourth is a modifier. 624 00:28:27,300 --> 00:28:28,480 01 is a start. 625 00:28:28,560 --> 00:28:29,280 It's a fresh start. 626 00:28:29,780 --> 00:28:30,920 It's a system up and running from the get-go. 627 00:28:31,760 --> 00:28:36,360 Note, when a TPM chip comes online, there's two things that happen, or two things that 628 00:28:36,360 --> 00:28:37,280 need to happen. 629 00:28:37,520 --> 00:28:40,140 The first is init, and that's a device-specific thing. 630 00:28:40,220 --> 00:28:42,760 That's basically when it powers an eye, click, turns on the switch. 631 00:28:43,000 --> 00:28:45,500 The second is startup, when you have to send it this thing. 632 00:28:46,360 --> 00:28:50,340 All the tools I found under Linux pre-assume the startup command had been given. 633 00:28:51,140 --> 00:28:53,660 So I'm running all these programs, and none of the programs are working. 634 00:28:53,720 --> 00:28:56,100 They're all cratering with errors like chip not activated. 635 00:28:56,380 --> 00:28:57,260 I'm like, oh, this isn't good. 636 00:28:57,640 --> 00:28:58,980 And all kinds of crazy crap. 637 00:28:58,980 --> 00:29:01,120 This is about, I don't know, four days before I'm flying out here. 638 00:29:01,240 --> 00:29:02,640 So I'm really not happy at this point. 639 00:29:02,940 --> 00:29:05,580 And then I discover, oh, I haven't turned it on yet. 640 00:29:05,940 --> 00:29:08,340 So I do the startup, and everything starts working magically. 641 00:29:08,560 --> 00:29:11,180 So I'll do a demo here in a minute of how that doesn't work. 642 00:29:11,820 --> 00:29:17,300 High-level breakdown of TPM commands, administration stuff, opt-in ownership, key management crypto, 643 00:29:17,460 --> 00:29:18,180 you can all read. 644 00:29:18,400 --> 00:29:21,020 Probably what's most interesting here is the crypto stuff. 645 00:29:22,180 --> 00:29:23,820 I'm a little imprecise here. 646 00:29:24,100 --> 00:29:26,440 When you bind, you're encrypting a chunk of information. 647 00:29:26,800 --> 00:29:27,160 Okay? 648 00:29:27,300 --> 00:29:27,340 Okay. 649 00:29:28,980 --> 00:29:31,860 So what you can do is use either these exportable keys or non-exportable keys. 650 00:29:32,120 --> 00:29:35,220 Non-exportable keys, if you bind something with it, you're just encrypting it with a 651 00:29:35,220 --> 00:29:36,620 key that you could save off to software. 652 00:29:36,780 --> 00:29:38,120 So it's not really that secure. 653 00:29:38,700 --> 00:29:43,120 If you encrypt something with a non-exportable key, well, now you've bound it specifically 654 00:29:43,120 --> 00:29:44,280 to that TPM chip. 655 00:29:44,600 --> 00:29:49,640 But God bless you if that TPM chip goes away, because cracking RSA is still kind of a hard 656 00:29:49,640 --> 00:29:51,460 problem, and you may not be able to do it today. 657 00:29:52,380 --> 00:29:53,400 You can sign things. 658 00:29:53,640 --> 00:29:54,280 No shock. 659 00:29:54,880 --> 00:29:55,280 Seal. 660 00:29:55,480 --> 00:29:56,580 This is where you're binding. 661 00:29:56,720 --> 00:29:58,900 But you're also hashing it in with a PCR data. 662 00:29:58,980 --> 00:29:59,720 Okay? 663 00:29:59,820 --> 00:30:04,320 So this is where you have the data that not just uniquely identifies your computer, but 664 00:30:04,320 --> 00:30:08,900 then you use a specific key, you squish it all together, and now you've got a signed 665 00:30:08,900 --> 00:30:11,880 and sealed, or excuse me, a sealed thing. 666 00:30:11,980 --> 00:30:13,660 And then you can also sign that if you want to. 667 00:30:13,800 --> 00:30:17,620 So this is where you can really get interesting things, where you bind specific pieces of 668 00:30:17,620 --> 00:30:20,040 information actually to the chip that runs on your device. 669 00:30:20,960 --> 00:30:23,760 Upgrades or session management, et cetera, et cetera. 670 00:30:25,300 --> 00:30:28,240 So all Intel-based Macs have these TPMs. 671 00:30:28,980 --> 00:30:33,000 So at least I surmise when I started doing this, one night I actually flipped out because 672 00:30:33,000 --> 00:30:36,820 I hadn't yet written code successfully to access it, and I flipped and spent the entire 673 00:30:36,820 --> 00:30:40,780 night just proving to myself there was a TPM in there and discovered the guts of the 674 00:30:40,780 --> 00:30:45,940 internals of the advanced controller and power interface, or whatever, ACPI, and dumped 675 00:30:45,940 --> 00:30:49,700 all the crap off the motherboard through the ACPI commands and actually discovered it. 676 00:30:49,880 --> 00:30:50,620 It was there. 677 00:30:50,760 --> 00:30:51,920 I went and had a few beers. 678 00:30:52,000 --> 00:30:52,600 I was very excited. 679 00:30:53,840 --> 00:30:54,460 Never fear. 680 00:30:54,560 --> 00:30:55,700 We've got some code to examine it. 681 00:30:55,760 --> 00:30:57,280 Because there's no interface from Apple. 682 00:30:57,540 --> 00:30:57,960 Okay? 683 00:30:58,980 --> 00:30:59,700 I'm not saying this to ding Apple. 684 00:31:00,560 --> 00:31:01,500 There just isn't any. 685 00:31:02,500 --> 00:31:09,660 If you ever tried to do Bluetooth coding on a Mac, up until 10.4 was released, the only 686 00:31:09,660 --> 00:31:13,320 way, like you wanted to go scan for a device, it wasn't like it was on Linux if you're using 687 00:31:13,320 --> 00:31:15,420 BlueZ or using somebody else's stack on Windows. 688 00:31:15,620 --> 00:31:16,580 You called a wizard. 689 00:31:17,000 --> 00:31:17,360 Okay? 690 00:31:17,760 --> 00:31:19,560 You said, I want to find a Bluetooth device. 691 00:31:19,680 --> 00:31:21,140 I'll call the Bluetooth device discovery wizard. 692 00:31:22,700 --> 00:31:25,780 And you waited for it to return, and the user had a little thing pop up, and boop, boop, 693 00:31:25,860 --> 00:31:26,620 boop, boop, then boop. 694 00:31:26,680 --> 00:31:28,500 And then you got the Mac address and all the information about it. 695 00:31:28,980 --> 00:31:33,480 When you're trying to write like actual real Bluetooth software, that may not be the most 696 00:31:33,480 --> 00:31:34,600 robust way of doing things. 697 00:31:34,840 --> 00:31:36,180 But it worked. 698 00:31:36,580 --> 00:31:39,780 Wi-Fi similarly on a Mac, there wasn't really a good interface of that. 699 00:31:39,860 --> 00:31:43,140 So if you want to do war driving, somebody went and reverse engineered the header file 700 00:31:43,140 --> 00:31:46,740 so you could actually compile code that ran against the Apple 802.11 libraries. 701 00:31:47,200 --> 00:31:48,360 They're getting better. 702 00:31:48,580 --> 00:31:52,560 But Apple's not really in the market to make some of this stuff extensible. 703 00:31:52,620 --> 00:31:54,820 That's kind of Microsoft's rant in the world. 704 00:31:55,320 --> 00:31:57,780 Anyway, they didn't give any interface for this. 705 00:31:57,840 --> 00:31:58,960 So we ended up having to use Linux. 706 00:31:58,980 --> 00:32:00,380 Linux to make it happen. 707 00:32:00,520 --> 00:32:02,440 Hopefully we'll have some Apple code running at some point. 708 00:32:04,080 --> 00:32:10,060 Not sure if someone's giggling at me or, anyway, Ubuntu, how many Ubuntu users? 709 00:32:10,900 --> 00:32:11,340 Wow. 710 00:32:11,540 --> 00:32:12,640 How many FreeBSD users? 711 00:32:13,040 --> 00:32:14,960 If you're near the Ubuntu users, punch them. 712 00:32:17,820 --> 00:32:20,180 FreeBSD, just if you haven't heard, is God's operating system. 713 00:32:21,320 --> 00:32:22,640 It's the greatest thing ever. 714 00:32:22,840 --> 00:32:24,880 I felt really dirty when I used Ubuntu. 715 00:32:25,160 --> 00:32:27,340 Like I had to go talk to my FreeBSD install disk. 716 00:32:27,460 --> 00:32:28,000 I'm sorry. 717 00:32:29,020 --> 00:32:30,720 It was only a one-night thing. 718 00:32:32,480 --> 00:32:35,140 Then I went back and recompiled the kernel and didn't tell them about it. 719 00:32:37,720 --> 00:32:39,960 So there's two ways to access a TPM on a Mac. 720 00:32:40,120 --> 00:32:44,140 You can use custom applications and access it through, like, LibTPM. 721 00:32:44,260 --> 00:32:48,140 It's a legacy thing written by IBM, and it just talks to the TPM chip like any other 722 00:32:48,140 --> 00:32:48,400 device. 723 00:32:48,640 --> 00:32:51,540 There's this other thing called Trousers open source program. 724 00:32:52,480 --> 00:32:56,380 There's a daemon called TCSD, basically grabs the device by the face, doesn't let anything 725 00:32:56,380 --> 00:32:57,260 else talk to it. 726 00:32:57,320 --> 00:32:58,960 And if you want to talk to the TPM... 727 00:32:58,960 --> 00:32:59,920 You have to do it through that. 728 00:33:00,000 --> 00:33:00,520 That's Guido. 729 00:33:01,020 --> 00:33:01,360 Okay? 730 00:33:01,540 --> 00:33:06,620 So TCSD is Guido, and then you do socket calls across to TCSD to access the TPM. 731 00:33:07,440 --> 00:33:13,020 In particular, the TPM is the Infineon IFX0101, which is version 1.1b. 732 00:33:14,480 --> 00:33:17,620 Here's a quick demo, or what I hope to be a quick demo. 733 00:33:18,680 --> 00:33:20,880 It may actually be a complete goat rope. 734 00:33:21,020 --> 00:33:25,180 So here's the top of my scroll buffer. 735 00:33:27,000 --> 00:33:28,800 Is that big enough for folks to see? 736 00:33:28,960 --> 00:33:30,340 Is contrast all right? 737 00:33:30,460 --> 00:33:31,600 It's lousy and... 738 00:33:31,600 --> 00:33:32,340 Well, it's a terminal. 739 00:33:32,480 --> 00:33:33,140 It's Courier. 740 00:33:33,220 --> 00:33:33,680 Come on, now. 741 00:33:35,320 --> 00:33:40,820 This TPM demo, the green things up here are the default utilities that come with LibTPM. 742 00:33:41,220 --> 00:33:44,800 TPM demo, in theory, goes through and does all kinds of cool stuff to the chip to show 743 00:33:44,800 --> 00:33:45,400 you that it's working. 744 00:33:45,900 --> 00:33:48,780 This is what you get when you don't start the chip up, okay? 745 00:33:48,880 --> 00:33:52,580 It just says error code 38, which if you flip through all the documentation and the 746 00:33:52,580 --> 00:33:55,440 header files, you eventually realize that it thinks that, oh, it's not turned on. 747 00:33:56,000 --> 00:33:56,360 So... 748 00:33:56,360 --> 00:34:03,240 There actually was no utility to turn it on, so I had to use my immense C coding foo to 749 00:34:03,240 --> 00:34:07,060 write a five-line program called TPM Startup. 750 00:34:07,200 --> 00:34:07,820 Trust me. 751 00:34:07,900 --> 00:34:11,400 If you've ever seen me code, that was actually an adventure, okay? 752 00:34:12,040 --> 00:34:16,880 I was debugging something for the Hacker Arcade at ShmooCon, and Praveer, one of the guys 753 00:34:16,880 --> 00:34:20,760 in Kenshoda that helps run the capture of the flag, he was debugging it for me. 754 00:34:20,880 --> 00:34:24,600 And he's like, dude, you've declared a function inside a conditional. 755 00:34:25,100 --> 00:34:25,620 Like... 756 00:34:26,360 --> 00:34:29,000 The function doesn't exist because your conditional didn't match, and so the rest of your code 757 00:34:29,000 --> 00:34:29,480 doesn't run. 758 00:34:29,600 --> 00:34:30,000 I'm like... 759 00:34:31,160 --> 00:34:32,000 That's not normal? 760 00:34:34,480 --> 00:34:34,840 So... 761 00:34:35,340 --> 00:34:39,500 Me trying to make this thing and then get, like, the makefiles all set up, makefile.in 762 00:34:39,500 --> 00:34:43,720 and .am, my god, I was like, you know, peyote trip, whoo, it was a lot of fun. 763 00:34:44,320 --> 00:34:49,600 So anyway, we do a TPM startup, and, you know, you get this incredibly verbose message that 764 00:34:49,600 --> 00:34:53,200 says it's been successfully started, and now we'll attempt fate and see if it was true. 765 00:34:53,320 --> 00:34:54,900 Oh, now a bunch of crap scrolls by. 766 00:34:54,900 --> 00:34:57,900 Demos are great when all they show is hex, right? 767 00:34:59,680 --> 00:35:00,520 So a few... 768 00:35:01,060 --> 00:35:01,580 Some applause. 769 00:35:02,380 --> 00:35:06,400 This is actually where Caesar's Challenge is going to be, if anyone wants to take that 770 00:35:06,400 --> 00:35:06,600 down. 771 00:35:08,720 --> 00:35:09,240 Let's see. 772 00:35:09,280 --> 00:35:10,100 Scrolling up to the top. 773 00:35:12,300 --> 00:35:16,480 All we're doing is basically getting the capabilities information, you know, what can this chip 774 00:35:16,480 --> 00:35:16,680 do. 775 00:35:16,940 --> 00:35:17,700 It's a lot of hex. 776 00:35:17,800 --> 00:35:18,820 I'm not going to dive through it. 777 00:35:18,900 --> 00:35:20,180 There's a few interesting bits. 778 00:35:20,460 --> 00:35:22,800 One, we're getting PCR registers here. 779 00:35:22,980 --> 00:35:23,900 These PCR05. 780 00:35:24,640 --> 00:35:24,880 Yeah. 781 00:35:24,900 --> 00:35:25,040 PCR05. 782 00:35:25,620 --> 00:35:26,100 PCR06. 783 00:35:26,960 --> 00:35:27,440 PCR07. 784 00:35:27,700 --> 00:35:31,900 These are different registers that, in theory, could contain specific information or hash 785 00:35:31,900 --> 00:35:34,180 information about configuration on my machine. 786 00:35:34,440 --> 00:35:36,720 Serial numbers, manufacturers, that kind of thing. 787 00:35:36,960 --> 00:35:40,360 Right now, what's interesting is, by default, there's actually nothing in them. 788 00:35:40,940 --> 00:35:43,800 We scroll down, and at some point, they start turning into Fs. 789 00:35:43,860 --> 00:35:46,100 So we get the higher level PCR registers. 790 00:35:46,280 --> 00:35:46,920 There's nothing there. 791 00:35:47,140 --> 00:35:50,920 Now we get all the way down to the bottom, and there's two big blobs of data. 792 00:35:51,180 --> 00:35:54,140 These are the public keys that uniquely identify this TPM. 793 00:35:54,140 --> 00:35:54,640 Okay? 794 00:35:55,480 --> 00:35:58,280 These are kind of secret, kind of not public keys. 795 00:35:58,500 --> 00:36:01,920 They're not something you should really let off your box, but if you're really crazy, 796 00:36:02,080 --> 00:36:05,340 you can take a picture of this and then try to own my TPM on my machine. 797 00:36:05,920 --> 00:36:06,880 More power to you. 798 00:36:06,960 --> 00:36:11,900 Again, has anyone managed to Google and find Maxis' patches? 799 00:36:13,360 --> 00:36:13,760 See? 800 00:36:14,080 --> 00:36:14,940 That's just not cool. 801 00:36:15,280 --> 00:36:18,340 I was hoping somebody would have, because largely, I haven't found them. 802 00:36:18,380 --> 00:36:19,240 I'm very curious, too. 803 00:36:20,680 --> 00:36:23,120 Anyway, these are the keys that uniquely identify my system. 804 00:36:23,120 --> 00:36:26,620 They'll export it, and so if I want to interact with it, if I want to sign things, put new 805 00:36:26,620 --> 00:36:30,020 keys on there, export keys, this is the key that I have to use to do that. 806 00:36:30,220 --> 00:36:33,780 I can reset the whole system and make a generated new key, but that's going to screw up previous 807 00:36:33,780 --> 00:36:35,100 transactions that I already had. 808 00:36:35,780 --> 00:36:37,020 Anyway, that's the demo. 809 00:36:38,060 --> 00:36:41,600 There's a few things that were interesting about getting this whole thing working, and 810 00:36:41,600 --> 00:36:45,180 we actually have code now that will run and do this automatically. 811 00:36:45,900 --> 00:36:48,700 First of all, this thing doesn't use a BIOS. 812 00:36:48,840 --> 00:36:50,360 I think a lot of you probably already know that. 813 00:36:50,380 --> 00:36:51,040 It uses EFI. 814 00:36:51,860 --> 00:36:57,260 EFI is a pretty neat little bootloading thingamabob, but it's a real pain in the butt to build 815 00:36:57,260 --> 00:36:59,060 live CDs and make things work on it. 816 00:36:59,420 --> 00:37:01,880 They made this thing called Boot Camp that emulates a BIOS. 817 00:37:02,040 --> 00:37:03,820 I didn't want to actually touch my hard drive. 818 00:37:03,880 --> 00:37:05,740 I wanted to boot something to an external USB disk. 819 00:37:06,100 --> 00:37:10,780 So after some wrestling, I actually managed to take the live CD of Ubuntu that booted, 820 00:37:10,800 --> 00:37:15,740 put it onto a USB disk, upgrade it, get a new kernel on it, make all the TPM stuff work, 821 00:37:15,820 --> 00:37:18,760 get the configuration right, and then I tried to burn a live CD. 822 00:37:20,080 --> 00:37:21,020 I made about $100. 823 00:37:21,020 --> 00:37:25,520 I made about 40 coasters and decided at that point I was done, and all I did was upload 824 00:37:25,520 --> 00:37:28,140 a gigantic tarball up onto the website. 825 00:37:28,440 --> 00:37:34,880 So there's like a 680-meg tarball, which is just basically a file system, nothing more 826 00:37:34,880 --> 00:37:35,840 glamorous than that. 827 00:37:36,000 --> 00:37:40,760 You download it, you drop it on a USB disk, and then you plug it in, and you can boot 828 00:37:40,760 --> 00:37:42,780 Ubuntu and play with the TPM on your Mac. 829 00:37:43,100 --> 00:37:48,460 And actually, it's kind of nice just to have an external Mac disk or an external whoosie-whatsit 830 00:37:48,460 --> 00:37:51,000 Linux disk to be able to boot on your PowerBook. 831 00:37:51,020 --> 00:37:53,120 So I saved you all the hassle in figuring out how to do that. 832 00:37:53,180 --> 00:37:54,220 You can just download it and do it. 833 00:37:54,720 --> 00:37:57,020 Hopefully I'll make a live CD once my brain recovers. 834 00:37:57,500 --> 00:37:58,360 Trusted Network Connect. 835 00:38:00,680 --> 00:38:04,360 So network access control, network access protection, these are neat little buzzwords 836 00:38:04,360 --> 00:38:04,860 these days. 837 00:38:05,120 --> 00:38:08,400 We're trying to protect access to our enterprise networks more and more. 838 00:38:08,800 --> 00:38:14,740 Rather than solving the entire MLS signed object trusted boot problem all at one shot, 839 00:38:14,960 --> 00:38:17,980 something that TCG is doing is it has this thing called Trusted Network Connect. 840 00:38:18,240 --> 00:38:20,980 The idea here is that it's a formal... 841 00:38:20,980 --> 00:38:24,900 It's a specification to control how systems connect to the network. 842 00:38:25,060 --> 00:38:29,400 For all intents and purposes, it's 802.1X back-ended into a TPM chip. 843 00:38:30,000 --> 00:38:33,220 It's doing authentication of the device with a device-specific key. 844 00:38:33,440 --> 00:38:36,900 There's a key, it comes off the TPM, goes through the authentication process. 845 00:38:37,120 --> 00:38:40,800 Now the device, not the user, the device is authenticated on the network. 846 00:38:40,980 --> 00:38:45,000 You can do all the typical quarantine and patching and everything that you want to do 847 00:38:45,000 --> 00:38:46,340 under the guise of TNC. 848 00:38:46,820 --> 00:38:50,080 Juniper has a solution that's TNC compliant. 849 00:38:50,340 --> 00:38:50,960 It's called TNC-compliant. 850 00:38:50,980 --> 00:38:53,680 Cisco has a competing solution that is not TNC-compliant. 851 00:38:53,860 --> 00:38:54,720 They've got their own thing. 852 00:38:54,820 --> 00:38:56,340 Microsoft has their own way of doing it. 853 00:38:56,500 --> 00:39:00,020 No one's bought into the church of TNC really heavily yet, but there are options. 854 00:39:00,100 --> 00:39:01,580 You can actually go and deploy them if you desire. 855 00:39:02,740 --> 00:39:08,040 Here's a really bad diagram I lifted from a website that just has arrows and boxes that 856 00:39:08,040 --> 00:39:09,120 describes the TNC. 857 00:39:13,920 --> 00:39:16,060 Anyway, phenomenally useful slide. 858 00:39:16,600 --> 00:39:17,400 Other capabilities. 859 00:39:17,940 --> 00:39:20,480 Now that we've talked about the low-level bits, like, hey, you can encrypt data. 860 00:39:20,480 --> 00:39:21,060 You can sign data. 861 00:39:21,200 --> 00:39:21,660 That's awesome. 862 00:39:21,740 --> 00:39:22,380 We could do that anyway. 863 00:39:23,020 --> 00:39:24,020 What else can you do? 864 00:39:24,140 --> 00:39:25,040 Well, higher-level issues. 865 00:39:25,280 --> 00:39:26,580 Data at rest security, right? 866 00:39:26,720 --> 00:39:29,920 You want to secure a hard drive or something like that. 867 00:39:30,260 --> 00:39:35,260 Vista has the ability to use TPM for key storage and an eCure container. 868 00:39:35,620 --> 00:39:36,100 Oh, my God. 869 00:39:36,120 --> 00:39:37,260 I didn't copy and edit this at all. 870 00:39:37,840 --> 00:39:39,400 It's this thing called BitLocker. 871 00:39:40,420 --> 00:39:41,780 This is kind of a funny one. 872 00:39:41,920 --> 00:39:46,360 How many people actually use encrypted drives or encrypted volumes for what they do? 873 00:39:46,840 --> 00:39:47,960 That's not bad. 874 00:39:49,200 --> 00:39:50,460 In the general population, it's a lot. 875 00:39:50,480 --> 00:39:52,160 The number of hands that go up are far fewer. 876 00:39:52,440 --> 00:39:56,240 And it strikes me that at an enterprise level, it's a real pain in the butt to do that. 877 00:39:56,380 --> 00:40:02,920 And after this VA laptop thing got stolen, first of all, every laptop on every desk at 878 00:40:02,920 --> 00:40:06,160 every corporation is a liability to that corporation. 879 00:40:07,100 --> 00:40:11,900 If it goes out the door, you're going to notify somebody of some identity theft threat. 880 00:40:12,100 --> 00:40:13,180 It's a fact of life. 881 00:40:13,460 --> 00:40:16,580 There's just stuff on everyone's hard drives that shouldn't leave the organization. 882 00:40:16,980 --> 00:40:20,360 And I don't know how CIOs sleep at night knowing that they've got people. 883 00:40:20,360 --> 00:40:23,120 I've seen people completely untrained in InfoSec and OpSec running around with these little 884 00:40:23,120 --> 00:40:23,460 laptops. 885 00:40:24,640 --> 00:40:26,880 Just, oh, I left it in my car and the car door was open. 886 00:40:26,940 --> 00:40:27,400 Now it's gone. 887 00:40:27,560 --> 00:40:27,700 Oops. 888 00:40:27,980 --> 00:40:30,500 40 million social security numbers go away. 889 00:40:31,640 --> 00:40:33,660 You read these websites. 890 00:40:34,140 --> 00:40:35,020 Reporters write about this. 891 00:40:35,140 --> 00:40:35,800 Oh, you want to comment. 892 00:40:35,920 --> 00:40:38,300 Someone's like, oh, this all could have been solved with drive encryption. 893 00:40:39,080 --> 00:40:39,800 All right. 894 00:40:40,020 --> 00:40:40,940 Give me a break. 895 00:40:41,240 --> 00:40:42,180 It's not that easy. 896 00:40:42,400 --> 00:40:45,780 It's not like you snap your fingers and you have enterprise drive encryption for 10,000 897 00:40:45,780 --> 00:40:46,080 users. 898 00:40:46,740 --> 00:40:49,040 Maybe a few people do, but it's certainly not the norm. 899 00:40:49,160 --> 00:40:50,340 There aren't a lot of tools out there to do that. 900 00:40:51,400 --> 00:40:57,440 BitLocker, technology-wise, is really cool, but it's not really, there's no handle on 901 00:40:57,440 --> 00:40:59,580 how do you operate, how do you maintain this in the enterprise. 902 00:40:59,760 --> 00:41:04,280 Microsoft's trying to get that together, but it's not, no one's really deployed this yet. 903 00:41:04,360 --> 00:41:08,520 We don't know what the ramifications of having globally encrypted disks with hardware keys 904 00:41:09,020 --> 00:41:11,980 that you have to export and track the key material and all this crap. 905 00:41:12,260 --> 00:41:13,420 Nobody knows how that's going to work. 906 00:41:14,580 --> 00:41:16,040 Soapbox, exit stage left. 907 00:41:17,620 --> 00:41:18,220 Crypto API. 908 00:41:18,500 --> 00:41:19,360 No confusion. 909 00:41:19,360 --> 00:41:22,040 No confusion if an algorithm is implemented correctly anymore, because it's all in the 910 00:41:22,040 --> 00:41:24,140 hardware, and assuming you trust the hardware, then everything's okay. 911 00:41:25,340 --> 00:41:30,100 Note, there's an OpenSSL library available on the Trousers website that's been compiled 912 00:41:30,100 --> 00:41:35,960 against the TPM, so you can basically use OpenSSL back into the TPM for the crypto 913 00:41:35,960 --> 00:41:37,020 capabilities and key storage. 914 00:41:37,360 --> 00:41:37,980 Kind of cool. 915 00:41:38,820 --> 00:41:39,540 Remote attestation. 916 00:41:39,860 --> 00:41:42,940 This is where you can tell a remote device, hey, I'm okay, or hey, I'm not okay. 917 00:41:43,640 --> 00:41:44,200 Trusted boot. 918 00:41:44,320 --> 00:41:45,580 This is really the kick in the pants, right? 919 00:41:46,440 --> 00:41:47,300 I got a TPM. 920 00:41:47,500 --> 00:41:48,800 I got a secure bootloader. 921 00:41:48,840 --> 00:41:49,200 Trusted. 922 00:41:49,360 --> 00:41:50,000 Proveably secure. 923 00:41:50,100 --> 00:41:50,720 Little bits of code. 924 00:41:50,900 --> 00:41:52,420 Now I can load a signed kernel. 925 00:41:53,060 --> 00:41:57,420 Signed does not mean secure, but it means it's at least the kernel I intended to load. 926 00:41:57,940 --> 00:42:03,340 And then I can load signed drivers, signed applications, and at least I know what I meant 927 00:42:03,340 --> 00:42:04,260 to do happened. 928 00:42:04,600 --> 00:42:04,920 Okay? 929 00:42:05,120 --> 00:42:06,020 It wasn't a root kit. 930 00:42:06,160 --> 00:42:06,840 It wasn't something else. 931 00:42:06,940 --> 00:42:08,720 Everything that I intended to have happen happened. 932 00:42:09,220 --> 00:42:12,740 Now it still could be chock full of holes and the worst smelling crap in the world, 933 00:42:12,880 --> 00:42:14,920 but at least I know I had a good start at it. 934 00:42:15,480 --> 00:42:16,760 This is a really neat capability. 935 00:42:17,120 --> 00:42:18,400 You can't really do this easily today. 936 00:42:18,400 --> 00:42:23,580 I mean, you can try, but this will, you know, Microsoft and Linux and these other vendors 937 00:42:23,580 --> 00:42:26,100 are all working toward a solution that will allow us to do this. 938 00:42:26,380 --> 00:42:29,580 Hey, can you imagine being able to boot your box and know definitively, at least right 939 00:42:29,580 --> 00:42:34,200 now I know there's no root kits running without having any other security software running, 940 00:42:34,300 --> 00:42:35,900 no anti-virus, no anti-spyware, nothing. 941 00:42:36,460 --> 00:42:37,060 It's kind of neat. 942 00:42:37,240 --> 00:42:38,900 It's a neat little future that we can think about. 943 00:42:39,660 --> 00:42:41,140 I like to call it fairy world. 944 00:42:43,600 --> 00:42:44,500 Types of attestation. 945 00:42:46,020 --> 00:42:48,220 I only got five minutes, so I got to drop the hammer here. 946 00:42:48,760 --> 00:42:49,740 Attestation by the TPM. 947 00:42:49,920 --> 00:42:52,220 This basically says I'm a TPM and I'm here. 948 00:42:52,480 --> 00:42:53,500 Nothing more complicated. 949 00:42:54,060 --> 00:42:55,040 Attestation to the platform. 950 00:42:55,300 --> 00:42:57,400 This basically says I'm here and I'm okay. 951 00:42:57,660 --> 00:42:59,140 You can trust me to tell you things. 952 00:42:59,600 --> 00:43:03,660 Attestation of the platform is this is where you say, and the entire operating system is 953 00:43:03,660 --> 00:43:04,400 screwed up. 954 00:43:04,660 --> 00:43:05,060 Okay. 955 00:43:05,540 --> 00:43:09,080 So if you've gone through number one and number two, you can at least trust the answer of 956 00:43:09,080 --> 00:43:10,400 is the whole operating system okay? 957 00:43:10,560 --> 00:43:11,100 They'll say no. 958 00:43:11,320 --> 00:43:12,140 Oh God, no. 959 00:43:12,260 --> 00:43:12,940 You're owned. 960 00:43:13,000 --> 00:43:14,260 You got that Sony root kit, man. 961 00:43:14,860 --> 00:43:15,260 Rocks. 962 00:43:17,320 --> 00:43:17,720 Woo. 963 00:43:17,840 --> 00:43:18,040 Yeah. 964 00:43:18,080 --> 00:43:18,380 Got it. 965 00:43:18,480 --> 00:43:18,520 Woo. 966 00:43:18,700 --> 00:43:19,900 For the Sony root kit up front. 967 00:43:20,040 --> 00:43:20,400 Hi. 968 00:43:20,580 --> 00:43:21,420 You work for Sony, sir? 969 00:43:21,960 --> 00:43:22,580 Oh, no. 970 00:43:23,220 --> 00:43:25,040 He's got the RSA barcode shirt on. 971 00:43:25,060 --> 00:43:25,640 That's pretty hot. 972 00:43:26,180 --> 00:43:26,880 Talk to me later. 973 00:43:29,100 --> 00:43:30,560 And authentication of the platform. 974 00:43:30,700 --> 00:43:31,560 This is device authentication. 975 00:43:32,540 --> 00:43:33,340 Hey, nothing. 976 00:43:33,940 --> 00:43:34,860 It's not rocket science. 977 00:43:35,260 --> 00:43:38,120 I mean, I hope I bored you in the last 20 minutes because this is not rocket science, 978 00:43:38,280 --> 00:43:38,380 right? 979 00:43:38,520 --> 00:43:39,400 Nor is it evil. 980 00:43:39,820 --> 00:43:40,840 But it's pretty cool. 981 00:43:41,220 --> 00:43:45,160 Like this is really neat stuff to be able to do and say, hey, this is actually grounded 982 00:43:45,160 --> 00:43:47,840 in this little hardware thing that's really hard to subvert. 983 00:43:47,840 --> 00:43:48,300 Okay? 984 00:43:48,540 --> 00:43:51,620 We don't have to layer a bunch of crap on top of it and then hope for the best. 985 00:43:51,840 --> 00:43:56,000 We can actually have a pretty reasonable proof that this thing is doing what it's supposed 986 00:43:56,000 --> 00:43:56,380 to do. 987 00:43:56,700 --> 00:43:58,860 Again, we're not solving the assurance problem. 988 00:43:59,100 --> 00:44:00,940 We're solving the integrity problem here. 989 00:44:01,760 --> 00:44:05,200 Again, I haven't said that yet, but I said it like you were all internalizing that whole 990 00:44:05,200 --> 00:44:05,640 statement. 991 00:44:05,820 --> 00:44:06,520 So first, the bad. 992 00:44:07,000 --> 00:44:09,600 Opportunities abound for loss of control of content stored in a computer. 993 00:44:09,740 --> 00:44:10,000 Yeah. 994 00:44:10,060 --> 00:44:10,360 Okay. 995 00:44:10,500 --> 00:44:11,140 We get it. 996 00:44:11,260 --> 00:44:12,380 Failed hardware is an issue. 997 00:44:12,500 --> 00:44:14,340 Users aren't used to thinking about key management. 998 00:44:14,780 --> 00:44:15,140 Right? 999 00:44:15,300 --> 00:44:17,320 Like how many people back up their SSH keys? 1000 00:44:19,000 --> 00:44:21,120 How many people wish they had backed up their SSH keys? 1001 00:44:21,720 --> 00:44:22,280 There you go. 1002 00:44:22,800 --> 00:44:25,040 And we're all smart computer security folks, you know? 1003 00:44:25,080 --> 00:44:28,640 When my mom calls me up and says, hey, I have to back up my TPM keys and I'm not sure how 1004 00:44:28,640 --> 00:44:30,100 to do it, it's a bad day. 1005 00:44:30,460 --> 00:44:32,700 It's going to be a really bad day. 1006 00:44:34,680 --> 00:44:36,220 Operating system vendors may get territorial. 1007 00:44:36,600 --> 00:44:37,560 I mean, honest to God. 1008 00:44:37,640 --> 00:44:39,040 Like, you know, it was pointed out by the pirate. 1009 00:44:39,760 --> 00:44:42,060 Windows Generative Advantage could decide, hey, you've got Mozilla? 1010 00:44:42,200 --> 00:44:43,160 I don't like Mozilla. 1011 00:44:43,260 --> 00:44:44,460 I'm not going to give you a security update. 1012 00:44:45,000 --> 00:44:46,520 I'm not saying Microsoft's going to do that. 1013 00:44:46,520 --> 00:44:47,600 But the potential exists. 1014 00:44:47,920 --> 00:44:51,900 This is where technology ends and legal and market pressures begin. 1015 00:44:52,240 --> 00:44:52,520 Okay? 1016 00:44:52,600 --> 00:44:54,160 Let's continue to make that distinction. 1017 00:44:54,420 --> 00:44:56,820 I'm talking about the technology and the good that can become of it. 1018 00:44:56,880 --> 00:44:58,960 The bad, clearly, bad things can become of it. 1019 00:44:59,000 --> 00:44:59,980 That will be solved differently. 1020 00:45:00,200 --> 00:45:05,640 If you try to make technology solve the problem of not having bad things happen, you've lost. 1021 00:45:05,940 --> 00:45:06,180 Okay? 1022 00:45:06,240 --> 00:45:10,180 You can't make privacy privacy because you made really cool stuff and you built an Uber 1023 00:45:10,180 --> 00:45:13,460 secure multi-node network that people can't trace crap through. 1024 00:45:13,660 --> 00:45:15,220 People are just going to come steal the computer. 1025 00:45:15,560 --> 00:45:16,040 Okay? 1026 00:45:16,520 --> 00:45:18,440 You know, you can't solve all these problems with technology. 1027 00:45:18,780 --> 00:45:20,440 You can't solve privacy all the way with technology. 1028 00:45:20,960 --> 00:45:23,460 There's market and legal issues that are going to step in. 1029 00:45:23,540 --> 00:45:25,700 So you just kind of need to take the red pill and accept it. 1030 00:45:26,040 --> 00:45:29,140 The good, trusted boot can make a big dent in controlling malicious code in the enterprise. 1031 00:45:29,740 --> 00:45:32,460 Integrity of your boot process is a really cool thing. 1032 00:45:33,260 --> 00:45:37,360 Trusted network access, we're already, the train's already left the station. 1033 00:45:37,460 --> 00:45:38,100 We're doing 1X. 1034 00:45:38,200 --> 00:45:40,800 We're doing NAC, NAP, all that kind of stuff. 1035 00:45:40,940 --> 00:45:44,880 Now we can tighten the hardware and even more assurance of the device's connection to the 1036 00:45:44,880 --> 00:45:45,120 network. 1037 00:45:45,120 --> 00:45:48,340 We have the ability to protect mobile media and other data at rest situations. 1038 00:45:48,580 --> 00:45:56,840 The ugly, we're all distrustful, angry, drunken people and this represents a big shift for 1039 00:45:56,840 --> 00:45:57,240 our world. 1040 00:45:57,560 --> 00:45:58,400 It really does. 1041 00:45:58,520 --> 00:46:01,100 It changes everything we know about InfoSec for the last 40 years. 1042 00:46:01,220 --> 00:46:05,300 This defense in depth idea changes because now we start talking about this bottom up 1043 00:46:05,300 --> 00:46:07,680 provable security, at least at a lower level. 1044 00:46:08,260 --> 00:46:12,220 And it really, when you think and you look at MLS and you look at all these signed objects 1045 00:46:12,220 --> 00:46:15,100 running around, this is not how we think about systems. 1046 00:46:15,120 --> 00:46:16,760 This is not how we build systems today. 1047 00:46:17,140 --> 00:46:20,160 And it really is going to cause us to have to change how we look at this stuff. 1048 00:46:20,780 --> 00:46:26,840 Vista has a TPM support, but you have to have a 1.2 version TPM, which there aren't 1049 00:46:26,840 --> 00:46:27,620 a lot of them out there. 1050 00:46:27,680 --> 00:46:28,480 This one's 1.1. 1051 00:46:28,520 --> 00:46:31,400 Most of the ones in the ThinkPads that are out there are 1.1 as well. 1052 00:46:32,560 --> 00:46:36,900 The Vista TPM developer support largely consists of documents that have function calls and 1053 00:46:36,900 --> 00:46:40,860 then documentation to be written later underneath the function call. 1054 00:46:41,040 --> 00:46:42,740 So there's really not a lot there. 1055 00:46:43,220 --> 00:46:44,680 Where trusted computing is going? 1056 00:46:44,860 --> 00:46:45,100 I don't know. 1057 00:46:45,100 --> 00:46:46,560 Many systems have TPMs. 1058 00:46:46,580 --> 00:46:47,280 Not a shock. 1059 00:46:47,400 --> 00:46:47,920 Huge capability. 1060 00:46:48,420 --> 00:46:49,180 End rant. 1061 00:46:49,400 --> 00:46:52,080 A couple other points I want to make before I end this thing. 1062 00:46:52,240 --> 00:46:53,200 One, ShmooCon 3. 1063 00:46:53,480 --> 00:46:54,660 How many people went to ShmooCon? 1064 00:46:55,360 --> 00:46:55,800 Woo! 1065 00:46:56,980 --> 00:46:57,620 All right. 1066 00:46:57,760 --> 00:46:59,640 Well, I hope that got the attention in another room. 1067 00:47:01,080 --> 00:47:05,040 So someone actually said, I've been to all three ShmooCons. 1068 00:47:05,160 --> 00:47:05,620 They were all great. 1069 00:47:05,800 --> 00:47:06,680 There's actually only been two. 1070 00:47:07,380 --> 00:47:10,040 That guy had a really good time in one of them, apparently. 1071 00:47:11,900 --> 00:47:15,040 ShmooCon 3 will be March 23rd to 25th, 2016. 1072 00:47:15,040 --> 00:47:16,740 In 2007, people may ask, why so late? 1073 00:47:16,780 --> 00:47:20,400 If you didn't in January last year, it's because I didn't get to go see my folks over Christmas 1074 00:47:20,400 --> 00:47:23,060 time because me and my wife and everybody else were getting ready for ShmooCon. 1075 00:47:23,500 --> 00:47:27,240 So I'm being selfish with my family, and we're going to go see our folks, and then 1076 00:47:27,240 --> 00:47:28,160 we're going to have ShmooCon in March. 1077 00:47:28,780 --> 00:47:30,200 Same place, Warman Park Marriott. 1078 00:47:30,300 --> 00:47:30,840 Very nice venue. 1079 00:47:31,020 --> 00:47:31,780 Slight change in structure. 1080 00:47:32,120 --> 00:47:32,820 The highlights. 1081 00:47:33,440 --> 00:47:36,920 We're going to do 20-minute sessions in the afternoon on Friday, which will be kind of 1082 00:47:36,920 --> 00:47:37,140 cool. 1083 00:47:37,680 --> 00:47:40,000 Kind of turbo talky, but it's just going to be one big track. 1084 00:47:40,380 --> 00:47:41,160 Everybody's going to be in it. 1085 00:47:41,480 --> 00:47:42,440 And then we're going to do... 1086 00:47:42,440 --> 00:47:45,020 How many people remember the NetWorld Live? 1087 00:47:45,040 --> 00:47:46,420 The old network they used to build? 1088 00:47:47,080 --> 00:47:48,240 It was a NetWorld or Interop? 1089 00:47:48,500 --> 00:47:49,140 NetWorld Interop? 1090 00:47:49,400 --> 00:47:49,680 Interop. 1091 00:47:49,800 --> 00:47:52,900 Yeah, the big Interop network, and they got all these hotshots and vendors together, and 1092 00:47:52,900 --> 00:47:53,740 they plugged a bunch of stuff in. 1093 00:47:53,800 --> 00:47:54,780 They made the network, and they ran. 1094 00:47:55,020 --> 00:47:57,800 And then it became more commercial, and then it got relegated to the labs, and then it 1095 00:47:57,800 --> 00:47:58,360 just kind of went away. 1096 00:47:58,920 --> 00:48:01,140 What we're going to try to do is the same type of thing for ShmooCon. 1097 00:48:01,400 --> 00:48:02,340 We're going to get in vendors. 1098 00:48:02,480 --> 00:48:03,560 We're going to get in smart people. 1099 00:48:03,600 --> 00:48:06,040 We're going to get in people that want to learn, and we're going to build an enterprise 1100 00:48:06,040 --> 00:48:10,560 class security network to run the con, or else we're just going to use Twisted Pair 1101 00:48:10,560 --> 00:48:12,120 and lay it on the floor if it doesn't all work out. 1102 00:48:12,120 --> 00:48:17,720 So one guy will be tagged with bringing like 4,000 feet of cable and crimpers, and the 1103 00:48:17,720 --> 00:48:18,980 rest of us will go build a secure network. 1104 00:48:20,760 --> 00:48:23,000 So anyway, we hope to have some fun with that. 1105 00:48:23,100 --> 00:48:24,240 So that's kind of the few days beforehand. 1106 00:48:24,560 --> 00:48:26,920 We're still going to have contests, Hacker Arcade, all that kind of stuff. 1107 00:48:27,100 --> 00:48:28,120 CFP will be out next week. 1108 00:48:28,260 --> 00:48:29,520 Tickets on sale next month. 1109 00:48:30,280 --> 00:48:31,380 One last item. 1110 00:48:31,540 --> 00:48:33,700 I know I'm going to get bum-rushed here off the stage. 1111 00:48:34,500 --> 00:48:40,060 We were given the opportunity to mentor four projects under the Google Summer of Code. 1112 00:48:40,240 --> 00:48:41,360 I wanted to mention them really quick. 1113 00:48:41,360 --> 00:48:45,500 If you go to code.google.com slash SOC, you'll learn more about Summer of Code. 1114 00:48:45,620 --> 00:48:46,540 I don't have time to explain it. 1115 00:48:46,920 --> 00:48:47,760 Four projects. 1116 00:48:47,860 --> 00:48:48,760 First one's Firekeeper. 1117 00:48:48,940 --> 00:48:52,820 This is a browser-level intrusion detection, looking for cross-site scripting, phishing 1118 00:48:52,820 --> 00:48:56,300 sites, all that kind of stuff on the browser side, and blocking them from causing anything 1119 00:48:56,300 --> 00:48:57,080 bad to you. 1120 00:48:57,140 --> 00:48:57,720 It's pretty neat. 1121 00:48:58,460 --> 00:49:00,900 Firekeeper.mosdev.org for more information on that. 1122 00:49:01,300 --> 00:49:06,280 GPG Grease Monkey, client-side mail encryption, now via a Firefox extension. 1123 00:49:06,460 --> 00:49:09,840 We were originally trying to do it via Grease Monkey, which is basically JavaScript rewriting 1124 00:49:09,840 --> 00:49:11,340 the pages on the fly to do neat stuff. 1125 00:49:11,360 --> 00:49:14,980 The problem with JavaScript is there's this little security thing that doesn't allow 1126 00:49:14,980 --> 00:49:19,280 you to access local binaries on the machine, like, say, GPG. 1127 00:49:19,760 --> 00:49:24,200 The student came to me one day and said, I think I'm going to have to write GPG in JavaScript. 1128 00:49:24,640 --> 00:49:25,080 Is that okay? 1129 00:49:26,280 --> 00:49:26,640 No. 1130 00:49:27,060 --> 00:49:27,420 No. 1131 00:49:27,480 --> 00:49:28,760 I don't think that's a good idea. 1132 00:49:30,040 --> 00:49:32,920 I don't want to see you on the news at the top of a bell tower. 1133 00:49:33,160 --> 00:49:33,200 Ah! 1134 00:49:34,980 --> 00:49:36,400 Des, des, es, ah! 1135 00:49:38,480 --> 00:49:40,980 Rather than do that, we went to a Firefox extension. 1136 00:49:40,980 --> 00:49:42,340 It doesn't have the security concerns. 1137 00:49:42,600 --> 00:49:44,820 We currently have an implementation for Gmail and Yahoo. 1138 00:49:45,260 --> 00:49:48,000 There's the SVN information if you want to go get this version stuff. 1139 00:49:48,520 --> 00:49:50,000 This will all be on my website later. 1140 00:49:50,580 --> 00:49:54,340 This is a screenshot that's so tiny that you have no choice but to believe that it 1141 00:49:54,340 --> 00:49:54,660 works. 1142 00:49:55,920 --> 00:49:58,640 There are little GPG encrypt and sign things there. 1143 00:49:58,800 --> 00:49:59,340 It's kind of funny. 1144 00:49:59,420 --> 00:50:04,260 Johnny Long was giving his Hack in Hollywood talk, and he had all these Gmail screens 1145 00:50:04,260 --> 00:50:07,640 that had all this extra functionality, and he thought he did it all with Grease Monkey. 1146 00:50:07,880 --> 00:50:10,960 So when we started this project, me and the student asked, we said, Johnny, why don't 1147 00:50:10,960 --> 00:50:11,560 you do that? 1148 00:50:11,660 --> 00:50:13,840 And he says, oh, I just Photoshopped that. 1149 00:50:17,120 --> 00:50:17,600 Oh. 1150 00:50:19,680 --> 00:50:22,420 So we've now fixed that problem. 1151 00:50:23,500 --> 00:50:24,420 Two other things. 1152 00:50:24,560 --> 00:50:28,440 Online rainbow table lookup focused largely on increasing the speed of how fast you can 1153 00:50:28,440 --> 00:50:29,120 look up hashes. 1154 00:50:29,300 --> 00:50:34,400 There's a DNS interface, so if you're actually at a site where they can send out hashes in 1155 00:50:34,400 --> 00:50:38,340 the clear and get passwords in the clear on port 53, you probably have no security policy 1156 00:50:38,340 --> 00:50:39,300 problems whatsoever. 1157 00:50:40,460 --> 00:50:40,940 Anyway. 1158 00:50:40,960 --> 00:50:42,900 We've got basic search capabilities completed, et cetera. 1159 00:50:43,200 --> 00:50:44,060 Open security framework. 1160 00:50:44,320 --> 00:50:45,100 Pub's running this one. 1161 00:50:45,420 --> 00:50:47,800 It's basically a framework to supply network security analysis. 1162 00:50:48,000 --> 00:50:50,980 When I asked him for a synopsis, he says, well, you know, it's got a master client 1163 00:50:50,980 --> 00:50:51,680 slave architecture. 1164 00:50:53,620 --> 00:50:54,280 That was what he had. 1165 00:50:54,280 --> 00:50:55,200 Like, what does it do? 1166 00:50:55,300 --> 00:50:55,740 He's like, oh, you could. 1167 00:50:56,100 --> 00:50:57,120 Master can tell the clients and stuff. 1168 00:50:57,180 --> 00:50:58,760 The client sells slaves, and the slaves do whatever you want. 1169 00:51:00,340 --> 00:51:01,040 So there you go. 1170 00:51:03,320 --> 00:51:03,600 Anyway. 1171 00:51:03,820 --> 00:51:04,440 I'm out of time. 1172 00:51:04,580 --> 00:51:05,200 Go to ShmooCon. 1173 00:51:05,380 --> 00:51:06,820 If you have questions, come track me down outside. 1174 00:51:07,200 --> 00:51:07,660 Thanks, y'all. 1175 00:51:09,100 --> 00:51:09,380 1 1176 00:51:10,960 --> 00:51:11,480 Thank you very much.