1 00:00:00,000 --> 00:00:05,740 So we're, like I said, I'm David Maynard and this is John Cash. We're going to be talking 2 00:00:05,740 --> 00:00:11,740 about device driver security. You may or may not have heard something about our presentation 3 00:00:11,740 --> 00:00:17,880 at Black Hat, but we're basically doing the same presentation. In the end we're going 4 00:00:17,880 --> 00:00:22,440 to have some specific questions we've gotten from the Mac community that we're going to 5 00:00:22,440 --> 00:00:33,160 be answering about the stuff we did. So we're going to start off with Nifty. I'd like to 6 00:00:33,160 --> 00:00:35,060 point out this presentation is being done on a Mac. 7 00:00:39,100 --> 00:00:43,740 Yes, my wireless is off. Wireless is off. So we're going to be talking 8 00:00:43,740 --> 00:00:49,240 a little bit, like I said, about device driver security. It's a very great topic now. So 9 00:00:49,240 --> 00:00:52,340 as I've told other people this week, the way we feel 10 00:00:52,340 --> 00:00:52,420 about it is we're going to be talking a little bit about device driver security. It's a very great topic now. So as I've told other people this week, the way we feel 11 00:00:52,420 --> 00:00:53,220 about it is we're going to be talking a little bit about device driver security. It's a very great topic now. So as I've told other people this week, the way we feel 12 00:00:53,220 --> 00:01:22,400 about this is operating system vendors like Microsoft, like Apple, Linux distributions, FreeBSD, OpenBSD, these operating system vendors are getting much better at actually hardening their operating system. And you're not seeing as many default attacks. I mean, for instance, the Zotab attack you saw last year wasn't nearly as bad as like MyDint or any of the other ones before it. They're actually getting better at hardening the operating system. So as an attacker, and I'm assuming there's no attackers in this room because, you know, that'd be bad, but as an attacker, I'm assuming there's no attackers in this room because, you know, that'd be bad, but as an attacker, 13 00:01:22,400 --> 00:01:52,260 you have two choices. You can either go up to the application layer, which, you know, would be like SQL injection attacks, PHP file include attacks, or you just send somebody a file that's like, this is a virus, please open it. You know, that would be going up. Now, going down is something that we've been talking about for a little while, but now it's only becoming more applicable. Device drivers actually, unbeknownst to a lot of people, handle a lot of unchecked remote data. 14 00:01:52,400 --> 00:02:22,380 So if you actually go and look at what device drivers on your systems do, you have device drivers for, you know, USB and FireWire. You have device drivers for your networking stack. You have device drivers for your networking cards and stuff. You have device drivers for your wireless cards. You have device drivers all over the place that will allow people to take basically untrusted input. So what are the problems with some of this device driver stuff? Speed to market is so important. Does anybody in here have an 802.11 Android? 15 00:02:22,400 --> 00:02:52,380 Do you have an 802.11 card yet? One guy. Oh, I have one too, but it's for a wholly different reason. So, you know, say again? No, all right, never mind. So one of the things about 802.11 Ns, you'll notice now you can buy things like 802.11 N draft cards. So basically what that means is the spec's not quite finalized, so you're able now to buy something that, you know, is conforming to what the spec currently is, and if they change the spec, 16 00:02:52,400 --> 00:03:22,380 later you'll have to, you know, flash the firmware on your card to get, you know, new stuff. And people are doing stuff like this because there's a long-held belief in the computer industry, first to market wins. So speed to market is very important. So in your rush to get things out the door and be the market winner, some things just don't get tested properly. And that's where we come in. We were, you know, most of the testing and most of the stuff we found has been tested using fuzzing techniques and things like that. And there's a lot of 17 00:03:22,380 --> 00:03:52,300 already good tools available for that. For instance, SCAPI is a great packet creation library. It's got a fuzzer built in. You can actually write SCAPI scripts that will automatically fuzz stuff. And you can do raw wireless packet injection with it. It's pretty cool. And new hardware and committee design protocols are especially susceptible. We're not big fans of things that are done by committee. I mean, could you imagine having to go to the bathroom and it be approved by a committee? Do you really have to go? Are you sure you have to go? How are you going to go? Please hold your 18 00:03:52,300 --> 00:03:56,060 hand, you know, like this while you're going. So, you know, the problem is that, you know, 19 00:03:56,080 --> 00:04:00,960 the committee design stuff, a lot of stuff gets left out. Like security is not a large 20 00:04:00,960 --> 00:04:06,420 part of most committee stuff. So although what we're talking about, you know, primarily 21 00:04:06,420 --> 00:04:12,100 is going to be like 802.11a, b, and g stuff, the thought process, and that's one of the 22 00:04:12,100 --> 00:04:14,640 most important things, and that kind of got drowned out in a lot of stuff we were doing 23 00:04:14,640 --> 00:04:18,940 this week, the thought process and how you find these problems, how you fix them, can 24 00:04:18,940 --> 00:04:22,060 be applied to a lot of different things like Bluetooth, new 802.11 specs. 25 00:04:22,300 --> 00:04:28,900 Like 802.11n, and new wireless data stuff like ed, GVDO, and HSTPA. I myself am a HSTPA 26 00:04:28,900 --> 00:04:36,280 user. So have device drivers had problems in the past? Why, yes, they have. Here's three 27 00:04:36,280 --> 00:04:40,860 good examples. I used to be with a company called Internet Security Systems, and a gentleman 28 00:04:40,860 --> 00:04:47,440 there named Neil Meda actually found an off-by-one in a TCPIP.sys. That's a pretty heavily used 29 00:04:47,440 --> 00:04:51,540 device driver. I don't know how anyone else feels about it, but, you know, I feel it's 30 00:04:51,540 --> 00:04:52,200 pretty heavily used. 31 00:04:52,300 --> 00:04:57,020 And it's also pretty heavily audited, you know, the last ten years. So, you know, for 32 00:04:57,020 --> 00:05:02,040 somebody, you know, last year to find, you know, a new off-by-one in IP options, that's 33 00:05:02,040 --> 00:05:07,940 just showing that the ground is pretty fertile. You know, just earlier in the month of Microsoft's 34 00:05:07,940 --> 00:05:14,300 Super Tuesday, there was a server.sys vulnerability that was a Super Tuesday that came out. And 35 00:05:14,300 --> 00:05:18,200 this was actually also in the device driver. And, strange enough, there's also the free 36 00:05:18,200 --> 00:05:22,280 BSD Wi-Fi integer overflow. It's actually in Wi-Fi, which is kind of weird, because 37 00:05:22,280 --> 00:05:26,260 it's kind of makes it relevant to this talk. But, you know, there have been. 38 00:05:27,440 --> 00:05:29,340 There's a flag on the top of it. 39 00:05:30,040 --> 00:05:36,480 Yay! Awesome! Can I shake your hand later? That's pretty cool. Have you tested 40 00:05:36,480 --> 00:05:41,860 that on any other systems? Have you tested that on any other systems, besides free BSD? 41 00:05:44,200 --> 00:05:52,260 Right. All right. So, have, has, has, you know, any other systems? 42 00:05:52,260 --> 00:05:56,220 Yeah, the, the free BSD Wi-Fi integer overflow been tested on any other systems. It was kind 43 00:05:56,220 --> 00:06:05,860 of a joke, but apparently I was the only one that got it, so. Say again? Oh, net BSD was 44 00:06:05,860 --> 00:06:09,620 also vulnerable. So, if there's any free BSD diehards, don't, don't feel like I'm 45 00:06:09,620 --> 00:06:14,460 explicitly pointing out a free BSD problem. It, it was, it was a, you know, it was a 46 00:06:14,460 --> 00:06:18,080 more wide-scroll problem. So, yeah, okay, there have been device driver problems in 47 00:06:18,080 --> 00:06:22,240 the past. And if you, if you think there haven't been, you know, do, do some research. We've, 48 00:06:22,240 --> 00:06:24,140 we've done a lot of research. Google is your friend. Don't, don't ever believe anything 49 00:06:24,140 --> 00:06:31,800 I say for, you know, go Google stuff. So, strangely enough, Intel on, you know, this 50 00:06:31,800 --> 00:06:38,240 past weekend released a lot of, a lot of driver patches for just, go ahead. 51 00:06:38,300 --> 00:06:43,180 Okay. 130 megs worth of patches. Is that a patch? I mean, how big is a compiled 52 00:06:43,180 --> 00:06:46,140 Linux kernel? I remember when I downloaded the Slackware 53 00:06:46,140 --> 00:06:51,960 for the first time, it was smaller than that. But, you know, they, they fixed a lot of 54 00:06:52,240 --> 00:06:58,360 problems in remote code execution. That's, that's it right there. So, you know, these, 55 00:06:58,360 --> 00:07:01,680 these kind of problems in wireless drivers, you know, they, they are real. They, they 56 00:07:01,680 --> 00:07:06,940 happen. So, now, this is where John starts talking. I'm going to go to, back to text 57 00:07:06,940 --> 00:07:08,680 messaging people. Oh, you have to switch 58 00:07:08,680 --> 00:07:19,960 me mics. Okay. So, so Dave here is the really brilliant kernel level ring zero payload ninja 59 00:07:19,960 --> 00:07:22,080 exploit guy. And I'm the 802.11. 60 00:07:22,240 --> 00:07:27,620 I, I, if I hadn't met Dave, the demo would have been, here's a Windows box. I blue screened 61 00:07:27,620 --> 00:07:31,580 it with EIP. Now, now what the hell do I do? I, no idea. So, I'm going to talk about. 62 00:07:32,440 --> 00:07:38,660 Yeah. Somebody called us a fantastically hacking duo in a blog. That was great. Anyway, so 63 00:07:38,660 --> 00:07:43,020 I'm going to talk about 802.11 and why 802.11 in particular is susceptible to these things 64 00:07:43,020 --> 00:07:49,080 lately. The biggest reason it's so susceptible is it's just so complicated. So, I'm going 65 00:07:49,080 --> 00:07:52,080 to talk about why it's so complicated and maybe what we could do to fix it. 66 00:07:52,240 --> 00:07:57,120 And the direct consequences of it being so complex is that A, you can fingerprint it 67 00:07:57,120 --> 00:08:02,440 and then B, you can exploit it. So, so why is it so complicated? My friend Warlord I think 68 00:08:02,440 --> 00:08:06,820 said this though. Somebody else might correct me. He says, fear leads to anger. Anger leads 69 00:08:06,820 --> 00:08:11,980 to hate. And hate leads to protocols designed by committee. Or maybe it's protocols designed 70 00:08:11,980 --> 00:08:17,480 by committee lead to hate. It's, it's just, it's too complicated to get a bunch of guys 71 00:08:17,480 --> 00:08:20,620 in the room and have them do it right. Maybe the guys could get together and elect the 72 00:08:20,620 --> 00:08:21,240 smartest guy. 73 00:08:21,240 --> 00:08:27,280 But you don't want more than like two people doing this, I think. So, so why is 802.11 so 74 00:08:27,280 --> 00:08:30,820 complicated? Well, partly it's too ambitious. Partly it's attempting to deal with the generate 75 00:08:30,820 --> 00:08:35,120 problems. Things that wireless networks have to deal with that wired ones don't are obviously 76 00:08:35,120 --> 00:08:40,000 hidden nodes, unreliable links and other networks on the same channel. I mean, those happen 77 00:08:40,000 --> 00:08:44,440 all the time. It's just the nature of, of wireless. And so, so that adds legitimate 78 00:08:44,440 --> 00:08:48,820 complexity of the problem they're trying to solve. And so, so that's, you know, they 79 00:08:48,820 --> 00:08:50,020 have to put stuff in there for that. 80 00:08:50,120 --> 00:08:50,580 But yeah. 81 00:08:51,240 --> 00:08:55,820 There's a lot of extra fluff. So, can we fix it? I say yes. All it costs is standards 82 00:08:55,820 --> 00:09:00,960 compliance. Basically, I, I feel like you should have the option at least to ignore 83 00:09:00,960 --> 00:09:05,180 management frames. Management frames are the ones that everybody uses to kick you off 84 00:09:05,180 --> 00:09:09,900 a network and crack it. So, how, here's a good question. If, if it's your home network, 85 00:09:10,080 --> 00:09:14,900 you know, you got a little access point. How often is your network gonna legitimately kick 86 00:09:14,900 --> 00:09:20,180 you off? When, when is that a feature? It does do it. It does it when it reboots. So, 87 00:09:20,180 --> 00:09:24,540 every time you reboot your router, like, cleanly shut it down, not just pull the power, it'll 88 00:09:24,540 --> 00:09:30,480 probably de-auth you. Is that really a useful feature? So, I think the number of management 89 00:09:30,480 --> 00:09:35,060 frames used to, like, break things versus actually accomplish stuff is, it's not worth 90 00:09:35,060 --> 00:09:39,160 it. You should be able to ignore them. There's some control frames that can cause problems. 91 00:09:39,260 --> 00:09:42,960 These are harder to ignore. They're more low level and they're related to keeping networks 92 00:09:42,960 --> 00:09:47,780 on the same channel from interfering with each other. And remove the extras. And here 93 00:09:47,780 --> 00:09:48,980 comes the extras later. 94 00:09:49,680 --> 00:09:50,160 Subtitles by the Amara.org community 95 00:09:50,180 --> 00:09:54,100 So, so why is all that interesting? Because complexity is a hacker's best friend. If there's, 96 00:09:54,100 --> 00:09:57,660 if it's not complex, then somebody didn't mess up. And if somebody didn't mess up, we've 97 00:09:57,660 --> 00:10:01,980 got no bugs to exploit. And 802.11 is not lacking in complexity. 98 00:10:04,400 --> 00:10:09,860 So just for a, a quick comparison, I'm gonna compare 802.11 to Ethernet. Ethernet has 99 00:10:09,860 --> 00:10:14,220 three fields, source, destination, and type. I'm willing to bet if I put 14 bytes up there 100 00:10:14,220 --> 00:10:19,220 and said it's an Ethernet header, a lot of people in the room could parse it. 802.11, 101 00:10:19,220 --> 00:10:25,200 has a version, a type, a subtype, eight flags, one, two, three, or four addresses in different 102 00:10:25,200 --> 00:10:31,200 spots. Fragment number, a sequence number, and that's in the header. After that, we've 103 00:10:31,200 --> 00:10:35,220 got stuff that's not in the header but just as important. You've got positive acknowledgement, 104 00:10:35,520 --> 00:10:40,000 11 management frames, six control frames, lots of subtypes for each of them. And then 105 00:10:40,000 --> 00:10:44,780 as soon as you turn on encryption, it adds more fields, initialization vectors, mix, 106 00:10:45,000 --> 00:10:45,320 etc. 107 00:10:46,840 --> 00:10:49,200 And so there's still more stuff thrown in there. But, but, but, but, but, but, but, but, but, 108 00:10:49,200 --> 00:10:50,780 but, but, but, but, but, but. 109 00:10:50,780 --> 00:10:54,640 Yeah, in Herrmann's expecting something to win. 110 00:10:55,440 --> 00:10:59,260 There's a lot more stuff going on here. 111 00:10:59,260 --> 00:11:04,320 So that may not be, I don't know, monetization. 112 00:11:04,320 --> 00:11:04,860 It's them having more free time. 113 00:11:04,980 --> 00:11:08,560 PowerPoint is pretty much what biased freedom 114 00:11:08,560 --> 00:11:12,500 toward, you know. 115 00:11:12,500 --> 00:11:16,540 essentially turn themselves off and say, I'm going to turn my card back on in, you know, 116 00:11:16,580 --> 00:11:20,520 10 seconds. Well, smaller time frame than that, but you got the idea, so the card can tell 117 00:11:20,520 --> 00:11:24,620 access point. I want to sleep. I'll be back in 10 seconds. Store any packets 118 00:11:24,620 --> 00:11:28,260 for me, and I'll pick them up later. So that adds some complexity, 119 00:11:28,620 --> 00:11:31,580 but it's at least accomplishing something useful. Saves your battery. 120 00:11:33,360 --> 00:11:36,480 Two types of media access control, PCF versus DCF. 121 00:11:36,820 --> 00:11:40,560 PCF stands for point coordination function. DCF is distributed. Basically 122 00:11:40,560 --> 00:11:44,400 DCF is Ethernet, and over wireless is the easiest way to think about it, and if 123 00:11:44,400 --> 00:11:48,480 DCF is Ethernet, then PCF is token ring. You can bet people 124 00:11:48,480 --> 00:11:51,520 are really rushing out the door to push token ring over wireless, right? 125 00:11:53,300 --> 00:11:56,560 I mean, this isn't part of, you don't have to actually implement that to get 126 00:11:56,560 --> 00:12:00,480 certified, but it's still in the standard, taking up a ton of pages, and it actually takes up 127 00:12:00,480 --> 00:12:04,520 some management frames, too, so those bits are forever used for something that I don't think 128 00:12:04,520 --> 00:12:08,480 anybody implemented ever. 11E, quality 129 00:12:08,480 --> 00:12:10,220 of service. That's so you can do video 130 00:12:10,220 --> 00:12:10,540 conference 131 00:12:10,560 --> 00:12:14,100 conferencing over your access point. Now, I gotta ask you, so you've got 132 00:12:14,100 --> 00:12:18,220 quality of service on your access point, so your teleconference gets ahead of your FTP 133 00:12:18,220 --> 00:12:22,240 session or whatever, but what happens when it hits the back end 134 00:12:22,240 --> 00:12:26,260 wired connection and it goes out your Ethernet jack? Does IP or Ethernet care 135 00:12:26,260 --> 00:12:30,080 about those quality of service bits? No. So if you're trying to video 136 00:12:30,080 --> 00:12:34,080 conference with somebody on the same access point, you're probably doing well, but 137 00:12:34,080 --> 00:12:37,840 they're like 100 feet from you. So 138 00:12:39,120 --> 00:12:40,480 I, and I'm 139 00:12:40,480 --> 00:12:44,300 pretty sure that's going into the standard, and that adds a lot of complexity right there. 140 00:12:44,440 --> 00:12:48,340 And finally, just to show you what these crazy standards guys are thinking of, this isn't 141 00:12:48,340 --> 00:12:51,860 gonna make it in, I really hope, and I'm not on the committee by the way. You could 142 00:12:51,860 --> 00:12:57,140 probably guess that, but somebody told me they were at an 802.11 committee meeting, 143 00:12:57,240 --> 00:13:02,700 and somebody proposed geolocating, so this is the layer two of your network card, basically 144 00:13:02,700 --> 00:13:06,360 trying to tell the access point where you are or the access point to have it figure 145 00:13:06,360 --> 00:13:10,300 out like your coordinates, either GPS or some other coordinate system, so you know 146 00:13:10,300 --> 00:13:12,720 where you are relative to other users in the network. 147 00:13:13,480 --> 00:13:16,120 What does that have to do with getting packets from A to B? 148 00:13:16,260 --> 00:13:16,860 Absolutely nothing. 149 00:13:17,080 --> 00:13:18,740 But that's what these people are thinking. 150 00:13:20,160 --> 00:13:22,120 So what do you get if you remove all the extras? 151 00:13:22,640 --> 00:13:24,940 I call this 802.11 minus minus. 152 00:13:25,060 --> 00:13:28,120 Dave here came up with a much more marketing-friendly term, Wi-Fi Lite. 153 00:13:28,540 --> 00:13:30,420 So let's call this Wi-Fi Lite. 154 00:13:31,260 --> 00:13:33,820 If you remove all the extras, you get a Nintendo DS. 155 00:13:36,080 --> 00:13:37,940 It has no Wi-Fi certification. 156 00:13:38,620 --> 00:13:41,640 It is nowhere near 802.11 compliant. 157 00:13:42,180 --> 00:13:44,560 It ignores DIAF and disassociate frames. 158 00:13:45,460 --> 00:13:48,660 It looks like it ignores a lot of other control packets as well. 159 00:13:49,180 --> 00:13:49,940 Works great. 160 00:13:53,340 --> 00:13:55,500 Yeah, and Nintendo doesn't pay me. 161 00:13:55,760 --> 00:14:00,220 In fact, my wife was annoyed that I had spent $120 on a DS for research. 162 00:14:01,880 --> 00:14:05,020 I tried the same thing on an Xbox because they have wireless cards, right? 163 00:14:05,060 --> 00:14:05,660 And she was like, no. 164 00:14:06,820 --> 00:14:07,340 Anyway. 165 00:14:07,340 --> 00:14:09,540 So this works great, but it probably doesn't roam very well. 166 00:14:10,380 --> 00:14:11,160 Who cares? 167 00:14:11,200 --> 00:14:12,800 How many people roam on wireless networks? 168 00:14:12,960 --> 00:14:14,080 Let's have another hand-raising thing. 169 00:14:14,200 --> 00:14:16,220 How many people have a network that they roam on? 170 00:14:17,080 --> 00:14:17,480 OK. 171 00:14:18,160 --> 00:14:20,240 Something like 10 people in the room. 172 00:14:21,160 --> 00:14:23,500 So a lot of the complexity in these protocols 173 00:14:23,500 --> 00:14:25,660 are there for the 10 people in the room who want to roam 174 00:14:25,660 --> 00:14:28,640 and the five people in the room who have ad hoc networks. 175 00:14:29,040 --> 00:14:30,920 And I'm not saying that you shouldn't have the ability to do it, 176 00:14:30,980 --> 00:14:33,940 but you should have the ability to turn it off because that's 177 00:14:33,940 --> 00:14:36,220 where most of the bugs are and things that you don't do every day. 178 00:14:36,320 --> 00:14:37,080 I mean, think about it. 179 00:14:37,900 --> 00:14:39,380 Everybody here is on wireless networks, 180 00:14:39,460 --> 00:14:41,380 and your boxes don't get crashed and owned, right? 181 00:14:41,540 --> 00:14:44,140 So your boxes are capable of moving data packets 182 00:14:44,140 --> 00:14:44,980 and getting you online. 183 00:14:45,420 --> 00:14:47,900 So if you could just take that bit of code that's doing that 184 00:14:47,900 --> 00:14:49,880 and strip out all the extra crap they threw in, 185 00:14:50,320 --> 00:14:52,840 your boxes would not get crashed or owned. 186 00:14:53,040 --> 00:14:55,320 So if you could just turn those things off, that would be great. 187 00:14:55,540 --> 00:14:56,300 Can't do it, though. 188 00:14:56,940 --> 00:14:59,940 So anyway, onto fingerprinting 802.11. 189 00:15:00,720 --> 00:15:01,380 Why bother? 190 00:15:02,020 --> 00:15:04,440 Obviously, if you've got a pocketful of wireless ODA, 191 00:15:05,020 --> 00:15:06,280 you could target your exploits. 192 00:15:06,720 --> 00:15:07,320 Wireless ODA. 193 00:15:07,340 --> 00:15:10,800 IDSs could use this to monitor chipset and driver use. 194 00:15:11,060 --> 00:15:14,200 So for example, a good scenario is you refer a company. 195 00:15:14,280 --> 00:15:16,480 They issue a laptop, and they say, OK, you can only 196 00:15:16,480 --> 00:15:17,880 use our hardware, not your home laptop, 197 00:15:18,060 --> 00:15:19,940 because you've got all sorts of crap installed on it, 198 00:15:19,980 --> 00:15:20,660 and it's already owned. 199 00:15:20,820 --> 00:15:21,000 OK. 200 00:15:21,580 --> 00:15:22,880 They can't really enforce it. 201 00:15:22,960 --> 00:15:23,900 At least most people can't. 202 00:15:23,980 --> 00:15:26,580 So this will let you go, OK, fingerprint the box they give 203 00:15:26,580 --> 00:15:29,080 you, keep track of it whenever you associate, 204 00:15:29,500 --> 00:15:32,240 and if it's changed, then they just don't let you on. 205 00:15:32,560 --> 00:15:33,900 That's obviously not foolproof. 206 00:15:34,080 --> 00:15:36,900 An attacker could just go, OK, they got an Atheros card. 207 00:15:36,900 --> 00:15:37,480 This driver. 208 00:15:37,620 --> 00:15:38,400 I'm going to put it in my laptop, 209 00:15:38,460 --> 00:15:39,180 and it'll get on the network. 210 00:15:39,400 --> 00:15:40,640 But it's a start. 211 00:15:41,300 --> 00:15:43,780 And finally, you could use it to refine OS fingerprints 212 00:15:43,780 --> 00:15:45,180 if you were having trouble. 213 00:15:46,560 --> 00:15:47,460 So why is this cool? 214 00:15:47,840 --> 00:15:49,220 Well, I think it's cool because I 215 00:15:49,220 --> 00:15:51,160 don't know of any other linked layer protocol fingerprints. 216 00:15:52,580 --> 00:15:54,140 You can't fingerprint Ethernet, right? 217 00:15:54,260 --> 00:15:56,040 It's just three bytes or three fields. 218 00:15:57,060 --> 00:15:58,220 So why is this possible? 219 00:15:58,700 --> 00:15:59,900 Well, like I've been saying, it's 220 00:15:59,900 --> 00:16:01,480 because of the complexity of the protocol. 221 00:16:02,580 --> 00:16:04,720 So when I first started trying to fingerprint these, 222 00:16:04,820 --> 00:16:06,660 it was like, well, how far down could you go? 223 00:16:06,900 --> 00:16:07,140 What do you do? 224 00:16:07,400 --> 00:16:09,780 The easiest thing to do is get the chipset or the chipset 225 00:16:09,780 --> 00:16:10,100 family. 226 00:16:10,220 --> 00:16:12,560 So this is Atheros, Broadcom, Centrino. 227 00:16:12,900 --> 00:16:16,840 And then after that, there's different chipsets. 228 00:16:16,860 --> 00:16:19,960 There's an Atheros 5212 versus a Atheros 5211. 229 00:16:20,160 --> 00:16:22,260 And then there's distinct drivers for the chipsets. 230 00:16:23,340 --> 00:16:25,240 This has a Broadcom card in it. 231 00:16:25,300 --> 00:16:26,900 So do Windows boxes sometimes. 232 00:16:27,160 --> 00:16:29,000 So they've got different drivers, obviously. 233 00:16:29,300 --> 00:16:32,280 And then finally, can you tell different versions 234 00:16:32,280 --> 00:16:33,180 of the same driver? 235 00:16:33,500 --> 00:16:35,660 Now, if you could tell different versions of the same driver, 236 00:16:35,660 --> 00:16:37,240 that is really what you want if you're 237 00:16:37,240 --> 00:16:38,300 going to be targeting exploits. 238 00:16:38,320 --> 00:16:39,900 Because your return address might change, 239 00:16:40,080 --> 00:16:41,580 or you're going to overwrite something else. 240 00:16:41,700 --> 00:16:42,700 And you really need to know that. 241 00:16:43,060 --> 00:16:45,060 So that would be ideal if you want to own something. 242 00:16:45,360 --> 00:16:47,260 And then finally, maybe you could fingerprint firmware. 243 00:16:47,540 --> 00:16:49,700 I didn't really look into it, because people are just not 244 00:16:49,700 --> 00:16:50,800 putting much in firmware anymore. 245 00:16:52,640 --> 00:16:55,180 So I came up with three specific types of fingerprints. 246 00:16:55,500 --> 00:16:56,620 Two work, one doesn't. 247 00:16:56,680 --> 00:16:57,740 I talked about them at Black Hat, 248 00:16:57,820 --> 00:16:59,280 and I don't have time to do it here, unfortunately. 249 00:16:59,560 --> 00:17:01,400 I'll show you the one that is cool and works. 250 00:17:01,600 --> 00:17:03,880 And I gave a live demo at Black Hat. 251 00:17:03,940 --> 00:17:04,580 You can ask people. 252 00:17:04,580 --> 00:17:05,080 It did work. 253 00:17:05,380 --> 00:17:06,340 I'm very proud of that. 254 00:17:06,480 --> 00:17:08,500 The reason it worked is because I had an hour and a half 255 00:17:08,500 --> 00:17:10,760 of lunch before my talk to come set up everything 256 00:17:10,760 --> 00:17:11,900 and debug the hell out of it. 257 00:17:12,020 --> 00:17:13,040 And I didn't have that today. 258 00:17:13,440 --> 00:17:15,660 And we're short on time, so I can't do a live one. 259 00:17:15,820 --> 00:17:17,120 But I'll show you how it works. 260 00:17:17,820 --> 00:17:20,520 And basically, the duration stuff I'm going to show you, 261 00:17:20,540 --> 00:17:23,880 lets you get down to the device driver version in some cases. 262 00:17:24,520 --> 00:17:25,280 That's really cool. 263 00:17:26,500 --> 00:17:27,500 So duration analysis. 264 00:17:28,100 --> 00:17:30,280 Totally passive, very accurate, and easy to automate. 265 00:17:30,480 --> 00:17:31,740 In fact, it's already automated and works. 266 00:17:33,220 --> 00:17:34,540 So to understand this. 267 00:17:34,580 --> 00:17:36,260 Basically, I've got to tell you what a duration is. 268 00:17:36,380 --> 00:17:39,460 It's a 16-bit field in every 802.11 data packet 269 00:17:39,460 --> 00:17:41,640 and lots of other packets if you don't have it. 270 00:17:41,700 --> 00:17:42,300 Those are weird ones. 271 00:17:43,160 --> 00:17:45,540 Anyway, the duration is a 16-bit field that says, 272 00:17:45,680 --> 00:17:48,380 how long do I need the error after this packet? 273 00:17:48,540 --> 00:17:49,580 Because by the time you read this, 274 00:17:49,640 --> 00:17:50,580 you've already seen the packet. 275 00:17:50,760 --> 00:17:51,560 You've got this packet. 276 00:17:51,780 --> 00:17:56,120 And the intent is, OK, so I've obeyed the rules of the media 277 00:17:56,120 --> 00:17:56,740 access control. 278 00:17:57,020 --> 00:17:58,340 I've won the random back off. 279 00:17:58,540 --> 00:17:59,760 And I got the error. 280 00:17:59,940 --> 00:18:02,480 Now I'm going to send a packet to my buddy Dave over here. 281 00:18:02,620 --> 00:18:02,660 Right? 282 00:18:02,820 --> 00:18:03,080 And. 283 00:18:03,920 --> 00:18:04,280 And. 284 00:18:04,400 --> 00:18:04,560 It's probably. 285 00:18:04,580 --> 00:18:05,180 It's probably a data packet. 286 00:18:05,400 --> 00:18:07,380 And 802.11 data packets are acknowledged. 287 00:18:07,780 --> 00:18:10,720 And you don't want Dave to have to win the battle for access 288 00:18:10,720 --> 00:18:11,100 control. 289 00:18:11,240 --> 00:18:12,360 So I'm going to send a packet to Dave. 290 00:18:12,620 --> 00:18:14,220 You guys are not going to get on the air. 291 00:18:14,420 --> 00:18:15,760 And he's going to acknowledge it back. 292 00:18:15,980 --> 00:18:17,960 And then somebody else can try to get the media. 293 00:18:18,280 --> 00:18:20,240 So that's the major motivation for this. 294 00:18:20,920 --> 00:18:23,760 And so there's a couple of obvious values for this. 295 00:18:23,840 --> 00:18:25,640 The time would be zero for packets 296 00:18:25,640 --> 00:18:28,040 that aren't acknowledged, broadcast packets, for example. 297 00:18:28,560 --> 00:18:31,020 And it would be however long it takes Dave 298 00:18:31,020 --> 00:18:32,100 to acknowledge me back. 299 00:18:32,280 --> 00:18:33,440 That would be another likely one. 300 00:18:33,440 --> 00:18:36,140 So there's really only a few discrete values for this 301 00:18:36,140 --> 00:18:38,640 that you would likely see, 16, 20 or so. 302 00:18:39,980 --> 00:18:41,540 So what influences this? 303 00:18:41,660 --> 00:18:43,680 Well, obviously, the rate that you transmit packets at 304 00:18:43,680 --> 00:18:44,440 is very important. 305 00:18:44,660 --> 00:18:47,800 If Dave talks faster, then it doesn't take as long. 306 00:18:48,360 --> 00:18:51,220 Also, along the long road of standards compliance, 307 00:18:51,520 --> 00:18:53,360 a few optimizations have been built in. 308 00:18:53,440 --> 00:18:55,220 Short slot time and short preamble. 309 00:18:55,460 --> 00:18:56,380 It's not too important. 310 00:18:56,480 --> 00:18:57,460 It just affects the duration. 311 00:18:57,640 --> 00:18:59,700 So if you want to fingerprint somebody on an access point, 312 00:18:59,800 --> 00:19:02,520 you've got to know the rate, the slot time, and the short 313 00:19:02,520 --> 00:19:03,040 preamble. 314 00:19:05,560 --> 00:19:08,120 So I'm going to get into an example of atheros fingerprint 315 00:19:08,120 --> 00:19:08,760 right here. 316 00:19:08,920 --> 00:19:10,520 So atheros cards, I like them. 317 00:19:10,620 --> 00:19:12,040 They seem to follow the standard pretty well. 318 00:19:12,560 --> 00:19:16,320 What this shows you is the association request 319 00:19:16,320 --> 00:19:18,540 row, for example, says that an association request 320 00:19:18,540 --> 00:19:20,660 packet from an atheros card says 321 00:19:20,660 --> 00:19:22,620 that it's going to use the duration value of 314 322 00:19:23,080 --> 00:19:24,220 100% of the time. 323 00:19:24,560 --> 00:19:29,380 Per requests are 0, 97% of the time, and 314, 3%. 324 00:19:29,820 --> 00:19:30,020 Why? 325 00:19:30,560 --> 00:19:31,420 I have no idea. 326 00:19:31,520 --> 00:19:32,520 That seems really strange to me. 327 00:19:32,520 --> 00:19:33,940 I think they seem to be terministic enough 328 00:19:33,940 --> 00:19:35,380 that it always uses the same value, 329 00:19:35,460 --> 00:19:37,080 or maybe it alternates for some reason. 330 00:19:37,200 --> 00:19:38,320 But 97% in 3. 331 00:19:39,360 --> 00:19:41,600 And there's a couple of others that's the same idea. 332 00:19:42,540 --> 00:19:43,500 Here's a PRISM one. 333 00:19:43,980 --> 00:19:45,740 PRISM cards are older, if you didn't know. 334 00:19:46,860 --> 00:19:48,920 People are still struggling to implement the standard. 335 00:19:49,060 --> 00:19:50,140 And it's really obvious here. 336 00:19:50,220 --> 00:19:52,320 In the authentication packets, you 337 00:19:52,320 --> 00:19:54,320 see the duration value of 53389. 338 00:19:55,120 --> 00:19:56,660 That's a really long time. 339 00:19:56,900 --> 00:19:58,860 In fact, that's an illegally long time. 340 00:19:58,980 --> 00:20:02,100 Any duration value within 32.767 is supposed to be ignored. 341 00:20:02,620 --> 00:20:05,740 So this card sends numbers that are absolutely wrong. 342 00:20:06,760 --> 00:20:09,840 And so if I gave you a packet capture and I said, oh, 343 00:20:09,920 --> 00:20:11,660 it has these numbers or these numbers, 344 00:20:11,860 --> 00:20:13,280 is it an atheros or is it a PRISM? 345 00:20:13,340 --> 00:20:14,220 You could probably tell. 346 00:20:15,760 --> 00:20:16,880 Similarly, I wrote a program. 347 00:20:17,060 --> 00:20:17,700 It does the same thing. 348 00:20:17,880 --> 00:20:18,360 It can tell. 349 00:20:18,980 --> 00:20:19,740 Here's an example. 350 00:20:20,220 --> 00:20:23,240 I can't stay on these slides for too long, because I'm 351 00:20:23,240 --> 00:20:23,820 short on time. 352 00:20:24,820 --> 00:20:26,300 So here's a realistic example. 353 00:20:26,980 --> 00:20:29,560 I know it's kind of small, but I couldn't fit it. 354 00:20:29,620 --> 00:20:30,920 So I'll try to talk over it pretty well. 355 00:20:31,060 --> 00:20:32,280 This is me telling a . . . 356 00:20:32,740 --> 00:20:37,460 Telling my program I'm looking at a PCAP from address 000A95. 357 00:20:38,660 --> 00:20:41,340 I pass it the path to the PCAP, and then I tell it the print 358 00:20:41,340 --> 00:20:41,680 database. 359 00:20:41,980 --> 00:20:44,760 So I had to tell it, OK, this came from an access point with 360 00:20:44,760 --> 00:20:47,600 this rate and this slot time and so on and so forth. 361 00:20:48,080 --> 00:20:50,680 And you can see that the first card listed 362 00:20:50,680 --> 00:20:52,300 is a Broadcom mini PCI. 363 00:20:52,540 --> 00:20:54,860 Well, this actually came from my PowerBook, so the Broadcom 364 00:20:54,860 --> 00:20:56,440 mini PCI is not the right card. 365 00:20:56,680 --> 00:20:59,960 But you'll notice that the top three cards all have Broadcom 366 00:20:59,960 --> 00:21:00,460 chipsets. 367 00:21:00,480 --> 00:21:01,500 So it's on the right path. 368 00:21:02,520 --> 00:21:05,340 And in fact, the score for the Broadcom mini PCI was 79, 369 00:21:05,680 --> 00:21:07,680 and the score for the airport was 78. 370 00:21:07,860 --> 00:21:09,040 So they were very, very close. 371 00:21:11,400 --> 00:21:15,280 So if you were to repeat this and note that the airport 372 00:21:15,280 --> 00:21:19,020 extreme card is one deep in the list, across all the cards 373 00:21:19,020 --> 00:21:22,480 I have on a database with three different samples from each one, 374 00:21:22,640 --> 00:21:24,300 you would get numbers that look like this. 375 00:21:24,420 --> 00:21:27,900 S1, S2, and S3 correspond to three unique PCAP samples 376 00:21:27,900 --> 00:21:28,840 from a given card. 377 00:21:29,280 --> 00:21:32,500 And what a zero in that column means is the card was on top. 378 00:21:32,500 --> 00:21:35,820 A one means that the card was one deep in the list. 379 00:21:35,960 --> 00:21:38,440 So the row with a five in the left 380 00:21:38,440 --> 00:21:43,520 is actually the PCAP I just showed you, the airport extreme 381 00:21:43,520 --> 00:21:44,540 one, and it was one deep. 382 00:21:45,120 --> 00:21:48,700 And basically, that's getting it right an awful lot of time, 383 00:21:49,600 --> 00:21:50,280 which is good. 384 00:21:51,580 --> 00:21:52,380 So how's it work? 385 00:21:52,560 --> 00:21:53,420 I have five algorithms. 386 00:21:53,600 --> 00:21:54,580 I'll briefly go over one. 387 00:21:55,460 --> 00:21:57,940 They're kind of boring, I suspect, to most people. 388 00:21:58,000 --> 00:22:00,020 Basically, you look at the duration values you see, 389 00:22:00,100 --> 00:22:00,900 treat them as a set. 390 00:22:01,060 --> 00:22:01,880 Take the intersection. 391 00:22:02,560 --> 00:22:04,480 Subtract the probability of seeing them from each other, 392 00:22:04,560 --> 00:22:05,800 and return one minus that. 393 00:22:06,000 --> 00:22:09,140 This basically says, card A uses duration value, 394 00:22:09,260 --> 00:22:11,980 say, the legal one was at 52269 or whatever. 395 00:22:12,600 --> 00:22:14,940 A lot of the time, actually 100% of the time, 396 00:22:14,960 --> 00:22:15,900 an authentication package. 397 00:22:16,080 --> 00:22:17,180 And this other one uses it never. 398 00:22:17,480 --> 00:22:19,760 OK, so those don't even make it in this. 399 00:22:19,900 --> 00:22:23,000 But if they use them 100% of the time and 1% of the time, 400 00:22:23,120 --> 00:22:24,160 this still would be close to zero. 401 00:22:25,360 --> 00:22:27,920 And if you do that, you do 10 times better than random. 402 00:22:28,440 --> 00:22:31,060 If you take into account the packet types for the same ratios, 403 00:22:31,060 --> 00:22:33,300 it's 21 times better than random. 404 00:22:33,360 --> 00:22:35,600 At this point, you're well past chipset level resolution, 405 00:22:35,880 --> 00:22:37,400 and you're probably getting device drivers. 406 00:22:38,320 --> 00:22:41,040 And finally, at this level, you get 407 00:22:41,040 --> 00:22:42,920 to do 23 times better than time. 408 00:22:43,000 --> 00:22:44,500 This is if you combine the two techniques. 409 00:22:44,760 --> 00:22:45,480 And that's good. 410 00:22:45,740 --> 00:22:48,380 You're getting the right chipset and device driver 411 00:22:48,380 --> 00:22:49,260 in probably the version. 412 00:22:52,980 --> 00:22:55,780 Oh, just a quick real time demo of this. 413 00:22:57,820 --> 00:22:58,780 So here's a program. 414 00:22:58,980 --> 00:23:00,760 I'm going to try to match a PCAP. 415 00:23:00,760 --> 00:23:04,700 I captured previously of a vulnerable Intel chip driver, 416 00:23:05,000 --> 00:23:07,840 the one they patched three days ago with 130 megs. 417 00:23:08,720 --> 00:23:10,260 So yeah, that's a patch. 418 00:23:11,040 --> 00:23:14,180 Anyway, so here's the PCAP from an Intel vulnerable driver. 419 00:23:15,340 --> 00:23:17,240 And you can see, or maybe you can't, 420 00:23:17,240 --> 00:23:19,120 because I can't make the font big enough, but I tried, 421 00:23:19,260 --> 00:23:21,840 is that up on top, it's the driver 422 00:23:22,220 --> 00:23:23,440 from Intel that's vulnerable. 423 00:23:23,720 --> 00:23:25,220 Now, if I was to run this program again 424 00:23:26,460 --> 00:23:28,600 on a patched version of the driver, 425 00:23:36,240 --> 00:23:37,880 the patched driver comes out on top. 426 00:23:38,100 --> 00:23:40,740 So this is an example of the program actually being 427 00:23:40,740 --> 00:23:42,680 able to distinguish different, same chipset, 428 00:23:42,680 --> 00:23:44,580 same device driver, different version. 429 00:23:44,820 --> 00:23:45,920 And that's exactly what you want 430 00:23:45,920 --> 00:23:46,980 if you're going to exploit something. 431 00:23:47,840 --> 00:23:50,240 So with that out of the way, I'm going to hand it over to Dave 432 00:23:50,240 --> 00:23:51,940 and talk all about his Ring Zero. 433 00:23:53,300 --> 00:23:54,520 I just not going to be that much. 434 00:23:54,640 --> 00:23:57,740 But we're going to be talking about ways 435 00:23:57,740 --> 00:23:59,500 to find bugs, just a little bit. 436 00:23:59,660 --> 00:24:00,680 I mean, this is all centered. 437 00:24:02,920 --> 00:24:08,940 This is all centered. 438 00:24:11,340 --> 00:24:14,900 I'm going to take a little bit of it. 439 00:24:15,080 --> 00:24:16,060 But I'm going to be talking about the 440 00:24:16,060 --> 00:24:16,200 data collection tool that we use 441 00:24:16,200 --> 00:24:18,200 to go through this kind of stuff. 442 00:24:18,200 --> 00:24:30,360 And what we do is we look at that data collection tool. 443 00:24:30,360 --> 00:24:35,220 can be frustrating. A bug can be triggered by something eight packet chains ago. It's 444 00:24:35,220 --> 00:24:38,940 really hard to track down stuff in kernel space. If you've ever had to track down why 445 00:24:38,940 --> 00:24:45,580 something crashed in the kernel, it's not all that easy sometimes. You'll find an exception 446 00:24:45,580 --> 00:24:49,480 handler or something like that that's been tripped, but sometimes finding it, especially 447 00:24:49,480 --> 00:24:55,320 if you do an overwrite, you destroy most of your stack information. That's somewhat hard 448 00:24:55,320 --> 00:25:00,880 to track down. So this is actually John's. John and I each wrote a fuzzer, and this is 449 00:25:00,880 --> 00:25:06,780 John's fuzzer. Yeah, mine is not nearly as smart as his, but I'll talk about it very 450 00:25:06,780 --> 00:25:11,940 briefly. Basically, the fuzzing laptop has three interfaces in it. It's got an Ethernet 451 00:25:11,940 --> 00:25:17,280 interface and two wireless. One wireless interface is out there fuzzing, obviously, and the other 452 00:25:17,280 --> 00:25:22,580 one is sitting there just monitoring the air. Basically, the way it works is that it pings 453 00:25:22,580 --> 00:25:25,300 a host that you're trying to fuzz on the wire. 454 00:25:25,320 --> 00:25:29,260 The wired side says, is this up? Great, I'm going to fuzz the hell out of it. Hopefully, 455 00:25:29,400 --> 00:25:34,860 and then okay, fuzz, fuzz, fuzz, ping the wired side. Is it still up? Yeah, damn, okay, 456 00:25:34,940 --> 00:25:38,120 I'm going to go fuzz something else, and eventually it'll ping something, fuzz it, 457 00:25:38,500 --> 00:25:42,540 ping it again, and it's down. You're like, great, I just crashed it. So then it's going 458 00:25:42,540 --> 00:25:46,340 to take all the packets that it logged on the passive monitoring interface, write them 459 00:25:46,340 --> 00:25:50,480 out to a PCAP file, and put an entry in a log file. And the packets it's sending are 460 00:25:50,480 --> 00:25:55,160 not smart at all. In fact, the fuzzing program has very little grasp of the 461 00:25:55,160 --> 00:25:59,400 802.11 protocol. Basically, it's putting on a header that knows where it's going, and 462 00:25:59,400 --> 00:26:04,400 that's it. There's just random bytes after it of a random link. So it's not very smart. 463 00:26:04,560 --> 00:26:07,880 This is not something you run, you go get a coffee and you come back and you blue screen. 464 00:26:08,000 --> 00:26:11,380 This is something you run before you go to bed, you wake up, and you have a room full 465 00:26:11,380 --> 00:26:15,580 of crashed laptops, hopefully. So that's how this one works. It's not as smart as Dave's. 466 00:26:19,260 --> 00:26:23,760 Oh yeah, and here's a myriad of command line options, which I don't even remember. This 467 00:26:23,760 --> 00:26:24,800 is actually notes for myself. 468 00:26:25,160 --> 00:26:26,120 So I'm going to go back to run it later. 469 00:26:27,860 --> 00:26:33,780 I wrote wisebuzz, whereas John worked specifically on trying to manipulate individual 470 00:26:34,500 --> 00:26:39,800 packets and things like that. The fuzzer I wrote not only will manipulate the individual 471 00:26:39,800 --> 00:26:44,420 packets, but will actually chain bad packets together or send things in an out of order 472 00:26:44,420 --> 00:26:49,500 or an unusual request cycle. I was trying to find, you know, it's not just a single 473 00:26:49,500 --> 00:26:54,100 packet that's going to cause some of these crashes. It's actually what we call a packet 474 00:26:54,100 --> 00:26:55,140 chain or a long chain of packets. 475 00:26:55,160 --> 00:26:56,220 It's a long chain of events that will lead up to it. 476 00:26:57,620 --> 00:27:02,100 So that leads us to shellcode. Shellcode is most, so most times when you write shellcodes 477 00:27:02,100 --> 00:27:05,360 you're looking for, you know, what we call like the connect back shell or return, you 478 00:27:05,360 --> 00:27:09,540 know, the return shell or something like that. So actually a lot of these things is 479 00:27:09,540 --> 00:27:13,460 you're attacking something that's not necessarily on a network with you or something like that. 480 00:27:13,720 --> 00:27:18,540 One of the things that people are looking at, one of the things that's hard to do is 481 00:27:18,540 --> 00:27:21,480 actually get the connect back shell because you don't have an IP address and you're going 482 00:27:21,480 --> 00:27:25,140 to need an IP address to do bi-directional communications. So most of you start with 483 00:27:25,160 --> 00:27:27,580 a build and you get the initial shellcode for Rng0 buttons like this or you're going 484 00:27:27,580 --> 00:27:32,560 to drop off a bot or something like that and let that run and then at the next convenient 485 00:27:32,560 --> 00:27:33,480 time phone home. 486 00:27:35,920 --> 00:27:40,080 Shellcode executes to the kernel level. Most generic overflow protection tools like, you 487 00:27:40,080 --> 00:27:44,520 know, checking to see if a shellcode page is readable or writeable. And the third party 488 00:27:44,520 --> 00:27:48,840 tools from companies like Cisco and Intercept and things like that, most of these don't 489 00:27:48,840 --> 00:27:53,540 cover kernel space that well because they take a huge performance hit. And so, you know, 490 00:27:53,580 --> 00:27:55,140 that leads to request. 491 00:27:55,160 --> 00:27:58,100 be able to execute things pretty well, although you have to be careful of a lot of things, 492 00:27:58,220 --> 00:28:02,800 especially like NX protection when you try to execute things in user land. So that leads 493 00:28:02,800 --> 00:28:09,080 us to a demo and our demo is actually a video. Has anyone seen this video yet? One person? 494 00:28:10,740 --> 00:28:22,800 Two people. Oh, one of them is my boss. It's my mommy likes it. So I have to hold the microphone 495 00:28:22,800 --> 00:28:29,220 up to the... Oh, we have audio? Never mind. I don't have to illustrate this one, comment 496 00:28:29,220 --> 00:28:48,980 over this one. No, I don't want to narrate. John has apple food. It's a very wet sound. 497 00:28:55,100 --> 00:28:58,960 Hi, my name is David Maynor. I'm a member of the research team here at SecureWorks and 498 00:28:58,960 --> 00:29:05,400 on behalf of myself and my co-presenter, Johnny Cash, I'd like to take a minute and show you 499 00:29:05,400 --> 00:29:09,560 a demo of something that we wish we could be doing live in Vegas, but due to security 500 00:29:09,560 --> 00:29:13,780 reasons, we can't really. So what I'm going to be doing is I'm going to be using this 501 00:29:13,780 --> 00:29:21,440 machine as an attacker and I'm going to be bringing in another machine that we will be 502 00:29:21,440 --> 00:29:22,320 using as the victim. 503 00:29:22,400 --> 00:29:22,780 Okay. 504 00:29:22,800 --> 00:29:28,440 And don't think, however, just because we're attacking an apple, the flaw itself 505 00:29:28,440 --> 00:29:32,460 is in an apple. We're actually using a third-party wireless card. 506 00:29:33,980 --> 00:29:35,560 That's a USB wire card, by the way. 507 00:29:35,920 --> 00:29:42,220 So normally for this attack to work, you do not have to have the victim associated 508 00:29:42,220 --> 00:29:47,220 to an access point or authenticated in any way. But for the ease of this demo, this machine 509 00:29:47,220 --> 00:29:52,780 will, this Dell will be acting as a wireless access point with the address of 192.168. 510 00:29:52,780 --> 00:30:02,700 1.1, and this machine will have an address of 192.168.1.50. The attack will be launched 511 00:30:02,700 --> 00:30:08,160 from here. It will affect, it will manipulate buggy code and device driver on this apple. 512 00:30:08,460 --> 00:30:14,640 This apple will connect back to the attacker with the shell, at which time I'll have complete 513 00:30:14,640 --> 00:30:15,360 interactive access. 514 00:30:15,820 --> 00:30:20,680 So there's a couple steps required in setting this up. The first point part is turning this 515 00:30:20,680 --> 00:30:22,240 laptop into an access point. 516 00:30:23,420 --> 00:30:25,260 That's actually not my Porsche, by the way. 517 00:30:25,300 --> 00:30:30,320 I do that with a file setup.sh. This will actually create an access point called 518 00:30:30,320 --> 00:30:35,120 sw-apple-demo. And we'll make this a wireless access point, and then we will connect the 519 00:30:35,120 --> 00:30:46,140 apple to it. So let's run that script. And we connect to sw-apple-demo. 520 00:30:52,240 --> 00:31:02,180 And we have an IP address of 192.168.1.50. Now what we do is we run the exploit called 521 00:31:02,180 --> 00:31:08,120 bad seed. This is actually what it looks like. This is the help screen for it. 522 00:31:12,240 --> 00:31:20,200 And now we will run it against the target machine. It takes a minute or two to run. 523 00:31:20,260 --> 00:31:22,140 It's preparing the shell code for return. 524 00:31:24,180 --> 00:31:27,040 It's getting the connection information for this laptop. 525 00:31:29,560 --> 00:31:31,000 It's not sending the attack. 526 00:31:32,540 --> 00:31:33,760 Waiting for a response. 527 00:31:38,400 --> 00:31:39,500 It got a shell. 528 00:31:39,660 --> 00:31:44,320 Now I am interactively logged into this machine. 529 00:31:45,940 --> 00:31:47,440 Split screen action is awesome. 530 00:31:47,700 --> 00:31:51,980 I'm looking at the files in that home directory. 531 00:31:53,500 --> 00:32:00,260 So what I'm going to do first is create a file on the desktop called owned. 532 00:32:00,380 --> 00:32:01,880 O-W-N-E-D dot text. 533 00:32:02,900 --> 00:32:05,200 As you can see, it was created right there. 534 00:32:05,760 --> 00:32:09,180 And now I want to delete it. 535 00:32:11,220 --> 00:32:12,120 Further proof. 536 00:32:12,280 --> 00:32:12,620 It's gone. 537 00:32:12,820 --> 00:32:14,080 We can open a shell. 538 00:32:14,420 --> 00:32:18,780 And we can go into the desktop. 539 00:32:19,800 --> 00:32:21,960 We can create a file called password. 540 00:32:24,360 --> 00:32:29,520 And in the file I'm putting this is a secret password. 541 00:32:29,880 --> 00:32:30,700 Exclamation point. 542 00:32:30,940 --> 00:32:33,700 I like to use exclamation points as it's actually a secret. 543 00:32:33,940 --> 00:32:35,380 There it is created on the desktop. 544 00:32:35,720 --> 00:32:36,660 Coming back over here. 545 00:32:37,160 --> 00:32:38,120 There it is. 546 00:32:38,220 --> 00:32:40,660 Cat password. 547 00:32:41,640 --> 00:32:43,200 This is a secret password. 548 00:32:43,740 --> 00:32:47,720 And now we will delete it. 549 00:32:48,320 --> 00:32:49,320 And it's gone. 550 00:32:51,600 --> 00:32:52,360 Where did it go? 551 00:32:52,360 --> 00:32:53,240 This includes our presentation. 552 00:32:53,720 --> 00:32:55,580 But if you are still not convinced. 553 00:32:59,020 --> 00:32:59,880 Geez, I'm fat. 554 00:33:00,080 --> 00:33:02,720 You know, after this I decided I should take a couple laps around the table. 555 00:33:02,720 --> 00:33:05,620 There are no wires attaching the two devices. 556 00:33:13,880 --> 00:33:17,060 I just created a file on the desktop called I walked around dot text. 557 00:33:17,060 --> 00:33:18,700 Then I walked around more. 558 00:33:22,780 --> 00:33:24,000 And I just deleted it. 559 00:33:24,940 --> 00:33:29,220 The thing to keep in mind here is although we attacked an apple, the flaw is not specifically 560 00:33:29,220 --> 00:33:32,500 in the apple operating system as we used third party hardware. 561 00:33:33,640 --> 00:33:37,600 This type of a flaw will be systemic across all operating systems and hardware. 562 00:33:37,780 --> 00:33:40,180 And the only way to prevent it is proper testing. 563 00:33:41,680 --> 00:33:46,420 Although this flaw is and can lead to a remotely exploitable condition. 564 00:33:46,860 --> 00:33:48,860 It's not as trivial as a generic buffer overflow. 565 00:33:49,460 --> 00:33:55,160 On behalf of Johnny Cash, myself, David Maynor, and Skelet's research team, thank you for watching. 566 00:33:57,660 --> 00:34:05,660 So I don't know if you guys know this or not, but Mac users love their Macs. 567 00:34:06,380 --> 00:34:08,180 So I am a Mac user. 568 00:34:09,960 --> 00:34:11,100 This is my power book. 569 00:34:11,220 --> 00:34:11,800 And I love it. 570 00:34:11,860 --> 00:34:14,400 In fact, anybody who knows me knows that all my code gets written here. 571 00:34:14,520 --> 00:34:16,160 And if you're lucky, port it to Linux. 572 00:34:17,840 --> 00:34:23,800 So as soon as that demo got run on the Washington Post blog, we got some hate mail. 573 00:34:24,000 --> 00:34:25,400 I mean, did we ever. 574 00:34:25,680 --> 00:34:27,460 We got some serious hate mail. 575 00:34:27,760 --> 00:34:32,940 And we got asked a whole lot of questions by people that were like, oh, this is completely fake. 576 00:34:32,960 --> 00:34:33,780 And this is why it's fake. 577 00:34:34,140 --> 00:34:41,700 So now we have a couple of slides that will answer some of the most popular questions. 578 00:34:41,920 --> 00:34:45,340 And before I answer these, I'd like to give people in the audience a chance 579 00:34:45,340 --> 00:34:47,820 to respond to why is this a bad question. 580 00:34:48,360 --> 00:34:53,260 The most commonly given question is, did you get root? 581 00:34:53,620 --> 00:34:55,740 Does anybody here know why that's a bad question? 582 00:34:57,780 --> 00:34:58,960 That's a terrible answer. 583 00:35:03,180 --> 00:35:03,620 Exactly. 584 00:35:07,000 --> 00:35:08,480 So you're running in a kernel. 585 00:35:08,580 --> 00:35:09,460 And from the kernel, we get root. 586 00:35:09,600 --> 00:35:11,340 And by root, we mean super user access. 587 00:35:11,760 --> 00:35:12,940 Root's a generic term. 588 00:35:13,220 --> 00:35:15,320 Actually, I hear people talking about getting root on Windows 10. 589 00:35:15,320 --> 00:35:16,160 I don't know if you use those machines all the time. 590 00:35:16,300 --> 00:35:17,640 It's actually an administrator account. 591 00:35:18,020 --> 00:35:20,540 But if you compromise something that's running in the kernel, 592 00:35:20,780 --> 00:35:23,620 you have the ability to do whatever you want on the machine. 593 00:35:24,060 --> 00:35:27,180 So that was actually the most common question we got. 594 00:35:27,680 --> 00:35:29,280 Second most, oh, wait, never mind. 595 00:35:29,580 --> 00:35:29,780 Okay. 596 00:35:29,960 --> 00:35:31,040 Is this one still on? 597 00:35:31,220 --> 00:35:31,360 No. 598 00:35:31,860 --> 00:35:32,280 Whatever. 599 00:35:33,840 --> 00:35:36,400 I guess somebody wanted to hear me talk about fingerprinting anymore. 600 00:35:36,680 --> 00:35:36,980 All right. 601 00:35:38,220 --> 00:35:42,320 So here's a bastardization of the OSI network layer model 101. 602 00:35:42,600 --> 00:35:44,040 Because a lot of people didn't seem to get this. 603 00:35:44,040 --> 00:35:46,720 The 802.11 device driver has an arrow next to it. 604 00:35:46,800 --> 00:35:47,540 We are here. 605 00:35:48,260 --> 00:35:50,560 Your firewall is a little bit further down the stack. 606 00:35:50,840 --> 00:35:54,280 It doesn't get these packets until we've already dealt with them. 607 00:35:54,520 --> 00:35:55,400 So, I mean, think about it. 608 00:35:55,480 --> 00:35:59,060 A packet comes in off the air into your card on its antenna. 609 00:35:59,340 --> 00:36:02,480 You can think of it as needing to get from the card to the rest of your computer. 610 00:36:02,860 --> 00:36:04,500 The device driver gets it there. 611 00:36:04,580 --> 00:36:08,160 Your firewall cannot see this packet until we've already given it to it. 612 00:36:08,220 --> 00:36:10,660 So if the bug's in the driver, your firewall can't help. 613 00:36:10,920 --> 00:36:13,760 And finally, some people seem to think that antivirus will help. 614 00:36:14,040 --> 00:36:16,740 Your antivirus is like light years away. 615 00:36:19,280 --> 00:36:23,200 So I don't even know what to say about that, except it doesn't. 616 00:36:30,060 --> 00:36:32,400 The second question was what services are running. 617 00:36:33,120 --> 00:36:39,780 Given the awesome charts that were made by Mr. Johnny Cash and OmniGraph just a few minutes ago, 618 00:36:40,020 --> 00:36:43,280 would anybody like to tell me why this is not a good question? 619 00:36:46,000 --> 00:36:46,880 There you go. 620 00:36:49,340 --> 00:36:52,300 This attack happens at the network link layer. 621 00:36:52,460 --> 00:36:55,220 No IAPF packets were required for this attack. 622 00:36:56,140 --> 00:36:56,860 Question three. 623 00:36:57,360 --> 00:37:03,080 I'll pay you $10, $100, even $1,000 for a live demo. 624 00:37:03,800 --> 00:37:04,440 I got to tell you. 625 00:37:04,540 --> 00:37:07,060 Okay, well, first of all, why is this a bad question? 626 00:37:09,800 --> 00:37:10,480 All right. 627 00:37:10,780 --> 00:37:13,540 For the grammar Nazis, this actually isn't a question. 628 00:37:15,700 --> 00:37:18,880 So aside from that, why is this a bad statement then? 629 00:37:22,640 --> 00:37:24,260 Well, actually, that is funny. 630 00:37:24,500 --> 00:37:30,120 H.G. Moore gets offered $40,000 to $120,000 for unreleased bugs, 631 00:37:30,320 --> 00:37:32,360 and we're getting offered $1,000. 632 00:37:33,060 --> 00:37:33,520 Wow. 633 00:37:33,960 --> 00:37:34,800 Come on, guys. 634 00:37:34,880 --> 00:37:35,740 This is insulting. 635 00:37:36,080 --> 00:37:36,640 You should know it. 636 00:37:36,960 --> 00:37:37,420 Never. 637 00:37:37,500 --> 00:37:38,560 I won't knock iDefense. 638 00:37:38,620 --> 00:37:38,940 I'm sorry. 639 00:37:40,080 --> 00:37:43,680 So this is actually a bad idea because by doing a live demo for you, 640 00:37:43,680 --> 00:37:45,980 and somebody wanted us to package up a demo and ship it to them, 641 00:37:46,360 --> 00:37:51,060 why would I start distributing copies of something that hasn't been patched yet? 642 00:37:51,140 --> 00:37:53,400 That just doesn't seem like a good idea to me. 643 00:37:53,980 --> 00:37:56,500 And that's actually the answer to this question. 644 00:37:58,560 --> 00:37:59,300 Question four. 645 00:38:00,380 --> 00:38:01,620 Why was it a video? 646 00:38:01,900 --> 00:38:03,020 Does anyone know why? 647 00:38:04,680 --> 00:38:07,220 How many sniffers are there in this room right now? 648 00:38:08,120 --> 00:38:11,480 Because we asked this question to Black Hat, and one guy raised his hand, 649 00:38:11,560 --> 00:38:13,320 and I really want to give him a copy of the exploit, 650 00:38:13,320 --> 00:38:14,400 just because he was being honest. 651 00:38:15,360 --> 00:38:20,960 But if you do this demo live on stage, now we're not the only people doing it. 652 00:38:21,060 --> 00:38:22,360 You all are doing it, too. 653 00:38:22,460 --> 00:38:24,220 And that just doesn't seem to be a good idea right now. 654 00:38:25,380 --> 00:38:26,540 And that's the answer. 655 00:38:28,640 --> 00:38:31,200 Anyone with a sniffer will have a copy of the exploit. 656 00:38:31,600 --> 00:38:33,420 And the fifth question. 657 00:38:34,460 --> 00:38:40,300 How did you use a third-party card as there are no PCMCI or Express card slots on your MacBook? 658 00:38:41,140 --> 00:38:42,660 This is actually my favorite one. 659 00:38:42,660 --> 00:38:44,900 Does anyone want to know the answer to this? 660 00:38:45,120 --> 00:38:45,560 Does anyone know? 661 00:38:46,540 --> 00:38:46,940 USB. 662 00:38:48,640 --> 00:38:49,040 USB. 663 00:38:50,180 --> 00:38:53,460 So in addition to that, I actually have to make a dynamic, 664 00:38:53,660 --> 00:38:55,640 a gigantic apology to the Mac user base. 665 00:38:55,720 --> 00:39:00,360 As I was quoted as saying, I would like to stick Mac users in the eye with a lit cigarette. 666 00:39:01,060 --> 00:39:03,740 Although this was an accurate quote, I actually did say that. 667 00:39:07,540 --> 00:39:10,380 I would like to say that I don't mean all Mac users. 668 00:39:10,500 --> 00:39:12,260 I just mean the people that send me emails that say, 669 00:39:12,660 --> 00:39:14,140 fuck you, I'm going to kill you and your dog, too. 670 00:39:14,980 --> 00:39:16,040 I don't even have a dog. 671 00:39:16,180 --> 00:39:17,740 Yeah, I don't even have a dog, so. 672 00:39:20,280 --> 00:39:22,180 In general, though, you know, wrapping up, 673 00:39:22,400 --> 00:39:26,480 you know, people kind of lost sight of what we were talking about here because there was a Mac involved. 674 00:39:26,820 --> 00:39:29,620 And what we were talking about here wasn't that, you know, 675 00:39:29,620 --> 00:39:32,240 we can break into a Mac and, you know, we're badasses and whatnot. 676 00:39:32,540 --> 00:39:37,980 The thing we were talking about was that these kind of problems are systemic across all operating systems. 677 00:39:38,320 --> 00:39:40,120 You know, you'll find problems like this in Windows. 678 00:39:40,260 --> 00:39:41,500 You'll find problems like this in Linux. 679 00:39:41,500 --> 00:39:43,740 You'll find problems like this in FreePSD. 680 00:39:44,600 --> 00:39:45,980 Problems like this exist everywhere. 681 00:39:46,340 --> 00:39:49,760 The fact that we were using a Mac actually is somewhat complimentary to Macs 682 00:39:49,760 --> 00:39:52,120 because we figured if we could break into a Mac, 683 00:39:52,340 --> 00:39:54,700 then everybody would just assume everybody else could be broken into, too. 684 00:39:56,780 --> 00:40:00,760 So, you know, that's our, you know, that's the message that kind of got lost 685 00:40:00,760 --> 00:40:05,000 in a lot of the drama that happened this week is we're not focusing on Macs. 686 00:40:05,000 --> 00:40:06,980 Specifically, we did show a demo on a Mac. 687 00:40:07,140 --> 00:40:10,680 But specifically, this is something that happens systemically, you know, 688 00:40:10,680 --> 00:40:12,700 all throughout people who write device drivers. 689 00:40:12,860 --> 00:40:14,340 It's not just Wi-Fi device drivers. 690 00:40:14,680 --> 00:40:15,680 There's Bluetooth device. 691 00:40:15,960 --> 00:40:19,500 I mean, has anyone, like, ever run a Bluetooth fuzzer here and seen stuff crash? 692 00:40:21,300 --> 00:40:21,840 No one? 693 00:40:22,360 --> 00:40:23,480 Dude, go Google stuff. 694 00:40:24,080 --> 00:40:24,320 Oh, wait. 695 00:40:24,660 --> 00:40:25,480 One gentleman in the front. 696 00:40:25,980 --> 00:40:28,520 So, you can actually go get, you know, off-the-shelf, 697 00:40:28,620 --> 00:40:30,800 one off-the-shelf, you know, downloadable Bluetooth fuzzers now. 698 00:40:31,040 --> 00:40:32,080 Run them against your phone. 699 00:40:32,160 --> 00:40:32,840 Run them against your computer. 700 00:40:33,060 --> 00:40:34,080 Run them against your friend's computer. 701 00:40:34,420 --> 00:40:35,440 That's even funnier. 702 00:40:37,900 --> 00:40:40,660 So, you know, the thing we want people to take away from this, you know, 703 00:40:40,660 --> 00:40:43,880 is these problems have got to be fixed before, you know, 704 00:40:43,940 --> 00:40:47,200 you're measuring the range of Wi-Fi in kilometers and not meters. 705 00:40:49,940 --> 00:40:52,040 I guess you only have a few minutes for questions, 706 00:40:52,100 --> 00:40:54,940 but if there's something we haven't covered already, feel free. 707 00:40:58,020 --> 00:40:59,740 Yeah, other than what card was it? 708 00:40:59,800 --> 00:41:00,020 Next. 709 00:41:05,580 --> 00:41:06,380 I'm sorry. 710 00:41:06,480 --> 00:41:06,940 Repeat the question. 711 00:41:11,000 --> 00:41:12,100 Step up to the mic. 712 00:41:13,360 --> 00:41:13,900 Uh-oh. 713 00:41:14,160 --> 00:41:15,700 Someone just jacked your mic privileges. 714 00:41:16,000 --> 00:41:16,480 Man in the middle. 715 00:41:16,540 --> 00:41:16,680 Hey. 716 00:41:17,480 --> 00:41:20,560 Could you briefly go through the methodology for finding this exploit? 717 00:41:21,320 --> 00:41:24,360 Like, was it, did you start with a fuzzer and then move on from there or what? 718 00:41:24,600 --> 00:41:27,260 No, I'm actually not the biggest fan of the world of fuzzing, actually. 719 00:41:27,340 --> 00:41:30,760 It has a great place and because there's a lot of things that happen sometimes, 720 00:41:31,340 --> 00:41:35,920 like you can find bad code paths and whatnot, but it's actually hard to exercise them. 721 00:41:36,060 --> 00:41:40,060 So, the way I prefer to audit things is you open your binary and you start looking for specific, 722 00:41:40,060 --> 00:41:42,040 you know, bad code patterns and things like that. 723 00:41:42,420 --> 00:41:46,840 And then once you have those marked, then you develop your fuzzer to try to exercise 724 00:41:46,840 --> 00:41:48,220 those specific code paths. 725 00:41:48,480 --> 00:41:52,200 And once you're exercising those specific code paths, then modify your fuzzer to start doing, 726 00:41:52,260 --> 00:41:54,800 like, fault injection or, like, bad data injection. 727 00:41:55,720 --> 00:41:57,660 So, it's actually kind of a hybrid approach. 728 00:41:58,420 --> 00:41:58,960 Yes, sir. 729 00:41:59,620 --> 00:42:03,800 In the Washington Post article, you said that the reason you used the third-party card 730 00:42:03,800 --> 00:42:08,200 was because you were pressured by Apple not to do the exploit on the native airport card. 731 00:42:08,480 --> 00:42:10,040 But then in the follow-up article, you said that the reason you used the third-party card 732 00:42:12,580 --> 00:42:14,560 was because you were pressured by Apple not to do the exploit on the native airport card. 733 00:42:14,940 --> 00:42:20,000 So, the question then becomes, why not just do the video demo without a third-party card? 734 00:42:20,240 --> 00:42:23,960 Well, one of the things we're doing now is I've been in communication with Apple this week. 735 00:42:24,040 --> 00:42:28,280 And actually, Apple has a bit of a holdup with fixing this problem as I've been incredibly busy 736 00:42:28,280 --> 00:42:30,780 and haven't had the chance to get them all of the data they need. 737 00:42:32,040 --> 00:42:34,520 But after this talk, I'll be working on that exclusively. 738 00:42:35,360 --> 00:42:39,540 One of the things that I'm waiting on now is, you know, confirmation from Apple 739 00:42:39,540 --> 00:42:41,120 for effective platforms. 740 00:42:45,540 --> 00:42:49,700 I realize this isn't a real solution, but are you familiar with Tannenbaum's work 741 00:42:49,700 --> 00:42:51,120 on isolating device drivers? 742 00:42:51,820 --> 00:42:55,080 I'm sorry, your question is about isolating device drivers? 743 00:42:55,500 --> 00:42:58,440 Yeah, I know Tannenbaum worked on it. 744 00:42:58,600 --> 00:42:58,740 Right. 745 00:42:58,820 --> 00:43:00,580 I'm probably not saying his name right. 746 00:43:01,240 --> 00:43:02,560 You're talking about Andrew Tannenbaum? 747 00:43:03,300 --> 00:43:03,580 Yeah. 748 00:43:03,880 --> 00:43:04,020 Yeah. 749 00:43:05,300 --> 00:43:06,360 Would this have helped at all? 750 00:43:06,360 --> 00:43:10,620 Well, so, you know, one of the things that seemed to confuse people a lot is, 751 00:43:10,720 --> 00:43:13,940 and that's, of course, why we got the You Got Root question, 752 00:43:14,060 --> 00:43:16,680 is they don't quite understand that device drivers run in the kernel. 753 00:43:16,820 --> 00:43:18,560 Once you compromise the kernel, you can do whatever you want. 754 00:43:18,820 --> 00:43:22,400 So offloading things like those kind of device drivers to user land, 755 00:43:22,560 --> 00:43:25,740 although they would fix the problem, you know, I'm not an OS architect, 756 00:43:25,880 --> 00:43:28,120 so I don't know what kind of performance hit you would take on something like that. 757 00:43:29,760 --> 00:43:30,160 Although... 758 00:43:30,700 --> 00:43:34,280 Actually, trying to push this code away from the kernel is very difficult 759 00:43:34,280 --> 00:43:36,340 because there are a lot of very real problems. 760 00:43:36,360 --> 00:43:39,000 There are a lot of real-time constraints in the 802.11 standard. 761 00:43:39,360 --> 00:43:40,180 It is actually... 762 00:43:40,760 --> 00:43:43,240 You know, originally the first cards that came out, like Prism, 763 00:43:43,300 --> 00:43:46,020 did everything in hardware because it was too hard, 764 00:43:46,080 --> 00:43:48,560 or I think it was too hard just to do it in software in the kernel. 765 00:43:48,700 --> 00:43:50,360 The real-time constraints are just too high. 766 00:43:50,500 --> 00:43:52,420 So to actually take it from kernel to user land, 767 00:43:52,580 --> 00:43:55,680 I mean, I suspect it's probably impractical for 802.11. 768 00:43:55,760 --> 00:43:57,140 Other things, though, yeah, it's possible. 769 00:43:57,480 --> 00:43:59,980 So maybe do more of it in the firmware of the card? 770 00:44:00,660 --> 00:44:01,560 I'm sorry, what was that? 771 00:44:01,800 --> 00:44:04,820 So maybe you should be doing more of it in the firmware of the card and updating that... 772 00:44:04,820 --> 00:44:05,160 Yeah, you know what? 773 00:44:05,160 --> 00:44:07,840 If they put these bugs in the hardware, I don't know what happened, 774 00:44:07,940 --> 00:44:09,580 but I seriously doubt we'd be popping a shell. 775 00:44:11,560 --> 00:44:12,380 That would probably help. 776 00:44:13,420 --> 00:44:15,280 All right, well, we're out of time. 777 00:44:15,440 --> 00:44:16,340 Thanks for all the questions.