1 00:00:28,920 --> 00:00:29,980 This video is a work of fiction. Any resemblance to anyone, living or dead, is coincidental and unintentional. 2 00:00:29,980 --> 00:00:59,960 Any resemblance to anyone, living or dead, is coincidental and unintentional. 3 00:01:27,160 --> 00:01:29,960 I used to think, zasu! 4 00:01:42,820 --> 00:01:47,900 I'm Enrique Sanchez. I work for a pen testing company in Europe. 5 00:01:50,440 --> 00:01:53,020 Basically what we're going to do here is just a proof of concept. 6 00:02:02,720 --> 00:02:07,200 There are a couple of things I want to say before the speech. 7 00:02:07,460 --> 00:02:12,640 One, I like to conduct this more question and answer panel. 8 00:02:13,460 --> 00:02:17,540 I unfortunately lost my glasses in a really freak drunk accident. 9 00:02:17,900 --> 00:02:19,200 So these guys are here. 10 00:02:19,920 --> 00:02:21,340 If you raise your hand. 11 00:02:21,340 --> 00:02:23,220 And I don't point you. 12 00:02:23,360 --> 00:02:24,460 It's not because I don't like you. 13 00:02:24,540 --> 00:02:25,740 I just don't see you. 14 00:02:28,180 --> 00:02:29,980 I can barely make his face. 15 00:02:30,140 --> 00:02:30,700 I'm for real. 16 00:02:35,740 --> 00:02:39,080 No, I actually managed to lose the glasses in an airport in London. 17 00:02:39,220 --> 00:02:40,680 I have no idea how I did it. 18 00:02:41,760 --> 00:02:43,840 I think it was like the 15 Guinness. 19 00:02:45,780 --> 00:02:47,240 I don't know, something weird like that. 20 00:02:50,080 --> 00:02:54,900 So first what I'm going to do is I'm going to stand up because I'm extremely short. 21 00:02:56,800 --> 00:02:58,160 I like to be standing up. 22 00:02:58,180 --> 00:03:00,080 It's just something with my culture, I guess. 23 00:03:00,980 --> 00:03:01,560 Stand up. 24 00:03:02,700 --> 00:03:03,200 Fuck you. 25 00:03:03,800 --> 00:03:04,940 He just said stand up. 26 00:03:07,000 --> 00:03:07,900 Yeah, I am Mexican. 27 00:03:08,080 --> 00:03:09,100 No green card, dude. 28 00:03:09,220 --> 00:03:10,080 Just no green card. 29 00:03:10,220 --> 00:03:11,580 I'm just running for the border right after. 30 00:03:11,720 --> 00:03:13,180 You want to show your ID? 31 00:03:13,260 --> 00:03:13,500 Yeah. 32 00:03:13,720 --> 00:03:14,720 I have it right here. 33 00:03:15,460 --> 00:03:16,320 So the thing is. 34 00:03:17,220 --> 00:03:23,000 I'm going to show first what's an ID system because maybe not a lot of people actually do know what's an ID system. 35 00:03:23,600 --> 00:03:32,040 This is not the textbook definition but it's the best thing that I can actually tell you so you will comprehend what's a really basic ID system. 36 00:03:32,620 --> 00:03:41,960 It's just a system that will report any activity that could be malicious and can compromise any server or any network in any way. 37 00:03:44,680 --> 00:03:45,720 Any questions? 38 00:03:46,320 --> 00:03:46,400 Yeah. 39 00:03:47,440 --> 00:03:48,340 Yeah, that's what I thought. 40 00:03:48,400 --> 00:03:48,460 Can I guess? 41 00:03:49,200 --> 00:03:50,220 I'm not telling you. 42 00:03:50,500 --> 00:03:53,080 So how does the ID system work? 43 00:03:54,340 --> 00:03:57,780 Basically an ID system is just a really big sniffer. 44 00:03:58,580 --> 00:04:03,360 So what you have is you sniff the network, which is just read every single packet that goes there. 45 00:04:04,020 --> 00:04:06,840 You filter everything via patterns. 46 00:04:07,220 --> 00:04:09,280 This will be a signature-based ID system. 47 00:04:09,640 --> 00:04:16,300 You also have anomaly filters, which is you just have signatures, which are anomaly filters. 48 00:04:16,300 --> 00:04:17,920 This is basically traffic going to your network. 49 00:04:19,460 --> 00:04:20,960 Signature is just a filter. 50 00:04:21,160 --> 00:04:25,780 To say something is not really normal to see an FTP password 3,000 characters long. 51 00:04:26,140 --> 00:04:31,580 At least I really don't know somebody who will put a really long book into his password. 52 00:04:32,280 --> 00:04:40,480 So anything over maybe 15, you can do an IDS system signature to flag it as a possible attack. 53 00:04:40,740 --> 00:04:41,780 This is a proactive way. 54 00:04:41,920 --> 00:04:43,520 You really don't know in the IDS system. 55 00:04:43,520 --> 00:04:46,080 You really don't know if the attack actually succeeded. 56 00:04:49,580 --> 00:04:50,760 Go back, dude. 57 00:04:50,900 --> 00:04:51,640 I haven't finished the reports. 58 00:04:51,960 --> 00:04:54,480 So the thing is they also elaborate reports. 59 00:04:54,880 --> 00:05:00,600 Why I'm doing this, because after this, I'm going to tell you what kind of IDS systems are out there. 60 00:05:00,860 --> 00:05:04,040 This can be divided in host-based and network-based. 61 00:05:05,160 --> 00:05:08,520 On this one, we're going to be attacking the network-based IDSs. 62 00:05:09,200 --> 00:05:13,400 Examples of IDSs are Snort, Dragonfly, Real Secure. 63 00:05:13,520 --> 00:05:14,220 And On Guard 24. 64 00:05:14,520 --> 00:05:16,060 You have more of them, of course. 65 00:05:16,180 --> 00:05:20,340 But these four can actually take up on the two selective categories. 66 00:05:25,400 --> 00:05:28,160 So why I say that? 67 00:05:28,300 --> 00:05:32,640 What I'm saying right now is an IDS system is just like a hack system. 68 00:05:34,680 --> 00:05:35,700 Why do I say that? 69 00:05:35,800 --> 00:05:39,640 The thing is the only thing that changes is who's in control of that server. 70 00:05:39,800 --> 00:05:40,140 Why? 71 00:05:40,780 --> 00:05:42,100 They both sniff the traffic. 72 00:05:42,100 --> 00:05:44,720 They both are looking for patterns. 73 00:05:44,900 --> 00:05:48,660 The hacker will look for the passwords, the login names, the connections. 74 00:05:49,000 --> 00:05:53,680 And you will look for weird connections, and you will look for signature-based attacks. 75 00:05:54,040 --> 00:06:00,100 And, of course, you always have signatures, and you have traps and actions that you want to take. 76 00:06:00,400 --> 00:06:04,140 In the case of a hacker, if you see a login and a password, you log into a file. 77 00:06:05,220 --> 00:06:07,520 Of course, you can even do more than log into a file. 78 00:06:07,640 --> 00:06:12,080 You can actually execute a couple of programs to be able to even get automatically into the data. 79 00:06:12,080 --> 00:06:20,440 If you are on an IDS system, what you will do, you will probably send an SNMP trap, or you can even do an SMS, 80 00:06:20,760 --> 00:06:24,960 or you can do logging into a file, send a mail, anything that you want to do. 81 00:06:26,480 --> 00:06:28,260 Is it really that bad that they look like? 82 00:06:28,460 --> 00:06:32,380 Not really, because hackers have been pushing the security for years. 83 00:06:33,500 --> 00:06:35,720 They are in the front, and you're just trying to catch back. 84 00:06:37,040 --> 00:06:37,920 That is the reality. 85 00:06:38,700 --> 00:06:40,980 Most people don't like it, but that is that way. 86 00:06:40,980 --> 00:06:43,220 You have to just be realistic with yourself. 87 00:06:45,980 --> 00:06:47,240 So what's this there? 88 00:06:48,340 --> 00:06:51,560 DITSE, and I put that name not because it's really cool. 89 00:06:51,660 --> 00:06:53,420 It's really long to say. 90 00:06:53,660 --> 00:06:55,740 Distributed Intuition Detection System Evasion. 91 00:06:55,860 --> 00:06:56,840 And I only have one hour. 92 00:06:58,020 --> 00:07:05,380 So the thing is, this is a result of just reading through a couple of stuff and trying things. 93 00:07:05,880 --> 00:07:10,960 So what you do is, you do an analysis of the implementation. 94 00:07:10,980 --> 00:07:14,080 The implementation on the network, the host, and the IDS system. 95 00:07:14,240 --> 00:07:18,440 And it's the result of the weakness of the link between these. 96 00:07:19,580 --> 00:07:21,480 This software will actually bypass. 97 00:07:21,860 --> 00:07:27,240 If you have the network characteristics, it will bypass your IDS system. 98 00:07:27,400 --> 00:07:30,060 It will not log anything at all. 99 00:07:31,760 --> 00:07:32,980 So how does it work? 100 00:07:33,360 --> 00:07:35,700 The thing is, an IDS runs on a host. 101 00:07:37,720 --> 00:07:38,140 You know? 102 00:07:38,300 --> 00:07:40,960 So maybe the IDS system can go to a real host. 103 00:07:40,960 --> 00:07:41,280 It's really high. 104 00:07:41,540 --> 00:07:47,080 But you always have a weak link of if your host is not really fast enough, it will drop packets by itself. 105 00:07:47,800 --> 00:07:52,840 Those packets can never be seen by the IDS because it's not really on level one. 106 00:07:54,620 --> 00:07:58,840 So there are a couple of principle elements that can be attacked on an IDS system. 107 00:07:59,340 --> 00:08:05,400 The way they reassemble packets, which will be insertion, innovation, the time of the queue, 108 00:08:06,020 --> 00:08:09,280 and signature-based attack, and of course the speed of the network. 109 00:08:10,960 --> 00:08:16,880 The first three, they have been done, and they're usually fairly picked up by IDS systems. 110 00:08:17,620 --> 00:08:21,780 The usual dot attack, fragmentation attack, one-bit attacks. 111 00:08:26,080 --> 00:08:28,340 So how does this thing work? 112 00:08:28,760 --> 00:08:31,120 The thing is, this attacks the last one. 113 00:08:31,800 --> 00:08:35,420 It will do the speed of your network against the speed of your IDS system. 114 00:08:35,620 --> 00:08:38,660 You can implement the fastest IDS system you can have. 115 00:08:38,780 --> 00:08:40,420 It can even go to giga if you want to. 116 00:08:40,960 --> 00:08:43,580 If you have a really slow system and cannot take your network, 117 00:08:44,260 --> 00:08:46,520 you will be in serious trouble against this. 118 00:08:49,340 --> 00:08:52,420 How do I know if I'm vulnerable to this? 119 00:08:53,180 --> 00:08:57,160 I got a little bit tired because it's really hot, so I'm going to sit down a little bit. 120 00:09:01,320 --> 00:09:08,880 So what you need to do is just this really simple calculation 121 00:09:10,960 --> 00:09:12,520 of how many packets can take your IDS system. 122 00:09:13,460 --> 00:09:16,020 And I don't mean on the book. 123 00:09:16,460 --> 00:09:19,700 I mean honestly, how many packets can your IDS system take? 124 00:09:20,020 --> 00:09:22,460 How many packets can your system take? 125 00:09:22,620 --> 00:09:25,560 And how many packets can your network base take? 126 00:09:26,560 --> 00:09:29,280 So the thing is, you need to find the wicked link, 127 00:09:29,460 --> 00:09:33,320 and that is where your point of breaking is. 128 00:09:33,620 --> 00:09:39,920 If your host or your IDS system have a breaking point lower than your network, 129 00:09:40,960 --> 00:09:41,780 then you will be in trouble. 130 00:09:43,880 --> 00:09:45,240 Do you guys have any questions? 131 00:09:58,380 --> 00:10:01,840 Yeah, of course, it has to actually go into the network. 132 00:10:02,180 --> 00:10:04,280 You can't break it into the firewall. 133 00:10:05,200 --> 00:10:06,600 You can do a couple of tricks. 134 00:10:06,920 --> 00:10:09,420 You know, like maybe do like same source port destination. 135 00:10:09,420 --> 00:10:13,040 Like destination port 80, source port 80. 136 00:10:13,260 --> 00:10:18,600 So you will force it to leave, to be on the IDS queue. 137 00:10:19,340 --> 00:10:23,500 So you know the host and the IDS are being flooded. 138 00:10:28,000 --> 00:10:28,640 Okay. 139 00:10:29,020 --> 00:10:30,760 We can repeat the questions. 140 00:10:31,080 --> 00:10:31,700 Okay. 141 00:10:33,280 --> 00:10:33,920 Okay. 142 00:10:35,040 --> 00:10:39,240 The smallest packet that you really can send is around 20 bytes. 143 00:10:39,800 --> 00:10:42,800 Normally, if you do a normal socket, it will be around 46. 144 00:10:43,080 --> 00:10:47,400 You can even do one, but that will probably be blocked by the firewall. 145 00:10:47,520 --> 00:10:51,040 You want to make sure that every single packet is going through the firewall. 146 00:10:51,420 --> 00:10:55,600 You can, of course, do advanced more things, which I'm going to say like proxying. 147 00:10:56,480 --> 00:10:58,340 But right now, we're going simple. 148 00:10:58,540 --> 00:11:00,520 So we want to bypass the firewall. 149 00:11:02,400 --> 00:11:04,860 The queue limit for the host can also be attacked, 150 00:11:05,160 --> 00:11:07,320 and the queue for the IDS will be attacked. 151 00:11:07,320 --> 00:11:09,280 So this is an example. 152 00:11:10,400 --> 00:11:16,800 Let's say, for instance, that 50,000 packets is the limit for a host, which is a lot. 153 00:11:17,900 --> 00:11:21,100 An IDS system can go to 20 megabit. 154 00:11:22,380 --> 00:11:26,400 But the network is a corporate one, so you have a 100 megabit connection. 155 00:11:29,300 --> 00:11:33,800 And I can pretty much see that since you don't have the equal one, 156 00:11:34,300 --> 00:11:37,220 you can pretty much see right now that you are probably in trouble. 157 00:11:37,220 --> 00:11:40,460 So these are the facts, and the calculations are, 158 00:11:40,560 --> 00:11:45,480 you have 50,000 packets times 20 bytes, not the megabit, just the bytes. 159 00:11:45,780 --> 00:11:48,200 So you will get a million bytes. 160 00:11:48,620 --> 00:11:51,160 You're multiplying by 8, so you get the megabit, 161 00:11:51,160 --> 00:11:54,060 so you don't start adding up like apples and oranges. 162 00:11:54,740 --> 00:11:56,380 So then you do the translation. 163 00:11:56,680 --> 00:11:59,560 You have 8 megabits against 100 megabytes. 164 00:12:00,140 --> 00:12:02,740 So this IDS is in extreme trouble. 165 00:12:04,100 --> 00:12:06,440 Actually, if you were on a 10 megabit, 166 00:12:07,220 --> 00:12:07,740 you would still be in trouble. 167 00:12:13,060 --> 00:12:15,400 So here's how the attack is going to go. 168 00:12:15,500 --> 00:12:21,100 To be sure that we will have enough probability of dropping the packets, 169 00:12:21,440 --> 00:12:24,340 we will send 60,000 packets per second, 170 00:12:25,100 --> 00:12:28,420 which will be almost 10 megabit. 171 00:12:28,540 --> 00:12:29,900 It will be 9.6. 172 00:12:30,620 --> 00:12:34,560 It means, like I said before, the IDS is extremely vulnerable, 173 00:12:34,720 --> 00:12:36,340 but this arises the question of, 174 00:12:36,340 --> 00:12:39,340 how many attackers do have a pure 10 megabit 175 00:12:39,340 --> 00:12:42,780 to just drop an attack like this on my corporate network? 176 00:12:47,120 --> 00:12:50,080 So the solution is, you distribute the attack. 177 00:12:51,180 --> 00:12:54,580 The hacker goes in there, gets 500 servers. 178 00:12:56,140 --> 00:12:57,260 It's the whole internet. 179 00:12:57,680 --> 00:12:59,940 I'm pretty sure that 500 servers right now 180 00:12:59,940 --> 00:13:02,840 still run the WooFTPD 2.6.0. 181 00:13:03,140 --> 00:13:03,900 Why not? 182 00:13:03,900 --> 00:13:06,180 I mean, if you prove me otherwise, 183 00:13:06,400 --> 00:13:07,720 I'll get you drunk for a week. 184 00:13:11,740 --> 00:13:15,520 So the thing is, you end up having only 200 packets per host, 185 00:13:17,000 --> 00:13:19,800 which is only 32,000 bits. 186 00:13:20,420 --> 00:13:21,600 That's a modem connection. 187 00:13:22,060 --> 00:13:24,860 So we just added up the whole internet to this attack. 188 00:13:25,220 --> 00:13:26,620 So it really doesn't matter 189 00:13:26,620 --> 00:13:30,040 if you have a Linux computer running on a modem. 190 00:13:31,200 --> 00:13:32,980 The hacker can actually use that 191 00:13:32,980 --> 00:13:35,840 to hack into a big corporate network. 192 00:13:41,260 --> 00:13:43,460 Actually, just going to leave it here for a while. 193 00:13:44,880 --> 00:13:46,220 Anybody has a question? 194 00:13:47,080 --> 00:13:48,960 I was thinking... 195 00:13:49,220 --> 00:13:52,320 Are you going to be showing any examples on how to... 196 00:13:52,980 --> 00:13:54,240 Like working code? 197 00:13:54,740 --> 00:13:56,600 Well, not necessarily working code, 198 00:13:56,600 --> 00:13:59,760 but examples on systems that you're using to make games. 199 00:14:00,980 --> 00:14:05,000 Well, it's just basically one extreme technique. 200 00:14:05,180 --> 00:14:06,100 It's just an implementation. 201 00:14:07,020 --> 00:14:08,380 I have working code, 202 00:14:08,480 --> 00:14:10,500 but for security reasons, I will not show it. 203 00:14:10,980 --> 00:14:12,160 I mean, I have a conscience. I'm sorry. 204 00:14:12,500 --> 00:14:13,540 But the thing is, 205 00:14:14,720 --> 00:14:16,700 the only trick that you need to do 206 00:14:16,700 --> 00:14:20,340 is you make sure that everything is load balancing by itself. 207 00:14:20,580 --> 00:14:22,040 You can do this by ICMP. 208 00:14:22,360 --> 00:14:24,660 You ping one host behind. 209 00:14:24,920 --> 00:14:26,000 You ping the router, 210 00:14:26,140 --> 00:14:28,500 or you can even do TCP pinging. 211 00:14:29,320 --> 00:14:31,220 And what you do is 212 00:14:31,220 --> 00:14:33,020 you centralize everything on a server, 213 00:14:33,160 --> 00:14:34,460 like this laptop. 214 00:14:34,820 --> 00:14:36,260 And everything else is reporting. 215 00:14:36,540 --> 00:14:39,520 Every 35 seconds is reporting here. 216 00:14:39,920 --> 00:14:42,440 A normal synchronized attack will be five minutes. 217 00:14:44,180 --> 00:14:46,160 You let it rip for three minutes. 218 00:14:46,320 --> 00:14:47,200 You send the attack. 219 00:14:47,460 --> 00:14:48,560 You wait for two minutes. 220 00:14:49,040 --> 00:14:50,640 The host will be flooded, 221 00:14:51,280 --> 00:14:52,740 and it will start dropping packets. 222 00:14:54,840 --> 00:14:56,160 Like I said, it's a... 223 00:14:56,160 --> 00:14:58,140 I know it's fairly simple. 224 00:14:58,140 --> 00:14:59,160 Theory. 225 00:14:59,560 --> 00:15:01,580 There's not really a big magic, 226 00:15:01,740 --> 00:15:04,680 but every single IDS with the right configuration 227 00:15:04,680 --> 00:15:06,080 is vulnerable to this, 228 00:15:06,220 --> 00:15:07,540 and it's really hard to patch it up. 229 00:15:09,340 --> 00:15:10,900 As this is... 230 00:15:10,900 --> 00:15:13,500 This could be implemented even with DDoS tools, 231 00:15:13,680 --> 00:15:14,700 like Trino. 232 00:15:15,620 --> 00:15:16,940 You could modify that. 233 00:15:17,740 --> 00:15:20,300 Of course, that was on UADP, 234 00:15:20,420 --> 00:15:22,320 but you can easily implement it on TCP. 235 00:15:26,400 --> 00:15:27,900 I can't see on the back. 236 00:15:28,140 --> 00:15:28,500 You're good. 237 00:15:29,040 --> 00:15:29,560 I'm okay. 238 00:15:29,820 --> 00:15:30,520 Nobody asking. 239 00:15:32,140 --> 00:15:32,860 That's kind of cool, 240 00:15:33,320 --> 00:15:34,820 because I'm going too fast now. 241 00:15:36,640 --> 00:15:37,400 No, it's okay. 242 00:15:37,740 --> 00:15:40,280 So these are the problems that I was saying before. 243 00:15:40,640 --> 00:15:41,780 It's hard for a hacker 244 00:15:41,780 --> 00:15:44,060 to have a 10 megabit connection law by himself. 245 00:15:44,820 --> 00:15:46,120 So what you do is just divide. 246 00:15:48,000 --> 00:15:50,700 You really have to think of how much you want to divide, 247 00:15:52,040 --> 00:15:55,020 because managing 500 hosts is not going to be funny. 248 00:15:55,460 --> 00:15:57,580 And, of course, it's going to take you a long time 249 00:15:57,580 --> 00:15:59,000 to actually do a program like that. 250 00:16:00,100 --> 00:16:03,520 So staying around 200, maybe 300, is the right idea. 251 00:16:05,940 --> 00:16:08,720 You could actually implement this as a Linux kernel module. 252 00:16:09,260 --> 00:16:10,400 You could make it load. 253 00:16:10,600 --> 00:16:12,800 You can make it actually listen to magic strings. 254 00:16:13,340 --> 00:16:15,480 You can do all the right techniques, 255 00:16:15,560 --> 00:16:16,720 but the theory is the same. 256 00:16:16,940 --> 00:16:19,640 You need to open a socket and send everything spoofed. 257 00:16:24,420 --> 00:16:27,500 I was maybe thinking of doing a real-life example 258 00:16:27,580 --> 00:16:29,160 with three persons from the audience. 259 00:16:29,640 --> 00:16:33,880 The thing is, I got wasted extremely yesterday. 260 00:16:35,040 --> 00:16:38,060 So I didn't manage to get the 1,000 papers 261 00:16:38,060 --> 00:16:39,180 I was going to hand you. 262 00:16:39,340 --> 00:16:40,800 And it's 110 degrees, 263 00:16:40,920 --> 00:16:43,600 so I didn't believe that anybody would just stand here. 264 00:16:44,100 --> 00:16:46,960 Of course, we can actually try to do it if you want to. 265 00:16:47,740 --> 00:16:49,900 Get a couple of papers and scream at each other. 266 00:16:53,080 --> 00:16:54,100 So this is the thing. 267 00:16:54,500 --> 00:16:56,100 Is it really doable in reality? 268 00:16:56,100 --> 00:16:58,160 Like I said before, working code exists. 269 00:16:59,440 --> 00:17:02,940 It really doesn't manage 300 servers because it's tight. 270 00:17:03,200 --> 00:17:06,460 But I have managed to actually make it work in the lab 271 00:17:06,460 --> 00:17:07,360 with 50 servers. 272 00:17:08,400 --> 00:17:09,960 So shoot me, it's not that bad. 273 00:17:12,600 --> 00:17:13,620 So now it's broken. 274 00:17:14,160 --> 00:17:15,440 What can I do with this? 275 00:17:16,740 --> 00:17:18,200 Well, the solution is easy. 276 00:17:18,380 --> 00:17:21,520 You should never go over the breaking point 277 00:17:21,520 --> 00:17:22,540 of your IDEA system. 278 00:17:23,100 --> 00:17:25,740 I know it's really cool to have a 100 megabit connection, 279 00:17:25,740 --> 00:17:29,980 but even in money-wise, 280 00:17:30,220 --> 00:17:32,560 do you really need a 100 megabit connection? 281 00:17:33,660 --> 00:17:36,200 Most corporate positions don't. 282 00:17:36,340 --> 00:17:38,040 Most companies don't anyway. 283 00:17:40,040 --> 00:17:43,600 You need to make sure that since your network is scalable, 284 00:17:43,880 --> 00:17:45,320 that your IDEA system is. 285 00:17:46,400 --> 00:17:50,100 All NFR systems are scalable in the hardware area. 286 00:17:50,460 --> 00:17:52,900 There's a hardware solution to actually be scalable, 287 00:17:53,140 --> 00:17:54,960 so you're invulnerable to this attack. 288 00:17:55,740 --> 00:17:58,180 You have software like Snornet, 289 00:17:58,340 --> 00:18:01,960 which will also do it on level 3. 290 00:18:02,620 --> 00:18:04,640 Layer, actually, level 7. 291 00:18:04,960 --> 00:18:06,680 So it will be a little bit slower, 292 00:18:06,800 --> 00:18:09,360 so you would end up with a big machine anyway. 293 00:18:10,880 --> 00:18:13,200 You need to do stacking and load balancing. 294 00:18:14,020 --> 00:18:17,920 And of course, you need to take unusual network picks 295 00:18:17,920 --> 00:18:19,140 extremely seriously. 296 00:18:21,280 --> 00:18:23,600 You need to configure your firewall wisely. 297 00:18:23,600 --> 00:18:29,940 And do you really have that much traffic at 3 a.m. anyway? 298 00:18:31,800 --> 00:18:34,560 I mean, unless there's a guy just pulling down wires 299 00:18:34,560 --> 00:18:35,640 or DVD rips. 300 00:18:36,860 --> 00:18:37,920 You're probably not. 301 00:18:42,200 --> 00:18:44,440 So that was an extremely fast thing. 302 00:18:44,620 --> 00:18:46,260 It's probably because I'm extremely nervous. 303 00:18:47,180 --> 00:18:48,540 Do we have any questions? 304 00:18:58,220 --> 00:19:00,420 Yes, because the thing is, 305 00:19:00,560 --> 00:19:02,700 what you actually can do is... 306 00:19:04,140 --> 00:19:09,200 Okay, he's asking that if I'm going to float the network so bad, 307 00:19:09,400 --> 00:19:13,640 if I'm sure that the host is actually going to receive my attack. 308 00:19:15,360 --> 00:19:16,580 So the answer is, 309 00:19:17,200 --> 00:19:19,360 you have a really high probability, 310 00:19:19,480 --> 00:19:23,500 because maybe like 80, 85% of the packets 311 00:19:23,600 --> 00:19:25,220 you do not send them to the host, 312 00:19:25,340 --> 00:19:27,000 because you want to float the IDS system. 313 00:19:27,140 --> 00:19:28,540 You don't want to float the host. 314 00:19:28,740 --> 00:19:29,640 And you really don't want... 315 00:19:29,640 --> 00:19:31,840 You really don't need to send all the packets to the host. 316 00:19:32,080 --> 00:19:34,200 The IDS is going to read them anyway, 317 00:19:34,340 --> 00:19:35,440 because he's sniffing the network. 318 00:19:39,260 --> 00:19:40,540 When you're doing this, 319 00:19:40,540 --> 00:19:42,060 what's to ensure that your attack 320 00:19:42,540 --> 00:19:43,940 is actually the packets dropped 321 00:19:43,940 --> 00:19:46,340 versus the regular data traffic 322 00:19:46,340 --> 00:19:49,000 that you are using the IDS with? 323 00:19:49,780 --> 00:19:52,600 You mean like how I'm actually making sure 324 00:19:52,600 --> 00:19:53,600 I'm getting 60,000? 325 00:19:53,720 --> 00:19:57,200 60,000 packets and your IDS read 50,000. 326 00:19:57,320 --> 00:20:00,080 What's to ensure that your attack goes to that 10,000 that's dropped? 327 00:20:00,640 --> 00:20:02,700 And what if it goes to that 50,000 that's read? 328 00:20:05,080 --> 00:20:08,260 He's asking how do I know it's 60,000, 329 00:20:08,260 --> 00:20:11,740 how I make sure that every single thing that I'm running 330 00:20:11,740 --> 00:20:14,900 is actually getting 60,000 packets into the network. 331 00:20:16,020 --> 00:20:18,920 You can do this with TCP pinging, load balancing. 332 00:20:19,260 --> 00:20:20,120 My question is, 333 00:20:20,220 --> 00:20:22,580 if your IDS system can... 334 00:20:22,600 --> 00:20:24,340 If you go and read only 50,000, 335 00:20:24,460 --> 00:20:26,420 and you're sending 60,000 packets in, 336 00:20:26,420 --> 00:20:27,260 or 80,000, 337 00:20:27,480 --> 00:20:29,940 and you're doing your attack also at the same time, 338 00:20:30,490 --> 00:20:31,720 what's to ensure that your attack 339 00:20:31,720 --> 00:20:33,160 is actually when they drop packets? 340 00:20:33,680 --> 00:20:35,540 You're just playing with probability in there. 341 00:20:36,400 --> 00:20:37,640 I mean, it's not... 342 00:20:37,640 --> 00:20:39,620 This way you have to double or triple 343 00:20:39,620 --> 00:20:41,820 the amount of the IDS triangle 344 00:20:41,820 --> 00:20:45,260 to actually get a reasonable amount of accuracy. 345 00:20:45,840 --> 00:20:46,480 I'm sorry? 346 00:20:46,760 --> 00:20:49,040 This way you have to double or triple 347 00:20:49,040 --> 00:20:51,140 the amount that a packet you're sending 348 00:20:51,140 --> 00:20:52,120 that the IDS can handle 349 00:20:52,600 --> 00:20:54,260 to ensure that your attack... 350 00:20:54,260 --> 00:20:55,380 You know, the reasonable ability 351 00:20:55,380 --> 00:20:56,080 to actually get through 352 00:20:56,080 --> 00:20:57,720 and not be detected by the IDS. 353 00:20:58,080 --> 00:20:59,420 Yes, but the thing is, 354 00:20:59,500 --> 00:21:01,360 now IDS systems are extremely efficient, 355 00:21:02,120 --> 00:21:03,420 but the hosts are not. 356 00:21:03,620 --> 00:21:05,760 I mean, I don't want to bash any OS, 357 00:21:05,920 --> 00:21:08,240 but, I mean, the one I'm right now, 358 00:21:08,280 --> 00:21:10,640 it doesn't really take 10 megabits on the really kind. 359 00:21:11,940 --> 00:21:14,460 So, yes, you're just playing with probability. 360 00:21:14,720 --> 00:21:18,060 The thing is, you only alarm the IDS, 361 00:21:18,060 --> 00:21:20,640 like, five minutes, and you... 362 00:21:20,640 --> 00:21:22,500 Right now, I'm just taking, for instance, 363 00:21:22,500 --> 00:21:25,280 50,000, and I'm just going 10,000 364 00:21:25,280 --> 00:21:27,920 just to make sure that 10,000 packets get dropped. 365 00:21:28,240 --> 00:21:29,680 If you're gonna do this real, 366 00:21:29,920 --> 00:21:31,780 you probably have to do it like you said. 367 00:21:31,940 --> 00:21:34,240 You probably have to do, like, even triple to make sure. 368 00:21:34,740 --> 00:21:38,960 And even then, you will have maybe, like, 15 to 20%, 369 00:21:39,340 --> 00:21:41,840 just to say something on my test. 370 00:21:41,980 --> 00:21:43,320 It will get picked up anyway. 371 00:21:43,740 --> 00:21:46,200 And this will attack. 372 00:21:46,480 --> 00:21:47,860 If you don't have an anomaly filter, 373 00:21:48,480 --> 00:21:49,900 if you have an anomaly filter 374 00:21:49,900 --> 00:21:52,480 of anything going over 20,000, 375 00:21:52,480 --> 00:21:53,240 20 megabits, anyway, 376 00:21:53,380 --> 00:21:55,180 this should be picked up anyway. 377 00:21:57,400 --> 00:21:59,400 What's the difference in this type of invasion 378 00:21:59,400 --> 00:22:03,600 from a single IDS to a distributed IDS? 379 00:22:04,780 --> 00:22:06,860 No, no, what I'm actually doing 380 00:22:06,860 --> 00:22:08,240 is distributing my attack. 381 00:22:08,800 --> 00:22:09,040 Wow. 382 00:22:11,540 --> 00:22:12,620 Let's go that way. 383 00:22:13,280 --> 00:22:16,180 Will the RMPs, two, one, three, 384 00:22:16,180 --> 00:22:16,900 anything prevent? 385 00:22:17,300 --> 00:22:18,740 No fear or... 386 00:22:18,740 --> 00:22:22,300 Uh, he's asking. 387 00:22:22,480 --> 00:22:25,380 I mean, if the ISPs or the T1s 388 00:22:25,380 --> 00:22:27,700 are doing anything to prevent this type of attack. 389 00:22:29,500 --> 00:22:30,480 Not really. 390 00:22:31,600 --> 00:22:34,240 I mean, that is the bad thing. 391 00:22:35,740 --> 00:22:38,480 And you really can't handle this much. 392 00:22:39,210 --> 00:22:39,540 Okay. 393 00:22:40,600 --> 00:22:41,160 . 394 00:22:52,540 --> 00:22:56,680 He's saying that if you're aware of this, 395 00:22:56,980 --> 00:22:58,720 can you handle it in a way 396 00:22:58,720 --> 00:23:00,580 that you can block all the attacks? 397 00:23:01,540 --> 00:23:02,340 Not really. 398 00:23:02,480 --> 00:23:04,220 You can spoof every single packet 399 00:23:04,220 --> 00:23:05,800 if you want to with random numbers 400 00:23:05,800 --> 00:23:09,000 as long as they are within the Internet, 401 00:23:09,000 --> 00:23:10,600 the rootable. 402 00:23:10,960 --> 00:23:14,040 So you either let them go through 403 00:23:14,040 --> 00:23:15,720 until a certain point 404 00:23:15,720 --> 00:23:19,620 or get your separate for an DOS attack. 405 00:23:20,780 --> 00:23:22,600 Because if you start... 406 00:23:22,600 --> 00:23:24,860 If you start blocking every single packet, 407 00:23:24,940 --> 00:23:27,540 then I'm going from 0000 to 2555. 408 00:23:28,620 --> 00:23:29,920 Everything's gonna be blocked. 409 00:23:32,240 --> 00:23:32,980 Yes? 410 00:23:34,240 --> 00:23:34,980 . 411 00:23:36,000 --> 00:23:36,400 . 412 00:23:39,800 --> 00:23:40,280 . 413 00:23:49,640 --> 00:23:50,120 . 414 00:23:51,960 --> 00:23:52,440 . 415 00:23:53,700 --> 00:23:54,180 . 416 00:23:54,180 --> 00:23:54,240 . 417 00:23:54,240 --> 00:23:54,780 . 418 00:23:57,480 --> 00:23:59,800 Um, there is actually a tool called Stick 419 00:23:59,800 --> 00:24:01,800 that, uh, does the reverse of this. 420 00:24:01,960 --> 00:24:03,580 Uh, it sends so many alarms 421 00:24:04,280 --> 00:24:05,940 that the IDS gets, uh, 422 00:24:06,400 --> 00:24:08,700 or you really don't know if the attack is there. 423 00:24:08,920 --> 00:24:11,140 But the thing is, then you know you're being attacked. 424 00:24:11,840 --> 00:24:13,440 This is more of the thinking of, 425 00:24:14,200 --> 00:24:16,340 you will get a five minute peak warning 426 00:24:16,680 --> 00:24:18,540 and you really don't know if somebody attacked you, 427 00:24:18,700 --> 00:24:21,260 you had a lot of people going into your web server, 428 00:24:23,020 --> 00:24:24,480 or exactly what. 429 00:24:24,620 --> 00:24:26,160 This is, it's really more silent, 430 00:24:26,260 --> 00:24:28,160 but it can also be done in the other way. 431 00:24:33,240 --> 00:24:34,880 He's asking if I'm just sending garbage. 432 00:24:34,880 --> 00:24:36,060 Garbage, yeah, pretty much. 433 00:24:36,300 --> 00:24:39,860 I mean, actually you try to be really small packets, 434 00:24:39,920 --> 00:24:43,020 just since everything that doesn't get filtered 435 00:24:43,020 --> 00:24:45,520 for the firewall, a couple of tricks. 436 00:24:46,120 --> 00:24:49,280 You can go down to one byte TCP, 437 00:24:49,540 --> 00:24:51,980 so you know it's gonna pass the firewall. 438 00:24:52,520 --> 00:24:54,960 You go the same source port and destination, 439 00:24:55,460 --> 00:24:57,560 and if they have a really bad firewall, 440 00:24:57,720 --> 00:25:00,900 you really, really, really wanna make the idea system slow, 441 00:25:01,180 --> 00:25:02,840 you spoof the server request 442 00:25:03,580 --> 00:25:05,680 with the same source port and destination. 443 00:25:06,280 --> 00:25:09,400 So the idea system is not gonna know 444 00:25:09,400 --> 00:25:11,540 if the web server has initiated the connection 445 00:25:12,000 --> 00:25:14,940 or the outside, so it just has to hold on to it 446 00:25:15,440 --> 00:25:18,800 until the time's out, which is really long. 447 00:25:20,940 --> 00:25:23,460 That only happens if you are a SYN-based firewall. 448 00:25:23,820 --> 00:25:24,240 Yep. 449 00:25:29,040 --> 00:25:32,680 Yeah, he's asking if I've done it against 450 00:25:32,840 --> 00:25:33,840 some IDSs. 451 00:25:34,660 --> 00:25:38,100 Yes, actually, I've done it about all commercials, 452 00:25:38,620 --> 00:25:41,580 most all commercials that I can get my hands on. 453 00:25:42,620 --> 00:25:44,240 This is not an implementation. 454 00:25:44,620 --> 00:25:47,180 This is more of a theoretical thing. 455 00:25:47,340 --> 00:25:49,860 It's not really the IDS system fault. 456 00:25:50,080 --> 00:25:52,020 I mean, you can go into Higa if you want to. 457 00:25:52,360 --> 00:25:55,500 The host is gonna break, and if you have a really fast host 458 00:25:55,500 --> 00:25:57,680 and the IDS breaks, well. 459 00:25:57,920 --> 00:26:00,480 But I mean, I can assure you right now, 460 00:26:00,580 --> 00:26:02,380 the biggest problem is the host is breaking. 461 00:26:02,380 --> 00:26:03,540 At least on my tests. 462 00:26:20,340 --> 00:26:24,580 He's asking if the solution is to have a host really beefy 463 00:26:24,580 --> 00:26:26,500 and IDS really beefy and hooking up to the network. 464 00:26:27,720 --> 00:26:29,860 If you have a big network, yes, 465 00:26:30,000 --> 00:26:32,220 or you can stack your IDS. 466 00:26:32,380 --> 00:26:37,740 You can make it low hardware balance, like NFR. 467 00:26:37,840 --> 00:26:40,940 Like I said before, NFR has an implementation on that. 468 00:26:41,140 --> 00:26:44,760 Really don't know if like Real Secure or the other ones 469 00:26:44,760 --> 00:26:47,360 actually do have an implementation on that. 470 00:26:47,460 --> 00:26:49,740 I know they can load balance on level seven, you know. 471 00:26:50,340 --> 00:26:52,320 But I mean, that makes it also slow, 472 00:26:52,460 --> 00:26:54,900 so you're putting yourself in a position in which 473 00:26:55,560 --> 00:26:58,060 then I'm attacking the CPU power that you will have, 474 00:26:58,220 --> 00:26:59,280 not only the network. 475 00:27:02,380 --> 00:27:03,100 Hold on a second. 476 00:27:12,200 --> 00:27:13,820 Okay, can you repeat the question? 477 00:27:17,540 --> 00:27:20,540 Top-lay goes to a switch, 478 00:27:20,560 --> 00:27:21,680 and some flyers, or something? 479 00:27:21,680 --> 00:27:22,740 Sorry, I just died, like, 480 00:27:22,740 --> 00:27:25,080 from the traffic to Daentium. 481 00:27:25,220 --> 00:27:26,940 Not really. 482 00:27:28,080 --> 00:27:32,360 So I mean, it's like, I'm just here to tell you, I really am. 483 00:27:32,380 --> 00:27:33,180 I really don't have all the questions. 484 00:27:33,340 --> 00:27:37,460 I really didn't try, but I'm sure we can give it a try 485 00:27:37,460 --> 00:27:37,920 later on. 486 00:27:40,640 --> 00:27:41,200 Yep. 487 00:27:48,580 --> 00:27:51,540 He's asking if you're eliminating or reducing the chance. 488 00:27:51,860 --> 00:27:54,520 You're actually just reducing the chance of evasion. 489 00:27:54,940 --> 00:27:58,900 You really can't go 100% on this. 490 00:27:58,900 --> 00:28:03,420 I mean, you are going to get picked up sooner or later. 491 00:28:03,680 --> 00:28:06,760 This is not an old, breaking IDS system. 492 00:28:06,860 --> 00:28:10,440 Just don't go running into your networks and turn it off. 493 00:28:10,600 --> 00:28:11,960 It's really nice to have it anyway. 494 00:28:12,780 --> 00:28:13,300 Yes? 495 00:28:13,500 --> 00:28:16,820 Does IDS detect anything, or just the processor usage 496 00:28:16,820 --> 00:28:17,720 just goes way up? 497 00:28:18,600 --> 00:28:20,840 He's asking if the IDS actually detects anything. 498 00:28:21,240 --> 00:28:24,040 It really doesn't detect anything if you don't have 499 00:28:24,040 --> 00:28:26,100 an anomaly peak filter. 500 00:28:27,540 --> 00:28:28,880 And the CPU... 501 00:28:28,880 --> 00:28:32,820 The CPU, it goes out a lot, but not really that much. 502 00:28:33,240 --> 00:28:36,260 I mean, I actually seen it go to 65%, but that's it. 503 00:28:36,480 --> 00:28:37,780 I never made it go to 100. 504 00:28:39,360 --> 00:28:40,940 But that's because it's a small package. 505 00:28:47,520 --> 00:28:48,420 No more questions? 506 00:28:49,160 --> 00:28:49,980 No, I feel like that. 507 00:28:50,140 --> 00:28:50,540 Yeah. 508 00:28:58,880 --> 00:29:00,000 I mean, it's a very fast IDS. 509 00:29:00,460 --> 00:29:04,180 You can actually start the server, and then the server 510 00:29:04,180 --> 00:29:05,120 don't see it like this. 511 00:29:05,200 --> 00:29:05,900 It's the same thing. 512 00:29:06,860 --> 00:29:08,300 It's just a bit different. 513 00:29:09,340 --> 00:29:12,860 And the server will take a few seconds like this. 514 00:29:13,460 --> 00:29:15,200 But the IDS, you don't know that. 515 00:29:15,360 --> 00:29:17,280 But the IDS will take a very long time. 516 00:29:17,520 --> 00:29:19,940 And then the second one has to do with this as well. 517 00:29:21,180 --> 00:29:23,400 And then you go up to the CPU, do something, 518 00:29:23,560 --> 00:29:25,540 and the IDS will just go up. 519 00:29:26,340 --> 00:29:26,740 OK. 520 00:29:27,280 --> 00:29:28,680 That was a really long comment. 521 00:29:28,880 --> 00:29:31,100 And I heard half of it. 522 00:29:31,260 --> 00:29:34,780 But he's basically saying that you can actually 523 00:29:34,780 --> 00:29:37,820 turn the problem around if you have a really fast IDS system. 524 00:29:37,920 --> 00:29:42,720 What you can do is the IDS will do two things. 525 00:29:43,040 --> 00:29:45,140 And the IDS will actually get the first one. 526 00:29:45,820 --> 00:29:49,540 And the server will actually get only into the second one. 527 00:29:49,740 --> 00:29:52,560 So you will corrupt the TCP reassembly. 528 00:29:55,540 --> 00:29:56,340 Any other questions? 529 00:29:56,560 --> 00:29:57,300 Please ask more. 530 00:30:00,100 --> 00:30:00,840 That's it. 531 00:30:01,600 --> 00:30:01,960 That's it? 532 00:30:02,080 --> 00:30:02,920 You tested this out. 533 00:30:03,380 --> 00:30:03,980 Sorry? 534 00:30:04,320 --> 00:30:05,700 You tested it out. 535 00:30:05,760 --> 00:30:06,140 Yeah. 536 00:30:06,500 --> 00:30:06,920 You tested it in the process. 537 00:30:07,220 --> 00:30:09,140 You tested it in the commercial. 538 00:30:09,340 --> 00:30:10,480 I tested the solution. 539 00:30:10,700 --> 00:30:12,760 I opened the solution. 540 00:30:13,080 --> 00:30:15,560 And you're being, I guess, the same hardware. 541 00:30:16,020 --> 00:30:19,760 The solution handled the saturation test. 542 00:30:20,140 --> 00:30:22,160 What solutions handle saturation tests? 543 00:30:23,260 --> 00:30:24,880 I tested it out. 544 00:30:24,920 --> 00:30:26,500 NFR did really well. 545 00:30:26,740 --> 00:30:28,160 Dragonfly is extremely fast. 546 00:30:28,880 --> 00:30:32,080 It snored really nice, also real secure. 547 00:30:33,160 --> 00:30:35,120 The best actually was in a far. 548 00:30:40,680 --> 00:30:42,340 Sorry man, can you shut it out? 549 00:30:42,420 --> 00:30:43,080 I'm really deaf. 550 00:30:43,880 --> 00:30:46,540 So you're saying at what point would you start talking back? 551 00:30:46,680 --> 00:30:48,380 That's a very quick answer. 552 00:30:48,580 --> 00:30:50,020 At what point did you start talking back? 553 00:30:52,560 --> 00:30:53,040 Man. 554 00:30:53,300 --> 00:30:53,780 OK. 555 00:30:55,220 --> 00:30:57,540 It depended on what kind of host I was running. 556 00:30:57,640 --> 00:30:58,720 But Windows started... 557 00:30:58,720 --> 00:31:07,040 dined around 15 megabit. OpenBSD did really well. He went all the way to 28, I think. 558 00:31:08,240 --> 00:31:13,460 So it's just a matter of not really the ideas. Like I said before, it's not really the idea's 559 00:31:13,460 --> 00:31:15,680 fault. It's right now I'm just attacking the hosts. 560 00:31:16,620 --> 00:31:18,260 One more question here. Sure. 561 00:31:18,640 --> 00:31:23,640 What about appliance? You talked about most, like, OpenBSD or Windows, 562 00:31:23,880 --> 00:31:28,120 but there's a lot of appliance coming here, 650, something like that. Do you have a chance 563 00:31:28,120 --> 00:31:31,240 to test it? No, I didn't have any around, you know. 564 00:31:31,340 --> 00:31:35,200 I'm sorry. I didn't have any time to test them. 565 00:31:38,500 --> 00:31:38,940 Sure. 566 00:31:40,100 --> 00:31:44,660 Have you ever used, I guess they branded it Cisco Securing, yes? 567 00:31:44,880 --> 00:31:45,140 Yeah. 568 00:31:50,120 --> 00:31:55,840 He's asking if I tested it on the Cisco ideas. No. No, I haven't actually tested. 569 00:31:56,400 --> 00:31:59,920 I mean, get a couple of ideas just to go back and go over it. 570 00:32:00,820 --> 00:32:03,180 Unless you have a couple hundred thousand dollars, it's hard to do. 571 00:32:04,680 --> 00:32:08,760 Oh, of course, the donations of hardware are really, really appreciated. 572 00:32:11,100 --> 00:32:13,600 We're not limited by the bottlenecks of the host on that. 573 00:32:13,940 --> 00:32:16,880 Yeah, but the router can bridge really nice. Yeah. 574 00:32:18,700 --> 00:32:21,740 Any other questions? Because I see people leaving anyway. 575 00:32:25,620 --> 00:32:26,520 No more questions? 576 00:32:30,760 --> 00:32:37,880 The slides are going to be at this URL. If you have any questions, rants, flames, anything, 577 00:32:37,880 --> 00:32:47,840 that will be my email. I do check it at least three times a day, so you will get a response back. 578 00:32:47,980 --> 00:32:51,800 I can actually tell you about that. No spam, please. 579 00:32:52,540 --> 00:32:53,260 No spam. 580 00:32:53,740 --> 00:32:54,940 Just no spam, man. 581 00:32:57,220 --> 00:32:58,000 Good job. 582 00:33:03,500 --> 00:33:06,320 Hold on. That's it. Class dismissed.