1 00:00:30,080 --> 00:00:32,180 Oh, my God. 2 00:01:06,880 --> 00:01:10,180 Oh, my God. 3 00:01:42,280 --> 00:01:42,760 Oh, my God. 4 00:01:42,760 --> 00:01:43,940 Survive the two minutes, I guess. 5 00:01:50,940 --> 00:01:53,340 Also, as a courtesy to everyone in here, 6 00:01:53,460 --> 00:01:55,980 please turn off your cell phone and paging devices. 7 00:01:56,320 --> 00:01:58,160 I hate it when those things ring. 8 00:01:58,200 --> 00:01:58,960 They're distracting. 9 00:01:58,960 --> 00:01:59,060 They're distracting. 10 00:01:59,360 --> 00:02:03,040 So please, just, if you can be courteous, 11 00:02:03,040 --> 00:02:03,640 just turn them off. 12 00:02:03,800 --> 00:02:04,140 Thank you. 13 00:02:04,900 --> 00:02:06,860 Otherwise, I'll have to get a cell phone jammer next year, 14 00:02:06,920 --> 00:02:07,740 and I don't want to have to do that. 15 00:02:16,140 --> 00:02:16,860 Air Ideas. 16 00:02:18,140 --> 00:02:20,940 I have looked at no less than, 17 00:02:21,800 --> 00:02:22,500 well, let's look. 18 00:02:22,700 --> 00:02:23,900 There's Network Flight Recorder. 19 00:02:25,580 --> 00:02:26,860 There's Real Secure. 20 00:02:28,120 --> 00:02:28,940 There's those horoscopes. 21 00:02:28,960 --> 00:02:30,440 There's those horrible NT-based ones from Craptor. 22 00:02:30,540 --> 00:02:31,220 I mean, Raptor. 23 00:02:33,100 --> 00:02:33,620 Sorry. 24 00:02:33,880 --> 00:02:34,820 Accident Technologies. 25 00:02:35,080 --> 00:02:35,960 They don't call them that for nothing. 26 00:02:37,760 --> 00:02:40,520 And they basically all have a problem. 27 00:02:41,000 --> 00:02:42,240 None of them are integrated. 28 00:02:42,740 --> 00:02:45,160 They yell at you, and they scream, 29 00:02:45,720 --> 00:02:47,580 and they don't do anything. 30 00:02:48,100 --> 00:02:49,520 And more often than that, 31 00:02:49,680 --> 00:02:53,560 I regard an IDS largely as a DOS against the operator. 32 00:02:53,860 --> 00:02:55,580 It's what you call a human denial of service. 33 00:02:56,720 --> 00:02:58,260 When you have a human being 34 00:02:58,260 --> 00:03:00,260 who can only take in so much finite information. 35 00:03:01,020 --> 00:03:05,320 Well, in IDS, I had the misfortune of looking at Real Secure. 36 00:03:05,440 --> 00:03:06,540 And it has some nice features 37 00:03:06,540 --> 00:03:08,720 if you want to snoop people's IRC traffic. 38 00:03:09,120 --> 00:03:12,840 But the problem with it is it's noisy. 39 00:03:13,220 --> 00:03:15,680 And one day, I got, just with the default set, 40 00:03:15,800 --> 00:03:18,160 I got 300 email messages. 41 00:03:18,460 --> 00:03:19,000 Do you know what I did? 42 00:03:19,120 --> 00:03:21,500 I created a filter that automatically sends them to the trash 43 00:03:21,500 --> 00:03:24,220 because I don't really care about all these things 44 00:03:24,220 --> 00:03:25,360 that aren't really happening, 45 00:03:25,460 --> 00:03:26,400 or they're happening wrong. 46 00:03:28,280 --> 00:03:29,640 And they're just dumb. 47 00:03:29,940 --> 00:03:31,880 It's like, basically, IDS technology 48 00:03:32,400 --> 00:03:35,200 is like a virus scanner, but it only scans. 49 00:03:35,460 --> 00:03:38,060 It doesn't clean, it doesn't quarantine, 50 00:03:38,520 --> 00:03:39,520 and it doesn't do anything. 51 00:03:39,760 --> 00:03:42,320 Who cares if you have a virus if you can't clean it? 52 00:03:43,100 --> 00:03:45,520 So anyways, this is why I... 53 00:03:45,520 --> 00:03:46,900 And a guy named Chris Kuth, 54 00:03:47,000 --> 00:03:49,460 a really, really, really sharp Canadian fellow 55 00:03:49,460 --> 00:03:50,220 who isn't here, 56 00:03:51,020 --> 00:03:52,700 he's the OpenBSD portion of this. 57 00:03:52,760 --> 00:03:54,640 I use OpenBSD. 58 00:03:54,700 --> 00:03:56,520 I am not a god in it, so please forgive me 59 00:03:56,520 --> 00:03:57,940 if I might spell it wrong. 60 00:03:58,260 --> 00:04:00,980 Occasionally, I'm not a BSD god, 61 00:04:01,220 --> 00:04:02,440 so please forgive me for that. 62 00:04:02,800 --> 00:04:04,020 Anyways, I'm going to begin now. 63 00:04:09,200 --> 00:04:10,660 A note of caution. 64 00:04:12,620 --> 00:04:15,380 Automated response systems can cause more problems 65 00:04:15,380 --> 00:04:16,220 than they solve. 66 00:04:18,180 --> 00:04:20,000 These things that I'm presenting you 67 00:04:20,000 --> 00:04:21,060 are nothing more than guidelines. 68 00:04:23,000 --> 00:04:25,600 Denial of service in yourself is very easy. 69 00:04:26,960 --> 00:04:28,240 Enemies more clever than you are. 70 00:04:28,240 --> 00:04:29,980 Enemies in yourself can make life most miserable. 71 00:04:31,440 --> 00:04:34,120 Nothing replaces vigilance, defense in depth, 72 00:04:34,360 --> 00:04:36,620 keeping servers patched, and being sneaky. 73 00:04:38,500 --> 00:04:40,840 Again, the reason I put this note of caution 74 00:04:40,840 --> 00:04:42,480 is because what I'm suggesting, 75 00:04:43,320 --> 00:04:44,760 I thought of it just today, 76 00:04:44,900 --> 00:04:47,720 was basically, I'm given the equivalent of SAMs. 77 00:04:47,780 --> 00:04:49,720 We now have radar, which is IDS, 78 00:04:49,720 --> 00:04:51,040 but now you have SAMs, 79 00:04:51,040 --> 00:04:53,220 which you can launch against incoming aircraft. 80 00:04:53,640 --> 00:04:55,920 But if suddenly your SAM thinks 81 00:04:55,920 --> 00:04:57,900 that your air traffic controller is a target, 82 00:04:58,240 --> 00:04:59,720 things are going to get in trouble. 83 00:05:00,180 --> 00:05:01,980 So this is just a note of caution, 84 00:05:02,060 --> 00:05:03,360 that what I'm describing 85 00:05:03,360 --> 00:05:05,180 and the flexible response systems 86 00:05:05,180 --> 00:05:07,500 which I will be describing in here 87 00:05:07,500 --> 00:05:11,660 can cause more problems than they cure. 88 00:05:12,000 --> 00:05:14,920 So with that said, I'm going to continue. 89 00:05:16,140 --> 00:05:17,280 Don't say I didn't warn you. 90 00:05:22,420 --> 00:05:24,260 Deficiencies of typical IDSs. 91 00:05:24,880 --> 00:05:27,280 They do not adapt and consider multiple 92 00:05:28,240 --> 00:05:28,620 factors. 93 00:05:29,880 --> 00:05:33,000 They only respond with things like resets or blocks. 94 00:05:33,600 --> 00:05:36,020 They don't do anything, they just scream. 95 00:05:37,040 --> 00:05:39,380 And they do not automatically stop an intruder. 96 00:05:39,980 --> 00:05:42,260 One of the largest things I've heard here 97 00:05:42,260 --> 00:05:43,220 is automated attack. 98 00:05:43,640 --> 00:05:45,160 Well, why not automated defense? 99 00:05:45,940 --> 00:05:48,020 Or even better, automated defense, 100 00:05:48,220 --> 00:05:50,820 and if necessary, I don't advocate the use 101 00:05:50,820 --> 00:05:54,920 of offensive force, but flexible response I do advocate. 102 00:05:55,240 --> 00:05:56,920 And instead of just dropping a packet, 103 00:05:57,000 --> 00:05:57,980 what if suddenly I start, 104 00:05:57,980 --> 00:06:00,720 start logging, let the intruder think they've got in 105 00:06:00,720 --> 00:06:03,480 and reroute them dynamically to a honeypot 106 00:06:03,480 --> 00:06:05,480 as they're attacking my IIS server. 107 00:06:05,820 --> 00:06:08,500 That's one kind of a dynamic response that you can do 108 00:06:08,500 --> 00:06:10,980 instead of just a, oh, I'm reset packet. 109 00:06:11,320 --> 00:06:13,400 I mean, that just seems lame to me. 110 00:06:13,600 --> 00:06:15,760 I mean, with the AI technology that we have, 111 00:06:15,920 --> 00:06:20,140 with all the clever and really cool hacks I'm seeing, 112 00:06:20,220 --> 00:06:22,040 why can't we have clever responses? 113 00:06:22,520 --> 00:06:22,740 Yes. 114 00:06:27,540 --> 00:06:28,620 They're also expensive. 115 00:06:29,140 --> 00:06:31,340 An average IDS sensor will run you 116 00:06:31,340 --> 00:06:36,020 between $5,000 to $15,000 per sensor. 117 00:06:36,720 --> 00:06:39,300 Now, I don't mind making people like NFR rich. 118 00:06:39,500 --> 00:06:40,800 I don't have any problem against it. 119 00:06:40,820 --> 00:06:42,080 They have a reasonable product. 120 00:06:42,160 --> 00:06:43,460 At least it's not based on NT. 121 00:06:45,840 --> 00:06:49,060 But when I see that it's that much, 122 00:06:49,120 --> 00:06:51,780 and I say I want a place, I work in a trading environment, 123 00:06:51,900 --> 00:06:52,580 and we have, 124 00:06:53,040 --> 00:06:54,520 I think at last count, 125 00:06:54,600 --> 00:06:56,460 at least 14 different networks 126 00:06:56,880 --> 00:06:59,020 on like 15 different vendors. 127 00:06:59,360 --> 00:07:01,540 And that's a lot of places where I'm going to place sensors. 128 00:07:01,920 --> 00:07:04,160 At $15,000 a sensor, 129 00:07:04,860 --> 00:07:05,960 that's a lot of money. 130 00:07:06,340 --> 00:07:09,180 Now, people who are traders hate to spend money. 131 00:07:09,320 --> 00:07:11,160 They love spending it if there's equities and risk. 132 00:07:11,420 --> 00:07:12,220 You know, give me my money. 133 00:07:12,300 --> 00:07:14,740 But ask them to spend $10,000 on a firewall product 134 00:07:14,740 --> 00:07:16,940 and what's my ROI? 135 00:07:17,240 --> 00:07:18,600 And then you say, oh, it makes you feel safe. 136 00:07:18,700 --> 00:07:19,540 And then they laugh at you. 137 00:07:19,760 --> 00:07:22,000 So this is kind of, 138 00:07:22,740 --> 00:07:24,840 basically for the cost of a sensor, 139 00:07:25,000 --> 00:07:28,100 $400 with a Celeron processor with a, 140 00:07:28,120 --> 00:07:29,500 if you want to really be fancy, 141 00:07:29,580 --> 00:07:31,960 buy yourself a $500 Intel Ether Express Pro 142 00:07:31,960 --> 00:07:33,220 with four ports 143 00:07:33,220 --> 00:07:35,980 so you can monitor up to four ports per sensor. 144 00:07:36,020 --> 00:07:37,260 Now, if you don't have enough CPU, 145 00:07:37,520 --> 00:07:38,400 well, that's a different question. 146 00:07:38,540 --> 00:07:40,940 But it's definitely an option. 147 00:07:42,900 --> 00:07:43,860 The signatures, 148 00:07:44,420 --> 00:07:46,540 which are the heart of all IDSs today, 149 00:07:46,680 --> 00:07:48,140 with the exception of anomaly-based, 150 00:07:48,640 --> 00:07:50,380 are not updated fast enough. 151 00:07:50,540 --> 00:07:51,240 I think, 152 00:07:51,320 --> 00:07:52,600 I may be wrong, 153 00:07:52,740 --> 00:07:55,980 but from a year ago when I was dealing with ISS, 154 00:07:56,220 --> 00:07:56,920 they updated quarterly. 155 00:07:57,280 --> 00:07:58,580 Maybe more than that now, 156 00:07:58,660 --> 00:07:59,720 but it was roughly quarterly. 157 00:08:01,060 --> 00:08:01,760 NFRs, I think, 158 00:08:01,800 --> 00:08:03,100 were a little better monthly. 159 00:08:03,840 --> 00:08:06,780 And I don't really know how RealSecure does it. 160 00:08:06,880 --> 00:08:08,420 I haven't actually looked at theirs. 161 00:08:08,560 --> 00:08:10,940 But even if it's a month, it's too long. 162 00:08:11,120 --> 00:08:11,900 All of a sudden, 163 00:08:11,940 --> 00:08:13,760 all these clever people here come out with, 164 00:08:13,820 --> 00:08:17,460 say, 17 variants on a new exploit 165 00:08:17,460 --> 00:08:18,960 for, God forbid, IIS. 166 00:08:20,460 --> 00:08:21,880 And, you know, Unicode, 167 00:08:21,880 --> 00:08:23,000 or, you know, some kind of a thing. 168 00:08:23,060 --> 00:08:24,140 Because Microsoft, when they patch things, 169 00:08:24,240 --> 00:08:25,300 they just patch the one thing. 170 00:08:25,360 --> 00:08:27,020 Oh, it's a 256-byte-off, 171 00:08:27,060 --> 00:08:29,260 but not a 257-byte-off set. 172 00:08:29,580 --> 00:08:30,360 Because, you know, I mean, 173 00:08:30,360 --> 00:08:31,780 they don't patch very well. 174 00:08:32,060 --> 00:08:35,380 So, basically, because of the fact, 175 00:08:35,560 --> 00:08:36,400 and this is another limitation, 176 00:08:36,660 --> 00:08:38,980 is signature-based IDSs do not detect things 177 00:08:38,980 --> 00:08:40,440 that they don't have signatures for. 178 00:08:40,720 --> 00:08:42,420 So it's very nice to be able to have 179 00:08:42,420 --> 00:08:43,720 other people all over the net 180 00:08:43,720 --> 00:08:44,900 who are relatively intelligent 181 00:08:44,900 --> 00:08:45,880 writing signatures. 182 00:08:48,840 --> 00:08:50,520 You're also locked into a closed 183 00:08:50,520 --> 00:08:51,620 and expensive solution, 184 00:08:52,080 --> 00:08:54,720 if I, I mean, some of them do have languages, 185 00:08:54,800 --> 00:08:56,020 but, like, for instance, the NFR, 186 00:08:56,160 --> 00:08:58,240 the key exchange is absolutely a nightmare. 187 00:08:58,560 --> 00:09:00,160 They use 56-bit DES, 188 00:09:00,360 --> 00:09:01,840 and the keys never change, ever. 189 00:09:02,160 --> 00:09:04,440 It's a shared secret between the client and the server. 190 00:09:04,780 --> 00:09:06,160 And it's not even public key, 191 00:09:06,300 --> 00:09:08,560 it's not even, like, 128-bit, 192 00:09:08,600 --> 00:09:09,580 because, well, we couldn't figure out 193 00:09:09,580 --> 00:09:11,420 how to get the license export or whatever. 194 00:09:12,340 --> 00:09:13,660 And I don't like that. 195 00:09:13,760 --> 00:09:14,980 I don't like being boxed in. 196 00:09:15,380 --> 00:09:16,620 I like having flexibility. 197 00:09:17,020 --> 00:09:18,580 I like being able to be sneaky. 198 00:09:18,780 --> 00:09:20,400 And a lot of times, 199 00:09:20,480 --> 00:09:21,800 it's very difficult 200 00:09:21,880 --> 00:09:22,640 to be sneaky 201 00:09:23,560 --> 00:09:26,180 with a lot of these commercial vendors. 202 00:09:26,440 --> 00:09:27,340 Now, they do have their place. 203 00:09:27,540 --> 00:09:28,880 I very much feel that 204 00:09:28,880 --> 00:09:30,780 if you're in a Fortune 500 205 00:09:30,780 --> 00:09:32,200 or trading firm 206 00:09:32,200 --> 00:09:33,800 or financial firm like I am, 207 00:09:33,880 --> 00:09:34,960 you probably need both, 208 00:09:35,100 --> 00:09:37,280 simply because the people upstairs 209 00:09:37,280 --> 00:09:38,880 really like to spend money, 210 00:09:39,000 --> 00:09:39,800 in some senses, 211 00:09:39,880 --> 00:09:41,400 which is counteractive to what I said, 212 00:09:41,540 --> 00:09:44,040 but you have your one $15,000 sensor 213 00:09:44,040 --> 00:09:45,560 and your 30 snort sensors, 214 00:09:45,780 --> 00:09:47,820 and so they kind of think that, 215 00:09:47,860 --> 00:09:49,040 oh, you're guarding the gates with a wheel, 216 00:09:49,100 --> 00:09:50,840 and really, when snort's doing the work in the background. 217 00:09:50,840 --> 00:09:52,820 Not that they know that, of course. 218 00:09:54,700 --> 00:09:56,660 It's also harder to be clever 219 00:09:56,660 --> 00:09:58,400 and integrate data across multiple sources. 220 00:09:58,900 --> 00:10:01,860 All of the IDSs have woeful user interfaces. 221 00:10:02,240 --> 00:10:03,280 One of the gentlemen yesterday 222 00:10:03,280 --> 00:10:05,860 was talking about horrible user interfaces. 223 00:10:06,340 --> 00:10:07,940 Well, IDSs have everybody beat. 224 00:10:08,120 --> 00:10:09,440 I've never seen any of them 225 00:10:09,440 --> 00:10:10,960 with decent user interfaces, 226 00:10:11,280 --> 00:10:12,480 especially the alert screens. 227 00:10:12,740 --> 00:10:13,800 There's too many of them, 228 00:10:13,860 --> 00:10:15,280 too quickly for a human to absorb. 229 00:10:15,940 --> 00:10:18,340 I mean, I can read, like, Moby Dick in a day, 230 00:10:18,480 --> 00:10:20,820 and I don't like to see it. 231 00:10:20,840 --> 00:10:21,800 I don't like to see 7,000 alerts 232 00:10:21,800 --> 00:10:23,620 paging by me at, you know, 233 00:10:24,120 --> 00:10:25,500 2,400 baud, even. 234 00:10:25,580 --> 00:10:26,320 It's too fast. 235 00:10:26,680 --> 00:10:27,460 So, anyways. 236 00:10:30,980 --> 00:10:32,820 Here's my philosophy for error IDS. 237 00:10:33,660 --> 00:10:35,700 Basically, an intrusion detection system 238 00:10:35,700 --> 00:10:37,680 should be able to intelligently respond 239 00:10:37,680 --> 00:10:39,780 to data from a variety of sources. 240 00:10:40,680 --> 00:10:43,440 Hosts, networks, multiple points of view. 241 00:10:43,540 --> 00:10:44,660 In other words, for instance, 242 00:10:44,760 --> 00:10:47,040 from the point of view outside the firewall, 243 00:10:47,320 --> 00:10:49,140 from the point of view on the DMZ on the firewall, 244 00:10:49,400 --> 00:10:50,460 from the point of view on, 245 00:10:50,460 --> 00:10:52,440 on my people going out to the firewall. 246 00:10:52,640 --> 00:10:53,600 Because for those of you that NAT, 247 00:10:53,800 --> 00:10:55,880 you know that telling what traffic is coming out 248 00:10:55,880 --> 00:10:57,660 as it's NATed behind a firewall 249 00:10:57,660 --> 00:10:59,580 makes finding out who's really downloading 250 00:10:59,580 --> 00:11:01,180 all those Napster files very difficult. 251 00:11:03,100 --> 00:11:04,660 Also, there's hosts. 252 00:11:05,500 --> 00:11:07,400 Basically, the hosts are really important 253 00:11:07,400 --> 00:11:09,840 because network traffic by itself 254 00:11:10,500 --> 00:11:11,660 doesn't allow you to correlate. 255 00:11:12,600 --> 00:11:13,820 Whereas with host stuff, 256 00:11:13,880 --> 00:11:15,560 I'm talking things like you have an NT host 257 00:11:15,560 --> 00:11:18,180 running Tripwire with a syslog monitor 258 00:11:18,180 --> 00:11:19,020 with auditing. 259 00:11:20,460 --> 00:11:21,960 Or auditing to Backlog 260 00:11:21,960 --> 00:11:23,860 or there's 101 of those things for NT. 261 00:11:24,700 --> 00:11:26,140 And this is the sneaky part 262 00:11:26,140 --> 00:11:27,100 and I don't really mention it here. 263 00:11:27,300 --> 00:11:28,460 You actually construct, 264 00:11:28,700 --> 00:11:29,780 because you have an IDS, 265 00:11:29,800 --> 00:11:32,260 you send the port 540 to nowhere. 266 00:11:32,460 --> 00:11:34,400 But of course, you reconstruct it on the IDS 267 00:11:34,400 --> 00:11:36,300 because you're listening to UDP port 540 268 00:11:36,840 --> 00:11:39,040 bound for a non-existent IP address 269 00:11:39,040 --> 00:11:41,360 for any of you that want to be sneaky with syslog. 270 00:11:41,520 --> 00:11:42,920 So the attacker comes in, 271 00:11:43,000 --> 00:11:44,360 ha, ha, ha, he's stupid. 272 00:11:44,560 --> 00:11:46,060 He doesn't have any syslog server, 273 00:11:46,180 --> 00:11:46,740 but yes, he does. 274 00:11:46,820 --> 00:11:47,520 You just don't know he does. 275 00:11:47,640 --> 00:11:47,880 Anyways. 276 00:11:49,600 --> 00:11:50,360 Routing and switching. 277 00:11:50,460 --> 00:11:50,720 Machine gear. 278 00:11:51,140 --> 00:11:53,140 Anyways, those are just some of the sources. 279 00:11:53,580 --> 00:11:55,460 Sources can even be, you know, 280 00:11:55,480 --> 00:11:58,040 I mean, you know, routers, switches, firewalls. 281 00:11:58,060 --> 00:12:00,220 I mean, and all kinds of other data sources. 282 00:12:00,460 --> 00:12:01,800 I'm trying to be all-inclusive. 283 00:12:01,940 --> 00:12:02,760 Am I speaking loud enough? 284 00:12:05,100 --> 00:12:05,920 How is this? 285 00:12:07,660 --> 00:12:09,440 Okay, I'll speak loudly from now on. 286 00:12:10,700 --> 00:12:11,820 Continue on the philosophy. 287 00:12:14,520 --> 00:12:17,100 Air IDS should never denial of service 288 00:12:17,100 --> 00:12:18,180 in its own network. 289 00:12:18,640 --> 00:12:19,660 Denial of servicing 290 00:12:19,660 --> 00:12:20,440 is a very important thing. 291 00:12:20,460 --> 00:12:20,820 It's a very bad thing, 292 00:12:20,880 --> 00:12:22,060 especially when you're doing it to yourself. 293 00:12:23,780 --> 00:12:26,040 And IDS should be mostly open components. 294 00:12:26,240 --> 00:12:27,740 I said that because I don't really know 295 00:12:27,740 --> 00:12:30,740 what license I'm wanting to go with. 296 00:12:30,840 --> 00:12:31,740 GPL is really nice, 297 00:12:31,860 --> 00:12:33,080 and then there's OpenBSD, 298 00:12:33,160 --> 00:12:34,140 and there's all these silly licenses, 299 00:12:34,260 --> 00:12:36,000 and I don't really know which one. 300 00:12:36,220 --> 00:12:37,640 But I want it to be mostly open 301 00:12:37,640 --> 00:12:41,080 because that way people can work on it 302 00:12:41,080 --> 00:12:42,820 and realize that they're not going to make me rich. 303 00:12:43,080 --> 00:12:45,400 I mean, that's not the object of this project. 304 00:12:45,680 --> 00:12:46,780 The object of this project 305 00:12:46,780 --> 00:12:49,460 is to provide a community-based IDS 306 00:12:49,460 --> 00:12:50,200 that doesn't suck. 307 00:12:50,460 --> 00:12:52,900 I mean, that's basically what this whole... 308 00:12:56,820 --> 00:12:58,880 So anyways, that is the project goal. 309 00:12:59,320 --> 00:13:01,740 You can tweak it because it's open source. 310 00:13:01,840 --> 00:13:02,680 You've got the source code. 311 00:13:02,840 --> 00:13:03,520 You've got the licensing. 312 00:13:03,760 --> 00:13:05,300 And documentation's another thing. 313 00:13:05,460 --> 00:13:06,180 I'm going to make sure 314 00:13:06,180 --> 00:13:07,660 that the documentation is damn good 315 00:13:07,660 --> 00:13:09,580 because I hate it when you download these things 316 00:13:09,580 --> 00:13:11,020 and it says compile it this way 317 00:13:11,020 --> 00:13:12,120 and you do and it doesn't work. 318 00:13:12,540 --> 00:13:13,700 I mean, that is frustrating. 319 00:13:14,060 --> 00:13:15,860 If you write documents, write them correctly 320 00:13:15,860 --> 00:13:16,740 or don't write them 321 00:13:16,740 --> 00:13:17,720 and let them figure it out for themselves 322 00:13:17,720 --> 00:13:19,480 so they're not fooled into thinking 323 00:13:19,480 --> 00:13:20,940 that your documentation actually works. 324 00:13:22,320 --> 00:13:23,980 You can use it in ways 325 00:13:23,980 --> 00:13:25,960 the original authors never imagined. 326 00:13:26,620 --> 00:13:28,520 There are things that you can do 327 00:13:28,520 --> 00:13:30,560 with Snort and Perl 328 00:13:30,560 --> 00:13:34,100 and PHP and SSH 329 00:13:34,100 --> 00:13:35,500 and all these open things 330 00:13:35,500 --> 00:13:37,180 and you can combine them in a system 331 00:13:37,180 --> 00:13:38,740 that is far greater 332 00:13:38,740 --> 00:13:41,120 than the original intent of any of their authors. 333 00:13:41,740 --> 00:13:44,500 I mean, using SSH to write dynamic firewall rules 334 00:13:44,500 --> 00:13:45,780 is not something I've heard of. 335 00:13:45,880 --> 00:13:47,740 I've heard of it being done on the host 336 00:13:47,740 --> 00:13:49,360 but not being done... 337 00:13:49,480 --> 00:13:50,840 from a central command processor 338 00:13:50,840 --> 00:13:51,620 which I'll get into. 339 00:13:52,280 --> 00:13:53,580 And finally, it's cheap. 340 00:13:54,780 --> 00:13:56,360 I mean, not cheap in terms of labor 341 00:13:56,360 --> 00:13:58,400 but even with these commercial IDSs 342 00:13:58,400 --> 00:14:00,260 you're going to spend months tuning your network. 343 00:14:00,440 --> 00:14:01,380 I don't care what anybody says. 344 00:14:01,620 --> 00:14:03,060 You're going to have to know what your traffic is. 345 00:14:03,120 --> 00:14:03,920 You're going to sit down there 346 00:14:03,920 --> 00:14:05,400 with ethereal and TCP dump 347 00:14:05,400 --> 00:14:07,380 and you're going to have to look at your networks 348 00:14:07,380 --> 00:14:09,220 or you're going to have a useless IDS 349 00:14:09,220 --> 00:14:11,060 because you have to tune it. 350 00:14:11,400 --> 00:14:12,760 And everyone talks about that 351 00:14:12,760 --> 00:14:13,700 but no one really stresses. 352 00:14:13,960 --> 00:14:15,400 Tuning will take you a quarter. 353 00:14:15,740 --> 00:14:17,660 I mean, if you're on a relatively large network 354 00:14:17,660 --> 00:14:19,460 monitoring anywhere from 3% to 5% 355 00:14:19,480 --> 00:14:20,160 to 6 network points 356 00:14:20,160 --> 00:14:21,560 you're talking a lot of time. 357 00:14:21,820 --> 00:14:23,760 I did a complete network evaluation 358 00:14:23,760 --> 00:14:25,440 of just 6 network segments. 359 00:14:25,580 --> 00:14:26,360 It took me a month. 360 00:14:26,520 --> 00:14:28,240 I mean, because you're going through raw packet data 361 00:14:28,240 --> 00:14:29,360 you're looking at stuff 362 00:14:29,360 --> 00:14:30,580 you're having to talk to programmers 363 00:14:30,580 --> 00:14:32,720 why are you using port 56789 364 00:14:32,720 --> 00:14:35,120 through 60,000 for your application? 365 00:14:35,520 --> 00:14:36,920 I mean, and you have to... 366 00:14:36,920 --> 00:14:39,980 Oh, well, I also use 12345 and 678910. 367 00:14:40,200 --> 00:14:42,420 I mean, there's these human factors 368 00:14:42,420 --> 00:14:45,000 that you have to throw into the mix. 369 00:14:45,160 --> 00:14:46,980 You just can't go with a protocol analyzer 370 00:14:46,980 --> 00:14:48,460 and say, we use all these ports. 371 00:14:49,480 --> 00:14:50,300 And not know who they are 372 00:14:50,300 --> 00:14:52,880 and be able to intelligently look at what they are. 373 00:14:53,000 --> 00:14:55,980 So I do want to really, really, really stress 374 00:14:55,980 --> 00:14:58,980 the human factors involved in this system 375 00:14:58,980 --> 00:15:00,140 are probably the most important. 376 00:15:01,080 --> 00:15:02,980 Technologically, it's kind of a neat idea 377 00:15:02,980 --> 00:15:05,660 but the human factors are the singularly most important. 378 00:15:06,020 --> 00:15:08,140 Because, like I said, if you've got developers 379 00:15:08,780 --> 00:15:11,060 working on programs and you don't know what they do 380 00:15:11,060 --> 00:15:13,140 and it's like, oh my god, 381 00:15:13,180 --> 00:15:15,240 why are they opening 50,000 connections per second? 382 00:15:15,340 --> 00:15:16,280 Well, we're getting quotes from AT. 383 00:15:16,680 --> 00:15:19,140 I mean, there's those kinds of things 384 00:15:19,140 --> 00:15:20,500 that you have to know about your network. 385 00:15:20,780 --> 00:15:21,840 So, anyways, I'm going to continue. 386 00:15:25,920 --> 00:15:27,320 An IDS should not annoy. 387 00:15:28,580 --> 00:15:31,080 When I get an alert from my IDS at 3 in the morning, 388 00:15:31,180 --> 00:15:33,540 it had better well be an alert. 389 00:15:33,780 --> 00:15:35,840 I don't want to get woken up at 3 in the morning 390 00:15:35,840 --> 00:15:37,680 to know that some idiot's trying to run 391 00:15:37,680 --> 00:15:39,160 the newest IIS exploit on me. 392 00:15:39,380 --> 00:15:40,700 I patched it, have a nice day. 393 00:15:41,480 --> 00:15:43,680 An IDS should be completely out of band 394 00:15:43,680 --> 00:15:45,040 so it is undetectable. 395 00:15:45,160 --> 00:15:47,540 Now, I will admit I have not researched 396 00:15:47,540 --> 00:15:48,700 into the implications, 397 00:15:49,140 --> 00:15:50,600 of using a bridging sensor. 398 00:15:52,160 --> 00:15:54,100 I'm sure that they're detectable. 399 00:15:54,200 --> 00:15:54,900 I'm not saying they're not. 400 00:15:55,180 --> 00:15:56,760 But to your average attacker on the outside, 401 00:15:57,580 --> 00:15:58,940 the only way I know of, 402 00:15:58,940 --> 00:16:00,020 and please correct me, 403 00:16:00,240 --> 00:16:02,060 the only way I know of to detect a bridging sensor 404 00:16:02,060 --> 00:16:02,980 would be latency. 405 00:16:03,560 --> 00:16:05,120 Because it's just sending them along. 406 00:16:05,540 --> 00:16:08,980 I mean, because it's a layer 2 device. 407 00:16:09,160 --> 00:16:10,180 It's open BSD. 408 00:16:10,560 --> 00:16:11,640 So, as far as I know, 409 00:16:11,760 --> 00:16:13,280 I actually did some measurements 410 00:16:13,280 --> 00:16:14,500 and the only way I could tell 411 00:16:14,500 --> 00:16:16,080 by looking at the packet 412 00:16:16,080 --> 00:16:19,100 was that there was a tenth of a millisecond delay. 413 00:16:19,140 --> 00:16:20,760 Between the time that it got 414 00:16:20,760 --> 00:16:21,640 between the two interfaces. 415 00:16:22,060 --> 00:16:23,960 So, it's kind of hard to detect. 416 00:16:24,920 --> 00:16:26,680 The management portion of it, 417 00:16:26,740 --> 00:16:27,940 I like to have out of band 418 00:16:28,480 --> 00:16:30,900 because a lot of times there are flaws. 419 00:16:31,140 --> 00:16:32,040 No matter what you do, 420 00:16:32,640 --> 00:16:33,940 you probably will make a mistake. 421 00:16:34,360 --> 00:16:36,860 So, if the IDS's management console 422 00:16:36,860 --> 00:16:40,180 and all the components are located 423 00:16:40,800 --> 00:16:42,500 on a completely out of band network, 424 00:16:42,840 --> 00:16:45,220 there is no way that anyone, 425 00:16:45,480 --> 00:16:46,480 or it's very difficult, 426 00:16:46,660 --> 00:16:48,760 for anyone to get in and hack your IDS 427 00:16:48,760 --> 00:16:49,120 and look at it. 428 00:16:49,140 --> 00:16:49,940 Look at all the beautiful signatures. 429 00:16:50,480 --> 00:16:52,200 It's less convenient for the admins, 430 00:16:52,240 --> 00:16:52,940 but so what? 431 00:16:53,080 --> 00:16:53,980 They get off their butts 432 00:16:53,980 --> 00:16:55,280 and they walk to the server room 433 00:16:55,280 --> 00:16:57,760 or you patch it into your cubicle 434 00:16:57,760 --> 00:16:58,880 and do it that way. 435 00:16:59,040 --> 00:17:00,520 I mean, at least it's somewhat more secure. 436 00:17:03,280 --> 00:17:04,140 When they cut across? 437 00:17:09,180 --> 00:17:11,060 Well, that's the advantage of using bridging. 438 00:17:11,880 --> 00:17:12,960 Because there's no IP. 439 00:17:13,460 --> 00:17:16,380 I mean, yes, there certainly are things 440 00:17:16,380 --> 00:17:17,840 they can do to make your active response 441 00:17:17,840 --> 00:17:18,820 act against you. 442 00:17:19,140 --> 00:17:20,680 That kind of attack is quite possible. 443 00:17:21,020 --> 00:17:22,740 But the sensor itself doesn't have an IP 444 00:17:22,740 --> 00:17:23,520 on either side. 445 00:17:24,140 --> 00:17:25,520 I mean, there are certainly certain kinds, 446 00:17:25,640 --> 00:17:27,220 you could probably try to denial of service it 447 00:17:27,220 --> 00:17:27,920 and whatnot. 448 00:17:28,220 --> 00:17:29,620 But there are other preventative measures 449 00:17:29,620 --> 00:17:32,420 that we can take to minimize and limit that. 450 00:17:33,540 --> 00:17:35,220 IDS should have at most 451 00:17:35,220 --> 00:17:37,260 one or two decision-making points. 452 00:17:37,560 --> 00:17:39,580 Now, you do start running into a problem with this 453 00:17:39,580 --> 00:17:40,700 in terms of performance 454 00:17:40,700 --> 00:17:43,200 if you're monitoring large amounts of networks 455 00:17:43,200 --> 00:17:45,860 using, essentially, I'm advocating the use 456 00:17:45,860 --> 00:17:47,180 of a centralized SQL database 457 00:17:47,180 --> 00:17:48,860 on one computer. 458 00:17:49,140 --> 00:17:51,140 There's probably four or five processors 459 00:17:51,140 --> 00:17:52,160 on a really big network. 460 00:17:52,820 --> 00:17:57,080 Simply because it's less places for things to go wrong. 461 00:17:57,360 --> 00:17:58,560 It's less places for attack. 462 00:17:58,880 --> 00:18:01,620 If you keep some of the componentry down, 463 00:18:01,760 --> 00:18:02,360 it's simplicity. 464 00:18:02,740 --> 00:18:04,720 So you want to keep it as simple as possible 465 00:18:05,220 --> 00:18:06,240 and yet at the same time, 466 00:18:06,280 --> 00:18:07,540 maintain the flexible response. 467 00:18:08,100 --> 00:18:10,060 So it's very important to have 468 00:18:10,060 --> 00:18:13,000 one or two decision-making points. 469 00:18:14,540 --> 00:18:16,320 An IDS should work in conjunction 470 00:18:16,320 --> 00:18:17,760 with other protection systems. 471 00:18:19,140 --> 00:18:20,600 Airwalls, the hosts themselves, 472 00:18:21,400 --> 00:18:22,480 and routers. 473 00:18:22,620 --> 00:18:24,820 They should be able to dynamically talk 474 00:18:24,820 --> 00:18:27,000 to these components and if necessary 475 00:18:27,000 --> 00:18:28,460 take action based on the 476 00:18:29,060 --> 00:18:30,900 input of multiple sources. 477 00:18:31,500 --> 00:18:33,000 And again, the whole 478 00:18:33,000 --> 00:18:35,100 I'm trying to advocate is a union 479 00:18:35,100 --> 00:18:37,060 of all these technologies that 480 00:18:37,060 --> 00:18:39,080 everyone says, like, one people say network-based, 481 00:18:39,160 --> 00:18:40,200 one people say host-based. 482 00:18:40,300 --> 00:18:43,160 I say both in conjunction because neither of them 483 00:18:43,160 --> 00:18:44,240 by themselves is sufficient. 484 00:18:45,560 --> 00:18:46,920 And IDS's evidence 485 00:18:46,920 --> 00:18:48,400 should be admissible in court. 486 00:18:49,740 --> 00:18:51,900 There are a lot of really neat technologies 487 00:18:51,900 --> 00:18:54,540 like worm drives and those, 488 00:18:54,640 --> 00:18:56,240 if you've ever had the cool, 489 00:18:56,360 --> 00:18:59,460 those HP jukeboxes with the flip disks. 490 00:18:59,880 --> 00:19:01,400 And those are worms. 491 00:19:01,580 --> 00:19:02,900 They're unalterable media. 492 00:19:03,180 --> 00:19:05,220 Those packets have been written and logged 493 00:19:05,220 --> 00:19:06,380 to those things. 494 00:19:06,720 --> 00:19:09,960 And all the raw packets should be available. 495 00:19:10,420 --> 00:19:13,740 The problem with basically any of the sensors is 496 00:19:13,740 --> 00:19:15,040 you don't have the raw data. 497 00:19:15,240 --> 00:19:17,540 So somebody who's in court can say, 498 00:19:17,580 --> 00:19:19,060 well, your tool sucks. 499 00:19:19,140 --> 00:19:21,300 So you can say, okay, here's the raw data. 500 00:19:22,460 --> 00:19:24,700 And, you know, here's what the conclusions we can do. 501 00:19:24,820 --> 00:19:25,980 And you can actually look at the raw data. 502 00:19:26,200 --> 00:19:28,860 So having a packet vault is a very important thing. 503 00:19:31,000 --> 00:19:33,480 And IDS should be OS agnostic. 504 00:19:33,760 --> 00:19:35,660 That means it doesn't matter what OS, 505 00:19:36,240 --> 00:19:37,600 it has to work on all of them. 506 00:19:37,880 --> 00:19:39,060 I mean, not necessarily the sensors 507 00:19:39,060 --> 00:19:41,300 or not necessarily the actual 508 00:19:41,920 --> 00:19:42,940 hardware that runs it, 509 00:19:43,000 --> 00:19:45,220 because I just can't really advocate 510 00:19:45,220 --> 00:19:46,680 running most of these things on Windows. 511 00:19:46,840 --> 00:19:47,800 It's just too scary. 512 00:19:47,800 --> 00:19:50,400 I mean, it's, I just, I can't. 513 00:19:51,300 --> 00:19:53,820 I mean, I'm just, I was trying to secure it. 514 00:19:53,820 --> 00:19:54,380 This is a brief aside. 515 00:19:54,580 --> 00:19:57,600 I was trying to secure an IIS server. 516 00:19:57,900 --> 00:20:00,520 I was reading, the stupid thing runs as local system. 517 00:20:01,100 --> 00:20:02,520 There is nothing I can do. 518 00:20:02,820 --> 00:20:04,020 It runs as local system. 519 00:20:04,180 --> 00:20:06,980 So if there's any new problems, it's got root. 520 00:20:07,120 --> 00:20:09,700 So just put a reverse proxy in front of it 521 00:20:09,700 --> 00:20:10,360 and be done with it. 522 00:20:10,460 --> 00:20:13,020 I mean, that's really the only way I know how to secure IIS. 523 00:20:13,160 --> 00:20:15,580 It's just put a squid proxy in front of it 524 00:20:15,580 --> 00:20:17,540 and just filter out Unicode. 525 00:20:17,800 --> 00:20:19,640 And get rid of all those IIS things and just send it. 526 00:20:19,820 --> 00:20:22,000 And of course you get rid of no-ops, too, that way. 527 00:20:23,280 --> 00:20:25,220 Well, you don't have a choice when you have a CIO 528 00:20:25,220 --> 00:20:27,720 and silly developers who... 529 00:20:27,720 --> 00:20:30,620 It's a reality of working in business, 530 00:20:30,840 --> 00:20:32,380 is that I hate IIS. 531 00:20:32,480 --> 00:20:34,060 And I managed to stop Exchange. 532 00:20:34,220 --> 00:20:35,000 I'm quite proud. 533 00:20:42,420 --> 00:20:44,900 But I could not stop IIS 534 00:20:44,900 --> 00:20:47,600 because a lot of the kids coming out of college today 535 00:20:47,600 --> 00:20:49,720 dare I say use Microsoft Foundation classes 536 00:20:49,720 --> 00:20:51,920 and Visual Basic for their programming. 537 00:20:52,180 --> 00:20:53,780 And lots of these people will be hired 538 00:20:53,780 --> 00:20:54,800 because A they're cheap 539 00:20:55,240 --> 00:20:57,380 and B the only thing they know is Microsoft. 540 00:20:57,840 --> 00:21:04,000 And so weaning those people from that process is kind of hard. 541 00:21:04,220 --> 00:21:07,060 So for any of you who doubt what I'm saying, 542 00:21:07,220 --> 00:21:09,860 unfortunately Microsoft is a necessary evil 543 00:21:09,860 --> 00:21:11,020 and it does keep us employed. 544 00:21:11,420 --> 00:21:12,520 Just think of it that way. 545 00:21:12,720 --> 00:21:15,860 Microsoft is so insecure that we will always have a job. 546 00:21:15,980 --> 00:21:16,280 Anyways. 547 00:21:18,480 --> 00:21:19,640 And yes, I know. 548 00:21:19,680 --> 00:21:21,260 I'm not being OS agnostic. 549 00:21:21,380 --> 00:21:21,620 Oh well. 550 00:21:24,380 --> 00:21:25,420 The IDS is, yes. 551 00:21:25,680 --> 00:21:29,380 And IDS should allow the analysis and analyst 552 00:21:29,380 --> 00:21:32,140 the flexibility of looking at past data. 553 00:21:32,280 --> 00:21:34,100 This is the snort portion of it. 554 00:21:34,400 --> 00:21:35,720 I haven't really talked... 555 00:21:35,720 --> 00:21:37,760 I'm not really going to get into the specifics 556 00:21:37,760 --> 00:21:40,140 of using snort and ACID and all these other things. 557 00:21:40,440 --> 00:21:41,740 But those are some of the... 558 00:21:41,740 --> 00:21:43,180 All this is at this point... 559 00:21:43,180 --> 00:21:45,100 The only thing that's real is the ability 560 00:21:46,120 --> 00:21:47,440 to have a command processor 561 00:21:47,600 --> 00:21:50,020 respond to input from a snort sensor. 562 00:21:50,500 --> 00:21:52,320 And the concept of a bridging sensor. 563 00:21:52,900 --> 00:21:54,220 Most people just have sensors. 564 00:21:54,280 --> 00:21:56,500 This is why I have a sensor when you have bridging code. 565 00:21:56,920 --> 00:21:58,440 So not only is my sensor a sensor, 566 00:21:58,580 --> 00:21:59,220 it's a firewall. 567 00:21:59,480 --> 00:22:01,380 So I happen to be running checkpoint 568 00:22:01,380 --> 00:22:03,540 and there's the new horrible RDP attack. 569 00:22:03,960 --> 00:22:05,520 My sensor basically... 570 00:22:05,520 --> 00:22:07,600 I can put the firewall rule, 571 00:22:07,640 --> 00:22:09,360 block all RDP from the outside. 572 00:22:09,400 --> 00:22:10,900 My checkpoint never sees it 573 00:22:10,900 --> 00:22:11,880 and I don't have to worry about patching 574 00:22:11,880 --> 00:22:13,280 and causing my network to crash. 575 00:22:13,720 --> 00:22:15,920 Because I'm sure you've all had upgrade fun. 576 00:22:16,060 --> 00:22:16,440 Anyway. 577 00:22:21,080 --> 00:22:22,240 Components of Air IDS. 578 00:22:22,360 --> 00:22:23,540 This is actually... 579 00:22:23,540 --> 00:22:24,700 Can someone tell me in an hour? 580 00:22:24,800 --> 00:22:25,580 Because I'm just going to kind of 581 00:22:25,580 --> 00:22:26,860 take a five minute break for everybody. 582 00:22:27,060 --> 00:22:28,340 Because a lot of times you go on 583 00:22:28,340 --> 00:22:29,120 with these two hour presentations 584 00:22:29,120 --> 00:22:30,820 and you get kind of bored. 585 00:22:31,080 --> 00:22:33,480 So I'm going to take a five minute break 586 00:22:33,480 --> 00:22:34,880 after the hour mark. 587 00:22:35,160 --> 00:22:36,840 And then I will begin immediately 588 00:22:36,840 --> 00:22:38,220 after the five minute break though. 589 00:22:38,280 --> 00:22:39,900 So if you're thinking of leaving or whatever, 590 00:22:40,740 --> 00:22:42,000 you'll need to be back here then. 591 00:22:42,920 --> 00:22:43,280 Anyways. 592 00:22:43,600 --> 00:22:45,200 So the components of Air IDS. 593 00:22:46,280 --> 00:22:47,460 The stealth sensor. 594 00:22:47,980 --> 00:22:50,760 They are bridging firewalls with OpenBSD 595 00:22:50,760 --> 00:22:53,080 and to be correct we use the... 596 00:22:53,080 --> 00:22:55,760 It's PF rather than the other one 597 00:22:55,760 --> 00:22:56,860 because of that licensing thing. 598 00:22:56,960 --> 00:22:57,920 I still haven't figured that all out. 599 00:22:58,160 --> 00:22:58,660 But anyways. 600 00:22:59,680 --> 00:23:01,800 The centralized data gatherer. 601 00:23:02,740 --> 00:23:04,720 The sensors and hosts report to this. 602 00:23:04,840 --> 00:23:06,300 Typically this is going to be 603 00:23:06,300 --> 00:23:08,760 an industry standard database. 604 00:23:08,900 --> 00:23:10,780 Whether it be MySQL or Postgres. 605 00:23:10,920 --> 00:23:12,160 The problem with MySQL is 606 00:23:12,160 --> 00:23:13,220 if you have a lot of data coming in 607 00:23:13,220 --> 00:23:14,500 it doesn't do transaction queuing. 608 00:23:14,720 --> 00:23:16,320 And so you're just going to be in trouble. 609 00:23:16,320 --> 00:23:18,220 Because MySQL will just choke. 610 00:23:18,460 --> 00:23:19,740 Because it does blocking IO 611 00:23:19,740 --> 00:23:21,460 when you start getting multiple data sources. 612 00:23:21,840 --> 00:23:23,680 So you've got 17 snort sensors 613 00:23:23,680 --> 00:23:24,760 reporting to one database. 614 00:23:25,060 --> 00:23:26,420 And all of a sudden... 615 00:23:27,400 --> 00:23:28,660 MySQL just can't handle it. 616 00:23:28,960 --> 00:23:31,380 So at this point it's just a database. 617 00:23:32,120 --> 00:23:33,100 I'm not going to say which. 618 00:23:33,260 --> 00:23:34,800 But a database which can handle 619 00:23:34,800 --> 00:23:37,440 transaction queuing and can do threads. 620 00:23:37,900 --> 00:23:39,640 Because you're going to have to do threads 621 00:23:39,640 --> 00:23:41,300 in order to keep up with the speed of the network. 622 00:23:41,600 --> 00:23:43,140 And I'm not even talking about gigabit. 623 00:23:43,240 --> 00:23:43,480 Anyways. 624 00:23:46,320 --> 00:23:48,120 A historical comparison module. 625 00:23:48,420 --> 00:23:49,380 This is what I regarded 626 00:23:49,380 --> 00:23:51,040 as an anti-annoyance feature. 627 00:23:51,860 --> 00:23:53,440 If you have a site say in... 628 00:23:53,440 --> 00:23:54,460 Well let's not say China 629 00:23:54,460 --> 00:23:55,460 because everybody said China today. 630 00:23:55,560 --> 00:23:56,540 Let's say Russia. 631 00:23:56,960 --> 00:23:58,040 You have all these annoying Russians 632 00:23:58,040 --> 00:23:59,340 that are probing your network 633 00:23:59,340 --> 00:24:00,220 and trying to hack you 634 00:24:00,220 --> 00:24:01,960 and get their elite ware sites up. 635 00:24:02,380 --> 00:24:03,920 Well I see this and I say 636 00:24:03,920 --> 00:24:05,620 there's about five or six IPs 637 00:24:05,620 --> 00:24:06,420 and I verify them. 638 00:24:06,700 --> 00:24:08,160 Because you really don't want to react 639 00:24:08,160 --> 00:24:09,540 based on historical stuff. 640 00:24:09,820 --> 00:24:12,020 Because machines do exactly what you tell them. 641 00:24:12,240 --> 00:24:13,660 And if they see a particular host 642 00:24:13,660 --> 00:24:14,740 six times denial of service 643 00:24:14,740 --> 00:24:16,300 well we all know what spoofing is. 644 00:24:16,320 --> 00:24:16,620 Don't we? 645 00:24:16,740 --> 00:24:17,260 Anyways. 646 00:24:17,880 --> 00:24:19,840 So the historical comparison module 647 00:24:19,840 --> 00:24:21,660 is more for a human to look at. 648 00:24:21,780 --> 00:24:24,140 Are these hosts repetitive offenders? 649 00:24:24,640 --> 00:24:25,820 Are they doing port scans? 650 00:24:26,040 --> 00:24:28,300 Are they doing what I consider to be hostile traffic? 651 00:24:28,760 --> 00:24:30,360 I'm very much an advocate 652 00:24:30,360 --> 00:24:33,240 of what I call geographic profiling. 653 00:24:33,440 --> 00:24:34,720 If a particular geography 654 00:24:35,140 --> 00:24:36,140 is causing you problems 655 00:24:36,140 --> 00:24:37,540 and you have no business 656 00:24:37,540 --> 00:24:38,840 receiving web traffic. 657 00:24:38,960 --> 00:24:39,240 For instance, 658 00:24:39,380 --> 00:24:41,240 I work in a Chicago based trading firm. 659 00:24:41,380 --> 00:24:43,220 There's no way that anyone from China 660 00:24:43,220 --> 00:24:44,320 should be looking at my website. 661 00:24:44,500 --> 00:24:44,940 I'm sorry. 662 00:24:44,940 --> 00:24:47,100 We were proprietary markets. 663 00:24:47,360 --> 00:24:48,740 There's no business reason 664 00:24:48,740 --> 00:24:51,720 for me to be even accepting any traffic 665 00:24:51,720 --> 00:24:52,720 except maybe email. 666 00:24:52,880 --> 00:24:54,620 And even that questionable 667 00:24:54,620 --> 00:24:57,100 from these hostile sites. 668 00:24:57,500 --> 00:24:59,260 I recently saw a lot of these 669 00:25:00,220 --> 00:25:04,460 HTTP scans from Beijing and other areas. 670 00:25:04,680 --> 00:25:05,680 And I just got tired of it. 671 00:25:05,740 --> 00:25:06,060 So I just said 672 00:25:06,060 --> 00:25:08,100 209 dot star dot star dot star 673 00:25:08,100 --> 00:25:08,380 block 674 00:25:08,380 --> 00:25:09,980 and all my port scans stopped. 675 00:25:10,200 --> 00:25:10,460 So anyways. 676 00:25:12,480 --> 00:25:13,820 Yes I know it's racial 677 00:25:13,820 --> 00:25:14,560 but sorry. 678 00:25:14,940 --> 00:25:15,220 Anyways. 679 00:25:18,020 --> 00:25:20,980 The command rules processor 680 00:25:20,980 --> 00:25:22,120 for active filtering. 681 00:25:22,280 --> 00:25:23,920 This is probably the most complex 682 00:25:23,920 --> 00:25:24,980 part of the whole thing. 683 00:25:25,260 --> 00:25:26,460 It's a separate module 684 00:25:26,460 --> 00:25:28,240 which would have to use 685 00:25:28,240 --> 00:25:29,620 an expert based system 686 00:25:29,620 --> 00:25:30,940 to make intelligent decisions. 687 00:25:31,580 --> 00:25:32,540 You just can't have something 688 00:25:32,540 --> 00:25:34,060 if I regular expression 689 00:25:34,060 --> 00:25:35,940 this signature do that. 690 00:25:36,260 --> 00:25:37,340 You can do that 691 00:25:37,340 --> 00:25:37,960 but you're going to have 692 00:25:37,960 --> 00:25:39,020 some very dangerous rules 693 00:25:39,020 --> 00:25:39,460 if you do. 694 00:25:40,080 --> 00:25:42,180 So what I'm proposing 695 00:25:42,180 --> 00:25:43,160 I don't have yet. 696 00:25:43,320 --> 00:25:44,380 I've got a couple people 697 00:25:44,380 --> 00:25:45,360 hopefully in the audience 698 00:25:45,360 --> 00:25:46,060 who are really good at 699 00:25:46,060 --> 00:25:46,960 expert system stuff. 700 00:25:47,180 --> 00:25:48,280 I need a database 701 00:25:48,280 --> 00:25:50,380 and what we can call 702 00:25:50,380 --> 00:25:51,480 a response library. 703 00:25:52,040 --> 00:25:54,680 We have not only a database 704 00:25:54,680 --> 00:25:55,780 of hostile actions 705 00:25:55,780 --> 00:25:56,780 but a response library 706 00:25:56,780 --> 00:25:59,000 that can talk to the other modules 707 00:25:59,000 --> 00:26:00,740 so that it reacts intelligently 708 00:26:00,740 --> 00:26:01,680 to threats. 709 00:26:02,100 --> 00:26:03,260 Intelligently and automatically. 710 00:26:03,720 --> 00:26:05,980 And with all the processor power 711 00:26:05,980 --> 00:26:07,000 that we have these days 712 00:26:07,000 --> 00:26:08,400 why not have a really big 713 00:26:08,400 --> 00:26:09,240 expert system? 714 00:26:09,620 --> 00:26:11,480 I mean with a gigahertz penny 715 00:26:11,480 --> 00:26:12,860 costing less than $500 716 00:26:12,860 --> 00:26:14,300 there's no excuse. 717 00:26:14,300 --> 00:26:14,820 There's no excuse not to. 718 00:26:15,740 --> 00:26:16,520 So anyways 719 00:26:16,520 --> 00:26:19,280 this command rules processor 720 00:26:19,280 --> 00:26:20,660 what it does fundamentally 721 00:26:21,300 --> 00:26:22,700 is it takes the input 722 00:26:23,290 --> 00:26:25,460 consults with the expert system 723 00:26:26,080 --> 00:26:27,780 and decides what it should do. 724 00:26:27,920 --> 00:26:28,500 For instance 725 00:26:29,040 --> 00:26:30,360 I'm running a trading firm. 726 00:26:30,600 --> 00:26:32,400 I start seeing HTTP scans 727 00:26:32,400 --> 00:26:34,100 and hostile IIS activity 728 00:26:34,100 --> 00:26:37,160 from site X. 729 00:26:38,000 --> 00:26:39,100 I'm running tripwire 730 00:26:39,100 --> 00:26:40,000 at the same time. 731 00:26:40,200 --> 00:26:41,620 I guess we'll run it hourly 732 00:26:41,620 --> 00:26:42,720 because we can't run it too much 733 00:26:42,720 --> 00:26:43,820 because I'm just one binary 734 00:26:44,300 --> 00:26:45,180 otherwise you run out of processors 735 00:26:45,180 --> 00:26:46,180 on poor little NT boxes. 736 00:26:47,040 --> 00:26:48,220 And basically 737 00:26:48,220 --> 00:26:49,480 all of a sudden 738 00:26:49,480 --> 00:26:50,480 I see this traffic 739 00:26:50,480 --> 00:26:51,560 and then on the host 740 00:26:52,840 --> 00:26:54,800 the trading application binary 741 00:26:54,800 --> 00:26:56,100 is suddenly modified. 742 00:26:56,920 --> 00:26:58,580 Now this is probably a bad thing. 743 00:26:58,780 --> 00:26:59,760 It means that my trades 744 00:26:59,760 --> 00:27:01,540 are no longer trustworthy. 745 00:27:01,940 --> 00:27:03,860 So that warrants an immediate response. 746 00:27:04,360 --> 00:27:05,720 So it consults with it 747 00:27:05,720 --> 00:27:06,020 and it says 748 00:27:06,020 --> 00:27:07,500 oh this host 749 00:27:07,500 --> 00:27:08,560 that problem 750 00:27:08,560 --> 00:27:09,760 shut the connection. 751 00:27:10,140 --> 00:27:11,340 Doesn't matter where it's from. 752 00:27:11,720 --> 00:27:12,580 The reason why 753 00:27:12,580 --> 00:27:14,160 is because it is such a catastrophic 754 00:27:14,160 --> 00:27:14,520 condition. 755 00:27:14,880 --> 00:27:17,220 It is better to stop the trading 756 00:27:17,220 --> 00:27:18,960 than it is to go on trading 757 00:27:18,960 --> 00:27:21,080 with unknown data. 758 00:27:21,360 --> 00:27:21,900 Again 759 00:27:21,900 --> 00:27:23,580 it depends on the site policy. 760 00:27:23,860 --> 00:27:25,560 This is where the human factors come in. 761 00:27:25,800 --> 00:27:26,760 You have to know 762 00:27:26,760 --> 00:27:28,820 what an unacceptable condition is 763 00:27:28,820 --> 00:27:30,960 and be sure to translate that 764 00:27:30,960 --> 00:27:32,000 to your manager. 765 00:27:32,060 --> 00:27:33,180 Say if this happens 766 00:27:33,180 --> 00:27:34,640 we will lose connectivity. 767 00:27:35,100 --> 00:27:36,460 Or if this happens 768 00:27:36,460 --> 00:27:37,320 this will happen. 769 00:27:37,460 --> 00:27:39,040 You have to be very clear 770 00:27:39,040 --> 00:27:41,000 in the policies 771 00:27:41,000 --> 00:27:42,580 and written procedures 772 00:27:42,580 --> 00:27:43,800 that you have in your organization. 773 00:27:44,340 --> 00:27:45,080 Again if you are 774 00:27:45,080 --> 00:27:45,880 just doing it for yourself 775 00:27:45,880 --> 00:27:46,400 don't worry. 776 00:27:46,580 --> 00:27:47,880 But if you are in a fortune 100 777 00:27:47,880 --> 00:27:48,920 or banking 778 00:27:48,920 --> 00:27:49,900 or clearing corporations 779 00:27:49,900 --> 00:27:51,040 like I have been in 780 00:27:51,040 --> 00:27:53,040 if you suddenly stop service 781 00:27:53,040 --> 00:27:53,680 and you are clearing 782 00:27:53,680 --> 00:27:54,680 a billion dollars a day 783 00:27:54,680 --> 00:27:56,040 you don't have a job very long. 784 00:27:56,360 --> 00:27:58,060 So you do have to 785 00:27:58,060 --> 00:27:59,280 bear these things in mind. 786 00:27:59,840 --> 00:28:00,960 The command processor 787 00:28:00,960 --> 00:28:03,300 essentially uses SSH 788 00:28:03,820 --> 00:28:05,120 to talk to the sensor 789 00:28:05,120 --> 00:28:06,720 on an out of band network. 790 00:28:07,000 --> 00:28:07,200 Now you say 791 00:28:07,200 --> 00:28:07,780 why do you bother? 792 00:28:07,960 --> 00:28:08,780 Well we all know 793 00:28:08,780 --> 00:28:10,060 about the problems with SSH. 794 00:28:10,200 --> 00:28:10,680 I mean it is certainly 795 00:28:10,680 --> 00:28:12,140 better than Telnet 796 00:28:12,140 --> 00:28:14,000 but even with version 2 797 00:28:14,000 --> 00:28:14,780 there are problems. 798 00:28:15,020 --> 00:28:15,900 If it is out of band 799 00:28:16,480 --> 00:28:17,800 well first of all 800 00:28:17,800 --> 00:28:18,980 I have got an encrypted transmission 801 00:28:18,980 --> 00:28:19,720 which is good. 802 00:28:19,900 --> 00:28:21,100 But now it is an out of band 803 00:28:21,100 --> 00:28:22,160 encrypted transmission. 804 00:28:22,440 --> 00:28:23,460 So that an attacker 805 00:28:23,460 --> 00:28:24,980 through the internet 806 00:28:24,980 --> 00:28:26,600 I will say that 807 00:28:26,600 --> 00:28:27,260 through the internet 808 00:28:27,260 --> 00:28:27,940 or an outside 809 00:28:27,940 --> 00:28:28,880 or even inside 810 00:28:28,880 --> 00:28:30,340 without physical access 811 00:28:30,340 --> 00:28:31,320 to my out of band network 812 00:28:31,320 --> 00:28:33,520 cannot subvert the system. 813 00:28:33,880 --> 00:28:35,280 Now it is relying on 814 00:28:35,280 --> 00:28:36,560 physical security 815 00:28:36,560 --> 00:28:37,620 of the boxes. 816 00:28:37,820 --> 00:28:38,640 Obviously you don't want 817 00:28:38,640 --> 00:28:39,260 to leave it out 818 00:28:39,260 --> 00:28:40,520 in your kiosk area. 819 00:28:40,980 --> 00:28:41,980 But anyways 820 00:28:41,980 --> 00:28:42,500 what it does is 821 00:28:42,500 --> 00:28:43,480 it sends an SSH command 822 00:28:44,220 --> 00:28:46,520 pf block in source 823 00:28:46,520 --> 00:28:47,840 my web server 824 00:28:47,840 --> 00:28:48,980 if it sees that event. 825 00:28:49,320 --> 00:28:50,360 And then send out a page. 826 00:28:50,700 --> 00:28:52,080 That is one example 827 00:28:52,080 --> 00:28:53,460 of a kind of response 828 00:28:54,000 --> 00:28:55,120 that the command processor 829 00:28:55,120 --> 00:28:55,600 could do. 830 00:28:55,960 --> 00:28:57,000 Another kind of response 831 00:28:57,580 --> 00:28:58,520 that you could do 832 00:28:58,520 --> 00:28:59,280 would be say 833 00:28:59,280 --> 00:28:59,900 I see 834 00:29:00,680 --> 00:29:02,540 I just see suspicious web traffic 835 00:29:02,540 --> 00:29:02,860 you know like 836 00:29:02,860 --> 00:29:03,640 why are they doing 837 00:29:03,640 --> 00:29:04,680 a hundred million dollar trades 838 00:29:04,680 --> 00:29:05,300 when all we do are 839 00:29:05,300 --> 00:29:06,480 you know like four lots 840 00:29:06,480 --> 00:29:07,080 and eight lots 841 00:29:07,080 --> 00:29:08,360 you know of trades. 842 00:29:08,700 --> 00:29:10,000 So basically 843 00:29:10,000 --> 00:29:11,380 it can look for 844 00:29:11,380 --> 00:29:12,420 you can actually have 845 00:29:12,420 --> 00:29:13,060 like a little processor 846 00:29:13,540 --> 00:29:13,980 and then when it does 847 00:29:14,000 --> 00:29:14,380 what you do is 848 00:29:14,380 --> 00:29:15,140 you start recording 849 00:29:15,140 --> 00:29:15,680 those packets 850 00:29:15,680 --> 00:29:17,900 to your worm drive 851 00:29:17,900 --> 00:29:18,960 or something there. 852 00:29:19,240 --> 00:29:21,020 And in case there is fraud 853 00:29:21,020 --> 00:29:22,800 and we have SEC unfortunately 854 00:29:22,800 --> 00:29:24,000 we are trading 855 00:29:24,000 --> 00:29:25,120 so we have to worry about that. 856 00:29:25,760 --> 00:29:27,180 We can admit that 857 00:29:27,180 --> 00:29:28,720 and if necessary 858 00:29:28,720 --> 00:29:29,380 convict 859 00:29:29,380 --> 00:29:30,120 this person 860 00:29:30,120 --> 00:29:31,360 based on the packet vault. 861 00:29:31,720 --> 00:29:32,720 So you can do 862 00:29:32,720 --> 00:29:33,360 more intelligent 863 00:29:33,360 --> 00:29:34,300 and you want the raw 864 00:29:34,300 --> 00:29:35,280 packet data again 865 00:29:35,280 --> 00:29:36,620 because it is 866 00:29:36,620 --> 00:29:38,160 it is the raw 867 00:29:38,160 --> 00:29:39,620 most form of the data. 868 00:29:39,740 --> 00:29:40,880 It has not been distilled 869 00:29:40,880 --> 00:29:41,620 it has not been altered 870 00:29:41,620 --> 00:29:42,880 and in a court of law 871 00:29:42,880 --> 00:29:44,560 as far as I can understand 872 00:29:44,560 --> 00:29:45,600 it is the raw data 873 00:29:45,600 --> 00:29:47,840 that is probably more important 874 00:29:47,840 --> 00:29:49,300 although the distilled data 875 00:29:49,300 --> 00:29:49,700 is very important 876 00:29:49,700 --> 00:29:50,500 but the raw data 877 00:29:50,500 --> 00:29:52,800 is a vital aspect of this. 878 00:29:55,080 --> 00:29:56,680 The anti-shoot ourselves 879 00:29:56,680 --> 00:29:57,800 in the foot module 880 00:29:58,440 --> 00:30:00,100 contains host not to block 881 00:30:00,100 --> 00:30:01,160 for instance it would contain 882 00:30:01,160 --> 00:30:02,140 our infrastructure servers 883 00:30:02,140 --> 00:30:04,060 never block my DNS 884 00:30:05,120 --> 00:30:06,540 never you know 885 00:30:06,540 --> 00:30:07,500 don't do dumb things 886 00:30:07,500 --> 00:30:08,320 like block my partners 887 00:30:08,320 --> 00:30:09,500 you know if I start seeing 888 00:30:09,500 --> 00:30:11,460 hostile traffic from a partner 889 00:30:11,460 --> 00:30:12,060 scream 890 00:30:12,060 --> 00:30:13,560 but don't block them 891 00:30:14,100 --> 00:30:14,860 you know 892 00:30:14,860 --> 00:30:15,440 and just 893 00:30:15,440 --> 00:30:16,220 and notify the partner 894 00:30:16,220 --> 00:30:18,140 maybe send a message to the 895 00:30:18,140 --> 00:30:19,260 you know the sysadmin 896 00:30:19,260 --> 00:30:20,220 at the remote site saying 897 00:30:20,220 --> 00:30:21,380 by the way it looks like 898 00:30:21,380 --> 00:30:22,340 I'm receiving port scans 899 00:30:22,340 --> 00:30:23,120 from your IP 900 00:30:23,120 --> 00:30:24,480 can you check to make sure 901 00:30:24,480 --> 00:30:25,120 you haven't been hacked 902 00:30:25,120 --> 00:30:25,680 you know 903 00:30:25,680 --> 00:30:26,840 and I wouldn't have to do anything 904 00:30:26,840 --> 00:30:28,180 the whole system would do it for me 905 00:30:28,180 --> 00:30:29,880 and that's what I'm talking about 906 00:30:29,880 --> 00:30:30,460 with flexible 907 00:30:30,460 --> 00:30:31,320 and intelligent response. 908 00:30:31,900 --> 00:30:33,600 It doesn't denial of service 909 00:30:33,600 --> 00:30:34,280 my partners 910 00:30:34,280 --> 00:30:35,220 or my 911 00:30:35,220 --> 00:30:35,720 you know 912 00:30:35,720 --> 00:30:36,680 my web server 913 00:30:36,680 --> 00:30:37,700 can talk to my DNS server 914 00:30:37,700 --> 00:30:38,360 oh my god 915 00:30:38,360 --> 00:30:39,160 port scan from DNS 916 00:30:39,160 --> 00:30:39,440 block 917 00:30:39,440 --> 00:30:40,580 end of game 918 00:30:42,060 --> 00:30:42,160 I don't need to do that anymore 919 00:30:42,160 --> 00:30:43,140 and you know 920 00:30:43,140 --> 00:30:43,460 anyways 921 00:30:44,700 --> 00:30:46,100 finally the last one's 922 00:30:46,100 --> 00:30:46,940 kind of a pipe dream 923 00:30:46,940 --> 00:30:48,480 I just threw this in 924 00:30:48,480 --> 00:30:49,220 that you have a 925 00:30:49,220 --> 00:30:49,680 heuristic 926 00:30:49,680 --> 00:30:51,020 or learning mode 927 00:30:51,020 --> 00:30:52,540 to make configuration easier 928 00:30:52,540 --> 00:30:53,820 it'd be kind of nice 929 00:30:53,820 --> 00:30:54,640 if you could just have 930 00:30:54,640 --> 00:30:55,460 like you'd fill out 931 00:30:55,460 --> 00:30:56,280 these little questionnaires 932 00:30:56,280 --> 00:30:57,440 about your network 933 00:30:58,100 --> 00:30:59,140 and it could come up 934 00:30:59,140 --> 00:31:00,420 with a fairly basic 935 00:31:01,340 --> 00:31:02,640 set of rules 936 00:31:02,640 --> 00:31:04,360 that would actually be applied 937 00:31:04,360 --> 00:31:05,780 because most people 938 00:31:05,780 --> 00:31:06,520 are not going to have 939 00:31:06,520 --> 00:31:06,900 the expertise 940 00:31:06,900 --> 00:31:08,340 to go with TCP dump 941 00:31:08,340 --> 00:31:08,880 on their networks 942 00:31:08,880 --> 00:31:09,540 and do things 943 00:31:09,540 --> 00:31:10,500 so kind of a 944 00:31:10,500 --> 00:31:11,780 like those silly wizards 945 00:31:12,060 --> 00:31:12,880 that ask you things 946 00:31:12,880 --> 00:31:14,080 and to kind of 947 00:31:14,080 --> 00:31:15,360 to some degree 948 00:31:16,100 --> 00:31:17,300 have a very limited 949 00:31:18,140 --> 00:31:18,940 response system 950 00:31:19,440 --> 00:31:20,820 like what is your web server 951 00:31:20,820 --> 00:31:21,720 what is your DNS server 952 00:31:21,720 --> 00:31:22,860 who are your partners 953 00:31:22,860 --> 00:31:24,160 and do you 954 00:31:24,160 --> 00:31:25,120 and if one of 955 00:31:25,120 --> 00:31:25,720 if I see an attack 956 00:31:25,720 --> 00:31:26,120 from one of these 957 00:31:26,120 --> 00:31:26,780 what do you want me to do 958 00:31:26,780 --> 00:31:28,040 that kind of 959 00:31:28,460 --> 00:31:28,860 heuristic 960 00:31:28,860 --> 00:31:30,080 it's not really heuristic 961 00:31:30,080 --> 00:31:31,280 but the learning 962 00:31:31,280 --> 00:31:31,980 what I was thinking of 963 00:31:31,980 --> 00:31:32,640 if any of you have used 964 00:31:32,640 --> 00:31:33,000 Mason 965 00:31:33,000 --> 00:31:33,640 it dynamically 966 00:31:33,640 --> 00:31:34,640 watches the traffic 967 00:31:34,640 --> 00:31:35,420 and then just 968 00:31:35,420 --> 00:31:36,280 automatically generates 969 00:31:36,280 --> 00:31:37,100 rules based on that 970 00:31:37,100 --> 00:31:37,860 it's very dangerous 971 00:31:37,860 --> 00:31:38,660 but very convenient 972 00:31:38,660 --> 00:31:39,440 so it 973 00:31:39,440 --> 00:31:40,440 it's just kind of 974 00:31:40,440 --> 00:31:41,700 it's just kind of a thought 975 00:31:42,060 --> 00:31:42,880 I don't really know 976 00:31:42,880 --> 00:31:43,340 what to do with it 977 00:31:43,340 --> 00:31:43,720 but anyways 978 00:31:47,400 --> 00:31:48,820 the stealth sensor 979 00:31:48,820 --> 00:31:50,280 it's a transparent 980 00:31:50,280 --> 00:31:51,020 bridging approach 981 00:31:51,020 --> 00:31:52,060 is used 982 00:31:52,640 --> 00:31:53,560 this allows for 983 00:31:53,560 --> 00:31:54,640 undetectable monitoring 984 00:31:54,640 --> 00:31:56,860 well relatively undetectable 985 00:31:56,860 --> 00:31:57,620 I'll say that 986 00:31:57,620 --> 00:31:58,560 because I'm not 987 00:31:58,560 --> 00:31:59,540 an expert on bridging 988 00:32:00,540 --> 00:32:01,660 transparent firewalls 989 00:32:01,660 --> 00:32:02,540 but it should be 990 00:32:02,540 --> 00:32:03,560 relatively undetectable 991 00:32:04,680 --> 00:32:05,720 traffic flows 992 00:32:05,720 --> 00:32:06,960 can be stopped 993 00:32:06,960 --> 00:32:08,360 because it's also 994 00:32:08,360 --> 00:32:08,960 a firewall 995 00:32:10,940 --> 00:32:11,500 redirected 996 00:32:11,500 --> 00:32:12,000 or even reflected 997 00:32:12,060 --> 00:32:12,960 back at an attacker 998 00:32:12,960 --> 00:32:13,700 I don't know 999 00:32:13,700 --> 00:32:14,520 I kind of like the new 1000 00:32:15,060 --> 00:32:15,440 IP 1001 00:32:15,440 --> 00:32:15,920 the new 1002 00:32:15,920 --> 00:32:17,300 this is a Linux plug 1003 00:32:17,300 --> 00:32:18,060 I kind of like the 1004 00:32:18,060 --> 00:32:19,700 reflect attack 1005 00:32:19,700 --> 00:32:20,620 the mirror target 1006 00:32:20,620 --> 00:32:22,080 on the new IP tables 1007 00:32:22,080 --> 00:32:22,760 is kind of cool 1008 00:32:22,760 --> 00:32:23,240 but anyways 1009 00:32:25,600 --> 00:32:26,080 finally 1010 00:32:26,080 --> 00:32:27,480 it makes it difficult 1011 00:32:27,480 --> 00:32:28,800 to attack the IDS itself 1012 00:32:28,800 --> 00:32:29,440 it's bridging 1013 00:32:29,960 --> 00:32:31,240 I would love to see 1014 00:32:31,240 --> 00:32:31,720 some attacks 1015 00:32:31,720 --> 00:32:32,800 on bridging IDSs 1016 00:32:32,800 --> 00:32:33,220 that would be 1017 00:32:33,220 --> 00:32:34,140 very interesting paper 1018 00:32:34,140 --> 00:32:36,000 I haven't seen any to date 1019 00:32:36,000 --> 00:32:37,220 I've seen nothing 1020 00:32:37,220 --> 00:32:37,800 that really 1021 00:32:37,800 --> 00:32:39,240 that talks about it 1022 00:32:39,240 --> 00:32:39,780 other than denial 1023 00:32:39,780 --> 00:32:40,540 of servicing them 1024 00:32:41,980 --> 00:32:42,540 finally 1025 00:32:42,540 --> 00:32:43,580 it doesn't prevent 1026 00:32:43,580 --> 00:32:44,900 fooling the filtering module 1027 00:32:44,900 --> 00:32:45,800 into doing something 1028 00:32:45,800 --> 00:32:46,560 bad or stupid 1029 00:32:46,560 --> 00:32:47,300 again 1030 00:32:47,300 --> 00:32:48,140 if the rules 1031 00:32:48,140 --> 00:32:49,120 are improperly made 1032 00:32:49,120 --> 00:32:50,480 an attacker can send 1033 00:32:50,480 --> 00:32:51,420 packets at you 1034 00:32:51,420 --> 00:32:52,880 knowing that you have 1035 00:32:52,880 --> 00:32:53,620 the system in place 1036 00:32:53,620 --> 00:32:54,800 and really 1037 00:32:54,800 --> 00:32:55,580 make life miserable 1038 00:33:02,220 --> 00:33:03,560 the sensors have 1039 00:33:03,560 --> 00:33:04,120 three interfaces 1040 00:33:04,120 --> 00:33:05,360 one for management 1041 00:33:05,360 --> 00:33:06,180 and two for bridging 1042 00:33:06,940 --> 00:33:07,780 ether express 1043 00:33:07,780 --> 00:33:08,280 nix 1044 00:33:08,280 --> 00:33:09,200 I've heard a lot of 1045 00:33:09,200 --> 00:33:10,280 banter 1046 00:33:10,540 --> 00:33:11,320 about which one's 1047 00:33:11,320 --> 00:33:11,700 the best 1048 00:33:11,700 --> 00:33:13,880 I personally use 1049 00:33:13,880 --> 00:33:14,580 three coms 1050 00:33:14,580 --> 00:33:15,380 but I have noticed 1051 00:33:15,380 --> 00:33:16,420 high CPU utilization 1052 00:33:17,020 --> 00:33:18,060 you probably 1053 00:33:18,760 --> 00:33:19,840 the ether express 1054 00:33:20,680 --> 00:33:21,600 Chris basically 1055 00:33:21,600 --> 00:33:22,400 recommended them 1056 00:33:22,400 --> 00:33:23,380 my friend 1057 00:33:23,380 --> 00:33:24,240 who's a Cisco person 1058 00:33:24,240 --> 00:33:24,860 said he saw 1059 00:33:24,860 --> 00:33:26,000 like five times 1060 00:33:26,000 --> 00:33:26,340 the throughput 1061 00:33:26,340 --> 00:33:27,120 on the new ones 1062 00:33:27,120 --> 00:33:27,740 you don't go with 1063 00:33:27,740 --> 00:33:28,100 the old ones 1064 00:33:28,100 --> 00:33:28,720 but the new ones 1065 00:33:29,260 --> 00:33:30,000 so anyways 1066 00:33:30,000 --> 00:33:30,940 and as you know 1067 00:33:30,940 --> 00:33:31,860 CPU utilization 1068 00:33:31,860 --> 00:33:32,860 and bus mastering 1069 00:33:32,860 --> 00:33:34,120 and all these other things 1070 00:33:34,120 --> 00:33:35,260 are quite important 1071 00:33:35,260 --> 00:33:36,480 on an IDS 1072 00:33:38,340 --> 00:33:39,420 sensors should be 1073 00:33:39,420 --> 00:33:40,160 based on 1074 00:33:40,160 --> 00:33:40,440 a reliable 1075 00:33:40,440 --> 00:33:40,520 network 1076 00:33:40,540 --> 00:33:41,160 and secure 1077 00:33:41,160 --> 00:33:42,000 operating system 1078 00:33:42,880 --> 00:33:43,700 OpenBSD as far 1079 00:33:43,700 --> 00:33:44,120 as I know 1080 00:33:44,120 --> 00:33:44,940 is one of the more 1081 00:33:44,940 --> 00:33:46,340 secure operating systems 1082 00:33:46,340 --> 00:33:46,980 on the planet 1083 00:33:46,980 --> 00:33:48,040 I will preface 1084 00:33:48,040 --> 00:33:48,780 that mainframes 1085 00:33:48,780 --> 00:33:49,360 are more secure 1086 00:33:49,360 --> 00:33:49,960 but anyways 1087 00:33:51,220 --> 00:33:51,900 they are 1088 00:33:51,900 --> 00:33:53,360 it takes 30 minutes 1089 00:33:53,360 --> 00:33:53,980 to enter a user 1090 00:33:54,420 --> 00:33:54,640 anyways 1091 00:33:57,060 --> 00:33:58,520 26 transaction codes 1092 00:33:58,520 --> 00:33:59,080 before you can 1093 00:33:59,080 --> 00:33:59,740 even log in 1094 00:34:01,280 --> 00:34:02,160 OpenBSD is relatively 1095 00:34:02,160 --> 00:34:03,080 easy to set up 1096 00:34:03,080 --> 00:34:03,820 due to its minimalist 1097 00:34:03,820 --> 00:34:04,180 philosophy 1098 00:34:04,180 --> 00:34:05,140 and secure design 1099 00:34:05,760 --> 00:34:06,920 for me to go through 1100 00:34:06,920 --> 00:34:07,720 the package selection 1101 00:34:07,720 --> 00:34:08,620 on SUSY 1102 00:34:08,620 --> 00:34:09,380 or any of the Linuxes 1103 00:34:10,540 --> 00:34:10,880 takes 4 and a half 1104 00:34:10,880 --> 00:34:11,500 to 2 hours 1105 00:34:11,500 --> 00:34:12,280 because there's 1106 00:34:12,280 --> 00:34:13,620 4000 packages 1107 00:34:13,620 --> 00:34:14,440 in SUSY alone 1108 00:34:14,440 --> 00:34:15,600 and I think 1109 00:34:15,600 --> 00:34:16,820 in the new Mandrake 1110 00:34:16,820 --> 00:34:17,160 there's like 1111 00:34:17,780 --> 00:34:18,260 3500 1112 00:34:18,260 --> 00:34:19,200 and so 1113 00:34:19,200 --> 00:34:20,380 and the default 1114 00:34:20,380 --> 00:34:21,000 package selections 1115 00:34:21,000 --> 00:34:21,560 are stupid 1116 00:34:21,560 --> 00:34:22,860 so you have to go 1117 00:34:22,860 --> 00:34:23,500 through every package 1118 00:34:23,500 --> 00:34:24,900 and so anyways 1119 00:34:24,900 --> 00:34:26,040 BSD is just 1120 00:34:26,040 --> 00:34:26,780 install at default 1121 00:34:26,780 --> 00:34:27,600 turn off the 1122 00:34:27,600 --> 00:34:28,500 you know 1123 00:34:28,500 --> 00:34:29,340 for some reason 1124 00:34:29,340 --> 00:34:30,220 they leave RPC open 1125 00:34:30,220 --> 00:34:31,120 just turn off the RPC 1126 00:34:31,120 --> 00:34:32,720 and it's pretty much done 1127 00:34:39,440 --> 00:34:40,040 OpenBSD, 1128 00:34:40,140 --> 00:34:40,440 Snort, 1129 00:34:40,540 --> 00:34:40,940 ACID 1130 00:34:40,940 --> 00:34:41,920 and the database work 1131 00:34:42,460 --> 00:34:44,040 the rest is going to be 1132 00:34:44,040 --> 00:34:44,520 a project 1133 00:34:44,520 --> 00:34:44,980 anyways 1134 00:34:44,980 --> 00:34:45,600 let's continue 1135 00:34:47,340 --> 00:34:47,940 the 1136 00:34:47,940 --> 00:34:48,700 anyways 1137 00:34:48,700 --> 00:34:49,240 let me continue 1138 00:34:52,460 --> 00:34:54,080 for those of you 1139 00:34:54,080 --> 00:34:54,700 who are here 1140 00:34:54,700 --> 00:34:56,540 this is a theoretical talk 1141 00:34:56,540 --> 00:34:58,060 I do have some 1142 00:34:58,060 --> 00:34:59,060 practical application 1143 00:34:59,060 --> 00:35:00,640 but unfortunately 1144 00:35:00,640 --> 00:35:01,560 I'm not a programmer 1145 00:35:01,560 --> 00:35:02,340 I'm 1146 00:35:02,720 --> 00:35:03,660 I'm okay at network stuff 1147 00:35:03,660 --> 00:35:04,660 but I'm not an expert 1148 00:35:04,660 --> 00:35:06,140 and so what I'm trying to do 1149 00:35:06,140 --> 00:35:07,360 is I'm trying to get together 1150 00:35:07,360 --> 00:35:07,780 like I said 1151 00:35:07,780 --> 00:35:09,040 a community based project 1152 00:35:09,040 --> 00:35:10,480 where we can get all these 1153 00:35:10,480 --> 00:35:11,080 different people 1154 00:35:11,080 --> 00:35:12,060 with different expertises 1155 00:35:12,060 --> 00:35:13,700 for non-profit 1156 00:35:13,700 --> 00:35:14,640 because if it's for profit 1157 00:35:14,640 --> 00:35:15,020 it just 1158 00:35:15,020 --> 00:35:16,000 everyone becomes selfish 1159 00:35:16,000 --> 00:35:16,840 and 1160 00:35:16,840 --> 00:35:18,080 then suddenly 1161 00:35:18,080 --> 00:35:19,540 it just doesn't work 1162 00:35:19,540 --> 00:35:19,660 so 1163 00:35:19,660 --> 00:35:20,700 this is kind of 1164 00:35:20,700 --> 00:35:22,360 an allotruistic vision 1165 00:35:22,360 --> 00:35:22,840 of 1166 00:35:23,600 --> 00:35:24,080 having 1167 00:35:24,080 --> 00:35:24,880 a community 1168 00:35:24,880 --> 00:35:25,780 based 1169 00:35:25,780 --> 00:35:27,300 intrusion detection system 1170 00:35:27,300 --> 00:35:27,700 that kicks 1171 00:35:27,700 --> 00:35:28,680 everybody else's ass 1172 00:35:28,680 --> 00:35:29,240 I mean that 1173 00:35:29,240 --> 00:35:30,080 that is really 1174 00:35:30,080 --> 00:35:30,860 what the vision 1175 00:35:30,860 --> 00:35:31,720 of this project is 1176 00:35:32,720 --> 00:35:33,120 so at the end 1177 00:35:33,120 --> 00:35:34,360 there's all kinds of resources 1178 00:35:34,360 --> 00:35:35,440 and I will continue with that 1179 00:35:37,120 --> 00:35:37,560 yes 1180 00:35:46,220 --> 00:35:47,100 you redirect 1181 00:35:47,100 --> 00:35:48,400 you can rewrite packets though 1182 00:35:49,000 --> 00:35:50,500 you can rewrite the packets in transit 1183 00:35:50,500 --> 00:35:52,000 between bridge one to bridge two 1184 00:35:55,620 --> 00:35:56,500 anything you want 1185 00:35:58,320 --> 00:35:59,340 that's the whole point 1186 00:35:59,340 --> 00:36:00,620 use dev random 1187 00:36:00,620 --> 00:36:01,160 I don't know 1188 00:36:02,740 --> 00:36:03,680 oh sorry 1189 00:36:03,680 --> 00:36:04,920 the question was 1190 00:36:04,920 --> 00:36:05,820 is if you don't have 1191 00:36:05,820 --> 00:36:06,180 a 1192 00:36:06,860 --> 00:36:07,680 IP address 1193 00:36:07,680 --> 00:36:08,600 how do you rewrite packets 1194 00:36:08,600 --> 00:36:09,020 headers 1195 00:36:09,680 --> 00:36:10,900 and I basically said 1196 00:36:10,900 --> 00:36:11,160 well 1197 00:36:11,160 --> 00:36:12,740 you rewrite the source address 1198 00:36:12,740 --> 00:36:13,600 and destination address 1199 00:36:13,600 --> 00:36:14,300 any way you want 1200 00:36:14,300 --> 00:36:15,120 because it's PF 1201 00:36:15,120 --> 00:36:15,600 you know 1202 00:36:15,600 --> 00:36:16,700 it's low level 1203 00:36:16,700 --> 00:36:17,840 you've got raw sockets 1204 00:36:17,840 --> 00:36:18,980 that's the whole advantage 1205 00:36:18,980 --> 00:36:19,360 of the OS 1206 00:36:19,360 --> 00:36:20,620 you write any source 1207 00:36:20,620 --> 00:36:21,200 or whatever 1208 00:36:21,200 --> 00:36:22,300 I mean 1209 00:36:22,300 --> 00:36:22,820 write 1210 00:36:22,820 --> 00:36:24,040 use it's own source address 1211 00:36:24,040 --> 00:36:24,960 if you want to be nasty 1212 00:36:26,400 --> 00:36:26,920 anyways 1213 00:36:27,500 --> 00:36:28,020 sensors 1214 00:36:28,020 --> 00:36:29,020 sensor descriptions 1215 00:36:29,020 --> 00:36:31,260 sensors communicate relevant traffic 1216 00:36:31,260 --> 00:36:32,260 via out of band 1217 00:36:32,260 --> 00:36:34,460 network to reporting module 1218 00:36:35,040 --> 00:36:38,640 sensors can receive commands via SSH version two 1219 00:36:38,640 --> 00:36:40,120 version one is hopelessly flawed 1220 00:36:40,120 --> 00:36:41,480 I don't recommend using it 1221 00:36:41,480 --> 00:36:42,620 unless you have no choice 1222 00:36:42,620 --> 00:36:43,740 it's better than telnet 1223 00:36:43,740 --> 00:36:45,600 but avoid one if you can 1224 00:36:45,600 --> 00:36:46,740 if you do use it 1225 00:36:46,740 --> 00:36:47,280 turn on compression 1226 00:36:47,280 --> 00:36:48,080 at least it makes 1227 00:36:48,080 --> 00:36:49,620 finding the passwords a little harder 1228 00:36:50,700 --> 00:36:52,100 sensors can dynamically 1229 00:36:52,100 --> 00:36:52,780 block 1230 00:36:52,780 --> 00:36:53,340 allow 1231 00:36:53,340 --> 00:36:53,900 ignore 1232 00:36:53,900 --> 00:36:54,440 reflect 1233 00:36:54,440 --> 00:36:55,240 or redirect 1234 00:36:55,240 --> 00:36:57,060 or log traffic 1235 00:36:57,060 --> 00:36:58,180 I didn't put that in there 1236 00:36:58,780 --> 00:37:00,960 sensors can also send out syslog 1237 00:37:01,680 --> 00:37:02,240 basically 1238 00:37:02,260 --> 00:37:03,760 the covert channel thing I talked about 1239 00:37:03,760 --> 00:37:04,220 where you 1240 00:37:04,220 --> 00:37:06,420 you just have all your hosts on the DMZ 1241 00:37:06,420 --> 00:37:08,960 basically sending to a mythical syslog server 1242 00:37:08,960 --> 00:37:11,200 but you're actually recording the syslog traffic 1243 00:37:11,200 --> 00:37:11,840 as it 1244 00:37:11,840 --> 00:37:12,760 as it comes in 1245 00:37:12,760 --> 00:37:14,080 and reconstructing it 1246 00:37:14,080 --> 00:37:14,800 based on that 1247 00:37:14,800 --> 00:37:15,380 it's 1248 00:37:15,380 --> 00:37:15,660 it's 1249 00:37:15,660 --> 00:37:16,900 it's for the event logging 1250 00:37:16,900 --> 00:37:18,680 and for some of the host based stuff 1251 00:37:18,680 --> 00:37:19,500 that you need 1252 00:37:26,360 --> 00:37:27,740 sensors will send data 1253 00:37:27,740 --> 00:37:29,440 to an industry standard SQL server 1254 00:37:29,440 --> 00:37:31,120 and one thing I should put in there 1255 00:37:31,120 --> 00:37:33,760 sensors will send data in a standardized format 1256 00:37:34,460 --> 00:37:36,480 or at least there will be some kind of 1257 00:37:36,480 --> 00:37:37,480 because I 1258 00:37:38,080 --> 00:37:39,420 originally was just going to use snort 1259 00:37:39,420 --> 00:37:40,140 but then I thought 1260 00:37:40,140 --> 00:37:41,840 well why don't we use all these other IDSs too 1261 00:37:41,840 --> 00:37:43,520 and so just basically 1262 00:37:44,080 --> 00:37:45,780 somehow parse their alerts 1263 00:37:45,780 --> 00:37:47,100 into a one to one equivalence 1264 00:37:47,100 --> 00:37:49,560 so that you get some kind of a standardized database 1265 00:37:49,560 --> 00:37:50,760 among all the different 1266 00:37:50,760 --> 00:37:52,380 of all the different vendors 1267 00:37:52,380 --> 00:37:52,660 I 1268 00:37:52,660 --> 00:37:54,140 obviously this is a huge task 1269 00:37:54,140 --> 00:37:54,900 but 1270 00:37:54,900 --> 00:37:56,000 it's a nice idea 1271 00:37:57,260 --> 00:37:58,240 data will be encrypted 1272 00:37:58,240 --> 00:38:00,280 I know it's an out of band channel but 1273 00:38:00,280 --> 00:38:01,400 a lot of people 1274 00:38:01,400 --> 00:38:01,700 well 1275 00:38:01,700 --> 00:38:03,600 out of band networks are a pain in the ass 1276 00:38:03,600 --> 00:38:04,220 so 1277 00:38:04,220 --> 00:38:05,400 let us use 1278 00:38:06,180 --> 00:38:06,480 Zebedee 1279 00:38:06,480 --> 00:38:07,480 it's a very nice 1280 00:38:07,480 --> 00:38:08,360 Blowfish encryption 1281 00:38:08,360 --> 00:38:09,340 it works on Windows 1282 00:38:09,340 --> 00:38:10,380 it works on Unix 1283 00:38:10,380 --> 00:38:11,620 it stands for Z 1284 00:38:12,240 --> 00:38:13,140 Zlib compression 1285 00:38:13,780 --> 00:38:14,700 Blowfish encryption 1286 00:38:15,280 --> 00:38:16,460 and it's really fast 1287 00:38:17,000 --> 00:38:19,220 and it's much faster than SSH 1288 00:38:19,220 --> 00:38:19,640 it supports 1289 00:38:20,280 --> 00:38:21,400 keys between servers 1290 00:38:21,400 --> 00:38:22,060 and 1291 00:38:22,060 --> 00:38:23,220 so basically you 1292 00:38:23,220 --> 00:38:25,180 you send your database connection through 1293 00:38:25,180 --> 00:38:26,900 an encrypted Zebedee tunnel 1294 00:38:26,900 --> 00:38:28,100 to the sensor 1295 00:38:28,100 --> 00:38:28,780 so 1296 00:38:28,780 --> 00:38:29,840 you don't have to 1297 00:38:30,280 --> 00:38:31,060 for the truly paranoid 1298 00:38:31,060 --> 00:38:32,300 it's there 1299 00:38:35,420 --> 00:38:38,240 centralized information repository description 1300 00:38:40,000 --> 00:38:41,680 the host is hardened 1301 00:38:42,220 --> 00:38:42,540 basically 1302 00:38:42,540 --> 00:38:43,500 you know you've done 1303 00:38:43,500 --> 00:38:44,820 the sensible things 1304 00:38:44,820 --> 00:38:46,800 taking out unnecessary services 1305 00:38:46,800 --> 00:38:48,100 no compilers 1306 00:38:48,100 --> 00:38:48,440 etc 1307 00:38:49,280 --> 00:38:51,080 runs a journaling file system 1308 00:38:51,080 --> 00:38:53,040 the nice thing about journaling file systems 1309 00:38:53,040 --> 00:38:54,200 is if you turn off the power 1310 00:38:54,200 --> 00:38:55,340 you don't lose your database 1311 00:38:55,340 --> 00:38:56,340 well guess what we have 1312 00:38:56,340 --> 00:38:57,900 we have a very large database 1313 00:38:57,900 --> 00:38:58,780 and 1314 00:38:58,780 --> 00:39:00,620 they don't take kindly to 1315 00:39:00,620 --> 00:39:01,880 power outages 1316 00:39:01,880 --> 00:39:02,200 and 1317 00:39:02,660 --> 00:39:03,340 to be honest 1318 00:39:03,340 --> 00:39:03,860 I really 1319 00:39:04,540 --> 00:39:04,840 ext2 1320 00:39:04,840 --> 00:39:06,100 kind of scares me 1321 00:39:06,100 --> 00:39:06,520 with databases 1322 00:39:06,520 --> 00:39:07,480 because it 1323 00:39:07,480 --> 00:39:08,800 it's fast 1324 00:39:08,800 --> 00:39:09,400 but it's 1325 00:39:09,400 --> 00:39:10,360 just kind of 1326 00:39:10,360 --> 00:39:11,420 squirrely at times 1327 00:39:11,420 --> 00:39:12,040 so 1328 00:39:12,040 --> 00:39:13,640 I personally use 1329 00:39:13,640 --> 00:39:14,180 a 1330 00:39:14,180 --> 00:39:15,980 a Suzy with Riser 1331 00:39:15,980 --> 00:39:17,500 some people say it's unreliable 1332 00:39:17,500 --> 00:39:18,620 I've been running it for 1333 00:39:18,620 --> 00:39:19,660 well 1334 00:39:19,660 --> 00:39:20,700 a year and a half now 1335 00:39:20,700 --> 00:39:20,900 and 1336 00:39:20,900 --> 00:39:22,200 haven't lost a single file 1337 00:39:22,780 --> 00:39:23,640 on a hundred 1338 00:39:23,640 --> 00:39:24,920 gigabyte file system 1339 00:39:24,920 --> 00:39:25,220 so 1340 00:39:25,220 --> 00:39:26,340 it's pretty reasonable 1341 00:39:27,580 --> 00:39:28,460 is it on 1342 00:39:28,460 --> 00:39:29,340 it's on a UPS 1343 00:39:29,340 --> 00:39:30,040 and obviously 1344 00:39:30,040 --> 00:39:31,440 has the UPS connector 1345 00:39:31,440 --> 00:39:32,280 connected to it 1346 00:39:32,280 --> 00:39:33,180 so if you lose power 1347 00:39:33,180 --> 00:39:34,560 it shuts itself down gracefully 1348 00:39:34,560 --> 00:39:35,480 now this means 1349 00:39:35,480 --> 00:39:36,420 that if you have a server 1350 00:39:36,420 --> 00:39:37,340 you make sure 1351 00:39:37,340 --> 00:39:37,680 that you're 1352 00:39:37,680 --> 00:39:39,040 you buy yourself a little 1353 00:39:39,040 --> 00:39:39,740 400 1354 00:39:39,740 --> 00:39:40,360 you know 1355 00:39:40,360 --> 00:39:41,300 APC 400 1356 00:39:41,300 --> 00:39:42,580 and it runs your server 1357 00:39:42,580 --> 00:39:43,180 for two minutes 1358 00:39:43,180 --> 00:39:44,260 that's silly 1359 00:39:44,260 --> 00:39:46,360 buy yourself a big APC 1360 00:39:46,360 --> 00:39:47,020 and then 1361 00:39:47,020 --> 00:39:47,860 then your database 1362 00:39:47,860 --> 00:39:49,020 can take as long as an hour 1363 00:39:49,020 --> 00:39:49,520 to shut down 1364 00:39:49,520 --> 00:39:50,340 if it's Oracle 1365 00:39:50,340 --> 00:39:50,940 God forbid 1366 00:39:50,940 --> 00:39:51,800 and 1367 00:39:52,900 --> 00:39:53,340 so 1368 00:39:53,340 --> 00:39:54,840 you need to make sure 1369 00:39:54,840 --> 00:39:55,800 that when you get a UPS 1370 00:39:55,800 --> 00:39:56,980 you get one that's big enough 1371 00:39:56,980 --> 00:39:57,860 for the wattage 1372 00:39:58,460 --> 00:39:59,040 or the ratings 1373 00:39:59,040 --> 00:40:00,100 and do a test 1374 00:40:00,100 --> 00:40:01,080 you know before you have 1375 00:40:01,080 --> 00:40:02,060 all your important data on it 1376 00:40:02,880 --> 00:40:03,680 unplug it 1377 00:40:03,680 --> 00:40:04,520 and see how long it lasts 1378 00:40:04,520 --> 00:40:04,960 under load 1379 00:40:04,960 --> 00:40:05,880 I mean 1380 00:40:05,880 --> 00:40:06,820 I know what the manufacturers 1381 00:40:06,820 --> 00:40:07,240 saying 1382 00:40:07,240 --> 00:40:08,020 volt hours say 1383 00:40:08,020 --> 00:40:09,260 but batteries go bad 1384 00:40:09,260 --> 00:40:10,540 you know there's all kinds of 1385 00:40:10,540 --> 00:40:12,140 all these other factors in them 1386 00:40:13,380 --> 00:40:14,800 it's regularly backed up 1387 00:40:14,800 --> 00:40:15,820 when I say it 1388 00:40:15,820 --> 00:40:17,420 the only thing I really refer to 1389 00:40:17,420 --> 00:40:17,900 is the database 1390 00:40:18,560 --> 00:40:19,620 if you're using MySQL 1391 00:40:19,620 --> 00:40:20,220 it's really easy 1392 00:40:20,220 --> 00:40:21,000 shut down the database 1393 00:40:21,000 --> 00:40:21,860 and tar up the directory 1394 00:40:22,440 --> 00:40:23,660 with other types of databases 1395 00:40:23,660 --> 00:40:25,020 it's a little more complicated 1396 00:40:25,020 --> 00:40:25,540 and 1397 00:40:25,540 --> 00:40:26,320 to be honest 1398 00:40:26,320 --> 00:40:27,520 I'm not really a database guru 1399 00:40:28,460 --> 00:40:29,060 I don't know 1400 00:40:29,060 --> 00:40:29,580 figure it out 1401 00:40:31,160 --> 00:40:33,060 it's on an out of band network again 1402 00:40:33,060 --> 00:40:34,800 it doesn't have to be 1403 00:40:34,800 --> 00:40:35,080 but 1404 00:40:35,080 --> 00:40:36,860 I recommend that it is 1405 00:40:37,460 --> 00:40:38,520 just because of the fact 1406 00:40:38,520 --> 00:40:40,340 that it's such vital information 1407 00:40:40,340 --> 00:40:41,040 and 1408 00:40:41,040 --> 00:40:42,860 from a privacy standpoint 1409 00:40:43,460 --> 00:40:45,420 when you're talking about deploying 1410 00:40:45,420 --> 00:40:46,600 a system like an IDS 1411 00:40:46,600 --> 00:40:47,660 especially in universities 1412 00:40:48,460 --> 00:40:49,900 you're recording all the traffic 1413 00:40:49,900 --> 00:40:50,780 and not only that 1414 00:40:50,780 --> 00:40:52,100 but you have a permanent record 1415 00:40:52,100 --> 00:40:53,260 of all the traffic 1416 00:40:53,260 --> 00:40:55,040 the privacy concerns 1417 00:40:55,040 --> 00:40:57,140 of protecting that kind of information 1418 00:40:57,140 --> 00:40:57,720 are huge 1419 00:40:58,460 --> 00:41:00,060 even if it's the company's data 1420 00:41:00,060 --> 00:41:01,520 the politics 1421 00:41:01,520 --> 00:41:04,200 and the levels of problems 1422 00:41:04,200 --> 00:41:06,980 that occur with this kind of information 1423 00:41:06,980 --> 00:41:07,720 are huge 1424 00:41:07,720 --> 00:41:09,120 I've seen people fired 1425 00:41:09,120 --> 00:41:10,720 I've actually had to have people fired 1426 00:41:10,720 --> 00:41:11,480 as a result of 1427 00:41:11,480 --> 00:41:12,580 sensor traffic 1428 00:41:12,580 --> 00:41:15,120 and it's a really hard thing to do 1429 00:41:15,120 --> 00:41:15,920 someone you like 1430 00:41:15,920 --> 00:41:16,500 and all of a sudden 1431 00:41:16,500 --> 00:41:17,760 they're doing kiddie porn 1432 00:41:17,760 --> 00:41:18,700 and it's against the policy 1433 00:41:18,700 --> 00:41:19,980 and have a nice day 1434 00:41:19,980 --> 00:41:21,420 go feed your children 1435 00:41:22,720 --> 00:41:23,800 it's pretty unpleasant 1436 00:41:24,520 --> 00:41:26,400 it's just unpleasant 1437 00:41:26,400 --> 00:41:27,160 and 1438 00:41:27,160 --> 00:41:28,600 I just 1439 00:41:28,600 --> 00:41:29,480 like I said 1440 00:41:29,480 --> 00:41:30,760 so it has to be 1441 00:41:30,760 --> 00:41:31,220 I think 1442 00:41:31,680 --> 00:41:32,740 just because of the fact 1443 00:41:32,740 --> 00:41:33,220 that it's repositorying 1444 00:41:34,040 --> 00:41:34,660 all the information 1445 00:41:34,660 --> 00:41:36,020 it has to be 1446 00:41:36,020 --> 00:41:36,900 on an out of band network 1447 00:41:36,900 --> 00:41:38,280 it doesn't have to be 1448 00:41:38,280 --> 00:41:38,500 but 1449 00:41:39,100 --> 00:41:39,540 again 1450 00:41:39,540 --> 00:41:41,340 because of the ethical concerns 1451 00:41:41,340 --> 00:41:42,820 in the kinds of data 1452 00:41:42,820 --> 00:41:43,520 that we're collecting 1453 00:41:43,520 --> 00:41:45,780 I think it's in your best interest 1454 00:41:45,780 --> 00:41:46,340 to do that 1455 00:41:47,900 --> 00:41:49,060 currently the only OS 1456 00:41:49,060 --> 00:41:50,300 that does most of this 1457 00:41:50,300 --> 00:41:51,040 out of the box 1458 00:41:51,040 --> 00:41:52,160 is Suzy Linux 1459 00:41:52,800 --> 00:41:53,900 Mandrake will do it 1460 00:41:53,900 --> 00:41:55,480 I don't know if there's 1461 00:41:55,480 --> 00:41:56,340 a journaling file system 1462 00:41:56,340 --> 00:41:57,140 for BSD out of the box 1463 00:41:57,140 --> 00:41:58,340 if there is great 1464 00:42:00,440 --> 00:42:00,940 Slackware? 1465 00:42:01,440 --> 00:42:01,940 Okay 1466 00:42:01,940 --> 00:42:02,520 well thank you 1467 00:42:02,520 --> 00:42:03,760 I haven't used Slackware 1468 00:42:03,760 --> 00:42:04,520 since 92 1469 00:42:04,520 --> 00:42:05,960 so please excuse me 1470 00:42:08,600 --> 00:42:09,100 okay 1471 00:42:09,660 --> 00:42:10,160 yeah 1472 00:42:10,160 --> 00:42:10,780 and Dead Rat 1473 00:42:10,780 --> 00:42:11,780 I just 1474 00:42:11,780 --> 00:42:13,940 it's better in the 7.1 1475 00:42:13,940 --> 00:42:14,640 but 1476 00:42:15,360 --> 00:42:15,860 but 1477 00:42:15,860 --> 00:42:16,740 it unfortunately 1478 00:42:16,740 --> 00:42:18,980 I just don't like 1479 00:42:18,980 --> 00:42:20,000 the way they do things 1480 00:42:20,000 --> 00:42:20,760 they don't use 1481 00:42:20,760 --> 00:42:21,440 any kind of 1482 00:42:21,440 --> 00:42:22,300 standards 1483 00:42:22,300 --> 00:42:23,120 they use that stupid 1484 00:42:23,120 --> 00:42:23,980 check config thing 1485 00:42:23,980 --> 00:42:24,880 to turn things on and off 1486 00:42:24,880 --> 00:42:25,120 and 1487 00:42:25,120 --> 00:42:26,460 just all their RCs 1488 00:42:26,460 --> 00:42:27,120 are in the wrong place 1489 00:42:27,140 --> 00:42:28,080 and I don't like 1490 00:42:28,080 --> 00:42:29,040 figuring that out 1491 00:42:29,040 --> 00:42:30,080 so that's just me 1492 00:42:34,080 --> 00:42:35,180 now you were saying 1493 00:42:35,180 --> 00:42:35,960 you're worried about 1494 00:42:35,960 --> 00:42:36,860 a journaling file system 1495 00:42:36,860 --> 00:42:37,540 but you're recommending 1496 00:42:37,540 --> 00:42:38,140 RAID 0 1497 00:42:38,140 --> 00:42:39,160 well that's why 1498 00:42:39,160 --> 00:42:39,780 we have backups 1499 00:42:40,700 --> 00:42:41,480 RAID 0 1500 00:42:41,960 --> 00:42:42,800 I'm sure you're all 1501 00:42:42,800 --> 00:42:43,220 uber hackers 1502 00:42:43,220 --> 00:42:44,220 but just in case 1503 00:42:44,220 --> 00:42:44,700 there aren't any 1504 00:42:44,700 --> 00:42:45,700 RAID 0 means 1505 00:42:45,700 --> 00:42:46,820 you stripe the disk 1506 00:42:46,820 --> 00:42:47,420 across two 1507 00:42:47,420 --> 00:42:48,620 so you have basically 1508 00:42:48,620 --> 00:42:49,520 twice the speed 1509 00:42:49,520 --> 00:42:50,120 but 1510 00:42:50,120 --> 00:42:51,340 half the reliability 1511 00:42:51,340 --> 00:42:53,120 because if either of the disks 1512 00:42:53,120 --> 00:42:53,600 go bad 1513 00:42:53,600 --> 00:42:54,500 you lose everything 1514 00:42:54,500 --> 00:42:55,340 so 1515 00:42:57,140 --> 00:42:57,640 you have a really fast disk 1516 00:42:57,640 --> 00:42:58,800 for less than 1517 00:42:58,800 --> 00:42:59,300 $400 1518 00:42:59,880 --> 00:43:00,820 I can have 1519 00:43:00,820 --> 00:43:01,360 a 1520 00:43:01,900 --> 00:43:03,640 160 gigabyte disk 1521 00:43:03,640 --> 00:43:04,040 which will do 1522 00:43:04,040 --> 00:43:05,160 50 megs a second 1523 00:43:05,160 --> 00:43:06,780 on an IDE channel 1524 00:43:06,780 --> 00:43:07,740 mind you 1525 00:43:07,740 --> 00:43:08,120 that's IDE 1526 00:43:08,120 --> 00:43:08,900 that's not SCSI 1527 00:43:08,900 --> 00:43:09,580 we're not talking 1528 00:43:09,580 --> 00:43:10,520 Ultra 166 1529 00:43:10,520 --> 00:43:11,880 or Sun Hardware 1530 00:43:11,880 --> 00:43:12,800 or 64 bit 1531 00:43:13,560 --> 00:43:14,120 PCI 1532 00:43:14,120 --> 00:43:14,640 I mean 1533 00:43:14,640 --> 00:43:15,600 50 megs a second 1534 00:43:16,020 --> 00:43:16,960 that's a lot of bandwidth 1535 00:43:16,960 --> 00:43:17,420 you're almost 1536 00:43:17,420 --> 00:43:18,220 saturating the bus 1537 00:43:18,220 --> 00:43:18,820 at that point 1538 00:43:20,720 --> 00:43:21,280 basically 1539 00:43:22,280 --> 00:43:23,400 the central 1540 00:43:23,400 --> 00:43:24,100 it has a host based 1541 00:43:24,100 --> 00:43:24,460 firewall 1542 00:43:24,460 --> 00:43:25,840 in the case of 1543 00:43:25,840 --> 00:43:26,080 Linux 1544 00:43:26,080 --> 00:43:26,980 you would be using 1545 00:43:27,140 --> 00:43:28,040 I would recommend 1546 00:43:28,040 --> 00:43:28,760 IP chains 1547 00:43:28,760 --> 00:43:29,720 until IP tables 1548 00:43:29,720 --> 00:43:30,340 stabilizes 1549 00:43:30,340 --> 00:43:31,780 but IP tables 1550 00:43:31,780 --> 00:43:32,260 is really nice 1551 00:43:32,260 --> 00:43:32,740 because you can do 1552 00:43:32,740 --> 00:43:33,500 MAC address checking 1553 00:43:33,500 --> 00:43:34,320 you can do 1554 00:43:34,320 --> 00:43:34,980 MAC address checking 1555 00:43:34,980 --> 00:43:35,760 you can do 1556 00:43:35,760 --> 00:43:37,620 all kinds of 1557 00:43:37,620 --> 00:43:38,260 flexible response 1558 00:43:38,260 --> 00:43:39,420 and basically 1559 00:43:39,420 --> 00:43:40,120 what it says is 1560 00:43:40,120 --> 00:43:40,560 even though you're 1561 00:43:40,560 --> 00:43:41,200 on an autoband network 1562 00:43:41,200 --> 00:43:42,080 only these hosts 1563 00:43:42,080 --> 00:43:42,720 can connect to me 1564 00:43:42,720 --> 00:43:44,320 so even if they get 1565 00:43:44,320 --> 00:43:44,920 physical access 1566 00:43:44,920 --> 00:43:47,080 or tap into the line 1567 00:43:47,080 --> 00:43:47,580 because you're not 1568 00:43:47,580 --> 00:43:48,100 using fiber 1569 00:43:48,100 --> 00:43:48,780 because most of us 1570 00:43:48,780 --> 00:43:49,140 can't afford 1571 00:43:49,140 --> 00:43:50,920 the fiber cards 1572 00:43:50,920 --> 00:43:51,580 to our desktop 1573 00:43:53,180 --> 00:43:53,660 anyways 1574 00:43:53,660 --> 00:43:54,340 so basically 1575 00:43:57,140 --> 00:43:57,180 all these things 1576 00:43:57,180 --> 00:43:57,820 can connect to me 1577 00:43:57,820 --> 00:43:58,320 on these ports 1578 00:43:58,320 --> 00:43:59,500 and whatever 1579 00:44:00,800 --> 00:44:01,300 sensors 1580 00:44:02,010 --> 00:44:02,820 and syslog 1581 00:44:02,820 --> 00:44:03,300 reconstruction 1582 00:44:03,300 --> 00:44:03,880 occurs 1583 00:44:03,880 --> 00:44:04,960 on this host 1584 00:44:05,700 --> 00:44:06,200 basically 1585 00:44:06,200 --> 00:44:07,420 the syslog input 1586 00:44:07,420 --> 00:44:08,640 is fed directly 1587 00:44:08,640 --> 00:44:09,240 to this host 1588 00:44:09,240 --> 00:44:10,680 and in parallel 1589 00:44:10,680 --> 00:44:11,540 to the system 1590 00:44:11,930 --> 00:44:12,880 I just like 1591 00:44:12,880 --> 00:44:13,460 to do a tail 1592 00:44:13,460 --> 00:44:14,960 on the text file 1593 00:44:14,960 --> 00:44:15,940 for any immediate 1594 00:44:15,940 --> 00:44:16,580 responses 1595 00:44:16,580 --> 00:44:17,200 that need 1596 00:44:17,200 --> 00:44:17,880 you know 1597 00:44:17,880 --> 00:44:18,540 right now 1598 00:44:18,540 --> 00:44:19,540 this is just one event 1599 00:44:19,540 --> 00:44:19,960 that doesn't need 1600 00:44:19,960 --> 00:44:20,440 to be correlated 1601 00:44:20,440 --> 00:44:21,500 that's catastrophic 1602 00:44:21,500 --> 00:44:23,400 or needs to be responded to 1603 00:44:23,400 --> 00:44:24,200 it just gives you 1604 00:44:24,200 --> 00:44:24,740 a really nice way 1605 00:44:27,140 --> 00:44:27,480 to send an emergency 1606 00:44:27,480 --> 00:44:27,960 rule out 1607 00:44:27,960 --> 00:44:29,100 to a sensor firewall 1608 00:44:29,100 --> 00:44:30,220 if you need to 1609 00:44:34,200 --> 00:44:35,340 again the central 1610 00:44:35,340 --> 00:44:37,000 basically it talks 1611 00:44:37,000 --> 00:44:37,720 to the central command 1612 00:44:37,720 --> 00:44:38,320 processor 1613 00:44:39,540 --> 00:44:40,680 stores all the data 1614 00:44:40,680 --> 00:44:41,260 syslog 1615 00:44:41,260 --> 00:44:42,140 ids data 1616 00:44:42,140 --> 00:44:43,200 host alerts 1617 00:44:43,200 --> 00:44:44,900 and tcp dumps 1618 00:44:44,900 --> 00:44:45,420 of all 1619 00:44:45,420 --> 00:44:46,460 I would say 1620 00:44:46,460 --> 00:44:47,100 not all data 1621 00:44:47,100 --> 00:44:48,040 but all relevant data 1622 00:44:48,520 --> 00:44:49,620 obviously if you're not 1623 00:44:50,120 --> 00:44:51,160 doing certain kinds 1624 00:44:51,160 --> 00:44:51,440 of things 1625 00:44:51,440 --> 00:44:51,800 you don't need 1626 00:44:51,800 --> 00:44:52,440 to monitor everything 1627 00:44:52,440 --> 00:44:53,880 but figure out 1628 00:44:53,880 --> 00:44:54,440 what you need 1629 00:44:54,440 --> 00:44:54,940 in your policy 1630 00:45:00,340 --> 00:45:02,220 it's the historical 1631 00:45:02,220 --> 00:45:03,160 comparison module 1632 00:45:03,160 --> 00:45:04,240 it talks to the 1633 00:45:04,240 --> 00:45:05,360 centralized information 1634 00:45:05,360 --> 00:45:06,000 repository 1635 00:45:06,000 --> 00:45:07,500 checks to make sure 1636 00:45:07,500 --> 00:45:08,280 that all the data 1637 00:45:08,280 --> 00:45:09,360 coming forward 1638 00:45:09,360 --> 00:45:10,080 it looks for 1639 00:45:10,080 --> 00:45:10,560 repeat offenders 1640 00:45:10,560 --> 00:45:12,300 and it checks 1641 00:45:12,300 --> 00:45:12,880 for port scan 1642 00:45:12,880 --> 00:45:13,480 repetitions 1643 00:45:13,480 --> 00:45:13,980 from hosts 1644 00:45:13,980 --> 00:45:14,820 it's largely 1645 00:45:14,820 --> 00:45:15,920 from nuisance users 1646 00:45:15,920 --> 00:45:16,460 or hosts 1647 00:45:16,460 --> 00:45:17,560 it can also be used 1648 00:45:17,560 --> 00:45:17,940 to detect 1649 00:45:17,940 --> 00:45:18,980 stealth port scans 1650 00:45:19,740 --> 00:45:20,300 again 1651 00:45:20,300 --> 00:45:21,800 imagine a database 1652 00:45:21,800 --> 00:45:23,020 that you never erase 1653 00:45:23,020 --> 00:45:23,920 I mean suddenly 1654 00:45:23,920 --> 00:45:24,280 you have 1655 00:45:24,280 --> 00:45:24,880 every person 1656 00:45:24,880 --> 00:45:25,140 who's ever 1657 00:45:25,140 --> 00:45:25,620 scanned you 1658 00:45:25,620 --> 00:45:26,120 since like 1659 00:45:26,120 --> 00:45:26,720 last year 1660 00:45:27,140 --> 00:45:27,660 I mean that's 1661 00:45:27,660 --> 00:45:28,680 that's very powerful 1662 00:45:28,680 --> 00:45:29,240 especially if you 1663 00:45:29,240 --> 00:45:29,700 start getting into 1664 00:45:29,700 --> 00:45:30,100 data mining 1665 00:45:33,940 --> 00:45:35,240 the command rules 1666 00:45:35,240 --> 00:45:35,700 processor 1667 00:45:35,700 --> 00:45:36,880 again this is 1668 00:45:36,880 --> 00:45:37,420 the heart of the 1669 00:45:37,420 --> 00:45:37,800 ids 1670 00:45:37,800 --> 00:45:39,720 it dynamically adjusts 1671 00:45:39,720 --> 00:45:40,060 the rules 1672 00:45:40,060 --> 00:45:40,820 based on attacks 1673 00:45:40,820 --> 00:45:41,760 in real time 1674 00:45:43,040 --> 00:45:44,160 it doesn't do 1675 00:45:44,160 --> 00:45:44,660 dumb things 1676 00:45:44,660 --> 00:45:45,200 because of the 1677 00:45:45,200 --> 00:45:45,960 anti shoot ourselves 1678 00:45:45,960 --> 00:45:46,800 in the foot module 1679 00:45:47,820 --> 00:45:49,200 it sends rule changes 1680 00:45:49,200 --> 00:45:49,880 via an encrypted 1681 00:45:49,880 --> 00:45:50,600 channel to the 1682 00:45:50,600 --> 00:45:50,940 sensor 1683 00:45:50,940 --> 00:45:52,240 it constantly 1684 00:45:52,240 --> 00:45:52,980 communicates 1685 00:45:52,980 --> 00:45:53,860 with the centralized 1686 00:45:53,860 --> 00:45:54,240 information 1687 00:45:54,240 --> 00:45:54,640 repository 1688 00:45:55,240 --> 00:45:55,940 and it can 1689 00:45:55,940 --> 00:45:56,780 interact with 1690 00:45:56,780 --> 00:45:57,280 firewalls 1691 00:45:57,280 --> 00:45:58,240 this last part is 1692 00:45:58,240 --> 00:45:58,480 is if 1693 00:45:58,480 --> 00:45:59,320 a lot of the 1694 00:45:59,320 --> 00:46:00,260 commercial firewalls 1695 00:46:00,260 --> 00:46:00,480 checkpoint 1696 00:46:00,480 --> 00:46:01,380 sunscreen 1697 00:46:01,380 --> 00:46:03,600 ans interlock 1698 00:46:03,600 --> 00:46:03,940 if anyone 1699 00:46:03,940 --> 00:46:04,660 has used that 1700 00:46:04,660 --> 00:46:05,020 firewall 1701 00:46:05,020 --> 00:46:05,440 it's like 1702 00:46:05,440 --> 00:46:05,920 way in the 1703 00:46:05,920 --> 00:46:06,600 past anyways 1704 00:46:07,620 --> 00:46:08,980 basically have scripts 1705 00:46:08,980 --> 00:46:09,480 that you can 1706 00:46:09,480 --> 00:46:10,420 dynamically add rules 1707 00:46:10,420 --> 00:46:11,960 so you can actually 1708 00:46:11,960 --> 00:46:12,420 on your main 1709 00:46:12,420 --> 00:46:12,900 firewall 1710 00:46:13,520 --> 00:46:14,340 do things 1711 00:46:14,340 --> 00:46:15,400 and again 1712 00:46:15,400 --> 00:46:16,100 it's just thrown in 1713 00:46:16,100 --> 00:46:16,700 as kind of a 1714 00:46:17,660 --> 00:46:18,740 it's an integration 1715 00:46:18,740 --> 00:46:19,540 feature 1716 00:46:19,540 --> 00:46:21,000 that you can actually 1717 00:46:21,000 --> 00:46:21,280 do 1718 00:46:21,280 --> 00:46:22,620 with your firewall 1719 00:46:22,620 --> 00:46:23,900 of course it requires 1720 00:46:23,900 --> 00:46:24,520 command line 1721 00:46:24,520 --> 00:46:25,440 facilities 1722 00:46:25,440 --> 00:46:26,300 on the firewall 1723 00:46:26,300 --> 00:46:26,740 to work 1724 00:46:28,220 --> 00:46:29,080 command rule 1725 00:46:29,080 --> 00:46:29,800 processor continued 1726 00:46:29,800 --> 00:46:31,540 it is able to 1727 00:46:31,540 --> 00:46:32,040 react to network 1728 00:46:32,040 --> 00:46:32,440 event 1729 00:46:32,440 --> 00:46:33,380 and host events 1730 00:46:34,400 --> 00:46:35,260 compares and 1731 00:46:35,260 --> 00:46:35,920 correlates the 1732 00:46:35,920 --> 00:46:36,500 results from 1733 00:46:36,500 --> 00:46:37,220 multiple sensors 1734 00:46:37,220 --> 00:46:38,140 to see if 1735 00:46:38,140 --> 00:46:39,220 sophisticated attack 1736 00:46:39,220 --> 00:46:40,160 is taking place 1737 00:46:40,160 --> 00:46:41,360 and it contains 1738 00:46:41,360 --> 00:46:42,520 a flexible response 1739 00:46:43,160 --> 00:46:44,120 in other words 1740 00:46:44,120 --> 00:46:44,800 if certain conditions 1741 00:46:44,800 --> 00:46:45,360 are critical 1742 00:46:45,360 --> 00:46:46,440 cut off all access 1743 00:46:46,440 --> 00:46:47,760 if only non critical 1744 00:46:47,760 --> 00:46:48,560 perhaps 1745 00:46:48,560 --> 00:46:49,360 page 1746 00:46:49,540 --> 00:46:49,920 or log 1747 00:46:49,920 --> 00:46:50,440 all of the 1748 00:46:50,440 --> 00:46:51,120 suspicious packets 1749 00:46:51,120 --> 00:46:51,900 from the hosts 1750 00:46:55,260 --> 00:46:56,380 how am I doing 1751 00:46:56,380 --> 00:46:56,740 for time 1752 00:46:59,080 --> 00:46:59,560 okay 1753 00:46:59,560 --> 00:47:00,280 thank you 1754 00:47:01,920 --> 00:47:02,400 the 1755 00:47:02,900 --> 00:47:03,380 again 1756 00:47:03,380 --> 00:47:03,720 the 1757 00:47:04,480 --> 00:47:05,180 command rule 1758 00:47:05,180 --> 00:47:05,540 processor 1759 00:47:05,540 --> 00:47:06,140 it can 1760 00:47:06,140 --> 00:47:06,740 block 1761 00:47:06,740 --> 00:47:07,460 problematic 1762 00:47:07,460 --> 00:47:07,980 hosts 1763 00:47:07,980 --> 00:47:08,800 via 1764 00:47:08,800 --> 00:47:09,540 historical 1765 00:47:10,460 --> 00:47:10,940 module 1766 00:47:12,340 --> 00:47:12,820 basically 1767 00:47:12,820 --> 00:47:13,240 these are 1768 00:47:13,240 --> 00:47:13,560 ones that 1769 00:47:13,560 --> 00:47:13,860 are not 1770 00:47:13,860 --> 00:47:14,140 in the 1771 00:47:14,140 --> 00:47:14,600 anti-shoot 1772 00:47:14,600 --> 00:47:14,760 ourselves 1773 00:47:14,760 --> 00:47:15,060 in the 1774 00:47:15,060 --> 00:47:15,220 foot 1775 00:47:15,220 --> 00:47:15,380 module 1776 00:47:15,380 --> 00:47:16,580 so I will not 1777 00:47:16,580 --> 00:47:16,940 be blocking 1778 00:47:16,940 --> 00:47:17,420 my DNS 1779 00:47:17,420 --> 00:47:17,820 server 1780 00:47:19,340 --> 00:47:20,200 can actually 1781 00:47:20,200 --> 00:47:20,700 tell what is 1782 00:47:20,700 --> 00:47:21,180 happening on 1783 00:47:21,180 --> 00:47:21,480 the host 1784 00:47:21,480 --> 00:47:21,720 itself 1785 00:47:22,740 --> 00:47:24,060 I like tripwire 1786 00:47:24,060 --> 00:47:24,500 because 1787 00:47:24,500 --> 00:47:25,900 combined with 1788 00:47:25,900 --> 00:47:26,580 a lot of other 1789 00:47:26,580 --> 00:47:26,980 techniques 1790 00:47:26,980 --> 00:47:28,520 it can tell you 1791 00:47:28,520 --> 00:47:28,880 if a file 1792 00:47:28,880 --> 00:47:29,320 is changed 1793 00:47:29,320 --> 00:47:30,340 now the problem 1794 00:47:30,340 --> 00:47:30,860 with tripwire 1795 00:47:30,860 --> 00:47:31,660 is if an attacker 1796 00:47:31,660 --> 00:47:32,200 gets in 1797 00:47:32,200 --> 00:47:33,280 and modifies 1798 00:47:33,280 --> 00:47:34,480 or gets rid of 1799 00:47:34,480 --> 00:47:34,860 the tripwire 1800 00:47:34,860 --> 00:47:35,360 process 1801 00:47:35,920 --> 00:47:36,400 obviously 1802 00:47:36,400 --> 00:47:36,900 you're out of 1803 00:47:36,900 --> 00:47:37,100 luck 1804 00:47:37,100 --> 00:47:38,540 but a lot of times 1805 00:47:38,540 --> 00:47:39,200 if you're sneaky 1806 00:47:39,200 --> 00:47:39,740 and rename 1807 00:47:39,740 --> 00:47:40,380 the 1808 00:47:41,100 --> 00:47:42,080 tripwire executable 1809 00:47:42,080 --> 00:47:43,380 write.exe 1810 00:47:43,380 --> 00:47:43,900 I mean 1811 00:47:43,900 --> 00:47:44,520 a lot of people 1812 00:47:44,520 --> 00:47:45,180 probably are not 1813 00:47:45,180 --> 00:47:45,800 going to figure out 1814 00:47:45,800 --> 00:47:46,060 that you have 1815 00:47:46,060 --> 00:47:46,380 tripwire 1816 00:47:46,380 --> 00:47:47,640 and you can actually 1817 00:47:47,640 --> 00:47:48,300 move things 1818 00:47:48,300 --> 00:47:49,020 to non-default 1819 00:47:49,020 --> 00:47:49,300 locations 1820 00:47:49,300 --> 00:47:50,320 now granted 1821 00:47:50,320 --> 00:47:50,680 it's security 1822 00:47:50,680 --> 00:47:51,360 through obscurity 1823 00:47:51,360 --> 00:47:52,000 but 1824 00:47:52,000 --> 00:47:53,380 everything you can do 1825 00:47:53,380 --> 00:47:53,980 to slow down 1826 00:47:53,980 --> 00:47:54,520 your attacker 1827 00:47:54,520 --> 00:47:55,360 gives you 1828 00:47:55,360 --> 00:47:56,120 more time 1829 00:47:56,120 --> 00:47:57,060 to defend 1830 00:47:57,060 --> 00:47:58,200 and that's 1831 00:47:58,200 --> 00:47:58,520 what the game 1832 00:47:58,520 --> 00:47:58,780 is 1833 00:47:58,780 --> 00:47:59,160 basically 1834 00:48:07,100 --> 00:48:08,080 can actually 1835 00:48:08,080 --> 00:48:08,620 and again 1836 00:48:08,620 --> 00:48:09,560 Unix syslog 1837 00:48:09,560 --> 00:48:10,680 I kind of like 1838 00:48:10,680 --> 00:48:11,120 syslog 1839 00:48:11,120 --> 00:48:11,600 a lot of people 1840 00:48:11,600 --> 00:48:12,240 say it's bad 1841 00:48:13,540 --> 00:48:14,620 it's so universal 1842 00:48:14,620 --> 00:48:16,000 and as long as you 1843 00:48:16,000 --> 00:48:16,640 do it out of band 1844 00:48:16,640 --> 00:48:17,680 people aren't going 1845 00:48:17,680 --> 00:48:18,220 to denial of service 1846 00:48:18,220 --> 00:48:18,580 you 1847 00:48:20,340 --> 00:48:21,060 it's harder 1848 00:48:21,060 --> 00:48:21,360 anyway 1849 00:48:21,360 --> 00:48:21,720 I mean 1850 00:48:21,720 --> 00:48:22,180 they can't like 1851 00:48:22,180 --> 00:48:22,780 spoof a host 1852 00:48:22,780 --> 00:48:23,480 and then go in 1853 00:48:23,480 --> 00:48:24,220 now with 1854 00:48:24,220 --> 00:48:25,160 the thing that I 1855 00:48:25,160 --> 00:48:25,460 described 1856 00:48:25,460 --> 00:48:26,220 someone could 1857 00:48:26,220 --> 00:48:27,200 conceivably send out 1858 00:48:27,200 --> 00:48:28,360 bogus UDP streams 1859 00:48:28,900 --> 00:48:29,740 from a host 1860 00:48:30,840 --> 00:48:31,900 you can use 1861 00:48:31,900 --> 00:48:32,340 things like 1862 00:48:32,340 --> 00:48:33,300 syslog next generation 1863 00:48:33,300 --> 00:48:33,780 but 1864 00:48:33,780 --> 00:48:35,040 I find that 1865 00:48:35,040 --> 00:48:36,080 it's kind of buggy 1866 00:48:36,080 --> 00:48:36,880 like it has 1867 00:48:36,880 --> 00:48:37,600 memory leaks 1868 00:48:37,600 --> 00:48:38,720 it's gotten better 1869 00:48:38,720 --> 00:48:39,860 the cryptographic 1870 00:48:40,680 --> 00:48:41,320 checksums 1871 00:48:41,320 --> 00:48:42,540 are very helpful 1872 00:48:42,540 --> 00:48:43,160 but again 1873 00:48:43,160 --> 00:48:43,800 if they've compromised 1874 00:48:43,800 --> 00:48:44,280 your host 1875 00:48:44,280 --> 00:48:44,840 they probably have 1876 00:48:44,840 --> 00:48:45,460 access to your keys 1877 00:48:45,460 --> 00:48:45,640 anyway 1878 00:48:45,640 --> 00:48:46,560 so why worry 1879 00:48:48,040 --> 00:48:49,080 custom alerts 1880 00:48:50,060 --> 00:48:50,700 again 1881 00:48:51,100 --> 00:48:51,780 there's different 1882 00:48:51,780 --> 00:48:52,500 kinds of ways 1883 00:48:52,500 --> 00:48:54,280 to be alerted 1884 00:48:54,280 --> 00:48:54,680 there's 1885 00:48:54,680 --> 00:48:55,160 like 1886 00:48:55,160 --> 00:48:55,920 snort has 1887 00:48:55,920 --> 00:48:56,780 the SMB server 1888 00:48:56,780 --> 00:48:57,420 message block 1889 00:48:57,420 --> 00:48:58,460 for your windows users 1890 00:48:58,460 --> 00:48:59,880 there's pagers 1891 00:48:59,880 --> 00:49:01,760 there's all kinds of 1892 00:49:02,340 --> 00:49:02,560 ways 1893 00:49:02,560 --> 00:49:03,720 this is kind of 1894 00:49:03,720 --> 00:49:03,960 an interesting 1895 00:49:03,960 --> 00:49:04,460 thing I just thought 1896 00:49:04,460 --> 00:49:04,580 of 1897 00:49:04,580 --> 00:49:05,000 it's kind of 1898 00:49:05,000 --> 00:49:05,500 a random thought 1899 00:49:05,500 --> 00:49:06,640 but instead of 1900 00:49:06,640 --> 00:49:07,680 representing a host 1901 00:49:08,140 --> 00:49:08,780 as something 1902 00:49:08,780 --> 00:49:09,380 impersonal 1903 00:49:09,380 --> 00:49:10,220 like have a picture 1904 00:49:10,220 --> 00:49:10,660 of something 1905 00:49:10,660 --> 00:49:11,280 like a person 1906 00:49:11,280 --> 00:49:12,160 and say that someone 1907 00:49:12,160 --> 00:49:12,780 denial of service 1908 00:49:12,780 --> 00:49:13,480 is your web server 1909 00:49:13,480 --> 00:49:13,940 all of a sudden 1910 00:49:13,940 --> 00:49:14,880 like a bullet hole 1911 00:49:14,880 --> 00:49:15,700 appears in the head 1912 00:49:15,700 --> 00:49:16,340 I mean 1913 00:49:16,340 --> 00:49:16,980 it would be 1914 00:49:16,980 --> 00:49:17,820 it would be kind of 1915 00:49:17,820 --> 00:49:19,320 a very graphical way 1916 00:49:19,320 --> 00:49:20,400 to show a manager 1917 00:49:20,400 --> 00:49:21,160 what's going on 1918 00:49:21,160 --> 00:49:21,860 because managers 1919 00:49:21,860 --> 00:49:22,540 don't understand 1920 00:49:22,540 --> 00:49:22,940 this 1921 00:49:22,940 --> 00:49:23,880 they don't 1922 00:49:32,340 --> 00:49:32,480 have the right 1923 00:49:32,480 --> 00:49:32,820 alert system 1924 00:49:32,820 --> 00:49:33,560 such as that 1925 00:49:35,860 --> 00:49:37,080 the command rules 1926 00:49:37,080 --> 00:49:37,460 processor 1927 00:49:37,460 --> 00:49:38,280 can take 1928 00:49:38,280 --> 00:49:39,060 corrective action 1929 00:49:39,060 --> 00:49:40,200 based upon a host 1930 00:49:40,200 --> 00:49:41,080 as well as 1931 00:49:41,080 --> 00:49:41,600 network inputs 1932 00:49:41,600 --> 00:49:43,080 the open source 1933 00:49:43,080 --> 00:49:43,840 network components 1934 00:49:43,840 --> 00:49:44,380 that I'm using 1935 00:49:44,380 --> 00:49:44,700 today 1936 00:49:44,700 --> 00:49:45,600 snort 1937 00:49:46,220 --> 00:49:46,840 ssh 1938 00:49:46,840 --> 00:49:47,520 zebedee 1939 00:49:47,520 --> 00:49:47,800 pearl 1940 00:49:48,840 --> 00:49:49,460 or 1941 00:49:49,460 --> 00:49:50,120 whatever 1942 00:49:50,120 --> 00:49:51,060 scripting language 1943 00:49:51,060 --> 00:49:51,640 of your choice 1944 00:49:51,640 --> 00:49:53,040 for those who 1945 00:49:53,040 --> 00:49:54,080 have other ones 1946 00:49:56,700 --> 00:49:57,640 15 minutes 1947 00:49:59,050 --> 00:49:59,820 did you want 1948 00:49:59,820 --> 00:50:00,260 to take a break 1949 00:50:00,260 --> 00:50:00,440 now 1950 00:50:02,840 --> 00:50:03,360 okay 1951 00:50:03,360 --> 00:50:03,860 we'll break 1952 00:50:03,860 --> 00:50:04,540 for five minutes 1953 00:50:04,540 --> 00:50:04,780 then 1954 00:50:08,420 --> 00:50:09,060 it's already 1955 00:50:09,060 --> 00:50:09,420 posted 1956 00:50:09,420 --> 00:50:09,760 it's already 1957 00:50:09,760 --> 00:50:10,120 posted 1958 00:50:10,120 --> 00:50:11,380 at the end 1959 00:50:11,380 --> 00:50:11,640 yes 1960 00:50:11,640 --> 00:50:12,360 thank you 1961 00:50:12,360 --> 00:50:12,580 very much 1962 00:50:12,580 --> 00:50:13,060 yeah 1963 00:50:16,560 --> 00:50:17,080 excuse 1964 00:50:17,080 --> 00:50:17,560 using 1965 00:50:17,560 --> 00:50:17,860 the product 1966 00:50:17,860 --> 00:50:18,480 very similar 1967 00:50:18,480 --> 00:50:18,820 to what 1968 00:50:18,820 --> 00:50:18,980 you're 1969 00:50:18,980 --> 00:50:19,200 talking 1970 00:50:19,200 --> 00:50:19,360 about 1971 00:50:19,360 --> 00:50:19,920 basically 1972 00:50:19,920 --> 00:50:20,420 the next 1973 00:50:20,420 --> 00:50:20,860 module 1974 00:50:20,860 --> 00:50:22,700 is the 1975 00:50:22,700 --> 00:50:23,240 anti-shoot 1976 00:50:23,240 --> 00:50:23,420 ourselves 1977 00:50:23,420 --> 00:50:23,940 in the foot 1978 00:50:23,940 --> 00:50:24,260 module 1979 00:50:24,880 --> 00:50:25,400 contains 1980 00:50:25,400 --> 00:50:26,260 lists of hosts 1981 00:50:26,260 --> 00:50:26,580 that should 1982 00:50:26,580 --> 00:50:26,980 never be 1983 00:50:26,980 --> 00:50:27,240 blocked 1984 00:50:27,240 --> 00:50:28,220 contains 1985 00:50:28,220 --> 00:50:28,540 trust 1986 00:50:28,540 --> 00:50:29,200 relationships 1987 00:50:29,200 --> 00:50:29,800 I don't 1988 00:50:29,800 --> 00:50:29,940 like 1989 00:50:29,940 --> 00:50:30,240 trust 1990 00:50:30,240 --> 00:50:30,800 relationships 1991 00:50:30,800 --> 00:50:31,660 but they're 1992 00:50:31,660 --> 00:50:31,880 a fact 1993 00:50:31,880 --> 00:50:32,300 of life 1994 00:50:32,300 --> 00:50:32,700 unfortunately 1995 00:50:32,700 --> 00:50:33,800 so if we 1996 00:50:33,800 --> 00:50:34,280 have trusted