1 00:00:00,000 --> 00:00:11,060 So, I'm here to talk about OSX, and I'm here to talk about a new tool, well, which is really kind of an old tool, which is Bastille Linux is now ported to OSX. 2 00:00:11,600 --> 00:00:20,700 We're in beta, but that means I can show it to you, and it means that you can start testing if you want to help, and sometime next week we'll come out of beta with pretty shiny package installers and stuff. 3 00:00:21,120 --> 00:00:26,640 Like, you know, and maybe in a couple more weeks after that we'll be ready for all our parents to run this. 4 00:00:27,760 --> 00:00:33,660 Well, all of our non-technical parents, because I know a few people in here that have extremely technical parents. 5 00:00:34,420 --> 00:00:37,100 Okay, so, oh, there's my bio. 6 00:00:38,260 --> 00:00:44,000 Okay, so we're going to look at Bastille soon, but we're going to start by talking about OSX's default security. 7 00:00:44,620 --> 00:00:46,620 Okay, this is, I'm not talking about server here. 8 00:00:46,820 --> 00:00:54,040 Server is potentially worse and potentially better, but server's very expensive and no one's given me a free copy. 9 00:00:55,180 --> 00:00:56,620 Does anybody here from Apple? 10 00:00:57,140 --> 00:00:58,360 I'd love a free copy. 11 00:00:59,580 --> 00:01:06,560 Anyway, but what we're going to do is we'll talk about the OSX machines that you all have, you know, that you all have on your laps, if you're cool. 12 00:01:07,360 --> 00:01:10,620 If you're not cool, you know, of course you're, no, I'm kidding, you're all cool. 13 00:01:10,880 --> 00:01:12,840 Otherwise you wouldn't be here, right? 14 00:01:12,920 --> 00:01:16,200 We were all called cool as kids for playing with these computer things, right? 15 00:01:17,300 --> 00:01:18,200 Okay, yeah. 16 00:01:19,040 --> 00:01:24,220 So, okay, so what I want to do is we're going to talk about OSX security, and we're going to start by talking about the firewall. 17 00:01:24,540 --> 00:01:26,620 And this is just what you... 18 00:01:26,640 --> 00:01:32,740 What you're seeing here in me talking about this is I got a Mac, and for a little while I didn't really look at it. 19 00:01:32,780 --> 00:01:35,340 I said it's a Unix box, it's a recent Unix. 20 00:01:35,920 --> 00:01:41,880 This means, you know, I know FreeBSD is good, so we're waiting on power. 21 00:01:42,600 --> 00:01:44,280 But I know FreeBSD is good. 22 00:01:44,400 --> 00:01:46,160 I've heard this thing's related to FreeBSD. 23 00:01:46,300 --> 00:01:48,420 I'm pretty sure the defaults are going to be really, really good. 24 00:01:49,800 --> 00:01:56,620 And then I had a friend that, you know, I had a friend that had a little bit of trouble with a laptop getting hacked on a wireless network. 25 00:01:58,140 --> 00:02:00,920 And I said, I'm sure the firewall's good. 26 00:02:01,020 --> 00:02:06,300 And I took a look, and I said, oh, my God, the firewall's not on. 27 00:02:06,880 --> 00:02:10,120 And this was like, I said, what do you mean the firewall's not on? 28 00:02:10,240 --> 00:02:13,200 And actually, a lot of you are saying, well, Jay, come on, don't be an idiot. 29 00:02:13,300 --> 00:02:16,100 Look, the firewall, you know, the firewall might not be on by default. 30 00:02:16,280 --> 00:02:21,440 And I'll be like, okay, well, sorry, I've been in the last five years' worth of Linux distributions, FreeBSD, et cetera. 31 00:02:21,480 --> 00:02:24,960 The firewall's just kind of a thing that's there, and it's on, and we all expect it. 32 00:02:25,320 --> 00:02:26,600 And the thing is, that's just not... 33 00:02:26,620 --> 00:02:28,180 It's not me being stupid, but I kind of... 34 00:02:28,180 --> 00:02:32,460 One of the things I started doing in building this talk was going around to all the other people speaking at conferences 35 00:02:32,460 --> 00:02:36,920 and all the other security professionals at conferences and saying, hey, can I look at your Mac for a sec? 36 00:02:37,360 --> 00:02:39,380 And being like, hey, you got no firewall. 37 00:02:40,020 --> 00:02:43,300 And I'm talking to really bright people that write some really awesome software, 38 00:02:43,580 --> 00:02:46,880 come up with all kinds of great attacks, and they're like, oh, my God, I got no firewall. 39 00:02:47,060 --> 00:02:47,940 The emperor has no clothes. 40 00:02:48,060 --> 00:02:48,600 What the hell? 41 00:02:49,800 --> 00:02:55,420 So, you know, so you think that maybe Jay's the only one who didn't turn his firewall on, 42 00:02:55,540 --> 00:02:56,480 and it turns out I'm not. 43 00:02:56,620 --> 00:02:57,120 I'm not the only one. 44 00:02:57,340 --> 00:03:02,040 And if we were to fire up Nmap maybe at a security conference, port scanning's legal, you know, 45 00:03:02,060 --> 00:03:05,480 we could probably find out that, you know, I don't know, 20% of the Mac users, 46 00:03:05,740 --> 00:03:10,020 20% of the security professional Mac users still haven't turned their firewall on. 47 00:03:10,160 --> 00:03:14,120 In terms of the rest of the Mac users, the ones who never heard of this Securite thing, 48 00:03:14,740 --> 00:03:16,100 okay, the number's much higher. 49 00:03:16,200 --> 00:03:17,540 Lots of them haven't turned the firewall on. 50 00:03:17,780 --> 00:03:18,480 Okay, whatever. 51 00:03:18,720 --> 00:03:21,280 You're saying, come on, firewall on, firewall off, whatever. 52 00:03:21,520 --> 00:03:24,380 A lot of us just, we expected we'd get a firewall on. 53 00:03:24,520 --> 00:03:25,900 So, but let's turn it on. 54 00:03:25,960 --> 00:03:26,600 Let's see what we see. 55 00:03:27,300 --> 00:03:31,460 Okay, some of you don't read, some of you don't read this stuff, and I'll tell you what it means. 56 00:03:32,000 --> 00:03:36,480 For the rest of you that read this stuff, this is the firewall you get when you click on that little start button. 57 00:03:37,140 --> 00:03:38,280 This is the firewall you get. 58 00:03:38,340 --> 00:03:40,380 Anybody, anybody see any problems here? 59 00:03:42,100 --> 00:03:43,560 Somebody, somebody want to help me out? 60 00:03:44,360 --> 00:03:44,720 Anybody? 61 00:03:45,980 --> 00:03:46,420 What's that? 62 00:03:47,760 --> 00:03:50,540 The bottom two lines, which I've so helpfully made red. 63 00:03:51,680 --> 00:03:55,440 So, yeah, this says, okay, I've got a default TCP firewall, 64 00:03:55,620 --> 00:03:56,400 and then I've got this allow. 65 00:03:56,620 --> 00:03:57,000 This is my P line. 66 00:03:57,180 --> 00:04:02,360 I don't know what that means, except that it means, like, I'm blocking TCP and ain't nothing else. 67 00:04:02,720 --> 00:04:07,780 But it's okay, because no protocols, nothing runs on UDP, and ICMP ain't good for nothing, right? 68 00:04:08,060 --> 00:04:10,760 I mean, at least that's what I heard at DEF CON last year. 69 00:04:10,940 --> 00:04:15,840 I mean, okay, so if you've got Panther, this is as far as it goes. 70 00:04:16,120 --> 00:04:17,740 Congratulations, welcome to your firewall. 71 00:04:18,020 --> 00:04:19,360 It's time to upgrade to Tiger. 72 00:04:20,200 --> 00:04:24,540 If you've got Tiger, you didn't get UDP filtering by default. 73 00:04:24,660 --> 00:04:26,300 You didn't get ICMP. 74 00:04:26,300 --> 00:04:29,300 And you only got it if you clicked the Advanced tab. 75 00:04:29,520 --> 00:04:33,740 Let's go back to Jay's, you know, wandering around among the speakers and the attendees at security conferences. 76 00:04:34,040 --> 00:04:35,080 Hey, can I look at your Mac? 77 00:04:35,520 --> 00:04:37,200 How many people clicked the Advanced tab? 78 00:04:37,560 --> 00:04:41,640 Well, as I'll show you, we could use Nmap and find out pretty quickly in this room. 79 00:04:43,180 --> 00:04:44,080 But, what's that? 80 00:04:44,440 --> 00:04:44,940 Do it. 81 00:04:45,780 --> 00:04:46,460 Do it. 82 00:04:46,860 --> 00:04:48,100 Okay, we will, we will. 83 00:04:48,160 --> 00:04:48,440 It's cool. 84 00:04:49,000 --> 00:04:54,660 So, anyway, but most people don't click the damn tab because they say UDP filtering isn't advanced. 85 00:04:55,140 --> 00:04:56,280 I kind of explained that. 86 00:04:56,280 --> 00:04:59,560 So, we click our little Advanced tab. 87 00:04:59,720 --> 00:05:01,580 I've turned all the demos into slides, okay? 88 00:05:01,880 --> 00:05:04,180 So, we click our little Advanced tab and this is what we got. 89 00:05:04,380 --> 00:05:07,380 Oh, you mean I got to turn UDP filtering on like manually. 90 00:05:07,580 --> 00:05:08,460 Okay, so I can do that. 91 00:05:09,020 --> 00:05:11,760 I go and I click on the UDP thing. 92 00:05:12,040 --> 00:05:17,560 My problem with this, my problem with Apple's firewall is that it's the, as I'll show you, 93 00:05:17,620 --> 00:05:22,400 the problems that I find in it are either deceptive, that the GUI is kind of deceptive, 94 00:05:22,420 --> 00:05:23,800 it says it's doing one thing and does another. 95 00:05:24,180 --> 00:05:24,540 Or. 96 00:05:24,540 --> 00:05:30,460 Or, far, far more likely, the firewall configurator designer didn't really grok security, okay? 97 00:05:30,740 --> 00:05:33,700 Seemed to just barely get the whole TCP UDP thing. 98 00:05:34,180 --> 00:05:35,480 Oh, god, Apple's going to hurt me. 99 00:05:38,060 --> 00:05:42,360 So let's check on that block UDP box and let's look at the rules we get out of that. 100 00:05:43,180 --> 00:05:46,800 Okay, here's kind of the first set of rules, so let's ignore this and let's go straight 101 00:05:46,800 --> 00:05:50,960 on to the second one and let's see if we can read yellow just as well as we read red. 102 00:05:51,600 --> 00:05:51,960 Okay. 103 00:05:52,100 --> 00:05:54,520 So, I'm going to let you take a gander at this. 104 00:05:54,540 --> 00:05:57,140 For just a second, I'm going to tell you all what it means, okay? 105 00:05:57,220 --> 00:06:01,040 For all of you that, for whom this text doesn't make sense, again, I'll tell you what it means. 106 00:06:01,100 --> 00:06:01,460 Don't worry. 107 00:06:02,060 --> 00:06:02,420 Okay. 108 00:06:02,580 --> 00:06:08,520 So, the thing is, by the way, all my boxes are unchecked. 109 00:06:08,520 --> 00:06:10,860 All the, you know, open port things are unchecked. 110 00:06:10,860 --> 00:06:13,820 As far as I, the user, think, I think I've got no open ports. 111 00:06:13,940 --> 00:06:14,520 I've got this firewall. 112 00:06:14,660 --> 00:06:15,240 It's default tonight. 113 00:06:15,340 --> 00:06:15,840 It's going to be strong. 114 00:06:16,060 --> 00:06:18,760 I didn't say to, like, I didn't say to share my printer. 115 00:06:18,880 --> 00:06:21,220 I didn't say to share Windows file shares. 116 00:06:21,320 --> 00:06:22,460 I didn't say to share anything. 117 00:06:22,780 --> 00:06:23,860 This machine's a notebook. 118 00:06:23,860 --> 00:06:26,740 It's going to a security conference, and I trust in the firewall. 119 00:06:27,140 --> 00:06:27,580 Okay? 120 00:06:27,680 --> 00:06:29,900 Well, only so far. 121 00:06:30,280 --> 00:06:34,280 The first thing is, the first problem we found is these two rules. 122 00:06:34,580 --> 00:06:40,920 What they say is, if the source port is set to one of two popular protocols, one is 5353, 123 00:06:41,020 --> 00:06:45,120 which is this, which is zero conf, bonjour, rendezvous, whatever you want to call it 124 00:06:45,120 --> 00:06:48,060 this month, if it's coming from that, then let it in. 125 00:06:48,360 --> 00:06:52,280 And the other one says, if this packet's coming from a DHCP server, let it in. 126 00:06:53,380 --> 00:06:53,820 Okay. 127 00:06:53,820 --> 00:06:54,840 What's weird about that? 128 00:06:55,400 --> 00:06:59,500 What's weird is that normally when you let, when you let people, like, when you open up 129 00:06:59,500 --> 00:07:02,840 holes in the firewall, you say, I've got a DHCP client. 130 00:07:03,380 --> 00:07:04,820 I'm going to let it get stuff. 131 00:07:05,240 --> 00:07:08,080 You don't say, DHCP servers are allowed to do anything they want to me. 132 00:07:08,460 --> 00:07:09,320 Does that make sense? 133 00:07:10,120 --> 00:07:14,760 It's a little non-subtle, but the short version is, you can attack any UDP-based service. 134 00:07:14,860 --> 00:07:19,340 You can punch right through the UDP firewall as long as you set your source port to one 135 00:07:19,340 --> 00:07:20,780 of the two magic numbers for Apple. 136 00:07:21,340 --> 00:07:21,740 Okay? 137 00:07:21,800 --> 00:07:22,700 This is kind of a gaffe. 138 00:07:22,700 --> 00:07:24,260 They didn't really, I don't think they really meant this. 139 00:07:24,400 --> 00:07:25,860 I don't think they really understood what they were doing. 140 00:07:26,060 --> 00:07:30,220 But the short version is, port scan a box on UDP, you don't get anything. 141 00:07:30,440 --> 00:07:34,120 Port scan the box again, fixing your source port to one of these two magic numbers, oh, 142 00:07:34,160 --> 00:07:34,760 you see everything. 143 00:07:34,980 --> 00:07:35,380 Rock on. 144 00:07:37,320 --> 00:07:37,680 Okay. 145 00:07:38,040 --> 00:07:41,940 So, but, but most of you are saying, well, it's UDP, Jay, what, what do you care about 146 00:07:41,940 --> 00:07:42,280 UDP? 147 00:07:42,480 --> 00:07:43,520 I mean, what's really on it? 148 00:07:43,780 --> 00:07:46,960 Okay, well, you can, what's on UDP first? 149 00:07:47,060 --> 00:07:50,720 Anything that the user's actually configured to run on UDP, but beyond that, there's some 150 00:07:50,720 --> 00:07:51,400 default services. 151 00:07:51,400 --> 00:07:53,440 And these are the things that I'm bringing exploits for. 152 00:07:53,560 --> 00:07:56,680 I mean, these are the things that the baddies are bringing exploits to DEF CON for. 153 00:07:57,140 --> 00:07:57,540 Okay? 154 00:07:57,720 --> 00:07:59,620 So our first one is NTPD. 155 00:07:59,800 --> 00:08:01,620 That's just, that's what makes my clock work. 156 00:08:01,740 --> 00:08:05,300 It's the network time, NTPD, but it's just not, it's time sync. 157 00:08:05,620 --> 00:08:07,040 I've got CUPS, which is printing. 158 00:08:07,380 --> 00:08:10,900 I've got Bonjour, which is that weird little thing where my Mac talks to all the other 159 00:08:10,900 --> 00:08:12,940 Macs around and like tells it that I'm on AIM and stuff. 160 00:08:13,380 --> 00:08:13,780 Okay? 161 00:08:13,840 --> 00:08:18,220 And then, well, in my case, I found Microsoft Word listens on that port. 162 00:08:18,380 --> 00:08:18,740 So. 163 00:08:19,380 --> 00:08:19,780 Oh. 164 00:08:20,640 --> 00:08:21,040 God. 165 00:08:21,400 --> 00:08:24,300 I like the Microsoft people too much to like start busting on their software. 166 00:08:24,440 --> 00:08:26,840 I don't know if there's going to be a phone there, but if there was, it would be bad. 167 00:08:27,300 --> 00:08:27,620 Right? 168 00:08:27,740 --> 00:08:30,240 So what I'm saying is these are my four targets. 169 00:08:30,620 --> 00:08:31,720 These are my four targets. 170 00:08:32,040 --> 00:08:33,740 None of them should really be reachable. 171 00:08:34,020 --> 00:08:35,040 Arguably Bonjour, maybe. 172 00:08:35,420 --> 00:08:38,920 But none of them should be reachable because I haven't told my machine I want to operate 173 00:08:38,920 --> 00:08:39,400 a print server. 174 00:08:39,840 --> 00:08:41,800 I've told my machine I'm not operating a print server. 175 00:08:41,960 --> 00:08:43,540 I'm not operating any of this. 176 00:08:43,680 --> 00:08:46,040 And the machine's just a little, it's a little friendly. 177 00:08:46,300 --> 00:08:47,600 But you're like, well, who cares? 178 00:08:47,720 --> 00:08:48,120 You know what? 179 00:08:48,220 --> 00:08:49,880 There are never exploits in any of those. 180 00:08:50,720 --> 00:08:51,040 Yeah. 181 00:08:51,400 --> 00:08:51,500 Yeah. 182 00:08:51,500 --> 00:08:55,600 Well, they're, okay, this is the latest, this is the security history for NTPD. 183 00:08:56,000 --> 00:08:57,040 We've got four good ones. 184 00:08:57,220 --> 00:08:58,900 Well, we've got four in there, a couple good ones in there. 185 00:09:00,180 --> 00:09:01,120 CUPS has had a few. 186 00:09:01,960 --> 00:09:05,640 Here's a nice little DOS that'll, you know, I can shut down anybody's, I can consume 187 00:09:05,640 --> 00:09:06,920 all available CPU resources. 188 00:09:07,500 --> 00:09:11,480 I use this one, anybody running a Mac in the room who's on the wireless network, your machine 189 00:09:11,480 --> 00:09:11,820 go down. 190 00:09:12,360 --> 00:09:13,360 I don't get to own you. 191 00:09:13,400 --> 00:09:14,000 I'm not that cool. 192 00:09:14,120 --> 00:09:18,780 But I, you know, I can consume all your CPU resources and that makes me feel cool enough. 193 00:09:19,740 --> 00:09:20,060 Okay. 194 00:09:20,200 --> 00:09:20,480 . 195 00:09:21,400 --> 00:09:24,260 Well, I didn't bring any new fresh exploits because, again, I'm Jay. 196 00:09:24,440 --> 00:09:25,240 I'm not that cool. 197 00:09:25,420 --> 00:09:29,200 I'll tell you how to defend your computers, but, you know, I'm not going to tell you how 198 00:09:29,200 --> 00:09:29,620 to attack them. 199 00:09:29,700 --> 00:09:30,540 I'm keeping them all for myself. 200 00:09:31,240 --> 00:09:31,560 Okay. 201 00:09:31,840 --> 00:09:34,500 So, but what else do you get out of the exploits? 202 00:09:34,580 --> 00:09:37,000 Well, suppose you don't have the exploits. 203 00:09:37,280 --> 00:09:38,940 I still want to talk to these services. 204 00:09:39,540 --> 00:09:39,860 Okay. 205 00:09:40,100 --> 00:09:41,060 Bonjour is a fun one. 206 00:09:41,100 --> 00:09:44,100 It'll tell an attacker, fire up Nessus and point it at a Mac. 207 00:09:44,360 --> 00:09:47,200 And the Nessus plug-in will pop up and say, hey, I found Bonjour. 208 00:09:47,500 --> 00:09:49,200 And Bonjour told me some really nice things. 209 00:09:49,280 --> 00:09:49,740 It said Bonjour. 210 00:09:50,460 --> 00:09:50,880 That's good. 211 00:09:51,400 --> 00:09:51,480 Okay. 212 00:09:51,480 --> 00:09:55,700 And then it said, by the way, this computer is running OS X 10.4.6. 213 00:09:55,860 --> 00:09:56,760 It's missed the last patch. 214 00:09:57,000 --> 00:09:59,140 Or maybe it says 10.4.0. 215 00:09:59,260 --> 00:10:01,680 It's never been patched, which is my personal favorite. 216 00:10:01,940 --> 00:10:02,320 Okay. 217 00:10:02,360 --> 00:10:04,920 It also tells the attacker our hardware and machine name. 218 00:10:05,440 --> 00:10:08,180 Hardware is kind of good if you want to tune your exploits and make sure you get the right 219 00:10:08,180 --> 00:10:08,500 payload. 220 00:10:08,860 --> 00:10:13,100 And then finally it might tell us what programs are Bonjour enabled, like iChat or iTunes 221 00:10:13,100 --> 00:10:13,640 or whatever. 222 00:10:14,360 --> 00:10:14,760 Okay. 223 00:10:15,300 --> 00:10:17,920 I'm not a big fan of the UDP blocking here. 224 00:10:18,340 --> 00:10:20,500 But I'll talk a little bit more about it. 225 00:10:20,500 --> 00:10:23,780 But outside of the hole I just showed you, outside of the whole fix your source port 226 00:10:23,780 --> 00:10:26,920 and hit anything you want, just walk right through the firewall, there's still a hole 227 00:10:26,920 --> 00:10:28,780 in the firewall for CUPS, for the printing daemon. 228 00:10:29,200 --> 00:10:33,000 Even though I told the Mac I'm not operating a print server, it's really weird. 229 00:10:33,060 --> 00:10:35,180 I said, I unchecked, I'm not operating a print server. 230 00:10:35,440 --> 00:10:35,600 Okay. 231 00:10:35,640 --> 00:10:40,760 I unchecked that in the firewall, and I get a print server that's accessible by everybody? 232 00:10:41,320 --> 00:10:42,120 What's up with that? 233 00:10:42,320 --> 00:10:43,480 It shouldn't work like that. 234 00:10:44,340 --> 00:10:44,660 Power. 235 00:10:46,820 --> 00:10:47,140 Okay. 236 00:10:48,760 --> 00:10:49,920 Also, I get a rule that says. 237 00:10:49,920 --> 00:10:54,060 If anybody can talk to Bonjour, well, I don't know, Bonjour is just a protocol that's rough 238 00:10:54,060 --> 00:10:54,500 like that. 239 00:10:54,580 --> 00:10:55,360 It wants to talk to everybody. 240 00:10:55,520 --> 00:10:56,240 It's very, very friendly. 241 00:10:56,480 --> 00:10:59,840 And I'm not sure the firewall can be faulted for not blocking off access to it. 242 00:11:00,080 --> 00:11:03,300 The tough thing is that I think that one of the things we all forget is that we take 243 00:11:03,300 --> 00:11:07,340 apples, along with all of our other laptops, but since we want to be really cool, we want 244 00:11:07,340 --> 00:11:10,800 to be seen as cool, the apples are the ones we take to the coffee shops, and we sit there 245 00:11:10,800 --> 00:11:11,420 and we smoke our cigarette. 246 00:11:11,500 --> 00:11:12,160 We got our beret on. 247 00:11:12,240 --> 00:11:13,740 We're on our apple, right? 248 00:11:14,260 --> 00:11:16,620 And we're looking all cool, right? 249 00:11:18,480 --> 00:11:19,900 We're not on your dad's land anymore. 250 00:11:19,920 --> 00:11:20,300 Okay? 251 00:11:20,600 --> 00:11:21,980 We're on wireless lands. 252 00:11:22,100 --> 00:11:22,540 We're everywhere. 253 00:11:22,780 --> 00:11:26,720 So I'm a little more concerned about Bonjour and other really, really friendly services 254 00:11:26,720 --> 00:11:31,260 and firewalls that are open and all that when I go on other people's lands, especially the 255 00:11:31,260 --> 00:11:31,800 wireless ones. 256 00:11:32,160 --> 00:11:36,000 But I'll talk a little bit more about the UDP thing, but let's look at that other checkbox. 257 00:11:36,220 --> 00:11:38,480 Remember, we clicked on the UDP thing, but there was another thing. 258 00:11:38,680 --> 00:11:44,240 There was this really cool function called stealth mode. 259 00:11:44,820 --> 00:11:45,300 Okay. 260 00:11:45,640 --> 00:11:46,740 This is really cool. 261 00:11:47,000 --> 00:11:48,080 Apples have stealth mode. 262 00:11:48,340 --> 00:11:49,340 Enable stealth mode. 263 00:11:49,920 --> 00:11:50,240 No response. 264 00:11:50,240 --> 00:11:50,980 Any uninvited traffic. 265 00:11:51,320 --> 00:11:53,720 Any uninvited traffic receives no response. 266 00:11:54,040 --> 00:11:56,920 Not even an acknowledgment that your computer exists. 267 00:11:57,940 --> 00:11:59,160 How cool is that? 268 00:12:00,660 --> 00:12:02,980 Apple is so freaking leet. 269 00:12:03,180 --> 00:12:06,220 My machine is going to go on the network, nobody will even be able to talk to it. 270 00:12:06,240 --> 00:12:07,080 It's not going to talk to anybody. 271 00:12:07,240 --> 00:12:08,220 It's not even going to say it exists. 272 00:12:08,640 --> 00:12:09,800 That's how leet Apple is. 273 00:12:10,300 --> 00:12:10,540 Okay. 274 00:12:10,680 --> 00:12:13,080 So I click on that enable stealth mode checkbox. 275 00:12:13,300 --> 00:12:13,700 Okay. 276 00:12:14,000 --> 00:12:15,100 Any uninvited traffic. 277 00:12:15,320 --> 00:12:16,440 No response. 278 00:12:16,700 --> 00:12:17,520 Yeah, baby. 279 00:12:18,040 --> 00:12:18,480 Yeah. 280 00:12:18,480 --> 00:12:19,800 No one's finding this sucker. 281 00:12:20,360 --> 00:12:20,660 Okay. 282 00:12:20,700 --> 00:12:21,460 What do I get? 283 00:12:22,040 --> 00:12:27,220 Well, first, I can port scan our target, and all those UDP holes mean I get all kinds 284 00:12:27,220 --> 00:12:27,900 of answers from that. 285 00:12:27,980 --> 00:12:28,320 That's great. 286 00:12:28,540 --> 00:12:29,500 What's the other side? 287 00:12:31,260 --> 00:12:32,060 ICMP scan. 288 00:12:32,440 --> 00:12:34,020 I can ping it, and it doesn't work. 289 00:12:34,080 --> 00:12:34,760 It doesn't ping. 290 00:12:35,060 --> 00:12:35,460 Yes. 291 00:12:35,520 --> 00:12:35,980 Go Apple. 292 00:12:36,500 --> 00:12:36,900 Okay. 293 00:12:37,100 --> 00:12:37,900 But what else? 294 00:12:38,280 --> 00:12:39,360 I fire up Nmap. 295 00:12:39,540 --> 00:12:44,500 I talk to my friend, Theodore, and I say, hey, babe, hey, can you find machines with 296 00:12:44,500 --> 00:12:45,080 only ICMP? 297 00:12:45,280 --> 00:12:46,080 I got stealth mode on. 298 00:12:46,220 --> 00:12:47,240 He's like, yeah. 299 00:12:47,240 --> 00:12:48,460 I got a timestamp. 300 00:12:48,460 --> 00:12:49,860 I got a network mask request. 301 00:12:50,920 --> 00:12:53,780 Probably get Ophir in here, and he'll show us a bunch of other stuff. 302 00:12:54,100 --> 00:13:00,160 But the short version is these are two just simple, simple little flags in Nmap, and any 303 00:13:00,160 --> 00:13:01,840 kiddie can use them, and they're going to find my box. 304 00:13:01,960 --> 00:13:02,980 That's not so stealthy. 305 00:13:03,200 --> 00:13:05,840 It's an amazingly non-stealthy stealth mode. 306 00:13:06,160 --> 00:13:08,280 It added one rule to our firewall. 307 00:13:08,420 --> 00:13:08,920 This is it. 308 00:13:09,020 --> 00:13:10,820 It says, don't ping me. 309 00:13:11,240 --> 00:13:12,300 Please don't ping me. 310 00:13:12,360 --> 00:13:12,840 That's it. 311 00:13:16,420 --> 00:13:16,820 Okay. 312 00:13:16,900 --> 00:13:17,220 That's it. 313 00:13:17,960 --> 00:13:20,860 So here are my two Nmap commands for all the kiddies in the room. 314 00:13:20,960 --> 00:13:21,160 You're new. 315 00:13:21,220 --> 00:13:22,260 This is your very first DEF CON. 316 00:13:22,400 --> 00:13:23,120 These are your two commands. 317 00:13:23,360 --> 00:13:23,820 Have at it. 318 00:13:23,840 --> 00:13:24,560 Go after Apples. 319 00:13:25,200 --> 00:13:25,560 Okay. 320 00:13:26,580 --> 00:13:29,760 I'm pretty sure none of the Apple users here are putting their machine on the network, 321 00:13:29,880 --> 00:13:33,260 and hopefully by now, if you had it on the wireless network, you've turned that off. 322 00:13:34,960 --> 00:13:35,320 Anyway. 323 00:13:36,460 --> 00:13:38,840 So I just want to underscore this one more time. 324 00:13:38,900 --> 00:13:40,400 Remember the GUI description of stealth mode? 325 00:13:40,580 --> 00:13:41,540 Any uninvited traffic? 326 00:13:41,780 --> 00:13:42,280 No response? 327 00:13:42,780 --> 00:13:47,200 I can get a response with two types of ICMP packets at least. 328 00:13:47,200 --> 00:13:49,660 I can do it with a whole bunch of different UDP packets. 329 00:13:49,820 --> 00:13:50,580 I'm getting responses. 330 00:13:51,660 --> 00:13:52,020 Okay. 331 00:13:52,280 --> 00:13:55,040 Now, this all seems like really basic. 332 00:13:55,120 --> 00:13:56,920 You're like, Jay, I got my Mac. 333 00:13:57,020 --> 00:14:00,680 I immediately investigated the firewall rule set, and I put in my own custom rules. 334 00:14:02,180 --> 00:14:04,080 And what are you even talking about? 335 00:14:04,300 --> 00:14:09,440 And I will tell you, at recent security conferences, I've just started going to at least all the 336 00:14:09,440 --> 00:14:13,080 speakers and as many of the attendees as will let me touch their laptops and say, can I 337 00:14:13,080 --> 00:14:14,060 just take a look at your firewall? 338 00:14:14,320 --> 00:14:15,900 And most of us don't know this. 339 00:14:16,480 --> 00:14:17,180 Nobody's actually heard of it. 340 00:14:17,180 --> 00:14:18,720 Actually, very, very few. 341 00:14:18,820 --> 00:14:23,280 I found one speaker out of all the speakers at a recent conference who actually put in 342 00:14:23,280 --> 00:14:24,120 his own custom rules. 343 00:14:24,440 --> 00:14:25,120 Everybody else? 344 00:14:25,320 --> 00:14:25,680 No. 345 00:14:25,900 --> 00:14:28,820 Now, part of that's, you know, people who speak at conferences, we're not that bright. 346 00:14:29,100 --> 00:14:32,940 But on top of that, I think that might be a representative sample of all of us. 347 00:14:33,000 --> 00:14:37,800 And I don't know, but for some reason, we're just expecting a lot more from the Apple, 348 00:14:37,920 --> 00:14:39,360 and we're not really quite getting it. 349 00:14:40,020 --> 00:14:40,380 Okay. 350 00:14:40,620 --> 00:14:44,460 I'll show you a couple more firewall rules, and then we'll move on, and I'll try to show 351 00:14:44,460 --> 00:14:45,500 you ways to fix this stuff. 352 00:14:45,700 --> 00:14:47,160 I'll show you some other examples. 353 00:14:47,160 --> 00:14:49,540 There are issues outside of the firewall, because this isn't just about the firewall. 354 00:14:49,860 --> 00:14:51,000 So here's our rule set. 355 00:14:51,200 --> 00:14:52,260 Here are our highlighted rules. 356 00:14:52,520 --> 00:14:53,320 Here are my problems. 357 00:14:54,320 --> 00:14:59,680 First, I've got a rule that opens up for a DNS server I don't run. 358 00:14:59,980 --> 00:15:03,280 If I were to put a DNS server on this box, I'd have a rule allowing packets into it. 359 00:15:03,440 --> 00:15:04,180 I don't have one on. 360 00:15:04,240 --> 00:15:06,040 It's kind of a useless little rule, but whatever. 361 00:15:06,260 --> 00:15:09,620 They've drilled a hole for a server I'm not running, and I'm pretty unlikely to run on 362 00:15:09,620 --> 00:15:13,740 my laptop, and they seem to sell a whole lot of laptops, and that seems to be what's everywhere. 363 00:15:14,180 --> 00:15:14,540 Okay. 364 00:15:15,200 --> 00:15:15,880 What else? 365 00:15:15,880 --> 00:15:16,000 What else? 366 00:15:16,000 --> 00:15:19,240 I've told the GUI that I'm not sharing my printer, and there's a little hole drilled 367 00:15:19,240 --> 00:15:22,520 in just to allow people to talk to my printer, even though I've unchecked. 368 00:15:22,560 --> 00:15:22,900 No. 369 00:15:23,000 --> 00:15:24,160 No printer access. 370 00:15:24,340 --> 00:15:26,440 No sharing of the printer, right? 371 00:15:26,580 --> 00:15:27,480 I still get a rule. 372 00:15:27,600 --> 00:15:28,140 Thanks, guys. 373 00:15:28,360 --> 00:15:29,260 What's up with that? 374 00:15:29,580 --> 00:15:29,960 Okay. 375 00:15:30,020 --> 00:15:36,500 I get a rule that's part of Bonjour, which is for SVR lock, and that's still there. 376 00:15:36,620 --> 00:15:36,880 Okay. 377 00:15:36,940 --> 00:15:37,180 Whatever. 378 00:15:37,380 --> 00:15:42,560 And then lastly, I've got a rule for Samba that I don't need unless I'm actually doing 379 00:15:42,560 --> 00:15:45,240 some Windows file sharing, which I also unchecked. 380 00:15:45,240 --> 00:15:47,400 So I'm not quite sure where these things come from. 381 00:15:48,100 --> 00:15:53,140 Anyway, the point of this part of the talk is you're not getting a good firewall out 382 00:15:53,140 --> 00:15:53,620 of the GUI. 383 00:15:53,820 --> 00:15:54,260 Okay? 384 00:15:54,660 --> 00:15:58,880 You're going to have to make your own, or use somebody else's, or actually there are 385 00:15:58,880 --> 00:16:00,460 even commercial firewall replacements here. 386 00:16:01,080 --> 00:16:07,700 But the new OS export of Bastille Linux, which is increasingly misnamed, will actually create 387 00:16:07,700 --> 00:16:08,500 a firewall for you. 388 00:16:08,560 --> 00:16:12,400 If you wanted to do this by hand, if you started pulling out your hair, or you've shut down 389 00:16:12,400 --> 00:16:14,620 your wireless network on your laptop about 10 minutes ago. 390 00:16:15,240 --> 00:16:17,720 Now you're like, oh my God, I need my fix, I can't get my email, or my web browsing. 391 00:16:17,820 --> 00:16:17,960 Ah! 392 00:16:18,380 --> 00:16:18,700 Right? 393 00:16:19,140 --> 00:16:20,260 We can actually... 394 00:16:20,260 --> 00:16:22,040 We're not supposed to be done already, are we? 395 00:16:22,300 --> 00:16:22,620 Okay. 396 00:16:23,220 --> 00:16:24,040 We're not supposed to be done. 397 00:16:24,120 --> 00:16:24,820 That must be turbo talk. 398 00:16:25,020 --> 00:16:31,120 So anyway, if you had to fix your firewall by hand right now, at this very moment, so 399 00:16:31,120 --> 00:16:35,340 you could get back on and get your web fix, your email fix, or whatever, you could just 400 00:16:35,340 --> 00:16:36,880 start removing the rules that get in your way. 401 00:16:37,140 --> 00:16:41,200 You could remove those two gaping holes where anything's allowed as long as it comes from 402 00:16:41,200 --> 00:16:44,660 the right source port, and then you could remove those other holes we were just talking about, 403 00:16:44,680 --> 00:16:45,220 the ones that do work. 404 00:16:45,240 --> 00:16:48,520 You could do Windows file sharing, printer sharing, Bonjour, SVR loc, okay? 405 00:16:49,020 --> 00:16:50,580 So you can fix your firewall. 406 00:16:50,840 --> 00:16:51,980 It's actually about six commands. 407 00:16:52,440 --> 00:16:55,040 That'll just basically pull the holes out, okay? 408 00:16:55,160 --> 00:16:58,180 You have to do all the gooey clicking first, but that'll get you there. 409 00:16:58,400 --> 00:16:58,740 Okay? 410 00:16:58,800 --> 00:16:59,800 That's just the manual quick. 411 00:17:00,500 --> 00:17:00,900 Okay. 412 00:17:01,040 --> 00:17:02,940 So I wanted to talk about a couple other issues. 413 00:17:03,140 --> 00:17:04,280 The first one was Bonjour. 414 00:17:04,520 --> 00:17:10,800 I think I seem to have, I've got repetitive slides, but the Bonjour thing is I can find 415 00:17:10,800 --> 00:17:13,440 out what patch level I'm up to, which is really nice. 416 00:17:13,500 --> 00:17:14,840 I can find out what patch level someone's up to. 417 00:17:14,840 --> 00:17:16,620 By just talking to Bonjour on their box. 418 00:17:16,920 --> 00:17:19,760 And that's really nice because if you've got an attacker at a conference and she's trying 419 00:17:19,760 --> 00:17:23,660 to figure out, you know, which apples to hit, you know, now that she's already been able 420 00:17:23,660 --> 00:17:28,760 to fingerprint them through that UDP thing, right now she can say, okay, what patch level 421 00:17:28,760 --> 00:17:28,920 are you? 422 00:17:29,080 --> 00:17:32,100 The machine says, I've never been patched, okay? 423 00:17:32,180 --> 00:17:33,440 Our attacker comes after us. 424 00:17:33,740 --> 00:17:37,660 And now I want to introduce a new kind of wall of sheep, which I'm hoping people will 425 00:17:37,660 --> 00:17:43,720 set up tomorrow, which is the wall of patchless sheep, at least patchless Mac sheep. 426 00:17:44,220 --> 00:17:44,580 Okay? 427 00:17:45,220 --> 00:17:47,900 If I interrogate Bonjour, I can get your machine name. 428 00:17:48,340 --> 00:17:51,940 Usually tells the attack of the name of the admin user, since it's like, you know, part 429 00:17:51,940 --> 00:17:54,280 of the admin user's name goes in the default machine name. 430 00:17:54,580 --> 00:17:55,420 Okay, that's good. 431 00:17:55,540 --> 00:17:56,920 I get the account that I need to brute force. 432 00:17:57,640 --> 00:18:01,360 Additionally, the admin's name is also useful for the wall of patchless sheep. 433 00:18:01,980 --> 00:18:02,540 What else? 434 00:18:03,280 --> 00:18:06,800 I can get your machine hardware type, which, you know, is nice because it means that when 435 00:18:06,800 --> 00:18:10,560 I'm going to choose, when I have to choose payload for those UDP exploits, I know which 436 00:18:10,560 --> 00:18:12,740 payloads to choose because I know what hardware you're running. 437 00:18:12,740 --> 00:18:14,320 No universal binaries required. 438 00:18:14,800 --> 00:18:15,560 That's really cool. 439 00:18:15,740 --> 00:18:20,220 On the other, additionally, it makes it a little bit easier to find out which machine 440 00:18:20,220 --> 00:18:23,080 you happen to be running in the room, take your picture and put it up on the wall of 441 00:18:23,080 --> 00:18:23,620 patchless sheep. 442 00:18:24,020 --> 00:18:25,020 I'm sorry. 443 00:18:25,120 --> 00:18:27,240 I'm really trying to get my wall of patchless sheep put up. 444 00:18:27,660 --> 00:18:29,440 Anybody going to volunteer to help? 445 00:18:30,840 --> 00:18:31,260 Okay. 446 00:18:31,400 --> 00:18:32,080 Well, fine. 447 00:18:33,320 --> 00:18:33,740 Okay. 448 00:18:33,820 --> 00:18:34,220 What else? 449 00:18:34,400 --> 00:18:34,860 If you're... 450 00:18:34,860 --> 00:18:36,480 These are other issues in OSX. 451 00:18:36,540 --> 00:18:37,080 Not too many. 452 00:18:37,460 --> 00:18:42,580 Net info, if you're on the system, listen, a couple versions ago, they weren't actually 453 00:18:42,740 --> 00:18:43,580 even shadowing passwords. 454 00:18:43,800 --> 00:18:47,100 They're shadowing passwords now, but you can pull up as one user, you can pull up a list 455 00:18:47,100 --> 00:18:51,320 of all the other users along with their password length because it'll differ. 456 00:18:51,520 --> 00:18:52,520 Here, let me see if I got a slide. 457 00:18:52,760 --> 00:18:53,360 Yeah, here you go. 458 00:18:53,680 --> 00:18:54,600 I've got a K user. 459 00:18:54,800 --> 00:18:55,680 I've got a J user. 460 00:18:55,860 --> 00:18:58,260 And you can see they've got different password lengths. 461 00:18:58,760 --> 00:18:59,940 So we get our password length. 462 00:19:00,060 --> 00:19:00,780 As long as it's under... 463 00:19:00,780 --> 00:19:03,620 As long as it's eight characters less, I can figure out what your password length is, which 464 00:19:03,620 --> 00:19:05,840 might make it a little bit easier to brute force, not too much easier. 465 00:19:06,580 --> 00:19:07,180 What else? 466 00:19:07,260 --> 00:19:07,500 Bluetooth. 467 00:19:08,180 --> 00:19:08,500 Okay. 468 00:19:08,920 --> 00:19:09,960 This slide's a little wrong. 469 00:19:10,540 --> 00:19:13,200 The Bluetooth configuration is not default on. 470 00:19:13,360 --> 00:19:16,380 It is default on on every account created after the very first one. 471 00:19:16,820 --> 00:19:20,860 So you get your machine from the start, Bluetooth is off. 472 00:19:20,960 --> 00:19:21,360 That's great. 473 00:19:21,560 --> 00:19:21,780 Okay? 474 00:19:21,980 --> 00:19:24,340 That user, the first user, is an admin user. 475 00:19:24,620 --> 00:19:27,480 None of us would run as that user, not as security people, right? 476 00:19:27,620 --> 00:19:31,160 I mean, unless we've probably spent too much time fighting run as user and all that. 477 00:19:31,440 --> 00:19:33,540 But you don't need to do this. 478 00:19:33,700 --> 00:19:39,060 Trust me, I've run this for a couple years now and I created the second user, non-administrator, 479 00:19:39,060 --> 00:19:40,940 I run with that all the time when I've got to do something administrative. 480 00:19:41,220 --> 00:19:43,760 It just prompts me and asks me for an administrator name and password. 481 00:19:43,840 --> 00:19:44,160 That's cool. 482 00:19:44,560 --> 00:19:46,020 But that first user... 483 00:19:46,020 --> 00:19:47,080 Could you guys be quiet? 484 00:19:48,380 --> 00:19:49,600 Oh, well, I'm screwed. 485 00:19:49,900 --> 00:19:50,260 Okay. 486 00:19:50,360 --> 00:19:51,620 So the first... 487 00:19:51,620 --> 00:19:54,760 You're going to create a second user and that's really good, and that second user, that's 488 00:19:54,760 --> 00:19:55,320 best practice. 489 00:19:55,420 --> 00:19:56,300 We're all going to do that. 490 00:19:56,440 --> 00:19:59,100 The thing we're not going to notice is Bluetooth got turned back on. 491 00:19:59,260 --> 00:20:02,580 It gets turned back on whenever you log in as any other user besides the very first one 492 00:20:02,580 --> 00:20:02,960 you created. 493 00:20:03,700 --> 00:20:08,680 Even if it's not been turned off, I mean, even if it is turned off or even if you've 494 00:20:08,680 --> 00:20:12,320 turned it on yourself, they're set discoverable by default, okay? 495 00:20:12,420 --> 00:20:15,120 Does anybody need their laptop to be discoverable by Bluetooth? 496 00:20:15,520 --> 00:20:19,360 Makes it a lot easier to find your machine on the network, well, not on the network, 497 00:20:19,580 --> 00:20:23,240 kind of, yeah, a little bit easier for the shmoo grip to find your machine. 498 00:20:23,460 --> 00:20:25,940 And that's nice because those are good guys and they should find them. 499 00:20:26,540 --> 00:20:31,040 Encryption set to off, user off of Bluetooth is not always perfect, okay? 500 00:20:31,200 --> 00:20:32,120 Here's my screenshot. 501 00:20:32,400 --> 00:20:33,960 Here's Bluetooth for a new user. 502 00:20:34,080 --> 00:20:34,600 It's on. 503 00:20:34,640 --> 00:20:36,500 It's discoverable, okay? 504 00:20:36,760 --> 00:20:38,560 There are a couple more weaknesses I'll tell you about. 505 00:20:38,560 --> 00:20:39,520 Before I introduce Bastille. 506 00:20:39,620 --> 00:20:43,220 The first one is every user can see each other's files. 507 00:20:43,900 --> 00:20:45,120 I love this kind of stuff. 508 00:20:45,240 --> 00:20:46,740 Just put me on an XServe, man, come on. 509 00:20:46,880 --> 00:20:48,320 Every user gets to see each other's files. 510 00:20:48,500 --> 00:20:49,600 Every user can read each other's files. 511 00:20:49,720 --> 00:20:50,940 Every user can execute each other's files. 512 00:20:51,280 --> 00:20:52,860 The only thing they can't do is write to each other's files. 513 00:20:53,020 --> 00:20:56,100 There's a new mask in place, but it's not a good one, okay? 514 00:20:56,220 --> 00:20:57,100 This is really nice. 515 00:20:57,260 --> 00:21:00,940 You know, you're on a multi-user system and, you know, I don't know, you've got, you get 516 00:21:00,940 --> 00:21:01,340 curious. 517 00:21:01,500 --> 00:21:02,960 You go and look in your friend's home directory. 518 00:21:03,160 --> 00:21:04,320 You find all of his data. 519 00:21:04,400 --> 00:21:05,380 Maybe you pilfer some of it. 520 00:21:05,420 --> 00:21:08,540 Maybe you take some, well, okay, that would all be bad stuff and we wouldn't do that because 521 00:21:08,560 --> 00:21:10,060 this is DEF CON and we're good people. 522 00:21:10,400 --> 00:21:11,460 We're not up to no good. 523 00:21:11,580 --> 00:21:12,780 There's no mischief at DEF CON. 524 00:21:13,280 --> 00:21:15,580 Okay, so that's not so bad. 525 00:21:15,660 --> 00:21:18,340 It's local, I understand, but, you know, it's kind of a pain in the butt. 526 00:21:18,840 --> 00:21:19,440 What else? 527 00:21:19,720 --> 00:21:21,280 Auto log-ins are on by default. 528 00:21:21,500 --> 00:21:24,940 I guess we're all used to that being bad, but I just, it shouldn't be on by default. 529 00:21:25,060 --> 00:21:25,600 Come on, guys. 530 00:21:26,500 --> 00:21:30,700 It shouldn't just automatically log, I mean, what this means is I install a Mac, it automatically 531 00:21:30,700 --> 00:21:34,000 logs on as the administrative user with no help. 532 00:21:35,060 --> 00:21:35,580 That's great. 533 00:21:35,640 --> 00:21:37,820 I'm going to leave my machine sitting alone at DEF CON that way. 534 00:21:37,820 --> 00:21:41,140 You know, chained to a table, but all you got to do is turn it off and turn it on and 535 00:21:41,140 --> 00:21:41,860 you're admin. 536 00:21:42,220 --> 00:21:42,940 Go for it. 537 00:21:43,560 --> 00:21:43,920 Okay. 538 00:21:44,000 --> 00:21:44,580 What else? 539 00:21:45,620 --> 00:21:46,240 Trojan risk. 540 00:21:46,980 --> 00:21:50,660 Maybe, I don't know if any of you have played with this, but basically the first user on 541 00:21:50,660 --> 00:21:53,960 the system, they're admin and they own all the applications. 542 00:21:54,540 --> 00:21:57,080 That means they can Trojan any application they like. 543 00:21:57,460 --> 00:21:57,820 Okay. 544 00:21:57,940 --> 00:21:59,240 That's not horrible. 545 00:21:59,400 --> 00:22:01,880 The tough thing is, I mean, I'm not thinking that they're going to be really bad. 546 00:22:02,040 --> 00:22:07,280 The problem is that what that means is the first user on the system owns everything. 547 00:22:07,820 --> 00:22:11,440 So if there's a browser flaw and somebody hits me with one of these little paths of 548 00:22:11,440 --> 00:22:15,140 pain in the butts, a browser flaw where they take over my browser and they can execute 549 00:22:15,140 --> 00:22:19,080 code means they can replace all the applications on my system means they not only have root, 550 00:22:19,180 --> 00:22:21,780 but they're just going to Trojan horse every application on my system from one browser 551 00:22:21,780 --> 00:22:23,040 flaw, including all the other users. 552 00:22:23,540 --> 00:22:28,900 So when little Johnny goes to sites you shouldn't be going to at night on the family machine, 553 00:22:29,220 --> 00:22:30,360 everyone else gets nailed too. 554 00:22:31,480 --> 00:22:31,880 Okay. 555 00:22:32,000 --> 00:22:33,600 I just, I don't like that. 556 00:22:34,000 --> 00:22:34,400 Okay. 557 00:22:34,680 --> 00:22:37,300 As I said, we all run as a non-admin user. 558 00:22:37,300 --> 00:22:38,040 And that's really good. 559 00:22:38,100 --> 00:22:39,780 We create a second user, non-admin. 560 00:22:39,880 --> 00:22:40,440 That's good. 561 00:22:40,580 --> 00:22:46,100 The problem is our non-admin user, when you go and, you know, you have to authenticate 562 00:22:46,100 --> 00:22:50,200 to install software, our non-admin user still ends up owning the files that get installed 563 00:22:50,200 --> 00:22:52,500 even though they required administrative privileges to install. 564 00:22:52,780 --> 00:22:55,820 And you would think that would mean they'd get installed like with the admin group and 565 00:22:55,820 --> 00:22:56,220 all that. 566 00:22:56,460 --> 00:23:00,360 They actually, you know, with the admin username, they'd all be like owned by somebody other 567 00:23:00,360 --> 00:23:00,760 than me. 568 00:23:01,000 --> 00:23:02,280 Nah, it doesn't go that way. 569 00:23:02,460 --> 00:23:05,680 It turns out this is, it's just kind of a weird implementation thing. 570 00:23:06,060 --> 00:23:06,460 Okay. 571 00:23:07,300 --> 00:23:09,040 So you can fix basically all of this. 572 00:23:09,240 --> 00:23:11,180 And you can fix it with some simple hardening. 573 00:23:11,360 --> 00:23:14,940 And the simple hardening stuff is the stuff you can look up in guides and books, NSA makes 574 00:23:14,940 --> 00:23:20,600 a great guide, CIS makes some good guides, Eric Hall helped write the CIS, wrote the 575 00:23:20,600 --> 00:23:21,220 CIS guides. 576 00:23:21,340 --> 00:23:22,920 He's really, he's really done an awesome job. 577 00:23:23,260 --> 00:23:29,540 But I will suggest my own tool, which I give away for free, so I, you know, it's not for 578 00:23:29,540 --> 00:23:30,160 sale or anything. 579 00:23:30,300 --> 00:23:36,720 This is not a vendor, you know, buy Bastille Linux, GPL free software, which, yeah, it's 580 00:23:36,720 --> 00:23:36,940 free. 581 00:23:37,340 --> 00:23:37,660 Okay. 582 00:23:37,840 --> 00:23:39,440 So Bastille's kind of cool. 583 00:23:39,640 --> 00:23:42,320 Bastille's a tool and I'll introduce it right now. 584 00:23:42,620 --> 00:23:45,820 Bastille's basically is a tool that can audit a system and it can harden a system. 585 00:23:46,160 --> 00:23:47,760 The audit is not to find vulnerabilities. 586 00:23:47,900 --> 00:23:50,700 It's to find things you could do if you wanted to harden it, but you wanted Bastille 587 00:23:50,700 --> 00:23:54,820 to tell you if this is a good system, really, really good, really, really bad, and what 588 00:23:54,820 --> 00:23:56,300 you should do if you wanted to make it better. 589 00:23:56,440 --> 00:23:59,280 If you wanted to make it better and you don't want to have Bastille do it for you, want 590 00:23:59,280 --> 00:24:03,020 to look at a hundred systems and figure out which is the worst, you can run Bastille's 591 00:24:03,020 --> 00:24:03,460 audit thing. 592 00:24:03,860 --> 00:24:04,180 Okay. 593 00:24:04,240 --> 00:24:06,720 I know we all cringe when we hear audit, but it's okay. 594 00:24:06,780 --> 00:24:07,280 We're using it. 595 00:24:07,300 --> 00:24:07,380 We're using it. 596 00:24:09,040 --> 00:24:09,900 What else can it do? 597 00:24:09,980 --> 00:24:12,080 It can harden systems and kind of fix these problems. 598 00:24:12,800 --> 00:24:15,680 And then once you harden, you can go and make sure the problems got fixed by re-auditing 599 00:24:15,680 --> 00:24:15,840 it. 600 00:24:16,280 --> 00:24:16,540 Okay. 601 00:24:16,620 --> 00:24:22,120 So this is Bastille OS X and you're like, wait, isn't that like Bastille Linux? 602 00:24:22,440 --> 00:24:24,200 You're going to get in trouble with the guy who made that. 603 00:24:24,280 --> 00:24:25,660 He's going to be like, you stole the name. 604 00:24:26,580 --> 00:24:26,920 Okay. 605 00:24:27,180 --> 00:24:29,300 Bastille is an increasingly misnamed thing. 606 00:24:29,400 --> 00:24:30,740 We'll call this Bastille OS X. 607 00:24:31,780 --> 00:24:34,200 We'll call it just Bastille just to make it a little less confusing. 608 00:24:35,000 --> 00:24:37,100 Bastille's been a pretty popular hardening tool. 609 00:24:37,500 --> 00:24:40,960 For the last six years, people have found it pretty useful and it doesn't tend to break 610 00:24:40,960 --> 00:24:41,280 systems. 611 00:24:41,960 --> 00:24:44,660 It actually ships with HPUX as part of their installer. 612 00:24:45,180 --> 00:24:49,160 If you buy an HPUX system after, I don't know, a couple years ago, you've got Bastille already 613 00:24:49,160 --> 00:24:49,640 on there. 614 00:24:50,320 --> 00:24:52,360 Everywhere else we go and install it some other way. 615 00:24:52,440 --> 00:24:56,740 It's available for most of the major Linux distros, sometimes through the automatic installation 616 00:24:56,740 --> 00:24:57,200 tools. 617 00:24:57,600 --> 00:25:00,420 And we're now extending support to Tiger with a native port. 618 00:25:00,680 --> 00:25:02,340 We don't have that Cocoa stuff yet. 619 00:25:02,360 --> 00:25:04,040 You still need X windows, but that's okay. 620 00:25:04,860 --> 00:25:04,940 Okay. 621 00:25:04,940 --> 00:25:08,540 If anybody wants to make a Cocoa front end, help. 622 00:25:10,280 --> 00:25:11,440 That's how open source works. 623 00:25:11,660 --> 00:25:15,180 You get something for free and if you want a hobby, you can help us build something onto 624 00:25:15,180 --> 00:25:15,400 it. 625 00:25:16,700 --> 00:25:18,180 Bastille's a hardening program for these. 626 00:25:18,360 --> 00:25:21,820 For Red Hat, SUSE, Mandriva, Ubuntu, Gentoo, Debian, Linux, your distribution here. 627 00:25:22,100 --> 00:25:24,060 It may already be there and I may not know. 628 00:25:24,160 --> 00:25:24,960 Sometimes that happens. 629 00:25:25,140 --> 00:25:25,540 They port. 630 00:25:25,640 --> 00:25:28,420 Somebody goes and ports it to something and doesn't tell me about it because they don't 631 00:25:28,420 --> 00:25:28,860 really have to. 632 00:25:29,400 --> 00:25:30,340 It's on HPUX. 633 00:25:30,420 --> 00:25:31,360 It's on OS X Tiger. 634 00:25:32,940 --> 00:25:34,240 So it's kind of a nice. 635 00:25:34,240 --> 00:25:35,020 It's a nice little tool. 636 00:25:35,080 --> 00:25:36,120 Has anybody used Bastille in here? 637 00:25:37,420 --> 00:25:37,860 Okay. 638 00:25:37,940 --> 00:25:38,720 So a bunch of you. 639 00:25:38,800 --> 00:25:40,220 That's pretty nice. 640 00:25:40,780 --> 00:25:41,220 Yeah. 641 00:25:42,380 --> 00:25:42,820 Cool. 642 00:25:43,100 --> 00:25:43,540 Excellent. 643 00:25:43,800 --> 00:25:45,900 So for the rest of you, this is what Bastille is. 644 00:25:46,520 --> 00:25:50,520 The nice thing is we've got this tool that both hardens and audits hardening. 645 00:25:50,540 --> 00:25:54,620 So every single item we harden is also something we can check to see if it got hardened. 646 00:25:55,560 --> 00:26:00,580 But the thing that people really tend to like out of this is that Bastille's become an educational 647 00:26:00,580 --> 00:26:01,060 tool. 648 00:26:01,360 --> 00:26:01,800 Okay. 649 00:26:01,800 --> 00:26:04,940 I know you're all very senior people and you know everything, but you probably have 650 00:26:04,940 --> 00:26:07,880 some people at work that you've been tasked with training and that's really, you know, 651 00:26:07,920 --> 00:26:09,040 you're like, wow, this is a hard job. 652 00:26:09,480 --> 00:26:10,820 Eh, give them Bastille for a little while. 653 00:26:10,840 --> 00:26:12,400 Have them run through it and they'll learn a lot. 654 00:26:12,540 --> 00:26:16,620 There are a lot of people who've used this tool, who've used Bastille solely to find 655 00:26:16,620 --> 00:26:18,440 out what they could harden and then they've gone and done it themselves. 656 00:26:18,840 --> 00:26:20,340 This is an admin training tool. 657 00:26:21,100 --> 00:26:25,860 The whole deal for us was that if we train users, if we train admins, they make better 658 00:26:25,860 --> 00:26:26,800 choices about security. 659 00:26:27,040 --> 00:26:29,340 If we go and say, here's why you need to know. 660 00:26:29,460 --> 00:26:30,580 Here's why Telnet's bad. 661 00:26:30,580 --> 00:26:32,120 It turns out I can hijack it. 662 00:26:32,200 --> 00:26:33,800 It turns out I can sniff your password out of it. 663 00:26:33,960 --> 00:26:34,720 Don't use Telnet. 664 00:26:34,760 --> 00:26:35,480 Use SSH. 665 00:26:35,660 --> 00:26:37,860 And so users were like, I'm not turning off Telnet. 666 00:26:38,260 --> 00:26:39,500 That's my administrative tool. 667 00:26:39,980 --> 00:26:41,980 They now know, okay, I shouldn't do that. 668 00:26:42,100 --> 00:26:43,360 And they, you know, and they use this. 669 00:26:43,420 --> 00:26:43,980 Which is cool. 670 00:26:45,380 --> 00:26:47,040 But why do we use a hardening tool? 671 00:26:47,220 --> 00:26:51,000 We don't really, I mean, some of us do it because we're required by law to do it. 672 00:26:51,040 --> 00:26:54,040 But the rest of us use a hardening tool because it breaks exploits. 673 00:26:54,240 --> 00:26:58,640 It turns out if you do hardening, whether that's by tool or by hand, you tend to break 674 00:26:58,640 --> 00:26:59,960 a whole lot of exploits out there. 675 00:27:00,220 --> 00:27:00,560 And that's why. 676 00:27:00,580 --> 00:27:03,880 And part of that's just you turn off programs that would have gotten exploited on your 677 00:27:03,880 --> 00:27:04,100 box. 678 00:27:04,240 --> 00:27:06,120 Like maybe that print server I wasn't really using. 679 00:27:06,400 --> 00:27:06,520 Okay? 680 00:27:06,780 --> 00:27:11,060 Part of it's that you configure programs so that they're less likely to be vulnerable. 681 00:27:11,940 --> 00:27:14,320 There's all kinds of stuff you can do where you set up access controls. 682 00:27:14,440 --> 00:27:16,360 You turn off functionality within a program you're not using. 683 00:27:16,660 --> 00:27:18,980 And all of a sudden, lots of exploits don't work. 684 00:27:19,040 --> 00:27:22,720 The lion worm, one of the only worms against Linux, would, you know, you configure bind 685 00:27:22,720 --> 00:27:24,780 well and you were impervious to it basically. 686 00:27:25,400 --> 00:27:25,760 Okay? 687 00:27:25,780 --> 00:27:29,420 We also do stuff like do containment configurations like jails. 688 00:27:29,420 --> 00:27:34,940 In the future, like app armor and SELinux to make it harder for an attacker first, 689 00:27:35,040 --> 00:27:36,400 to make the exploit work in the first place. 690 00:27:36,580 --> 00:27:40,320 And if they do get it to work, to actually get anywhere on your system. 691 00:27:40,380 --> 00:27:43,340 If they can't run any commands, who cares that they're on the system? 692 00:27:43,680 --> 00:27:44,080 Okay. 693 00:27:44,140 --> 00:27:44,600 I know. 694 00:27:44,920 --> 00:27:45,680 They'll get somewhere. 695 00:27:45,900 --> 00:27:48,340 But I'd like to make it harder for them. 696 00:27:48,800 --> 00:27:49,740 Bastille's been pretty effective. 697 00:27:49,960 --> 00:27:53,300 We made it just after Red Hat 6 was released, before all the exploits. 698 00:27:53,500 --> 00:27:57,760 And it turned out that Bastille broke just about every major exploit against Red Hat. 699 00:27:58,280 --> 00:27:59,400 That's not because Bastille didn't work. 700 00:27:59,400 --> 00:28:00,180 Bastille is rocket science. 701 00:28:00,340 --> 00:28:02,080 It's not because, you know, I'm hell elite. 702 00:28:02,340 --> 00:28:04,600 It's just because this stuff tends to work pretty well. 703 00:28:05,100 --> 00:28:08,040 I mean, you could use a hardening guide and you'd get the same kind of results. 704 00:28:08,360 --> 00:28:12,320 But it turned out, you know, there were holes in the first few releases of Red Hat. 705 00:28:12,500 --> 00:28:17,300 There were holes in bind in the DNS server, the FTP server, sendmail server. 706 00:28:18,220 --> 00:28:20,780 There were a bunch of local privilege escalations. 707 00:28:20,920 --> 00:28:22,920 And we could basically take out every single one. 708 00:28:23,080 --> 00:28:27,180 And we could do it with steps that we put in place before any of the vulnerabilities 709 00:28:27,180 --> 00:28:27,660 were known. 710 00:28:27,660 --> 00:28:30,960 Which is nice, because it means you don't end up chasing patches quite so hard. 711 00:28:31,080 --> 00:28:32,880 Because you're like, okay, there's a patch for this. 712 00:28:33,040 --> 00:28:34,680 But it turns out I'm not vulnerable right now. 713 00:28:34,780 --> 00:28:38,100 So I can wait until, like, you know, I get in this morning to patch that system. 714 00:28:38,340 --> 00:28:40,240 Or I can wait until my boss makes me wait. 715 00:28:41,160 --> 00:28:41,480 Okay. 716 00:28:42,200 --> 00:28:43,480 Again, this hardening stuff works. 717 00:28:43,800 --> 00:28:47,700 NSA's Information Assurance Directorate, those are, as far as I can tell, not the spooky guys. 718 00:28:48,220 --> 00:28:50,740 They're the guys who tell us how to keep machines from getting broken into. 719 00:28:51,100 --> 00:28:54,200 They did a test and they've done a bunch of tests with Windows and Linux. 720 00:28:54,280 --> 00:28:57,560 And they said, okay, I throw a bunch of exploits at a system. 721 00:28:57,560 --> 00:28:58,180 They all work. 722 00:28:58,260 --> 00:28:58,680 I harden. 723 00:28:58,840 --> 00:28:59,880 I throw the exploits again. 724 00:29:00,040 --> 00:29:01,880 And it's about 5% still work. 725 00:29:02,540 --> 00:29:05,480 Now, that 5% box doesn't do much. 726 00:29:05,640 --> 00:29:05,920 Right? 727 00:29:06,040 --> 00:29:07,240 It does a little. 728 00:29:07,360 --> 00:29:08,800 But it doesn't do a whole lot. 729 00:29:08,880 --> 00:29:12,260 But then again, from the perspective, it doesn't do a whole lot from the perspective of serving. 730 00:29:12,640 --> 00:29:14,340 I don't need my notebook to serve. 731 00:29:14,540 --> 00:29:17,140 I just need to take it to a conference and not have it own Zord. 732 00:29:18,000 --> 00:29:18,360 Okay. 733 00:29:18,700 --> 00:29:21,100 So Bastille does this. 734 00:29:21,280 --> 00:29:23,960 I'll tell you a little bit more about what Bastille does. 735 00:29:24,060 --> 00:29:24,640 And I'll show it to you. 736 00:29:25,500 --> 00:29:26,460 Bastille has a separate. 737 00:29:26,460 --> 00:29:28,160 That audit mode is a read-only thing. 738 00:29:28,540 --> 00:29:30,300 Tells you what's hardened, what's not hardened. 739 00:29:30,580 --> 00:29:32,020 And that can be useful. 740 00:29:32,180 --> 00:29:32,700 It can be useful. 741 00:29:32,880 --> 00:29:34,700 One of the things it does is it scores the system. 742 00:29:34,780 --> 00:29:36,360 It gives you a score between 0 and 10. 743 00:29:36,600 --> 00:29:38,460 Somebody told me about this idea and I said, that's stupid. 744 00:29:38,760 --> 00:29:39,320 A score? 745 00:29:39,780 --> 00:29:42,380 If you're going to give me a score, give me like a vector of like 10 scores. 746 00:29:42,600 --> 00:29:44,920 Then we'll like put them all together with a weighted average and it'll be cool. 747 00:29:45,100 --> 00:29:49,720 And someone said, no, just give me a straight number between 0 and 10. 748 00:29:49,800 --> 00:29:50,340 And I said, why? 749 00:29:50,600 --> 00:29:51,600 And he said, you'll see. 750 00:29:51,660 --> 00:29:52,060 It'll work. 751 00:29:52,540 --> 00:29:52,900 Okay. 752 00:29:53,100 --> 00:29:55,100 So the first reason it's useful is triage. 753 00:29:55,100 --> 00:29:59,400 Triage tells you, you take this, you run about 150 systems or your Amazon and it's, 754 00:29:59,400 --> 00:30:02,720 you know, 12,000 systems and you figure out which one's the least hardened without having 755 00:30:02,720 --> 00:30:03,720 to look at each one individually. 756 00:30:04,160 --> 00:30:04,560 Okay. 757 00:30:04,600 --> 00:30:05,360 That's the triage thing. 758 00:30:05,420 --> 00:30:05,660 It's good. 759 00:30:05,780 --> 00:30:10,580 Or you say, wait, everybody's systems except for that guy, that one admin who won't harden 760 00:30:10,580 --> 00:30:14,660 his systems, you know, everybody else's systems are great and his just suck. 761 00:30:14,980 --> 00:30:15,380 Right? 762 00:30:15,440 --> 00:30:16,400 The triage thing is great. 763 00:30:16,580 --> 00:30:17,860 It's also nice for motivation. 764 00:30:18,060 --> 00:30:19,960 It turns out you don't need to beat people over the head. 765 00:30:20,140 --> 00:30:24,120 You give somebody a score, oh God, we're a bunch of overachievers in this room usually. 766 00:30:24,180 --> 00:30:24,940 You give somebody a score. 767 00:30:25,100 --> 00:30:25,360 They'll move. 768 00:30:25,540 --> 00:30:29,100 We had somebody who tested the beta, who tested the scoring while it was in beta. 769 00:30:29,520 --> 00:30:31,900 And it said, your system score is 6.5 out of 10. 770 00:30:32,240 --> 00:30:34,440 And he said, bullshit. 771 00:30:36,960 --> 00:30:38,920 He wasn't a 6 out of 10 kind of guy. 772 00:30:38,980 --> 00:30:40,540 He'd never seen himself as a D student. 773 00:30:40,920 --> 00:30:44,220 And so he sat down and he spent 15 minutes by hand hardening his computer and he ran 774 00:30:44,220 --> 00:30:45,600 it again and it said 8.5 out of 10. 775 00:30:45,780 --> 00:30:49,420 And he said, okay, okay, I can do with a B for now. 776 00:30:49,520 --> 00:30:50,100 That's fine. 777 00:30:50,740 --> 00:30:53,720 But this guy was never going to get around to hardening that system and he did it solely 778 00:30:53,720 --> 00:30:54,840 because we heard his pride. 779 00:30:54,840 --> 00:30:57,620 I don't care why I make computers better. 780 00:30:58,040 --> 00:30:59,860 I don't care why I make computers better. 781 00:31:00,020 --> 00:31:01,680 I don't care why I get them to be more secure. 782 00:31:01,820 --> 00:31:04,280 If I have to wound some pride, that's just fine. 783 00:31:05,040 --> 00:31:05,680 That works. 784 00:31:05,880 --> 00:31:07,780 It turns out the score thing works. 785 00:31:08,100 --> 00:31:09,440 What else is the audit good for? 786 00:31:10,000 --> 00:31:12,520 This is the question people always ask me when I teach them how to harden a system. 787 00:31:12,640 --> 00:31:13,500 They say, okay, I hardened. 788 00:31:13,600 --> 00:31:14,140 Now I'm going to patch. 789 00:31:14,320 --> 00:31:15,360 How do I make sure I'm still hardened? 790 00:31:16,060 --> 00:31:21,640 And I used to say, well, if you did it automatically, you could rerun the hardening and it would 791 00:31:21,640 --> 00:31:22,340 just redo it all. 792 00:31:22,500 --> 00:31:24,260 And the guy was like, I don't want to do that. 793 00:31:24,260 --> 00:31:25,320 That might change something. 794 00:31:25,540 --> 00:31:26,700 And I said, well, that still won't do that. 795 00:31:26,780 --> 00:31:29,840 It won't change anything if you run it a second time or immediately after. 796 00:31:30,200 --> 00:31:32,880 And he said, well, you know, most people say, okay, that's cool. 797 00:31:33,020 --> 00:31:35,540 And some people say, that still makes me feel a little weird. 798 00:31:35,720 --> 00:31:36,640 So fine. 799 00:31:37,220 --> 00:31:38,280 Run the hardening thing. 800 00:31:38,480 --> 00:31:39,520 Go and do your stuff. 801 00:31:39,720 --> 00:31:40,560 Patch the system. 802 00:31:40,680 --> 00:31:42,160 Now you're worried patches broke your hardening. 803 00:31:42,280 --> 00:31:43,480 Run the assessment thing. 804 00:31:44,020 --> 00:31:45,160 Run the assessment thing. 805 00:31:45,220 --> 00:31:46,660 Now you've got what we call skew detection. 806 00:31:47,140 --> 00:31:48,740 You know you hardened it to this config. 807 00:31:49,260 --> 00:31:53,400 And now when you score against that config, two items have gotten unhardened. 808 00:31:54,260 --> 00:31:56,780 Now you know, okay, I know it got broken by the patch. 809 00:31:56,920 --> 00:31:57,940 I know it got unhardened by the patch. 810 00:31:58,040 --> 00:31:58,520 I can put it back. 811 00:31:59,100 --> 00:31:59,620 I don't know. 812 00:31:59,740 --> 00:32:01,620 This works pretty well. 813 00:32:02,540 --> 00:32:05,640 So I'll show you a little bit about what Bastille actually does. 814 00:32:05,820 --> 00:32:07,360 And I'll actually run it for you. 815 00:32:09,160 --> 00:32:09,520 Wow. 816 00:32:09,800 --> 00:32:10,160 Okay. 817 00:32:10,280 --> 00:32:12,500 So I'll actually run it for you and show you how it works. 818 00:32:12,640 --> 00:32:17,840 The shortest version for OSX, the major things for us to get in place were, first, install 819 00:32:17,840 --> 00:32:21,560 a fully configurable non-deceptive or non-confused. 820 00:32:21,840 --> 00:32:24,080 Because I'm guessing, actually, that Apple wasn't deceptive. 821 00:32:24,260 --> 00:32:24,740 They were confused. 822 00:32:25,200 --> 00:32:25,600 Okay. 823 00:32:26,000 --> 00:32:27,600 Install a good working firewall. 824 00:32:28,100 --> 00:32:29,500 By the way, I love Apple. 825 00:32:29,580 --> 00:32:30,440 I love OSX. 826 00:32:30,500 --> 00:32:33,460 And I think it's actually a whole lot better than Linux machines were a while back. 827 00:32:33,740 --> 00:32:35,500 I think it does a really good job. 828 00:32:35,620 --> 00:32:38,940 I just think it's not good enough, and I'm very hopeful for the next version. 829 00:32:39,540 --> 00:32:42,880 And I think this is probably going to be, I think we're going to see a really nice 830 00:32:42,880 --> 00:32:43,380 next version. 831 00:32:43,660 --> 00:32:46,760 So with that said, this is what Bastille aims to do. 832 00:32:46,860 --> 00:32:49,820 First, get a working firewall in the system, one that doesn't suck. 833 00:32:50,000 --> 00:32:53,500 Two, deactivate Bonjour if you're willing to. 834 00:32:53,500 --> 00:32:56,980 If you're actually using that stuff and you want everyone, you want to broadcast on the 835 00:32:56,980 --> 00:33:00,200 DEF CON network, hey, I'm using iChat, anybody want to talk to me? 836 00:33:01,460 --> 00:33:01,940 That's cool. 837 00:33:01,980 --> 00:33:02,480 You can keep it. 838 00:33:03,180 --> 00:33:03,780 What else? 839 00:33:03,880 --> 00:33:07,600 We can lock non-root users out of doing that net info thing where they could get a list 840 00:33:07,600 --> 00:33:09,400 of usernames and password lengths. 841 00:33:10,020 --> 00:33:11,040 We can turn off Bluetooth. 842 00:33:11,920 --> 00:33:14,980 And for Bluetooth, we're going to make it non-discoverable, so even if you turn it back 843 00:33:14,980 --> 00:33:19,120 on or you left it on in the first place, you can actually make it non-discoverable. 844 00:33:19,280 --> 00:33:22,860 Those are the major things that were really critical to us to get in there. 845 00:33:23,100 --> 00:33:23,460 Okay? 846 00:33:23,500 --> 00:33:27,340 We've also taken all the old stuff we used to do for Linux, used to, that we still do 847 00:33:27,340 --> 00:33:31,140 for Linux and for HPUX, and tried to make it work on OS X too, okay? 848 00:33:31,240 --> 00:33:33,420 So those are the major things. 849 00:33:34,400 --> 00:33:37,420 In terms of hardening Bluetooth, what are we doing? 850 00:33:37,780 --> 00:33:41,620 Macs are discoverable by default, turn off discoverability, and enforce some really 851 00:33:41,620 --> 00:33:41,980 good stuff. 852 00:33:42,100 --> 00:33:47,300 Enforce pairing for everything because pairing is not actually required for the Bluetooth 853 00:33:47,300 --> 00:33:48,100 serial link thing. 854 00:33:48,620 --> 00:33:50,060 Turn on encryption whenever we can. 855 00:33:50,820 --> 00:33:51,760 What else do we do? 856 00:33:52,120 --> 00:33:52,920 We'll make a... 857 00:33:52,920 --> 00:33:55,880 We'll make a normal user account for you so you don't have to run with admin privileges 858 00:33:55,880 --> 00:33:56,520 all the time. 859 00:33:56,720 --> 00:34:00,540 We'll kill off that user listing at the screen so people don't just sit there and guess your 860 00:34:00,540 --> 00:34:00,920 password. 861 00:34:01,100 --> 00:34:03,780 Ooh, there's four accounts, and one of them is called guest. 862 00:34:03,960 --> 00:34:06,280 Now I know there's a guest account without even having to check for it. 863 00:34:06,380 --> 00:34:07,240 We'll turn that off. 864 00:34:07,820 --> 00:34:10,080 We'll turn on home directory encryption. 865 00:34:10,240 --> 00:34:13,300 We'll turn off the whole everyone can see each other's files thing. 866 00:34:13,720 --> 00:34:14,820 Kill off auto login. 867 00:34:15,080 --> 00:34:17,160 These are all things that Bastille does optionally. 868 00:34:17,620 --> 00:34:17,980 Okay? 869 00:34:18,020 --> 00:34:18,860 It does this optionally. 870 00:34:18,860 --> 00:34:21,880 You choose what Bastille does and what it doesn't do, so you don't have to do any of 871 00:34:21,880 --> 00:34:22,120 this stuff. 872 00:34:22,920 --> 00:34:23,300 You know what? 873 00:34:23,320 --> 00:34:24,020 Leave my machine alone. 874 00:34:24,220 --> 00:34:26,180 You can be like, I just want to turn this one thing off. 875 00:34:26,720 --> 00:34:28,780 We also educate the admin on this stuff. 876 00:34:29,260 --> 00:34:29,620 Okay? 877 00:34:29,800 --> 00:34:33,680 In terms of the different pieces, I've got the different pieces, but I think what I'll 878 00:34:33,680 --> 00:34:37,280 do is stop right here and actually show you Bastille, give you a little demo. 879 00:34:37,520 --> 00:34:38,240 Is that a good idea? 880 00:34:39,120 --> 00:34:39,480 Okay. 881 00:34:41,640 --> 00:34:45,040 I'm going to warn you, the demo gods have been very bad to me lately. 882 00:34:45,460 --> 00:34:45,820 Okay? 883 00:34:45,860 --> 00:34:48,000 Has anybody in here ever experienced the demo gods? 884 00:34:48,920 --> 00:34:49,280 Okay. 885 00:34:49,500 --> 00:34:50,560 Yeah, you know about them. 886 00:34:50,880 --> 00:34:52,700 They're not happy gods. 887 00:34:52,920 --> 00:34:56,200 They're like, you know, they don't get all the, you know, sitting fat and happy. 888 00:34:56,360 --> 00:34:57,900 They're really unhappy people. 889 00:34:58,480 --> 00:34:58,840 Okay. 890 00:34:58,900 --> 00:35:01,060 So this is Bastille running on my Mac. 891 00:35:01,760 --> 00:35:03,220 I promise it's a Mac. 892 00:35:05,540 --> 00:35:10,220 And basically, each of these things on the left side, that's a little fuzzy, I guess. 893 00:35:10,360 --> 00:35:11,300 It's not fuzzy here. 894 00:35:11,440 --> 00:35:15,420 But each of these things on the left side is a module, and a module is just a collection 895 00:35:15,420 --> 00:35:17,620 of stuff that you might want to do to a system. 896 00:35:17,820 --> 00:35:18,700 It's just a grouping. 897 00:35:18,760 --> 00:35:19,840 It makes it easier for us. 898 00:35:20,220 --> 00:35:22,840 So what happens is there's a check mark placed next to each module. 899 00:35:22,920 --> 00:35:23,700 You get through all the questions. 900 00:35:23,820 --> 00:35:26,980 That way, if you hop around, like, you know, I don't know, we're all ADD in here. 901 00:35:27,260 --> 00:35:30,000 That way, if you hop around left and right, you can know whether you got through all the 902 00:35:30,000 --> 00:35:31,380 things in a module before you finish. 903 00:35:31,620 --> 00:35:32,460 We'll at least warn you. 904 00:35:33,100 --> 00:35:33,420 Okay. 905 00:35:33,660 --> 00:35:37,660 So Bastille goes through and it says, okay, we can fix file permissions. 906 00:35:37,860 --> 00:35:40,580 And we probably shouldn't put that first because file permissions are probably one of the 907 00:35:40,580 --> 00:35:43,040 most boring areas of computer security, right? 908 00:35:43,140 --> 00:35:47,220 But they also happen to be really, really good for local privilege escalation, as we've 909 00:35:47,220 --> 00:35:49,080 found out, as I've found out a number of times. 910 00:35:50,100 --> 00:35:52,900 But this basically just asks about turning set UID off. 911 00:35:52,920 --> 00:35:57,120 Getting rid of some of the stuff that makes it easier for people to get to root. 912 00:35:57,320 --> 00:35:59,140 For people to get to root if they're on your system. 913 00:35:59,980 --> 00:36:00,500 What else? 914 00:36:01,280 --> 00:36:04,500 We can do things like turn off tracer out entirely or at least make it so you can't 915 00:36:04,500 --> 00:36:04,760 run it. 916 00:36:04,780 --> 00:36:06,900 I mean, at least make it so you can't run it as a non-root user. 917 00:36:08,160 --> 00:36:09,060 This Umask thing. 918 00:36:09,220 --> 00:36:12,940 This Umask thing is actually what says Umask sounds so boring. 919 00:36:13,440 --> 00:36:18,280 Umask is actually what says what permissions every file in the system is created with. 920 00:36:18,380 --> 00:36:22,260 Umask is what makes it so that I can go and read every single file that my friends created 921 00:36:22,260 --> 00:36:23,440 in their home directories. 922 00:36:23,460 --> 00:36:25,600 I can switch it to my home directory, switch it to somebody else's. 923 00:36:25,900 --> 00:36:28,860 If you choose our default setting on this, that goes away. 924 00:36:29,240 --> 00:36:31,180 So you don't even have to know what a Unix permission is. 925 00:36:31,280 --> 00:36:32,400 That goes away. 926 00:36:32,980 --> 00:36:33,380 Okay? 927 00:36:33,860 --> 00:36:34,980 And we explain. 928 00:36:35,260 --> 00:36:39,020 And again, the whole point of Bastille is if you look at this big, there's a question 929 00:36:39,020 --> 00:36:41,700 up there that's unfortunately in a horrible color for projectors. 930 00:36:42,000 --> 00:36:44,240 But below that question is an explanation. 931 00:36:44,480 --> 00:36:45,940 And that explanation is the educational bit. 932 00:36:46,180 --> 00:36:50,360 And that educational bit says, here's what you need to know about this so you can make 933 00:36:50,360 --> 00:36:50,960 a good decision. 934 00:36:52,240 --> 00:36:54,640 Listen, people have always said, why'd you make it educational? 935 00:36:54,740 --> 00:36:57,180 First educational hardening script, why'd you think of doing that? 936 00:36:57,220 --> 00:36:58,520 It's really useful, but why educational? 937 00:36:59,440 --> 00:37:02,940 And I'm not going to tell you my answer, okay, because my answer's kind of boring. 938 00:37:03,100 --> 00:37:07,240 Well, educational sounded like a necessary evolution of the hardening tools. 939 00:37:07,580 --> 00:37:13,880 Okay, my wife would say, because Jay's a control freak, okay, he wants you to turn 940 00:37:13,880 --> 00:37:14,380 off telnet. 941 00:37:14,500 --> 00:37:15,860 You're like, screw that, I'm keeping telnet. 942 00:37:16,080 --> 00:37:16,460 Fine. 943 00:37:16,960 --> 00:37:18,440 He'll tell you why telnet's bad. 944 00:37:18,720 --> 00:37:19,100 Okay? 945 00:37:19,100 --> 00:37:20,080 You know, whatever. 946 00:37:20,280 --> 00:37:24,400 That's why we went educational, because I wanted you to do the right thing, and I was 947 00:37:24,400 --> 00:37:25,460 going to tell you what the right thing was. 948 00:37:25,640 --> 00:37:29,460 It's kind of authoritarian and bad that way, but I'm much better now. 949 00:37:32,620 --> 00:37:36,020 Okay, so we can read that stuff and we can know that the default here is good. 950 00:37:36,460 --> 00:37:40,120 And we can do things like making it, we can password protect single user mode so somebody 951 00:37:40,120 --> 00:37:41,280 can't just boot directly into root. 952 00:37:42,280 --> 00:37:46,840 We can do things like set up TCP wrappers, we can go and put on badass messages that 953 00:37:46,840 --> 00:37:47,040 say. 954 00:37:47,040 --> 00:37:50,960 Hey, if you're not supposed to be on my machine, don't log into it. 955 00:37:51,260 --> 00:37:52,700 Unauthorized access is stupid. 956 00:37:53,800 --> 00:37:57,400 And we can hope that that makes it easy to prosecute the kitty that hit us at DEF CON. 957 00:37:58,360 --> 00:37:59,420 That didn't happen to me. 958 00:37:59,480 --> 00:37:59,800 It's okay. 959 00:38:01,120 --> 00:38:03,300 Anyway, and you can create a whole banner thingy. 960 00:38:06,100 --> 00:38:06,600 Let's see. 961 00:38:07,160 --> 00:38:08,260 Those banners are nice. 962 00:38:08,440 --> 00:38:09,820 I do a lot of pen tests. 963 00:38:10,080 --> 00:38:12,980 That's part of what I do for work, is I hack into computers and get paid for it. 964 00:38:13,320 --> 00:38:16,500 And I've had a client every now and then, and their banners pop up. 965 00:38:16,500 --> 00:38:21,920 And they say, if you are going on this system against authorization, you'll be prosecuted 966 00:38:21,920 --> 00:38:22,820 to the fullest extent of the law. 967 00:38:22,900 --> 00:38:23,760 We are a law firm. 968 00:38:23,860 --> 00:38:24,820 We are coming after you. 969 00:38:25,200 --> 00:38:26,360 Do not phone home. 970 00:38:26,500 --> 00:38:27,260 Do not pass go. 971 00:38:27,360 --> 00:38:28,360 You're going directly to jail. 972 00:38:29,380 --> 00:38:32,760 I know that sounds kind of silly, but when I look at that, I kind of stop and like, 973 00:38:33,120 --> 00:38:38,240 I just want to make sure this system's in scope, right? 974 00:38:41,680 --> 00:38:42,000 Okay. 975 00:38:42,840 --> 00:38:45,720 We can also make sure that some of the core file stuff. 976 00:38:45,720 --> 00:38:50,240 Some of the weird local escalation or local denial of service attacks don't work. 977 00:38:51,320 --> 00:38:53,680 We can go, and this is where I have fun. 978 00:38:53,760 --> 00:38:56,800 We go and turn off all the different programs running on the system, or at least the network 979 00:38:56,800 --> 00:38:59,060 ones usually, that you didn't need. 980 00:38:59,160 --> 00:39:00,620 We ask you, do you need actually this? 981 00:39:00,680 --> 00:39:02,700 Are you operating an NFS server? 982 00:39:03,520 --> 00:39:04,560 Or is this a laptop? 983 00:39:04,720 --> 00:39:07,060 Are you operating an NFS client, or are you not? 984 00:39:07,280 --> 00:39:09,220 And we'll go and we'll turn all this off. 985 00:39:09,500 --> 00:39:10,520 Here's the question I like. 986 00:39:10,620 --> 00:39:14,080 This one says, do you want to turn off zero conf bonjour rendezvous, this thing that doesn't 987 00:39:14,080 --> 00:39:14,800 know what its name is? 988 00:39:15,720 --> 00:39:18,380 And you can say, yes, I'd like to turn it off, or no, I don't. 989 00:39:18,540 --> 00:39:22,820 If you're at a conference, please, please, for the love of, just turn it off, okay? 990 00:39:24,540 --> 00:39:25,120 What else? 991 00:39:26,160 --> 00:39:29,640 I can turn off the auto-mounting thing so a kiddie can't walk up to my laptop while 992 00:39:29,640 --> 00:39:33,780 I'm not looking, plug in a USB drive, unplug it, walk off, and I won't tell you what that 993 00:39:33,780 --> 00:39:34,820 does, but it'd be bad. 994 00:39:35,980 --> 00:39:39,160 I can turn off some of that other stuff, like the time synchronization. 995 00:39:39,420 --> 00:39:43,800 We tell you, turning off time sync, like, okay, on the one hand, you're not so exposed 996 00:39:43,800 --> 00:39:44,260 to vulnerabilities. 997 00:39:45,740 --> 00:39:46,880 Time sync's kind of good. 998 00:39:47,020 --> 00:39:48,080 I like having my clockwork. 999 00:39:49,240 --> 00:39:53,000 We can turn off Bluetooth, or we can make it not so discoverable if you want to leave 1000 00:39:53,000 --> 00:39:53,260 it on. 1001 00:39:53,500 --> 00:39:57,340 You can turn off the printing demons so that even if the firewall, like, fell back to 1002 00:39:57,340 --> 00:40:00,720 Apple's current one, you wouldn't have a print server there, okay? 1003 00:40:00,800 --> 00:40:03,840 If you're printing, you'll need to keep that, but if we're here, we're probably not printing 1004 00:40:03,840 --> 00:40:04,360 so much. 1005 00:40:05,500 --> 00:40:09,740 And then we've got that firewall thing, and our firewall replacement here is very, very 1006 00:40:09,740 --> 00:40:10,100 simple. 1007 00:40:10,260 --> 00:40:14,600 Bastille has an extremely complicated firewall that we have for everything but OSX, and it 1008 00:40:14,600 --> 00:40:15,700 assumes that you're building a mobile device. 1009 00:40:15,700 --> 00:40:18,280 It's a multi-leg firewall with lots of different networks, and you're trying to prevent each 1010 00:40:18,280 --> 00:40:19,760 of the different networks from hitting the other ones. 1011 00:40:20,280 --> 00:40:24,180 On the OSX, this tends to be a client operating system, and since we don't have a server, 1012 00:40:24,300 --> 00:40:26,160 we really just have a machine that... 1013 00:40:26,540 --> 00:40:28,560 I don't think I've ever seen an Apple working as a firewall. 1014 00:40:29,340 --> 00:40:31,220 So we've got something that's pretty simple. 1015 00:40:31,280 --> 00:40:32,900 We assume this is a single-user system. 1016 00:40:33,120 --> 00:40:37,940 We're going to actually port over Bastille's more comprehensive firewall and let you choose 1017 00:40:37,940 --> 00:40:42,820 from our simple five-question firewall and our much longer, well, kind of 20-question 1018 00:40:42,820 --> 00:40:43,100 firewall. 1019 00:40:43,480 --> 00:40:44,840 But it's really simple. 1020 00:40:44,840 --> 00:40:46,720 We'll fix that firewall for you right out. 1021 00:40:46,940 --> 00:40:50,500 And what we'll do is we'll say, okay, first, do you want zero conf, like, inaccessible? 1022 00:40:51,340 --> 00:40:53,420 And if you don't want... 1023 00:40:53,420 --> 00:40:56,580 In addition to that, what TCP ports do you want? 1024 00:40:56,920 --> 00:40:58,340 22, I want an SSH into this. 1025 00:40:58,600 --> 00:41:00,020 What UDP ports do you want? 1026 00:41:00,120 --> 00:41:02,060 I want 631, I want to share my printer. 1027 00:41:02,380 --> 00:41:04,660 You click OK, you're at this point done. 1028 00:41:04,880 --> 00:41:08,520 And you click OK, we're going to click on Save Configuration, we're going to click 1029 00:41:08,520 --> 00:41:09,620 on Apply Configuration. 1030 00:41:09,900 --> 00:41:13,000 The next thing is something really ugly that we haven't fixed. 1031 00:41:13,060 --> 00:41:13,820 We're still in beta. 1032 00:41:14,840 --> 00:41:15,680 It doesn't actually break anything. 1033 00:41:15,840 --> 00:41:18,840 It just looks really ugly when you go up and get up at conferences and try to convince 1034 00:41:18,840 --> 00:41:21,940 people that it's a nice tool that they should try using or beta test for you. 1035 00:41:22,700 --> 00:41:28,040 And that is, okay, Bastille's interface just saved up the configuration and it's about 1036 00:41:28,040 --> 00:41:30,320 to apply policy and it stops and it doesn't do anything. 1037 00:41:31,280 --> 00:41:32,220 So that's okay. 1038 00:41:33,700 --> 00:41:39,180 As our readme will say, you type Bastille minus B. Bastille's got this nice little 1039 00:41:39,180 --> 00:41:40,080 thing, okay? 1040 00:41:40,160 --> 00:41:41,900 You've got a front end, that part we were just looking at. 1041 00:41:41,980 --> 00:41:42,820 Asks you all the questions. 1042 00:41:43,040 --> 00:41:44,400 Builds a policy file. 1043 00:41:44,840 --> 00:41:47,880 You can use that policy file and if you were tweaking it a little bit, you could use it 1044 00:41:47,880 --> 00:41:51,920 to score your system against to see if your system was not only hardened but to use the 1045 00:41:52,440 --> 00:41:55,600 audits thing to see if there were any differences between your policy and your current state. 1046 00:41:56,000 --> 00:41:56,660 Okay, that's cool. 1047 00:41:57,100 --> 00:41:59,000 But we separated the two bits. 1048 00:41:59,240 --> 00:42:02,720 The part that asks you all the questions and does this auditing stuff from the part that 1049 00:42:02,720 --> 00:42:03,640 actually does the hardening. 1050 00:42:03,700 --> 00:42:07,180 And the reason we did that was, well, we wanted you to be able to stop right here, 1051 00:42:07,280 --> 00:42:12,060 take your config file, copy it out to a thousand systems, and then run Bastille on a thousand 1052 00:42:12,060 --> 00:42:13,640 systems without having to be asked all those questions. 1053 00:42:13,640 --> 00:42:15,460 Now you have scalability, okay? 1054 00:42:15,520 --> 00:42:17,120 All you Amazon people can be really happy. 1055 00:42:17,220 --> 00:42:20,560 Or all you other people that run lots and lots of Unix, okay? 1056 00:42:21,040 --> 00:42:25,920 So I can type in this. 1057 00:42:26,500 --> 00:42:30,280 I can run Bastille and run right into a bug. 1058 00:42:31,120 --> 00:42:34,140 Demo gods or change control or both. 1059 00:42:34,300 --> 00:42:36,060 But trust me, it's going to get hardened. 1060 00:42:36,280 --> 00:42:38,120 It's just that it's not yet. 1061 00:42:38,280 --> 00:42:39,640 So right. 1062 00:42:40,800 --> 00:42:41,460 Thank you. 1063 00:42:41,960 --> 00:42:42,560 Thank you. 1064 00:42:42,780 --> 00:42:43,120 Thank you. 1065 00:42:43,280 --> 00:42:43,440 Thank you. 1066 00:42:48,960 --> 00:42:49,340 Okay. 1067 00:42:51,220 --> 00:42:51,980 So, okay. 1068 00:42:52,180 --> 00:42:53,880 I don't know how that happened. 1069 00:42:53,960 --> 00:42:58,160 Right before I came in here, I ran it one last time and then I undid it just to make 1070 00:42:58,160 --> 00:42:58,720 sure everything worked. 1071 00:42:58,840 --> 00:43:01,120 I don't think I changed any code whatsoever and I have no idea. 1072 00:43:01,340 --> 00:43:03,840 And I'm gonna call that demo god. 1073 00:43:04,500 --> 00:43:08,600 So with that said, Bastille is almost done. 1074 00:43:09,020 --> 00:43:10,660 I will put the source up on the site. 1075 00:43:10,760 --> 00:43:11,780 You can download a tarball. 1076 00:43:11,820 --> 00:43:12,400 You can run it. 1077 00:43:12,400 --> 00:43:17,400 it's in beta. Okay, I will fix that bug and I'll put it up tonight. Okay, I'll be putting up regular 1078 00:43:17,400 --> 00:43:22,460 updates for the next few days. We do not yet have either one, a fancy pants Apple installer, 1079 00:43:22,700 --> 00:43:28,120 much better than anything we're used to on Unix. Okay, we also do not have two, a fancy pants just 1080 00:43:28,120 --> 00:43:33,380 click this button and it starts up. You have to do some command line jobbies. Okay, these two things 1081 00:43:33,380 --> 00:43:37,460 are being worked on by two different Bastille developers, one of them in Arizona and one of 1082 00:43:37,460 --> 00:43:42,860 them in Maryland. They promised me it'll be done soon. Okay, what does that mean? A week from now, 1083 00:43:42,980 --> 00:43:47,680 it's going to be really, really polished. Right now, well, right now, it's not going to work. 1084 00:43:50,120 --> 00:43:57,020 But tomorrow, once I've sobered, no, once I've finished, okay, tomorrow, once all the DEF CON 1085 00:43:57,020 --> 00:44:02,840 parties tonight are, you know, over and I've slept it off, I mean, gotten good sleep, I will fix it 1086 00:44:02,840 --> 00:44:07,260 and publish new source up to the website and you will have a totally working Bastille for OSX. 1087 00:44:07,460 --> 00:44:10,680 And you can use this before you hopefully put these machines back on the network. 1088 00:44:10,920 --> 00:44:11,700 So that'll be Monday. 1089 00:44:13,700 --> 00:44:15,700 Monday? Oh, God, how long have I been at DEF CON? 1090 00:44:18,700 --> 00:44:25,360 God, I thought it was Friday. Okay, so yeah, no, no, no, no, I've done some good work at DEF CON. 1091 00:44:26,100 --> 00:44:30,100 Anyway, you can, if you don't believe me, you can come to the dunking booth tomorrow and dunk me at 1092 00:44:30,100 --> 00:44:35,160 12 noon and take out all your frustrations with my code there. Was there a question somewhere over 1093 00:44:35,160 --> 00:44:35,300 there? 1094 00:44:35,520 --> 00:44:36,840 How do you download it? 1095 00:44:38,280 --> 00:44:40,180 How do you download it if you're not on the network? 1096 00:44:41,460 --> 00:44:44,420 Go find an open BSD, Linux, or free BSD system. 1097 00:44:45,620 --> 00:44:47,660 Go on to the network. I think the drivers in there are safe. 1098 00:44:49,220 --> 00:44:52,440 Download Bastille and sneaker net it over to your Apple. 1099 00:44:52,740 --> 00:44:56,960 Or actually, they have Ubuntu for this beautiful hardware, so you can do that. 1100 00:44:57,320 --> 00:44:58,680 Oh, you could also use a Windows machine. 1101 00:45:00,680 --> 00:45:06,680 God, I don't even have to do it myself anymore. 1102 00:45:08,420 --> 00:45:11,740 Sorry, Microsoft, I love you. Please keep inviting me to your parties. 1103 00:45:12,400 --> 00:45:12,840 Yes? 1104 00:45:15,760 --> 00:45:16,900 What version what? 1105 00:45:18,760 --> 00:45:22,920 The question is, do we have a version that doesn't require X Windows? 1106 00:45:23,100 --> 00:45:24,920 The answer is, not yet. 1107 00:45:25,320 --> 00:45:30,460 Doing that requires that we rewrite the front end entirely in this Cocoa stuff, and we will do this. 1108 00:45:30,820 --> 00:45:33,840 Oh, by the way, there's probably a slide asking if any of you want to do this. 1109 00:45:34,500 --> 00:45:36,840 Anybody want to write me a GUI? 1110 00:45:37,460 --> 00:45:38,520 That's how we got the last one. 1111 00:45:38,680 --> 00:45:41,900 We were text-based until somebody came around and wrote us the X GUI. 1112 00:45:41,980 --> 00:45:44,300 So, if somebody thinks of it, please write me one. 1113 00:45:44,480 --> 00:45:47,940 In the Linux version, I think you can just run it in Curses. 1114 00:45:48,260 --> 00:45:50,220 In the Linux version, you can run it in text mode. 1115 00:45:50,420 --> 00:45:54,720 I think we didn't get Curses to compile last time. 1116 00:45:54,940 --> 00:45:58,080 I'll give it a try. I really don't like this text mode. It makes everything look ugly. 1117 00:45:59,620 --> 00:46:01,520 Okay, we'll get the text mode thing going. 1118 00:46:01,720 --> 00:46:05,820 But right now, it requires X. X is on your installed DVD. 1119 00:46:06,580 --> 00:46:07,340 We cannot... 1120 00:46:07,460 --> 00:46:09,980 We cannot distribute X ourselves, but you can probably download it from Apple's site. 1121 00:46:10,300 --> 00:46:15,760 We do require one other thing, which is Perl TK, and we're including that, Nmap style, in our download. 1122 00:46:16,040 --> 00:46:20,420 So, when you download this, our installer will install Perl TK if you don't have it already, 1123 00:46:20,580 --> 00:46:22,660 because dependencies are a pain otherwise. 1124 00:46:23,660 --> 00:46:25,360 There was another question way back there. 1125 00:46:26,300 --> 00:46:29,680 On the permissions stuff, how are you going to deal with Apple's... 1126 00:46:33,600 --> 00:46:36,120 From permissions, how are you going to deal with... 1127 00:46:36,120 --> 00:46:37,740 Could you rephrase? 1128 00:46:43,460 --> 00:46:47,360 Oh, the question is, if we're going to go around and change permissions and make them better, 1129 00:46:47,980 --> 00:46:50,800 won't repair permissions get peeved off at us? 1130 00:46:51,480 --> 00:46:52,540 Yeah, it will. 1131 00:46:52,740 --> 00:46:55,480 First, yeah, don't use repair permissions. Just use good ones. 1132 00:46:57,400 --> 00:47:00,800 Second, okay, first, don't use repair permissions. 1133 00:47:02,000 --> 00:47:04,600 It may be for that, but I don't really think it's for that. 1134 00:47:04,720 --> 00:47:05,940 I think that you should go and get... 1135 00:47:05,940 --> 00:47:11,040 Or Osiris, a great tool from the Shmoo group, or even go old school and get Tripwire, 1136 00:47:11,240 --> 00:47:12,940 and use that to track your permissions. 1137 00:47:13,120 --> 00:47:15,500 If you think your permissions might be different from the last time you did something, 1138 00:47:16,200 --> 00:47:18,680 actually use a file integrity checker to check. 1139 00:47:18,860 --> 00:47:20,280 They're good for change management. 1140 00:47:20,460 --> 00:47:21,920 They're good for checking to see if you've been owned. 1141 00:47:23,100 --> 00:47:25,080 By the way, you have to run this stuff. 1142 00:47:25,220 --> 00:47:27,560 Everyone calls me, like, I think I got owned at DEF CON. 1143 00:47:27,800 --> 00:47:29,080 Can I use Tripwire now? 1144 00:47:29,680 --> 00:47:34,420 And you're like, no, Tripwire before DEF CON. 1145 00:47:35,080 --> 00:47:35,840 Then own. 1146 00:47:35,940 --> 00:47:37,580 Then Tripwire to check. 1147 00:47:37,840 --> 00:47:39,920 But you've got to build that baseline before. 1148 00:47:40,900 --> 00:47:42,780 Proactive security is good security. 1149 00:47:43,900 --> 00:47:45,120 Getting owned is bad. 1150 00:47:45,520 --> 00:47:49,200 I couldn't come up with the bad security thing, so I'm just going to call it at that. 1151 00:47:50,100 --> 00:47:51,320 Two questions over there. 1152 00:47:52,340 --> 00:47:53,780 Yeah, in the front first. 1153 00:47:56,520 --> 00:47:57,020 First. 1154 00:48:16,040 --> 00:48:16,480 Okay. 1155 00:48:17,260 --> 00:48:23,560 So the question is, could Bastille's changes, or arguably the changes you make by hand to 1156 00:48:23,560 --> 00:48:24,160 do the same thing? 1157 00:48:24,240 --> 00:48:28,580 Because Bastille's doing what a good admin with some time on their hands would do by 1158 00:48:28,580 --> 00:48:28,900 hand. 1159 00:48:29,120 --> 00:48:29,380 Okay. 1160 00:48:29,600 --> 00:48:33,100 So could Bastille's changes, one, get wiped out by a patch? 1161 00:48:33,780 --> 00:48:34,220 Answer? 1162 00:48:34,620 --> 00:48:35,060 Yeah. 1163 00:48:35,320 --> 00:48:35,760 Yeah. 1164 00:48:35,940 --> 00:48:36,960 This happens all the time. 1165 00:48:37,140 --> 00:48:40,200 It happens all the time on, like, freaking every operating system. 1166 00:48:40,460 --> 00:48:43,500 I'm sure there are some really, really good ones where this doesn't happen, but as far 1167 00:48:43,500 --> 00:48:46,000 as I can tell, it seems to happen on everything, because that's actually a hard problem. 1168 00:48:46,540 --> 00:48:49,480 So, yeah, sometimes your patches will wipe out your hardening. 1169 00:48:49,700 --> 00:48:50,340 Two things. 1170 00:48:50,480 --> 00:48:51,700 Bastille creates a config file. 1171 00:48:51,900 --> 00:48:56,740 You can rerun Bastille any time you want using the same config file, and the way it's 1172 00:48:56,740 --> 00:48:58,020 set up is that you could run it. 1173 00:48:58,080 --> 00:49:02,220 We made part of our testing process is I should be able to run this 100 times in a row, and 1174 00:49:02,220 --> 00:49:05,560 if one of the actions is out of line to the end of a file, we shouldn't add another, 1175 00:49:05,560 --> 00:49:06,820 another line to the end of the file. 1176 00:49:06,940 --> 00:49:08,360 We shouldn't add two lines or 100 lines. 1177 00:49:09,060 --> 00:49:09,260 Okay. 1178 00:49:09,340 --> 00:49:10,940 So you can just run Bastille again. 1179 00:49:11,860 --> 00:49:15,760 Part two is we have this audit mode, which will actually go and basically say, okay, 1180 00:49:16,220 --> 00:49:18,460 this is what you, this is what you said you did. 1181 00:49:18,620 --> 00:49:19,540 This is your policy file. 1182 00:49:19,880 --> 00:49:25,020 You can make that into a score file, a weights file that says, if you run the audit, it'll 1183 00:49:25,020 --> 00:49:28,540 check and see each of the hardening items and see if they're still hardened, but most 1184 00:49:28,540 --> 00:49:32,180 importantly, the score will be calculated entirely only looking at the items that you 1185 00:49:32,180 --> 00:49:33,260 actually hardened in the first place. 1186 00:49:33,560 --> 00:49:34,960 So you'll either get a perfect 10. 1187 00:49:35,560 --> 00:49:37,860 Are you able to see the things that pulled you down from a perfect 10? 1188 00:49:37,920 --> 00:49:39,820 If you're a perfect 10, nothing's changed. 1189 00:49:39,880 --> 00:49:40,860 You're still just as well hardened. 1190 00:49:40,920 --> 00:49:44,940 If you're not, well, something got unhardened and you know to go after it or to just rerun 1191 00:49:44,940 --> 00:49:45,240 Bastille. 1192 00:49:45,920 --> 00:49:47,520 So that's, that was question one. 1193 00:49:47,580 --> 00:49:48,380 He had a two-parter though. 1194 00:49:48,620 --> 00:49:51,320 The second part was, oh, God forbid. 1195 00:49:52,060 --> 00:49:52,420 Okay. 1196 00:49:52,500 --> 00:49:53,280 I shouldn't do that. 1197 00:49:53,340 --> 00:49:54,680 I should say, oh, DT forbid. 1198 00:49:55,440 --> 00:49:55,800 Okay. 1199 00:49:56,680 --> 00:50:01,240 DT forbid that Bastille actually in hardening the system makes it so the patches don't deploy 1200 00:50:01,240 --> 00:50:01,740 properly. 1201 00:50:02,680 --> 00:50:03,800 Would that happen, Jay? 1202 00:50:04,120 --> 00:50:05,220 And the answer is. 1203 00:50:06,920 --> 00:50:09,460 Uh, I've never seen it happen like ever. 1204 00:50:09,660 --> 00:50:11,500 I've never seen a hardening step actually take out. 1205 00:50:11,580 --> 00:50:13,260 I mean, that's, that would be a very broken hardening step. 1206 00:50:13,400 --> 00:50:16,520 And I think we'd hear about it from, I don't know, about 500 users at once. 1207 00:50:16,560 --> 00:50:18,820 One day, we'd probably get the word out pretty quick. 1208 00:50:19,080 --> 00:50:24,040 We'd probably tell you, but honestly, in, in six years of, of maintaining Bastille, 1209 00:50:24,160 --> 00:50:25,520 I haven't seen that happen. 1210 00:50:25,620 --> 00:50:28,600 And we've been on, I don't know, something like eight different operating systems. 1211 00:50:28,840 --> 00:50:32,080 Like the change groups that you don't have to execute? 1212 00:50:32,120 --> 00:50:33,320 What are the differences? 1213 00:50:34,040 --> 00:50:35,460 The, the question was. 1214 00:50:35,560 --> 00:50:36,520 Specifically about change route. 1215 00:50:36,580 --> 00:50:39,660 I'm going to actually save, I'm going to, I'm going to, I'm going to cut you off now 1216 00:50:39,660 --> 00:50:40,500 and take another question. 1217 00:50:40,980 --> 00:50:42,980 Um, I will take that question in the hallway afterwards. 1218 00:50:43,080 --> 00:50:46,200 Cause I'm going to run out of time soon, but I will say in terms of doing, he says, 1219 00:50:46,200 --> 00:50:48,840 when we build change route jails for everybody who knows what a change route jail is when 1220 00:50:48,840 --> 00:50:52,280 we build change route jails, is that going to screw with the way patching things work? 1221 00:50:52,400 --> 00:50:54,640 We don't move anything when we create our change route jail. 1222 00:50:54,720 --> 00:50:55,420 We just do copies. 1223 00:50:55,540 --> 00:50:58,900 And so we'll have to make it so that each time you patch, you'll have to rerun Bastille 1224 00:50:58,900 --> 00:51:02,040 to make the change route keep working, but we won't break anything. 1225 00:51:02,420 --> 00:51:02,740 Okay. 1226 00:51:02,820 --> 00:51:05,340 You'll end up having an older version of the software in the jail. 1227 00:51:05,340 --> 00:51:05,840 Potentially. 1228 00:51:06,060 --> 00:51:08,120 That's your kind of worst case, but we won't break anything. 1229 00:51:08,780 --> 00:51:09,220 Okay. 1230 00:51:09,360 --> 00:51:11,720 Uh, there's a question behind you by two people. 1231 00:51:11,860 --> 00:51:12,200 Yes. 1232 00:51:15,660 --> 00:51:16,100 Okay. 1233 00:51:18,380 --> 00:51:22,060 The question is, have we fed this back to Apple for inclusion in leopard and possibly 1234 00:51:22,060 --> 00:51:22,760 a tiger update? 1235 00:51:23,020 --> 00:51:24,840 Um, the answer is yes. 1236 00:51:25,120 --> 00:51:28,140 Um, we are, we are already talking with Apple about this. 1237 00:51:28,220 --> 00:51:31,140 They have a, well, they were here, so they've got our slides too. 1238 00:51:31,280 --> 00:51:35,220 Um, but I, I have been talking to them and, and I am very much hoping 1239 00:51:35,220 --> 00:51:36,700 that these things will all become standard. 1240 00:51:37,000 --> 00:51:40,520 My hope for every operating system is that Bastille will be completely unnecessary. 1241 00:51:41,100 --> 00:51:44,620 That every hardening step we could possibly take, they take by default and you have to 1242 00:51:44,620 --> 00:51:45,300 unharden something. 1243 00:51:45,860 --> 00:51:47,540 This happens slowly over time. 1244 00:51:47,780 --> 00:51:49,220 Red Hat has gotten significantly better. 1245 00:51:49,360 --> 00:51:51,100 Everybody's gotten a whole lot better over time. 1246 00:51:51,500 --> 00:51:55,820 So this, you know, I'm hoping that the, I'm hoping that at some point I'll say Bastille 1247 00:51:55,820 --> 00:51:56,620 OSX is dead. 1248 00:51:56,760 --> 00:51:57,580 We have no use for it. 1249 00:51:57,640 --> 00:51:58,820 Bastille Linux is dead. 1250 00:51:58,960 --> 00:52:00,040 I'm going to go do something else. 1251 00:52:00,180 --> 00:52:01,660 You know, I'm going to get a different hobby. 1252 00:52:02,020 --> 00:52:03,580 This, this will happen over time. 1253 00:52:03,760 --> 00:52:04,120 Okay. 1254 00:52:05,220 --> 00:52:05,760 Uh, next question. 1255 00:52:05,860 --> 00:52:06,400 There was another one. 1256 00:52:08,080 --> 00:52:08,740 Raise hand. 1257 00:52:08,940 --> 00:52:09,120 Raise hand. 1258 00:52:09,700 --> 00:52:12,980 Oh, the question was, wasn't the Bastille Storm, Jay? 1259 00:52:13,400 --> 00:52:15,240 What a horrible name for a tool. 1260 00:52:15,380 --> 00:52:16,420 Are you kidding? 1261 00:52:16,660 --> 00:52:17,760 Peasants took it over. 1262 00:52:19,520 --> 00:52:21,140 Um, yeah, it's a bad name. 1263 00:52:21,300 --> 00:52:21,980 We didn't mean it. 1264 00:52:22,020 --> 00:52:24,700 We got a little, we drank a little too much Red Bull when we were looking for a domain 1265 00:52:24,700 --> 00:52:24,920 name. 1266 00:52:24,980 --> 00:52:26,440 We meant to call it Bastion Linux. 1267 00:52:26,760 --> 00:52:28,040 We called it Bastille. 1268 00:52:28,680 --> 00:52:34,380 Um, yeah, that wasn't me on the Red Bull, but I mean, it's, it's, I, I can only say 1269 00:52:34,380 --> 00:52:34,960 I'm sorry. 1270 00:52:35,220 --> 00:52:39,380 And, um, and I'm going to say that, uh, darn near any computer, if it has a thousand or 1271 00:52:39,380 --> 00:52:42,760 two thousand peasants, you know, trying to hit it at once, probably going to fall down, 1272 00:52:42,960 --> 00:52:43,080 right? 1273 00:52:43,200 --> 00:52:45,540 I mean, at the very least, you've got the denial of service attack. 1274 00:52:45,760 --> 00:52:47,240 Enough people start sending packets your way. 1275 00:52:47,360 --> 00:52:48,600 Your ISP can't do anything. 1276 00:52:48,720 --> 00:52:49,900 It's coming in from all directions. 1277 00:52:50,420 --> 00:52:50,920 You know? 1278 00:52:51,160 --> 00:52:51,520 Okay. 1279 00:52:52,580 --> 00:52:53,560 Um, yeah, next. 1280 00:52:54,380 --> 00:52:55,520 Uh, you on the right. 1281 00:52:56,560 --> 00:52:56,920 Yes. 1282 00:52:57,080 --> 00:53:00,620 Have you considered interfacing, uh, Bastille with little Snitch on the Mac? 1283 00:53:00,860 --> 00:53:03,700 Have I considered interfacing Bastille with little Snitch on the Mac? 1284 00:53:03,700 --> 00:53:05,400 That's a really cool idea. 1285 00:53:05,680 --> 00:53:09,360 Little Snitch is a little tool that runs and, like, tells you, hey, this new program is 1286 00:53:09,360 --> 00:53:10,860 trying to communicate to the internet, right? 1287 00:53:10,940 --> 00:53:11,500 That kind of thing. 1288 00:53:11,640 --> 00:53:12,880 And that's a really good idea. 1289 00:53:13,040 --> 00:53:16,460 Little Snitch is kind of a little bit like Zone Alarm, but the idea was that it has 1290 00:53:16,460 --> 00:53:20,840 caught, it can catch, maybe programs phoning home that you didn't know phoned home. 1291 00:53:21,040 --> 00:53:23,240 We've seen that on different operating systems, different tools. 1292 00:53:23,480 --> 00:53:25,060 Um, what else did little Snitch do? 1293 00:53:25,120 --> 00:53:28,580 Little Snitch will catch some program that just, your browser all of a sudden is like, 1294 00:53:28,680 --> 00:53:30,140 you know, talking to an IRC server. 1295 00:53:30,480 --> 00:53:33,520 Maybe your browser just took a special kind of shellcode, right? 1296 00:53:33,520 --> 00:53:34,340 Right up the URL. 1297 00:53:39,260 --> 00:53:40,500 Uh, here. 1298 00:53:42,920 --> 00:53:47,040 So, do standard users have the ability to dump anything out of NetInfo? 1299 00:53:47,840 --> 00:53:50,980 Do standard users have the ability to dump anything out of NetInfo? 1300 00:53:51,340 --> 00:53:52,060 After Bastille. 1301 00:53:52,060 --> 00:53:56,760 After Bastille, the idea is standard users don't really get to NetInfo so well. 1302 00:53:56,860 --> 00:53:57,140 So no. 1303 00:53:57,480 --> 00:53:58,580 No group records either? 1304 00:53:59,240 --> 00:54:02,940 Yeah, um, I can't give you. 1305 00:54:02,940 --> 00:54:04,120 I can only give you so much there. 1306 00:54:04,300 --> 00:54:06,380 Um, we didn't get very far with NetInfo, we got a little bit. 1307 00:54:06,520 --> 00:54:08,180 We can make it so you can't do the password thing. 1308 00:54:08,520 --> 00:54:10,120 Um, okay, next question. 1309 00:54:10,220 --> 00:54:10,720 Right there. 1310 00:54:10,840 --> 00:54:12,280 You had your hand up a few times. 1311 00:54:12,560 --> 00:54:17,720 What strange and horrible way did Apple encrypt user passwords that NetInfo knows 1312 00:54:17,720 --> 00:54:18,580 what the length is? 1313 00:54:18,780 --> 00:54:23,220 What strange and horrible way did Apple encrypt user passwords that NetInfo has 1314 00:54:23,220 --> 00:54:25,180 a clue what length it is? 1315 00:54:26,560 --> 00:54:27,500 You know, I don't know. 1316 00:54:27,560 --> 00:54:28,640 That's a really good question too. 1317 00:54:29,420 --> 00:54:29,820 I... 1318 00:54:29,820 --> 00:54:30,160 It's SHA-1. 1319 00:54:30,500 --> 00:54:31,320 It's SHA-1. 1320 00:54:31,480 --> 00:54:31,760 But... 1321 00:54:32,940 --> 00:54:34,760 SHA-1 really wouldn't be fixed length. 1322 00:54:34,900 --> 00:54:35,720 It's fixed... 1323 00:54:35,720 --> 00:54:38,560 Well, I mean, SHA-1 shouldn't be variable length based on pass... 1324 00:54:38,560 --> 00:54:39,060 Is it? 1325 00:54:40,000 --> 00:54:40,980 I'm not a crypto guy. 1326 00:54:41,080 --> 00:54:41,500 I don't know. 1327 00:54:41,540 --> 00:54:43,020 There's something weird about it, but I agree. 1328 00:54:43,160 --> 00:54:43,720 That shouldn't... 1329 00:54:43,720 --> 00:54:47,200 If they were MD5 and they were SHA-1-ing, it should be a fixed password length, so I 1330 00:54:47,200 --> 00:54:48,820 should be able to see the password length in this. 1331 00:54:48,940 --> 00:54:49,700 I don't know why. 1332 00:54:50,180 --> 00:54:51,780 It looks like it was their shadow implementation. 1333 00:54:52,220 --> 00:54:53,600 It looks like it was their shadow implementation. 1334 00:54:54,160 --> 00:54:56,580 Instead of having just like one single star on their set. 1335 00:54:57,380 --> 00:55:00,120 Yeah, but where do they get it? 1336 00:55:00,200 --> 00:55:00,620 Where do they... 1337 00:55:00,620 --> 00:55:02,040 How do they know how many stars? 1338 00:55:02,540 --> 00:55:03,160 It's false. 1339 00:55:04,020 --> 00:55:05,820 The password's not stored in that encode. 1340 00:55:05,920 --> 00:55:08,800 It's stored in a separate database, which is a proprietary password. 1341 00:55:09,620 --> 00:55:11,400 There are actually eight characters of the name. 1342 00:55:12,000 --> 00:55:12,360 Okay. 1343 00:55:12,700 --> 00:55:13,400 I got eight. 1344 00:55:13,440 --> 00:55:14,380 I got six, depending... 1345 00:55:14,380 --> 00:55:14,560 Okay. 1346 00:55:15,280 --> 00:55:15,640 I'll... 1347 00:55:15,640 --> 00:55:16,420 Completely false. 1348 00:55:16,820 --> 00:55:18,420 I'll pull my laptop out in the hall. 1349 00:55:18,500 --> 00:55:19,800 We'll find out if I'm full of... 1350 00:55:20,560 --> 00:55:21,480 Which I might just be. 1351 00:55:22,180 --> 00:55:22,540 Okay. 1352 00:55:22,860 --> 00:55:23,600 Next question. 1353 00:55:23,820 --> 00:55:24,720 I don't want to end on that one. 1354 00:55:28,240 --> 00:55:28,600 Okay. 1355 00:55:28,700 --> 00:55:29,240 Next question. 1356 00:55:29,780 --> 00:55:30,560 Somebody's got a question. 1357 00:55:30,720 --> 00:55:31,420 You, right there. 1358 00:55:31,500 --> 00:55:32,020 Oh, hey, Kurt. 1359 00:55:33,320 --> 00:55:34,380 Is this going to work? 1360 00:55:34,420 --> 00:55:38,120 Is the same code going to work on the server and the laptop version? 1361 00:55:38,540 --> 00:55:39,800 Or the difference between those? 1362 00:55:40,320 --> 00:55:41,260 That's a good question. 1363 00:55:41,340 --> 00:55:43,980 The question is, will the same code work on the server and the laptop version? 1364 00:55:44,100 --> 00:55:45,440 The answer is, I have no idea. 1365 00:55:46,080 --> 00:55:46,520 I... 1366 00:55:46,520 --> 00:55:48,380 We're not supporting server just yet. 1367 00:55:48,460 --> 00:55:52,040 We're not supporting server until somebody joins the Bastille project that has Apple 1368 00:55:52,040 --> 00:55:53,560 access to OSX server. 1369 00:55:53,760 --> 00:55:58,100 So, if somebody wants to come forward and give us, you know, some kind of nice SSH 1370 00:55:58,100 --> 00:56:00,020 access into your OSX server... 1371 00:56:00,020 --> 00:56:01,680 Actually, it'll probably take VNC. 1372 00:56:02,260 --> 00:56:04,040 We'd be happy to... 1373 00:56:04,040 --> 00:56:05,080 You'll be happy for your help. 1374 00:56:05,260 --> 00:56:06,940 Right now, we can't do anything for server. 1375 00:56:07,220 --> 00:56:08,320 Well, we probably could. 1376 00:56:08,400 --> 00:56:10,780 A bunch of this will probably work, but I just can't be sure. 1377 00:56:11,480 --> 00:56:12,400 What about Darwin? 1378 00:56:12,960 --> 00:56:13,520 What's that? 1379 00:56:13,880 --> 00:56:14,520 What about Darwin? 1380 00:56:14,580 --> 00:56:15,460 What about Darwin? 1381 00:56:15,580 --> 00:56:17,120 I haven't actually tracked Darwin at all. 1382 00:56:18,420 --> 00:56:19,320 That's a good question. 1383 00:56:19,740 --> 00:56:23,440 Maybe we should go and take a look at Darwin, because that's not, you know, really, really 1384 00:56:23,440 --> 00:56:23,700 expensive. 1385 00:56:24,000 --> 00:56:24,520 Darwin is... 1386 00:56:24,520 --> 00:56:25,520 Darwin is... 1387 00:56:25,520 --> 00:56:29,760 Probably stopped development because Apple... 1388 00:56:29,760 --> 00:56:30,280 The... 1389 00:56:30,280 --> 00:56:31,100 This is... 1390 00:56:31,100 --> 00:56:31,660 The... 1391 00:56:31,680 --> 00:56:33,440 The gentleman back here says the same thing I was... 1392 00:56:33,440 --> 00:56:36,360 I was thinking, but didn't want to say, because I can't be authoritative on this one. 1393 00:56:36,460 --> 00:56:40,260 I figured maybe Darwin stopped developing when Apple closed the source. 1394 00:56:40,980 --> 00:56:42,760 With that said, I don't know. 1395 00:56:43,000 --> 00:56:43,440 Okay. 1396 00:56:43,500 --> 00:56:47,440 So, I'm going to leave that one alone, because that's something I'm definitely not able to 1397 00:56:47,440 --> 00:56:48,400 speak about with conviction. 1398 00:56:48,620 --> 00:56:49,160 In the back. 1399 00:56:49,240 --> 00:56:49,500 Yes. 1400 00:56:49,800 --> 00:56:51,680 Open Darwin closed their doors two... 1401 00:56:51,680 --> 00:56:53,060 About two weeks ago. 1402 00:56:53,280 --> 00:56:55,220 Open Darwin closed their doors two weeks ago. 1403 00:56:56,380 --> 00:56:57,640 Well, it probably was... 1404 00:56:57,640 --> 00:56:59,100 It probably was a necessary... 1405 00:56:59,100 --> 00:57:01,540 A necessary thing with the Intel switch, but... 1406 00:57:01,540 --> 00:57:02,080 It's unfortunate. 1407 00:57:02,960 --> 00:57:03,640 Next question. 1408 00:57:04,160 --> 00:57:04,820 Anybody else? 1409 00:57:07,240 --> 00:57:07,580 Okay. 1410 00:57:07,660 --> 00:57:10,620 We really are basically out of time, so I'll let any other questions... 1411 00:57:10,620 --> 00:57:11,760 I'm going to go on the hall right now. 1412 00:57:12,200 --> 00:57:13,160 Anybody want to come talk? 1413 00:57:13,260 --> 00:57:13,560 Let's talk.