1 00:00:25,400 --> 00:00:29,900 Transcribed by ESO, translated by — 2 00:00:59,900 --> 00:00:59,980 Transcribed by — 3 00:01:01,540 --> 00:01:09,840 Transcribed by — 4 00:01:44,200 --> 00:01:54,340 Transcribed by — 5 00:02:15,800 --> 00:02:24,860 Transcribed by — 6 00:02:58,920 --> 00:02:59,980 Transcribed by — 7 00:03:08,160 --> 00:03:08,240 Transcribed by — 8 00:03:38,640 --> 00:03:58,980 Transcribed by — 9 00:04:28,320 --> 00:04:29,600 Transcribed by — 10 00:04:30,000 --> 00:04:30,940 Transcribed by — 11 00:05:27,620 --> 00:05:29,960 Transcribed by — 12 00:05:58,580 --> 00:05:59,980 Transcribed by — 13 00:06:28,660 --> 00:06:29,580 Transcribed by — 14 00:06:39,820 --> 00:06:53,680 Transcribed by — 15 00:07:10,860 --> 00:07:22,120 Transcribed by — 16 00:07:39,480 --> 00:07:59,980 Transcribed by — 17 00:08:10,100 --> 00:08:10,180 Transcribed by — 18 00:08:39,800 --> 00:08:40,080 Transcribed by — 19 00:09:28,580 --> 00:09:29,980 Transcribed by — 20 00:09:37,740 --> 00:09:38,600 Transcribed by — 21 00:10:02,560 --> 00:10:05,620 Transcribed by — 22 00:10:31,080 --> 00:10:32,020 Transcribed by — 23 00:11:00,000 --> 00:11:00,680 Transcribed by — 24 00:11:30,320 --> 00:11:41,020 general. Don't tomato me, guys. Okay, so why do you need security? Very quickly. Sometimes 25 00:11:41,020 --> 00:11:48,060 you're targeted by really good guys. RFP rooted my box once. No, he didn't. But if he had, 26 00:11:48,060 --> 00:11:51,020 he might have done it because he was going after some bank and he wanted to make it look 27 00:11:51,020 --> 00:11:58,820 like I was going after the bank because then I'd get in trouble. You're also targeted by 28 00:11:58,820 --> 00:12:03,100 script kitties. You're also targeted by other hackers called script kitties. And I've met a 29 00:12:03,100 --> 00:12:11,280 couple of them here and there. Nobody here, though. And you get targeted by them, and that's 30 00:12:11,280 --> 00:12:14,720 what most of us are dealing with. We're getting targeted by script kitties because some script 31 00:12:14,720 --> 00:12:19,620 kitty found an exploit against whatever, RPC stat D. And they've got a scanner that goes and 32 00:12:19,620 --> 00:12:23,580 looks for people with that exploit. And then they go and scan, like, oh, I don't know, the 33 00:12:23,580 --> 00:12:28,320 entirety of at home. I didn't watch that happen. 34 00:12:29,740 --> 00:12:36,560 Yeah, so a lot of us forget. We kind of say, ah, I don't need to worry about getting hacked 35 00:12:36,560 --> 00:12:41,080 because I'm not interesting. And the thing is, you are interesting. You are interesting because 36 00:12:41,080 --> 00:12:45,800 you have an IP address. You put your box on the Internet 20 minutes ago and they found you. You 37 00:12:45,800 --> 00:12:54,080 got picked up by a scanner and now they come in for you. So what is Bastille doing in general, 38 00:12:54,220 --> 00:12:58,540 in theory? We're trying to... Damn, if those screens fall, I'm running. 39 00:13:01,220 --> 00:13:08,460 What's that? Yeah, I'm safest here. Okay. It works by minimizing points of entry in general. 40 00:13:08,720 --> 00:13:12,900 Okay, we try to shut down network demons. For the network demons that you want to leave up, we 41 00:13:12,900 --> 00:13:17,140 try to restrict who can use them. Like a lot of these things, especially like web servers will do 42 00:13:17,140 --> 00:13:22,460 it, you know, you can say exactly what IP addresses, what interfaces they're allowed to accept 43 00:13:22,920 --> 00:13:28,220 connections on. This can be amazingly useful. Lots of people don't need a web server. They just want a 44 00:13:28,220 --> 00:13:32,700 web server on their one machine because they're like writing up web pages or CGI scripts and they 45 00:13:32,700 --> 00:13:36,100 want to test them before they push them out to the main server. So if you're one of those people, 46 00:13:36,200 --> 00:13:40,020 what we'll do is we'll say, okay, we'll set your Apache to only accept connections from your box, 47 00:13:40,700 --> 00:13:47,520 which works pretty well. As far as points of entry, we also try to restrict access to 48 00:13:47,520 --> 00:13:54,800 used or accessible programs, okay? We try to do things like, my users are logging in across an 49 00:13:54,800 --> 00:13:58,200 ocean, so maybe they don't need to be able to mount the floppy drive, which makes it harder to connect. 50 00:13:58,200 --> 00:14:00,180 which means I can, like, shut down mount. 51 00:14:00,280 --> 00:14:01,880 I can take mount and make it non-set UID, 52 00:14:02,060 --> 00:14:02,780 and that'd be good, 53 00:14:02,840 --> 00:14:04,480 because then I'd avoid one of the exploits 54 00:14:04,480 --> 00:14:05,280 in the past year or two. 55 00:14:08,500 --> 00:14:11,020 Okay, we're also trying to prevent privilege escalation. 56 00:14:11,540 --> 00:14:14,280 Okay, what happens sometimes is somebody hacks the web server. 57 00:14:14,380 --> 00:14:17,120 The web server gives them user whatever, user web. 58 00:14:17,480 --> 00:14:19,780 And then from there, they run some set UID program 59 00:14:19,780 --> 00:14:21,260 that gives them user root. 60 00:14:21,640 --> 00:14:24,320 So we want to do anything we can 61 00:14:24,320 --> 00:14:27,260 to stop somebody from turning user web into user root, 62 00:14:27,260 --> 00:14:29,280 because, you know, it's a good idea. 63 00:14:29,900 --> 00:14:30,940 You all having fun? 64 00:14:31,380 --> 00:14:32,100 Is this good? 65 00:14:34,440 --> 00:14:34,840 Cool. 66 00:14:35,180 --> 00:14:36,080 Make some noise! 67 00:14:36,420 --> 00:14:37,280 No, I'm sorry, I have. 68 00:14:39,500 --> 00:14:42,380 Okay, so, now, does it work? 69 00:14:43,060 --> 00:14:44,020 It does work. 70 00:14:44,160 --> 00:14:44,720 It does work. 71 00:14:44,740 --> 00:14:46,680 It's kind of cool, but it actually, I mean, 72 00:14:46,720 --> 00:14:48,680 I didn't know it was going to work, but it works. 73 00:14:48,780 --> 00:14:53,140 I mean, you know, if you take Red Hat 6.0, okay, 74 00:14:53,280 --> 00:14:56,260 and you take the vulnerabilities that existed in Red Hat 6, 75 00:14:56,260 --> 00:14:59,040 we really helped you dodge or at least contain 76 00:14:59,480 --> 00:15:02,080 the bulk of the exploits, and that was pretty cool. 77 00:15:03,720 --> 00:15:05,820 Okay, there was a remote root hole in Bind. 78 00:15:06,380 --> 00:15:08,180 Okay, we let you shut down Bind, 79 00:15:08,260 --> 00:15:10,660 which, again, would kind of help you dodge that entirely. 80 00:15:11,260 --> 00:15:12,700 And if you didn't want to do that, 81 00:15:12,880 --> 00:15:16,420 Bind used to ship default, still does in some distros, 82 00:15:16,560 --> 00:15:18,520 used to ship default running as root, 83 00:15:19,480 --> 00:15:21,920 and that kind of sucks, because somebody takes over Bind, 84 00:15:21,960 --> 00:15:23,060 some worm takes over Bind. 85 00:15:23,080 --> 00:15:24,120 You don't even get automated by a human. 86 00:15:24,220 --> 00:15:26,020 You get automated by some stupid program. 87 00:15:26,260 --> 00:15:29,180 Okay, so what we do is, you know, 88 00:15:29,200 --> 00:15:32,680 we set Bind to run as user DNS, and we true root it, 89 00:15:32,740 --> 00:15:34,720 which means we lock it into some itty-bitty directory 90 00:15:35,300 --> 00:15:37,460 where, like, you know, if somebody takes over Bind, 91 00:15:37,520 --> 00:15:39,300 if somebody gets a DNS shell, 92 00:15:39,500 --> 00:15:41,900 that shell is restricted to this itty-bitty directory 93 00:15:41,900 --> 00:15:43,440 that's got virtually nothing in it, 94 00:15:43,500 --> 00:15:47,020 and nothing really that Bind owns, that that user owns, 95 00:15:47,100 --> 00:15:50,880 except for one little itty-bitty teensy-weensy PID file. 96 00:15:51,820 --> 00:15:53,400 So that's kind of cool. 97 00:15:53,500 --> 00:15:54,720 We helped a lot of people dodge that, 98 00:15:54,780 --> 00:15:55,940 and that was, like, the scourge 99 00:15:55,940 --> 00:15:56,660 of Red Hat 6. 100 00:15:57,080 --> 00:15:59,420 I mean, the scourge of a lot of other stuff, too. 101 00:16:01,860 --> 00:16:04,260 Woo FTPD had an exploit. 102 00:16:04,520 --> 00:16:05,660 It's always got an exploit. 103 00:16:05,900 --> 00:16:06,840 I guess it's like Bind. 104 00:16:07,680 --> 00:16:09,360 We offered to shut it down for you. 105 00:16:09,420 --> 00:16:11,420 We also offered to shut down anonymous access 106 00:16:11,420 --> 00:16:13,080 or user access or both, 107 00:16:13,600 --> 00:16:14,680 and that was really useful, 108 00:16:14,800 --> 00:16:17,360 because the ad exploit kind of requires 109 00:16:17,360 --> 00:16:18,820 that they actually be able to... 110 00:16:18,820 --> 00:16:21,100 Yeah, the first exploit at least required 111 00:16:21,100 --> 00:16:24,360 that somebody be able to write stuff to your machine, 112 00:16:25,220 --> 00:16:25,700 and... 113 00:16:25,940 --> 00:16:28,240 We try to shut down any kind of access we can. 114 00:16:28,980 --> 00:16:31,160 Again, this is where the educational aspect came in 115 00:16:31,160 --> 00:16:32,400 more than the script aspect. 116 00:16:32,780 --> 00:16:34,460 If we could tell you that FTP sucks, 117 00:16:34,680 --> 00:16:36,760 you know, FTP sucks because it's clear text. 118 00:16:36,880 --> 00:16:38,980 FTP sucks because it's really rough to firewall. 119 00:16:39,420 --> 00:16:41,680 FTP sucks because they're always rooting it, you know. 120 00:16:41,720 --> 00:16:43,220 If we can tell you that FTP sucks, 121 00:16:43,340 --> 00:16:44,360 maybe you'll stop running it, 122 00:16:44,440 --> 00:16:45,040 and then you don't have to worry 123 00:16:45,040 --> 00:16:45,960 about getting nailed by this one. 124 00:16:48,040 --> 00:16:50,060 User Helper was a little-known PAM program, 125 00:16:50,320 --> 00:16:52,340 and there were a couple different exploits against it. 126 00:16:52,880 --> 00:16:54,760 I think Dildog wrote User Rooter. 127 00:16:55,940 --> 00:16:57,100 And then there was another one. 128 00:16:57,300 --> 00:16:58,940 I don't remember what the name of the other exploit was, 129 00:16:59,080 --> 00:17:00,380 but it was really simple to exploit, 130 00:17:00,520 --> 00:17:04,320 because this thing didn't check what directory it was looking in, 131 00:17:04,440 --> 00:17:05,940 so, like, you could have it go back 132 00:17:05,940 --> 00:17:07,540 and use some other file. 133 00:17:07,760 --> 00:17:08,780 It was a pretty cool exploit. 134 00:17:09,360 --> 00:17:10,640 It was local only, 135 00:17:11,600 --> 00:17:14,100 but basically the user could get this root program 136 00:17:14,100 --> 00:17:15,320 when doing... 137 00:17:15,320 --> 00:17:16,380 I think it was when doing authentication 138 00:17:16,380 --> 00:17:17,120 or doing... 139 00:17:17,680 --> 00:17:20,180 to go back and use some library that he created 140 00:17:20,180 --> 00:17:21,520 instead of the normal library. 141 00:17:21,820 --> 00:17:22,640 It was really stupid, 142 00:17:23,060 --> 00:17:24,780 and, again, we helped you dodge it, 143 00:17:24,820 --> 00:17:25,860 because when we did our set UID, 144 00:17:25,940 --> 00:17:27,780 that was just one of the things that, like, 145 00:17:27,800 --> 00:17:29,000 this doesn't... 146 00:17:29,000 --> 00:17:29,860 we don't need this. 147 00:17:31,460 --> 00:17:33,060 So, this was useful. 148 00:17:33,580 --> 00:17:35,420 LPD and SendMail had a remote root. 149 00:17:35,620 --> 00:17:37,260 We shut these down, if you asked us to, 150 00:17:37,420 --> 00:17:39,500 because lots of people don't print from that machine, 151 00:17:39,640 --> 00:17:41,980 or lots of people don't need to send mail from that machine, 152 00:17:42,720 --> 00:17:43,800 or to receive mail. 153 00:17:45,760 --> 00:17:46,700 There were some more. 154 00:17:46,840 --> 00:17:47,800 Dump and Restore. 155 00:17:48,260 --> 00:17:49,960 Dump and Restore was kind of stupid. 156 00:17:50,260 --> 00:17:52,560 I mean, it really ticked me off 157 00:17:52,560 --> 00:17:54,100 when I saw Dump and Restore set UID, 158 00:17:54,620 --> 00:17:55,760 because let's think about it. 159 00:17:55,940 --> 00:17:58,080 Dump and Restore are used for backups, okay? 160 00:17:59,020 --> 00:18:01,200 So, do I have ordinary users 161 00:18:01,200 --> 00:18:02,480 who are running their mail accounts 162 00:18:02,480 --> 00:18:03,480 running my backups? 163 00:18:04,260 --> 00:18:05,920 If I've got someone running my backups, 164 00:18:06,040 --> 00:18:07,800 it should be somebody that I've specifically told 165 00:18:07,800 --> 00:18:09,000 the operating system to trust. 166 00:18:10,240 --> 00:18:11,780 And this is one of those stupid things 167 00:18:11,780 --> 00:18:13,520 that just shouldn't have been set UID. 168 00:18:14,920 --> 00:18:16,840 And, well, we took care of that. 169 00:18:16,960 --> 00:18:18,660 So, again, you didn't get rooted 170 00:18:18,660 --> 00:18:21,000 by the dump exploit or the restore exploit 171 00:18:21,520 --> 00:18:23,760 if you did our set UID audit 172 00:18:23,760 --> 00:18:24,940 and, like, did what we told you to do, 173 00:18:25,000 --> 00:18:25,780 which was kind of cool. 174 00:18:27,520 --> 00:18:28,740 GPM was another one. 175 00:18:29,520 --> 00:18:34,000 They used that to get the mouse cut and paste in console. 176 00:18:34,840 --> 00:18:36,260 Lots of people never used console. 177 00:18:36,520 --> 00:18:38,000 So, again, it was something we could shut down, 178 00:18:38,220 --> 00:18:39,800 and if you shut it down, 179 00:18:39,880 --> 00:18:41,180 you dodged yet another exploit. 180 00:18:41,620 --> 00:18:43,080 Now, that one was a local exploit, 181 00:18:43,240 --> 00:18:45,320 and there are lots of other ways to locally root a box. 182 00:18:45,600 --> 00:18:48,880 So, you know, the merit of this was only so strong, 183 00:18:49,060 --> 00:18:50,620 but it was pretty useful. 184 00:18:52,720 --> 00:18:53,440 Yo, question. 185 00:18:54,560 --> 00:18:55,860 What if they didn't let it stay? 186 00:19:00,780 --> 00:19:02,060 So, the question is, 187 00:19:02,080 --> 00:19:03,960 what if they do want to send and receive mail? 188 00:19:04,260 --> 00:19:04,620 Okay. 189 00:19:04,820 --> 00:19:05,800 You know, what do you do? 190 00:19:06,000 --> 00:19:06,920 Well, the issue is, 191 00:19:06,940 --> 00:19:08,580 some of this can be granularly configured. 192 00:19:08,860 --> 00:19:09,220 Okay. 193 00:19:09,260 --> 00:19:09,800 You know, it's like, 194 00:19:09,860 --> 00:19:11,460 suppose you've got this machine. 195 00:19:11,740 --> 00:19:12,680 I mean, if you're, like, 196 00:19:12,720 --> 00:19:15,720 lots and lots of users are using SMTP 197 00:19:15,720 --> 00:19:17,180 to get mail off the box, 198 00:19:17,280 --> 00:19:18,980 and they're using pop and IMAP 199 00:19:19,760 --> 00:19:21,180 to get mail to their box. 200 00:19:21,480 --> 00:19:24,560 Like, if this workstation you're sitting in front of 201 00:19:24,560 --> 00:19:25,700 doesn't have to be, 202 00:19:25,940 --> 00:19:27,780 you know, it doesn't have to receive mail 203 00:19:27,780 --> 00:19:29,080 and distribute it to users, 204 00:19:29,540 --> 00:19:32,300 then you don't need sendmail running in daemon mode. 205 00:19:32,460 --> 00:19:33,780 You can just, like, shut it down, 206 00:19:34,680 --> 00:19:36,100 and, you know, when you run, like, 207 00:19:36,100 --> 00:19:37,080 Mutt and Pine and all that, 208 00:19:37,180 --> 00:19:38,900 they start up their own sendmail process 209 00:19:38,900 --> 00:19:40,060 to get mail off the box. 210 00:19:40,340 --> 00:19:43,180 You really only need sendmail to get mail to the box, 211 00:19:43,260 --> 00:19:44,140 and that's only if you're using, 212 00:19:44,260 --> 00:19:46,040 if you're trying to run your own mail server. 213 00:19:47,160 --> 00:19:49,400 It turns out that the bulk of the people don't need it, 214 00:19:49,480 --> 00:19:51,620 and so we're able to shut down just what they don't need. 215 00:19:51,720 --> 00:19:53,080 You know, it's like, okay, your mail still works, 216 00:19:53,160 --> 00:19:54,600 just this part doesn't work. 217 00:19:56,200 --> 00:19:58,200 The other issue is, I mean, 218 00:19:58,200 --> 00:19:59,640 a better example is probably Apache. 219 00:20:00,200 --> 00:20:01,460 When we go to hard in Apache, 220 00:20:01,780 --> 00:20:03,520 like, a lot of people want to have a web server, 221 00:20:03,640 --> 00:20:04,940 but they're not ever going to use, 222 00:20:05,060 --> 00:20:07,180 they're not going to put any CGI scripts on. 223 00:20:07,400 --> 00:20:09,180 So we shut down CGI functionality. 224 00:20:09,500 --> 00:20:11,560 We shut down server-side includes. 225 00:20:12,320 --> 00:20:15,540 And that kind of, the granular parts really do help a lot, 226 00:20:15,620 --> 00:20:17,580 and sometimes it's just the education part helps. 227 00:20:19,300 --> 00:20:20,680 Where we can't config, 228 00:20:20,840 --> 00:20:23,120 if we can't configure something really, really finely, 229 00:20:23,780 --> 00:20:25,840 we can educate you on it, and we can pray, 230 00:20:25,940 --> 00:20:27,600 or hope, or whatever, 231 00:20:29,140 --> 00:20:31,100 because we're not doing anything in kernel space. 232 00:20:31,360 --> 00:20:33,400 And if you really wanted to, if you really wanted to, 233 00:20:33,940 --> 00:20:36,020 if you really wanted to protect yourself 234 00:20:36,020 --> 00:20:37,780 from SendMail's next root hole, 235 00:20:38,260 --> 00:20:39,680 it mostly ends up doing, 236 00:20:39,820 --> 00:20:41,500 it mostly means doing something in kernel space, 237 00:20:41,700 --> 00:20:43,480 or cherooting SendMail, or something like that. 238 00:20:43,760 --> 00:20:46,820 So, was that a good answer, 239 00:20:46,900 --> 00:20:48,100 or did I mostly dodge the question? 240 00:20:51,480 --> 00:20:53,600 The asker has passed out from heat exhaustion. 241 00:20:54,620 --> 00:20:55,480 No, he hasn't. 242 00:20:55,940 --> 00:20:56,560 It's all good. 243 00:21:00,820 --> 00:21:02,980 Okay, vulnerabilities we didn't stop in Red Hat 6. 244 00:21:03,160 --> 00:21:04,040 These are just like major, 245 00:21:04,260 --> 00:21:06,860 just like stuff that was well advertised. 246 00:21:08,480 --> 00:21:12,480 NMH, mailer, couldn't do anything for you. 247 00:21:12,640 --> 00:21:13,520 It didn't have privilege. 248 00:21:13,760 --> 00:21:15,640 It only gets privilege if you run it as root. 249 00:21:15,960 --> 00:21:17,380 If you're not running it as root, 250 00:21:19,660 --> 00:21:21,360 then you don't get mailed. 251 00:21:21,620 --> 00:21:24,180 But if root's reading their mail with MH, 252 00:21:24,340 --> 00:21:25,040 or in this case, 253 00:21:25,040 --> 00:21:27,160 if root's using man to read man pages, 254 00:21:28,100 --> 00:21:29,260 you kind of get mailed. 255 00:21:29,420 --> 00:21:31,040 And we didn't really spot that stuff 256 00:21:31,040 --> 00:21:33,580 because it's not a program that had privilege 257 00:21:33,580 --> 00:21:34,780 that we could strip privilege from. 258 00:21:35,000 --> 00:21:36,700 And it's not stuff we could make a good argument 259 00:21:36,700 --> 00:21:38,080 for removing from the system. 260 00:21:38,420 --> 00:21:40,280 So, I mean, especially man, you know? 261 00:21:40,480 --> 00:21:42,340 Like, we want people to read man pages, 262 00:21:42,380 --> 00:21:43,440 not to stop. 263 00:21:45,020 --> 00:21:47,500 So, you possibly got mailed on these. 264 00:21:47,600 --> 00:21:48,680 These are pretty tough to exploit, 265 00:21:48,760 --> 00:21:50,420 so you probably didn't. 266 00:21:50,440 --> 00:21:52,160 But there's not much we can do. 267 00:21:52,280 --> 00:21:54,580 The one point I can make about root is, 268 00:21:55,040 --> 00:21:57,560 try to just use root for what you need root to do. 269 00:21:58,020 --> 00:21:58,240 You know? 270 00:21:58,320 --> 00:22:00,660 I mean, please don't run Netscape as root. 271 00:22:02,140 --> 00:22:03,680 Oh, God, please don't. 272 00:22:06,080 --> 00:22:07,100 You know, I don't know. 273 00:22:07,240 --> 00:22:08,940 Now that she's married to, 274 00:22:09,040 --> 00:22:12,340 now that she's getting married to a RAIN RFP, 275 00:22:12,420 --> 00:22:14,120 maybe Zoopkit and I'll take some time 276 00:22:14,120 --> 00:22:16,540 and try to show why we shouldn't use Netscape as root 277 00:22:16,540 --> 00:22:17,760 and make a whole bunch of exploits 278 00:22:17,760 --> 00:22:20,360 that people get nailed at reading their mail. 279 00:22:21,600 --> 00:22:22,000 Sorry. 280 00:22:22,540 --> 00:22:22,940 Okay. 281 00:22:23,800 --> 00:22:24,620 How many minutes 282 00:22:25,040 --> 00:22:25,260 did I just miss? 283 00:22:27,200 --> 00:22:27,560 Shit. 284 00:22:32,620 --> 00:22:33,240 I'm sorry. 285 00:22:33,380 --> 00:22:35,000 I sound really loud to myself up here. 286 00:22:35,220 --> 00:22:36,620 I got big speakers or something. 287 00:22:37,960 --> 00:22:39,300 You want me to go back two slides? 288 00:22:40,560 --> 00:22:40,920 No. 289 00:22:41,400 --> 00:22:41,760 Okay. 290 00:22:41,920 --> 00:22:42,680 I'm gonna keep going, 291 00:22:42,760 --> 00:22:44,500 but I'll just try to keep this next to my mouth. 292 00:22:46,560 --> 00:22:46,920 Okay. 293 00:22:47,020 --> 00:22:48,160 So, best deal. 294 00:22:48,800 --> 00:22:49,780 People are using it. 295 00:22:50,720 --> 00:22:52,460 SGI's been shipping it on a bunch of their appliances, 296 00:22:52,640 --> 00:22:53,740 which has been pretty cool. 297 00:22:53,740 --> 00:22:55,660 They're Linux appliances, not their Irix ones. 298 00:22:55,980 --> 00:22:57,360 I don't think they have any Irix appliances. 299 00:22:58,760 --> 00:23:00,920 Mandrake Soft, kind enough to hire me, 300 00:23:01,140 --> 00:23:02,700 go Mandrake Soft, woot woot, 301 00:23:03,320 --> 00:23:04,700 is shipping it in their distro, 302 00:23:04,760 --> 00:23:05,900 which is really cool. 303 00:23:06,100 --> 00:23:06,800 So it's not, 304 00:23:06,900 --> 00:23:08,060 it doesn't run at install time 305 00:23:08,060 --> 00:23:10,300 because best deal takes a while to run 306 00:23:10,300 --> 00:23:11,280 and asks a lot of questions 307 00:23:11,280 --> 00:23:13,100 and they figure users would get annoyed by that 308 00:23:13,100 --> 00:23:13,860 and that's cool, 309 00:23:14,040 --> 00:23:15,320 but it's in there, 310 00:23:15,420 --> 00:23:19,100 so if you've got a Mandrake 8 or later, 311 00:23:19,160 --> 00:23:20,560 you just type interactive best deal 312 00:23:20,560 --> 00:23:22,160 and boom, you're running it. 313 00:23:22,280 --> 00:23:23,640 You know, you don't have to download it. 314 00:23:23,640 --> 00:23:24,740 You don't have to put up with, like, 315 00:23:24,760 --> 00:23:26,760 my RPM distribution method or whatever the hell. 316 00:23:28,400 --> 00:23:30,320 HP has also developed three programmers 317 00:23:30,320 --> 00:23:32,620 and I think a manager as well to, like, 318 00:23:33,040 --> 00:23:33,840 well, the manager, I think, 319 00:23:33,840 --> 00:23:34,820 is supposed to hold the programmers, 320 00:23:34,920 --> 00:23:36,000 no, I'm not gonna say that. 321 00:23:37,120 --> 00:23:37,940 I'm just kidding, 322 00:23:38,060 --> 00:23:39,940 especially if the HP guy's in the room now. 323 00:23:40,340 --> 00:23:41,620 HP's devoted some programmers 324 00:23:41,620 --> 00:23:43,020 to help out with porting it, 325 00:23:43,100 --> 00:23:44,820 so that, like, really rocks. 326 00:23:45,040 --> 00:23:46,220 I'm really happy with that 327 00:23:46,220 --> 00:23:47,780 because we're gonna work on HPUX 328 00:23:48,160 --> 00:23:49,660 and we weren't gonna do that for a while 329 00:23:49,660 --> 00:23:50,800 and they're helping out. 330 00:23:51,500 --> 00:23:53,560 HP's doing some cool stuff in open source right now. 331 00:23:53,640 --> 00:23:55,040 So I'm happy with that. 332 00:23:56,840 --> 00:23:58,280 We think we've got a lot of users. 333 00:23:58,480 --> 00:23:59,400 We really don't know how many. 334 00:23:59,560 --> 00:24:01,020 The problem with finding out how many is 335 00:24:01,020 --> 00:24:02,180 we've got one central site 336 00:24:02,180 --> 00:24:03,520 and, like, everybody, like, 337 00:24:03,600 --> 00:24:05,380 everybody pulls the files down 338 00:24:05,380 --> 00:24:06,220 and distributes them elsewhere. 339 00:24:06,540 --> 00:24:08,340 So we've got, it's going out through PacketStorm 340 00:24:08,340 --> 00:24:09,680 and it's going out because, you know, 341 00:24:09,740 --> 00:24:12,180 kiddies need secure systems too 342 00:24:13,680 --> 00:24:14,940 and it's going out through 343 00:24:14,940 --> 00:24:16,280 a bunch of different security sites. 344 00:24:16,600 --> 00:24:18,360 So we're not sure how many people we've got. 345 00:24:18,480 --> 00:24:20,400 We know the main site has seen 346 00:24:20,840 --> 00:24:22,280 some huge number of downloads. 347 00:24:22,540 --> 00:24:23,340 I think we saw, like, 348 00:24:23,640 --> 00:24:24,960 50,000 through the main site at least. 349 00:24:25,200 --> 00:24:26,540 I mean, we're at 100,000 350 00:24:26,540 --> 00:24:27,760 but the tough thing is we don't know 351 00:24:27,760 --> 00:24:29,180 how many people got each version. 352 00:24:29,560 --> 00:24:31,080 So it's kind of crazy. 353 00:24:31,760 --> 00:24:33,720 But a lot of people are using this, 354 00:24:33,880 --> 00:24:35,160 which is really good. 355 00:24:35,440 --> 00:24:37,900 So hopefully a lot more people will be using it 356 00:24:37,900 --> 00:24:39,680 when it runs on HPUX and Solaris 357 00:24:39,680 --> 00:24:41,360 and Debian and Slack. 358 00:24:41,860 --> 00:24:43,700 And we'll see what comes next after that. 359 00:24:45,140 --> 00:24:46,860 And some guy, like, 360 00:24:46,880 --> 00:24:48,480 actually made it work on SUSE 361 00:24:48,480 --> 00:24:51,320 but he hasn't given me any of his materials yet. 362 00:24:51,640 --> 00:24:53,000 But we can raz him later. 363 00:24:53,000 --> 00:24:54,420 Read the article. 364 00:24:54,800 --> 00:24:55,220 Yeah. 365 00:24:55,380 --> 00:24:55,700 Okay. 366 00:24:55,780 --> 00:24:57,500 So Bastille will work on SUSE, 367 00:24:57,600 --> 00:24:59,140 read the Linux journal article on it, 368 00:24:59,180 --> 00:25:00,800 and, like, you know, it'll help. 369 00:25:02,940 --> 00:25:03,700 I don't know. 370 00:25:04,780 --> 00:25:05,380 Red Hat? 371 00:25:06,480 --> 00:25:07,700 Anybody from Red Hat here? 372 00:25:08,960 --> 00:25:09,680 Okay, yeah. 373 00:25:10,340 --> 00:25:11,340 Anybody got a T-shirt? 374 00:25:12,140 --> 00:25:12,560 Sorry. 375 00:25:13,440 --> 00:25:15,300 So hopefully maybe Red Hat will, like, 376 00:25:15,320 --> 00:25:16,400 will start using Bastille 377 00:25:16,400 --> 00:25:17,320 or their own hardening script 378 00:25:17,320 --> 00:25:18,020 or whatever the hell 379 00:25:18,020 --> 00:25:19,940 and we'll get better defaults out of Red Hat. 380 00:25:24,860 --> 00:25:26,300 Do we work on Wirex? 381 00:25:26,420 --> 00:25:27,440 We work on Wirex. 382 00:25:27,640 --> 00:25:28,420 The Immunix, 383 00:25:28,420 --> 00:25:28,940 Immunix, 384 00:25:29,740 --> 00:25:30,980 Wirex's Immunix distribution 385 00:25:30,980 --> 00:25:32,860 is very close to Red Hat, 386 00:25:32,980 --> 00:25:33,680 so it, like, 387 00:25:33,680 --> 00:25:36,200 Greg sent us, like, 388 00:25:36,280 --> 00:25:36,780 three-line, 389 00:25:36,780 --> 00:25:38,900 a three-line patch that made it work on Wirex. 390 00:25:38,920 --> 00:25:40,060 On Wirex's Immunix. 391 00:25:40,300 --> 00:25:41,420 So yeah, we work there. 392 00:25:41,640 --> 00:25:43,160 I dig Immunix. 393 00:25:43,600 --> 00:25:45,020 As somebody who works for a vendor, 394 00:25:45,100 --> 00:25:46,320 I probably shouldn't say anything more like 395 00:25:46,320 --> 00:25:47,440 I really dig Immunix, 396 00:25:47,520 --> 00:25:48,580 but it's pretty cool. 397 00:25:48,740 --> 00:25:49,700 They do kernel stuff. 398 00:25:49,840 --> 00:25:50,860 We do configuration stuff. 399 00:25:50,980 --> 00:25:51,540 Combine the two, 400 00:25:51,620 --> 00:25:52,080 it's pretty cool. 401 00:25:54,280 --> 00:25:55,080 Um, history. 402 00:25:55,680 --> 00:25:56,600 Bastille started out, 403 00:25:56,740 --> 00:25:57,160 like, 404 00:25:57,200 --> 00:25:58,040 originally they were gonna write, 405 00:25:58,080 --> 00:25:59,420 they were gonna make a distribution from scratch, 406 00:26:00,000 --> 00:26:01,660 hence the Bastille Linux name, 407 00:26:01,760 --> 00:26:02,460 like Red Hat Linux, 408 00:26:02,620 --> 00:26:03,120 Mandrake Linux. 409 00:26:03,440 --> 00:26:05,140 So they were gonna make a distribution from scratch, 410 00:26:05,940 --> 00:26:06,600 but, um, 411 00:26:06,660 --> 00:26:08,000 that was a whole lot of work. 412 00:26:08,180 --> 00:26:08,800 I mean, 413 00:26:08,800 --> 00:26:10,460 a whole lot of work. 414 00:26:10,560 --> 00:26:11,520 And they just couldn't keep up 415 00:26:11,520 --> 00:26:12,580 and it was pretty discouraging 416 00:26:12,580 --> 00:26:13,060 and it stunk. 417 00:26:13,460 --> 00:26:14,320 So they said, 418 00:26:14,400 --> 00:26:16,160 let's just make a script that turns Red Hat 6 419 00:26:16,160 --> 00:26:17,860 into a decent operating sy- 420 00:26:17,860 --> 00:26:18,120 I mean, 421 00:26:18,120 --> 00:26:19,680 into a more secure operating system. 422 00:26:22,080 --> 00:26:22,820 I'm having fun here. 423 00:26:22,900 --> 00:26:23,620 I don't get to say this stuff 424 00:26:23,620 --> 00:26:24,380 at any other conference. 425 00:26:26,280 --> 00:26:26,640 so, 426 00:26:27,060 --> 00:26:27,420 basically, 427 00:26:27,480 --> 00:26:27,840 they said, 428 00:26:27,920 --> 00:26:28,120 okay, 429 00:26:28,220 --> 00:26:29,020 we'll write a hardening script. 430 00:26:29,140 --> 00:26:30,020 Anybody got a hardening script? 431 00:26:30,240 --> 00:26:31,500 And I kinda came out and said, 432 00:26:31,560 --> 00:26:31,740 I, 433 00:26:31,740 --> 00:26:32,860 I can write one. 434 00:26:33,200 --> 00:26:33,560 Um, 435 00:26:33,700 --> 00:26:34,460 so they let me, 436 00:26:34,560 --> 00:26:35,080 which is cool. 437 00:26:35,340 --> 00:26:36,180 So now we've, 438 00:26:36,260 --> 00:26:36,860 we've been like, 439 00:26:36,900 --> 00:26:37,820 we've been adding stuff. 440 00:26:38,000 --> 00:26:39,000 We're gonna add some really cool stuff. 441 00:26:39,100 --> 00:26:39,900 I'll talk about that later. 442 00:26:40,340 --> 00:26:40,700 Um, 443 00:26:41,420 --> 00:26:42,340 but it was a really, 444 00:26:42,420 --> 00:26:43,360 it was a really simple, 445 00:26:43,860 --> 00:26:44,580 really very, 446 00:26:44,700 --> 00:26:45,280 very simple, 447 00:26:45,340 --> 00:26:46,640 not so intelligent hardening script 448 00:26:46,640 --> 00:26:49,380 that turned a fresh Red Hat 6 install 449 00:26:49,380 --> 00:26:50,520 into something a whole lot better. 450 00:26:50,900 --> 00:26:51,260 Okay? 451 00:26:52,080 --> 00:26:53,020 I just installed Red Hat. 452 00:26:53,720 --> 00:26:54,440 1.1, 453 00:26:54,520 --> 00:26:54,700 um, 454 00:26:55,200 --> 00:26:56,660 Jay sat down for like, 455 00:26:56,760 --> 00:26:56,980 you know, 456 00:26:57,020 --> 00:26:57,580 a few weeks 457 00:26:57,580 --> 00:26:59,340 and coded up a new API 458 00:26:59,340 --> 00:27:00,660 and did a whole bunch of work 459 00:27:00,660 --> 00:27:01,560 and now, 460 00:27:01,620 --> 00:27:02,280 at that point, 461 00:27:02,300 --> 00:27:03,720 it started working on non-virgin systems. 462 00:27:04,240 --> 00:27:04,600 Okay? 463 00:27:04,700 --> 00:27:04,880 So, 464 00:27:04,940 --> 00:27:05,180 you know, 465 00:27:05,200 --> 00:27:06,220 you install Red Hat 6. 466 00:27:06,380 --> 00:27:07,600 You sit alone for six months. 467 00:27:07,960 --> 00:27:08,320 Um, 468 00:27:08,420 --> 00:27:09,800 hopefully you left it unplugged 469 00:27:09,800 --> 00:27:10,440 so it doesn't get rooted. 470 00:27:10,740 --> 00:27:11,100 Um, 471 00:27:11,200 --> 00:27:12,180 and then you run, 472 00:27:12,300 --> 00:27:12,620 uh, 473 00:27:12,720 --> 00:27:13,460 Bastille on it 474 00:27:13,460 --> 00:27:14,860 and you get something a whole lot better. 475 00:27:15,220 --> 00:27:15,580 Um, 476 00:27:16,800 --> 00:27:18,200 we also added a bunch of stuff. 477 00:27:18,320 --> 00:27:18,400 Like, 478 00:27:18,440 --> 00:27:19,200 it's a whole lot easier 479 00:27:19,200 --> 00:27:20,400 for people to extend it. 480 00:27:20,480 --> 00:27:20,600 Like, 481 00:27:22,280 --> 00:27:23,280 I've got some slides 482 00:27:23,280 --> 00:27:24,100 that are gonna be on my site 483 00:27:24,100 --> 00:27:24,720 in the next week 484 00:27:24,720 --> 00:27:25,240 that'll tell you 485 00:27:25,240 --> 00:27:26,200 how to write your own modules 486 00:27:26,200 --> 00:27:26,880 if you want to 487 00:27:26,880 --> 00:27:28,600 and then you can send them to me 488 00:27:28,600 --> 00:27:29,480 and we'll include them in Bastille. 489 00:27:30,040 --> 00:27:30,380 Um, 490 00:27:30,780 --> 00:27:31,760 it's very extensible. 491 00:27:31,900 --> 00:27:33,160 We put a cool configurator on it. 492 00:27:33,220 --> 00:27:34,280 It's got a whole lot smarter. 493 00:27:34,500 --> 00:27:35,480 It's got all kinds of cool features 494 00:27:35,480 --> 00:27:36,080 like an undo 495 00:27:36,080 --> 00:27:37,160 and it keeps track 496 00:27:37,160 --> 00:27:37,880 of everything it's doing 497 00:27:37,880 --> 00:27:38,840 and it'll tell you what it's doing 498 00:27:38,840 --> 00:27:39,180 and, 499 00:27:39,200 --> 00:27:41,080 and all kinds of cool stuff like that. 500 00:27:42,080 --> 00:27:42,760 1.2, 501 00:27:43,160 --> 00:27:44,040 we just released, 502 00:27:44,140 --> 00:27:44,380 uh-oh, 503 00:27:44,420 --> 00:27:45,200 this is a past slide. 504 00:27:45,660 --> 00:27:46,000 Um, 505 00:27:46,700 --> 00:27:47,380 1.2, 506 00:27:47,380 --> 00:27:48,220 we just released, 507 00:27:48,260 --> 00:27:48,620 um, 508 00:27:48,820 --> 00:27:49,800 a few weeks ago 509 00:27:49,800 --> 00:27:50,320 and, 510 00:27:52,080 --> 00:27:52,600 it's cool because it's smart, 511 00:27:52,700 --> 00:27:53,160 it's, 512 00:27:53,160 --> 00:27:53,720 it's smarter. 513 00:27:53,840 --> 00:27:54,240 It will, 514 00:27:54,360 --> 00:27:54,800 like, 515 00:27:54,880 --> 00:27:56,080 look at the state of your system 516 00:27:56,080 --> 00:27:56,420 a little bit 517 00:27:56,420 --> 00:27:57,280 and not do stuff 518 00:27:57,280 --> 00:27:58,380 that it's really obvious. 519 00:27:58,500 --> 00:27:58,840 It doesn't, 520 00:27:58,840 --> 00:27:59,840 not ask you questions 521 00:27:59,840 --> 00:28:00,440 that's really obvious 522 00:28:00,440 --> 00:28:01,280 don't apply to you. 523 00:28:01,580 --> 00:28:01,900 Um, 524 00:28:01,980 --> 00:28:03,020 and that's gonna get even smarter. 525 00:28:03,400 --> 00:28:03,720 Um, 526 00:28:03,860 --> 00:28:05,120 and we got an X configurator 527 00:28:05,120 --> 00:28:05,760 that I'll show you 528 00:28:05,760 --> 00:28:06,020 when the, 529 00:28:06,060 --> 00:28:07,120 when we're done with the slides. 530 00:28:09,500 --> 00:28:09,820 Okay. 531 00:28:10,140 --> 00:28:10,980 We're growing too. 532 00:28:11,440 --> 00:28:11,760 Um, 533 00:28:11,860 --> 00:28:13,020 we're gonna add more modules, 534 00:28:13,120 --> 00:28:13,680 more content. 535 00:28:13,780 --> 00:28:14,360 We got a bunch of people 536 00:28:14,360 --> 00:28:15,200 who want to help with that. 537 00:28:15,540 --> 00:28:15,860 Um, 538 00:28:15,860 --> 00:28:16,460 at some point 539 00:28:16,460 --> 00:28:17,380 we'll get decent documentation. 540 00:28:17,720 --> 00:28:18,440 But right now 541 00:28:18,440 --> 00:28:19,740 the script is its own documentation. 542 00:28:19,980 --> 00:28:20,920 It does pretty well that way. 543 00:28:21,600 --> 00:28:21,680 Um, 544 00:28:22,700 --> 00:28:23,900 we're gonna run on more platforms. 545 00:28:24,260 --> 00:28:25,680 I told you we're going after HPUX 546 00:28:25,680 --> 00:28:26,160 with like, 547 00:28:26,280 --> 00:28:26,520 you know, 548 00:28:26,640 --> 00:28:27,200 with a, 549 00:28:27,240 --> 00:28:27,460 uh, 550 00:28:27,480 --> 00:28:28,180 with a quick pace. 551 00:28:28,460 --> 00:28:29,140 And then, 552 00:28:29,140 --> 00:28:29,360 uh, 553 00:28:29,400 --> 00:28:30,200 Solaris is next. 554 00:28:30,980 --> 00:28:32,060 Anybody here from Sun? 555 00:28:33,160 --> 00:28:34,120 We're coming for you, 556 00:28:34,200 --> 00:28:34,740 you bastards. 557 00:28:35,500 --> 00:28:35,900 Yeah. 558 00:28:38,540 --> 00:28:39,980 What about FreeBSD? 559 00:28:40,200 --> 00:28:40,520 Oh, 560 00:28:40,800 --> 00:28:40,920 boy. 561 00:28:41,520 --> 00:28:41,920 Um, 562 00:28:42,000 --> 00:28:43,200 FreeBSD's actually got 563 00:28:43,200 --> 00:28:44,440 some interesting work going on 564 00:28:44,440 --> 00:28:45,260 as far as security. 565 00:28:45,860 --> 00:28:45,940 Um, 566 00:28:46,600 --> 00:28:47,680 so I've kind of thought of them 567 00:28:47,680 --> 00:28:47,940 as, 568 00:28:47,940 --> 00:28:48,240 as, 569 00:28:48,380 --> 00:28:48,520 uh, 570 00:28:49,440 --> 00:28:50,300 not quite the, 571 00:28:50,360 --> 00:28:51,700 the best next target. 572 00:28:52,280 --> 00:28:52,880 Because FreeBSD, 573 00:28:53,020 --> 00:28:53,600 in my mind, 574 00:28:53,620 --> 00:28:54,520 is a whole lot better off. 575 00:28:54,620 --> 00:28:54,820 I mean, 576 00:28:54,840 --> 00:28:55,280 in my mind, 577 00:28:55,300 --> 00:28:56,060 for a lot of reasons, 578 00:28:56,120 --> 00:28:56,740 you're a lot better off 579 00:28:56,740 --> 00:29:00,300 running FreeBSD than Solaris. 580 00:29:00,700 --> 00:29:02,060 And I want to kind of make Solaris 581 00:29:02,060 --> 00:29:02,680 a whole lot better. 582 00:29:02,760 --> 00:29:03,200 So I'm, 583 00:29:03,200 --> 00:29:04,740 I'm going up to Solaris right now. 584 00:29:04,840 --> 00:29:05,740 But once the Solaris 585 00:29:05,740 --> 00:29:06,720 and HPUX is done, 586 00:29:07,120 --> 00:29:08,080 it's gonna be a whole lot easier 587 00:29:08,080 --> 00:29:08,920 to look at FreeBSD. 588 00:29:09,420 --> 00:29:10,080 In the meantime, 589 00:29:10,300 --> 00:29:11,480 I'm not sure if somebody's, 590 00:29:11,480 --> 00:29:12,520 if somebody's got solutions. 591 00:29:12,820 --> 00:29:13,420 There's been some people 592 00:29:13,420 --> 00:29:14,160 trying to work on that 593 00:29:14,160 --> 00:29:14,500 for like, 594 00:29:14,500 --> 00:29:15,400 two years. 595 00:29:15,580 --> 00:29:16,520 I'm not sure where they're going. 596 00:29:16,740 --> 00:29:17,720 I didn't really want to 597 00:29:17,720 --> 00:29:18,680 step in their space 598 00:29:18,680 --> 00:29:19,840 before taking some real time 599 00:29:19,840 --> 00:29:20,140 to, 600 00:29:20,160 --> 00:29:21,200 to see what shapes up. 601 00:29:21,420 --> 00:29:21,500 Yeah. 602 00:29:23,180 --> 00:29:23,540 Irix. 603 00:29:24,140 --> 00:29:24,500 Um, 604 00:29:25,500 --> 00:29:25,860 Irix, 605 00:29:26,040 --> 00:29:26,560 we are, 606 00:29:26,780 --> 00:29:26,900 uh, 607 00:29:27,440 --> 00:29:28,700 we had a university offer 608 00:29:28,700 --> 00:29:29,600 to help us to, 609 00:29:29,640 --> 00:29:30,620 to donate a grad student 610 00:29:30,620 --> 00:29:30,920 to, 611 00:29:30,960 --> 00:29:31,840 to port to Irix. 612 00:29:32,060 --> 00:29:32,420 And, 613 00:29:32,480 --> 00:29:32,700 uh, 614 00:29:32,860 --> 00:29:33,600 and they've kind of, 615 00:29:33,640 --> 00:29:34,440 they kind of got, 616 00:29:34,540 --> 00:29:35,320 they kind of backed off. 617 00:29:35,360 --> 00:29:36,340 I think they lost their grad student 618 00:29:36,340 --> 00:29:36,780 or something. 619 00:29:37,000 --> 00:29:37,360 Um, 620 00:29:37,500 --> 00:29:39,160 but we've thought about Irix. 621 00:29:39,280 --> 00:29:40,420 And if somebody stepped up the plate 622 00:29:40,420 --> 00:29:41,360 to help out with Irix, 623 00:29:41,440 --> 00:29:41,780 I would, 624 00:29:44,500 --> 00:29:44,580 uh, 625 00:29:44,760 --> 00:29:44,920 yeah, 626 00:29:44,960 --> 00:29:45,780 another question over there. 627 00:29:50,520 --> 00:29:51,000 Who's, 628 00:29:51,060 --> 00:29:51,480 I'm sorry? 629 00:29:52,740 --> 00:29:53,220 . 630 00:29:55,420 --> 00:29:55,900 The, 631 00:29:55,980 --> 00:29:56,200 the, 632 00:29:57,200 --> 00:29:57,680 yeah, 633 00:29:57,860 --> 00:29:58,100 I know. 634 00:29:58,580 --> 00:29:59,860 Center for Internet Security 635 00:29:59,860 --> 00:30:01,260 has a Solaris hardening script 636 00:30:01,260 --> 00:30:02,640 as well as a checker. 637 00:30:02,800 --> 00:30:03,280 Yeah, 638 00:30:03,340 --> 00:30:03,560 I do. 639 00:30:04,140 --> 00:30:04,620 Um, 640 00:30:05,600 --> 00:30:06,080 the, 641 00:30:06,860 --> 00:30:07,340 the, 642 00:30:07,340 --> 00:30:07,700 the, 643 00:30:07,700 --> 00:30:08,060 the, 644 00:30:08,080 --> 00:30:08,360 the, 645 00:30:08,360 --> 00:30:09,300 the hardening script 646 00:30:09,300 --> 00:30:11,180 is really kind of like beta. 647 00:30:11,420 --> 00:30:12,440 Maybe it's alpha. 648 00:30:12,760 --> 00:30:13,240 Um, 649 00:30:13,480 --> 00:30:14,420 as far as, 650 00:30:14,420 --> 00:30:14,480 as far as, 651 00:30:14,480 --> 00:30:15,040 as far as the Center for Internet Security, 652 00:30:15,260 --> 00:30:16,140 what it's doing is like, 653 00:30:16,280 --> 00:30:17,240 it's doing a sub, 654 00:30:17,340 --> 00:30:17,760 they're, 655 00:30:17,760 --> 00:30:18,580 they're kind of checking 656 00:30:18,580 --> 00:30:21,400 a subset of what Bastille does. 657 00:30:21,620 --> 00:30:22,500 And what I think a, 658 00:30:22,500 --> 00:30:23,780 a really good hardening script should do. 659 00:30:23,920 --> 00:30:25,540 They're trying to look for minimum standards. 660 00:30:26,140 --> 00:30:26,220 Um, 661 00:30:26,920 --> 00:30:27,360 so, 662 00:30:27,480 --> 00:30:28,960 they've also got a very, 663 00:30:29,000 --> 00:30:30,220 very basic script 664 00:30:30,220 --> 00:30:31,640 that Hal Pomerantz wrote. 665 00:30:31,980 --> 00:30:32,420 Um, 666 00:30:32,620 --> 00:30:34,880 and it will try to bring you up to compliance 667 00:30:34,880 --> 00:30:35,620 with their, 668 00:30:35,660 --> 00:30:36,520 with their standards. 669 00:30:36,720 --> 00:30:39,720 I think that Bastille does a whole lot better job. 670 00:30:39,940 --> 00:30:40,380 Um, 671 00:30:40,500 --> 00:30:41,060 and honestly, 672 00:30:41,260 --> 00:30:41,700 uh, 673 00:30:41,860 --> 00:30:43,480 I'm involved with the Center for Internet Security. 674 00:30:43,480 --> 00:30:44,120 I, 675 00:30:44,380 --> 00:30:44,560 uh, 676 00:30:44,700 --> 00:30:45,400 I wrote the tester. 677 00:30:45,820 --> 00:30:46,260 Um, 678 00:30:46,960 --> 00:30:47,400 so, 679 00:30:47,520 --> 00:30:48,800 I think there's some, 680 00:30:48,840 --> 00:30:51,040 there's some possibility we're gonna end up using Bastille. 681 00:30:51,400 --> 00:30:51,840 Um, 682 00:30:52,060 --> 00:30:53,240 that we're gonna see if we can, 683 00:30:53,280 --> 00:30:54,620 if we can distribute Bastille 684 00:30:54,620 --> 00:30:56,340 or make Bastille do the Center stuff. 685 00:30:56,580 --> 00:30:57,080 I'm not sure. 686 00:30:57,320 --> 00:30:58,740 I have no idea where that's going. 687 00:30:58,920 --> 00:30:59,180 So, 688 00:30:59,340 --> 00:30:59,940 that, 689 00:31:00,080 --> 00:31:01,740 that quote is vaporware. 690 00:31:01,900 --> 00:31:02,300 Um, 691 00:31:02,520 --> 00:31:03,140 but, 692 00:31:03,260 --> 00:31:03,640 yeah. 693 00:31:03,920 --> 00:31:05,520 So Center for Internet Security's got stuff. 694 00:31:05,720 --> 00:31:07,200 A bunch of people have stuff for Sun. 695 00:31:07,360 --> 00:31:07,680 Okay, 696 00:31:07,720 --> 00:31:08,700 there's Titan for Sun. 697 00:31:08,940 --> 00:31:10,160 There's Yasp for Sun. 698 00:31:10,340 --> 00:31:11,620 There's Jasp for Sun. 699 00:31:11,900 --> 00:31:12,340 Okay, 700 00:31:12,400 --> 00:31:13,280 each of them has, 701 00:31:13,480 --> 00:31:15,860 some really strong points and some really weak points. 702 00:31:16,120 --> 00:31:16,460 Um, 703 00:31:16,980 --> 00:31:18,000 I think that, 704 00:31:18,040 --> 00:31:18,240 uh, 705 00:31:18,360 --> 00:31:19,420 they can use some competition. 706 00:31:20,260 --> 00:31:24,140 I think honestly that I'm not really gonna try to push you all to go to Bastille for Solaris. 707 00:31:24,260 --> 00:31:24,720 I mean, 708 00:31:24,740 --> 00:31:26,760 use one of the things that have been around for a while. 709 00:31:26,840 --> 00:31:27,700 There are established standards. 710 00:31:27,840 --> 00:31:28,580 Feel free to use them. 711 00:31:28,800 --> 00:31:29,160 However, 712 00:31:29,280 --> 00:31:31,880 if you have a heterogeneous shop where you're running Bastille, 713 00:31:32,020 --> 00:31:33,060 and you're running HP, 714 00:31:33,240 --> 00:31:34,480 and you're running Solaris, 715 00:31:34,480 --> 00:31:34,920 I mean, 716 00:31:34,940 --> 00:31:35,240 if you're running, 717 00:31:35,280 --> 00:31:35,520 I'm sorry, 718 00:31:35,580 --> 00:31:36,220 if you're running Linux, 719 00:31:36,320 --> 00:31:37,160 and you're running HP, 720 00:31:37,400 --> 00:31:38,160 and you're running, 721 00:31:38,240 --> 00:31:39,460 and you're running Solaris, 722 00:31:39,520 --> 00:31:42,140 maybe writing one policy config file 723 00:31:42,140 --> 00:31:42,460 and 724 00:31:43,900 --> 00:31:44,900 might be kinda cool. 725 00:31:45,100 --> 00:31:45,520 You know, 726 00:31:45,580 --> 00:31:47,220 without having to figure out for each system. 727 00:31:47,360 --> 00:31:47,520 So, 728 00:31:48,020 --> 00:31:49,980 there's some use in Bastille being on Sun, 729 00:31:50,140 --> 00:31:52,000 and there's some reasons to use something else. 730 00:31:52,360 --> 00:31:52,660 Um, 731 00:31:52,840 --> 00:31:54,780 and I'd be happy to explore that in Q and A later on. 732 00:31:55,940 --> 00:31:57,280 Can somebody tell me what time it is? 733 00:31:57,300 --> 00:31:58,040 My clock has stopped. 734 00:31:58,800 --> 00:31:59,160 1240. 735 00:31:59,480 --> 00:31:59,840 1240. 736 00:32:00,460 --> 00:32:00,920 What's that? 737 00:32:01,340 --> 00:32:01,700 Okay. 738 00:32:03,540 --> 00:32:03,900 So 739 00:32:04,400 --> 00:32:05,340 I wanted to, 740 00:32:05,420 --> 00:32:06,740 I can either run through each, 741 00:32:06,780 --> 00:32:07,880 all the features of Bastille, 742 00:32:07,980 --> 00:32:08,100 what, 743 00:32:08,140 --> 00:32:08,640 what we do. 744 00:32:08,840 --> 00:32:10,400 Or I can show you you know, 745 00:32:10,420 --> 00:32:11,460 I can show you one of the screenings, 746 00:32:11,520 --> 00:32:11,860 screens 747 00:32:13,480 --> 00:32:17,180 Who wants, you know, all those slides that tell you about what Bestial does? 748 00:32:19,540 --> 00:32:21,720 Q&A and a slight demo? 749 00:32:23,860 --> 00:32:25,860 Okay, there are a lot more people in this room. 750 00:32:26,820 --> 00:32:27,880 Jay, get off the stage. 751 00:32:29,140 --> 00:32:32,060 Jay, okay, cool, cool, I'm happy with that. 752 00:32:32,900 --> 00:32:34,360 What do the rest of you want, man? 753 00:32:38,420 --> 00:32:39,140 Air conditioning! 754 00:32:41,460 --> 00:32:42,740 Yeah, yeah, I'm with you there. 755 00:32:44,520 --> 00:32:47,000 Okay, I'm taking that vote again, damn it. 756 00:32:48,100 --> 00:32:50,220 Who wants to see what Bestial does? 757 00:32:50,780 --> 00:32:51,700 Bunch of slides. 758 00:32:52,120 --> 00:32:55,240 Okay, we'll go through and say this is something Bestial does, here's why it doesn't. 759 00:32:55,400 --> 00:32:58,160 Okay, who wants to see a demo and do a Q&A? 760 00:32:59,780 --> 00:33:01,900 Okay, we're doing a demo and Q&A. 761 00:33:01,960 --> 00:33:02,740 Thank you, guys. 762 00:33:05,480 --> 00:33:05,920 What? 763 00:33:06,180 --> 00:33:06,780 You want a beer? 764 00:33:10,060 --> 00:33:12,620 Damn, this conference rocks! 765 00:33:24,520 --> 00:33:26,200 Yeah, I was running PowerPoint. 766 00:33:27,020 --> 00:33:28,540 Yeah, I was running PowerPoint. 767 00:33:31,720 --> 00:33:32,340 Let's see. 768 00:33:39,340 --> 00:33:43,400 For those of you that saw Bestial before, it's gotten a little prettier. 769 00:33:45,160 --> 00:33:51,360 I'm going to see if I can see my own screen, because my laptop's not doing it. 770 00:33:55,800 --> 00:33:59,860 Okay, so, yeah, this is the interface, and what you see on the left side of the screen, 771 00:34:02,760 --> 00:34:06,920 what you see on that side of the screen is a list of modules. 772 00:34:07,540 --> 00:34:10,120 Each of those has a certain number of questions and those actions. 773 00:34:10,560 --> 00:34:12,360 So, like, the Apache module. 774 00:34:14,100 --> 00:34:15,560 Obviously, hardens your FTP server. 775 00:34:16,500 --> 00:34:18,620 No, the Apache module does the web server. 776 00:34:19,620 --> 00:34:21,560 Y'all are falling asleep on me, I know it. 777 00:34:25,800 --> 00:34:30,680 Okay, so, what you see is we've got a, on the right side, you've got a question and 778 00:34:30,680 --> 00:34:31,040 explanation. 779 00:34:31,640 --> 00:34:34,120 The question's the thing I wanted to ask you in the first place. 780 00:34:34,180 --> 00:34:37,360 The explanation's all that stuff I figured I had to tell you, so that you could make 781 00:34:37,360 --> 00:34:38,080 an informed choice. 782 00:34:38,760 --> 00:34:42,340 Some people have thought the explanations are really one of the better parts of the 783 00:34:42,340 --> 00:34:42,660 Bastille. 784 00:34:42,800 --> 00:34:46,140 They're like, you know, I don't want to use a script to do all this stuff, I want to do 785 00:34:46,140 --> 00:34:49,820 it by hand, but I'd sure as heck like to, you know, like to learn something without 786 00:34:49,820 --> 00:34:51,120 having to read an entire book or whatever. 787 00:34:51,940 --> 00:34:54,940 So, the explanations are really darn useful. 788 00:34:55,900 --> 00:34:58,900 The nice thing about Bastille is that as you go through, it's not making changes until 789 00:34:58,900 --> 00:34:59,380 you end. 790 00:35:00,680 --> 00:35:03,920 And so, you know, you can read all the explanations and then quit out, you know? 791 00:35:06,440 --> 00:35:09,160 Okay, so, let me pick a good example question. 792 00:35:13,540 --> 00:35:14,060 What's that? 793 00:35:16,740 --> 00:35:18,120 What are the defaults? 794 00:35:18,580 --> 00:35:21,480 So, the question is, are the defaults all hardening steps? 795 00:35:21,680 --> 00:35:25,940 In other words, if you just click enter, enter, enter, enter, or whatever, or, you know, 796 00:35:25,960 --> 00:35:27,940 next, next, next, what happens? 797 00:35:29,180 --> 00:35:34,260 What happens is that you get the defaults that I figure will keep Jay from getting yelled 798 00:35:34,260 --> 00:35:35,040 at all the time. 799 00:35:35,400 --> 00:35:35,800 Okay? 800 00:35:37,060 --> 00:35:39,000 So, the defaults are not the most secure. 801 00:35:39,260 --> 00:35:40,420 They're not like do everything. 802 00:35:40,780 --> 00:35:42,320 Because if we do everything, we are going to fail. 803 00:35:42,340 --> 00:35:46,000 We're going to piss, I don't know, 40%, 50% of the people off. 804 00:35:47,080 --> 00:35:47,800 Maybe everybody. 805 00:35:48,080 --> 00:35:48,360 Okay? 806 00:35:48,560 --> 00:35:51,900 So, the idea is that we want to, we tried to set defaults. 807 00:35:51,900 --> 00:35:53,260 We didn't want to set defaults. 808 00:35:53,260 --> 00:35:57,020 We wanted to make you actually read each question and decide what was best for your system. 809 00:35:57,260 --> 00:35:58,580 Because then you get the best security. 810 00:35:58,860 --> 00:36:05,300 But living in a, living in an imperfect world, we said, okay, yeah, we'll make the defaults 811 00:36:05,300 --> 00:36:07,840 that if you go through all the defaults, you probably won't bitch at Jay. 812 00:36:08,260 --> 00:36:10,720 Because I get a whole lot of email about Bastille as it is. 813 00:36:10,720 --> 00:36:14,720 And like answering the same question over and over about why Telnet's gone kind of sucks. 814 00:36:15,920 --> 00:36:16,560 So, no. 815 00:36:16,640 --> 00:36:19,780 The defaults are not all make the box unusable. 816 00:36:19,980 --> 00:36:22,660 It's whatever I thought would not piss people off. 817 00:36:23,220 --> 00:36:24,680 So, here's an example question. 818 00:36:25,760 --> 00:36:28,220 It's not massively readable from the back, I'm sure. 819 00:36:28,720 --> 00:36:33,360 It says, question, would you like to disable set UID status for mount and umount? 820 00:36:33,940 --> 00:36:34,380 Okay? 821 00:36:34,680 --> 00:36:37,020 So, who doesn't know what set UID is? 822 00:36:38,000 --> 00:36:38,820 Oh, come on. 823 00:36:39,120 --> 00:36:39,980 Somebody in this room. 824 00:36:40,120 --> 00:36:40,520 Okay. 825 00:36:41,220 --> 00:36:42,020 Set UID. 826 00:36:42,800 --> 00:36:47,060 What it does is lets an ordinary user get full super user privileges. 827 00:36:47,260 --> 00:36:50,420 They get the privileges of root just to run this one command. 828 00:36:51,160 --> 00:36:56,540 It's really, an example here is that mounting and unmounting drives, everybody kind of figured 829 00:36:56,540 --> 00:36:59,580 that you'd only want like root to mount and unmount drives. 830 00:37:00,880 --> 00:37:05,940 And so, if you want to use mount and you mount, like if you want to mount a floppy drive or 831 00:37:05,940 --> 00:37:07,420 CD-ROM drive, you might not be root. 832 00:37:07,520 --> 00:37:09,260 You might just be like some user on the system. 833 00:37:09,260 --> 00:37:11,900 Like, I'm letting you play Quake or whatever on my system. 834 00:37:12,000 --> 00:37:14,060 And so, you want to mount the Quake CD-ROM. 835 00:37:14,900 --> 00:37:20,880 So, the idea is that if, and what this question says is, mount and you mount are used for mounting 836 00:37:20,880 --> 00:37:26,800 slash activating and unmounting, deactivating drives that are not automatically mounted 837 00:37:26,800 --> 00:37:27,380 at boot time. 838 00:37:27,620 --> 00:37:29,520 This can include floppy and CD-ROM drives. 839 00:37:30,380 --> 00:37:34,800 Disabling set UID would still allow anyone with a root password to mount and unmount 840 00:37:34,800 --> 00:37:34,980 drives. 841 00:37:35,700 --> 00:37:36,180 Okay. 842 00:37:36,180 --> 00:37:41,660 So, what you're saying is kind of like, yo, if this is a server that like no one's ever 843 00:37:41,660 --> 00:37:45,680 walking up to and sticking floppies in, or at least no one that you want to stick floppies 844 00:37:45,680 --> 00:37:48,600 in, then maybe you should turn off set UID. 845 00:37:49,160 --> 00:37:53,000 And if you did this, you dodged an exploit because there was an exploit in mount that 846 00:37:53,000 --> 00:37:57,760 gave somebody who had access to the box, I mean, who had local access on the system, 847 00:37:57,820 --> 00:38:02,340 not physical, but local access on the system, they got root out of whatever user they had. 848 00:38:03,760 --> 00:38:05,960 So, everyone all of a sudden starts to run home. 849 00:38:05,960 --> 00:38:07,540 And find their exploit for mount. 850 00:38:08,320 --> 00:38:08,940 But, yeah. 851 00:38:09,040 --> 00:38:09,880 You can find the exploit. 852 00:38:09,960 --> 00:38:10,760 I think it's on packet storm. 853 00:38:12,780 --> 00:38:16,440 But, so we can, you know, we offered to shut this off. 854 00:38:16,640 --> 00:38:18,220 You can kind of choose yes. 855 00:38:19,560 --> 00:38:19,920 Question. 856 00:38:20,900 --> 00:38:21,260 Yeah. 857 00:38:21,460 --> 00:38:21,820 Question. 858 00:38:23,060 --> 00:38:23,420 . 859 00:38:28,720 --> 00:38:29,440 Good question. 860 00:38:29,600 --> 00:38:30,100 Damn it. 861 00:38:31,600 --> 00:38:35,940 So, the question was, when you run this, does it check what the default is? 862 00:38:35,960 --> 00:38:37,220 What the state of the system is? 863 00:38:37,720 --> 00:38:39,020 And then let you change it? 864 00:38:39,640 --> 00:38:41,500 Or does it just look at the defaults? 865 00:38:42,600 --> 00:38:43,440 Little bit of both. 866 00:38:44,200 --> 00:38:49,560 What we do is we're not investigating the system to learn what the settings are right 867 00:38:49,560 --> 00:38:49,880 now. 868 00:38:50,380 --> 00:38:50,780 Okay. 869 00:38:50,900 --> 00:38:54,260 What we're doing is letting you create, in essence, we're letting you create a policy 870 00:38:54,260 --> 00:38:54,580 file. 871 00:38:55,140 --> 00:38:56,920 So, we say we've got our default policy. 872 00:38:57,040 --> 00:38:58,960 But if you load up a previous policy, you can edit that. 873 00:38:59,100 --> 00:39:02,080 So, if you had a policy on your system, it brings up the current policy. 874 00:39:02,580 --> 00:39:04,640 Which means if you ran Bastille once. 875 00:39:05,420 --> 00:39:07,120 You change your mind about something. 876 00:39:07,260 --> 00:39:07,400 Okay. 877 00:39:07,440 --> 00:39:08,040 You run Bastille. 878 00:39:08,160 --> 00:39:09,020 You change your mind. 879 00:39:09,080 --> 00:39:10,180 You go back and you change something. 880 00:39:10,380 --> 00:39:11,440 It does the right thing. 881 00:39:11,500 --> 00:39:13,240 And it knows that you had the previous setting. 882 00:39:13,560 --> 00:39:15,360 But right now, we're not investigating systems. 883 00:39:16,040 --> 00:39:21,800 The reason that we're not going and investigating your system is that Linux Conf, Webmin, and 884 00:39:21,800 --> 00:39:24,540 a bunch of other things try to do this configuration management magic. 885 00:39:25,400 --> 00:39:26,460 And I think they suck. 886 00:39:27,120 --> 00:39:28,720 And a lot of people think they suck. 887 00:39:28,880 --> 00:39:30,900 And the more you learn about them, the more you think they suck. 888 00:39:32,660 --> 00:39:34,000 So, I don't want to. 889 00:39:34,000 --> 00:39:36,120 I don't want people to say Bastille sucks. 890 00:39:36,920 --> 00:39:38,840 Except when they're just having fun or something. 891 00:39:39,140 --> 00:39:39,300 You know? 892 00:39:39,380 --> 00:39:43,320 I mean, I don't want people to say, yeah, you know, Bastille doesn't always work. 893 00:39:43,480 --> 00:39:45,400 The way we say Linux Conf doesn't always work. 894 00:39:45,640 --> 00:39:47,300 So, I'm not going there right now. 895 00:39:47,500 --> 00:39:50,780 So, right now, the idea is we help you set a policy. 896 00:39:51,460 --> 00:39:52,740 You create a policy file. 897 00:39:52,960 --> 00:39:56,120 And you can push that across a system or even a thousand systems. 898 00:39:56,220 --> 00:39:59,300 You can take that policy file and use it on a bunch of other systems that are similar enough. 899 00:40:03,180 --> 00:40:04,760 I'd be prepared to evacuate you guys. 900 00:40:04,960 --> 00:40:05,320 Okay. 901 00:40:05,400 --> 00:40:08,380 So, that's what we're doing. 902 00:40:08,940 --> 00:40:09,300 Cool? 903 00:40:10,980 --> 00:40:11,340 Okay. 904 00:40:11,420 --> 00:40:13,060 So, you go through and you answer questions. 905 00:40:13,660 --> 00:40:15,900 If you guys want to see more of the questions, you just want to, like. 906 00:40:16,760 --> 00:40:17,120 Okay. 907 00:40:20,400 --> 00:40:20,760 Question. 908 00:40:24,640 --> 00:40:25,080 What's that? 909 00:40:30,240 --> 00:40:30,680 Yep. 910 00:40:31,140 --> 00:40:31,580 Okay. 911 00:40:31,680 --> 00:40:34,560 So, the question was, can we configure stuff on a per interface basis? 912 00:40:34,860 --> 00:40:39,120 Can we say that Apache should only respond on eth0 but not eth1 or the other way around? 913 00:40:39,300 --> 00:40:44,280 Or set Apache to only run on local interface? 914 00:40:44,720 --> 00:40:46,280 Yes, we can do that for Apache. 915 00:40:46,500 --> 00:40:48,000 We can do it for the stuff we can do it for. 916 00:40:48,200 --> 00:40:49,200 And then we've got a firewall. 917 00:40:50,580 --> 00:40:57,840 Individual machine firewall that will let you set which interfaces, you know, the machine will take Apache related traffic to. 918 00:40:57,940 --> 00:40:58,960 If you can define what that is. 919 00:40:58,960 --> 00:40:59,240 Yeah. 920 00:40:59,460 --> 00:41:00,060 Question. 921 00:41:00,440 --> 00:41:08,700 Is the firewall, did we write new Linux kernel firewalling from scratch? 922 00:41:09,240 --> 00:41:09,840 No. 923 00:41:10,560 --> 00:41:26,560 If you've got Linux 2.2, 2.4 with the associated IP chains binary or IP tables binary, we will run through a whatever, 300, 400 line firewall and just run IP chains, IP chains, IP chains commands or IP tables or whatever. 924 00:41:26,840 --> 00:41:27,240 Yes. 925 00:41:28,060 --> 00:41:28,460 . 926 00:41:30,240 --> 00:41:31,440 It overwrites what you have. 927 00:41:31,440 --> 00:41:33,560 The question was, does it overwrite your existing firewall? 928 00:41:33,940 --> 00:41:34,340 Yes. 929 00:41:34,460 --> 00:41:47,220 Again, it's really, really hard for a program to be smart enough to parse your current firewall and then make, you know, and then make additions to it that make sense unless it understands the firewall. 930 00:41:47,400 --> 00:41:50,320 So, it's, we're making our own which gets you better security in general. 931 00:41:50,460 --> 00:41:51,040 Another question. 932 00:41:51,560 --> 00:41:51,860 . 933 00:41:54,400 --> 00:41:56,960 Does it tell you what changes have been made or does it make the changes? 934 00:41:57,060 --> 00:41:57,220 . 935 00:41:57,240 --> 00:42:01,520 Well, the first answer to that is, as you're reading through, you kind of find out what you're doing. 936 00:42:01,820 --> 00:42:05,220 You know, we just, we just took, we just took set UID off ping. 937 00:42:06,680 --> 00:42:09,840 But we also have a log file that tells you everything that it did. 938 00:42:10,180 --> 00:42:12,980 If you're, if you're a Perl programmer, it makes more sense. 939 00:42:13,580 --> 00:42:18,400 But, you know, or if you're at least a system and it makes more sense, newbies can maybe figure it out. 940 00:42:18,540 --> 00:42:21,420 So, yeah, we kind of, we're working on that. 941 00:42:21,800 --> 00:42:22,200 Mick. 942 00:42:23,440 --> 00:42:23,840 . 943 00:42:26,820 --> 00:42:27,220 . 944 00:42:30,560 --> 00:42:32,400 Wow, that's a lot easier. 945 00:42:32,620 --> 00:42:42,700 One of the reasons that I was able to get Bastille to run on SUSE without very much effort at all was because of the rather high level of quality logging that Bastille does. 946 00:42:43,260 --> 00:42:51,400 And so, what, all that I had to do was go through that log after, after running the policy script and seeing what failed and why. 947 00:42:51,700 --> 00:42:57,200 And in most cases, it was just a matter of some config file not being where it would be. 948 00:42:57,200 --> 00:42:59,600 So, I had to do it in, say, Red Hat or, or in Mandrake. 949 00:43:00,020 --> 00:43:05,260 And, you know, a lot of the differences between SUSE and, and those OSs kind of boils down to locations. 950 00:43:05,720 --> 00:43:09,240 And then going through and tweaking the script itself. 951 00:43:09,760 --> 00:43:18,660 And I'm by no means a Perl guru, but there's enough, you know, English in Bastille Linux scripts to customize them pretty equally. 952 00:43:18,900 --> 00:43:20,060 And I think that's one of the big strengths. 953 00:43:20,280 --> 00:43:22,120 So, you owe me a beer. 954 00:43:22,840 --> 00:43:23,320 . 955 00:43:25,900 --> 00:43:27,100 I forgot about my beer. 956 00:43:28,620 --> 00:43:32,300 Okay, so, yeah, yeah, that was the answer. 957 00:43:33,180 --> 00:43:34,200 There was another question? 958 00:43:34,860 --> 00:43:35,260 Yeah? 959 00:43:36,420 --> 00:43:36,820 . 960 00:43:40,980 --> 00:43:42,600 There's an explain less button. 961 00:43:42,780 --> 00:43:45,240 He wants an explain even more button. 962 00:43:45,460 --> 00:43:48,840 Yeah, what we did was we said, we're going to, we wrote good explanations. 963 00:43:48,920 --> 00:43:52,600 Then we said, oh, God, maybe some people want to get through this thing more quickly. 964 00:43:52,600 --> 00:43:53,620 So, we made an explain less. 965 00:43:53,940 --> 00:44:03,320 So, on a per-question basis, you can define, you can define how, you can define basically how good, how detailed the explanations are. 966 00:44:03,520 --> 00:44:05,320 And that's a, that's a really useful thing. 967 00:44:06,900 --> 00:44:08,500 Yeah, and explain even more. 968 00:44:08,660 --> 00:44:10,360 Okay, so, yeah, plug time. 969 00:44:10,960 --> 00:44:16,180 Explain even more means read my articles on Security Portal or, or go buy my book when it's done or something. 970 00:44:17,700 --> 00:44:22,120 The other version of explain more is the best thing you can do for security. 971 00:44:22,120 --> 00:44:26,520 One of the best freaking things you can do for security is to understand your system better. 972 00:44:26,980 --> 00:44:33,440 Okay, if you, if you understand, if you, you can't really hack a system or you can't hack a system with your own script. 973 00:44:34,280 --> 00:44:36,400 Unless you really understand how it works. 974 00:44:36,480 --> 00:44:39,340 So, the better you can understand your system, the better you'll get at security. 975 00:44:40,160 --> 00:44:40,980 There's a, yeah? 976 00:44:42,120 --> 00:44:42,580 . 977 00:44:45,380 --> 00:44:46,020 I'm sorry? 978 00:44:47,100 --> 00:44:47,560 . 979 00:44:47,560 --> 00:44:47,760 . 980 00:44:47,760 --> 00:44:48,200 . 981 00:44:50,760 --> 00:44:52,460 There's a very good suggestion. 982 00:44:52,700 --> 00:44:54,400 We should include a relative threat level. 983 00:44:54,500 --> 00:44:56,280 Say, this is something you can do. 984 00:44:56,440 --> 00:44:59,720 If you don't do it, you're a fucking goner, man. 985 00:45:00,040 --> 00:45:03,080 Or, this is kind of just something we think might be useful. 986 00:45:03,260 --> 00:45:04,100 That would be a good idea. 987 00:45:05,740 --> 00:45:09,220 It's, with hardening, you're really just trying to, you're just trying to get into a better state. 988 00:45:09,560 --> 00:45:10,960 But, yeah, we can probably do that. 989 00:45:11,420 --> 00:45:14,640 The tough thing is, what's the relative threat level of set UID mount? 990 00:45:15,080 --> 00:45:16,820 Until the mount exploit comes out, I don't know. 991 00:45:19,280 --> 00:45:19,640 . 992 00:45:22,200 --> 00:45:22,680 What's that? 993 00:45:22,920 --> 00:45:23,200 . 994 00:45:23,200 --> 00:45:23,980 Oh, yeah. 995 00:45:24,060 --> 00:45:27,260 If an exploit exists already, yeah, we can definitely do that, we can say. 996 00:45:27,500 --> 00:45:29,580 We've thought about actually doing host-based vulnerability. 997 00:45:30,040 --> 00:45:33,640 Like, just saying, hey, as long as we're poking around your system, let us tell you what's wrong with it. 998 00:45:33,720 --> 00:45:33,880 You know? 999 00:45:34,100 --> 00:45:35,320 And that might be something we do. 1000 00:45:35,640 --> 00:45:36,000 Yeah? 1001 00:45:36,460 --> 00:45:36,820 . 1002 00:45:36,820 --> 00:45:46,260 Expanding on the explain more, maybe another thought would be to mention particular man pages that would be helpful for newbies. 1003 00:45:46,260 --> 00:45:47,260 As to which? 1004 00:45:47,520 --> 00:45:47,900 . 1005 00:45:47,900 --> 00:45:47,960 Okay. 1006 00:45:48,080 --> 00:45:53,840 What he said was, expanding on the explain more, maybe we should start referencing man pages that these newbies should read. 1007 00:45:54,020 --> 00:45:54,540 Good idea. 1008 00:45:55,080 --> 00:45:55,800 Yeah, question? 1009 00:45:57,260 --> 00:45:57,700 . 1010 00:46:01,220 --> 00:46:02,840 Do we have a backup capability? 1011 00:46:03,200 --> 00:46:04,100 Yeah, I'm right with you. 1012 00:46:04,240 --> 00:46:05,380 We have a backup capability. 1013 00:46:05,780 --> 00:46:13,660 Every time, whenever you, when you first run Bastille, okay, when you first run Bastille, among other things, we make a backup of every single file we modify. 1014 00:46:13,980 --> 00:46:14,420 Okay? 1015 00:46:14,420 --> 00:46:20,680 They're in a directory called, like, var, log, Bastille, undo, backup. 1016 00:46:21,420 --> 00:46:26,920 And in there, what you'll see is, like, your Etsy password file is in a directory called Etsy in there. 1017 00:46:27,100 --> 00:46:30,160 So it's, like, you can actually use tar to go and undo the backup. 1018 00:46:30,380 --> 00:46:32,520 Or you can just run our fancy-schwancy undo program. 1019 00:46:32,940 --> 00:46:35,220 So, yeah, we'll take you right back to where you were. 1020 00:46:35,820 --> 00:46:41,160 It's, like, a, it's not a really refined go back, but it's, like, a big red button. 1021 00:46:41,240 --> 00:46:43,760 Like, I just ran Bastille and everything's all fucked up. 1022 00:46:43,760 --> 00:46:46,620 So, you know, I hit a big red button and it all comes back. 1023 00:46:46,980 --> 00:46:50,540 People use this thing a lot when they misconfigure their firewall. 1024 00:46:51,140 --> 00:46:52,020 Yeah, another question. 1025 00:46:54,900 --> 00:46:56,360 What are my feelings on sudo? 1026 00:46:56,860 --> 00:47:02,760 Okay, sudo is used in place of, like, there are a couple things you can do with set UID programs or whatever. 1027 00:47:03,540 --> 00:47:08,020 You can take a set UID program and set it so it's not world executable. 1028 00:47:08,100 --> 00:47:09,260 It's only executable by a group. 1029 00:47:09,380 --> 00:47:10,800 And then put a bunch of people in that group. 1030 00:47:11,020 --> 00:47:13,000 So you might have a group called pingers. 1031 00:47:13,000 --> 00:47:16,340 You know, people are allowed to use ping as, people are allowed to use ping as root. 1032 00:47:16,660 --> 00:47:17,840 I like sudo. 1033 00:47:18,060 --> 00:47:19,000 Sudo is cool. 1034 00:47:19,280 --> 00:47:19,640 Okay? 1035 00:47:19,680 --> 00:47:24,160 Sudo lets you do the same kind of thing except it's got a lot more flexibility and a lot more built-in security. 1036 00:47:25,340 --> 00:47:25,960 It's nice. 1037 00:47:26,260 --> 00:47:27,380 Sudo is a nice option. 1038 00:47:27,560 --> 00:47:29,100 I think everyone should go and read about sudo. 1039 00:47:29,320 --> 00:47:30,240 Go read about sudo. 1040 00:47:30,400 --> 00:47:31,120 Go check it out. 1041 00:47:31,160 --> 00:47:31,800 It's really useful. 1042 00:47:32,320 --> 00:47:42,120 If you are an assistant administrator in this room and you've got people helping you, you've got, like, you know, little kids or whatever, like staff or something, you need sudo. 1043 00:47:42,400 --> 00:47:42,760 Okay? 1044 00:47:43,000 --> 00:47:48,360 It lets you delegate, it lets you delegate certain tasks to somebody without giving them the root password. 1045 00:47:48,580 --> 00:48:04,520 So instead of my sysadmin, like, you know, a few years back, like, giving me the root password on all the systems, he could have, like, just given me, like, sudo permission to just do the stuff I needed to do, you know, like swap the tapes or something. 1046 00:48:05,480 --> 00:48:06,700 So sudo is really cool. 1047 00:48:06,820 --> 00:48:07,320 I like sudo. 1048 00:48:09,100 --> 00:48:12,500 What's the security implications of keeping all the backup files? 1049 00:48:13,820 --> 00:48:15,780 Does that open up another local exploit? 1050 00:48:16,700 --> 00:48:21,220 What about the security implications of keeping all those backup files, those undo files on the system? 1051 00:48:21,320 --> 00:48:22,340 Does it open up another exploit? 1052 00:48:23,460 --> 00:48:24,560 You're too paranoid, boy. 1053 00:48:26,380 --> 00:48:27,100 Not really. 1054 00:48:27,280 --> 00:48:29,360 Because to read that stuff, you've got to be root. 1055 00:48:29,480 --> 00:48:30,580 Like, we set the permissions well. 1056 00:48:31,080 --> 00:48:38,940 And if you're root already, you know, if you can read those files, if you can read the backup, the old files, you can basically read the current ones. 1057 00:48:39,100 --> 00:48:42,240 So, you know, we're not really, it's not really, like, a problem. 1058 00:48:42,240 --> 00:48:42,360 So, you know, I think sudo is a great way to do it. 1059 00:48:42,360 --> 00:48:46,160 You haven't won anything. So, it's, no, it shouldn't be a problem. 1060 00:48:46,340 --> 00:48:48,880 It shouldn't be a problem. Yeah, question back there. 1061 00:48:51,580 --> 00:48:53,980 Male Speaker 1 in audience 2 speaking 1062 00:48:53,980 --> 00:48:56,720 Male Speaker 1 in audience 2 speaking 1063 00:48:57,480 --> 00:48:58,080 Male Speaker 1 in audience 2 speaking 1064 00:49:02,260 --> 00:49:05,640 Ooh, I like this question. So, both from the user community 1065 00:49:06,340 --> 00:49:09,700 and developers who want to get involved, what can you do to help? 1066 00:49:10,080 --> 00:49:13,760 Okay, so if you're a pro programmer and you've got 1067 00:49:13,760 --> 00:49:17,840 some part of the system that we're not currently hardening and you'd like to write a script, 1068 00:49:18,560 --> 00:49:21,560 Samba would be really good. I'd love to see if somebody could do some good Samba, 1069 00:49:21,720 --> 00:49:24,420 a good Samba, like, configurator for better security. 1070 00:49:25,380 --> 00:49:29,840 The best thing you can do is go and read the slides I'm going to put up on my website from a talk I gave last week 1071 00:49:29,840 --> 00:49:32,920 in Bordeaux called Hacking Bastille Modules. 1072 00:49:33,940 --> 00:49:37,300 And that'll help you create, you know, your own modules. So, you know, 1073 00:49:37,300 --> 00:49:39,400 get in and, like, send me an email and say, 1074 00:49:39,700 --> 00:49:43,160 I want to do this, and we'll start talking, and you can make your own module. 1075 00:49:43,720 --> 00:49:47,320 If you're a user, there's lots of areas you can help. One of them is testing. We could really 1076 00:49:47,320 --> 00:49:51,780 use some good testing. It's surprising, you know, how hard it is 1077 00:49:51,780 --> 00:49:54,240 to hold onto testers, but people get kind of bored. So, 1078 00:49:55,420 --> 00:49:59,720 yeah, we could use testers. People who have VMware are amazingly useful. 1079 00:50:00,900 --> 00:50:02,860 We can use people who can 1080 00:50:03,340 --> 00:50:07,260 write or clean up our documentation. We can use people 1081 00:50:07,260 --> 00:50:11,200 who can run Bastille on a system and then see what 1082 00:50:11,200 --> 00:50:15,240 and, you know, we can use hackers. We can use people who can run Bastille on a system and see what they can 1083 00:50:15,240 --> 00:50:17,560 still do to it to send us an email and say, 1084 00:50:18,840 --> 00:50:23,160 I rooted the Bastille box. You know, like, I'd find that very useful. I'd like some 1085 00:50:23,160 --> 00:50:27,280 research. So, whatever you can think of that you think you could donate to this 1086 00:50:27,280 --> 00:50:30,020 project in terms of time, energy, and thoughts, 1087 00:50:30,820 --> 00:50:34,920 yeah, you probably can. Future 1088 00:50:34,920 --> 00:50:38,920 speaker. How many minutes do I have left? Oh. How many minutes do I have left? What time is it? 1089 00:50:40,620 --> 00:50:42,060 1256. I got four minutes. 1090 00:50:42,320 --> 00:50:46,980 When's my book coming out? Books take a long time to write 1091 00:50:46,980 --> 00:50:51,040 and then a long time to publish in maybe a year. Maybe six months, but it depends on how quickly 1092 00:50:51,040 --> 00:50:52,800 I write. Yeah. 1093 00:50:59,220 --> 00:51:02,840 With 2.4 kernel, okay, with the 2.4 kernel in 1094 00:51:02,840 --> 00:51:04,900 place of IP chains, we're having IP 1095 00:51:04,920 --> 00:51:08,420 tables in place of IP chains. What is that bias? Much 1096 00:51:08,420 --> 00:51:12,180 better firewalling, damn it. Among other things, 1097 00:51:13,100 --> 00:51:16,160 FTP is a bitch to firewall when you've got a stateless packet filter 1098 00:51:16,900 --> 00:51:20,780 and it's a whole lot easier to firewall when you've got a 1099 00:51:20,780 --> 00:51:24,760 stateful packet filter. 2.4's packet filter is stateful. 1100 00:51:24,860 --> 00:51:28,920 It's just a whole lot smarter, okay? It's just 1101 00:51:28,920 --> 00:51:32,660 really good and if there's no other questions, I'll go on and on about it, but 1102 00:51:32,660 --> 00:51:36,620 stateful packet filtering rocks and we take advantage of it and we'll take advantage of more 1103 00:51:36,620 --> 00:51:40,420 of the cool features like MAC address filtering or whatever. So, yeah, 1104 00:51:40,480 --> 00:51:44,000 we'll get there. It's cool. Yeah. 1105 00:51:48,180 --> 00:51:48,700 . 1106 00:51:51,700 --> 00:51:52,220 . 1107 00:51:52,220 --> 00:51:56,200 . I'm sorry? 1108 00:51:56,440 --> 00:51:56,840 . 1109 00:51:58,680 --> 00:51:58,840 . 1110 00:52:14,740 --> 00:52:14,900 . 1111 00:52:14,900 --> 00:52:15,140 . 1112 00:52:15,340 --> 00:52:15,500 . 1113 00:52:15,500 --> 00:52:15,580 . 1114 00:52:15,580 --> 00:52:15,620 . 1115 00:52:15,620 --> 00:52:15,760 . 1116 00:52:15,760 --> 00:52:15,780 . 1117 00:52:15,780 --> 00:52:15,800 . 1118 00:52:15,800 --> 00:52:15,820 . 1119 00:52:15,820 --> 00:52:15,840 . 1120 00:52:15,840 --> 00:52:15,860 . 1121 00:52:22,400 --> 00:52:22,560 . 1122 00:52:27,000 --> 00:52:27,520 . 1123 00:52:30,720 --> 00:52:31,240 . 1124 00:52:32,740 --> 00:52:33,260 . 1125 00:52:36,060 --> 00:52:36,580 . 1126 00:52:36,580 --> 00:52:36,700 . 1127 00:52:36,700 --> 00:52:37,220 . 1128 00:52:37,220 --> 00:52:37,300 . 1129 00:52:37,300 --> 00:52:37,540 . 1130 00:52:37,540 --> 00:52:37,820 . 1131 00:52:37,820 --> 00:52:37,860 . 1132 00:52:37,860 --> 00:52:37,900 . 1133 00:52:37,900 --> 00:52:37,960 . 1134 00:52:41,980 --> 00:52:42,500 . 1135 00:52:42,500 --> 00:52:42,680 . 1136 00:52:56,840 --> 00:52:57,000 . 1137 00:53:00,740 --> 00:53:01,020 . 1138 00:53:02,700 --> 00:53:02,980 . 1139 00:53:08,020 --> 00:53:08,300 . 1140 00:53:08,300 --> 00:53:08,760 . 1141 00:53:08,760 --> 00:53:08,860 . 1142 00:53:08,860 --> 00:53:09,040 . 1143 00:53:09,040 --> 00:53:09,120 . 1144 00:53:09,120 --> 00:53:09,140 . 1145 00:53:09,140 --> 00:53:09,160 . 1146 00:53:09,160 --> 00:53:09,280 . 1147 00:53:09,280 --> 00:53:09,320 . 1148 00:53:21,360 --> 00:53:21,480 . . 1149 00:53:25,560 --> 00:53:25,660 . . 1150 00:53:25,660 --> 00:53:25,780 . . 1151 00:53:25,780 --> 00:53:25,820 . . 1152 00:53:25,820 --> 00:53:25,860 . . 1153 00:53:26,000 --> 00:53:26,080 . . 1154 00:53:26,080 --> 00:53:26,120 . . 1155 00:53:26,120 --> 00:53:26,160 . . 1156 00:53:26,280 --> 00:53:26,600 . . . 1157 00:53:27,420 --> 00:53:27,760 . . . 1158 00:53:27,760 --> 00:53:39,300 . . . 1159 00:53:39,300 --> 00:53:44,000 users or box owners deploying it on their box. Whatever. It's all good. It's very, very useful 1160 00:53:44,000 --> 00:53:52,800 everywhere. You know? I don't know. Another question. What time is it? Four. Hold on. Last 1161 00:53:52,800 --> 00:53:59,860 question. What's that? How do you feel about having a modulized kernel versus a monolith? 1162 00:54:00,100 --> 00:54:07,460 Oh, shit. A kernel module question. It would be really cool to figure out exactly what you 1163 00:54:07,460 --> 00:54:10,620 want on your kernel and build it and not have the capability to load modules. That would be 1164 00:54:10,620 --> 00:54:15,040 really useful because then we don't have to worry about module like rootkit so much. But 1165 00:54:15,040 --> 00:54:18,380 otherwise, that's all I got to say. Okay. I am done.