1 00:00:00,000 --> 00:00:06,140 I'm guessing you guys actually have Mac clients, then, if you're still here. 2 00:00:07,260 --> 00:00:07,820 Right. 3 00:00:08,400 --> 00:00:14,780 So, just before I get started, the answer to a couple of the questions, or some addendums 4 00:00:14,780 --> 00:00:21,180 to what Jay was saying about some of his stuff, X11 is available on the installer CD for any 5 00:00:21,180 --> 00:00:25,500 OSX installer, so that's pretty easy to grab. 6 00:00:28,380 --> 00:00:33,380 Apache, another really good reason to do what Jay was talking about, rip out the old Apache 7 00:00:33,380 --> 00:00:37,920 files and insert new ones, is because Apache, as it's built on OSX, is not that great. 8 00:00:38,200 --> 00:00:44,000 So, if you rebuild it from scratch, it actually operates maybe 250% better performance. 9 00:00:44,300 --> 00:00:47,140 I mean, it does not perform on OS X very well. 10 00:00:47,340 --> 00:00:53,760 So, there's a program called MAMP that'll do a lot of that for you, but just to be, 11 00:00:53,920 --> 00:00:55,360 you know, continue with. 12 00:00:55,500 --> 00:00:59,860 What he was saying, there's another great reason, other than security, to replace the 13 00:00:59,860 --> 00:01:03,900 Apache configuration on OSX, which is performance. 14 00:01:04,520 --> 00:01:13,820 So, and then, the repair permission stuff, if someone builds a Cocoa installer and puts 15 00:01:13,820 --> 00:01:21,000 a DMG file in there that indicates the permissions that should be applied and timestamps them 16 00:01:21,000 --> 00:01:25,480 appropriately, in other words, if they build a proper installer for it, they're going to 17 00:01:25,500 --> 00:01:25,520 have to pay for it. 18 00:01:25,520 --> 00:01:28,540 So, if you do that, then when you do a repair permissions, it should respect those permissions. 19 00:01:29,140 --> 00:01:35,460 So, and then, I was just going to give a heads up to Little Snitch as well. 20 00:01:35,560 --> 00:01:36,400 That's a good program. 21 00:01:37,100 --> 00:01:43,160 And Little Snitch and PGP, both, I don't include in my presentation, but they definitely 22 00:01:43,160 --> 00:01:44,980 deserve inclusion. 23 00:01:45,260 --> 00:01:47,300 So, all right. 24 00:01:47,340 --> 00:01:48,720 So, Mac OS X security tools. 25 00:01:48,920 --> 00:01:51,680 Basically, I'm just picking up where Jay left off. 26 00:01:51,820 --> 00:01:53,060 So, rather than... 27 00:01:54,880 --> 00:01:55,480 I don't know. 28 00:01:55,480 --> 00:02:01,000 I guess rather than more of an internal side, I'm talking about different system tools 29 00:02:01,000 --> 00:02:05,040 that you apply after you do Bastille, so to speak. 30 00:02:06,140 --> 00:02:08,760 But I definitely heavily endorse Bastille. 31 00:02:09,320 --> 00:02:11,740 I've been using it in beta as well, and it's great. 32 00:02:15,080 --> 00:02:19,880 And obviously, we definitely always assume that the system is going to be compromised 33 00:02:19,880 --> 00:02:21,360 when we deploy them, right? 34 00:02:23,420 --> 00:02:24,880 I mean, not assume that it is. 35 00:02:24,900 --> 00:02:25,460 But assume that it is. 36 00:02:25,480 --> 00:02:25,940 Assume that it can be. 37 00:02:27,040 --> 00:02:30,180 Does anyone mind if I kill my presentation and give it the way I gave my last one? 38 00:02:33,400 --> 00:02:36,220 I hate the transforms and things, so... 39 00:02:36,820 --> 00:02:37,300 All right. 40 00:02:37,360 --> 00:02:40,680 So, as Jay talked about, Bastille is a great tool for locking down Macs. 41 00:02:41,580 --> 00:02:47,080 A lot of what it does involves the internals, IPFW, some of the other services like CUPS, 42 00:02:47,680 --> 00:02:48,440 obviously, we saw. 43 00:02:49,700 --> 00:02:51,480 And we're going to pick up where he left off. 44 00:02:51,680 --> 00:02:52,980 The first tool, Nagios. 45 00:02:53,140 --> 00:02:54,000 Who here runs Nagios? 46 00:02:55,820 --> 00:03:01,700 There's a great book on Nagios available, I think, at the NoStarch desk from NoStarch 47 00:03:01,700 --> 00:03:02,000 Press. 48 00:03:02,720 --> 00:03:04,480 It's a great book. 49 00:03:05,340 --> 00:03:11,380 Nagios is more of a system monitoring tool, and you can build customizable rules for it. 50 00:03:11,920 --> 00:03:14,660 In large-scale Mac deployments, it's great. 51 00:03:14,760 --> 00:03:16,040 It builds perfectly on the Mac. 52 00:03:16,780 --> 00:03:23,580 In fact, at Macworld this last year, someone gave a talk specifically on running Nagios 53 00:03:23,580 --> 00:03:24,440 on Mac networks. 54 00:03:24,920 --> 00:03:27,240 So, big fan of Nagios. 55 00:03:27,880 --> 00:03:29,340 Who here has used Radmin? 56 00:03:29,860 --> 00:03:33,820 Radmin D, the Apple-certified trainer. 57 00:03:35,040 --> 00:03:40,760 This is a program out of the university level, which have very large-scale Mac deployments 58 00:03:40,760 --> 00:03:41,460 in a lot of cases. 59 00:03:41,840 --> 00:03:44,440 I think University of Helsinki is over 20,000. 60 00:03:45,660 --> 00:03:52,020 And it's a centralized software update tool for non-packaged installers. 61 00:03:52,140 --> 00:03:53,560 If you have more than 20,000 installers, you can use it. 62 00:03:53,560 --> 00:03:59,300 If you have more than, I'd say, 5,000 Macs, then you've pretty much outgrown what ARD can 63 00:03:59,300 --> 00:04:04,360 do for you, and jumping into Radmin is definitely a good solution. 64 00:04:05,960 --> 00:04:10,620 You can also deploy config files and other specific file-based things. 65 00:04:11,720 --> 00:04:13,340 And it's free. 66 00:04:13,940 --> 00:04:15,260 And then Tripwire. 67 00:04:15,500 --> 00:04:16,520 Who here has used Tripwire? 68 00:04:17,920 --> 00:04:19,060 Not everybody? 69 00:04:19,840 --> 00:04:20,820 You're here. 70 00:04:21,400 --> 00:04:21,720 Have you... 71 00:04:21,720 --> 00:04:25,160 Anyone who's used Tripwire, have you opened your laptop at the conference? 72 00:04:27,100 --> 00:04:28,360 Yay, you admitted it. 73 00:04:30,440 --> 00:04:35,460 So Tripwire makes hashes of your file system, and then you can quickly compare for system 74 00:04:35,460 --> 00:04:36,680 changes and things of that nature. 75 00:04:36,940 --> 00:04:41,840 There is a great GUI tool for Tripwire, if you're still using it at the command line 76 00:04:41,840 --> 00:04:43,200 for the Mac, called Checkmate. 77 00:04:43,380 --> 00:04:45,120 Plugs directly into your system preferences. 78 00:04:45,540 --> 00:04:51,160 It does not work on the Intel chipset, which I've been testing a lot of stuff on the Intel 79 00:04:51,160 --> 00:04:51,620 chipset. 80 00:04:51,720 --> 00:04:55,020 But the tools that I use, mostly. 81 00:04:56,900 --> 00:05:00,680 So for that, you might still need to use the command line Tripwire. 82 00:05:00,800 --> 00:05:05,460 But it's a pretty good GUI tool, and it plugs straight into your system preferences. 83 00:05:07,680 --> 00:05:12,260 RkHunter is just a thing that looks for known rootkits. 84 00:05:13,120 --> 00:05:20,380 Personally, I script both Checkmate and RkHunter, or Tripwire and RkHunter to run at night on 85 00:05:20,380 --> 00:05:21,200 systems to check. 86 00:05:21,860 --> 00:05:25,040 OS X server, specifically, comes with Clam AV installed. 87 00:05:25,260 --> 00:05:32,520 So you can actually, without doing any installation or any updates, you can actually script Clam 88 00:05:32,520 --> 00:05:33,500 AV to run every night. 89 00:05:33,720 --> 00:05:35,560 So it's built into the OS. 90 00:05:36,260 --> 00:05:38,220 For OS X workstation, it's not. 91 00:05:38,340 --> 00:05:42,880 There is a program that will build it into the OS at the GUI level, called Clam X AV. 92 00:05:43,200 --> 00:05:44,220 Who's run that before? 93 00:05:47,020 --> 00:05:48,380 That's a great little tool. 94 00:05:48,640 --> 00:05:49,280 The only... 95 00:05:49,280 --> 00:05:51,700 My only issue with Clam X AV is it doesn't... 96 00:05:51,720 --> 00:05:53,360 It does not actually repair viruses. 97 00:05:53,520 --> 00:05:54,760 It only detects them. 98 00:05:54,960 --> 00:05:58,500 So you still need to end up getting Norton antivirus if you get infected, which most 99 00:05:58,500 --> 00:05:59,880 Macs are infected. 100 00:06:00,380 --> 00:06:03,700 And that's not necessarily Apple's fault. 101 00:06:03,820 --> 00:06:06,820 It's Microsoft Office in most cases. 102 00:06:08,580 --> 00:06:09,780 Next Snort. 103 00:06:10,900 --> 00:06:12,460 Who's run HinWin before? 104 00:06:13,320 --> 00:06:16,140 And who's run Snort in the command line on OS X before? 105 00:06:17,040 --> 00:06:18,880 So a couple of fewer hands. 106 00:06:20,060 --> 00:06:20,660 Okay. 107 00:06:21,380 --> 00:06:21,940 Sorry. 108 00:06:22,340 --> 00:06:22,900 FreeBSD. 109 00:06:23,220 --> 00:06:23,780 Yeah. 110 00:06:24,380 --> 00:06:25,480 FreeBSD doesn't count. 111 00:06:25,840 --> 00:06:30,360 As Apple engineers often tell me, OS X is not FreeBSD. 112 00:06:31,420 --> 00:06:34,740 When I talk about editing certain files, they're like, dude, that's not gonna work. 113 00:06:35,160 --> 00:06:43,400 So anyways, HinWin is helping Mac people be more secure by actually applying not only 114 00:06:43,400 --> 00:06:47,180 intrusion detection, but intrusion prevention based on the Guardian Perl script that you 115 00:06:47,180 --> 00:06:48,160 can launch within... 116 00:06:48,780 --> 00:06:50,380 So other people who... 117 00:06:50,380 --> 00:06:50,640 Yeah. 118 00:06:50,640 --> 00:06:51,740 ...use HinWin. 119 00:06:52,360 --> 00:06:54,580 Who uses the Guardian script inside of HinWin? 120 00:06:55,780 --> 00:07:01,620 So I have teachers that do that, which is kind of an interesting concept. 121 00:07:01,860 --> 00:07:06,320 Like your third grade teacher running an intrusion prevention system on your Mac. 122 00:07:07,480 --> 00:07:13,020 But that's a great tool, especially if you're not concerned about a client node actually 123 00:07:13,020 --> 00:07:13,760 getting... 124 00:07:14,760 --> 00:07:19,920 Being used for DNS, DOS, and things of that nature. 125 00:07:20,040 --> 00:07:20,620 So, yeah. 126 00:07:25,060 --> 00:07:33,720 So as far as Guardian goes, there is always the ability to essentially attack the system. 127 00:07:34,360 --> 00:07:36,920 I mean, who all saw Dan's talk last year? 128 00:07:38,100 --> 00:07:38,700 Brennan. 129 00:07:38,820 --> 00:07:44,700 So you can always attack a system that you know is running some kind of intrusion detection 130 00:07:44,700 --> 00:07:45,320 system. 131 00:07:45,560 --> 00:07:50,600 But using known IP addresses that that machine needs to communicate with, and they're running 132 00:07:50,600 --> 00:07:53,980 for DOS, the machine based on the network services that it needs. 133 00:07:54,120 --> 00:07:54,340 Right? 134 00:07:54,540 --> 00:08:00,540 So that's something to be concerned with if you're running Snort or HinWin on servers. 135 00:08:00,860 --> 00:08:05,840 But for the most part, if you're doing extrusion detection type of security, you don't really 136 00:08:05,840 --> 00:08:08,260 need to worry about that for the most part. 137 00:08:08,500 --> 00:08:11,600 And then Snort, obviously, awesome customer websites. 138 00:08:11,900 --> 00:08:12,300 You can... 139 00:08:12,300 --> 00:08:15,260 In a lot of Mac environments, we see SonicWalls. 140 00:08:15,380 --> 00:08:19,560 That seems to be a very good marriage, SonicWall and Apple websites. 141 00:08:19,560 --> 00:08:26,380 And in those cases, you can actually run different plugins for Snort that will update 142 00:08:26,380 --> 00:08:31,960 the SonicWall and block IPs based on, you know, rules that have been tripped up. 143 00:08:34,740 --> 00:08:38,460 Also, by the way, HinWin takes out the need to install libcap. 144 00:08:40,860 --> 00:08:44,760 It actually automatically does all the things that you would normally have to do by hand 145 00:08:44,760 --> 00:08:46,020 to get Snort to work on that. 146 00:08:46,300 --> 00:08:47,000 So it's nice. 147 00:08:48,420 --> 00:08:51,200 It also doesn't run on its own chips. 148 00:08:52,560 --> 00:08:54,080 So AppOrgo Desktop. 149 00:08:55,380 --> 00:08:59,180 ARD 3.0 has a lot of updates over ARD 2. 150 00:08:59,280 --> 00:09:04,560 If you were using ARD 2, it's worth the extra 500 bucks or whatever for it. 151 00:09:05,740 --> 00:09:12,640 It's used primarily for keeping software updated, deploying package-based installers. 152 00:09:13,560 --> 00:09:16,640 Basically, Radmind should have gone after this in my presentation. 153 00:09:17,000 --> 00:09:18,380 Because it fills the gaps of ARD. 154 00:09:18,560 --> 00:09:21,820 So ARD gives Apple OS X BNC. 155 00:09:22,160 --> 00:09:27,520 It gives it the ability to send shell commands to client machines without SSH. 156 00:09:29,380 --> 00:09:34,860 But what it doesn't do is it doesn't deploy non-package-based installers. 157 00:09:35,140 --> 00:09:41,200 So in a lot of environments, people will build lists of the files that have been changed 158 00:09:41,200 --> 00:09:43,180 and then deploy those in ARD. 159 00:09:43,320 --> 00:09:45,860 But Radmind actually kind of fills that void. 160 00:09:48,320 --> 00:09:53,200 Local administrative users automatically have access to an ARD client. 161 00:09:53,360 --> 00:09:57,740 So if you turn ARD on, any local admin user has access to the system. 162 00:09:59,300 --> 00:10:02,760 And then, yeah, I already said that. 163 00:10:02,980 --> 00:10:05,620 So the next thing, open directory. 164 00:10:05,680 --> 00:10:08,780 I said password policies, but I should have just said open directory policies. 165 00:10:09,000 --> 00:10:15,700 A big movement in the Mac OS X server community is to cross realm Mac server 166 00:10:15,700 --> 00:10:18,840 with Active Directory, therefore providing open directory, 167 00:10:19,000 --> 00:10:21,120 which is Apple's version of Active Directory, 168 00:10:21,280 --> 00:10:23,800 and Active Directory to your network. 169 00:10:24,020 --> 00:10:29,240 What that enables you to do is have your Kerberos authentication occur through Active Directory 170 00:10:29,240 --> 00:10:33,820 and then have any policies that you want applied to your Macs 171 00:10:33,820 --> 00:10:36,360 still be applyable through an OS X server. 172 00:10:37,460 --> 00:10:42,260 That's one of the things that I've been doing for six months. 173 00:10:42,620 --> 00:10:43,260 Yeah. 174 00:10:44,300 --> 00:10:45,860 About 80% of my time. 175 00:10:46,120 --> 00:10:50,340 So it's kind of a big trend in more enterprise-level networking. 176 00:10:51,920 --> 00:10:56,600 And, you know, in a lot of those cases, you'll have 300, 400 Macs in a 10,000-node environment. 177 00:10:56,940 --> 00:11:01,780 So you don't want to necessarily extend your Active Directory schema to accommodate for them, 178 00:11:01,840 --> 00:11:03,920 and cross-realming helps you keep from having to do that. 179 00:11:05,060 --> 00:11:09,520 Another great product, which I think I mentioned in a later slide but fits in here, is Centrify. 180 00:11:10,720 --> 00:11:12,720 Centrify will allow you to do those same things. 181 00:11:13,260 --> 00:11:16,900 But it will actually allow you to edit those from the GPO tools. 182 00:11:18,540 --> 00:11:21,100 And who's used Active Directory with the GPO tools? 183 00:11:22,040 --> 00:11:22,520 Okay. 184 00:11:25,220 --> 00:11:26,180 All right. 185 00:11:27,360 --> 00:11:32,100 So I guess I don't really need to cover too much about IPFW 186 00:11:32,100 --> 00:11:34,520 because Jay kind of went into a lot of that. 187 00:11:34,640 --> 00:11:39,540 But there's also another thing that you can run in conjunction with IPFW called DummyNet, 188 00:11:39,700 --> 00:11:42,420 which, rather than block traffic, allows you to throttle traffic. 189 00:11:42,420 --> 00:11:45,600 So, for example, if you're running an Apple File Protocol server, 190 00:11:45,800 --> 00:11:51,100 and you want to limit the traffic that AFP or NFS can take on that server, 191 00:11:51,360 --> 00:11:59,060 you can actually use DummyNet to limit that to half a gigabit, you know, on a gigabit interface. 192 00:11:59,360 --> 00:12:03,100 Or if you're aggregating your links, maybe a gigabit on a 2-gig interface. 193 00:12:03,520 --> 00:12:09,580 So this actually expands your ability to do traffic control, which is kind of cool. 194 00:12:09,580 --> 00:12:12,840 And in an Open Directory environment, by the way, 195 00:12:13,540 --> 00:12:16,540 password server doesn't replicate across your topology. 196 00:12:16,800 --> 00:12:22,760 So what this can do is, by default, each Mac is going to look at your Open Directory primary controller. 197 00:12:23,080 --> 00:12:27,900 So what you can do, you can use DummyNet to actually throttle the traffic for each node. 198 00:12:28,060 --> 00:12:33,720 So you can essentially force them to use replicas as opposed to your main servers, you know. 199 00:12:34,060 --> 00:12:39,560 That's kind of a cool feature that it would be nice if Apple actually built in to it. 200 00:12:39,580 --> 00:12:43,180 So if there happens to be anyone from Apple in the audience. 201 00:12:44,340 --> 00:12:47,500 So I gave Centrify a full slide. 202 00:12:48,460 --> 00:12:50,600 It's a nice product. It's clean. 203 00:12:50,760 --> 00:12:53,960 It doesn't actually add any Active Directory schemas. 204 00:12:54,000 --> 00:12:56,220 It just kind of puts MCX files out in the open. 205 00:12:56,560 --> 00:12:59,240 So what's an MCX file? 206 00:12:59,400 --> 00:13:06,000 If you have needs, like let's say you want all of your Photoshop users to be limited 207 00:13:06,000 --> 00:13:09,000 to not have a certain menu or something of that nature, 208 00:13:09,080 --> 00:13:09,560 you can actually do that. 209 00:13:09,580 --> 00:13:14,640 You can actually customize your rules or your policies in Open Directory as MCX files. 210 00:13:15,260 --> 00:13:17,540 So that's kind of a cool feature. 211 00:13:17,700 --> 00:13:20,300 It makes the policy settings extensible. 212 00:13:21,820 --> 00:13:24,680 When you customize those MCX files, 213 00:13:25,700 --> 00:13:28,880 then you can plug them straight into Open Directory 214 00:13:28,880 --> 00:13:32,040 and have them replicate throughout your Mac enterprise. 215 00:13:34,160 --> 00:13:37,340 Bastille will export its settings into MCX. 216 00:13:37,340 --> 00:13:40,260 So you can actually configure something in Bastille 217 00:13:40,260 --> 00:13:43,760 and then plug it directly into Open Directory and push it out like that. 218 00:13:43,940 --> 00:13:45,120 So very nice feature. 219 00:13:48,120 --> 00:13:49,900 How am I on time? Anyone? 220 00:13:53,300 --> 00:13:55,040 All right, so service control. 221 00:13:55,460 --> 00:13:58,540 I kind of mentioned the fact that cron is deprecated in OSX. 222 00:13:59,400 --> 00:14:01,900 It's pretty easy to actually fire it back up. 223 00:14:02,000 --> 00:14:05,880 You just run it once, reboot, and cron is good again. 224 00:14:05,880 --> 00:14:10,820 But Apple is planning on removing it completely at some point, 225 00:14:10,940 --> 00:14:13,380 and so they're trying to push everyone really heavily 226 00:14:13,380 --> 00:14:15,940 into moving over to using LaunchD. 227 00:14:16,880 --> 00:14:19,200 Was everyone here in my previous speech? 228 00:14:20,320 --> 00:14:22,920 No. Right on. 229 00:14:25,880 --> 00:14:29,740 So just to cover, there is a GUI tool for LaunchD, 230 00:14:29,900 --> 00:14:30,980 and it's called Lingon, 231 00:14:31,060 --> 00:14:34,740 and you can deploy it across a lot of machines pretty quick using ARD. 232 00:14:34,740 --> 00:14:35,600 It's a package installer. 233 00:14:37,840 --> 00:14:41,160 Lingon just gives you a msconfig-looking screen 234 00:14:41,740 --> 00:14:44,240 and allows you to configure services that way. 235 00:14:44,980 --> 00:14:48,240 And it allows you to configure whether or not it's running as the user 236 00:14:48,240 --> 00:14:51,260 or root or something of that nature. 237 00:14:53,320 --> 00:14:55,600 So Lingon makes it pretty easy to determine 238 00:14:55,600 --> 00:14:57,900 which applications are loading and why as well. 239 00:14:58,100 --> 00:15:00,900 So if you've got a machine that's running slow, 240 00:15:01,100 --> 00:15:02,900 it gives you more troubleshooting tools. 241 00:15:02,900 --> 00:15:04,940 So you can actually look at a service, 242 00:15:05,060 --> 00:15:06,840 look at the path that's firing up the service, 243 00:15:07,100 --> 00:15:10,080 look at why it's firing up the service essentially, 244 00:15:10,300 --> 00:15:13,080 and then disable it and push that out as a policy 245 00:15:13,080 --> 00:15:16,640 or just push it out as a config file change. 246 00:15:17,240 --> 00:15:21,100 So unlike traditional BSD flavors, 247 00:15:21,620 --> 00:15:24,000 Apple highly discourages you to... 248 00:15:24,560 --> 00:15:25,520 Did I say that right? 249 00:15:25,700 --> 00:15:28,880 Apple discourages you to actually customize your RC files. 250 00:15:29,120 --> 00:15:31,560 So if you edit your RC.local, 251 00:15:31,560 --> 00:15:34,120 then it can be replaced at any given point in time, 252 00:15:34,220 --> 00:15:35,400 like your next reboot possibly. 253 00:15:35,680 --> 00:15:36,940 So don't do that. 254 00:15:37,140 --> 00:15:39,720 And if you are a member of the OSX server list 255 00:15:39,720 --> 00:15:43,080 and you, say, edit your RC.local file, 256 00:15:43,220 --> 00:15:44,940 like I did a pretty good while back, 257 00:15:45,200 --> 00:15:46,800 then expect to get flamed 258 00:15:46,800 --> 00:15:51,540 because they can be pretty, you know... 259 00:15:52,700 --> 00:15:55,600 So then I just listed a few paths for other startup items. 260 00:15:55,740 --> 00:15:57,540 So if you've got other startup items 261 00:15:57,540 --> 00:15:59,440 and you want to disable them 262 00:15:59,440 --> 00:16:00,900 or look at what's starting up and why, 263 00:16:01,560 --> 00:16:02,160 it's right there. 264 00:16:03,900 --> 00:16:06,500 All right, so reacting to security incidents 265 00:16:06,500 --> 00:16:09,420 is kind of interesting in the Apple community. 266 00:16:11,140 --> 00:16:14,120 In a lot of cases, they're not used to it, 267 00:16:14,180 --> 00:16:16,520 so they don't react to it. 268 00:16:16,600 --> 00:16:18,740 They'll just reformat the machine and move on 269 00:16:18,740 --> 00:16:19,820 or something of that nature. 270 00:16:20,960 --> 00:16:24,240 Securing systems is one thing... 271 00:16:25,240 --> 00:16:27,000 I don't even like this slide. Sorry. 272 00:16:27,200 --> 00:16:29,500 Has anyone used Symantec iButton, by the way? 273 00:16:30,080 --> 00:16:31,660 That's a great little feature 274 00:16:31,660 --> 00:16:32,860 that they plugged into their new stuff. 275 00:16:33,060 --> 00:16:35,140 It doesn't run on Mac. It's more of a Windows thing. 276 00:16:35,300 --> 00:16:36,740 But it's a nice product. 277 00:16:39,980 --> 00:16:43,260 So when it comes to building your own tools, 278 00:16:44,420 --> 00:16:45,860 things like Cocoa development, 279 00:16:46,380 --> 00:16:47,200 X11 development, 280 00:16:48,720 --> 00:16:50,460 there are a lot of Cocoa guys 281 00:16:50,460 --> 00:16:52,640 that will actually help and guide you 282 00:16:52,640 --> 00:16:54,640 through building Cocoa installers 283 00:16:55,180 --> 00:16:56,720 or real basic installers 284 00:16:56,720 --> 00:16:58,740 if you want to go down that route 285 00:16:58,740 --> 00:17:00,080 for the Apple platform. 286 00:17:01,340 --> 00:17:03,120 And then if you build a tool 287 00:17:03,120 --> 00:17:04,680 based on a bunch of shell commands, 288 00:17:04,880 --> 00:17:06,560 you can easily port them into Cocoa. 289 00:17:06,600 --> 00:17:07,640 You can just create a button 290 00:17:07,640 --> 00:17:08,940 and apply them to a shell script. 291 00:17:09,180 --> 00:17:12,340 So it's not that difficult to build your own security tools 292 00:17:12,340 --> 00:17:14,460 if you want to deploy them for your users. 293 00:17:14,660 --> 00:17:16,940 In addition to Cocoa, there's also AppleScript, 294 00:17:17,160 --> 00:17:18,600 which is less GUI-oriented. 295 00:17:18,860 --> 00:17:20,400 And in addition to AppleScript, 296 00:17:20,560 --> 00:17:21,780 there's this thing called Automator, 297 00:17:21,840 --> 00:17:23,700 which is a great way to send people things 298 00:17:23,700 --> 00:17:26,320 like shell scripts that fire up and run 299 00:17:26,320 --> 00:17:30,760 on an RM space slash space dash RF or something. 300 00:17:31,120 --> 00:17:35,300 So anyways, that was lost on everybody here. 301 00:17:35,360 --> 00:17:36,140 It wasn't just me. 302 00:17:36,700 --> 00:17:37,760 You can do it! 303 00:17:39,380 --> 00:17:41,020 Anyways, so the Apple community 304 00:17:41,020 --> 00:17:42,620 is becoming a lot more friendly to security, 305 00:17:42,800 --> 00:17:44,540 but I still get asked the question a lot of times, 306 00:17:44,640 --> 00:17:45,980 why do I need a password? 307 00:17:46,340 --> 00:17:48,380 And that's something great to know if you're doing, 308 00:17:48,460 --> 00:17:50,280 let's say, pen testing in the Apple community, 309 00:17:51,040 --> 00:17:54,760 which gets us into traditional security tools 310 00:17:54,760 --> 00:17:55,980 like Nessus and Metasploit, 311 00:17:56,320 --> 00:17:57,720 which are available for the Mac 312 00:17:57,720 --> 00:18:00,240 and pretty much fully compatible. 313 00:18:00,720 --> 00:18:03,200 In some cases, as someone from Apple 314 00:18:03,200 --> 00:18:04,620 pointed out to me at Black Hat, 315 00:18:05,200 --> 00:18:09,180 Nessus may misstate the version of a service that's running 316 00:18:09,180 --> 00:18:12,420 and misstate vulnerabilities that might not be existent 317 00:18:12,420 --> 00:18:14,300 because Apple may have updated the package 318 00:18:14,300 --> 00:18:16,280 but not updated the header file for the package. 319 00:18:17,820 --> 00:18:19,460 For example, OpenSSL. 320 00:18:19,640 --> 00:18:23,100 So in those cases, manually just updating your header files 321 00:18:23,100 --> 00:18:25,540 will fool Nessus and get you completely around that. 322 00:18:27,080 --> 00:18:29,980 Not all the tools that are available on Windows 323 00:18:29,980 --> 00:18:30,940 are available for the Mac, 324 00:18:31,080 --> 00:18:32,600 just like they're not available for Linux. 325 00:18:33,740 --> 00:18:35,000 That's, you know... 326 00:18:36,760 --> 00:18:38,380 As with other security audits, 327 00:18:38,420 --> 00:18:40,440 no single tool is a one-stop shop. 328 00:18:41,380 --> 00:18:43,380 And then the last thing I say here 329 00:18:43,380 --> 00:18:45,480 is that the business workflow is often very different. 330 00:18:45,560 --> 00:18:48,000 Like I said, people still ask, why do I need a security? 331 00:18:48,220 --> 00:18:51,920 Why is it that if I enter my password more than three times, 332 00:18:52,040 --> 00:18:53,640 it locks me out? 333 00:18:54,300 --> 00:18:55,180 They're very... 334 00:18:55,180 --> 00:18:56,300 In a lot of cases, 335 00:18:57,200 --> 00:18:58,160 ambivalent towards security. 336 00:18:59,920 --> 00:19:01,500 And this can... 337 00:19:01,500 --> 00:19:04,000 When you're architecting a solution 338 00:19:04,000 --> 00:19:05,140 or architecting a network, 339 00:19:05,320 --> 00:19:06,400 this can kind of get in the way. 340 00:19:06,480 --> 00:19:09,240 But for the most part, they're catching up. 341 00:19:09,400 --> 00:19:11,660 So the fact that they've had exploits 342 00:19:11,660 --> 00:19:12,840 and they've had bugs 343 00:19:12,840 --> 00:19:14,980 and, like, the new airport drivers, 344 00:19:17,100 --> 00:19:19,400 they're starting to kind of get the point. 345 00:19:19,620 --> 00:19:23,300 So that was my hour-long talk 346 00:19:23,300 --> 00:19:24,520 condensed down to 15 minutes. 347 00:19:25,180 --> 00:19:25,360 Any questions? 348 00:19:26,780 --> 00:19:27,300 Thanks. 349 00:19:28,860 --> 00:19:29,380 Yeah. 350 00:19:42,760 --> 00:19:44,420 I think I was just going 351 00:19:44,420 --> 00:19:45,660 for making them a little different. 352 00:19:46,060 --> 00:19:48,220 The typical load balancer 353 00:19:48,220 --> 00:19:50,440 or the typical firewall that you might see 354 00:19:50,440 --> 00:19:51,820 in more of an enterprise environment, 355 00:19:52,160 --> 00:19:52,960 like it was... 356 00:19:52,960 --> 00:19:54,440 As was pointed out earlier, 357 00:19:54,940 --> 00:19:57,260 a lot of Mac environments still have, like, 358 00:19:57,260 --> 00:19:58,640 a dedicated DSL connection, 359 00:19:58,820 --> 00:20:01,380 and the network admins actually don't attach them 360 00:20:01,380 --> 00:20:02,240 to their corporate network. 361 00:20:02,720 --> 00:20:04,800 They're not running, in a lot of cases, 362 00:20:05,040 --> 00:20:07,640 any centralized username-password authentication. 363 00:20:08,700 --> 00:20:09,860 In a lot of cases, 364 00:20:09,920 --> 00:20:11,480 it's just a hundred standalone machines 365 00:20:11,480 --> 00:20:13,060 that happen to, by the way, 366 00:20:13,080 --> 00:20:14,660 tap directly into the Exchange server 367 00:20:14,660 --> 00:20:16,080 or the Lotus Notes server 368 00:20:16,080 --> 00:20:17,600 using the Mac client, 369 00:20:17,700 --> 00:20:19,100 and therefore, you know, offer 370 00:20:19,740 --> 00:20:22,120 some form of connectivity between the networks, 371 00:20:22,120 --> 00:20:24,200 albeit discreet in some cases. 372 00:20:24,580 --> 00:20:26,940 So I still see a lot of networks 373 00:20:26,940 --> 00:20:28,220 and a lot of network administrators 374 00:20:28,220 --> 00:20:29,280 that are just like, 375 00:20:29,420 --> 00:20:31,060 I don't want any Macs on my network, period. 376 00:20:31,400 --> 00:20:33,120 They get to go on that network, 377 00:20:33,260 --> 00:20:34,580 and we just do our thing. 378 00:20:35,040 --> 00:20:35,460 And it... 379 00:20:35,460 --> 00:20:38,040 I mean, for the most part, Samba, CIFS, 380 00:20:38,200 --> 00:20:40,100 it's the same protocols now, 381 00:20:40,240 --> 00:20:43,520 and it's becoming a different environment, 382 00:20:43,680 --> 00:20:47,420 and I think a lot of Windows admins 383 00:20:47,420 --> 00:20:49,120 just haven't picked up on that yet. 384 00:20:49,300 --> 00:20:49,780 So... 385 00:20:50,980 --> 00:20:52,520 Can I run my mouth for a second? 386 00:20:52,820 --> 00:20:53,420 Sure enough. 387 00:20:53,600 --> 00:20:53,840 All right. 388 00:20:53,900 --> 00:20:54,820 A couple of things. 389 00:20:55,000 --> 00:20:57,500 The Open Directory password policies 390 00:20:58,160 --> 00:20:58,840 don't get applied 391 00:20:58,840 --> 00:21:00,780 if you're authenticating to Active Directory. 392 00:21:01,000 --> 00:21:03,420 It'd be the Active Directory policies, right? 393 00:21:03,620 --> 00:21:04,620 If you're cross-roaming, 394 00:21:04,680 --> 00:21:05,820 your Open Directory policies 395 00:21:06,380 --> 00:21:08,280 get applied to Mac clients. 396 00:21:08,340 --> 00:21:10,160 Well, the preference is what? 397 00:21:10,220 --> 00:21:10,580 The managed... 398 00:21:10,580 --> 00:21:11,200 The golden triangle? 399 00:21:11,460 --> 00:21:12,480 Yeah, like in the... 400 00:21:12,480 --> 00:21:13,380 Well, yeah. 401 00:21:13,980 --> 00:21:15,280 Depends on how you're doing it, 402 00:21:15,320 --> 00:21:16,620 but your authentication's still coming 403 00:21:16,620 --> 00:21:17,400 from the Windows side, 404 00:21:17,440 --> 00:21:18,000 so the policy... 405 00:21:18,000 --> 00:21:18,320 Yeah. 406 00:21:18,680 --> 00:21:19,680 If I missed it, 407 00:21:19,780 --> 00:21:19,860 I... 408 00:21:19,860 --> 00:21:20,840 Oh, no, like I said, 409 00:21:20,900 --> 00:21:21,940 I'm just running my mouth, upstaging. 410 00:21:21,960 --> 00:21:22,740 No, that's true. 411 00:21:22,900 --> 00:21:23,620 That's what I'm here for. 412 00:21:23,800 --> 00:21:25,540 The Kerberos still comes from Windows, 413 00:21:25,700 --> 00:21:27,020 and then your policies come 414 00:21:27,020 --> 00:21:28,800 from your MCX files on the Mac side. 415 00:21:28,800 --> 00:21:30,140 And ARD only has... 416 00:21:30,140 --> 00:21:31,840 Is only enabled on admin users 417 00:21:31,840 --> 00:21:33,180 in the rare instance 418 00:21:33,180 --> 00:21:35,820 of the very first admin user created in server 419 00:21:35,820 --> 00:21:38,560 if you enable it in the setup pane. 420 00:21:38,780 --> 00:21:40,400 All other users have to... 421 00:21:40,400 --> 00:21:41,740 On a per-user basis, 422 00:21:41,820 --> 00:21:43,200 you have to set up the privileges, actually, 423 00:21:43,280 --> 00:21:46,040 unless you install them via, like, a custom package. 424 00:21:47,160 --> 00:21:48,940 Because it maintains a separate... 425 00:21:48,940 --> 00:21:50,860 Is that just for 3 or for 2.1 as well? 426 00:21:50,940 --> 00:21:52,280 2 did that, actually, as well. 427 00:21:52,520 --> 00:21:53,260 So, like, on server, 428 00:21:53,480 --> 00:21:55,080 the very first admin has it, 429 00:21:55,140 --> 00:21:56,480 and then everyone else, 430 00:21:56,680 --> 00:21:58,220 like, if you create subsequent admins from there, 431 00:21:58,300 --> 00:21:59,840 they don't have any access. 432 00:22:00,200 --> 00:22:01,660 And then ARD 3 now, 433 00:22:01,700 --> 00:22:03,660 you can limit by what... 434 00:22:03,660 --> 00:22:05,600 If they're an admin or a non-admin, 435 00:22:05,660 --> 00:22:06,560 you can actually kind of limit 436 00:22:06,560 --> 00:22:07,660 what their privileges are. 437 00:22:07,920 --> 00:22:10,560 But, yeah, you still have to enable them individually. 438 00:22:11,040 --> 00:22:11,400 So... 439 00:22:11,880 --> 00:22:13,020 I mean, well, you can test it. 440 00:22:13,100 --> 00:22:13,580 Yeah, we'll... 441 00:22:13,580 --> 00:22:13,920 Yeah. 442 00:22:13,980 --> 00:22:14,780 We'll think with it later. 443 00:22:14,980 --> 00:22:15,340 So... 444 00:22:16,280 --> 00:22:16,640 And... 445 00:22:16,640 --> 00:22:16,980 So... 446 00:22:18,940 --> 00:22:20,480 It's the first server it can find. 447 00:22:20,980 --> 00:22:23,040 So, like, it's like a ping test, basically. 448 00:22:23,460 --> 00:22:25,200 So it will contact the master... 449 00:22:25,200 --> 00:22:25,660 Right. 450 00:22:25,740 --> 00:22:26,240 ...and the replica. 451 00:22:26,360 --> 00:22:28,040 And if the replica talks to it 452 00:22:28,040 --> 00:22:29,080 quicker than the master does, 453 00:22:29,220 --> 00:22:30,820 then it'll off that way. 454 00:22:30,920 --> 00:22:31,620 But, like... 455 00:22:32,420 --> 00:22:32,940 You know. 456 00:22:33,260 --> 00:22:33,660 So... 457 00:22:34,380 --> 00:22:34,980 Like you said, 458 00:22:35,000 --> 00:22:36,480 just upstaging and running my mouth. 459 00:22:37,020 --> 00:22:37,800 No worries. 460 00:22:38,060 --> 00:22:38,840 No, if I... 461 00:22:38,840 --> 00:22:39,900 If I said something wrong. 462 00:22:40,080 --> 00:22:40,940 I mean, in... 463 00:22:41,800 --> 00:22:43,500 I've definitely seen a lot of cases, 464 00:22:43,620 --> 00:22:44,420 and maybe... 465 00:22:44,880 --> 00:22:46,660 Maybe it was fixed in 10.4.7, 466 00:22:46,720 --> 00:22:48,540 where Sassl and... 467 00:22:48,540 --> 00:22:51,820 Where various components just don't... 468 00:22:51,820 --> 00:22:53,240 Yeah, it's all about your topology. 469 00:22:54,180 --> 00:22:55,080 It's all... 470 00:22:55,080 --> 00:22:56,500 It's all about the topology. 471 00:22:56,740 --> 00:22:58,200 And in almost every case 472 00:22:58,200 --> 00:23:00,240 that I've ever touched an open directory network, 473 00:23:00,440 --> 00:23:01,240 it was deployed wrong. 474 00:23:02,100 --> 00:23:03,120 And, I mean, 475 00:23:03,140 --> 00:23:05,460 I've seen open directory networks with Kerberos 476 00:23:05,460 --> 00:23:06,860 that don't have network time servers, 477 00:23:07,080 --> 00:23:08,380 that don't have DNS servers, 478 00:23:08,680 --> 00:23:11,440 and those are core components of any network service. 479 00:23:11,660 --> 00:23:13,000 I mean, you can't install Active Directory 480 00:23:13,000 --> 00:23:15,600 without installing DNS for the most part. 481 00:23:16,100 --> 00:23:16,620 So... 482 00:23:16,620 --> 00:23:17,940 And that's the same... 483 00:23:17,940 --> 00:23:21,140 It should be the same in an open directory installation. 484 00:23:21,420 --> 00:23:23,140 If you click on the start open directory button, 485 00:23:23,180 --> 00:23:23,760 it should say, 486 00:23:23,940 --> 00:23:25,220 you don't have DNS configured. 487 00:23:25,380 --> 00:23:27,280 Should I create a reverse IP address? 488 00:23:27,660 --> 00:23:28,200 And, you know... 489 00:23:28,200 --> 00:23:28,700 Yeah. 490 00:23:28,800 --> 00:23:29,400 Next week. 491 00:23:30,460 --> 00:23:31,500 So, anyways. 492 00:23:32,360 --> 00:23:33,360 Any other questions? 493 00:23:35,140 --> 00:23:35,640 Whoop. 494 00:23:35,640 --> 00:23:36,100 Oh. 495 00:23:37,000 --> 00:23:37,760 Deep freeze? 496 00:23:41,520 --> 00:23:42,480 Deep freeze. 497 00:23:43,380 --> 00:23:44,040 Right on. 498 00:23:44,280 --> 00:23:45,440 I'll play with it tonight. 499 00:23:45,520 --> 00:23:46,400 I haven't played with it yet. 500 00:23:46,740 --> 00:23:47,340 All right. 501 00:23:47,940 --> 00:23:48,060 Thanks, guys.