1 00:00:03,760 --> 00:00:10,720 Ladies and gentlemen, is everybody up for an exciting round of Spot the Fed? 2 00:00:13,480 --> 00:00:16,580 Does anyone like to spot a Fed? Raise your hand please. 3 00:00:18,560 --> 00:00:23,320 The lady in the back with the pink hair, come on down. 4 00:00:24,440 --> 00:00:26,220 You have to bring your Fed with you ma'am. 5 00:00:32,560 --> 00:00:33,560 Oh, he's a Fed. 6 00:00:44,380 --> 00:00:52,960 Alright, we will get the session going now. 7 00:00:53,400 --> 00:00:54,960 I want to introduce Thomas Munn. 8 00:00:55,060 --> 00:00:56,040 He is going to talk about 9 00:00:56,220 --> 00:00:57,120 data hiding in Linux. 10 00:00:57,360 --> 00:00:59,060 He was going to talk about BSD, 11 00:00:59,180 --> 00:01:01,920 but that half of the presentation team isn't here. 12 00:01:02,100 --> 00:01:03,180 So, here's Thomas. 13 00:01:04,520 --> 00:01:06,120 Hi, thanks for your patience. 14 00:01:07,840 --> 00:01:11,140 Unfortunately, TGR met with circumstances 15 00:01:11,140 --> 00:01:14,160 beyond both of our control and cannot speak today. 16 00:01:14,600 --> 00:01:17,060 So, his stuff is in the presentation 17 00:01:17,060 --> 00:01:18,860 for those of you who are BSD people. 18 00:01:19,880 --> 00:01:22,200 Unfortunately, I don't want to look kind of silly 19 00:01:22,200 --> 00:01:23,880 because I don't know a huge amount about it. 20 00:01:23,900 --> 00:01:25,560 I've set up IDS sensors on it, 21 00:01:25,580 --> 00:01:26,100 but I am... 22 00:01:26,220 --> 00:01:27,300 beyond that, 23 00:01:27,300 --> 00:01:30,020 not a BSD guru or god. 24 00:01:30,240 --> 00:01:32,560 So, with that, I'm going to begin. 25 00:01:33,280 --> 00:01:35,560 Before I begin, here's some interesting devices. 26 00:01:36,140 --> 00:01:42,140 This is a 30 gig USB 2.0 hard drive. 27 00:01:42,400 --> 00:01:45,740 It's $150 and it's available based on... 28 00:01:45,740 --> 00:01:46,900 and I don't know who they are, 29 00:01:46,960 --> 00:01:48,040 but this is where I bought it... 30 00:01:48,040 --> 00:01:49,580 basedoncomputers.com 31 00:01:49,940 --> 00:01:52,240 and it's an incredible little device. 32 00:01:52,400 --> 00:01:56,060 It's 30 gigs and it's about the size 33 00:01:56,060 --> 00:01:56,920 of a pack of cigarettes 34 00:01:56,920 --> 00:02:00,100 and weighs about six or seven ounces. 35 00:02:00,520 --> 00:02:02,980 And it doesn't cost like $400 36 00:02:02,980 --> 00:02:05,760 like a lot of the available USB drives. 37 00:02:06,000 --> 00:02:06,900 I'll tell you what these are for later. 38 00:02:08,200 --> 00:02:09,780 This, you can't really see, 39 00:02:10,000 --> 00:02:13,280 is one of these USB keychain fobs. 40 00:02:14,100 --> 00:02:16,820 You can get them in capacities ranging from 41 00:02:16,820 --> 00:02:19,300 eight megabytes up to one gigabyte. 42 00:02:19,700 --> 00:02:21,480 This version is the eight gig version. 43 00:02:21,620 --> 00:02:23,840 I bought at CompUSA for $30. 44 00:02:25,040 --> 00:02:26,040 Eight megabytes. 45 00:02:26,040 --> 00:02:26,300 All right, sorry. 46 00:02:28,480 --> 00:02:28,920 Anyways... 47 00:02:31,160 --> 00:02:33,100 This is actually an unrelated device, 48 00:02:33,280 --> 00:02:36,540 but was my prototype for this whole project. 49 00:02:36,640 --> 00:02:37,440 It was a Nomad. 50 00:02:37,920 --> 00:02:40,400 Originally, I wanted to be able to store a file system 51 00:02:40,400 --> 00:02:41,740 on an MP3 player 52 00:02:41,740 --> 00:02:44,640 so that I could keep my data on the MP3 player 53 00:02:44,640 --> 00:02:46,120 and have it look like an MP3 player 54 00:02:46,120 --> 00:02:48,780 when actually, in fact, it was a data storage device 55 00:02:48,780 --> 00:02:50,160 for more than just MP3s. 56 00:02:50,960 --> 00:02:53,860 So anyways, those are just the three devices of interest 57 00:02:53,860 --> 00:02:54,960 before I begin. 58 00:02:57,700 --> 00:02:58,060 Thank you. 59 00:03:02,960 --> 00:03:05,260 Basically, I don't know if any of you have been through layoffs, 60 00:03:05,440 --> 00:03:08,420 but I've been through five now. 61 00:03:08,920 --> 00:03:10,980 And when they happen, 62 00:03:11,100 --> 00:03:12,600 especially if you're in the security industry, 63 00:03:12,820 --> 00:03:13,740 they happen very quickly. 64 00:03:14,320 --> 00:03:15,740 Pretty much, you get in in the morning 65 00:03:15,740 --> 00:03:19,100 and they say you are terminated. 66 00:03:19,460 --> 00:03:20,380 They don't even say that. 67 00:03:20,460 --> 00:03:21,880 They try to get all the passwords out of you first. 68 00:03:22,000 --> 00:03:23,940 So if someone starts asking you for all your passwords 69 00:03:23,940 --> 00:03:24,680 and your security, 70 00:03:24,680 --> 00:03:26,660 you know that there's probably a problem. 71 00:03:26,940 --> 00:03:27,260 But anyways, 72 00:03:28,680 --> 00:03:30,480 so what happens is you get in 73 00:03:30,480 --> 00:03:31,240 and they essentially, 74 00:03:31,940 --> 00:03:33,780 they just give you a trash bag 75 00:03:33,780 --> 00:03:36,340 and you start filling your trash bag 76 00:03:36,340 --> 00:03:37,280 with your personal effects. 77 00:03:37,840 --> 00:03:39,540 If you have any personal data, 78 00:03:39,760 --> 00:03:42,260 and I need to stress very strongly 79 00:03:42,260 --> 00:03:43,920 that you should not be using this 80 00:03:43,920 --> 00:03:46,280 to save your employer's data 81 00:03:46,280 --> 00:03:47,680 on your hard drive illegally. 82 00:03:48,080 --> 00:03:50,840 I strongly advocate that you do not do that. 83 00:03:50,980 --> 00:03:52,920 Network diagrams, things like that, 84 00:03:52,980 --> 00:03:54,660 are property of the company. 85 00:03:54,680 --> 00:03:58,800 And as an ethical and practitioner of security, 86 00:03:59,120 --> 00:04:00,940 you have no right in keeping those documents. 87 00:04:01,380 --> 00:04:02,500 On the other hand, 88 00:04:02,540 --> 00:04:06,180 if you have databases and general information 89 00:04:06,180 --> 00:04:07,000 which you gather, 90 00:04:07,080 --> 00:04:08,460 which are not of a specific nature 91 00:04:08,460 --> 00:04:10,500 to your employer, 92 00:04:11,660 --> 00:04:13,080 it's just for me, it's an ethical thing, 93 00:04:13,220 --> 00:04:15,700 I don't like them to have my problem solution database 94 00:04:15,700 --> 00:04:18,080 that I've been collecting for the last three or four years. 95 00:04:18,160 --> 00:04:19,600 I keep a database of all my solutions. 96 00:04:19,960 --> 00:04:20,940 That's my property. 97 00:04:21,000 --> 00:04:21,600 It's not theirs. 98 00:04:21,960 --> 00:04:24,440 So it was in reaction to this 99 00:04:24,440 --> 00:04:26,920 that I did this whole presentation. 100 00:04:30,020 --> 00:04:31,300 I got to the point where 101 00:04:32,220 --> 00:04:33,960 I wanted my data to be my data. 102 00:04:34,040 --> 00:04:35,560 I wanted my programs to come with me. 103 00:04:35,740 --> 00:04:37,440 I did not want to have to worry about 104 00:04:37,440 --> 00:04:40,220 if I were laid off suddenly and arbitrarily 105 00:04:40,220 --> 00:04:41,600 having to try to back up data 106 00:04:41,600 --> 00:04:42,760 that they wouldn't let me back up. 107 00:04:43,120 --> 00:04:49,840 So this is a whole context for this project. 108 00:04:50,160 --> 00:04:50,880 I'm going to stand up. 109 00:04:52,380 --> 00:04:52,780 Basically, 110 00:04:54,120 --> 00:04:56,080 there's a number of ways you can do this. 111 00:04:56,160 --> 00:04:57,640 You can use USB devices. 112 00:04:57,780 --> 00:04:59,500 You can use encrypted file systems. 113 00:05:00,300 --> 00:05:02,760 One of the more interesting ways that they do it 114 00:05:02,760 --> 00:05:06,240 is actually through wireless cards access. 115 00:05:06,320 --> 00:05:08,820 Basically, you use them in ad hoc mode 116 00:05:08,820 --> 00:05:11,100 and you have a mini network of two, 117 00:05:11,240 --> 00:05:12,980 which is the computer that you have 118 00:05:12,980 --> 00:05:15,080 and the computer that is out in a location, 119 00:05:15,360 --> 00:05:18,560 and you can transmit information through that channel 120 00:05:19,080 --> 00:05:20,580 using either the loop AES 121 00:05:20,580 --> 00:05:22,520 or other encrypted mechanisms. 122 00:05:22,780 --> 00:05:24,540 That's another interesting way. 123 00:05:24,580 --> 00:05:26,960 That was Will's side of the story. 124 00:05:32,520 --> 00:05:34,380 Basically, that's the part that we're not going to do. 125 00:05:34,640 --> 00:05:38,800 Anyways, you see my presentation. 126 00:05:39,940 --> 00:05:42,060 Basically, employers will eliminate you quickly. 127 00:05:42,260 --> 00:05:44,160 You will not have any time to back up your data. 128 00:05:44,660 --> 00:05:47,580 You use a USB or removable device 129 00:05:47,580 --> 00:05:48,760 that stays with you, 130 00:05:48,920 --> 00:05:51,380 and encrypting that data ensures that 131 00:05:51,380 --> 00:05:52,360 if someone steals this, 132 00:05:52,640 --> 00:05:54,880 your data will not be accessible to them. 133 00:05:55,360 --> 00:05:57,180 If you've got some personal or email 134 00:05:57,180 --> 00:06:00,420 or anything like that that is of a sensitive nature, 135 00:06:01,000 --> 00:06:02,280 you can use this device 136 00:06:03,340 --> 00:06:05,700 to essentially make it very hard 137 00:06:05,700 --> 00:06:06,660 or very expensive 138 00:06:07,440 --> 00:06:10,180 for whoever it is you're trying to prevent 139 00:06:10,180 --> 00:06:11,880 from getting your data. 140 00:06:12,260 --> 00:06:13,840 It's a very expensive process. 141 00:06:21,380 --> 00:06:24,060 I looked at a number of different packages. 142 00:06:24,320 --> 00:06:25,760 There was originally what they called 143 00:06:25,760 --> 00:06:27,120 the kernel patch for Linux, 144 00:06:27,620 --> 00:06:29,600 which was actually compiled into the kernel, 145 00:06:29,800 --> 00:06:31,060 but you had to patch the kernel 146 00:06:31,060 --> 00:06:33,240 each and every time you upgraded your kernel, 147 00:06:33,360 --> 00:06:34,700 which is something of a pain. 148 00:06:34,900 --> 00:06:36,060 I don't know if any of you have done that. 149 00:06:37,220 --> 00:06:39,080 I can't use it with stock kernels. 150 00:06:39,140 --> 00:06:41,460 For instance, if I'm one of those people 151 00:06:41,460 --> 00:06:43,520 who doesn't like to compile kernels, 152 00:06:43,560 --> 00:06:44,380 and there's plenty of them, 153 00:06:45,500 --> 00:06:47,240 you can actually use this product 154 00:06:47,240 --> 00:06:48,820 without recompiling your kernel, 155 00:06:48,940 --> 00:06:50,160 which is kind of nice. 156 00:06:50,160 --> 00:06:52,020 You just use the source code tree, 157 00:06:52,160 --> 00:06:53,020 and I'll get into that later. 158 00:06:53,800 --> 00:06:55,820 That was one of the reasons for choosing the module. 159 00:06:56,140 --> 00:06:57,680 Another reason for choosing the module, 160 00:06:57,780 --> 00:07:00,180 this is a special version of loop.o. 161 00:07:00,380 --> 00:07:03,460 It has the AES bindings built into it 162 00:07:03,460 --> 00:07:05,940 so that if they don't have the loop.o module, 163 00:07:06,940 --> 00:07:09,940 then they can't even decrypt your data. 164 00:07:10,400 --> 00:07:13,240 If you keep the loop.o module on your device 165 00:07:14,280 --> 00:07:16,720 and mount it in an unencrypted partition 166 00:07:17,400 --> 00:07:20,140 and then insmod and force it from this, 167 00:07:20,160 --> 00:07:22,700 as opposed to the actual hard drive on which your system, 168 00:07:22,800 --> 00:07:25,660 the person who you're trying to protect your data from 169 00:07:25,660 --> 00:07:27,960 doesn't even know you're trying to protect your data from them. 170 00:07:29,020 --> 00:07:34,120 There's no real indication of the fact that it's on the system. 171 00:07:34,740 --> 00:07:37,700 Adding GNU PG on a device like this 172 00:07:37,700 --> 00:07:39,880 even increases your security further. 173 00:07:40,240 --> 00:07:42,120 You essentially have your private key 174 00:07:42,120 --> 00:07:43,460 as well as the encrypted password 175 00:07:43,920 --> 00:07:46,580 on your keychain USB, which is with you at all times, 176 00:07:46,740 --> 00:07:48,580 so that even if they get a hold of that, 177 00:07:48,580 --> 00:07:49,980 they get a hold of the modules, 178 00:07:50,080 --> 00:07:51,900 they still have to get a hold of this in the keys 179 00:07:52,660 --> 00:07:55,140 and they have to know your private key password 180 00:07:55,620 --> 00:07:57,120 before they can get into the device. 181 00:08:03,240 --> 00:08:07,040 Basically, you can obtain the loop-aes sources from SourceForge. 182 00:08:08,300 --> 00:08:12,040 If you just go to SourceForge and type in loop-aes, 183 00:08:12,780 --> 00:08:16,460 it will in fact show you the appropriate 184 00:08:18,320 --> 00:08:18,820 link. 185 00:08:19,340 --> 00:08:21,000 They upgrade it fairly frequently. 186 00:08:21,460 --> 00:08:24,240 I'm rather pleased to say that in the process of the upgrading, 187 00:08:24,580 --> 00:08:26,120 they do not break. 188 00:08:26,520 --> 00:08:29,680 You can actually have a loop-aes 1.0.c 189 00:08:30,230 --> 00:08:33,900 and loop-aes 1.0.6.f 190 00:08:33,900 --> 00:08:35,860 and you can still read the file system. 191 00:08:35,980 --> 00:08:38,000 It doesn't break the file system from rev to rev, 192 00:08:38,200 --> 00:08:40,340 which I've seen other products that do do that 193 00:08:40,340 --> 00:08:42,420 and it's kind of nice because then I don't have to 194 00:08:42,420 --> 00:08:44,880 redo my encrypted disk every time. 195 00:08:47,980 --> 00:08:50,140 Loop-aes actually has really good documentation. 196 00:08:50,520 --> 00:08:52,420 Read the readme before you do anything. 197 00:08:53,020 --> 00:08:54,940 They tell you exactly what you need to do. 198 00:08:55,040 --> 00:08:57,420 Everything in this presentation and a lot more 199 00:08:57,420 --> 00:08:59,960 is actually covered in the readme. 200 00:09:00,700 --> 00:09:02,220 It's very well documented. 201 00:09:03,340 --> 00:09:07,460 The one thing they tell you if you want to get started 202 00:09:07,460 --> 00:09:09,120 real quick and you don't want to bother reading it, 203 00:09:09,460 --> 00:09:10,760 compile your kernel first. 204 00:09:11,160 --> 00:09:13,580 In other words, you don't have to install it, 205 00:09:13,640 --> 00:09:15,340 but you at least have to do a make, 206 00:09:15,340 --> 00:09:17,860 just make, do some basic kernel options. 207 00:09:18,200 --> 00:09:22,460 You cannot compile the loopback file system 208 00:09:22,460 --> 00:09:24,900 into your kernel and you just do that 209 00:09:24,900 --> 00:09:26,400 and you don't have to worry about the rest of the modules 210 00:09:27,360 --> 00:09:29,040 because that's the only thing you really want. 211 00:09:29,180 --> 00:09:32,580 If you're already doing a kernel from scratch, 212 00:09:32,980 --> 00:09:34,520 I mean from stock, if you don't like, say, 213 00:09:34,600 --> 00:09:36,620 you're using Red Hat or one of the other 214 00:09:36,620 --> 00:09:38,600 17,000 different versions of Linux, 215 00:09:40,320 --> 00:09:43,340 I bet you could even load the module into BSD 216 00:09:43,940 --> 00:09:45,260 using the Linux compiler. 217 00:09:45,260 --> 00:09:47,380 That would be an interesting thought 218 00:09:47,800 --> 00:09:49,160 if somebody actually wants to try that, 219 00:09:49,320 --> 00:09:50,700 but I don't know how well it would work 220 00:09:50,700 --> 00:09:51,420 because it's kernel space. 221 00:09:51,680 --> 00:09:53,320 It might do really bad things to your system. 222 00:09:54,300 --> 00:09:56,080 You also have to get what's called 223 00:09:56,080 --> 00:09:57,520 the Util Linux collection, 224 00:09:57,800 --> 00:09:59,580 which contains a modified mount 225 00:09:59,580 --> 00:10:01,180 and low setup utility. 226 00:10:01,800 --> 00:10:04,560 It also contains some modified man pages 227 00:10:04,560 --> 00:10:06,220 which tell you how to do things. 228 00:10:06,580 --> 00:10:08,000 What you do is you essentially, 229 00:10:08,300 --> 00:10:10,500 you get the Roop AES source. 230 00:10:11,680 --> 00:10:13,160 Well, first you compile your kernel. 231 00:10:13,260 --> 00:10:14,260 Then you get the other. 232 00:10:14,260 --> 00:10:15,740 Then you get Util Linux. 233 00:10:15,900 --> 00:10:16,620 You place it. 234 00:10:16,720 --> 00:10:19,440 You untar the Roop AES tar. 235 00:10:19,720 --> 00:10:21,140 Then you take the Util Linux 236 00:10:21,140 --> 00:10:22,280 and you put it in there 237 00:10:22,280 --> 00:10:23,080 and you untar it there. 238 00:10:23,660 --> 00:10:25,500 Then you run their utility. 239 00:10:26,480 --> 00:10:27,300 There's a patch. 240 00:10:27,480 --> 00:10:28,640 You have to actually run a patch. 241 00:10:29,600 --> 00:10:32,000 Then you do the make and follow the directions. 242 00:10:32,260 --> 00:10:33,740 You're pretty much, as they say, 243 00:10:33,800 --> 00:10:34,440 cooking with gas. 244 00:10:37,540 --> 00:10:39,700 Basically, the first step is patch Util Linux 245 00:10:40,060 --> 00:10:41,140 after you've untarred it. 246 00:10:41,540 --> 00:10:43,920 Go to FreshMeet if you don't know where Util Linux is 247 00:10:44,260 --> 00:10:45,380 and type in Util-Linux 248 00:10:45,380 --> 00:10:47,240 and you can get the source code. 249 00:10:48,400 --> 00:10:50,620 You basically do patch minus P0 250 00:10:50,620 --> 00:10:52,140 less than patch file name. 251 00:10:52,540 --> 00:10:54,720 Assuming you are in the directory 252 00:10:54,720 --> 00:10:57,040 which contains the Roop-AES source. 253 00:10:57,540 --> 00:10:59,540 In other words, if you untar it in temp, 254 00:10:59,740 --> 00:11:03,120 it would be slash temp slash Roop-AES dash blah. 255 00:11:03,620 --> 00:11:05,480 Then you would do patch minus P0 256 00:11:05,480 --> 00:11:07,140 once you are in those directories. 257 00:11:08,440 --> 00:11:10,240 Again, follow the readme 258 00:11:10,240 --> 00:11:11,700 and do exactly what it says. 259 00:11:12,680 --> 00:11:14,100 It really, I mean, 260 00:11:14,260 --> 00:11:14,980 I felt kind of dumb 261 00:11:14,980 --> 00:11:16,880 because I screwed it up 262 00:11:16,880 --> 00:11:18,500 and I messed up a kernel or two 263 00:11:18,500 --> 00:11:19,320 and I couldn't boot. 264 00:11:19,700 --> 00:11:21,440 If I just read the documentation, 265 00:11:21,780 --> 00:11:22,720 I would have been fine. 266 00:11:23,040 --> 00:11:24,500 Save yourself a lot of pain 267 00:11:24,500 --> 00:11:25,400 and read the documentation 268 00:11:25,400 --> 00:11:26,460 from top to bottom 269 00:11:26,460 --> 00:11:27,320 before you do anything. 270 00:11:27,760 --> 00:11:28,140 I'll say that. 271 00:11:28,200 --> 00:11:29,200 This will be the last time I say that. 272 00:11:31,800 --> 00:11:33,100 You patch the Util Linux. 273 00:11:34,620 --> 00:11:35,960 Again, here's some gotchas. 274 00:11:36,260 --> 00:11:38,500 Roop-AES requires that loopback support 275 00:11:38,500 --> 00:11:40,200 not be put in the kernel. 276 00:11:40,540 --> 00:11:42,280 If you put loopback in the kernel, 277 00:11:42,340 --> 00:11:43,120 it will not work. 278 00:11:44,500 --> 00:11:46,660 Make sure that you are using 279 00:11:46,660 --> 00:11:48,260 the correct kernel version before compiling. 280 00:11:48,880 --> 00:11:49,380 In other words, 281 00:11:49,480 --> 00:11:50,760 you have to make sure 282 00:11:50,760 --> 00:11:52,880 that whatever kernel you want this thing to work for 283 00:11:52,880 --> 00:11:54,620 is in fact the kernel you're booting from. 284 00:11:55,860 --> 00:11:58,460 Now, what I did with one of the stock Red Hat systems 285 00:11:58,460 --> 00:11:59,380 as a test was 286 00:11:59,380 --> 00:12:01,460 I took whatever the current one was, 287 00:12:01,580 --> 00:12:02,980 undid their source code from it, 288 00:12:03,780 --> 00:12:05,240 and what happens is 289 00:12:05,240 --> 00:12:07,260 if you don't actually compile the kernel yourself, 290 00:12:07,480 --> 00:12:08,040 it'll complain. 291 00:12:08,160 --> 00:12:08,420 It'll say, 292 00:12:08,520 --> 00:12:09,980 this will taint the kernel 293 00:12:09,980 --> 00:12:11,120 and I'm not going to use it. 294 00:12:11,380 --> 00:12:12,760 So you can force the kernel 295 00:12:12,760 --> 00:12:15,540 load with no detrimental effects to the system. 296 00:12:16,300 --> 00:12:17,680 But you have to force it, 297 00:12:17,740 --> 00:12:18,660 and there's a couple scripts 298 00:12:18,660 --> 00:12:21,500 which I think I included in this presentation. 299 00:12:22,620 --> 00:12:24,060 Anyways, so that's just one. 300 00:12:25,120 --> 00:12:26,620 You have to be obviously root 301 00:12:26,620 --> 00:12:27,700 to install kernel modules. 302 00:12:28,060 --> 00:12:29,340 I mean, I figured all of you would know that, 303 00:12:29,440 --> 00:12:30,760 but I just wanted to put it in. 304 00:12:31,020 --> 00:12:32,860 You must do a make menu config 305 00:12:32,860 --> 00:12:34,980 before compiling loop-AES. 306 00:12:35,180 --> 00:12:35,560 In other words, 307 00:12:35,600 --> 00:12:36,820 choose your appropriate kernel options. 308 00:12:37,060 --> 00:12:38,880 And make sure that you choose the right processor. 309 00:12:38,980 --> 00:12:39,800 Your kernel won't boot. 310 00:12:43,940 --> 00:12:47,320 You must compile USB in the kernel as a module. 311 00:12:47,660 --> 00:12:49,440 I had horrible time 312 00:12:49,440 --> 00:12:51,620 when I put USB directly in the kernel. 313 00:12:52,320 --> 00:12:54,320 There are order-dependent things 314 00:12:54,320 --> 00:12:56,140 that need to be done in a certain way 315 00:12:56,140 --> 00:12:57,620 for things to work. 316 00:12:57,820 --> 00:12:59,240 If you put it in the kernel, 317 00:12:59,420 --> 00:13:03,020 the USB UHCI module will load 318 00:13:03,020 --> 00:13:05,480 before the modules that you need, 319 00:13:05,680 --> 00:13:07,900 and you just can't control the order. 320 00:13:08,020 --> 00:13:09,220 And you have to control the order. 321 00:13:09,360 --> 00:13:11,720 Now, if you use a stock Mandrake, 322 00:13:11,720 --> 00:13:14,740 Red Hat, Suzy, or any of them, 323 00:13:14,880 --> 00:13:16,180 it'll probably just work out of the box. 324 00:13:16,820 --> 00:13:19,440 When I did it, it was on my old system with, 325 00:13:19,620 --> 00:13:22,160 you know, I'm an old kernel person, 326 00:13:22,220 --> 00:13:23,740 and I've been compiling kernels since 91, 327 00:13:24,000 --> 00:13:26,520 so I tend to compile my own kernels. 328 00:13:26,600 --> 00:13:29,500 But I just tried it for disagreement's sake. 329 00:13:29,720 --> 00:13:31,900 Does it work from the... 330 00:13:31,900 --> 00:13:33,960 So, anyways, so basically, 331 00:13:34,040 --> 00:13:35,020 this is the hard way. 332 00:13:35,160 --> 00:13:37,780 So you have to compile in SCSI support as a module. 333 00:13:38,060 --> 00:13:40,540 You have to compile in SCSI generic modules. 334 00:13:41,000 --> 00:13:41,700 The disagreement is, 335 00:13:41,720 --> 00:13:43,700 you need the USB UHCI, 336 00:13:44,020 --> 00:13:46,680 or if you want to use the high-speed version 2, 337 00:13:46,880 --> 00:13:50,120 you'll need the 2.5.29 kernel series, 338 00:13:50,380 --> 00:13:53,000 which also has USB OHCI, 339 00:13:53,200 --> 00:13:54,820 which supports 400 megasecond. 340 00:13:55,400 --> 00:13:59,840 Default speed for the USB device is 12 megabits. 341 00:13:59,980 --> 00:14:02,340 So you're looking at about a megabyte per second transfer 342 00:14:02,340 --> 00:14:04,720 when you're actually storing things. 343 00:14:05,840 --> 00:14:07,960 Like, again, for USB 2.0, 344 00:14:07,980 --> 00:14:10,420 you will definitely want to use 2.5. 345 00:14:10,940 --> 00:14:12,000 Again, it's experimental. 346 00:14:12,220 --> 00:14:13,400 Use at your own risk. 347 00:14:17,620 --> 00:14:18,420 Installing USB. 348 00:14:18,740 --> 00:14:20,940 This is, again, for those who like to do it the hard way. 349 00:14:21,240 --> 00:14:23,800 You have to install SCSI, SCSI generic, 350 00:14:24,120 --> 00:14:27,480 SCSI disk, USB, USB UHCI, 351 00:14:27,580 --> 00:14:28,480 and USB storage. 352 00:14:29,720 --> 00:14:34,640 After that, you can manually put in your loop.o. 353 00:14:34,660 --> 00:14:37,060 So, for instance, after you do all the mod probe, 354 00:14:37,240 --> 00:14:39,520 SCSI, mod probe, SCSI-generic, 355 00:14:39,520 --> 00:14:40,580 et cetera, et cetera, et cetera, 356 00:14:40,620 --> 00:14:43,540 you do mod probe space loop.o. 357 00:14:43,700 --> 00:14:46,280 And, of course, if you did it the way that I described 358 00:14:46,280 --> 00:14:47,140 with the stock kernel, 359 00:14:47,320 --> 00:14:50,780 you would need to do insmod and then minus f, 360 00:14:51,440 --> 00:14:55,260 followed by the path of where the loop.o is stored. 361 00:14:56,460 --> 00:14:58,980 Again, that can depend highly on system. 362 00:14:59,120 --> 00:15:00,860 I recommend using... 363 00:15:00,860 --> 00:15:02,240 I'll wait till the jet passes. 364 00:15:06,280 --> 00:15:06,760 Anyways. 365 00:15:08,260 --> 00:15:10,500 So you can just do that wherever you want. 366 00:15:11,480 --> 00:15:12,500 Again, the... 367 00:15:12,500 --> 00:15:13,560 I was going to say, 368 00:15:13,620 --> 00:15:15,420 see the website for the script to load the modules, 369 00:15:15,580 --> 00:15:17,280 but I haven't had a chance to update my DNS. 370 00:15:17,560 --> 00:15:18,740 So, anyways. 371 00:15:20,080 --> 00:15:22,400 I can provide that script if anyone wants. 372 00:15:24,160 --> 00:15:25,060 It's pretty simple. 373 00:15:26,440 --> 00:15:27,240 Basically, again, 374 00:15:27,320 --> 00:15:29,100 follow the README that comes loop.aes. 375 00:15:29,200 --> 00:15:30,160 The first thing you want to do 376 00:15:30,160 --> 00:15:32,940 is run low setup to set up the device. 377 00:15:33,240 --> 00:15:35,280 The commands are in the README 378 00:15:35,280 --> 00:15:36,160 under getting... 379 00:15:36,160 --> 00:15:36,740 I'm sorry, 380 00:15:36,740 --> 00:15:38,520 up file system using GNU PG. 381 00:15:38,760 --> 00:15:41,860 This is the particular architecture that I found 382 00:15:41,860 --> 00:15:43,420 for a single user system 383 00:15:43,420 --> 00:15:45,080 is the most... 384 00:15:45,700 --> 00:15:46,540 is the best. 385 00:15:47,400 --> 00:15:49,160 There's a lot of other scenarios that cover 386 00:15:49,160 --> 00:15:50,180 how to do encrypted swap, 387 00:15:50,540 --> 00:15:53,220 how to do encrypted file systems for different users, 388 00:15:53,640 --> 00:15:54,760 how to do... 389 00:15:54,760 --> 00:15:57,080 They cover a wide range of options. 390 00:15:57,540 --> 00:15:59,620 And for those of you that don't want to use GNU PG, 391 00:15:59,820 --> 00:16:02,140 you can just use a nice 40-character password 392 00:16:02,140 --> 00:16:03,940 if you're using AES-192, 393 00:16:04,420 --> 00:16:05,240 which is what I recommend. 394 00:16:05,240 --> 00:16:07,260 256 is a little too slow, 395 00:16:07,500 --> 00:16:08,700 and I think a bit excessive, 396 00:16:08,940 --> 00:16:09,520 because, I mean, 397 00:16:09,620 --> 00:16:11,400 you know, it's the top end. 398 00:16:12,220 --> 00:16:13,700 But the 192 version, 399 00:16:13,820 --> 00:16:16,240 you have to type in a 46-character 400 00:16:16,900 --> 00:16:18,380 or 40-character password minimum. 401 00:16:19,300 --> 00:16:19,740 So... 402 00:16:19,740 --> 00:16:21,700 And you get one chance to type it. 403 00:16:21,840 --> 00:16:23,720 So if you type it wrong 404 00:16:24,220 --> 00:16:25,680 and you forget it, 405 00:16:25,760 --> 00:16:26,500 that's it. 406 00:16:26,640 --> 00:16:27,960 I mean, you type it once. 407 00:16:28,000 --> 00:16:28,720 There's no verification. 408 00:16:29,180 --> 00:16:30,400 You just run low setup 409 00:16:30,400 --> 00:16:31,420 followed by the password 410 00:16:31,420 --> 00:16:32,640 and hope you type it right. 411 00:16:33,040 --> 00:16:34,780 Because if you type it wrong, 412 00:16:34,880 --> 00:16:35,220 that's it. 413 00:16:35,240 --> 00:16:36,500 It's pretty much useless, 414 00:16:36,580 --> 00:16:37,700 and you'll have to start over again, 415 00:16:37,820 --> 00:16:38,680 because you won't be able to mount it. 416 00:16:40,240 --> 00:16:41,540 Again, I recommend 417 00:16:41,540 --> 00:16:43,540 manually mounting the file system 418 00:16:43,540 --> 00:16:44,280 to test it. 419 00:16:44,820 --> 00:16:45,960 You can try doing... 420 00:16:45,960 --> 00:16:47,240 They have a nice part 421 00:16:47,840 --> 00:16:50,140 where they talk about using fstab, 422 00:16:50,220 --> 00:16:51,420 where you just put, you know, 423 00:16:51,460 --> 00:16:52,440 the device name, 424 00:16:52,540 --> 00:16:53,400 which can be a file. 425 00:16:54,140 --> 00:16:54,840 So it'd be like 426 00:16:54,840 --> 00:16:57,460 slash mnt slash file1, 427 00:16:57,580 --> 00:16:59,240 which is the actual encrypted 428 00:16:59,240 --> 00:17:01,580 loop LO setup device that you created. 429 00:17:02,120 --> 00:17:04,860 Now, LO setup can be used in several ways. 430 00:17:04,860 --> 00:17:06,560 It can be used on files. 431 00:17:06,960 --> 00:17:08,820 It can be used at the block level. 432 00:17:09,200 --> 00:17:09,920 In other words, 433 00:17:10,000 --> 00:17:13,120 I can do LO setup slash dev slash sda1. 434 00:17:13,440 --> 00:17:15,320 I can actually set up a device 435 00:17:15,880 --> 00:17:17,300 instead of just a file. 436 00:17:17,540 --> 00:17:20,260 So the entire file system is encrypted. 437 00:17:20,740 --> 00:17:22,180 It's not even just a file, 438 00:17:22,220 --> 00:17:24,640 but the whole file system is loop AES encrypted. 439 00:17:24,940 --> 00:17:26,900 So it's just absolute garbage, 440 00:17:26,980 --> 00:17:28,000 and it's not a file. 441 00:17:28,580 --> 00:17:30,400 So then you can even obfuscate 442 00:17:30,400 --> 00:17:32,220 what type of file system it is 443 00:17:32,220 --> 00:17:34,520 until they actually know what the encryption is. 444 00:17:34,520 --> 00:17:35,320 So you can use, like, 445 00:17:35,320 --> 00:17:36,100 Amiga file system 446 00:17:36,100 --> 00:17:37,300 if you really want to be obscure 447 00:17:38,760 --> 00:17:40,480 and really make things difficult. 448 00:17:40,700 --> 00:17:41,720 Because you've got to know, 449 00:17:41,780 --> 00:17:42,900 I mean, yeah, you can look at the header, 450 00:17:43,020 --> 00:17:43,420 but I mean, 451 00:17:43,420 --> 00:17:44,720 the average person 452 00:17:44,720 --> 00:17:46,220 who would probably be trying to do that 453 00:17:46,220 --> 00:17:47,600 probably wouldn't think that. 454 00:17:47,900 --> 00:17:48,080 You know, 455 00:17:48,100 --> 00:17:50,040 if you can eliminate 75% 456 00:17:50,040 --> 00:17:51,380 of the unclever people in the world, 457 00:17:51,420 --> 00:17:52,740 you've done a very well job. 458 00:17:52,920 --> 00:17:53,400 So anyways. 459 00:17:56,760 --> 00:17:58,800 Keep all the scripts and modules 460 00:17:58,800 --> 00:18:00,680 on a separate removable hard drive. 461 00:18:00,820 --> 00:18:01,220 This. 462 00:18:02,680 --> 00:18:03,480 Keep GNU, 463 00:18:03,500 --> 00:18:03,840 PG, 464 00:18:04,520 --> 00:18:05,700 on a USB keychain. 465 00:18:06,280 --> 00:18:06,920 Don't forget. 466 00:18:07,120 --> 00:18:08,600 Back up your USB disk. 467 00:18:08,960 --> 00:18:11,220 Because if this suddenly drops 468 00:18:11,220 --> 00:18:13,360 from a very high height onto concrete, 469 00:18:13,660 --> 00:18:15,080 all of your data will be gone. 470 00:18:15,640 --> 00:18:16,320 So I recommend, 471 00:18:17,480 --> 00:18:18,820 there's several ways you can back up. 472 00:18:19,040 --> 00:18:19,900 If you're using a file, 473 00:18:19,980 --> 00:18:20,540 it's really easy. 474 00:18:20,600 --> 00:18:22,140 Just copy the file to a remote media. 475 00:18:22,440 --> 00:18:23,640 If anyone gets a hold of it, 476 00:18:23,700 --> 00:18:24,020 so what? 477 00:18:24,120 --> 00:18:25,060 They can't do anything with it. 478 00:18:25,220 --> 00:18:27,300 If you want to actually do the file system, 479 00:18:27,620 --> 00:18:29,680 you kind of have to unencrypt the data. 480 00:18:29,840 --> 00:18:31,260 While the file system is mounted, 481 00:18:31,520 --> 00:18:32,880 you have to back it up, 482 00:18:32,940 --> 00:18:33,520 make a tar, 483 00:18:33,520 --> 00:18:34,600 and then if you're really worried, 484 00:18:34,760 --> 00:18:35,420 GNU, 485 00:18:35,480 --> 00:18:35,640 PG, 486 00:18:35,760 --> 00:18:36,320 encrypt it, 487 00:18:36,380 --> 00:18:37,920 and store it on a CD 488 00:18:37,920 --> 00:18:39,440 or DAT tape 489 00:18:39,440 --> 00:18:40,940 or whatever it is that you use to back up. 490 00:18:43,280 --> 00:18:44,740 Basically what I do is, 491 00:18:44,820 --> 00:18:45,560 I actually have, 492 00:18:45,740 --> 00:18:46,420 on this guy, 493 00:18:46,620 --> 00:18:47,960 there's three partitions. 494 00:18:48,620 --> 00:18:50,520 The first one is a Windows partition. 495 00:18:50,740 --> 00:18:51,200 Don't tell anybody. 496 00:18:51,460 --> 00:18:52,840 The second one is a, 497 00:18:53,380 --> 00:18:55,640 is just a device level encrypted 498 00:18:56,420 --> 00:18:57,620 EXT3 file system, 499 00:18:57,820 --> 00:18:59,440 which is actually not really. 500 00:18:59,620 --> 00:19:00,260 It's a loop AES. 501 00:19:00,260 --> 00:19:01,920 I used LOS setup to set it up. 502 00:19:01,920 --> 00:19:05,460 Then the third is unencrypted. 503 00:19:05,940 --> 00:19:07,260 I keep the keys on that 504 00:19:07,260 --> 00:19:09,320 just because at the time I didn't have this. 505 00:19:09,720 --> 00:19:11,660 For those of you that don't want to spend the extra money, 506 00:19:11,880 --> 00:19:14,380 it's a slightly more convenient way. 507 00:19:14,520 --> 00:19:15,120 What you have to do 508 00:19:15,120 --> 00:19:16,460 is you have to go to root 509 00:19:16,460 --> 00:19:17,660 because you have to be root to do all this 510 00:19:17,660 --> 00:19:18,760 unless you want to set up sudo 511 00:19:18,760 --> 00:19:21,440 or make the mount root mountable by users. 512 00:19:22,160 --> 00:19:23,040 Basically go into root, 513 00:19:23,180 --> 00:19:27,240 you symlink the .GNU PG directory 514 00:19:27,240 --> 00:19:29,040 in the root file system 515 00:19:29,760 --> 00:19:31,560 to the place where you store 516 00:19:31,560 --> 00:19:33,700 your GNU PG keys 517 00:19:33,700 --> 00:19:35,860 to decrypt the file system. 518 00:19:36,320 --> 00:19:37,760 That way you don't have to do any, 519 00:19:37,880 --> 00:19:40,640 you don't keep any of the public keys on the system. 520 00:19:40,820 --> 00:19:42,720 That's the whole purpose of the exercise. 521 00:19:43,440 --> 00:19:44,180 You basically, 522 00:19:44,340 --> 00:19:46,320 I mount the USB hard drive 523 00:19:46,320 --> 00:19:48,460 on like home slash username, 524 00:19:48,760 --> 00:19:49,980 whatever that happens to be. 525 00:19:51,440 --> 00:19:53,960 I create a script that automatically mounts the disk. 526 00:19:54,200 --> 00:19:55,000 Again, that script, 527 00:19:55,540 --> 00:19:56,740 you can do it one of two ways. 528 00:19:56,860 --> 00:19:57,740 If you want to do it conveniently, 529 00:19:57,940 --> 00:19:58,860 you get a shellcode compiler 530 00:19:59,380 --> 00:20:00,480 and you write the script, 531 00:20:00,480 --> 00:20:01,400 you name it something obscure, 532 00:20:01,960 --> 00:20:03,440 and you shellcode compile it 533 00:20:03,440 --> 00:20:04,560 so it's just another binary. 534 00:20:04,740 --> 00:20:05,940 You name it like LS1. 535 00:20:07,280 --> 00:20:08,440 For mounting, for instance, 536 00:20:08,500 --> 00:20:09,260 you'd have LS1. 537 00:20:09,400 --> 00:20:10,620 For unmounting, it would be LS2. 538 00:20:11,440 --> 00:20:12,460 If they look at your history, 539 00:20:12,600 --> 00:20:13,560 they say, oh, LS1. 540 00:20:13,720 --> 00:20:15,080 It doesn't print anything out 541 00:20:15,080 --> 00:20:16,120 and you really don't know what it does 542 00:20:16,600 --> 00:20:18,340 because you just turn all the echoing off. 543 00:20:18,820 --> 00:20:19,680 It's fairly obscure 544 00:20:19,680 --> 00:20:21,140 and it's still convenient 545 00:20:21,140 --> 00:20:23,100 so you have the scripts on the system. 546 00:20:23,340 --> 00:20:24,200 If you're really paranoid, 547 00:20:24,380 --> 00:20:25,780 you put it on here 548 00:20:25,780 --> 00:20:27,500 and just shell script format. 549 00:20:28,080 --> 00:20:29,460 I have a start and end script 550 00:20:29,460 --> 00:20:31,080 which I keep unencrypted on the disk 551 00:20:31,080 --> 00:20:31,880 because I don't really care. 552 00:20:31,980 --> 00:20:33,140 I'm not that paranoid. 553 00:20:34,560 --> 00:20:35,880 I log in as root. 554 00:20:35,960 --> 00:20:36,600 I type in start. 555 00:20:36,860 --> 00:20:38,860 It asks me for my GNU PG phrase 556 00:20:39,620 --> 00:20:41,620 which actually I haven't migrated it yet. 557 00:20:41,720 --> 00:20:42,740 It will look here for it. 558 00:20:43,560 --> 00:20:45,020 You can also symlink to this. 559 00:20:45,320 --> 00:20:46,720 Whatever your symlink is, 560 00:20:46,900 --> 00:20:48,640 you create it to where your keys are stored. 561 00:20:49,300 --> 00:20:50,120 There's two keys. 562 00:20:50,400 --> 00:20:51,660 Well, there's two parts of it. 563 00:20:51,800 --> 00:20:52,680 There's your private key 564 00:20:52,680 --> 00:20:53,980 which is used to decrypt. 565 00:20:54,240 --> 00:20:58,240 Then there is the actual encrypted 47 random, 566 00:20:58,240 --> 00:20:59,380 like you take like dev random 567 00:20:59,380 --> 00:21:02,400 and you actually cat it to a file 568 00:21:02,400 --> 00:21:04,000 and then you encrypt that file 569 00:21:04,000 --> 00:21:05,560 with the GNU PG. 570 00:21:05,900 --> 00:21:07,160 You have to make it ASCII 571 00:21:07,160 --> 00:21:08,140 or it doesn't work very well. 572 00:21:08,300 --> 00:21:09,880 You actually like dev random. 573 00:21:10,080 --> 00:21:12,400 You're actually using a fairly random password 574 00:21:12,400 --> 00:21:13,400 that's 47 575 00:21:13,400 --> 00:21:15,000 or however many characters you want. 576 00:21:15,520 --> 00:21:16,900 There's a nice little DD hack. 577 00:21:17,080 --> 00:21:18,920 I don't know if I list it in here 578 00:21:18,920 --> 00:21:19,960 but it's pretty cool 579 00:21:19,960 --> 00:21:21,600 because it actually creates. 580 00:21:21,960 --> 00:21:22,640 It's in the documentation 581 00:21:22,640 --> 00:21:24,240 when you get the loop AES package. 582 00:21:24,900 --> 00:21:27,000 You can set your box size to 1024 583 00:21:27,000 --> 00:21:28,680 and have a 1024 character password 584 00:21:28,680 --> 00:21:31,320 if you really, really, really, really want 585 00:21:31,320 --> 00:21:32,520 to make it hard for someone to get it. 586 00:21:33,660 --> 00:21:35,760 Again, erase roots bash history 587 00:21:35,760 --> 00:21:37,440 if you're really paranoid. 588 00:21:37,960 --> 00:21:40,100 Your dot bash history has absolutely everything 589 00:21:40,100 --> 00:21:41,720 or dot whatever the other one is, 590 00:21:41,740 --> 00:21:43,240 dot history if you're using Sun. 591 00:21:44,040 --> 00:21:45,680 Actually, if you're using Sun, 592 00:21:45,700 --> 00:21:46,180 you can use Linux. 593 00:21:46,680 --> 00:21:50,240 Anyways, I either link it to dev null 594 00:21:50,240 --> 00:21:54,360 or have the end script greater than 595 00:21:54,360 --> 00:21:56,140 roots batch history. 596 00:21:56,140 --> 00:21:58,880 So that it gets rid of any evidence 597 00:21:58,880 --> 00:22:00,760 of that having been used. 598 00:22:07,500 --> 00:22:08,980 Here's the hardware sources again. 599 00:22:09,360 --> 00:22:11,720 The 30 gig USB drive 600 00:22:11,720 --> 00:22:14,860 is www.baseoncomputers.com. 601 00:22:15,140 --> 00:22:17,320 Now, they're friendly Chinese people 602 00:22:17,320 --> 00:22:19,520 and don't ask them on how to get this 603 00:22:19,520 --> 00:22:20,160 to working in Linux 604 00:22:20,160 --> 00:22:21,140 but it does work. 605 00:22:21,280 --> 00:22:22,340 I actually have made it work. 606 00:22:22,500 --> 00:22:24,220 With the modern USB kernel, 607 00:22:24,400 --> 00:22:25,200 it's just plug and play. 608 00:22:25,460 --> 00:22:26,040 In fact, 609 00:22:26,140 --> 00:22:27,200 you could even unmount it automatically 610 00:22:27,200 --> 00:22:28,280 if you just unplug it. 611 00:22:28,380 --> 00:22:29,160 It's kind of cool. 612 00:22:30,760 --> 00:22:31,560 The keychains, 613 00:22:31,560 --> 00:22:32,900 you can Google USB keychain. 614 00:22:33,340 --> 00:22:34,720 I like the T-Rex one 615 00:22:34,720 --> 00:22:35,620 because it's really small. 616 00:22:36,240 --> 00:22:37,840 It's small and it actually has 617 00:22:37,840 --> 00:22:38,660 a little key thing on it. 618 00:22:38,900 --> 00:22:40,940 There's about 14 different ones you can get. 619 00:22:41,540 --> 00:22:43,260 You might want to get a USB hub, 620 00:22:44,080 --> 00:22:45,200 especially if you're using this 621 00:22:45,200 --> 00:22:46,580 because you've got to plug it 622 00:22:46,580 --> 00:22:47,500 in the back of the computer 623 00:22:47,500 --> 00:22:48,520 or you have to get one of those 624 00:22:48,520 --> 00:22:49,600 stupid extension cables. 625 00:22:50,040 --> 00:22:52,340 So I recommend a four port USB hub. 626 00:22:52,940 --> 00:22:56,120 Now, even better is if you get a USB 2.0 computer. 627 00:22:56,120 --> 00:22:58,540 Now, some interesting things I've found, 628 00:22:58,720 --> 00:23:03,020 there is a new USB 2.0 PCMCIA card available. 629 00:23:03,620 --> 00:23:04,460 It's $60. 630 00:23:04,900 --> 00:23:06,480 And what you can do is, 631 00:23:06,500 --> 00:23:08,160 so if you want to be cheap, 632 00:23:08,180 --> 00:23:10,400 you buy yourself a PC card reader 633 00:23:10,400 --> 00:23:11,100 for your desktop 634 00:23:11,100 --> 00:23:13,820 and you plug it into your desktop 635 00:23:13,820 --> 00:23:16,780 and then if you want to use it on your laptop, 636 00:23:16,980 --> 00:23:19,360 you just plug the USB 2.0 into your laptop. 637 00:23:19,500 --> 00:23:20,960 So it's kind of a portable way 638 00:23:20,960 --> 00:23:22,640 to take the USB 2.0 with you 639 00:23:22,640 --> 00:23:24,460 without having to spend $60, 640 00:23:24,460 --> 00:23:25,040 you know, 641 00:23:25,040 --> 00:23:25,800 the N plus one. 642 00:23:26,120 --> 00:23:26,840 For each one you want, 643 00:23:26,860 --> 00:23:27,620 you have to buy the controller. 644 00:23:28,420 --> 00:23:29,900 The only thing I have not tested 645 00:23:29,900 --> 00:23:31,940 because I did not have a chance to buy it, 646 00:23:32,000 --> 00:23:33,980 whether or not it actually works under Linux. 647 00:23:35,680 --> 00:23:36,840 Now, I do know it uses, 648 00:23:36,900 --> 00:23:38,580 the one that I found was a, 649 00:23:38,580 --> 00:23:39,280 I can't remember, 650 00:23:39,400 --> 00:23:40,440 it was ATEC or something, 651 00:23:40,520 --> 00:23:41,000 ATEC. 652 00:23:42,020 --> 00:23:44,320 And it uses the NEC chipset 653 00:23:44,320 --> 00:23:45,980 which is reputed to work 654 00:23:45,980 --> 00:23:47,140 in the kernel traffic. 655 00:23:47,620 --> 00:23:50,680 And as of the 2.5.29 656 00:23:50,680 --> 00:23:52,440 as of Friday, yesterday, 657 00:23:53,740 --> 00:23:55,320 supposedly has been listed as working. 658 00:23:55,320 --> 00:23:56,480 I've not tried it, 659 00:23:56,540 --> 00:23:57,620 so don't hold me to that. 660 00:23:58,480 --> 00:24:00,400 But it's ironic to think that 661 00:24:00,400 --> 00:24:02,840 Linux will probably have USB 2.0 support 662 00:24:02,840 --> 00:24:03,520 before Windows. 663 00:24:03,780 --> 00:24:03,940 Haha. 664 00:24:04,100 --> 00:24:04,620 Anyways. 665 00:24:07,380 --> 00:24:09,700 Since the file system is encrypted 666 00:24:09,700 --> 00:24:11,040 at the device level, 667 00:24:11,240 --> 00:24:13,080 you can put stuff on NFS drives 668 00:24:13,080 --> 00:24:14,680 and have the contents be secure 669 00:24:14,680 --> 00:24:15,460 from eavesdropping. 670 00:24:15,820 --> 00:24:16,600 So for instance, 671 00:24:16,720 --> 00:24:17,500 one of the applications 672 00:24:17,500 --> 00:24:19,080 that you can actually do 673 00:24:19,080 --> 00:24:22,220 is have an NFS drive 674 00:24:22,220 --> 00:24:23,820 where you keep your home directory. 675 00:24:23,820 --> 00:24:25,440 Say that you've got NFS mounts 676 00:24:25,440 --> 00:24:26,420 and you don't want, 677 00:24:26,540 --> 00:24:27,180 you know, 678 00:24:27,300 --> 00:24:28,900 Joe Blow system administrator 679 00:24:28,900 --> 00:24:30,520 who you don't have any control over 680 00:24:30,520 --> 00:24:31,260 looking at your stuff. 681 00:24:31,580 --> 00:24:34,060 So you create a happy little file system 682 00:24:34,060 --> 00:24:36,440 that you mount with a low setup. 683 00:24:36,760 --> 00:24:37,260 Now obviously, 684 00:24:37,500 --> 00:24:38,500 if you don't have control 685 00:24:38,500 --> 00:24:39,240 of your workstation, 686 00:24:39,500 --> 00:24:40,740 well, you're out of luck. 687 00:24:40,980 --> 00:24:42,240 But for the most part, 688 00:24:42,400 --> 00:24:43,280 if you can do a boot 689 00:24:43,280 --> 00:24:44,020 or, you know, 690 00:24:44,020 --> 00:24:44,740 run any kind of, 691 00:24:44,880 --> 00:24:46,080 well, not that I would ever advocate 692 00:24:46,080 --> 00:24:47,420 hacking a Solaris box, 693 00:24:47,600 --> 00:24:48,960 but it takes about 10 seconds 694 00:24:48,960 --> 00:24:50,320 to get root on a Solaris box 695 00:24:50,320 --> 00:24:51,800 and install your own modules. 696 00:24:51,980 --> 00:24:52,780 Although it wouldn't work 697 00:24:52,780 --> 00:24:53,440 on a Solaris box 698 00:24:53,820 --> 00:24:54,080 because it's not Linux, 699 00:24:54,180 --> 00:24:54,460 but anyways. 700 00:24:56,060 --> 00:24:57,780 You could actually GAC, 701 00:24:57,920 --> 00:24:59,420 put it on an SMB file system. 702 00:24:59,580 --> 00:25:00,840 So you could actually use low setup, 703 00:25:01,260 --> 00:25:02,460 set up the file system 704 00:25:02,460 --> 00:25:03,360 across the network 705 00:25:03,360 --> 00:25:04,560 on your Windows network 706 00:25:04,560 --> 00:25:05,840 and use low setup 707 00:25:05,840 --> 00:25:07,200 and mount to mount 708 00:25:07,200 --> 00:25:08,700 the file system using SMB. 709 00:25:08,900 --> 00:25:09,820 You could do the same thing 710 00:25:09,820 --> 00:25:10,380 for NetWare. 711 00:25:10,500 --> 00:25:11,240 You could use the same thing 712 00:25:11,240 --> 00:25:11,720 for Andrew. 713 00:25:11,920 --> 00:25:12,620 You could do the same thing 714 00:25:12,620 --> 00:25:14,460 for any kind of a disconnected, 715 00:25:14,700 --> 00:25:15,800 any kind of a file system. 716 00:25:16,100 --> 00:25:17,140 So you, I mean, 717 00:25:17,180 --> 00:25:18,320 for the, you know, 718 00:25:18,380 --> 00:25:19,740 so it's really powerful. 719 00:25:20,300 --> 00:25:22,800 So you can essentially have trusted data 720 00:25:22,800 --> 00:25:24,080 on an untrusted source. 721 00:25:24,320 --> 00:25:25,180 Now the nice thing is, 722 00:25:25,260 --> 00:25:26,660 is when the data is being sent 723 00:25:26,660 --> 00:25:27,420 across the network, 724 00:25:27,580 --> 00:25:28,220 it's encrypted. 725 00:25:28,800 --> 00:25:29,880 Because it's going through 726 00:25:29,880 --> 00:25:30,700 the loopback driver. 727 00:25:31,040 --> 00:25:31,900 What happens is, 728 00:25:31,920 --> 00:25:32,760 is the data essentially, 729 00:25:33,040 --> 00:25:34,860 it goes to the unencrypted 730 00:25:34,860 --> 00:25:35,620 of the loopback device. 731 00:25:35,760 --> 00:25:37,080 The loopback device encrypts it 732 00:25:37,080 --> 00:25:37,940 with AES 733 00:25:37,940 --> 00:25:39,260 and writes it to the device. 734 00:25:39,760 --> 00:25:40,600 So that no matter 735 00:25:40,600 --> 00:25:41,400 where you're writing to, 736 00:25:41,480 --> 00:25:42,140 it's always encrypted. 737 00:25:43,060 --> 00:25:43,500 Obviously, 738 00:25:43,500 --> 00:25:44,480 if someone has access 739 00:25:44,480 --> 00:25:45,440 to the local system, 740 00:25:45,580 --> 00:25:46,000 well, no. 741 00:25:46,120 --> 00:25:46,680 Or yes, 742 00:25:46,820 --> 00:25:48,120 and now here are some caveats. 743 00:25:48,340 --> 00:25:50,640 If your loop file system is mounted, 744 00:25:50,800 --> 00:25:51,860 it is vulnerable. 745 00:25:52,140 --> 00:25:52,780 It means that 746 00:25:52,800 --> 00:25:53,520 it is unencrypted 747 00:25:53,520 --> 00:25:55,240 and it is currently readable 748 00:25:55,240 --> 00:25:56,560 by anyone who has read access 749 00:25:56,560 --> 00:25:57,220 to the system. 750 00:25:57,700 --> 00:25:59,540 Now you can use file system permissions 751 00:25:59,540 --> 00:26:00,180 in Unix 752 00:26:00,180 --> 00:26:01,220 to make it 7-0-0 753 00:26:01,220 --> 00:26:02,520 and protect it a little better. 754 00:26:02,760 --> 00:26:03,560 But again, 755 00:26:03,680 --> 00:26:06,280 that's subject to the file system permissions 756 00:26:06,280 --> 00:26:06,840 in Unix. 757 00:26:07,460 --> 00:26:08,400 Another thing you need 758 00:26:08,400 --> 00:26:08,980 to bear in mind 759 00:26:08,980 --> 00:26:09,340 is that 760 00:26:09,340 --> 00:26:10,240 if you lose your key, 761 00:26:10,420 --> 00:26:11,640 you have lost the data. 762 00:26:11,920 --> 00:26:13,120 It's pretty much history. 763 00:26:13,260 --> 00:26:14,240 So back up your keys. 764 00:26:14,740 --> 00:26:15,460 In fact, 765 00:26:15,500 --> 00:26:16,460 media like this are nice 766 00:26:16,460 --> 00:26:17,600 because you, 767 00:26:17,620 --> 00:26:18,980 you can put a write protect tab 768 00:26:18,980 --> 00:26:19,400 on this. 769 00:26:19,640 --> 00:26:20,520 And you just put it 770 00:26:20,520 --> 00:26:21,320 in write protect mode 771 00:26:21,320 --> 00:26:22,480 and you're done. 772 00:26:22,600 --> 00:26:22,780 So, 773 00:26:23,300 --> 00:26:24,600 it's flash media. 774 00:26:24,800 --> 00:26:25,720 It's not being rewritten. 775 00:26:25,940 --> 00:26:26,300 So, 776 00:26:26,380 --> 00:26:27,620 it'll practically never wear out 777 00:26:27,620 --> 00:26:28,000 in theory. 778 00:26:28,800 --> 00:26:29,280 So, 779 00:26:29,320 --> 00:26:30,240 that's a nice thought for, 780 00:26:30,300 --> 00:26:30,900 and they're durable. 781 00:26:30,980 --> 00:26:31,480 You drop them, 782 00:26:31,560 --> 00:26:32,220 who cares? 783 00:26:32,320 --> 00:26:32,580 You know, 784 00:26:32,580 --> 00:26:32,760 I mean, 785 00:26:32,760 --> 00:26:33,700 there's no moving parts. 786 00:26:33,880 --> 00:26:34,700 You drop this, 787 00:26:34,840 --> 00:26:35,800 you're in trouble. 788 00:26:36,080 --> 00:26:37,080 Especially if it's moving. 789 00:26:38,880 --> 00:26:39,360 Again, 790 00:26:39,480 --> 00:26:40,000 another thing, 791 00:26:40,080 --> 00:26:40,440 another, 792 00:26:40,440 --> 00:26:41,600 another thought, 793 00:26:41,840 --> 00:26:43,340 devices like this, 794 00:26:43,460 --> 00:26:44,060 for instance, 795 00:26:44,140 --> 00:26:45,080 the Terrapin Mine, 796 00:26:45,260 --> 00:26:47,020 you can use those kinds of devices. 797 00:26:47,280 --> 00:26:49,260 You can use PDAs. 798 00:26:49,420 --> 00:26:51,000 Anything with removable 799 00:26:51,000 --> 00:26:52,540 accessible storage 800 00:26:52,540 --> 00:26:52,780 is not a problem. 801 00:26:52,800 --> 00:26:53,160 You can do it 802 00:26:53,160 --> 00:26:53,520 with a removable 803 00:26:53,520 --> 00:26:54,860 mountable file system. 804 00:26:55,080 --> 00:26:55,620 In other words, 805 00:26:55,680 --> 00:26:56,720 all these devices 806 00:26:56,720 --> 00:26:57,320 that you have 807 00:26:57,320 --> 00:26:59,160 that can do Windows SMB, 808 00:26:59,240 --> 00:26:59,980 you can use 809 00:26:59,980 --> 00:27:00,960 to store the data. 810 00:27:01,580 --> 00:27:01,980 So, 811 00:27:02,060 --> 00:27:03,240 your form factor 812 00:27:03,240 --> 00:27:04,500 is practically unlimited 813 00:27:04,500 --> 00:27:05,840 with this application. 814 00:27:06,920 --> 00:27:07,320 Again, 815 00:27:07,460 --> 00:27:07,840 you can do it 816 00:27:07,840 --> 00:27:08,480 across wireless. 817 00:27:08,660 --> 00:27:09,140 You can do it 818 00:27:09,140 --> 00:27:09,600 with this. 819 00:27:09,740 --> 00:27:10,360 You can do it 820 00:27:10,360 --> 00:27:10,560 with, 821 00:27:10,580 --> 00:27:11,820 with this. 822 00:27:12,360 --> 00:27:12,980 You can do it 823 00:27:12,980 --> 00:27:14,520 with a one gig key chain. 824 00:27:15,200 --> 00:27:15,600 So, 825 00:27:15,660 --> 00:27:16,840 your options 826 00:27:16,840 --> 00:27:18,180 for where you want 827 00:27:18,180 --> 00:27:18,880 to store the stuff, 828 00:27:19,080 --> 00:27:19,820 you can store it 829 00:27:19,820 --> 00:27:20,580 on CDRW. 830 00:27:20,660 --> 00:27:21,540 If you just want 831 00:27:25,860 --> 00:27:26,300 And, 832 00:27:27,160 --> 00:27:27,600 okay, 833 00:27:27,800 --> 00:27:28,520 other possibilities. 834 00:27:28,740 --> 00:27:29,140 Floppies, 835 00:27:29,180 --> 00:27:29,680 zip disks, 836 00:27:30,000 --> 00:27:30,580 jazz disks, 837 00:27:30,740 --> 00:27:30,940 avoid. 838 00:27:31,020 --> 00:27:31,600 They do tend 839 00:27:31,600 --> 00:27:32,200 to eat data. 840 00:27:33,400 --> 00:27:34,640 Encrypted root file systems. 841 00:27:34,920 --> 00:27:35,600 You can actually have 842 00:27:35,600 --> 00:27:36,800 the root file system 843 00:27:36,800 --> 00:27:37,740 before you even 844 00:27:37,740 --> 00:27:38,440 boot the system 845 00:27:38,440 --> 00:27:38,940 be encrypted. 846 00:27:39,240 --> 00:27:39,640 So, 847 00:27:39,660 --> 00:27:39,880 if you, 848 00:27:39,900 --> 00:27:40,740 if you're truly paranoid 849 00:27:40,740 --> 00:27:41,500 and have a laptop, 850 00:27:41,840 --> 00:27:43,000 you type in a password 851 00:27:43,000 --> 00:27:43,840 before it'll even boot. 852 00:27:44,280 --> 00:27:44,860 I mean, 853 00:27:44,880 --> 00:27:45,920 after the BIOS password, 854 00:27:46,020 --> 00:27:46,440 which of course 855 00:27:46,440 --> 00:27:47,280 you all put on your laptops, 856 00:27:47,380 --> 00:27:47,700 don't you? 857 00:27:48,500 --> 00:27:49,180 Encrypted swap, 858 00:27:49,400 --> 00:27:50,080 for those of you 859 00:27:50,080 --> 00:27:50,560 worried about 860 00:27:52,800 --> 00:27:53,200 whether or not 861 00:27:53,200 --> 00:27:53,680 it can be read. 862 00:27:54,340 --> 00:27:54,780 Again, 863 00:27:54,940 --> 00:27:56,120 view the readme file 864 00:27:56,120 --> 00:27:57,540 inside of loop-aes 865 00:27:57,540 --> 00:27:58,380 for even more 866 00:27:58,380 --> 00:27:59,120 wonderful ideas. 867 00:28:00,260 --> 00:28:00,700 And, 868 00:28:00,840 --> 00:28:01,300 this is the part 869 00:28:01,300 --> 00:28:01,960 where actually, 870 00:28:03,220 --> 00:28:04,200 where I stop, 871 00:28:04,420 --> 00:28:05,020 because this is 872 00:28:05,020 --> 00:28:05,780 the other option 873 00:28:05,780 --> 00:28:07,200 that I did not 874 00:28:07,200 --> 00:28:07,700 correct. 875 00:28:07,860 --> 00:28:08,240 How much time 876 00:28:08,240 --> 00:28:08,520 do I have? 877 00:28:08,560 --> 00:28:08,940 What time is it? 878 00:28:11,140 --> 00:28:12,120 I have 30 minutes? 879 00:28:13,140 --> 00:28:13,940 25 minutes? 880 00:28:14,340 --> 00:28:14,600 Okay. 881 00:28:15,440 --> 00:28:16,380 I'm gonna open you up 882 00:28:16,380 --> 00:28:16,780 for questions 883 00:28:16,780 --> 00:28:17,180 in a second. 884 00:28:17,400 --> 00:28:18,540 I ran across 885 00:28:18,540 --> 00:28:19,800 a very cool utility 886 00:28:19,800 --> 00:28:20,700 on FreshMeet 887 00:28:20,700 --> 00:28:21,300 two days ago. 888 00:28:21,460 --> 00:28:22,060 It's called 889 00:28:22,060 --> 00:28:22,780 SMB2. 890 00:28:22,800 --> 00:28:23,080 I mean, 891 00:28:23,120 --> 00:28:24,660 pam underscore mount. 892 00:28:25,100 --> 00:28:25,580 And, 893 00:28:25,620 --> 00:28:26,260 what it does, 894 00:28:26,560 --> 00:28:27,580 I haven't used it yet, 895 00:28:27,780 --> 00:28:28,500 but it allows 896 00:28:28,500 --> 00:28:29,140 a user 897 00:28:29,140 --> 00:28:29,820 to mount 898 00:28:29,820 --> 00:28:30,740 a loopback encrypted 899 00:28:30,740 --> 00:28:31,620 file system 900 00:28:31,620 --> 00:28:33,080 automatically upon login. 901 00:28:33,620 --> 00:28:34,100 So, 902 00:28:34,140 --> 00:28:35,100 all that nasty stuff 903 00:28:35,100 --> 00:28:35,620 that I saw about 904 00:28:35,620 --> 00:28:36,340 logging in as root, 905 00:28:36,520 --> 00:28:37,180 you don't even need 906 00:28:37,180 --> 00:28:37,920 to do that. 907 00:28:38,140 --> 00:28:38,840 You just log in 908 00:28:38,840 --> 00:28:39,280 as your user, 909 00:28:39,360 --> 00:28:40,160 you type your password, 910 00:28:40,380 --> 00:28:41,680 and in theory, 911 00:28:41,860 --> 00:28:42,580 it'll mount 912 00:28:42,580 --> 00:28:43,300 your file system. 913 00:28:43,560 --> 00:28:44,220 Be aware 914 00:28:44,220 --> 00:28:45,140 that the 915 00:28:45,980 --> 00:28:46,920 character password 916 00:28:46,920 --> 00:28:47,680 thing though, 917 00:28:47,740 --> 00:28:48,640 might be a problem 918 00:28:48,640 --> 00:28:50,000 because if you only have 919 00:28:50,000 --> 00:28:51,240 a miniscule 920 00:28:52,800 --> 00:28:53,180 group AES 921 00:28:53,180 --> 00:28:53,620 will say, 922 00:28:53,700 --> 00:28:54,180 go to hell 923 00:28:54,180 --> 00:28:54,760 and you're not going 924 00:28:54,760 --> 00:28:55,380 to encrypt this 925 00:28:55,380 --> 00:28:56,160 because I need 926 00:28:56,160 --> 00:28:56,820 40 characters. 927 00:28:57,020 --> 00:28:57,180 So you, 928 00:28:57,240 --> 00:28:57,900 you know, 929 00:28:57,940 --> 00:28:58,760 remember your, 930 00:28:58,800 --> 00:28:59,040 your, 931 00:28:59,080 --> 00:29:00,120 your famous quotes 932 00:29:00,120 --> 00:29:01,000 and things like that 933 00:29:01,000 --> 00:29:01,460 for passwords. 934 00:29:01,640 --> 00:29:02,460 They make very good passwords 935 00:29:02,460 --> 00:29:02,760 anyways. 936 00:29:03,120 --> 00:29:03,480 Well, 937 00:29:03,560 --> 00:29:04,220 at least they did make 938 00:29:04,220 --> 00:29:04,800 very good passwords. 939 00:29:06,520 --> 00:29:06,880 Again, 940 00:29:07,200 --> 00:29:07,960 so that's, 941 00:29:07,960 --> 00:29:09,340 so SMB underscore mount 942 00:29:09,340 --> 00:29:10,540 is a very cool thing. 943 00:29:12,020 --> 00:29:12,380 And, 944 00:29:12,560 --> 00:29:13,040 like I said, 945 00:29:13,080 --> 00:29:13,980 I've been using this now 946 00:29:13,980 --> 00:29:14,600 for three months. 947 00:29:15,600 --> 00:29:15,960 I, 948 00:29:16,080 --> 00:29:16,540 like I said, 949 00:29:16,540 --> 00:29:17,180 I go in in the morning, 950 00:29:17,360 --> 00:29:17,600 I, 951 00:29:18,220 --> 00:29:19,360 I mount the device, 952 00:29:19,640 --> 00:29:20,140 I, 953 00:29:20,280 --> 00:29:21,300 I save all my stuff. 954 00:29:21,500 --> 00:29:22,560 The only time I ever notice 955 00:29:22,560 --> 00:29:23,360 the fact that it's only 956 00:29:23,360 --> 00:29:24,200 a megabyte per second 957 00:29:24,200 --> 00:29:25,400 is when I'm compiling 958 00:29:25,400 --> 00:29:25,880 source code 959 00:29:25,880 --> 00:29:26,440 and I forget 960 00:29:26,440 --> 00:29:27,920 that I actually am 961 00:29:27,920 --> 00:29:28,460 on the system. 962 00:29:28,720 --> 00:29:29,940 Or when I'm copying 963 00:29:29,940 --> 00:29:30,980 things from it 964 00:29:30,980 --> 00:29:31,740 that are not, 965 00:29:31,760 --> 00:29:32,080 you know, 966 00:29:32,080 --> 00:29:33,580 anything more than one megabit. 967 00:29:33,600 --> 00:29:34,560 Obviously copying a 968 00:29:34,560 --> 00:29:35,900 10 megabyte file 969 00:29:35,900 --> 00:29:36,760 from that file 970 00:29:36,760 --> 00:29:37,460 to say temp 971 00:29:37,460 --> 00:29:38,100 for whatever. 972 00:29:38,440 --> 00:29:39,200 That's the only time 973 00:29:39,200 --> 00:29:39,540 I notice 974 00:29:39,540 --> 00:29:40,380 because its file system 975 00:29:40,380 --> 00:29:41,060 caches everything. 976 00:29:41,380 --> 00:29:42,740 So you really don't see 977 00:29:42,740 --> 00:29:43,300 the, 978 00:29:43,300 --> 00:29:43,380 the, 979 00:29:43,380 --> 00:29:44,760 the performance penalty. 980 00:29:45,060 --> 00:29:46,140 Another thing is 981 00:29:46,140 --> 00:29:46,820 I highly recommend 982 00:29:46,820 --> 00:29:47,320 using 983 00:29:47,960 --> 00:29:48,480 EXT3 984 00:29:48,480 --> 00:29:49,840 on any kind 985 00:29:49,840 --> 00:29:50,680 of removable device. 986 00:29:51,860 --> 00:29:52,680 FSC cane, 987 00:29:52,840 --> 00:29:53,760 a 10 gig disk 988 00:29:53,760 --> 00:29:54,820 or a 30 gig disk 989 00:29:54,820 --> 00:29:55,540 can make, 990 00:29:55,580 --> 00:29:56,160 take years 991 00:29:56,160 --> 00:29:56,760 off your life. 992 00:29:56,960 --> 00:29:58,140 So I highly recommend 993 00:29:58,140 --> 00:29:58,580 that you, 994 00:29:58,660 --> 00:29:59,060 you run 995 00:29:59,060 --> 00:30:00,160 a journaling file system 996 00:30:00,160 --> 00:30:00,920 of some kind 997 00:30:00,920 --> 00:30:02,000 or some kind 998 00:30:02,000 --> 00:30:03,120 of a soft update system 999 00:30:03,120 --> 00:30:04,800 because these things 1000 00:30:04,800 --> 00:30:05,580 can be disconnected 1001 00:30:05,580 --> 00:30:06,340 in moments notice. 1002 00:30:06,740 --> 00:30:07,260 Again, 1003 00:30:07,380 --> 00:30:08,960 the USB 2.0 option 1004 00:30:08,960 --> 00:30:09,620 is very cool 1005 00:30:09,620 --> 00:30:10,260 because this goes 1006 00:30:10,260 --> 00:30:11,260 from one megasecond 1007 00:30:11,260 --> 00:30:11,760 to seven 1008 00:30:13,680 --> 00:30:14,740 For processor, 1009 00:30:14,940 --> 00:30:15,420 I, 1010 00:30:15,520 --> 00:30:16,560 I have a one gigahertz 1011 00:30:16,560 --> 00:30:17,060 Athalon 1012 00:30:17,060 --> 00:30:18,500 and I have not noticed 1013 00:30:18,500 --> 00:30:19,640 any significant 1014 00:30:19,640 --> 00:30:20,560 processor utilization 1015 00:30:21,120 --> 00:30:21,860 even during heavy 1016 00:30:21,860 --> 00:30:22,560 disk access. 1017 00:30:22,780 --> 00:30:23,240 Two percent. 1018 00:30:24,060 --> 00:30:24,880 With no 1019 00:30:24,880 --> 00:30:25,740 difference, 1020 00:30:25,940 --> 00:30:26,320 I benchmark 1021 00:30:26,320 --> 00:30:26,740 the, 1022 00:30:26,880 --> 00:30:28,080 the non-encrypted 1023 00:30:28,080 --> 00:30:29,040 versus the encrypted partition 1024 00:30:29,040 --> 00:30:30,080 so at one megabit 1025 00:30:30,080 --> 00:30:30,840 there is no 1026 00:30:30,840 --> 00:30:32,200 system slowdown 1027 00:30:32,200 --> 00:30:33,880 on a reasonably 1028 00:30:33,880 --> 00:30:34,980 modern processor. 1029 00:30:35,380 --> 00:30:36,480 Obviously the libretto 1030 00:30:36,480 --> 00:30:37,120 would probably be 1031 00:30:37,120 --> 00:30:37,640 a different story. 1032 00:30:38,880 --> 00:30:40,200 Other than that, 1033 00:30:40,220 --> 00:30:40,380 you know, 1034 00:30:40,380 --> 00:30:40,740 here's the little, 1035 00:30:40,880 --> 00:30:41,240 this, 1036 00:30:41,360 --> 00:30:42,140 this thing's kind of cool 1037 00:30:43,300 --> 00:30:43,500 because it's got 1038 00:30:43,920 --> 00:30:44,280 and, 1039 00:30:44,780 --> 00:30:45,480 and a nice, 1040 00:30:45,560 --> 00:30:46,680 well this is the yucky 1041 00:30:46,680 --> 00:30:47,320 Belkin one 1042 00:30:47,320 --> 00:30:48,240 but they actually comes 1043 00:30:48,240 --> 00:30:49,080 with a really nice cable 1044 00:30:49,080 --> 00:30:49,860 that's really long 1045 00:30:49,860 --> 00:30:50,800 and so you can just 1046 00:30:50,800 --> 00:30:51,340 take it with you 1047 00:30:51,340 --> 00:30:51,940 and in addition 1048 00:30:51,940 --> 00:30:53,580 to using this thing 1049 00:30:53,580 --> 00:30:53,960 for your, 1050 00:30:54,080 --> 00:30:54,660 you can have your, 1051 00:30:54,720 --> 00:30:54,940 your, 1052 00:30:54,940 --> 00:30:55,160 your, 1053 00:30:55,220 --> 00:30:56,220 all your analysis tools 1054 00:30:56,220 --> 00:30:56,640 on this 1055 00:30:56,640 --> 00:30:57,700 and you just plug it 1056 00:30:57,700 --> 00:30:58,760 into your compromised host, 1057 00:30:58,900 --> 00:30:59,700 you've got your statically 1058 00:30:59,700 --> 00:31:00,380 linked versions 1059 00:31:00,380 --> 00:31:01,260 of all your utilities 1060 00:31:01,260 --> 00:31:02,420 and you can use it 1061 00:31:02,420 --> 00:31:03,100 for forensics. 1062 00:31:03,200 --> 00:31:03,560 Anyways, 1063 00:31:04,440 --> 00:31:05,200 I feel like the 1064 00:31:05,200 --> 00:31:05,820 Ginsu commercial. 1065 00:31:06,480 --> 00:31:06,960 Anyways, 1066 00:31:08,040 --> 00:31:09,000 do you want me 1067 00:31:09,000 --> 00:31:09,340 to open this up 1068 00:31:09,340 --> 00:31:09,940 for questions now? 1069 00:31:10,120 --> 00:31:10,520 I, 1070 00:31:10,540 --> 00:31:11,320 I'm pretty much done. 1071 00:31:12,020 --> 00:31:12,500 If, 1072 00:31:12,620 --> 00:31:13,600 if we're an active, 1073 00:31:13,780 --> 00:31:15,440 are we an active group 1074 00:31:15,440 --> 00:31:16,320 for asking questions? 1075 00:31:16,980 --> 00:31:18,240 I'm asking the audience 1076 00:31:18,240 --> 00:31:19,020 as, 1077 00:31:19,100 --> 00:31:20,560 as somewhat non-rhetorical. 1078 00:31:20,920 --> 00:31:22,020 Or are we all hot 1079 00:31:22,020 --> 00:31:22,720 and just want to be done? 1080 00:31:25,040 --> 00:31:25,520 Sir? 1081 00:31:26,260 --> 00:31:26,740 . 1082 00:31:28,460 --> 00:31:29,960 The URL for which? 1083 00:31:30,600 --> 00:31:31,080 . 1084 00:31:32,380 --> 00:31:33,200 The URLs, 1085 00:31:33,400 --> 00:31:34,440 I thought that 1086 00:31:34,440 --> 00:31:34,960 I had them 1087 00:31:34,960 --> 00:31:35,800 but I don't think 1088 00:31:35,800 --> 00:31:35,940 I do. 1089 00:31:36,520 --> 00:31:37,640 The URL actually 1090 00:31:37,640 --> 00:31:38,840 for loop AES 1091 00:31:39,340 --> 00:31:39,780 is, 1092 00:31:40,240 --> 00:31:40,840 I'm going to have 1093 00:31:40,840 --> 00:31:41,500 to go through this. 1094 00:31:42,660 --> 00:31:43,400 Come on, 1095 00:31:43,400 --> 00:31:43,840 BSD. 1096 00:31:45,840 --> 00:31:46,800 I thought I had 1097 00:31:46,800 --> 00:31:47,160 the URLs. 1098 00:31:48,080 --> 00:31:48,820 I don't. 1099 00:31:49,040 --> 00:31:49,740 The URL 1100 00:31:49,740 --> 00:31:50,480 for loop AES, 1101 00:31:50,500 --> 00:31:51,220 go to SourceForge 1102 00:31:51,880 --> 00:31:52,980 and type in, 1103 00:31:53,000 --> 00:31:53,540 and go to the little 1104 00:31:53,540 --> 00:31:53,960 search box 1105 00:31:53,960 --> 00:31:54,860 and type in 1106 00:31:54,860 --> 00:31:55,880 loop dash AES. 1107 00:31:56,240 --> 00:31:57,320 That will find it. 1108 00:31:57,660 --> 00:31:58,380 For PAM 1109 00:31:58,380 --> 00:31:59,180 underscore mount, 1110 00:31:59,760 --> 00:32:01,160 let me go to 1111 00:32:01,160 --> 00:32:02,000 a command prompt 1112 00:32:02,000 --> 00:32:03,100 and I will tell you 1113 00:32:03,100 --> 00:32:03,960 exactly what that is 1114 00:32:03,960 --> 00:32:04,540 because I do have 1115 00:32:04,540 --> 00:32:05,340 that on the system. 1116 00:32:05,400 --> 00:32:05,780 So, 1117 00:32:07,500 --> 00:32:08,820 www.baseoncomputers.com 1118 00:32:08,820 --> 00:32:09,200 is where you 1119 00:32:09,200 --> 00:32:09,560 buy these. 1120 00:32:11,200 --> 00:32:11,660 And, 1121 00:32:12,440 --> 00:32:12,900 obviously, 1122 00:32:14,320 --> 00:32:15,780 www.nomadworld.com 1123 00:32:15,780 --> 00:32:16,240 and not that 1124 00:32:16,240 --> 00:32:16,660 I buy one 1125 00:32:16,660 --> 00:32:17,000 because it's 1126 00:32:17,000 --> 00:32:17,440 pretty useless 1127 00:32:17,440 --> 00:32:17,940 at this point 1128 00:32:17,940 --> 00:32:18,620 but they're cool. 1129 00:32:19,540 --> 00:32:20,000 Control, 1130 00:32:20,300 --> 00:32:20,540 alt, 1131 00:32:20,560 --> 00:32:20,860 backspace. 1132 00:32:23,000 --> 00:32:23,460 Okay. 1133 00:32:23,600 --> 00:32:24,000 Yes, 1134 00:32:24,020 --> 00:32:24,400 I'm logging 1135 00:32:24,400 --> 00:32:24,720 this route. 1136 00:32:24,800 --> 00:32:25,180 I know it's bad. 1137 00:32:27,340 --> 00:32:27,800 Okay. 1138 00:32:28,200 --> 00:32:28,460 Where 1139 00:32:28,460 --> 00:32:29,120 is 1140 00:32:29,120 --> 00:32:29,620 cd 1141 00:32:29,620 --> 00:32:30,380 slash 1142 00:32:30,380 --> 00:32:30,960 home 1143 00:32:31,940 --> 00:32:32,400 slash 1144 00:32:33,140 --> 00:32:33,600 jam? 1145 00:32:34,000 --> 00:32:34,460 . 1146 00:32:35,300 --> 00:32:35,760 . 1147 00:32:36,940 --> 00:32:37,520 Okay. 1148 00:32:38,640 --> 00:32:39,220 cd 1149 00:32:39,220 --> 00:32:39,940 pam. 1150 00:32:40,360 --> 00:32:40,940 Pam 1151 00:32:40,940 --> 00:32:41,280 underscore 1152 00:32:41,280 --> 00:32:41,640 mount 1153 00:32:41,640 --> 00:32:42,160 is available 1154 00:32:42,160 --> 00:32:42,800 on fresh 1155 00:32:42,800 --> 00:32:45,360 meat www.freshmeat.net 1156 00:32:45,360 --> 00:32:46,560 and just type 1157 00:32:46,560 --> 00:32:48,080 in fresh 1158 00:32:48,080 --> 00:32:48,460 meat 1159 00:32:48,460 --> 00:32:51,840 www.freshmeat.net. 1160 00:32:51,940 --> 00:32:52,380 It is not 1161 00:32:52,380 --> 00:32:52,900 a porn site 1162 00:32:52,900 --> 00:32:53,300 although, 1163 00:32:53,340 --> 00:32:53,620 that sounds 1164 00:32:53,620 --> 00:32:53,960 like one. 1165 00:32:58,660 --> 00:32:59,240 Anyway, 1166 00:32:59,380 --> 00:32:59,880 so basically, 1167 00:33:00,640 --> 00:33:01,320 that's the 1168 00:33:01,320 --> 00:33:01,520 PAM 1169 00:33:01,520 --> 00:33:02,080 mount utility. 1170 00:33:02,420 --> 00:33:03,320 That one is, 1171 00:33:05,780 --> 00:33:10,220 nice to think that you could have a multi-user system with different encryption options for 1172 00:33:10,220 --> 00:33:16,280 each different user. Any other questions? I guess you. 1173 00:33:17,700 --> 00:33:23,340 Audience member 6 in audience If you have an IDE hard disk, what? 1174 00:33:23,780 --> 00:33:29,440 Audience member 6 in audience Oh, you're basically asking can you encrypt 1175 00:33:29,440 --> 00:33:36,440 a block device like an IDE hard disk. Yes. You can use any kind of a device that is a 1176 00:33:36,440 --> 00:33:39,280 block device. Audience member 7 in audience 1177 00:33:39,280 --> 00:33:44,920 I'm negligible. Because it's AES, it's actually designed to be fast. It uses the Rendall algorithm, 1178 00:33:45,140 --> 00:33:50,220 if you're familiar with that. It's much more efficient than DES or Triple DES, which is 1179 00:33:50,220 --> 00:33:54,260 just a nightmare without hardware acceleration. Like I said, on a modern processor, probably 1180 00:33:54,260 --> 00:33:59,120 about four to five percent of processor. Again, it's... 1181 00:34:00,060 --> 00:34:04,440 Audience member 6 in audience Third-put? Same. I've not seen any slowdown 1182 00:34:04,440 --> 00:34:09,040 up to a megabit. Now, if you start looking at 30, 40, 50, 100 megs a second, there might 1183 00:34:09,040 --> 00:34:12,160 be some issues. But that's what multi-processors are for. 1184 00:34:13,020 --> 00:34:17,880 Audience member 6 in audience No, I didn't say that. I've only tested 1185 00:34:17,880 --> 00:34:24,060 up to a megabyte per second. I have used it on a system where I was using a 26-meg 1186 00:34:24,060 --> 00:34:29,100 per disk, just subjective, and I did not notice any difference. I was able to copy and paste 1187 00:34:29,120 --> 00:34:33,500 and copy a file almost instantaneously, as if it was a normal hard drive. It's pretty 1188 00:34:33,500 --> 00:34:38,760 much transparent. Questions continued? I guess the gentleman in the black over there? You. 1189 00:34:40,760 --> 00:34:44,840 Audience member 7 in audience Please speak up much louder. I cannot hear you. 1190 00:34:45,340 --> 00:34:58,240 Audience member 7 in audience Can you come up? I cannot hear you. Okay, thank you. 1191 00:35:02,660 --> 00:35:03,240 Audience member 8 in audience 1192 00:35:03,240 --> 00:35:16,240 There is obviously the problem that if Mount knows how to mount a rootback encrypted file 1193 00:35:16,240 --> 00:35:21,760 system, probably someone doing crypto analysis would be able to see the fact that it was 1194 00:35:21,760 --> 00:35:27,860 in fact done using that cipher. However, at least you've introduced a layer of obscurity 1195 00:35:28,190 --> 00:35:29,100 on which I know they said, but I don't think they're going to be able to see. I think 1196 00:35:29,120 --> 00:35:35,140 security through obscurity is bad, but it's at least a layer of obscurity that probably 1197 00:35:35,140 --> 00:35:40,700 75 to 95% of the people in the world, or at least in most circles that you run into, are 1198 00:35:40,700 --> 00:35:44,100 not going to be able to figure out. I think to answer your question, yes, crypto analysis 1199 00:35:44,100 --> 00:35:48,780 would probably reveal the fact, the existence of the disk. If you want to get really sneaky, 1200 00:35:49,220 --> 00:35:53,480 you might try thinking about using steganography and writing your own file system driver and 1201 00:35:53,480 --> 00:35:58,160 storing the encrypted file inside of, say, a nice big MP3, but that's a different story. 1202 00:35:58,160 --> 00:35:58,960 Sir? 1203 00:35:59,760 --> 00:36:02,680 Do these slides correlate well with those on the CD? 1204 00:36:03,360 --> 00:36:04,180 Do these what? 1205 00:36:04,900 --> 00:36:11,580 Do these slides that you've shown us correlate well, presentation slides, correlate well 1206 00:36:11,580 --> 00:36:12,520 with those on the CD? 1207 00:36:12,700 --> 00:36:13,760 They're exactly the same. 1208 00:36:14,020 --> 00:36:14,360 Cool. 1209 00:36:15,640 --> 00:36:20,800 At least I think they are. Questions? Ma'am? 1210 00:36:22,660 --> 00:36:27,520 Oh, sorry. I didn't know you, yeah. Okay. 1211 00:36:27,600 --> 00:36:28,000 Okay. 1212 00:36:28,000 --> 00:36:28,140 Okay. 1213 00:36:28,860 --> 00:36:30,080 The kernel hive? 1214 00:36:31,100 --> 00:36:31,900 The kernel hive? 1215 00:36:32,140 --> 00:36:34,540 The international kernel patch. 1216 00:36:34,560 --> 00:36:39,480 Oh, well, originally the kernel, those kind of just stopped. If you actually look at, 1217 00:36:39,580 --> 00:36:46,620 I went to the kernel source, the crypto directory, and the kernel patch is like 2.3, and I know 1218 00:36:46,620 --> 00:36:50,460 that they list some other guy's URL way out in the middle of nowhere, but... 1219 00:36:54,300 --> 00:36:58,140 Yeah, I'm just saying, like I said, in my searches, and again, I may be wrong, but I 1220 00:36:58,140 --> 00:37:02,560 may be ignorant, that does happen sometimes. I did not find, I also did not like the idea 1221 00:37:02,560 --> 00:37:06,440 that it was directly in the kernel. I wanted to be able to load and unload a module so 1222 00:37:06,440 --> 00:37:11,180 I could leave a system protected or unprotected or with the ability to read or not read an 1223 00:37:11,180 --> 00:37:17,200 encrypted file system. So that was one of the, I did use the encrypted files, the kernel 1224 00:37:17,200 --> 00:37:22,360 patch, and it worked great. In fact, I think it's a little faster, to be honest, because 1225 00:37:22,360 --> 00:37:26,000 it's directly in the kernel, it's not a module and all those things. So anyways, that's 1226 00:37:26,000 --> 00:37:26,700 my answer. 1227 00:37:26,860 --> 00:37:27,180 Questions? 1228 00:37:29,400 --> 00:37:32,780 I guess that is it. Thank you for your attention and time.