1 00:00:00,000 --> 00:00:06,360 Welcome to my presentation on Measured Boot and UEFI, and thank you very much for coming, 2 00:00:06,480 --> 00:00:12,500 and also I want to thank DEF CON. It's a great honor to be up here, and this is a big crowd 3 00:00:12,500 --> 00:00:18,560 to be presenting to, so that's pretty cool. My name is Dan Griffin. I'm the president of JW 4 00:00:18,560 --> 00:00:25,260 Secure. We're a Seattle-based company that specializes in custom security software. So 5 00:00:25,260 --> 00:00:29,740 we've done a little bit of work in this space. Mostly what I'm talking about here is just 6 00:00:29,740 --> 00:00:34,040 kind of based on our experience on some recent projects that we've done for the past 12 to 18 7 00:00:34,040 --> 00:00:46,180 months. Before we talk about Measured Boot and UEFI in terms of technical details, I hope you'll 8 00:00:46,180 --> 00:00:52,900 excuse me to go into a brief digression. I want to try to motivate these subjects with not quite a 9 00:00:52,900 --> 00:00:58,460 real-world example, but anyway, what I thought was a cool one. Did everyone see James Bond 10 00:00:58,460 --> 00:00:59,380 Casino Royale? 11 00:00:59,740 --> 00:01:03,920 Not the spoof from way back but the one with the newest James Bond with Daniel Craig that 12 00:01:03,920 --> 00:01:11,660 came out in about 2006. Yeah, he's hot. So and actually supposedly my wife just told 13 00:01:11,660 --> 00:01:15,420 me that he was in the ‑‑ they did something with him in the Olympics opening ceremony. 14 00:01:16,440 --> 00:01:20,840 It's not a bad‑ass. I didn't get to catch it. Anyway, so if you didn't see Casino Royale 15 00:01:20,840 --> 00:01:29,180 or if you did, a reminder, the premise is that James Bond has to play a high‑stakes poker game to try to lure a financier of 16 00:01:30,420 --> 00:01:38,260 terrorism to the table. And so the idea is that if Bond can or I should say when Bond out wits the 17 00:01:38,260 --> 00:01:44,840 terrorist, they will be able to ‑‑ MI6 will be able to bring in the terrorist and interrogate him for 18 00:01:44,840 --> 00:01:53,400 all the information he has about other terrorists. So here's the thing though. Before the game, this 19 00:01:53,400 --> 00:01:58,620 guy on the right here in this picture, he's a Swiss banker. He shows up with his mobile banking 20 00:01:59,040 --> 00:02:04,800 kiosk. You can probably see where I'm going to go here. Apologies, I couldn't find a great 21 00:02:04,800 --> 00:02:08,040 picture of it without going through the movie and taking a screen shot which I didn't want 22 00:02:08,040 --> 00:02:12,420 to do. Anyway, it's just this stainless steel thing that you can see. Surely it's just a 23 00:02:12,420 --> 00:02:18,920 laptop, you know? Anyway, each player has to pick a pin code and they use that pin for 24 00:02:18,920 --> 00:02:24,960 securing their winnings, if any. But what we subsequently learn is that James Bond uses 25 00:02:24,960 --> 00:02:31,100 his new girlfriend's name as his pin code. So does that bother anybody else in this room? 26 00:02:33,780 --> 00:02:39,480 So I can think of just a few concerns off the top of my head. Even just a few, and by the 27 00:02:39,480 --> 00:02:46,440 way, the girlfriend's name is Vesper, V-E-S-P-E-R, okay? So not as bad a double entendre as 28 00:02:46,440 --> 00:02:53,060 like, you know, Pussy Galore or anything like that. But still fairly obvious, right? So even 29 00:02:53,060 --> 00:02:54,940 just a few socially engineered guesses on that, it's still fairly obvious, right? So 30 00:02:54,960 --> 00:02:58,240 if you're going to find a pin, you're going to find it. And, of course, a brute force attack 31 00:02:58,240 --> 00:03:05,200 is going to find it trivially. Second, even if Bond had chosen a better pin, what if there 32 00:03:05,200 --> 00:03:13,080 had been a root kit on that mobile kiosk? Right? Game over, right? And most of all, if 33 00:03:13,080 --> 00:03:18,500 Bond's account had been compromised before the end of the game, due, for example, to poor 34 00:03:18,500 --> 00:03:24,940 password policy enforcement? Or poor endpoint security enforcement by the bank? Or poor 35 00:03:24,960 --> 00:03:28,240 password security enforcement by the bank? Do we really think he still would have gotten 36 00:03:28,240 --> 00:03:33,640 the girl? No chance. Now, of course, if you remember the movie, you know that it didn't go 37 00:03:33,640 --> 00:03:38,480 down quite that simply. Turned out the girl had some issues. I will remind you, though, that 38 00:03:38,480 --> 00:03:45,880 she's an accountant. And so she surely would have cared. Anyway, obviously, you know, it's 39 00:03:45,880 --> 00:03:49,960 one of those things where it doesn't quite fit the plot for a real world security concern to 40 00:03:49,960 --> 00:03:53,260 come in. But that's the kind of thing that affects the rest of us, affects you and I. And it 41 00:03:53,260 --> 00:03:54,940 is very much a real world issue. 42 00:03:57,140 --> 00:04:02,880 So the question is what can we do to improve endpoint security in scenarios such as mobile 43 00:04:02,880 --> 00:04:10,040 banking, not just for James Bond, but for everybody? And with that in mind, UEFI is an 44 00:04:10,040 --> 00:04:15,880 important technology for protecting devices against root kits. Now, there's some tradeoffs, 45 00:04:15,960 --> 00:04:22,480 which I'll get to. And I also want to point out that the TPM chip can be used for protecting 46 00:04:22,480 --> 00:04:24,940 remote systems against compromised clients. And there's a lot of things that we can do to 47 00:04:24,940 --> 00:04:29,060 So that kind of works at the other end of the story, and I'll talk in detail about that as well. 48 00:04:30,280 --> 00:04:32,360 So let's look at how these two technologies work. 49 00:04:36,200 --> 00:04:39,560 UEFI is the Unified Extensible Firmware Interface. 50 00:04:39,680 --> 00:04:41,020 Kind of just rolls off the tongue. 51 00:04:42,000 --> 00:04:46,340 For the purpose of this discussion, UEFI is a programmable boot environment 52 00:04:47,080 --> 00:04:50,780 that is gradually replacing, let's call it just old school BIOS. 53 00:04:52,520 --> 00:04:54,740 TPM stands for the Trusted Platform Module. 54 00:04:55,540 --> 00:04:59,420 It's a crypto processor typically implemented either as its own chip on the motherboard 55 00:05:00,440 --> 00:05:02,800 or as part of a secure execution environment. 56 00:05:03,240 --> 00:05:06,520 And of course, this is the direction that we're more commonly going now 57 00:05:06,520 --> 00:05:08,520 in system-on-a-chip firmware. 58 00:05:10,380 --> 00:05:13,440 Secure boot is a feature of UEFI 59 00:05:13,440 --> 00:05:18,140 by which OEMs can control what boot images can be executed. 60 00:05:20,020 --> 00:05:20,760 Typically, secure boot is a feature of UEFI 61 00:05:20,760 --> 00:05:24,260 and a secure boot includes support both for whitelisting and blacklisting 62 00:05:24,260 --> 00:05:27,900 of code signing keys as well as of the boot binders themselves. 63 00:05:28,560 --> 00:05:33,680 So you can whitelist or blacklist a certificate or a public key, 64 00:05:34,380 --> 00:05:38,560 and you can whitelist or blacklist the hash of the image itself, either one. 65 00:05:40,680 --> 00:05:45,180 On the other hand, measured boot is a bootloader and operating system feature, 66 00:05:46,020 --> 00:05:50,740 and it uses the TPM to keep a record of early boot components as well. 67 00:05:50,760 --> 00:05:54,520 Now, a TPM chip isn't the only way 68 00:05:54,520 --> 00:05:56,580 that you can do something like measured boot. 69 00:05:57,180 --> 00:05:59,780 You could also implement something like this in UEFI. 70 00:06:00,240 --> 00:06:02,420 But for the purposes of what's available today 71 00:06:02,420 --> 00:06:05,660 and what's well-supported in developer kits and stuff like that, 72 00:06:05,800 --> 00:06:07,460 I'm going to just kind of draw that distinction 73 00:06:07,460 --> 00:06:10,840 between what's being done with UEFI and what's being done with TPM. 74 00:06:13,080 --> 00:06:15,920 Remote attestation is another TPM-based feature. 75 00:06:16,440 --> 00:06:20,440 It allows a boot log to be evaluated by a remote system, 76 00:06:21,540 --> 00:06:25,260 and for trust and policy decisions to be made based on the contents of that log. 77 00:06:26,700 --> 00:06:30,080 So you've got kind of two client pieces and one remote piece. 78 00:06:30,300 --> 00:06:33,460 You've got secure boot, the bootloader checker thing in UEFI. 79 00:06:34,300 --> 00:06:38,820 You've got measured boot, which is the bootloader and boot binary thing in TPM. 80 00:06:39,740 --> 00:06:41,440 And then you've got remote attestation, 81 00:06:41,620 --> 00:06:44,160 which allows you to take that boot log from the TPM, 82 00:06:44,740 --> 00:06:46,240 ship it off to a remote system, 83 00:06:46,380 --> 00:06:49,280 and for that remote system to be able to decide whether to trust it or not. 84 00:06:53,680 --> 00:06:58,040 Support for UEFI and TPM is spotty in legacy hardware. 85 00:06:59,140 --> 00:07:01,560 But it is growing, particularly on the PC side. 86 00:07:02,800 --> 00:07:05,740 Support for these technologies in the mobile side, 87 00:07:06,060 --> 00:07:09,080 which I think you probably agree is probably the relevant conversation right now, 88 00:07:09,780 --> 00:07:11,440 is still pretty difficult to predict. 89 00:07:12,820 --> 00:07:14,880 Microsoft is pushing them, for example. 90 00:07:16,140 --> 00:07:20,220 Support for TPM in Windows 8 is, I believe it was publicly announced, 91 00:07:20,760 --> 00:07:23,820 in the Windows 8 executive blog or whatever, several months ago. 92 00:07:24,020 --> 00:07:25,460 I believe it's going to be standard. 93 00:07:25,740 --> 00:07:28,560 So that's good news if you're someone like me who works in this space 94 00:07:28,560 --> 00:07:31,600 and you want to be able to provide these services as an integrator 95 00:07:31,600 --> 00:07:33,420 to a lot of different companies and customers. 96 00:07:35,380 --> 00:07:39,080 But the jury is still out on whether software developers and startups in general 97 00:07:39,080 --> 00:07:42,720 can count on having these capabilities in the top tier mobile devices. 98 00:07:43,980 --> 00:07:47,260 And for that I'm basically kind of lumping in a lot of different devices, 99 00:07:47,400 --> 00:07:50,660 including like the tablets, the new tablets coming. 100 00:07:50,760 --> 00:07:54,440 The Windows side, as well as the Android side, 101 00:07:54,700 --> 00:07:56,520 and of course the mobile phones. 102 00:07:58,260 --> 00:07:59,040 And the iPad. 103 00:08:01,160 --> 00:08:04,220 Nevertheless, given the bring your own device trend, the BYOD, 104 00:08:04,780 --> 00:08:08,280 in enterprise IT, employers are pushing for new capabilities 105 00:08:08,800 --> 00:08:10,800 that allow them to protect corporate data 106 00:08:11,440 --> 00:08:13,420 while lowering hardware support costs. 107 00:08:13,880 --> 00:08:15,940 So I do believe that this stuff is very relevant. 108 00:08:17,040 --> 00:08:19,280 Complicating the fact is this whole consumerization trend 109 00:08:19,280 --> 00:08:20,740 is kind of throwing a whole red flag. 110 00:08:20,760 --> 00:08:23,200 I mentioned in the works about trying to do enterprise stuff 111 00:08:23,200 --> 00:08:25,400 on what is essentially designed to be consumer hardware. 112 00:08:25,600 --> 00:08:27,440 So that's kind of the gap that we're in right now. 113 00:08:30,700 --> 00:08:33,760 Microsoft has announced as part of their Windows 8 hardware certification 114 00:08:34,740 --> 00:08:36,840 requirement for the ARM platform 115 00:08:36,840 --> 00:08:39,660 that UEFI secure boot is required, 116 00:08:40,500 --> 00:08:42,080 that it cannot be disabled, 117 00:08:43,180 --> 00:08:45,540 and that all bootloaders must be signed 118 00:08:45,540 --> 00:08:48,200 by a certificate chain that they control with VeriSign. 119 00:08:49,760 --> 00:08:50,480 Thank you. 120 00:09:08,600 --> 00:09:11,400 Thank you. 121 00:09:21,040 --> 00:09:23,700 For them to break into the consumer space in that way, 122 00:09:23,800 --> 00:09:26,860 it's clearly a space that's dominated by some other players. 123 00:09:28,500 --> 00:09:29,580 Apple comes to mind. 124 00:09:31,080 --> 00:09:33,680 Microsoft is way out of their element in that space. 125 00:09:34,840 --> 00:09:37,880 And nevertheless, it's something that the company 126 00:09:37,880 --> 00:09:39,220 really has to be successful in. 127 00:09:41,600 --> 00:09:43,940 And so should I be surprised 128 00:09:43,940 --> 00:09:45,900 that they're trying to lock down the hardware 129 00:09:45,900 --> 00:09:48,080 to control the experience as much as they can, 130 00:09:48,180 --> 00:09:50,040 to control the whole App Store story 131 00:09:50,040 --> 00:09:50,680 and all this? 132 00:09:50,760 --> 00:09:53,120 You know, all the spaces that they're trying to play catch-up in? 133 00:09:53,400 --> 00:09:55,120 No, I don't think we should be surprised. 134 00:09:57,260 --> 00:09:59,680 Furthermore, I think the Linux community and Microsoft 135 00:10:00,220 --> 00:10:02,080 are kind of like this old married couple 136 00:10:02,900 --> 00:10:04,780 that they can't live without each other, 137 00:10:04,880 --> 00:10:06,480 but they really don't like each other. 138 00:10:08,640 --> 00:10:10,440 And I think that that's kind of what we're seeing 139 00:10:10,440 --> 00:10:11,340 playing out right now. 140 00:10:11,420 --> 00:10:13,520 I think that if you're an integrator in this space, 141 00:10:13,740 --> 00:10:16,900 you're going to find that the UEFI boot lockdown 142 00:10:17,400 --> 00:10:18,640 really isn't much of an issue. 143 00:10:18,760 --> 00:10:20,320 It's something you're going to be able to work with 144 00:10:20,320 --> 00:10:20,740 and work around. 145 00:10:20,760 --> 00:10:24,220 If you're a kernel developer on the Linux side, 146 00:10:24,900 --> 00:10:26,660 it's going to be kind of a pain in the butt. 147 00:10:28,160 --> 00:10:31,340 But, you know, you can buy a certificate 148 00:10:31,340 --> 00:10:33,180 and you can work around it. 149 00:10:33,620 --> 00:10:35,520 That's kind of my take on the situation right now. 150 00:10:39,300 --> 00:10:41,100 If you want to experiment with UEFI, 151 00:10:41,340 --> 00:10:43,580 check out the open-source TianoCore project, 152 00:10:43,740 --> 00:10:44,500 sponsored by Intel. 153 00:10:44,860 --> 00:10:45,660 There are others. 154 00:10:45,740 --> 00:10:48,360 Actually, if you saw Jonathan's session before this, 155 00:10:48,460 --> 00:10:49,820 he gave several examples. 156 00:10:50,760 --> 00:10:53,040 He gave a lot of examples of UEFI and BIOS toolkits. 157 00:10:54,540 --> 00:10:56,720 Anyway, the TianoCore guys have provided 158 00:10:56,720 --> 00:10:58,340 lots of helpful introductory documentation, 159 00:10:58,680 --> 00:11:00,320 and it allows you to skip having to read 160 00:11:00,320 --> 00:11:03,120 hundreds of pages of UEFI standardization documents, 161 00:11:03,380 --> 00:11:04,360 which, of course, is very welcome. 162 00:11:05,440 --> 00:11:07,520 Microsoft has provided some documentation as well, 163 00:11:07,580 --> 00:11:08,760 particularly talking about 164 00:11:08,760 --> 00:11:10,840 the new Windows 8 hardware certification kit, 165 00:11:11,420 --> 00:11:13,920 and that explains the new bootloader signing process. 166 00:11:14,840 --> 00:11:16,500 And I also want to point out 167 00:11:16,500 --> 00:11:19,780 that the major Linux distros have done a great job 168 00:11:19,780 --> 00:11:20,740 of coming up with a lot of information 169 00:11:20,740 --> 00:11:23,500 and moving forth with kind of their rationale 170 00:11:23,500 --> 00:11:27,180 about how they're planning to play in this new world order 171 00:11:27,180 --> 00:11:30,820 with OEMs, particularly on the ARM side, 172 00:11:31,160 --> 00:11:33,680 having locked down bootloaders. 173 00:11:33,860 --> 00:11:36,140 The Linux guys have really explained very clearly 174 00:11:36,140 --> 00:11:38,520 how they're going to provide distributions that work 175 00:11:38,520 --> 00:11:41,020 and how the community as a whole 176 00:11:41,020 --> 00:11:43,240 can still work within that framework. 177 00:11:43,540 --> 00:11:45,920 So it's an unfortunate speed bump 178 00:11:45,920 --> 00:11:48,660 that affects everyone, quite frankly. 179 00:11:49,240 --> 00:11:50,460 But nevertheless, 180 00:11:50,740 --> 00:11:51,920 you know, you can still play ball. 181 00:11:56,200 --> 00:11:58,080 So I've already alluded to this several times. 182 00:11:58,200 --> 00:12:01,380 The big drama about Windows 8 and UEFI secure boot 183 00:12:01,380 --> 00:12:03,260 is that Microsoft has stated that OEMs 184 00:12:03,260 --> 00:12:05,940 must configure secure boot as mandatory on ARM devices 185 00:12:05,940 --> 00:12:07,820 and that it cannot be disabled by users. 186 00:12:08,760 --> 00:12:10,340 Even on x86 platforms, 187 00:12:10,640 --> 00:12:13,160 UEFI secure boot is expected to be on by default. 188 00:12:14,760 --> 00:12:17,960 So another legitimate concern that's been voiced 189 00:12:17,960 --> 00:12:20,720 is that, okay, x86, we can still turn it off, 190 00:12:20,740 --> 00:12:23,860 but, jeez, have you ever tried to navigate the BIOS prompts 191 00:12:23,860 --> 00:12:25,560 on a typical laptop, for example? 192 00:12:25,700 --> 00:12:27,140 And that's assuming you can figure out the key 193 00:12:27,140 --> 00:12:29,540 to get to the BIOS, you know, at boot 194 00:12:29,540 --> 00:12:30,660 to get the BIOS in the first place. 195 00:12:30,900 --> 00:12:32,480 I was trying to set up my HP laptop 196 00:12:32,480 --> 00:12:33,900 to do some UEFI demos. 197 00:12:34,820 --> 00:12:36,160 Honest to God, I work in this space, 198 00:12:36,260 --> 00:12:37,260 and it was very challenging. 199 00:12:37,420 --> 00:12:38,280 It's just a real pain. 200 00:12:38,720 --> 00:12:42,200 In fact, when I finally got Windows 8 booting 201 00:12:42,200 --> 00:12:44,960 on that machine in UEFI boot mode, 202 00:12:45,480 --> 00:12:47,340 the TPM wasn't even visible anymore 203 00:12:47,340 --> 00:12:49,820 because there was a conflict in the BIOS driver. 204 00:12:50,740 --> 00:12:52,560 So let's hope that the newer systems 205 00:12:52,560 --> 00:12:53,480 have this worked out, 206 00:12:53,540 --> 00:12:55,360 both in terms of support for the devices, 207 00:12:55,720 --> 00:12:58,560 but also in terms of maybe some more user-friendly prompts 208 00:12:58,560 --> 00:13:00,480 at the BIOS level. 209 00:13:02,120 --> 00:13:02,660 Fingers crossed. 210 00:13:04,580 --> 00:13:05,420 As I pointed out, 211 00:13:05,460 --> 00:13:07,740 the major Linux distributions have announced 212 00:13:07,740 --> 00:13:09,760 that they'll be providing signed bootloaders. 213 00:13:10,880 --> 00:13:12,840 Unless you plan on doing custom kernel work, 214 00:13:13,040 --> 00:13:15,180 I think this is really going to be a non-issue. 215 00:13:15,800 --> 00:13:17,660 If you are going to be working in that space, 216 00:13:17,740 --> 00:13:18,780 or if you do work in that space, 217 00:13:19,260 --> 00:13:20,420 you're going to have to evaluate, 218 00:13:20,740 --> 00:13:22,680 these options that I've listed here. 219 00:13:26,600 --> 00:13:27,540 So switching gears, 220 00:13:27,640 --> 00:13:30,220 in review, UEFI secure boot 221 00:13:30,680 --> 00:13:32,760 allows you to control at the firmware level 222 00:13:33,360 --> 00:13:34,620 what bootloaders are allowed. 223 00:13:35,560 --> 00:13:38,460 But what if you want to make more nuanced policy decisions 224 00:13:38,460 --> 00:13:40,840 and extend them higher up the boot stack? 225 00:13:41,500 --> 00:13:44,040 So for UEFI, we're basically talking about the BIOS, 226 00:13:44,040 --> 00:13:45,320 and we're talking about the bootloader, 227 00:13:45,320 --> 00:13:45,960 and that's it. 228 00:13:48,220 --> 00:13:49,720 Even better, what if we want to make 229 00:13:49,720 --> 00:13:50,660 authorization decisions, 230 00:13:50,740 --> 00:13:52,420 on a remote banking service, 231 00:13:52,640 --> 00:13:54,320 to return to the James Bond example, 232 00:13:55,400 --> 00:13:57,780 based on boot measurements made on the client? 233 00:13:58,880 --> 00:14:00,800 What level of trust can that service 234 00:14:00,800 --> 00:14:02,520 place in those measurements? 235 00:14:04,480 --> 00:14:05,040 Oops. 236 00:14:07,640 --> 00:14:08,360 There we go. 237 00:14:09,200 --> 00:14:10,260 With measured boot, 238 00:14:10,920 --> 00:14:12,340 starting at the BIOS, 239 00:14:12,440 --> 00:14:14,860 and by BIOS I mean UEFI or legacy, 240 00:14:16,000 --> 00:14:18,880 before each next component in the boot chain 241 00:14:18,880 --> 00:14:20,400 is loaded and executed, 242 00:14:21,340 --> 00:14:22,720 the previous component 243 00:14:23,580 --> 00:14:26,200 computes the hash of the next component on disk, 244 00:14:27,020 --> 00:14:29,360 and stores that hash in the TPM. 245 00:14:30,440 --> 00:14:32,060 Data is stored in the TPM 246 00:14:32,060 --> 00:14:35,240 in these platform configuration registers, or PCRs. 247 00:14:36,440 --> 00:14:38,900 So if you see on the left-hand side of the diagram there, 248 00:14:39,720 --> 00:14:41,100 starting with the BIOS, 249 00:14:41,830 --> 00:14:43,260 takes a hash of the bootloader, 250 00:14:43,830 --> 00:14:46,440 which in Windows is, for example, bootmanager.exe. 251 00:14:47,220 --> 00:14:49,040 So it hashes bootmanager.exe, 252 00:14:49,120 --> 00:14:50,540 I should say Windows 8 specifically, sorry. 253 00:14:50,740 --> 00:14:52,180 Hashes bootmanager.exe, 254 00:14:52,240 --> 00:14:53,360 sticks that hash in the TPM, 255 00:14:54,040 --> 00:14:56,620 then hands off control to bootmanager.exe. 256 00:14:57,500 --> 00:14:59,560 Bootmanager.exe launches either winload, 257 00:14:59,660 --> 00:15:00,600 if it's a clean boot, 258 00:15:00,760 --> 00:15:01,600 or winresume, 259 00:15:01,600 --> 00:15:02,860 if you're coming out of Hibernate. 260 00:15:04,360 --> 00:15:05,720 And then those launch the kernel. 261 00:15:07,440 --> 00:15:08,620 Each one along the chain 262 00:15:08,620 --> 00:15:09,740 is storing the hash of the next. 263 00:15:11,280 --> 00:15:12,660 The kernel then does something 264 00:15:12,660 --> 00:15:14,600 a little bit special and fancy in Windows 8. 265 00:15:15,020 --> 00:15:19,640 Before it initializes the early boot drivers, 266 00:15:20,740 --> 00:15:21,780 it loads them into memory, 267 00:15:23,180 --> 00:15:25,760 and then it initializes a special new 268 00:15:26,700 --> 00:15:29,020 anti-malware driver called ELAM, 269 00:15:29,040 --> 00:15:30,100 early load anti-malware, 270 00:15:30,240 --> 00:15:31,400 that basically is an opportunity 271 00:15:31,840 --> 00:15:34,140 for your anti-malware solution to have a hook 272 00:15:34,140 --> 00:15:35,700 very early in the boot process. 273 00:15:36,940 --> 00:15:39,280 It can look at the hashes of all those drivers 274 00:15:39,280 --> 00:15:41,140 that have been loaded but not executed yet, 275 00:15:41,260 --> 00:15:43,080 and determine if it doesn't like any of them. 276 00:15:44,240 --> 00:15:45,700 And if it doesn't like any of them, 277 00:15:45,720 --> 00:15:47,580 it can either brick your machine, 278 00:15:47,740 --> 00:15:49,040 which probably they aren't gonna do, 279 00:15:49,780 --> 00:15:52,800 or it'll let you boot and then, for example, 280 00:15:52,800 --> 00:15:54,960 invalidate the trusted boot signature. 281 00:15:56,720 --> 00:15:58,260 And we would also hope that, 282 00:15:58,820 --> 00:16:00,120 assuming it hasn't been totally owned, 283 00:16:00,200 --> 00:16:02,240 which if it's a bad driver, it probably has been, 284 00:16:02,800 --> 00:16:04,720 anyway, hopefully provide some sort of notification 285 00:16:04,720 --> 00:16:06,860 to the user via the user mode component 286 00:16:06,860 --> 00:16:08,020 of the anti-malware solution 287 00:16:08,660 --> 00:16:10,480 that they need to take some action, 288 00:16:11,060 --> 00:16:12,320 which unfortunately probably boils down 289 00:16:12,320 --> 00:16:13,080 to flashing the machine. 290 00:16:13,300 --> 00:16:16,260 But anyway, at least this is forward progress, so to speak. 291 00:16:17,720 --> 00:16:18,400 After boot, 292 00:16:18,400 --> 00:16:21,080 and I'll go into a bit more detail about how that works. 293 00:16:21,660 --> 00:16:23,860 After boot, a boot log can be retrieved from the TPM. 294 00:16:24,760 --> 00:16:26,820 The log includes the boot image hashes. 295 00:16:27,800 --> 00:16:29,380 It includes code signing information. 296 00:16:30,200 --> 00:16:33,260 So you don't have to just trust and, for example, 297 00:16:33,260 --> 00:16:34,560 keep a whitelist of hashes. 298 00:16:35,160 --> 00:16:39,120 You can also, for example, track cert chains. 299 00:16:39,300 --> 00:16:40,400 So you can decide, okay, well, 300 00:16:40,460 --> 00:16:41,700 I trust the Microsoft certificate chain. 301 00:16:42,080 --> 00:16:43,880 I trust the OEM certificate chains 302 00:16:43,880 --> 00:16:45,280 for the machines that we use, 303 00:16:45,360 --> 00:16:47,840 you know, the HP one, the Intel one, et cetera, et cetera. 304 00:16:48,400 --> 00:16:50,580 At least it's a slightly smaller list 305 00:16:50,580 --> 00:16:53,020 than, of course, the hash of every possible early boot driver, 306 00:16:53,220 --> 00:16:55,320 and there are probably gonna be thousands of them. 307 00:16:57,400 --> 00:16:59,360 And the log includes other boot metadata. 308 00:16:59,620 --> 00:17:00,620 I'll give some examples shortly. 309 00:17:02,160 --> 00:17:04,240 Importantly, the TPM can also sign the log 310 00:17:04,240 --> 00:17:06,940 with a special purpose attestation identity key, or AIK. 311 00:17:09,520 --> 00:17:11,940 So then remote attestation builds on measured boot. 312 00:17:12,020 --> 00:17:13,560 Remote attestation works like this. 313 00:17:14,520 --> 00:17:16,420 The client device shown on the left-hand side 314 00:17:16,420 --> 00:17:18,380 of the diagram here gets turned on, and it reads, oh, oh, oh. 315 00:17:18,400 --> 00:17:20,200 It runs through the TPM-based measured boot procedure 316 00:17:20,200 --> 00:17:21,000 that I just described. 317 00:17:22,480 --> 00:17:23,860 Then some client application 318 00:17:24,220 --> 00:17:25,880 that wants to perform remote attestation 319 00:17:27,260 --> 00:17:28,920 retrieves the signed boot log from the TPM 320 00:17:28,920 --> 00:17:31,220 and sends it to the remote server for verification. 321 00:17:32,540 --> 00:17:35,880 The remote server verifies that it trusts the TPM key 322 00:17:35,880 --> 00:17:36,900 that signed the log, 323 00:17:37,900 --> 00:17:39,560 that the log hasn't been tampered with, 324 00:17:39,700 --> 00:17:41,340 in other words, that the signature checks out 325 00:17:41,340 --> 00:17:42,200 with the hash of the log, 326 00:17:43,740 --> 00:17:45,980 and that it trusts each of the boot binaries in the log. 327 00:17:46,060 --> 00:17:47,860 So, for example, it either whitelists those hashes, 328 00:17:47,860 --> 00:17:49,680 or it checks the signer of each binary, 329 00:17:49,860 --> 00:17:52,400 and makes sure that it trusts those signers. 330 00:17:54,280 --> 00:17:57,040 Then, again, in taking a typical line of business scenario, 331 00:17:57,160 --> 00:17:59,300 the remote server sends back some sort of signed token. 332 00:18:01,200 --> 00:18:05,420 And then the client uses that signed token to, for example, 333 00:18:05,600 --> 00:18:08,060 in the mobile banking service example, 334 00:18:08,300 --> 00:18:09,820 the client would then send that token 335 00:18:09,820 --> 00:18:11,000 to the mobile banking server, 336 00:18:11,620 --> 00:18:13,840 and then the server would make authorization decisions 337 00:18:13,840 --> 00:18:15,140 based on what's in that token. 338 00:18:15,300 --> 00:18:17,340 So the assessment could be, you know, 339 00:18:17,340 --> 00:18:18,500 low, medium, or high security, 340 00:18:18,760 --> 00:18:21,140 or just yes, it checked out, or no, it didn't check out, 341 00:18:21,900 --> 00:18:23,180 as a result of which, you know, 342 00:18:23,200 --> 00:18:25,380 you can or can't download the sensitive data, 343 00:18:25,500 --> 00:18:28,120 you can or can't make a funds transfer, et cetera. 344 00:18:29,900 --> 00:18:32,040 So obviously, there's a fair amount of complexity here. 345 00:18:33,100 --> 00:18:34,760 And there's plenty of things that can go wrong, 346 00:18:34,860 --> 00:18:36,600 and I'll talk about several of those things 347 00:18:36,600 --> 00:18:37,820 towards the end of the talk. 348 00:18:38,260 --> 00:18:40,180 In the meantime, I think that some demonstrations 349 00:18:40,180 --> 00:18:42,520 about how this can be used in real applications 350 00:18:42,960 --> 00:18:44,460 will help make it a little bit more concrete. 351 00:18:47,420 --> 00:18:49,700 First, I'm releasing my new measure boot tool, 352 00:18:49,820 --> 00:18:51,680 which allows you to view the trusted platform module 353 00:18:51,680 --> 00:18:54,820 boot data and identify risks such as, for example, 354 00:18:54,880 --> 00:18:56,620 unsigned early boot drivers. 355 00:18:58,380 --> 00:19:00,180 The tool implements basically the following. 356 00:19:01,400 --> 00:19:03,580 It establishes a new attestation key 357 00:19:04,010 --> 00:19:06,840 based on a simulated database of trusted TPMs 358 00:19:07,330 --> 00:19:08,660 using the endorsement key, 359 00:19:09,380 --> 00:19:12,180 which is the permanent encryption key stored on the TPM. 360 00:19:13,280 --> 00:19:15,700 So when you get a new machine, you know, you go to Best Buy, 361 00:19:15,700 --> 00:19:17,400 you buy a new Sony laptop. 362 00:19:19,100 --> 00:19:21,580 That laptop, assuming it does have a TPM, 363 00:19:21,820 --> 00:19:23,260 it's one of the enterprise class laptops, 364 00:19:23,900 --> 00:19:25,900 it already has a key burned onto it. 365 00:19:26,360 --> 00:19:30,440 And with most but not all of the OEMs, 366 00:19:31,120 --> 00:19:33,900 that key also has a certificate associated with it. 367 00:19:34,660 --> 00:19:37,440 And so you can decide, well, we trust the Sony 368 00:19:37,980 --> 00:19:39,000 endorsement key certificate, 369 00:19:39,460 --> 00:19:42,980 and therefore we trust that this is, in fact, a TPM-based key. 370 00:19:46,060 --> 00:19:48,840 So, again, measure boot tool kind of shows you how to do that 371 00:19:49,780 --> 00:19:53,160 within the Windows 8 API that supports this stuff. 372 00:19:54,880 --> 00:19:57,920 The tool will then produce a signed log using this new key, 373 00:19:59,480 --> 00:20:02,020 and it'll format the boot data for human consumption, 374 00:20:02,220 --> 00:20:03,280 basically dumps it out in XML. 375 00:20:04,980 --> 00:20:06,520 And then it flags certain risks, 376 00:20:06,600 --> 00:20:08,760 just kind of as some examples of how to parse that XML. 377 00:20:09,260 --> 00:20:11,760 It flags risks such as unsigned early boot drivers. 378 00:20:14,440 --> 00:20:15,680 So I'm not sure if this is a good idea. 379 00:20:15,680 --> 00:20:17,560 I'm not sure how illegible that is on the big screen. 380 00:20:17,900 --> 00:20:20,300 But, anyway, this is some sample output 381 00:20:20,300 --> 00:20:21,280 from the measured boot tool. 382 00:20:22,160 --> 00:20:24,280 I ran it on that HP laptop I just mentioned 383 00:20:24,280 --> 00:20:25,820 with the Windows 8 release preview build. 384 00:20:26,400 --> 00:20:27,700 And there are several things to note 385 00:20:27,700 --> 00:20:28,620 in the output of the tool. 386 00:20:30,180 --> 00:20:32,020 First, there are two items at the beginning of the output 387 00:20:32,020 --> 00:20:33,540 extracted from the boot log metadata. 388 00:20:35,140 --> 00:20:36,720 Actually, I guess you probably can't see my pointer 389 00:20:36,720 --> 00:20:37,320 on the screen, anyway. 390 00:20:38,300 --> 00:20:40,740 The first thing is that disk encryption is enabled 391 00:20:40,740 --> 00:20:41,900 with a hardware-based key. 392 00:20:43,380 --> 00:20:45,660 That's important because, for example, you can use it to, for example, 393 00:20:45,680 --> 00:20:47,600 you could make, with high assurance, decisions 394 00:20:48,420 --> 00:20:50,680 based on whether you should allow sensitive data 395 00:20:50,680 --> 00:20:51,940 to be released to this machine 396 00:20:52,780 --> 00:20:55,020 because it does or does not have an encrypted disk. 397 00:20:55,640 --> 00:20:57,780 I'll give a more concrete example of that in a moment. 398 00:20:59,160 --> 00:21:01,920 The second thing is that the latest boot integrity features 399 00:21:01,920 --> 00:21:03,460 in the bootloader have been enabled. 400 00:21:03,700 --> 00:21:05,640 This is really important if you want to use this scenario 401 00:21:06,120 --> 00:21:06,960 on Windows 8. 402 00:21:07,060 --> 00:21:09,660 You want to enable these new integrity features. 403 00:21:09,780 --> 00:21:11,960 Otherwise, you basically don't get anything in the log. 404 00:21:12,060 --> 00:21:14,360 You just get the TPM stuff, which is pretty terse. 405 00:21:16,500 --> 00:21:19,980 The second thing to note is that there's a really long list 406 00:21:19,980 --> 00:21:20,720 of early boot drivers. 407 00:21:21,020 --> 00:21:23,280 Keep in mind, this is not all of the kernel drivers 408 00:21:23,280 --> 00:21:24,960 that boot with my laptop. 409 00:21:25,220 --> 00:21:27,140 This is just the early boot drivers, 410 00:21:27,800 --> 00:21:29,740 and there's like 50 of them, right? 411 00:21:30,140 --> 00:21:32,180 So this is a significant attack surface. 412 00:21:34,820 --> 00:21:35,700 We'll get back to that. 413 00:21:36,940 --> 00:21:40,840 The final thing to note is that if you see, let's see, 414 00:21:44,860 --> 00:21:45,660 what is this? 415 00:21:45,660 --> 00:21:46,840 Well, unfortunately, I can't see that far. 416 00:21:46,940 --> 00:21:48,240 But anyway, about a third of the way down, 417 00:21:48,280 --> 00:21:52,140 you see this wdboot.sys, and it's marked with ELAM, 418 00:21:52,200 --> 00:21:53,220 and then it says signed. 419 00:21:53,780 --> 00:21:56,460 That's the built-in ELAM driver that Microsoft is providing. 420 00:21:56,620 --> 00:21:58,320 WD probably stands for Windows Defender. 421 00:21:58,600 --> 00:22:01,260 That's their, you know, their free antivirus solution. 422 00:22:02,640 --> 00:22:06,180 So anyway, as the other antivirus vendors 423 00:22:06,740 --> 00:22:09,500 start to provide these drivers, here's an example 424 00:22:09,500 --> 00:22:11,720 of how you can look for those in the tool output, 425 00:22:11,920 --> 00:22:13,700 and again, perhaps make decisions 426 00:22:13,700 --> 00:22:15,160 on whether you trust that this machine 427 00:22:15,160 --> 00:22:17,520 is secure based on the fact 428 00:22:17,520 --> 00:22:19,080 that the antivirus solution is up to date. 429 00:22:21,620 --> 00:22:23,260 In introducing Measure Boot Tool, 430 00:22:23,420 --> 00:22:26,200 I mentioned that it creates a new trusted attestation key 431 00:22:26,200 --> 00:22:28,660 on the TPM before extracting and parsing the log. 432 00:22:30,240 --> 00:22:32,340 Creating the attestation key and establishing 433 00:22:32,340 --> 00:22:35,020 that the TPM is trusted is a foundation 434 00:22:35,020 --> 00:22:37,360 of remote attestation, because without that, 435 00:22:37,400 --> 00:22:40,220 the remote server can't trust that the boot data it receives 436 00:22:40,220 --> 00:22:41,400 from the client is secure. 437 00:22:41,640 --> 00:22:43,040 So that's part of the bootstrapping. 438 00:22:43,240 --> 00:22:44,940 We have to make sure that we trust this key 439 00:22:45,160 --> 00:22:46,040 and it's a new key. 440 00:22:46,340 --> 00:22:47,500 It's bound to the TPM. 441 00:22:48,000 --> 00:22:50,520 Otherwise, everything that happens thereafter is suspect. 442 00:22:52,620 --> 00:22:55,780 Measure Boot Tool demonstrates this kind of whole crypto song 443 00:22:55,780 --> 00:22:58,700 and dance feature that I'll show a diagram of in just a second. 444 00:23:00,480 --> 00:23:02,540 Basically, it entails establishing remote trust 445 00:23:02,540 --> 00:23:03,840 and simulating the data exchange 446 00:23:03,840 --> 00:23:06,000 between a Measure Boot Client and attestation server. 447 00:23:06,300 --> 00:23:08,640 So instead of having a real client server, I just kind of do, 448 00:23:08,680 --> 00:23:10,280 you know, client call, server call, client call, 449 00:23:10,400 --> 00:23:11,200 server call in the code. 450 00:23:13,780 --> 00:23:15,140 So this diagram shows that the TPM is secure. 451 00:23:15,160 --> 00:23:16,500 This is the client and server messages that are used 452 00:23:16,500 --> 00:23:17,740 in TPM remote attestation. 453 00:23:17,960 --> 00:23:20,420 In other words, this is what the client device does in order 454 00:23:20,420 --> 00:23:22,580 to transmit a boot log to the attestation service 455 00:23:22,580 --> 00:23:23,360 in a trusted way. 456 00:23:24,140 --> 00:23:26,720 First, the client requests an attestation nonce. 457 00:23:27,120 --> 00:23:30,200 The sequence assumes that the server already has that database 458 00:23:30,200 --> 00:23:33,340 of the TPM doorstep keys, or you've gone through the trouble 459 00:23:33,880 --> 00:23:36,220 of, you know, making sure that you know all 460 00:23:36,220 --> 00:23:37,780 of the OEM certificate chains. 461 00:23:37,940 --> 00:23:41,640 So you have the Sony chain, you know, the HP chain, et cetera. 462 00:23:42,660 --> 00:23:43,980 That way, you can determine 463 00:23:43,980 --> 00:23:47,820 that the endorsement key public that you're receiving 464 00:23:47,820 --> 00:23:49,920 from the client is trusted, 465 00:23:50,040 --> 00:23:52,680 that you know that's actually a TPM-based key 466 00:23:52,680 --> 00:23:54,960 and not just something that the client created in software. 467 00:23:57,680 --> 00:23:59,680 Next, the client requests an encrypted challenge. 468 00:24:00,360 --> 00:24:02,200 This request includes some binding information 469 00:24:02,200 --> 00:24:04,180 from the TPM regarding the new AIK. 470 00:24:04,680 --> 00:24:07,440 What the client receives from the server is an AIK certificate, 471 00:24:08,920 --> 00:24:12,060 sorry, yes, an AIK certificate with an encrypted signature. 472 00:24:12,300 --> 00:24:13,220 So again, this is kind of some 473 00:24:13,980 --> 00:24:18,840 voodoo where the endorsement key can only be used 474 00:24:18,840 --> 00:24:21,020 for decrypting another key. 475 00:24:22,240 --> 00:24:24,400 And so the way that the server is going to ensure 476 00:24:24,920 --> 00:24:29,420 that A, this is a new attestation key, and B, 477 00:24:29,660 --> 00:24:31,980 that it actually is an attestation key bound 478 00:24:31,980 --> 00:24:34,800 to this TPM and not in software somewhere, 479 00:24:35,400 --> 00:24:37,900 is it's going to encrypt the certificate 480 00:24:38,520 --> 00:24:40,180 for the attestation key, this new certificate 481 00:24:40,180 --> 00:24:41,420 that the service is sending back. 482 00:24:41,700 --> 00:24:43,920 It's going to encrypt it, so that only 483 00:24:43,980 --> 00:24:48,280 a TPM can decrypt it using its endorsement key. 484 00:24:49,520 --> 00:24:52,260 So in the next step, when the server sees a request coming 485 00:24:52,260 --> 00:24:54,560 with that new certificate, it knows 486 00:24:54,560 --> 00:24:56,900 that the client decrypted that certificate, and therefore, 487 00:24:56,960 --> 00:24:58,620 it knows that it used a TPM to do so. 488 00:24:59,140 --> 00:25:02,120 If the client doesn't come back with a valid certificate, then, 489 00:25:02,200 --> 00:25:04,040 you know, can't play ball, not secure. 490 00:25:08,540 --> 00:25:11,020 So finally, the client requests an attestation nonce. 491 00:25:11,100 --> 00:25:13,200 This nonce, like the previous nonce, is used 492 00:25:13,200 --> 00:25:15,740 to ensure that it's a new attestation key. 493 00:25:15,940 --> 00:25:17,480 This nonce is used to ensure 494 00:25:17,920 --> 00:25:20,420 that a previous boot log isn't being replayed. 495 00:25:21,860 --> 00:25:24,260 Finally, the client uses the agreed attestation key 496 00:25:24,840 --> 00:25:27,680 and the attestation nonce to produce a signed boot log 497 00:25:27,680 --> 00:25:29,020 that is sent to the server for verification. 498 00:25:30,260 --> 00:25:32,560 So again, there's some complexity here, obviously, 499 00:25:33,460 --> 00:25:35,920 including some cryptographic steps that are easy to get wrong. 500 00:25:36,100 --> 00:25:38,500 In fact, several that I did get wrong and I need 501 00:25:38,500 --> 00:25:39,120 to fix in the tool. 502 00:25:40,340 --> 00:25:42,920 Nevertheless, remote attestation gives us a powerful tool 503 00:25:43,200 --> 00:25:46,100 to ensure that the compromised client devices can't access 504 00:25:46,100 --> 00:25:46,980 sensitive network resources. 505 00:25:47,260 --> 00:25:48,380 I should clarify the previous comment. 506 00:25:48,560 --> 00:25:52,080 What I got wrong in the tool is I don't actually show the step 507 00:25:52,080 --> 00:25:53,000 of encrypting the certificate. 508 00:25:53,400 --> 00:25:57,120 There's no, like, PKI part component of the tool right now. 509 00:25:57,240 --> 00:25:59,880 It just does kind of a low-level symmetric key crypto. 510 00:26:00,320 --> 00:26:03,260 So there's some additional steps that you'd have to do 511 00:26:03,260 --> 00:26:05,220 to integrate this into an existing enterprise. 512 00:26:05,300 --> 00:26:08,060 PKI, I think, is how it would typically be done. 513 00:26:10,780 --> 00:26:12,820 Okay, so back to the mobile banking example. 514 00:26:12,820 --> 00:26:15,200 Again, let's look at the current state of affairs 515 00:26:15,580 --> 00:26:17,640 for performing security checks on remote devices 516 00:26:17,980 --> 00:26:20,380 and identify where there are some gaps that we can start 517 00:26:20,380 --> 00:26:21,500 to fill in with these technologies. 518 00:26:23,340 --> 00:26:25,340 The question is, how can we use technologies, 519 00:26:25,520 --> 00:26:28,840 such as remote attestation, to raise the security bar 520 00:26:29,360 --> 00:26:30,680 in the bring-your-own-device scenarios? 521 00:26:32,140 --> 00:26:36,540 Doing it in a standards-based way without imposing too much 522 00:26:36,540 --> 00:26:37,540 of a burden on the user. 523 00:26:38,920 --> 00:26:40,700 In addition, we also want to demonstrate 524 00:26:41,040 --> 00:26:42,540 that devices can be authenticated 525 00:26:42,820 --> 00:26:44,220 using hardware-based trust in a way 526 00:26:44,220 --> 00:26:45,520 that is seamless to the user. 527 00:26:46,200 --> 00:26:48,060 Otherwise, let's be honest, nobody's going to use it, 528 00:26:48,120 --> 00:26:49,320 and particularly when we're in this kind 529 00:26:49,320 --> 00:26:52,680 of consumerization shift here. 530 00:26:54,820 --> 00:26:58,240 OEMs, hardware manufacturers, handset carriers, 531 00:26:59,040 --> 00:27:01,980 are going to be super, super sensitive about anything 532 00:27:01,980 --> 00:27:04,240 that, you know, scares off users. 533 00:27:04,440 --> 00:27:06,520 And, of course, security bars have a reputation 534 00:27:06,520 --> 00:27:07,600 for scaring off users. 535 00:27:08,040 --> 00:27:11,100 So what we wanted to show in this demo is a way 536 00:27:11,100 --> 00:27:12,800 that you can really raise the security bar 537 00:27:12,820 --> 00:27:16,700 on a mobile device without any additional hurdle 538 00:27:16,700 --> 00:27:18,020 for the user, so to speak. 539 00:27:19,760 --> 00:27:22,060 This demonstration starts with a mobile banking application. 540 00:27:22,840 --> 00:27:26,120 Unfortunately, I couldn't get access to the kiosk 541 00:27:26,120 --> 00:27:29,420 from Casino Royale, but at least this application is real. 542 00:27:30,060 --> 00:27:32,520 In this screen, notice that the bank is able to present the user 543 00:27:32,520 --> 00:27:34,960 with promotional offers before there's been any 544 00:27:34,960 --> 00:27:35,660 sign-in experience. 545 00:27:36,240 --> 00:27:37,780 So, again, this is kind of talking about, well, 546 00:27:37,800 --> 00:27:40,840 what can we do to make security convenient, in a sense? 547 00:27:41,280 --> 00:27:42,800 This is important, because it actually, you know, 548 00:27:42,820 --> 00:27:44,940 actually helps to maximize revenue opportunities. 549 00:27:45,900 --> 00:27:48,600 So I think this is a way to kind of sneak some of this stuff in, 550 00:27:48,680 --> 00:27:51,200 so to speak, and make it palatable to the people 551 00:27:51,200 --> 00:27:53,820 that we're going to be dependent on to get these technologies 552 00:27:53,820 --> 00:27:54,720 into users' hands. 553 00:27:56,440 --> 00:27:58,060 After the user clicks the sign-in button, 554 00:27:58,160 --> 00:27:59,600 they're asked for their existing logon information 555 00:27:59,600 --> 00:28:00,680 for online checking. 556 00:28:02,300 --> 00:28:04,300 Since this is the first time the app has run, 557 00:28:04,720 --> 00:28:06,860 we want to bind the device to the user. 558 00:28:07,400 --> 00:28:10,660 For this demo, we assume that the bank already has the user's 559 00:28:10,660 --> 00:28:12,640 mobile phone number from the initial 560 00:28:12,820 --> 00:28:15,160 in-person proofing when the account was set up. 561 00:28:16,580 --> 00:28:18,820 What we'd like to be able to do is bind the device 562 00:28:18,820 --> 00:28:22,440 to a known TPM, specifically the endorsement key, 563 00:28:22,560 --> 00:28:25,140 like I was just discussing, as shown 564 00:28:25,140 --> 00:28:27,400 in the remote attestation flow that you saw previously. 565 00:28:28,300 --> 00:28:31,060 Unfortunately, few smartphones have TPMs. 566 00:28:32,120 --> 00:28:35,060 Still, there's an opportunity here for OEMs to raise the bar. 567 00:28:35,400 --> 00:28:37,500 I think partially depending on, for example, 568 00:28:37,500 --> 00:28:39,900 how Windows 8 does with their tablets, 569 00:28:40,540 --> 00:28:42,600 we could see that change sooner rather than later. 570 00:28:45,560 --> 00:28:47,200 If they don't do well, it's going to be later. 571 00:28:49,340 --> 00:28:51,080 In order to bind the device to the user, 572 00:28:51,200 --> 00:28:53,400 the bank sends a text message with a one-time PIN. 573 00:28:54,480 --> 00:28:56,920 The user enters that PIN along with their existing username 574 00:28:56,920 --> 00:28:57,660 and password. 575 00:28:58,640 --> 00:29:00,960 And again, this is kind of for the one-time device set up. 576 00:29:01,960 --> 00:29:03,640 Now the user has read-only access 577 00:29:03,640 --> 00:29:04,560 to their checking account. 578 00:29:04,680 --> 00:29:06,340 The account balance information is visible. 579 00:29:07,600 --> 00:29:09,060 However, in order to transfer money, 580 00:29:09,200 --> 00:29:11,160 we want to do this additional security checking. 581 00:29:14,200 --> 00:29:16,600 Namely, behind the scenes, we're going to gather information 582 00:29:16,600 --> 00:29:18,780 about the device and send it to the back end, 583 00:29:18,940 --> 00:29:20,740 in this case in the form of SAML claims. 584 00:29:21,040 --> 00:29:23,000 We did this as a demo for RSA this year. 585 00:29:23,140 --> 00:29:25,520 So we kind of wanted to get as many, you know, 586 00:29:25,540 --> 00:29:29,180 standard security grab bag three-letter acronyms 587 00:29:29,180 --> 00:29:30,060 as we possibly could. 588 00:29:31,700 --> 00:29:33,600 In this version of the demo, 589 00:29:33,660 --> 00:29:35,080 the device firmware is out of date. 590 00:29:36,000 --> 00:29:38,000 Therefore, the banking web service doesn't trust 591 00:29:38,000 --> 00:29:40,360 that the device is operating correctly on behalf of the user. 592 00:29:40,480 --> 00:29:42,100 So this risky transition, 593 00:29:43,440 --> 00:29:45,740 namely funds transfer, is denied. 594 00:29:47,560 --> 00:29:50,140 And of course, this is the part where the user does start 595 00:29:50,140 --> 00:29:51,060 to get a little bit frustrated. 596 00:29:51,360 --> 00:29:53,520 But again, you know, there's a trade-off to be made. 597 00:29:53,580 --> 00:29:59,100 Can the bank, you know, reduce fraud as a trade-off of, 598 00:29:59,140 --> 00:30:01,900 you know, affording a little bit of user annoyance? 599 00:30:03,860 --> 00:30:06,860 The challenge though is that without the hardware route 600 00:30:06,860 --> 00:30:08,680 of trust provided by a technology 601 00:30:08,680 --> 00:30:12,320 such as TPM remote attestation, the banking web service can't 602 00:30:12,820 --> 00:30:15,760 trust the client application, can't trust the operating system, 603 00:30:15,920 --> 00:30:17,920 can't trust the device itself, that they're really acting 604 00:30:17,920 --> 00:30:20,320 on behalf of the user and haven't been compromised. 605 00:30:23,380 --> 00:30:25,480 So now I'm going to demonstrate a real line 606 00:30:25,480 --> 00:30:27,720 of business application with measured boot 607 00:30:28,020 --> 00:30:30,200 and remote attestation integrated. 608 00:30:33,220 --> 00:30:36,160 So this example deviates somewhat from mobile banking. 609 00:30:36,440 --> 00:30:39,760 Instead, it shows a purchase order application, 610 00:30:40,360 --> 00:30:42,320 basically a purchase order approval system. 611 00:30:43,620 --> 00:30:45,740 When the app launches, in the background, 612 00:30:45,980 --> 00:30:48,460 a boot log is being generated and signed using the hardware 613 00:30:48,460 --> 00:30:50,300 protected key stored on the client device. 614 00:30:50,760 --> 00:30:53,360 So it's doing TPM remote attestation in the background. 615 00:30:55,040 --> 00:30:58,120 The signed boot log is sent to a web service for verification. 616 00:30:59,020 --> 00:31:01,020 Device integrity information is then available 617 00:31:01,020 --> 00:31:04,100 to the purchase order web service in the form of, again, SAML claims. 618 00:31:06,660 --> 00:31:09,260 So in this scenario that I'm showing here in this screenshot, 619 00:31:09,560 --> 00:31:11,320 boot log verification was successful. 620 00:31:11,320 --> 00:31:14,120 So the next step is to authenticate the user. 621 00:31:15,360 --> 00:31:17,600 This is again being done, you know, we're going for kind 622 00:31:17,600 --> 00:31:20,320 of this grab bag of standard security technologies here. 623 00:31:20,440 --> 00:31:23,400 We're using an X509 certificate with a private key protected 624 00:31:23,400 --> 00:31:25,620 by the same hardware chip that signs the boot log. 625 00:31:25,880 --> 00:31:27,620 So there's no separate credential to carry. 626 00:31:28,420 --> 00:31:30,460 It's kind of like a virtual smart card that's bound 627 00:31:30,460 --> 00:31:32,560 to the TPM on the device, which I thought was actually kind 628 00:31:32,560 --> 00:31:34,600 of another cool technology to show off here. 629 00:31:37,460 --> 00:31:39,340 Device and user authentication both succeeded 630 00:31:39,340 --> 00:31:40,940 so purchase orders can now be submitted 631 00:31:40,940 --> 00:31:41,300 in an appropriate way. 632 00:31:41,320 --> 00:31:43,260 Okay. So this is the good sequence. 633 00:31:43,960 --> 00:31:45,840 But now suppose that the user gets fired. 634 00:31:47,000 --> 00:31:49,240 We want to ensure that this device can't make another 635 00:31:49,240 --> 00:31:50,440 request to the web service 636 00:31:50,440 --> 00:31:53,200 until the device is reprovisioned for another user. 637 00:31:54,540 --> 00:31:57,040 Thus, not only do we want to revoke the user credential 638 00:31:57,040 --> 00:31:59,000 when an employee is terminated, for example, 639 00:31:59,520 --> 00:32:01,280 we want to revoke the device itself. 640 00:32:04,400 --> 00:32:06,660 And we can do that because we have this database 641 00:32:06,660 --> 00:32:07,480 of endorsement keys. 642 00:32:07,980 --> 00:32:11,220 So, for example, in the SAP job, it kills a user account 643 00:32:11,320 --> 00:32:14,560 that terminates a user, sends their last check, et cetera. 644 00:32:15,440 --> 00:32:16,900 It calls over to the other system 645 00:32:16,900 --> 00:32:18,840 where our endorsement key trust is maintained. 646 00:32:19,320 --> 00:32:21,520 And it says this endorsement key is no longer trusted. 647 00:32:22,120 --> 00:32:25,540 So the next time this machine, regardless of who's logged 648 00:32:25,540 --> 00:32:27,920 on to it, tries to connect to our service, 649 00:32:28,400 --> 00:32:29,520 it's not going to be trusted. 650 00:32:29,640 --> 00:32:30,900 Remote attestation is going to fail. 651 00:32:31,180 --> 00:32:32,440 We're not going to trust the boot log. 652 00:32:35,380 --> 00:32:39,320 Similarly, of course, if a trusted key but a tampered, 653 00:32:39,420 --> 00:32:41,300 you know, a tampered with boot log, 654 00:32:41,320 --> 00:32:42,980 showed up, you know, we wouldn't allow 655 00:32:42,980 --> 00:32:44,020 the authentication there either. 656 00:32:45,540 --> 00:32:47,420 And importantly, of course, the user would have 657 00:32:47,420 --> 00:32:48,780 to be given remediation instructions. 658 00:32:50,480 --> 00:32:52,500 Again, remediation, when you have a root kit installed, 659 00:32:53,180 --> 00:32:55,180 has become a little bit of a tough one these days. 660 00:32:55,420 --> 00:32:58,080 Because, yeah, reflash the machine is one thing, 661 00:32:58,140 --> 00:32:59,880 but now we're not even sure if that's going to do it. 662 00:33:00,660 --> 00:33:02,400 Anyway, I don't have the answer to that one yet. 663 00:33:05,280 --> 00:33:06,540 So recall that I just mentioned 664 00:33:06,540 --> 00:33:08,800 that the measured boot log includes additional boot metadata 665 00:33:09,320 --> 00:33:11,100 beyond just the list of early boot drivers. 666 00:33:11,320 --> 00:33:13,280 I want to give an example of how you can use some 667 00:33:13,280 --> 00:33:13,980 of that other metadata. 668 00:33:16,400 --> 00:33:18,980 A third scenario that really motivates, then, 669 00:33:19,140 --> 00:33:21,800 the use of remote attestation is access to corporate 670 00:33:21,800 --> 00:33:23,660 and government data by trusted insiders. 671 00:33:24,280 --> 00:33:26,680 In this case, we want to ensure that only users 672 00:33:26,680 --> 00:33:28,240 with trusted client machines 673 00:33:28,720 --> 00:33:31,620 and encrypted disks can download sensitive files 674 00:33:31,620 --> 00:33:33,960 from the document repository, SharePoint. 675 00:33:35,720 --> 00:33:38,340 By enforcing disk encryption and hardware identity, 676 00:33:38,600 --> 00:33:40,920 we help to decrease the chance that data can be recovered 677 00:33:40,920 --> 00:33:42,100 from a lost or stolen device. 678 00:33:42,640 --> 00:33:45,440 So, again, I think that this is a classic, you know, 679 00:33:45,440 --> 00:33:48,100 bring-your-own-device scenario where, you know, 680 00:33:48,120 --> 00:33:53,480 your executive goes and buys a new iPad or VIO or whatever, 681 00:33:53,660 --> 00:33:57,000 a Best Buy, and he or she is traveling right now, 682 00:33:57,120 --> 00:34:00,480 so she can't go into the office for provisioning, 683 00:34:00,900 --> 00:34:02,540 and she needs access to the SharePoint. 684 00:34:03,460 --> 00:34:06,080 So we can do all this bootstrapping based 685 00:34:06,080 --> 00:34:10,480 on a priori knowledge, you know, again, of the Sony sign-in key 686 00:34:10,920 --> 00:34:14,540 or of the Apple sign-in key, and, you know, 687 00:34:14,580 --> 00:34:15,520 we can get her up and running. 688 00:34:15,720 --> 00:34:17,860 From the boot log we receive from that device, 689 00:34:17,980 --> 00:34:20,860 we ensure that when she downloads, you know, 690 00:34:20,860 --> 00:34:23,900 the financial predictions for next quarter or, you know, 691 00:34:23,920 --> 00:34:26,320 whatever sensitive data, and then she leaves 692 00:34:26,320 --> 00:34:28,240 that brand-new machine in the back of the taxi, 693 00:34:28,380 --> 00:34:29,800 because she's in a hurry, she gets out, 694 00:34:30,440 --> 00:34:32,100 that we know with high assurance 695 00:34:32,100 --> 00:34:35,040 that that machine had hardware-protected disk 696 00:34:35,040 --> 00:34:35,960 encryption enabled. 697 00:34:36,280 --> 00:34:38,120 And so at least we are reasonably certain 698 00:34:38,120 --> 00:34:40,140 that without cracking the disk encryption, 699 00:34:40,920 --> 00:34:41,980 that that document is protected, 700 00:34:42,140 --> 00:34:43,800 even though the device has been lost. 701 00:34:44,720 --> 00:34:46,920 And, again, we can do that without that user even having 702 00:34:46,920 --> 00:34:47,760 to come into the office. 703 00:34:48,300 --> 00:34:49,360 So that's why I think that some 704 00:34:49,360 --> 00:34:50,860 of these technologies are really compelling 705 00:34:51,320 --> 00:34:54,260 if we can get them integrated in a kind of user-friendly way. 706 00:34:57,800 --> 00:34:59,280 Okay, so let's talk about the weaknesses. 707 00:35:00,160 --> 00:35:03,160 TPM Measure Boot and UEFI Secure Boot are important endpoint 708 00:35:03,160 --> 00:35:05,400 security technologies, but there are weaknesses. 709 00:35:05,680 --> 00:35:07,340 I've already alluded to several of them. 710 00:35:08,300 --> 00:35:10,640 Still, at a high level, I think that there are two important 711 00:35:10,640 --> 00:35:12,660 things to keep in mind that kind of summarize 712 00:35:12,660 --> 00:35:14,380 the rest of the weaknesses, so to speak. 713 00:35:15,160 --> 00:35:16,680 First, we're still generally assuming 714 00:35:16,680 --> 00:35:18,060 that the user is an ally. 715 00:35:18,380 --> 00:35:21,560 For example, that the user won't go out of his or her way 716 00:35:21,560 --> 00:35:22,960 to physically compromise the device. 717 00:35:24,580 --> 00:35:28,440 Your body, like mine, may be, like, rejecting that concept, 718 00:35:28,560 --> 00:35:30,740 that we still have to trust that the user doesn't want 719 00:35:30,740 --> 00:35:31,680 to compromise the device. 720 00:35:33,660 --> 00:35:36,180 Unfortunately, I don't know if you saw Jonathan's talk 721 00:35:36,180 --> 00:35:40,400 before mine, he made it fairly clear why we still have to trust 722 00:35:40,400 --> 00:35:43,880 the user not to compromise the device, because, for example, 723 00:35:43,940 --> 00:35:47,060 the user could cut the chip off of one device and wire it onto 724 00:35:47,060 --> 00:35:50,000 another one, and, you know, what does that mean now? 725 00:35:50,080 --> 00:35:52,520 It's still a trusted TPM, but it's not the same computer. 726 00:35:52,840 --> 00:35:53,540 Do we care? 727 00:35:53,800 --> 00:35:54,460 I don't know. 728 00:35:56,080 --> 00:35:58,660 Secondly, as I've demonstrated, there's complexity here, 729 00:35:58,760 --> 00:36:01,760 and in software, increased complexity means increased bugs. 730 00:36:01,920 --> 00:36:02,620 That's just the way it is. 731 00:36:03,560 --> 00:36:04,920 So with these two things in mind, 732 00:36:05,040 --> 00:36:07,300 this slide lists some other specific weaknesses 733 00:36:07,300 --> 00:36:08,180 to be aware of. 734 00:36:08,820 --> 00:36:09,900 First, the UEFI. 735 00:36:10,400 --> 00:36:12,440 On the UEFI side, the toolkits are evolving rapidly. 736 00:36:13,460 --> 00:36:15,500 Lots of changes being made to the sample code, 737 00:36:15,720 --> 00:36:16,840 for example, in TianoCore. 738 00:36:17,440 --> 00:36:20,140 Again, you know, just from somebody who's done software 739 00:36:20,140 --> 00:36:22,500 for a long time, you just kind of become nervous 740 00:36:22,500 --> 00:36:23,700 when you see a lot of changes. 741 00:36:24,020 --> 00:36:26,420 That just generally means bugs, so you just got to be careful. 742 00:36:27,900 --> 00:36:30,020 No different on the TPM side, you know. 743 00:36:30,060 --> 00:36:32,420 There's plenty of complexity and risk there as well. 744 00:36:33,400 --> 00:36:36,060 I talked about the risk of, on the TPM side, 745 00:36:36,200 --> 00:36:38,360 of initial bootstrapping and provisioning. 746 00:36:39,360 --> 00:36:45,260 Unless you can, for example, get a database of known TPM keys, 747 00:36:45,360 --> 00:36:47,400 of known endorsement keys from every OEM 748 00:36:47,400 --> 00:36:48,920 whose hardware you're going to support, 749 00:36:49,600 --> 00:36:51,980 then you have this problem of determining up front, 750 00:36:52,620 --> 00:36:53,920 the first time you see that device, 751 00:36:54,220 --> 00:36:56,660 do we trust that it's a real TPM that we're talking to? 752 00:36:58,560 --> 00:37:00,720 What we've actually done for a recent project, 753 00:37:00,820 --> 00:37:03,140 since we haven't been able to count on the OEMs for, 754 00:37:03,300 --> 00:37:07,300 on all of the OEMs to support that, is, for example, 755 00:37:07,320 --> 00:37:08,340 in deployment, where, you know, we're going to be able to, you know, 756 00:37:08,360 --> 00:37:11,640 you've got a higher-value user credential already deployed, 757 00:37:11,880 --> 00:37:15,380 like, for example, you know, OTP fob or a smart card, 758 00:37:15,860 --> 00:37:18,120 you kind of have this moment of trust transaction 759 00:37:18,120 --> 00:37:21,700 where the user signs the device into the system for the first time, 760 00:37:22,180 --> 00:37:26,020 and you say, okay, Mr. User, under penalty of a slap on the wrist, 761 00:37:26,440 --> 00:37:28,800 you know, does this machine still seem secure to you? 762 00:37:28,980 --> 00:37:32,980 And I admit that that is totally weak, but again, it's just kind of, 763 00:37:32,980 --> 00:37:34,800 until we can get to the point of having a trust chain 764 00:37:34,800 --> 00:37:37,960 from all the OEMs, we're kind of just kind of doing the best we can. 765 00:37:39,920 --> 00:37:42,860 Integrity of the TPM hardware, I mentioned that, of course, 766 00:37:42,920 --> 00:37:46,760 you can, there's no way to know that the user doesn't have a TPM, 767 00:37:46,840 --> 00:37:48,940 for example, instead of attached to the motherboard, 768 00:37:49,100 --> 00:37:51,520 that it's just hanging off, you know, the USB port, 769 00:37:52,100 --> 00:37:53,860 or that it wasn't cut from some other device 770 00:37:53,860 --> 00:37:54,860 and soldered into this one. 771 00:37:55,140 --> 00:37:56,100 We just can't know that. 772 00:37:58,360 --> 00:38:01,640 Kind of a big one that I didn't realize until I'd been working 773 00:38:01,640 --> 00:38:02,900 with this technology for a while is 774 00:38:02,900 --> 00:38:04,760 that the Hibernate file is unprotected. 775 00:38:05,260 --> 00:38:06,680 So, to clarify that, 776 00:38:09,420 --> 00:38:13,100 measured boot only happens when the device is doing a clean boot. 777 00:38:14,280 --> 00:38:16,360 Keep in mind that when you're doing a Hibernate, 778 00:38:16,540 --> 00:38:19,160 you're basically, the kernel is basically taking this whole image 779 00:38:19,160 --> 00:38:22,700 of memory of all the drivers, and it's just copying it on a disk, 780 00:38:22,880 --> 00:38:25,680 and when you do a resume, it just copies that whole memory image, 781 00:38:25,880 --> 00:38:27,240 that whole image back into memory, 782 00:38:27,400 --> 00:38:29,020 and then presses the big green go button. 783 00:38:29,480 --> 00:38:31,180 So, it doesn't reinitialize the drivers. 784 00:38:31,520 --> 00:38:34,080 Drivers can be notified of a Hibernate, but it's not the same 785 00:38:34,080 --> 00:38:35,680 as being reloaded and reinitialized, 786 00:38:35,700 --> 00:38:36,440 because they're already loaded. 787 00:38:38,360 --> 00:38:42,340 So, what that means is that if you have a malicious admin 788 00:38:42,840 --> 00:38:45,380 on the other side, the admin could, for example, 789 00:38:45,420 --> 00:38:47,180 inject drivers into the Hibernate file, 790 00:38:47,340 --> 00:38:50,520 or it could modify images in the Hibernate file. 791 00:38:51,740 --> 00:38:55,780 The only way to protect against that is, A, trust the user, 792 00:38:57,020 --> 00:39:00,360 and B, we would recommend, of course, using disk encryption, 793 00:39:00,560 --> 00:39:02,800 because again, disk encryption at least prevents the Hibernate 794 00:39:02,800 --> 00:39:04,100 file from being modified offline. 795 00:39:05,820 --> 00:39:07,220 Let's say it reduces the chance. 796 00:39:11,420 --> 00:39:12,680 The other thing I wanted to mention, 797 00:39:12,780 --> 00:39:14,740 two more weaknesses I wanted to mention. 798 00:39:15,640 --> 00:39:17,780 There's a trend of migration from hardware to firmware. 799 00:39:17,860 --> 00:39:20,540 I mentioned at the beginning the system on a chip approach 800 00:39:21,740 --> 00:39:23,660 that basically most of the tablets are using. 801 00:39:25,580 --> 00:39:28,480 I can't necessarily say that it's more secure to have a TPM 802 00:39:28,480 --> 00:39:31,020 and a separate chip than it is to have it integrated 803 00:39:31,020 --> 00:39:32,920 as a secure execution environment 804 00:39:32,920 --> 00:39:35,200 with everything else going on in a single chip. 805 00:39:37,180 --> 00:39:38,340 My gut reaction is that it's more secure 806 00:39:38,360 --> 00:39:38,380 than the other chip. 807 00:39:38,380 --> 00:39:38,580 I think the other thing I wanted to mention is that it 808 00:39:38,580 --> 00:39:41,400 raises a few concerns that that code would be accessible 809 00:39:41,400 --> 00:39:44,320 from other less trusted code running in that same environment. 810 00:39:45,120 --> 00:39:46,420 Again, just something to think about. 811 00:39:46,920 --> 00:39:50,580 And the final item is that you still have the inevitable zero 812 00:39:50,580 --> 00:39:53,280 day patching delay and the whitelist maintenance. 813 00:39:53,860 --> 00:39:57,560 Even if you're going the route of just checking the certificate 814 00:39:57,560 --> 00:40:02,180 chains for each of the binaries in a remote attestation scenario, 815 00:40:03,440 --> 00:40:05,060 you still have this issue of, well, 816 00:40:05,080 --> 00:40:06,500 you could have a signed binary out there 817 00:40:06,500 --> 00:40:07,620 that hasn't been revoked yet. 818 00:40:08,360 --> 00:40:10,540 You know, because somebody just zero dated at DEF CON. 819 00:40:11,580 --> 00:40:15,580 So, this system doesn't take away that zero day risk. 820 00:40:19,220 --> 00:40:20,740 Looking forward from my perspective 821 00:40:20,740 --> 00:40:22,140 as a security software integrator, 822 00:40:22,240 --> 00:40:23,060 there are two questions. 823 00:40:23,740 --> 00:40:25,900 First, Windows 8 has excellent developer support 824 00:40:25,900 --> 00:40:27,760 for the technologies we've been discussing. 825 00:40:28,720 --> 00:40:32,680 And you see similar, you know, SDKs on the link side as well. 826 00:40:34,580 --> 00:40:36,780 But I'm particularly interested in, you know, 827 00:40:36,800 --> 00:40:38,340 will the Microsoft tablet strap 828 00:40:38,360 --> 00:40:39,040 or will the Windows 8 strategy be successful? 829 00:40:39,280 --> 00:40:40,960 Because I think it's a bellwether for whether a lot 830 00:40:40,960 --> 00:40:43,020 of these technologies will be adoptable. 831 00:40:44,200 --> 00:40:46,800 And second, will similar features become more widely supported 832 00:40:46,800 --> 00:40:48,120 on the top smartphones and tablets? 833 00:40:49,180 --> 00:40:51,620 Either way, as I've demonstrated, capabilities such 834 00:40:51,620 --> 00:40:53,860 as measured boot are already present 835 00:40:54,280 --> 00:40:55,700 in most enterprise class PCs. 836 00:40:56,860 --> 00:40:59,860 So, my recommendation is don't be like James Bond. 837 00:41:00,940 --> 00:41:01,920 Protect the endpoint. 838 00:41:02,580 --> 00:41:03,820 Choose a strong password. 839 00:41:04,600 --> 00:41:05,560 And get the girl. 840 00:41:08,920 --> 00:41:12,320 I think I do have time for questions. 841 00:41:13,080 --> 00:41:14,540 Yeah, I have five minutes for questions. 842 00:41:14,620 --> 00:41:17,060 So, I'm happy to, if you don't mind voicing them out loud 843 00:41:17,060 --> 00:41:18,460 in front of the whole world, I can take them now. 844 00:41:18,600 --> 00:41:20,020 Jim in the green shirt, I think. 845 00:41:21,640 --> 00:41:24,660 So, when you were giving the demonstration about the, 846 00:41:25,140 --> 00:41:28,900 or showing how the banking application can verify 847 00:41:28,900 --> 00:41:31,360 the firmware version and deny access to the transfer, 848 00:41:31,960 --> 00:41:34,280 are you worried that planned obsolescence is going 849 00:41:34,280 --> 00:41:38,340 to remove users that they had once the devices are no longer 850 00:41:38,360 --> 00:41:40,940 supported by the manufacturers, the operators, the makers? 851 00:41:41,380 --> 00:41:44,240 Yeah, so planned obsolescence about mobile devices 852 00:41:45,480 --> 00:41:49,800 in the firmware version check that we had in that mobile, 853 00:41:49,920 --> 00:41:50,720 that mobile application. 854 00:41:51,660 --> 00:41:53,680 Yeah, and in fact, I'm particularly sensitive to that 855 00:41:53,680 --> 00:41:56,220 because I'm the kind of person who uses a thick case 856 00:41:56,220 --> 00:41:58,700 when I buy a phone, and so my phones last forever. 857 00:42:00,260 --> 00:42:01,960 And, yeah, this is clearly something 858 00:42:01,960 --> 00:42:03,600 where there could be a disconnect. 859 00:42:03,860 --> 00:42:04,780 I think I'm getting at your point. 860 00:42:04,840 --> 00:42:06,320 There could be a disconnect between, for example, 861 00:42:06,320 --> 00:42:08,340 the bank who's managing that application, and the bank 862 00:42:08,360 --> 00:42:09,580 who's managing that application has their own life cycle. 863 00:42:10,080 --> 00:42:12,220 The producer of that application, 864 00:42:12,400 --> 00:42:14,520 which probably isn't the bank, and has their own life cycle, 865 00:42:14,660 --> 00:42:17,220 and the carriers and the operating system manufacturer, 866 00:42:17,620 --> 00:42:19,740 none of those four entities or whatever are going 867 00:42:19,740 --> 00:42:20,700 to be on the same timeline. 868 00:42:21,020 --> 00:42:23,120 Yeah, I don't have a good answer for that. 869 00:42:23,260 --> 00:42:25,100 I think that there definitely would be some issues there. 870 00:42:25,660 --> 00:42:26,280 Thank you. 871 00:42:26,740 --> 00:42:27,640 In the front, please. 872 00:42:27,840 --> 00:42:29,600 In application number two, 873 00:42:29,640 --> 00:42:33,920 where you're showing the replication of a device, 874 00:42:34,140 --> 00:42:38,040 so we're using the EK and not the AIK. 875 00:42:39,000 --> 00:42:42,240 Is that what the Attestation Identity Key is for? 876 00:42:42,920 --> 00:42:44,280 Yes, thank you, so question about, 877 00:42:44,480 --> 00:42:46,340 I think I said something confusing 878 00:42:46,340 --> 00:42:49,140 in the second application, the purchase order application, 879 00:42:49,320 --> 00:42:52,720 when I talked about which TPM key is being used. 880 00:42:53,020 --> 00:42:54,720 When you're doing remote attestation, 881 00:42:54,860 --> 00:42:57,380 you're using the Attestation Identity Key 882 00:42:57,380 --> 00:42:58,260 to sign the boot log. 883 00:42:58,860 --> 00:43:00,920 Typically, you'll be using the endorsement key 884 00:43:00,920 --> 00:43:04,500 to establish a new Attestation Identity Key 885 00:43:04,500 --> 00:43:05,640 every time you do that. 886 00:43:08,360 --> 00:43:09,080 Thank you. 887 00:43:09,960 --> 00:43:10,400 Right here. 888 00:43:11,580 --> 00:43:16,160 Hi, what kind of provisions do you have against the non-service? 889 00:43:16,320 --> 00:43:18,740 Because the whole proof of the thing, when he fails, 890 00:43:18,960 --> 00:43:21,700 what happens when he denies access to the rest of the system? 891 00:43:21,760 --> 00:43:24,960 Because otherwise, we could just cancel the communication channel 892 00:43:24,960 --> 00:43:28,460 and force the application to always fail. 893 00:43:28,760 --> 00:43:32,840 So an individual adversary could, say, 894 00:43:33,020 --> 00:43:38,040 stop the whole enterprise from getting their devices 895 00:43:38,360 --> 00:43:41,640 just because he didn't force their attestation to fail. 896 00:43:42,120 --> 00:43:43,200 Yes, yeah, thank you. 897 00:43:43,240 --> 00:43:45,120 Okay, so question about denial of service. 898 00:43:46,240 --> 00:43:48,620 So I think that there are a couple of issues to consider there. 899 00:43:48,700 --> 00:43:50,140 I think it's a great point in general 900 00:43:50,960 --> 00:43:53,660 to use kind of the enterprise scenarios that I talked about. 901 00:43:53,840 --> 00:43:56,080 I think most enterprise systems are not robust 902 00:43:56,080 --> 00:43:57,140 against denial of service, 903 00:43:57,280 --> 00:43:59,700 so that's pretty much the answer to your question there. 904 00:43:59,840 --> 00:44:03,440 I just want to point out that attestation is something 905 00:44:03,440 --> 00:44:05,740 that we're proposing would be layered on top 906 00:44:05,740 --> 00:44:08,340 of an existing authentication solution. 907 00:44:08,340 --> 00:44:09,540 An authorization solution. 908 00:44:09,960 --> 00:44:12,620 So you wouldn't be preventing the machine from booting, 909 00:44:12,640 --> 00:44:14,760 and you wouldn't be preventing the user from, say, 910 00:44:14,760 --> 00:44:16,560 opening up their browser and going to Google. 911 00:44:16,840 --> 00:44:19,440 What you would be preventing is in the current flow 912 00:44:19,440 --> 00:44:21,700 where the user tries to log on to their SharePoint server, 913 00:44:21,980 --> 00:44:24,200 there's now this additional check that we're going to be doing 914 00:44:24,200 --> 00:44:26,220 before we let them log on to their SharePoint server. 915 00:44:26,500 --> 00:44:27,940 So you could DOS SharePoint. 916 00:44:28,400 --> 00:44:31,360 You could DOS, you know, whatever our logon solution is, 917 00:44:31,460 --> 00:44:34,880 and yeah, now you could DOS the attestation server as well. 918 00:44:34,960 --> 00:44:36,400 That's absolutely true. 919 00:44:36,660 --> 00:44:37,100 Yep. 920 00:44:37,720 --> 00:44:38,160 Please. 921 00:44:38,480 --> 00:44:39,720 On the mobile platform, 922 00:44:39,920 --> 00:44:42,800 do you think this is going to go around adding a TPM or NPM, 923 00:44:43,020 --> 00:44:46,100 or do you think it's going to be something like an ARM Trust Zone? 924 00:44:46,260 --> 00:44:47,580 Yeah, yeah, great question. 925 00:44:47,740 --> 00:44:48,940 Question about, and I should have mentioned, 926 00:44:49,100 --> 00:44:49,780 I should have referenced this. 927 00:44:49,900 --> 00:44:53,020 Question about ARM Trust Zone being adopted 928 00:44:53,560 --> 00:44:55,440 as kind of the mobile de facto standard, 929 00:44:55,980 --> 00:44:57,720 as opposed to the TPM being adopted 930 00:44:57,720 --> 00:44:58,940 as the mobile platform standard. 931 00:44:59,580 --> 00:45:02,140 Right now, the direction seems to point to ARM Trust Zone. 932 00:45:03,300 --> 00:45:06,380 For, you know, my company does about 90% of our work on Windows, 933 00:45:06,380 --> 00:45:07,460 if that wasn't already obvious. 934 00:45:07,940 --> 00:45:10,700 We have some important revenue that comes from Interop 935 00:45:10,700 --> 00:45:12,280 between Windows and Linux, though, 936 00:45:12,420 --> 00:45:15,260 which is why I'd like to see a variety of devices 937 00:45:15,260 --> 00:45:16,700 and solutions be available. 938 00:45:17,180 --> 00:45:20,020 It's inconvenient if you have to do the same thing twice 939 00:45:20,020 --> 00:45:21,320 to get it to working on TPM 940 00:45:21,320 --> 00:45:22,960 and get it to working on ARM Trust Zone, 941 00:45:23,120 --> 00:45:24,940 but that's better than not having it at all, 942 00:45:25,000 --> 00:45:26,400 which is essentially the current situation. 943 00:45:27,100 --> 00:45:29,100 But the ARM Trust Zone is basically equivalent 944 00:45:29,100 --> 00:45:30,600 to TPM plus TXT. 945 00:45:30,940 --> 00:45:33,760 Yes, yes, ARM Trust Zone is equivalent to TPM 946 00:45:33,760 --> 00:45:35,720 in terms of the capabilities I've just been describing. 947 00:45:36,500 --> 00:45:36,940 Thank you. 948 00:45:39,880 --> 00:45:40,920 Okay, great. Thanks a lot, guys.