1 00:00:00,000 --> 00:00:03,540 So I'm Charles Edge, and I'm doing 10 ways how to not get caught hacking on your Mac. 2 00:00:03,700 --> 00:00:07,440 Most of this is a little rudimentary, but hopefully you're doing it. 3 00:00:07,480 --> 00:00:08,740 And if not, hopefully you'll start. 4 00:00:09,160 --> 00:00:11,560 Who here's got a Mac in their lap right now? 5 00:00:12,260 --> 00:00:12,660 Sweet! 6 00:00:13,180 --> 00:00:17,160 The first year I came to DEF CON with my 540C, I was the only one. 7 00:00:17,420 --> 00:00:19,580 So I sucked. 8 00:00:20,880 --> 00:00:23,980 Now I suck less, but I still suck. 9 00:00:24,860 --> 00:00:26,680 Anyways, I don't actually... 10 00:00:26,680 --> 00:00:27,080 Never mind. 11 00:00:30,240 --> 00:00:34,180 All right, so a little bit about my company, which nobody cares about. 12 00:00:34,380 --> 00:00:35,180 So the talk. 13 00:00:36,340 --> 00:00:42,620 First, I'm not condoning doing anything that requires that you need to use any kind of covert channels or anything like that. 14 00:00:42,820 --> 00:00:43,560 I'm just... 15 00:00:45,400 --> 00:00:47,900 That, by the way, is the best covert channel ever. 16 00:00:48,580 --> 00:00:49,420 So, wow. 17 00:00:51,400 --> 00:00:54,980 All right, so the more collaborative, the better, although we've got like 10 minutes left. 18 00:00:55,100 --> 00:00:56,680 So never mind on that. 19 00:00:58,900 --> 00:01:04,360 So the first thing that I was going to talk about, you know, is timestamps. 20 00:01:05,460 --> 00:01:10,180 So obviously, anytime that anyone goes to do any forensic work on your machine, 21 00:01:10,480 --> 00:01:13,660 one of the first things they're going to do is probably plug it into NCASE, 22 00:01:13,720 --> 00:01:16,460 and NCASE is going to catalog everything based on timestamps, right? 23 00:01:17,940 --> 00:01:23,980 So, you know, clearing out those timestamps helps to make it more difficult for anyone to prove that you did anything 24 00:01:24,540 --> 00:01:26,580 based on what time you did it. 25 00:01:27,080 --> 00:01:28,920 So you don't have to worry about the logs of that type. 26 00:01:30,600 --> 00:01:35,120 So this isn't just dates, files created or files modified, but both of those. 27 00:01:35,260 --> 00:01:42,880 So two different variables there to make sure to take into consideration when you're trying to hide your tracks or whatever. 28 00:01:50,560 --> 00:01:51,820 Don't touch it! 29 00:01:52,260 --> 00:01:53,420 Don't touch it! 30 00:01:53,420 --> 00:01:53,440 Don't touch it! 31 00:01:53,660 --> 00:01:53,900 Ah! 32 00:01:55,800 --> 00:01:56,360 So... 33 00:01:57,080 --> 00:01:57,780 I didn't throw the ball at that guy. 34 00:02:01,500 --> 00:02:02,880 I didn't just do that. 35 00:02:04,460 --> 00:02:05,340 Tell me your tracks. 36 00:02:05,900 --> 00:02:07,140 Yeah, tell me about it. 37 00:02:07,820 --> 00:02:08,440 Time stamps. 38 00:02:09,140 --> 00:02:11,040 All right, so my laptop just crashed. 39 00:02:20,540 --> 00:02:21,420 Oh, wait. 40 00:02:21,520 --> 00:02:22,360 Cover your tracks. 41 00:02:24,040 --> 00:02:24,700 All right. 42 00:02:24,700 --> 00:02:28,960 So we're going to do this like low budge style. 43 00:02:30,880 --> 00:02:33,780 All right, so when changing the time stamps on every file, 44 00:02:34,860 --> 00:02:36,180 make sure to do it on everything. 45 00:02:37,080 --> 00:02:39,840 Basically, the concept here is you're never going to remember 46 00:02:39,840 --> 00:02:41,600 to change the time stamps, so cron it out. 47 00:02:41,700 --> 00:02:43,460 Or if you're running tiger or above, 48 00:02:43,680 --> 00:02:45,900 make sure to launch d it out because cron's deprecated. 49 00:02:46,160 --> 00:02:47,600 Having said that it's deprecated, 50 00:02:47,620 --> 00:02:49,880 it still works if you invoke it, 51 00:02:49,960 --> 00:02:51,880 but you have to reboot after you invoke it 52 00:02:51,880 --> 00:02:53,640 for the first time to undeprecate it. 53 00:02:54,120 --> 00:02:54,680 Apple's great. 54 00:02:54,700 --> 00:02:57,120 They're great at deprecating services in that manner 55 00:02:57,120 --> 00:02:59,800 in favor of better services like launch d, 56 00:03:00,020 --> 00:03:01,540 which is what they replaced cron with. 57 00:03:02,140 --> 00:03:03,740 So basically, you build a shell script, 58 00:03:03,960 --> 00:03:05,620 you add an XML file into launch d, 59 00:03:05,660 --> 00:03:06,760 and you tell it to run every night. 60 00:03:07,040 --> 00:03:09,400 If you don't feel like learning how to use launch d 61 00:03:09,400 --> 00:03:12,340 because you're only using the Mac for certain types of things, 62 00:03:12,560 --> 00:03:15,220 then you can actually just use a program called Lingon, 63 00:03:15,400 --> 00:03:18,000 which gives you a graphical interface for running launch d. 64 00:03:18,080 --> 00:03:21,720 It looks a lot like the MS config screen of a Windows computer. 65 00:03:22,040 --> 00:03:23,360 How many people have seen that screen? 66 00:03:24,680 --> 00:03:25,720 So nobody? 67 00:03:27,540 --> 00:03:29,740 Yes, I've removed spyware in the past. 68 00:03:30,540 --> 00:03:33,560 All right, so if there's no history on your computer 69 00:03:33,560 --> 00:03:34,280 of what you've done, 70 00:03:34,460 --> 00:03:37,200 then it's going to be very difficult to trace what you've done. 71 00:03:37,500 --> 00:03:39,400 So clearing out those history files, 72 00:03:39,620 --> 00:03:41,220 not just removing the timestamp, 73 00:03:41,260 --> 00:03:43,360 but removing the actual history, 74 00:03:44,920 --> 00:03:46,700 specifically your shell history, 75 00:03:46,820 --> 00:03:48,140 and that's not just your shell, 76 00:03:48,240 --> 00:03:49,880 but your root user's shell 77 00:03:49,880 --> 00:03:52,160 and any other users that you happen to log into, 78 00:03:52,160 --> 00:03:55,840 and also the shell of the remote node 79 00:03:55,840 --> 00:03:57,660 that you might happen to be tapping into. 80 00:04:00,380 --> 00:04:02,500 Many of the GUI tools that you run, 81 00:04:02,680 --> 00:04:03,820 like if you're running ARD 82 00:04:03,820 --> 00:04:06,120 and you're sending a shell command out to 100 machines 83 00:04:06,120 --> 00:04:07,340 or something of that nature, 84 00:04:07,540 --> 00:04:09,340 you're actually running shell commands, 85 00:04:09,540 --> 00:04:13,220 and sometimes you can actually go into the root user's shell history 86 00:04:13,220 --> 00:04:14,300 and see what's happening, 87 00:04:14,440 --> 00:04:16,960 which is a great way to reverse engineer what Apple's doing, 88 00:04:17,220 --> 00:04:19,100 because they'll write a Cocoa interface, 89 00:04:19,440 --> 00:04:21,040 and then they'll write these shell scripts underneath, 90 00:04:21,040 --> 00:04:23,120 and they just won't call them .sh, 91 00:04:23,400 --> 00:04:26,820 they'll just have a name like discarbd or something of that nature. 92 00:04:27,260 --> 00:04:32,560 So clearing the history files from your system is a great step. 93 00:04:33,720 --> 00:04:35,900 And this, what did I write there? 94 00:04:36,120 --> 00:04:37,260 Oh, well, whatever. 95 00:04:38,060 --> 00:04:39,760 So keep the trash empty, 96 00:04:39,900 --> 00:04:42,620 and when possible, do a secure empty trash. 97 00:04:42,920 --> 00:04:46,120 Personally, on my machine, I have it tabbed out 98 00:04:46,120 --> 00:04:48,780 so that every night it does an SRM of my machine, 99 00:04:48,940 --> 00:04:49,320 um, 100 00:04:50,160 --> 00:04:52,920 which is just the actual command. 101 00:04:53,040 --> 00:04:54,740 The SRM is just the com... 102 00:04:54,740 --> 00:04:55,340 Is that better? 103 00:04:57,080 --> 00:04:58,760 Why didn't you say something sooner? 104 00:04:59,000 --> 00:05:00,720 You didn't want to be that guy that says, 105 00:05:00,740 --> 00:05:01,300 speak up. 106 00:05:01,820 --> 00:05:03,040 Anyways, sorry about that. 107 00:05:05,320 --> 00:05:06,420 Dude, it's Intel. 108 00:05:08,500 --> 00:05:09,180 Never mind. 109 00:05:09,420 --> 00:05:12,140 All right, so just throwing a file away doesn't get rid of it, 110 00:05:12,160 --> 00:05:12,560 blah, blah, blah. 111 00:05:12,640 --> 00:05:14,620 Emptying the trash is basically, 112 00:05:15,140 --> 00:05:16,860 in an Apple, you can go, 113 00:05:17,780 --> 00:05:19,040 and under, um, 114 00:05:20,020 --> 00:05:21,220 well, not under that. 115 00:05:21,940 --> 00:05:23,900 But there's this whole secure empty trash. 116 00:05:24,180 --> 00:05:26,720 There's actually a command line shell for that, SRM. 117 00:05:26,800 --> 00:05:29,940 So, um, SRM has a dash F. 118 00:05:30,100 --> 00:05:31,340 If you're going to script it out, 119 00:05:31,480 --> 00:05:34,420 make sure to put that in because it forces the emptying. 120 00:05:34,740 --> 00:05:37,340 Otherwise, if you have a script that runs at, 121 00:05:37,420 --> 00:05:38,540 let's say, 3 a.m. or, 122 00:05:38,600 --> 00:05:42,300 if you're like me, 5 a.m. because you're still up at 3 a.m., 123 00:05:42,300 --> 00:05:45,140 um, then the dash F will force it 124 00:05:45,140 --> 00:05:47,140 in case there's a file in use or hidden 125 00:05:47,140 --> 00:05:48,360 or something of that nature. 126 00:05:48,360 --> 00:05:51,700 So, you can also use the dash M flag, 127 00:05:51,940 --> 00:05:54,220 which you can use with the dash F flag, 128 00:05:54,380 --> 00:05:56,880 which will do seven passes of random data. 129 00:05:57,100 --> 00:06:00,140 And hopefully, whoever's doing forensics on your machine 130 00:06:00,140 --> 00:06:01,620 doesn't have an electron microscope 131 00:06:01,620 --> 00:06:04,120 because otherwise, I don't think they're going to find it. 132 00:06:04,380 --> 00:06:04,800 Right? 133 00:06:05,880 --> 00:06:08,260 Um, does anyone disagree with me on that, by the way? 134 00:06:09,600 --> 00:06:10,300 No love. 135 00:06:10,540 --> 00:06:11,120 Come on. 136 00:06:11,520 --> 00:06:11,960 Anyways. 137 00:06:12,260 --> 00:06:13,440 All right, so, um, 138 00:06:13,480 --> 00:06:15,520 while you're looking at your logs and your history, 139 00:06:15,640 --> 00:06:17,380 don't forget to trash your firewall logs. 140 00:06:17,380 --> 00:06:21,460 Apple, um, has ipfw.log, 141 00:06:21,660 --> 00:06:23,820 which will often log outgoing requests 142 00:06:23,820 --> 00:06:25,240 as well as incoming requests. 143 00:06:25,560 --> 00:06:28,960 It definitely logs everything from a, um, 144 00:06:29,820 --> 00:06:31,240 from a stealth mode perspective, 145 00:06:31,460 --> 00:06:33,000 so anytime it kicks stealth mode in, 146 00:06:33,060 --> 00:06:34,140 it goes ahead and logs that. 147 00:06:34,420 --> 00:06:39,540 Um, so, don't forget to delete your log archives, 148 00:06:39,660 --> 00:06:41,960 although if you're deleting your log every night, 149 00:06:42,080 --> 00:06:43,180 that won't really factor in, 150 00:06:43,280 --> 00:06:46,200 but that's still something to remember. 151 00:06:46,700 --> 00:06:47,180 Um... 152 00:06:49,140 --> 00:06:50,140 How am I on time? 153 00:06:50,920 --> 00:06:51,700 I got 10? 154 00:06:52,300 --> 00:06:52,780 Sweet. 155 00:06:53,280 --> 00:06:53,920 Halfway through. 156 00:06:55,320 --> 00:06:56,240 Um, okay. 157 00:06:56,320 --> 00:06:58,040 So, who here uses FileVault? 158 00:06:59,580 --> 00:07:02,380 Um, who here's managed to actually decrypt a FileVault? 159 00:07:04,420 --> 00:07:04,900 Okay. 160 00:07:05,000 --> 00:07:07,800 So, if you're using an Apple and you're not using FileVault 161 00:07:07,800 --> 00:07:10,740 and you're doing anything that you don't want anyone to intercept, 162 00:07:10,980 --> 00:07:14,160 what's the logical conclusion of the fact that no one raised their hands 163 00:07:14,160 --> 00:07:16,000 that they've been able to decrypt a FileVault? 164 00:07:16,200 --> 00:07:17,860 Uh, use FileVault? 165 00:07:18,260 --> 00:07:18,740 Yay! 166 00:07:21,340 --> 00:07:22,300 All right. 167 00:07:22,560 --> 00:07:23,040 So... 168 00:07:23,040 --> 00:07:24,100 I got one extra question. 169 00:07:24,340 --> 00:07:24,720 Yeah. 170 00:07:24,880 --> 00:07:27,920 Who's ever used FileVault and lost it? 171 00:07:33,560 --> 00:07:36,520 And who backs up? 172 00:07:38,000 --> 00:07:38,480 Okay. 173 00:07:38,680 --> 00:07:41,260 So, you didn't actually lose more than, what, a day's worth of work? 174 00:07:41,740 --> 00:07:45,180 Which totally sucks if you stayed up until 6 a.m., but... 175 00:07:45,180 --> 00:07:46,320 That's aside from the point. 176 00:07:46,900 --> 00:07:50,980 Um, yeah, I've lost my FileVault, too, but not since 10-3. 177 00:07:51,240 --> 00:07:54,400 Um, and I still haven't lost any sparse images 178 00:07:54,400 --> 00:07:55,980 that aren't automatically created. 179 00:07:56,140 --> 00:07:59,320 So, um, another thing is you can actually create a sparse image 180 00:07:59,320 --> 00:08:00,260 inside of FileVault. 181 00:08:00,340 --> 00:08:02,580 Therefore, you need two separate discrete passwords 182 00:08:02,580 --> 00:08:03,640 to actually unlock it. 183 00:08:03,800 --> 00:08:07,720 Um, FileVault can be unlocked using one of two different passwords. 184 00:08:08,200 --> 00:08:09,000 Is that better? 185 00:08:10,720 --> 00:08:12,680 Um, using one of two different passwords, 186 00:08:12,760 --> 00:08:14,560 a master password and your regular password. 187 00:08:14,560 --> 00:08:16,740 So make sure that both are strong, blah, blah, blah. 188 00:08:17,120 --> 00:08:20,580 Um, your root password will not unlock the FileVault. 189 00:08:20,700 --> 00:08:21,140 So... 190 00:08:22,560 --> 00:08:25,160 Um, so I use encrypted disk images for everything, 191 00:08:25,340 --> 00:08:26,800 especially hiding prawn from the wife. 192 00:08:27,580 --> 00:08:28,020 Um... 193 00:08:29,700 --> 00:08:30,840 Bad joke, sorry. 194 00:08:31,080 --> 00:08:32,040 I couldn't help it. 195 00:08:32,100 --> 00:08:34,220 Um, so, like with FileVault, 196 00:08:34,300 --> 00:08:38,860 the encrypted disk images store the files in an encrypted manner. 197 00:08:39,060 --> 00:08:40,520 Um, it's all pretty much AES. 198 00:08:41,340 --> 00:08:43,260 Um, by the way, is there anyone from Apple? 199 00:08:47,240 --> 00:08:49,360 I asked that same question at Black Hat, 200 00:08:49,440 --> 00:08:50,220 and no one raised their hand. 201 00:08:50,320 --> 00:08:52,360 And then after my speech, two guys came up and said, 202 00:08:52,420 --> 00:08:54,200 hey, you know, so anyways. 203 00:08:54,480 --> 00:08:56,840 Um, but at least you admitted you're a contractor, right? 204 00:08:57,120 --> 00:09:00,640 And by the way, Apple's got great security, I think, across the board. 205 00:09:00,720 --> 00:09:02,600 I mean, there are some holes, 206 00:09:02,720 --> 00:09:06,860 but they're proactively, um, doing things in their own labs 207 00:09:06,860 --> 00:09:08,060 to try to approach that. 208 00:09:08,160 --> 00:09:10,540 So I think that's, um, that's pretty strong 209 00:09:10,540 --> 00:09:13,440 for someone with, what, 4.5% of the market share? 210 00:09:13,440 --> 00:09:14,160 So... 211 00:09:15,760 --> 00:09:16,240 Um... 212 00:09:17,360 --> 00:09:20,820 So, um, FileVault stuff's easy to use. 213 00:09:20,960 --> 00:09:22,840 Um, if you don't use encrypted disk images, 214 00:09:23,000 --> 00:09:26,880 you can always also, or in addition to using encrypted disk images, 215 00:09:26,940 --> 00:09:28,020 you can use secure channels. 216 00:09:28,260 --> 00:09:30,460 Um, the metadata in music files, 217 00:09:30,720 --> 00:09:32,880 um, which, who here has seen Johnny Long talk? 218 00:09:34,460 --> 00:09:35,820 Not nearly enough. 219 00:09:36,100 --> 00:09:39,240 It's, it's, his latest talk is pretty, pretty funny. 220 00:09:39,340 --> 00:09:41,240 So if you haven't seen him, make sure to hit that. 221 00:09:41,460 --> 00:09:41,940 Um... 222 00:09:41,940 --> 00:09:45,260 And then, you know, steganography, um, 223 00:09:45,480 --> 00:09:47,740 hidden images in iPhoto and things of that nature. 224 00:09:47,900 --> 00:09:52,560 And then, um, something that some of us like to do 225 00:09:52,560 --> 00:09:55,760 is actually add false positives into your secure channels. 226 00:09:55,820 --> 00:09:58,740 So create secure channels that don't actually go anywhere. 227 00:09:58,980 --> 00:10:02,900 Um, nothing will make things take longer 228 00:10:02,900 --> 00:10:06,980 in forensic investigations than finding something in a file 229 00:10:06,980 --> 00:10:10,600 and just trying to, you know, track it down for months on end. 230 00:10:10,600 --> 00:10:11,500 Um... 231 00:10:12,340 --> 00:10:14,580 Once again, I guess I put clear those logs. 232 00:10:14,820 --> 00:10:18,760 Um, although before I wasn't talking about regular log files, 233 00:10:18,860 --> 00:10:20,520 I was talking about histories. 234 00:10:20,860 --> 00:10:23,420 Um, most of the files on an Apple system 235 00:10:23,420 --> 00:10:25,520 are in private var log. 236 00:10:26,020 --> 00:10:28,840 That's one of those funny things about the way that Apple's done, 237 00:10:28,980 --> 00:10:29,740 done this stuff. 238 00:10:29,880 --> 00:10:31,880 You don't typically CD into var 239 00:10:31,880 --> 00:10:33,360 unless you're running OS X server. 240 00:10:33,540 --> 00:10:36,560 You typically CD into private and then var and then logs. 241 00:10:37,000 --> 00:10:40,580 So, um, if you buy a Mac and you open up, um, 242 00:10:40,580 --> 00:10:43,580 and you double click on the hard drive 243 00:10:43,580 --> 00:10:45,340 and you're like, where's my var, where's my etsy, 244 00:10:45,480 --> 00:10:48,640 you know, that's, that's where it's just going to private. 245 00:10:48,840 --> 00:10:51,040 Um, from the GUI level, you can actually hit 246 00:10:51,040 --> 00:10:53,300 Apple shift G and type slash library 247 00:10:53,300 --> 00:10:55,320 and it'll pop up with all those folders 248 00:10:55,320 --> 00:10:57,200 that you're thinking are missing, so. 249 00:10:58,520 --> 00:10:58,960 Um... 250 00:10:59,900 --> 00:11:02,700 So once again, run scripts nightly 251 00:11:02,700 --> 00:11:04,400 to remove those logs 252 00:11:04,400 --> 00:11:05,960 because you're never going to remember yourself. 253 00:11:06,400 --> 00:11:09,160 Um, and then always, you know, SRM. 254 00:11:10,680 --> 00:11:12,420 The next thing is secure virtual memory. 255 00:11:12,720 --> 00:11:16,180 If I were to grab a machine and go to do forensics on it, 256 00:11:16,280 --> 00:11:19,240 I would probably also look at the RAM 257 00:11:19,240 --> 00:11:21,740 and what was on the RAM when the machine was shut down last 258 00:11:21,740 --> 00:11:24,780 or before the RAM got, um, wiped. 259 00:11:25,260 --> 00:11:28,180 So, um, virtual memory is a place that, 260 00:11:28,180 --> 00:11:30,140 that people often look for that stuff as well. 261 00:11:30,240 --> 00:11:33,460 So, um, when you do a secure, um... 262 00:11:35,120 --> 00:11:38,200 When you, when you use the secure virtual memory feature 263 00:11:38,200 --> 00:11:39,580 in Apple, 264 00:11:39,580 --> 00:11:41,420 or in OS X, 265 00:11:41,560 --> 00:11:43,980 when you shut down, it clears out all that stuff. 266 00:11:44,480 --> 00:11:45,580 So, um... 267 00:11:46,860 --> 00:11:49,160 And by the way, the reason I decided to give this talk 268 00:11:49,160 --> 00:11:51,040 is because last year I noticed that, like, 269 00:11:51,120 --> 00:11:54,160 about 10% of the people here were running on Macs. 270 00:11:54,200 --> 00:11:56,300 So I thought that it would be kind of, 271 00:11:56,300 --> 00:11:57,900 kind of good to, to say, 272 00:11:58,000 --> 00:12:00,000 it's not Linux, it's not BSD. 273 00:12:00,220 --> 00:12:03,320 If you edit your rc.local or your rc.com in file, 274 00:12:03,460 --> 00:12:05,000 those edits will get overwritten. 275 00:12:05,100 --> 00:12:07,060 So use launchd when you're making these scripts. 276 00:12:07,740 --> 00:12:09,480 I would steer away from using cron. 277 00:12:09,580 --> 00:12:10,340 You know. 278 00:12:11,320 --> 00:12:13,880 So, um, other forms of volatile data 279 00:12:13,880 --> 00:12:15,940 can obviously be accessed as well. 280 00:12:17,460 --> 00:12:18,900 Um, RAIDs. 281 00:12:18,980 --> 00:12:20,680 This is, this is my favorite thing. 282 00:12:20,880 --> 00:12:21,360 Um... 283 00:12:22,640 --> 00:12:25,880 I store, from, from my non-speaking machines, 284 00:12:26,120 --> 00:12:29,740 I store my encrypted home folder 285 00:12:29,740 --> 00:12:31,760 on a XAN volume. 286 00:12:32,180 --> 00:12:36,700 And basically, the XAN volume has two USB jump drives, 287 00:12:36,920 --> 00:12:38,740 and it splits all the data half 288 00:12:38,740 --> 00:12:40,020 between the two jump drives. 289 00:12:40,240 --> 00:12:41,720 So the fact that I've got... 290 00:12:42,660 --> 00:12:45,560 I, I can't imagine that anyone would actually be able 291 00:12:45,560 --> 00:12:48,720 to restore that data unless they had both jump drives, 292 00:12:49,560 --> 00:12:52,680 even if they knew my, my password to decrypt it, 293 00:12:52,740 --> 00:12:53,960 because all the data's encrypted, 294 00:12:54,160 --> 00:12:56,880 and it writes 64k slices to each drive. 295 00:12:57,100 --> 00:13:00,720 So reassembling that data would be quite difficult. 296 00:13:01,100 --> 00:13:02,580 Without running XAN, 297 00:13:02,640 --> 00:13:05,280 you can plug two, two jump drives into your computer, 298 00:13:05,340 --> 00:13:07,560 and you can just use that as a, um, 299 00:13:07,560 --> 00:13:12,240 as an encrypted disk image or a, a file vault home folder. 300 00:13:12,420 --> 00:13:14,600 Um, but when you use XAN, 301 00:13:14,740 --> 00:13:16,440 you can specifically drill down, 302 00:13:16,560 --> 00:13:18,020 and you can determine how many slices 303 00:13:18,020 --> 00:13:20,740 go to each LUN or USB drive. 304 00:13:20,940 --> 00:13:23,460 And XAN is written to run on fiber channel, 305 00:13:23,660 --> 00:13:26,540 but if you label the LUNs as free space, 306 00:13:26,780 --> 00:13:28,640 you can actually then take use of them 307 00:13:28,640 --> 00:13:29,880 inside of the XAN software 308 00:13:30,560 --> 00:13:32,480 with a couple small hacks that are available 309 00:13:32,480 --> 00:13:34,720 on xsanity.com now. 310 00:13:35,100 --> 00:13:35,620 Um... 311 00:13:36,620 --> 00:13:37,080 So... 312 00:13:37,530 --> 00:13:38,940 And if you're doing that, 313 00:13:39,040 --> 00:13:41,480 I can't fathom that anyone is ever gonna be able 314 00:13:41,480 --> 00:13:42,940 to decrypt your, your file vault, 315 00:13:43,040 --> 00:13:44,780 provided that they don't get ahold 316 00:13:44,780 --> 00:13:46,380 of both of your USB jump drives, 317 00:13:46,540 --> 00:13:49,040 even portions of files, because... 318 00:13:50,220 --> 00:13:53,240 because the, they would never be able to actually... 319 00:13:53,240 --> 00:13:54,040 Anyways. 320 00:13:54,440 --> 00:13:55,320 Does that make sense? 321 00:13:56,700 --> 00:13:57,160 Sweet! 322 00:13:57,980 --> 00:13:58,900 All right. 323 00:13:59,480 --> 00:13:59,940 Um... 324 00:14:02,060 --> 00:14:04,980 So the, the last thing is just don't keep stuff. 325 00:14:05,620 --> 00:14:05,700 Um... 326 00:14:05,700 --> 00:14:08,000 It's hard to get in trouble for having something 327 00:14:08,000 --> 00:14:09,800 that you don't have unless someone 328 00:14:09,800 --> 00:14:12,240 is able to trace it back directly to you 329 00:14:12,240 --> 00:14:13,500 for sure, no matter what. 330 00:14:14,100 --> 00:14:14,540 Um... 331 00:14:14,540 --> 00:14:17,180 Physically destroy system disks and RAM, 332 00:14:17,420 --> 00:14:20,560 if you have extra system disks and RAM, that is. 333 00:14:21,180 --> 00:14:21,620 Um... 334 00:14:22,460 --> 00:14:24,060 Don't keep data on your system. 335 00:14:24,640 --> 00:14:26,660 Doesn't mean that you don't have to keep data at all. 336 00:14:26,720 --> 00:14:29,220 There's lots of different ways to maintain data 337 00:14:29,220 --> 00:14:31,240 that aren't on your system. 338 00:14:31,580 --> 00:14:32,020 Um... 339 00:14:32,020 --> 00:14:33,800 Peer-to-peer networks are, funny enough, 340 00:14:33,800 --> 00:14:35,600 becoming kind of popular for that. 341 00:14:35,980 --> 00:14:36,520 Um... 342 00:14:36,520 --> 00:14:40,300 Secure channels on untraceable remote systems, 343 00:14:40,540 --> 00:14:42,600 which peer-to-peer networks, um... 344 00:14:43,340 --> 00:14:46,320 And then if you don't compromise the system too far, 345 00:14:46,380 --> 00:14:48,900 no one's probably gonna find what you've put on the system. 346 00:14:49,100 --> 00:14:54,380 So if you're running an FTP server on an unsuspecting system, 347 00:14:54,560 --> 00:14:56,380 then people probably aren't gonna notice. 348 00:14:56,520 --> 00:14:58,520 People typically in the Apple community especially 349 00:14:58,520 --> 00:15:00,720 only notice that their systems have been rooted 350 00:15:00,720 --> 00:15:03,680 if their ISP calls them and says, 351 00:15:03,680 --> 00:15:06,820 hey, you're running this website that announces itself 352 00:15:06,820 --> 00:15:10,100 as though it were eBay and is asking for people's passwords. 353 00:15:10,920 --> 00:15:13,080 I'm not sure what that type of attack... 354 00:15:13,080 --> 00:15:13,420 Never mind. 355 00:15:13,940 --> 00:15:14,160 Um... 356 00:15:14,620 --> 00:15:14,860 But... 357 00:15:16,240 --> 00:15:19,360 But there's not a lot of security analysis 358 00:15:19,360 --> 00:15:20,900 that's done on most MAC networks. 359 00:15:21,100 --> 00:15:24,300 So if you find a MAC system and you compromise it 360 00:15:24,920 --> 00:15:26,940 and you just don't go too far, 361 00:15:27,120 --> 00:15:29,040 then chances are no one will ever notice. 362 00:15:29,180 --> 00:15:30,160 Unless they hire me. 363 00:15:31,040 --> 00:15:31,520 Um... 364 00:15:31,520 --> 00:15:32,100 But anyways. 365 00:15:32,100 --> 00:15:33,720 So, um... 366 00:15:34,540 --> 00:15:37,640 And then even in most small businesses, 367 00:15:37,760 --> 00:15:39,020 which is Apple's core market, 368 00:15:39,180 --> 00:15:40,740 entertainment industry, small business, 369 00:15:41,340 --> 00:15:41,860 um... 370 00:15:41,860 --> 00:15:43,980 If someone finds something, 371 00:15:44,100 --> 00:15:47,820 chances are it's not enough of a monetary damage 372 00:15:47,820 --> 00:15:52,040 for, you know, any Feds to step into the situation. 373 00:15:52,300 --> 00:15:54,560 So they're probably just gonna delete it, reimage the system. 374 00:15:54,920 --> 00:15:58,660 So, you know, it doesn't become quite as big a deal. 375 00:15:59,020 --> 00:15:59,540 Um... 376 00:16:00,360 --> 00:16:01,400 Anyways, that's... 377 00:16:01,960 --> 00:16:02,520 That's it. 378 00:16:03,000 --> 00:16:03,480 TurboTalk. 379 00:16:04,020 --> 00:16:04,500 Um... 380 00:16:04,500 --> 00:16:06,360 I kind of did it a little fast 381 00:16:06,360 --> 00:16:08,140 because I didn't have that much time. 382 00:16:08,260 --> 00:16:09,040 So, um... 383 00:16:09,040 --> 00:16:10,600 I think we got a few minutes for Q&A. 384 00:16:12,020 --> 00:16:13,880 Are you aware of any analysis 385 00:16:14,320 --> 00:16:15,960 of Apple's file vault 386 00:16:15,960 --> 00:16:18,640 for the encrypted disk images 387 00:16:18,640 --> 00:16:20,460 in terms of its security? 388 00:16:21,120 --> 00:16:22,020 It's all AES. 389 00:16:22,360 --> 00:16:23,000 You know? 390 00:16:23,240 --> 00:16:24,320 I mean... 391 00:16:24,320 --> 00:16:26,180 Well, that's just for the algorithm 392 00:16:26,180 --> 00:16:27,840 they're using for the encryption. 393 00:16:28,060 --> 00:16:29,840 It doesn't say how well they could do it. 394 00:16:29,840 --> 00:16:32,040 Oh, you mean from the... 395 00:16:32,040 --> 00:16:33,020 I haven't... 396 00:16:33,020 --> 00:16:34,560 An analysis of the implementation. 397 00:16:34,920 --> 00:16:36,300 An analysis of the implementation. 398 00:16:36,740 --> 00:16:39,340 So decrypting and re-encrypting 399 00:16:39,340 --> 00:16:41,180 as opposed to the actual act of... 400 00:16:41,180 --> 00:16:43,740 of the encryption on the files? 401 00:16:44,040 --> 00:16:45,020 Is it secure? 402 00:16:45,980 --> 00:16:47,640 I haven't been able to crack it. 403 00:16:47,740 --> 00:16:49,300 And I've been trying for about a year. 404 00:16:49,480 --> 00:16:50,680 So, um... 405 00:16:50,680 --> 00:16:51,200 And... 406 00:16:51,640 --> 00:16:52,500 Has anyone else? 407 00:16:53,120 --> 00:16:54,960 It's as secure as both your passwords. 408 00:16:55,340 --> 00:16:56,840 It's as secure as both your passwords. 409 00:16:57,020 --> 00:16:59,080 I mean, in transit... 410 00:16:59,080 --> 00:16:59,420 Well... 411 00:16:59,420 --> 00:17:00,300 One exception is, 412 00:17:00,420 --> 00:17:02,080 if you're using network home folders 413 00:17:02,080 --> 00:17:03,980 and you're not using a public key infrastructure, 414 00:17:04,520 --> 00:17:06,040 then there are times 415 00:17:06,040 --> 00:17:07,980 when the passwords are submitted over the network, 416 00:17:08,080 --> 00:17:09,520 but that becomes more of a networking thing 417 00:17:09,520 --> 00:17:12,220 rather than a localized troubleshooting thing. 418 00:17:12,440 --> 00:17:12,460 But... 419 00:17:12,460 --> 00:17:13,780 The disk image isn't encrypted 420 00:17:13,780 --> 00:17:14,900 with the actual password. 421 00:17:15,080 --> 00:17:16,140 It's encrypted with the key, 422 00:17:16,220 --> 00:17:17,580 and then the password's encrypted. 423 00:17:18,000 --> 00:17:19,920 So the actual password's only encrypted 424 00:17:19,920 --> 00:17:21,320 in small parts of this image. 425 00:17:21,440 --> 00:17:24,420 The rest of the AES is actually being done 426 00:17:24,420 --> 00:17:26,820 through the actual key that's encrypted with the password. 427 00:17:27,020 --> 00:17:27,500 Right. 428 00:17:27,540 --> 00:17:28,480 That's why you have two passwords. 429 00:17:29,420 --> 00:17:31,640 That's the way Ubuntu handles... 430 00:17:31,640 --> 00:17:31,760 Um... 431 00:17:31,760 --> 00:17:32,820 I mean, if... 432 00:17:33,420 --> 00:17:36,480 Has anyone been able to crack encrypted home folders 433 00:17:36,480 --> 00:17:37,240 in Ubuntu yet? 434 00:17:38,360 --> 00:17:38,880 Right. 435 00:17:39,080 --> 00:17:41,440 So, I mean, it's the exact same algorithm 436 00:17:41,440 --> 00:17:43,320 and practically the exact same implementation, 437 00:17:43,600 --> 00:17:44,620 to be honest with you. 438 00:17:44,940 --> 00:17:45,460 Um... 439 00:17:45,460 --> 00:17:45,880 Any... 440 00:17:52,040 --> 00:17:52,560 Um... 441 00:17:52,560 --> 00:17:54,140 L.A. County District Attorney. 442 00:18:01,240 --> 00:18:03,280 I'm not a great forensics guy. 443 00:18:03,400 --> 00:18:04,700 I've gotten called into a few things 444 00:18:04,700 --> 00:18:06,800 for entertainment stuff in Hollywood, 445 00:18:07,120 --> 00:18:09,320 but outside of Hollywood, I haven't gotten... 446 00:18:09,320 --> 00:18:10,520 I work in Hollywood, too. 447 00:18:10,720 --> 00:18:11,000 Oh. 448 00:18:11,120 --> 00:18:13,900 It's like DRM and also, like, you know, 449 00:18:13,900 --> 00:18:14,700 possibly saying, like, 450 00:18:14,740 --> 00:18:15,980 hey, you stole this data, 451 00:18:16,040 --> 00:18:17,260 and you're using it on your site, 452 00:18:17,340 --> 00:18:19,180 and, you know, we've given you the citation, 453 00:18:19,200 --> 00:18:21,100 and we'll see you in court on said day. 454 00:18:21,560 --> 00:18:22,480 How are you going to serve? 455 00:18:22,660 --> 00:18:23,740 With a John Doe award? 456 00:18:24,040 --> 00:18:24,920 Or because... 457 00:18:24,920 --> 00:18:26,620 I'm tracking your IP address. 458 00:18:26,920 --> 00:18:27,580 The way... 459 00:18:27,580 --> 00:18:29,400 Okay, the way that it's come up in the past, 460 00:18:29,400 --> 00:18:29,960 with me, 461 00:18:30,000 --> 00:18:31,740 is I've found things, 462 00:18:31,760 --> 00:18:34,680 and then I've gone to the L.A. District Attorney. 463 00:18:34,920 --> 00:18:36,240 I've handed them an IP address. 464 00:18:36,640 --> 00:18:37,360 They say, 465 00:18:37,500 --> 00:18:38,720 we'll get you a John Doe warrant, 466 00:18:38,860 --> 00:18:39,540 and then they come back 467 00:18:39,540 --> 00:18:41,460 with the physical address of who it was. 468 00:18:42,180 --> 00:18:44,420 I mean, and in a lot of my cases, 469 00:18:44,520 --> 00:18:45,300 it's high profile, 470 00:18:45,460 --> 00:18:47,620 and not necessarily high profile like DRM, 471 00:18:47,660 --> 00:18:49,860 but high profile like, um, 472 00:18:50,800 --> 00:18:53,020 someone famous as Blackberry got hacked into, 473 00:18:53,160 --> 00:18:55,060 or stupid crap like that. 474 00:18:55,200 --> 00:18:58,620 And I don't know exactly what happens 475 00:18:58,620 --> 00:18:59,380 on their end, 476 00:18:59,400 --> 00:19:01,800 because I'm not a law enforcement person, 477 00:19:02,020 --> 00:19:04,940 but I'm a pretty decent MAC person, 478 00:19:05,200 --> 00:19:06,700 and when those kind of things come up, 479 00:19:07,060 --> 00:19:08,720 L.A. County sometimes calls me, 480 00:19:08,760 --> 00:19:09,820 or sometimes I call them, 481 00:19:09,980 --> 00:19:11,340 and that's when it's come up. 482 00:19:11,420 --> 00:19:13,960 Maybe there's a technical term that they use 483 00:19:13,960 --> 00:19:16,400 that they don't tell me, you know? 484 00:19:16,500 --> 00:19:18,040 I mean, not that they would be hiding it, 485 00:19:18,100 --> 00:19:18,840 but that maybe they think, 486 00:19:18,960 --> 00:19:20,380 oh, well, he's not a Fed, 487 00:19:20,480 --> 00:19:21,280 so he wouldn't care. 488 00:19:21,880 --> 00:19:22,740 But, you know. 489 00:19:24,320 --> 00:19:26,040 But if there's a better term 490 00:19:26,040 --> 00:19:27,160 that I should replace that with, 491 00:19:27,220 --> 00:19:28,860 not that I'll ever give this presentation again, 492 00:19:28,860 --> 00:19:29,480 you know, 493 00:19:30,140 --> 00:19:31,340 then I'd be happy to. 494 00:19:31,520 --> 00:19:32,780 I mean, if there's a better way 495 00:19:32,780 --> 00:19:33,860 for me to ask for that 496 00:19:33,860 --> 00:19:35,420 that makes them think I'm smarter, 497 00:19:35,580 --> 00:19:36,400 then that would be rad, too. 498 00:19:36,620 --> 00:19:37,640 It's a very common term. 499 00:19:38,560 --> 00:19:39,400 John Doe Warrant. 500 00:19:39,540 --> 00:19:40,820 It's a very common term he says. 501 00:19:41,100 --> 00:19:42,420 Federal state, local level. 502 00:19:42,820 --> 00:19:43,460 What the? 503 00:19:43,800 --> 00:19:44,540 Someone on TV. 504 00:19:47,120 --> 00:19:48,100 And a second one. 505 00:19:48,160 --> 00:19:49,160 I saw something about your jbot 506 00:19:49,160 --> 00:19:49,740 that you erased. 507 00:19:50,040 --> 00:19:51,600 Um, I don't know if that'll ever happen. 508 00:19:51,680 --> 00:19:52,840 Adaptec is pretty good. 509 00:19:52,980 --> 00:19:54,080 Where do you use it for hardware? 510 00:19:54,400 --> 00:19:55,080 Adaptec sucks. 511 00:19:57,160 --> 00:19:57,900 On the MAC. 512 00:19:57,900 --> 00:20:01,220 I mean, Adaptec is awesome on Windows 2003, 513 00:20:01,520 --> 00:20:02,540 on, you know, 514 00:20:02,620 --> 00:20:03,720 but on the MAC, 515 00:20:03,900 --> 00:20:05,500 their MAC support has just gone, 516 00:20:05,720 --> 00:20:07,420 I mean, if you use SCSI, 517 00:20:07,620 --> 00:20:08,740 go ADO, period. 518 00:20:08,940 --> 00:20:10,280 On a MAC, you know. 519 00:20:10,460 --> 00:20:11,700 What are you using for RAID host controller, 520 00:20:11,780 --> 00:20:12,700 on hardware and on software? 521 00:20:13,780 --> 00:20:14,220 Hardware? 522 00:20:14,360 --> 00:20:15,980 For the RAID host controller, 523 00:20:16,060 --> 00:20:16,800 usually ADOs. 524 00:20:16,980 --> 00:20:18,800 Wait, you mean on my iBook? 525 00:20:18,980 --> 00:20:19,920 Or my MAC Book? 526 00:20:20,240 --> 00:20:21,240 On my MAC Book, 527 00:20:21,320 --> 00:20:22,560 I'm using software-wise, 528 00:20:23,080 --> 00:20:23,520 XAN, 529 00:20:23,680 --> 00:20:24,880 and hardware-wise, 530 00:20:24,960 --> 00:20:26,800 I'm just using my USB interface. 531 00:20:27,220 --> 00:20:27,680 Hardware-wise? 532 00:20:27,680 --> 00:20:28,340 I think you might use, 533 00:20:28,420 --> 00:20:30,040 like, Apple went straight to Fiber Channel. 534 00:20:30,240 --> 00:20:32,420 Apple pretty much did go straight to Fiber Channel 535 00:20:32,420 --> 00:20:33,220 as far as their... 536 00:20:35,300 --> 00:20:36,720 And really, you know, 537 00:20:36,720 --> 00:20:37,680 in an XServe, 538 00:20:37,720 --> 00:20:39,720 you're gonna get a promise with a SATA connection, 539 00:20:40,000 --> 00:20:42,340 so it's not really necessarily as, 540 00:20:42,780 --> 00:20:43,340 you know. 541 00:20:44,080 --> 00:20:47,180 But you can totally use USB 2.0 with XAN. 542 00:20:47,280 --> 00:20:47,820 Am I all done? 543 00:20:48,100 --> 00:20:48,220 Yeah. 544 00:20:48,360 --> 00:20:49,400 Sweet. Bye, guys. 545 00:20:54,520 --> 00:20:55,320 Thank you. 546 00:20:55,960 --> 00:20:56,360 Oh. 547 00:20:56,360 --> 00:20:57,720 Do I have one more thing?