1 00:00:55,480 --> 00:00:58,900 Some of this stuff may be kind of basic for some of you, 2 00:00:58,900 --> 00:01:01,660 but some of it actually, we're going to touch on a few new things, 3 00:01:01,780 --> 00:01:05,100 and then I'll kind of cover some new things we've got at the end. 4 00:01:07,780 --> 00:01:11,380 And I also want to apologize for the PowerPoint thing, 5 00:01:11,560 --> 00:01:18,180 but hey, that's kind of what a lot of us that end up going around doing some of these presentations have to live with. 6 00:01:18,680 --> 00:01:23,200 Anyway, I'm assuming on this presentation you all understand what an IP address is, 7 00:01:23,360 --> 00:01:25,540 you understand a little bit of basic system administration. 8 00:01:26,460 --> 00:01:28,880 I'm also going to make the assumption that when I talk about... 9 00:01:28,900 --> 00:01:32,140 when I talk about tools or refer to tools, that you know how to go and find them. 10 00:01:32,240 --> 00:01:34,420 I don't know how many emails that I've gotten from people saying, 11 00:01:34,540 --> 00:01:37,320 you know, hey, where do I get the so-and-so tool or whatever? 12 00:01:37,540 --> 00:01:40,840 Okay, I figure everyone probably knows how to use a search engine and whatnot. 13 00:01:41,140 --> 00:01:44,900 And they understand a little bit of the basic stuff about the usage of the tools. 14 00:01:47,500 --> 00:01:49,760 The presentation is more from a network point of view. 15 00:01:49,820 --> 00:01:52,860 I'll touch on host-based type stuff where it seems appropriate, 16 00:01:53,800 --> 00:01:57,280 but for the most part we're talking about the network itself. 17 00:02:00,920 --> 00:02:05,720 I think everyone probably, you know, simple nomad I got introduced, 18 00:02:05,980 --> 00:02:18,860 but the nmrc.org website, I also, I have a nice day job at BindView who are very, very happy to hire hackers and whatnot. 19 00:02:19,120 --> 00:02:24,000 And so I get to do a lot of, a lot of what I've been doing is I've had some people say, 20 00:02:24,080 --> 00:02:25,380 why haven't you been updating your website? 21 00:02:25,540 --> 00:02:28,880 Well, it's because I've been extremely happy working on the Razor. 22 00:02:28,900 --> 00:02:29,520 I've been working on the Razor team at BindView. 23 00:02:29,620 --> 00:02:30,700 They've been keeping me really busy. 24 00:02:31,280 --> 00:02:34,620 And so that kind of tends to be where my attention has been focused. 25 00:02:36,820 --> 00:02:39,140 As far as the network mapping stuff goes, 26 00:02:40,820 --> 00:02:43,500 first thing you need to know is know a little bit about your target. 27 00:02:43,840 --> 00:02:46,980 There's different ways you'd go about that. 28 00:02:47,120 --> 00:02:50,620 Now, I'm not going to cover actual breaking in techniques. 29 00:02:50,740 --> 00:02:55,520 We're just going to be basically talking about kind of to do some type of stuff ahead of time. 30 00:02:56,460 --> 00:02:58,120 Public information, we can get a lot of stuff. 31 00:02:58,200 --> 00:02:58,720 We're going to cover. 32 00:02:58,900 --> 00:03:02,340 We're going to cover some stuff on that, some techniques on network enumeration, 33 00:03:02,460 --> 00:03:03,440 and then we'll get into some mapping. 34 00:03:04,500 --> 00:03:08,800 Public information, obviously, if you wanted to really research your target, 35 00:03:09,020 --> 00:03:11,360 you go out and you look at the public records and everything. 36 00:03:11,560 --> 00:03:14,120 You find out a lot of interesting things from public records and whatnot. 37 00:03:15,520 --> 00:03:19,180 And is Edgar still online where you can search it and everything? 38 00:03:19,380 --> 00:03:23,000 That was always a, yeah, that's a, I know they talked at one point, 39 00:03:23,020 --> 00:03:24,500 I think, about turning it off or something. 40 00:03:24,560 --> 00:03:25,540 I'd read something about that. 41 00:03:25,600 --> 00:03:28,260 But it's a, that's always something. 42 00:03:28,300 --> 00:03:28,800 I, I, 43 00:03:28,900 --> 00:03:30,440 I always make sure I take a look at. 44 00:03:30,920 --> 00:03:36,820 Of course, who is DNS and all the assorted tools that go with probing DNS. 45 00:03:38,240 --> 00:03:39,240 Public postings. 46 00:03:40,880 --> 00:03:44,460 This is another thing that some people kind of tend to forget, forget about. 47 00:03:44,640 --> 00:03:49,980 A lot of times you'll find that people will, on mailing lists and in news groups 48 00:03:49,980 --> 00:03:54,140 and other places will actually post technical questions 49 00:03:54,140 --> 00:03:57,400 and in the process they're giving away pieces of their technology. 50 00:03:58,900 --> 00:03:59,780 What they have in there. 51 00:03:59,880 --> 00:04:01,840 I'm having problems with the so and so backup system. 52 00:04:02,060 --> 00:04:06,300 Okay, well I know now what kind of backup system it is and I know what operating systems maybe 53 00:04:06,300 --> 00:04:08,260 that runs on that kind of information. 54 00:04:08,720 --> 00:04:10,520 Sometimes they get even more detailed than that. 55 00:04:10,620 --> 00:04:12,180 They put their sig, you know, in their sig files. 56 00:04:12,380 --> 00:04:16,760 They've got also their telephone numbers so now I've got exchanges that I can word dial 57 00:04:16,760 --> 00:04:18,360 because I know what their work numbers are and whatnot. 58 00:04:19,160 --> 00:04:21,600 So don't forget the, those areas. 59 00:04:24,120 --> 00:04:28,880 Network enumeration, pretty much the goal that you have of network enumeration, we'll cover that in a minute. 60 00:04:28,880 --> 00:04:37,980 I want to get into, on that ICMP, there's some, actually some fairly new things with the ICMP 61 00:04:37,980 --> 00:04:42,640 thanks to a couple of talks I've had around here and you can pretty much read the rest. 62 00:04:42,740 --> 00:04:44,220 I'm not going to stand up here and read slides to you. 63 00:04:45,620 --> 00:04:47,600 I do want to talk on ICMP. 64 00:04:48,980 --> 00:04:55,640 One thing that's been, you know, the first thing that everyone would do, they'd do the sweep with echo packets 65 00:04:55,640 --> 00:04:58,600 and get the responses back and now I know I had a host up. 66 00:04:59,120 --> 00:05:02,040 And so, of course, people started blocking that at the firewall. 67 00:05:02,360 --> 00:05:08,360 Another alternative to that would be to sweep with, say, something like timestamp packets 68 00:05:08,800 --> 00:05:13,140 or even info request packets, although that's not supported nearly as much. 69 00:05:13,520 --> 00:05:18,980 But if they're only blocking echo packets at the firewall, then by sweeping for these different types 70 00:05:18,980 --> 00:05:22,660 then you can go ahead and get, find out if you've actually got a host up or not. 71 00:05:23,260 --> 00:05:25,720 So a lot of people have taken it a step further. 72 00:05:25,820 --> 00:05:26,920 They're blocking a lot more. 73 00:05:26,980 --> 00:05:28,600 They're saying, okay, well, I'm only going to allow 74 00:05:28,600 --> 00:05:28,860 a host up. So a lot of people have taken it a step further. They're blocking a lot more. They're saying, okay, well, I'm only going to allow 75 00:05:28,860 --> 00:05:29,100 a host up. So a lot of people have taken it a step further. They're saying, okay, well, I'm only going to allow 76 00:05:29,100 --> 00:05:34,020 something like, I'm only going to allow in host reports unreachables. 77 00:05:34,140 --> 00:05:37,580 Maybe I'm going to allow in source quench. 78 00:05:37,700 --> 00:05:40,900 And that's the only kind of stuff that I'm going to allow to come into my network. 79 00:05:41,120 --> 00:05:46,540 Well, another way I can get around that now is if they're allowing the host reports unreachables in, 80 00:05:46,660 --> 00:05:54,460 I send in a forged host report unreachable, just one that was unsolicited. 81 00:05:54,840 --> 00:05:57,620 I use an illegal header length and 82 00:05:57,620 --> 00:06:03,800 what will happen is if they've properly implemented ICMP in the IP stack, 83 00:06:04,080 --> 00:06:05,700 it'll say I've got an error now. 84 00:06:06,140 --> 00:06:10,420 I'm going to go ahead and reply back saying you've got a parameter problem. 85 00:06:10,700 --> 00:06:15,860 And so then I get an ICMP back and boom, I've actually now determined that that host is now up. 86 00:06:16,660 --> 00:06:20,620 And that was actually theory until I had a talk earlier this week. 87 00:06:20,720 --> 00:06:25,220 And I got the guy's name in the last slide here because I really appreciate learning that information. 88 00:06:25,820 --> 00:06:27,160 The other thing I don't know, 89 00:06:27,220 --> 00:06:27,500 specifically, 90 00:06:27,500 --> 00:06:31,180 how much this goes across the various vendors. 91 00:06:31,360 --> 00:06:37,260 They all have their different ways that they do IP and everything. 92 00:06:37,500 --> 00:06:39,560 And not everyone implements things the same way, 93 00:06:39,600 --> 00:06:43,720 but we'll talk a little bit more about that here in a minute. 94 00:06:44,620 --> 00:06:45,180 Scanning. 95 00:06:45,580 --> 00:06:46,460 Why scan? 96 00:06:47,740 --> 00:06:50,360 Hopefully everyone here already knows why you scan. 97 00:06:51,200 --> 00:06:53,340 You're looking for services running and whatnot. 98 00:06:55,220 --> 00:06:57,420 And pretty much everyone's using, you know, 99 00:06:57,420 --> 00:06:57,480 you're looking for services running and whatnot. And pretty much everyone's using, you know, 100 00:06:57,500 --> 00:07:00,240 in MAP, it's become pretty much everyone. 101 00:07:00,420 --> 00:07:02,020 It does some of the ping sweeps and stuff. 102 00:07:04,060 --> 00:07:08,580 But some of the other features, the finger printing is extremely interesting. 103 00:07:08,780 --> 00:07:10,860 That helps out a whole lot. 104 00:07:11,120 --> 00:07:17,920 Another real interesting thing that I like to use within MAP is most of you know that you use it. 105 00:07:17,940 --> 00:07:21,140 It comes with a libpcap. 106 00:07:22,760 --> 00:07:27,280 And so it goes into promiscuous mode during some of the scan. 107 00:07:27,280 --> 00:07:33,880 scans, which means that if I set it up to where I don't, you can do the decoy thing 108 00:07:33,880 --> 00:07:37,760 and say, okay, I'm going to, you know, and then put in your real IP address in there. 109 00:07:38,040 --> 00:07:42,760 Depending on how, where you're scanning from, you can use the IP, say your IP address is 110 00:07:43,240 --> 00:07:47,840 someone down the hall, and if you're on the same net, you scan, and since you're in promiscuous 111 00:07:47,840 --> 00:07:52,480 mode, you still get all the responses back, and they blame the guy down the hall, or they 112 00:07:52,480 --> 00:07:58,240 blame the guy, you know, if you've got a cable modem, they blame some other guy that 113 00:07:58,240 --> 00:07:59,260 you've managed to pick up. 114 00:07:59,360 --> 00:08:06,400 So that's kind of a neat little feature there, so you can scan without revealing your address. 115 00:08:12,300 --> 00:08:18,460 TCP fingerprinting, and I think pretty much everyone here probably knows what that is, 116 00:08:18,540 --> 00:08:22,460 but for those that don't, send out a flurry of packets with a very, very... 117 00:08:22,480 --> 00:08:25,960 With various settings, you get a bunch of different responses that come back, and then 118 00:08:25,960 --> 00:08:32,140 these can be, the types of responses can pretty much indicate the types of operating systems 119 00:08:32,140 --> 00:08:33,060 you're dealing with. 120 00:08:33,880 --> 00:08:39,560 Something that I found out fairly recently, because I just started playing a lot with 121 00:08:39,560 --> 00:08:48,000 ICMP and TTL, is that by sending in certain types of ICMP packets, you know, with various 122 00:08:48,000 --> 00:08:52,460 things switched in that, you get fairly unique responses. 123 00:08:52,460 --> 00:08:59,200 And they're fairly consistent responses, and you can do somewhat of a OS type fingerprinting 124 00:08:59,200 --> 00:09:00,460 just with ICMP. 125 00:09:00,840 --> 00:09:07,260 This comes in handy if you're doing that thing where they've, with the host or port unreachable, 126 00:09:07,400 --> 00:09:11,960 you can actually then at that point, you're going to be able to tell what type of, in 127 00:09:11,960 --> 00:09:14,640 some cases, what type of OS you actually have sitting on the inside. 128 00:09:19,480 --> 00:09:21,540 The additional probes thing here. 129 00:09:22,920 --> 00:09:25,960 The other thing you want to do is scan for possible security devices. 130 00:09:26,580 --> 00:09:30,760 And one thing I like to talk about is throwaway hosts, okay? 131 00:09:31,240 --> 00:09:37,380 If I'm going to, let's say I'm doing a penetration test of some kind, you know. 132 00:09:37,780 --> 00:09:41,860 Some of you may be doing them legitimately, some of you may be doing your own freelance 133 00:09:41,860 --> 00:09:43,900 penetration testing, but you get the idea. 134 00:09:44,200 --> 00:09:49,740 Well, you want to check out and see where those various security devices are, okay? 135 00:09:49,740 --> 00:09:55,440 So sometimes you take a host that you know is, you don't care about, that you have ownership 136 00:09:55,440 --> 00:09:59,000 of, and you're going to go ahead and send in your packets, and then maybe you're going 137 00:09:59,000 --> 00:10:02,480 to try the same thing again and then see if the, you get some type of different response. 138 00:10:03,260 --> 00:10:08,100 So what it is, is it involves looking for a lack of response due to perhaps some type 139 00:10:08,100 --> 00:10:10,420 of security device that's on there. 140 00:10:10,540 --> 00:10:16,040 And of course then using some of the anti-sniff technology, sweeping for promiscuous devices. 141 00:10:16,540 --> 00:10:18,840 The other things that I would do is, you know. 142 00:10:18,860 --> 00:10:19,280 I've been doing this for a long time. 143 00:10:20,260 --> 00:10:20,560 If you've got any sort of nicotine that's on there that's going to be liability-free, 144 00:10:20,560 --> 00:10:21,820 But I would also kind of consider some of the other, you know, all the other security 145 00:10:21,820 --> 00:10:22,240 And so once you get something like that, you want to consider some of the odd ICMP 146 00:10:23,060 --> 00:10:23,360 things. 147 00:10:23,500 --> 00:10:39,460 I mean if you can, this is one way how you would spot honeypots. 148 00:10:39,460 --> 00:10:44,180 responses you're getting back are kind of indicating that it's a Unix box and 149 00:10:44,180 --> 00:10:49,040 that's an example of where you've got maybe a honeypot or something like that 150 00:10:49,040 --> 00:10:54,860 where you can then obviously avoid it or if you want to go in and play around and 151 00:10:54,860 --> 00:10:59,360 look like an idiot I guess you could do that to trick them or whatever but 152 00:11:03,800 --> 00:11:09,280 anyway network mapping this involves basically determining the network layout 153 00:11:09,280 --> 00:11:14,600 trying to figure out exactly where the devices are where they're attached 154 00:11:15,200 --> 00:11:19,840 who's talking to what and what not Traceroute's a good tool for doing this 155 00:11:19,840 --> 00:11:22,780 Firewalk it's probably a little bit better tool it gets you a little bit 156 00:11:22,780 --> 00:11:25,560 better in there and then some of these other things we've already been talking 157 00:11:25,560 --> 00:11:31,900 about specifically ICMP is what I'm thinking about here for doing some type 158 00:11:31,900 --> 00:11:35,420 of bypassing the firewall this is a slide I should have updated last night 159 00:11:35,420 --> 00:11:38,760 I don't know if any of you are at Black Hat but there's a great presentation on 160 00:11:38,760 --> 00:11:39,260 getting past the firewall and getting past the firewall and getting past the 161 00:11:39,260 --> 00:11:43,380 checkpoint firewalls which is just absolutely that was wondrous that was 162 00:11:43,380 --> 00:11:47,860 actually great so forget the slide just go to that stuff for a good stuff but 163 00:11:47,860 --> 00:11:50,980 you know there are some things or at least what you're trying to probe 164 00:11:50,980 --> 00:11:53,280 because before you're launching an attack against something it's on the 165 00:11:53,280 --> 00:11:56,300 other side of the firewall you at least need to try to know what the hell it is 166 00:11:56,300 --> 00:12:01,680 you're launching the attack against so using things like you know Firewalk to 167 00:12:01,680 --> 00:12:05,760 determine what services may be running or an Nmap as well just trying to 168 00:12:05,760 --> 00:12:09,140 determine what kind of services are running you get roughly maybe an idea 169 00:12:09,140 --> 00:12:14,800 of what you've got there on the inside for the most parts we usually only need 170 00:12:14,800 --> 00:12:20,220 as attackers you only you're only going to come in on one port for the most part 171 00:12:20,220 --> 00:12:24,440 unless you're doing something really oddball and sophisticated but you know 172 00:12:24,440 --> 00:12:29,180 for example most people even leave open port 25 they leave them port 80 and 173 00:12:29,180 --> 00:12:32,240 those are going to be kind of things you're looking for state table 174 00:12:32,240 --> 00:12:39,120 manipulation this has to do with the the FTP thing that came out to work and you 175 00:12:39,120 --> 00:12:42,420 know with passive FTP I'm going to actually put entries into the state 176 00:12:42,420 --> 00:12:47,200 table and now I'm going to have a way but into there that kind of was the lead 177 00:12:47,200 --> 00:12:56,320 up to what that black hat presentation was on on checkpoint obviously if a site 178 00:12:56,320 --> 00:13:00,780 has intrusion detection you want to do something to avoid that if that is your 179 00:13:01,500 --> 00:13:09,100 caller cause the obviously if there's some way that you can manipulate the 180 00:13:09,120 --> 00:13:12,100 data that they're going to detect because for the most these are pattern 181 00:13:12,100 --> 00:13:15,740 pattern matching for the most part the network based ones are pattern matching 182 00:13:15,740 --> 00:13:20,720 so you can go ahead and maybe try and alter that data but the attack will still 183 00:13:20,720 --> 00:13:24,720 work that'd be a good way to do it fragmented packets I know that a couple 184 00:13:24,720 --> 00:13:28,740 of years ago there's a big thing at black hat and a paper that was released 185 00:13:29,340 --> 00:13:33,480 that talked about a number of different ways to get past intrusion detection 186 00:13:33,480 --> 00:13:35,400 and one of them was using fragmented packets 187 00:13:37,320 --> 00:13:38,360 I think the 188 00:13:39,120 --> 00:13:42,980 most of the vendors up until about maybe six months ago most of the vendors were 189 00:13:42,980 --> 00:13:47,400 still vulnerable to this I think there's a few more they're just now getting on 190 00:13:47,400 --> 00:13:51,840 board in their patching but you know that's still a valid valid thing to try 191 00:13:51,840 --> 00:13:56,240 did ISS does anyone know if they're real secure stuff actually is handling 192 00:13:58,100 --> 00:14:03,960 fragmented packets now 5.0 supposedly okay vote of confidence there 193 00:14:03,960 --> 00:14:08,720 supposedly great yeah now someone else is saying no it's not 194 00:14:11,100 --> 00:14:20,040 okay there we go so use that then great another way of avoiding intrusion 195 00:14:20,040 --> 00:14:29,420 detection which is something that I saw that my previous employer was that if 196 00:14:29,420 --> 00:14:34,340 there was a lot of false positives then the system administrators start losing 197 00:14:34,340 --> 00:14:38,320 confidence in it and we'll start distrusting it 198 00:14:39,460 --> 00:14:39,860 I can't get to 10% it's a good thing but that's a big problem there's a lot of風 199 00:14:39,860 --> 00:14:41,080 bit in your mind about like interaction type of things are also a real 200 00:14:41,080 --> 00:14:45,280 good thing hitting the thing with a ton of port scans and then you want your 201 00:14:45,280 --> 00:14:50,700 little attack thing and you get in I mean you're just basically they're trying 202 00:14:50,700 --> 00:14:53,580 to track down all this other activity and then you get the with you 203 00:14:53,580 --> 00:14:59,360 slip in the one thing that that I've actually seen another one would be to 204 00:14:59,360 --> 00:15:04,440 make sure that if you're going to be logged and this has to do mainly with 205 00:15:04,440 --> 00:15:11,020 the you know IDS stuff that looks at the scrapes through logs is looking for 206 00:15:11,020 --> 00:15:17,520 various things if you make your entries into those logs look like normal log 207 00:15:17,520 --> 00:15:22,980 type entries then there's a very good chance that your stuff will go undetected 208 00:15:22,980 --> 00:15:29,260 I know that several years ago well actually it's maybe less than that maybe 209 00:15:29,260 --> 00:15:33,600 a couple of years ago I know that the shadow IDS if you went through the 210 00:15:35,020 --> 00:15:38,480 you read through the manual and followed it exactly the way it was written and 211 00:15:38,480 --> 00:15:43,620 said okay you're going to have a lot of stuff in your logs and shadow does not 212 00:15:43,620 --> 00:15:48,440 do stuff in real time it is actually goes through and looks at logs so if I'm 213 00:15:48,440 --> 00:15:52,960 doing stuff as I said if you're if you see a lot of stuff in the source 214 00:15:52,960 --> 00:15:58,060 port of 80 that's all your web traffic so you may just want to skip and dump 215 00:15:58,060 --> 00:16:01,980 everything with the source port of 80 this was basically in the instructions 216 00:16:01,980 --> 00:16:05,420 so then all you had to do is say okay my attacks now are all going to be source 217 00:16:05,420 --> 00:16:09,380 port 80 and they're not going to catch any of them and they were wondering why 218 00:16:09,380 --> 00:16:13,580 they were having all these .gov and .mil website defacements and I think that was 219 00:16:13,580 --> 00:16:22,320 probably a pretty good indication right there of it whenever you're getting all 220 00:16:22,960 --> 00:16:26,520 pieces of data from all these different sources you need to start pulling all 221 00:16:26,520 --> 00:16:31,100 this stuff together and you got to remember that even the smallest amount 222 00:16:31,100 --> 00:16:35,340 of data that you may collect against a target this can be reused this could 223 00:16:35,340 --> 00:16:39,320 possibly be reused in the future I do know there's people out there that will 224 00:16:39,320 --> 00:16:43,200 scan and scan and scan and scan and they build up these large databases of 225 00:16:43,760 --> 00:16:47,320 various sites with various ports open and stuff they may not use that stuff 226 00:16:47,320 --> 00:16:51,420 for a long time it's important to realize that whether you're you know 227 00:16:51,420 --> 00:16:52,680 attacking or defending that 228 00:16:52,960 --> 00:17:00,160 that's very very important and a lot of things like if I have you know just one 229 00:17:00,160 --> 00:17:05,300 little spot where I can you know perhaps get in part way maybe I've got another 230 00:17:05,300 --> 00:17:15,120 spot somewhere else looking at each one of these various steps well I'll go 231 00:17:15,120 --> 00:17:19,700 through here and I've kind of edited a lot of this I've done some screen depth 232 00:17:19,700 --> 00:17:22,800 so just basically what a live site 233 00:17:22,960 --> 00:17:28,080 would look like if you want to do some mapping on here and I'll kind of go 234 00:17:28,080 --> 00:17:32,920 through it here real quick do it who is against the target company I think I 235 00:17:32,920 --> 00:17:37,000 kind of messed that up the way I've got that type there doing it who is first 236 00:17:37,000 --> 00:17:42,860 thing I want to determine is get there get the servers their name servers this 237 00:17:42,860 --> 00:17:47,740 is a lot of times someone will it's fairly common for someone to have their 238 00:17:47,740 --> 00:17:52,860 ISP is a backup name server so sometimes if you're going after a 239 00:17:52,960 --> 00:17:57,820 zone dump to pull down all the addresses it's usually safer to go 240 00:17:57,820 --> 00:18:04,180 against the ISP however in this particular case this is actually a 241 00:18:04,180 --> 00:18:11,260 former employer I you know I just went out there they did not list the ISP okay 242 00:18:11,260 --> 00:18:16,520 they had their own stuff so I went ahead and started poking around and 243 00:18:16,520 --> 00:18:21,420 looking at that doing trace routes to the various boxes I've got these I don't 244 00:18:21,420 --> 00:18:22,940 know that shows up okay I've got these I don't know that shows up okay I've got these I don't know that shows up okay 245 00:18:22,960 --> 00:18:26,200 I've got these I don't know that shows up okay I've got these I don't know that shows up okay I've got it highlighted there in in a 246 00:18:26,200 --> 00:18:30,420 brighter white it looks like their ISP is become much 247 00:18:30,420 --> 00:18:40,500 now I did a trace route using some using the other box just to be sure oh my 248 00:18:40,500 --> 00:18:46,020 gosh they've got a second ISP there which I CW next which is a cable and 249 00:18:46,020 --> 00:18:52,940 wireless next thing I did was I went out see a couple of days ago to have a look 250 00:18:52,960 --> 00:18:57,540 and did a zone dump on them since they left that wide open. 251 00:18:57,600 --> 00:19:01,320 As you can see, I got back a huge amount of answers on that. 252 00:19:01,520 --> 00:19:03,520 So now I've got a ton of stuff. 253 00:19:05,000 --> 00:19:09,120 Using a tool called ICMP and NUM that I wrote, 254 00:19:09,220 --> 00:19:12,660 I tried doing some ping sweeps just with Echo, 255 00:19:12,860 --> 00:19:17,420 and they had Echo blocked, so doing ping sweeps with Timestamp 256 00:19:17,420 --> 00:19:22,120 I was able to basically enumerate a lot of hosts there. 257 00:19:22,960 --> 00:19:30,540 One interesting thing is that NT does not respond properly 258 00:19:31,080 --> 00:19:33,080 to a lot of these ICMP things. 259 00:19:33,240 --> 00:19:35,200 So if you had a segmental... 260 00:19:37,180 --> 00:19:39,700 Yeah, but for the most part, if someone... 261 00:19:39,700 --> 00:19:42,160 Just a default saying if you install services. 262 00:19:43,620 --> 00:19:48,540 For the most part, a normal installation of NT, 263 00:19:48,700 --> 00:19:50,760 if you go through and sweep them with ping, 264 00:19:51,800 --> 00:19:52,940 normal Echo patching, 265 00:19:52,960 --> 00:19:57,560 you get back replies and then sweep them with Timestamp. 266 00:19:57,980 --> 00:20:00,260 All the ones that don't answer on the Timestamp, 267 00:20:00,340 --> 00:20:03,740 those are probably 95, 98, and then T-boxes. 268 00:20:03,740 --> 00:20:06,460 They fixed it in Win2K. 269 00:20:10,280 --> 00:20:14,380 Looking over the public systems, what they have in the DMZ, 270 00:20:15,540 --> 00:20:16,980 particularly large companies, 271 00:20:17,080 --> 00:20:18,740 if they have any kind of e-commerce presence, 272 00:20:19,860 --> 00:20:22,140 don't just look at for WWW. 273 00:20:22,200 --> 00:20:22,940 Also look at... 274 00:20:22,940 --> 00:20:31,020 Look for WWW2, and I've even seen webdev.whatever 275 00:20:31,020 --> 00:20:32,600 sitting out there in the DMZ. 276 00:20:32,640 --> 00:20:33,420 They've got to test it. 277 00:20:33,820 --> 00:20:35,280 And so it'll be sitting out there, 278 00:20:35,320 --> 00:20:39,800 and sometimes this will have a lot more lax security on it. 279 00:20:39,900 --> 00:20:43,640 But looking through and exploring all those public systems, 280 00:20:43,740 --> 00:20:48,320 a lot of times will give you a lot of good information. 281 00:20:50,720 --> 00:20:51,120 Scanning. 282 00:20:51,120 --> 00:20:52,120 This is a real... 283 00:20:52,940 --> 00:20:54,800 I've got two scans that you can see here. 284 00:20:54,900 --> 00:20:59,760 The first one with NMAP is, you know, I did it polite. 285 00:21:00,100 --> 00:21:02,500 And as you can see, I got back a lot of answers there. 286 00:21:03,160 --> 00:21:06,760 And then down towards the bottom here, 287 00:21:06,880 --> 00:21:09,360 here's another run of NMAP where I'm not... 288 00:21:11,020 --> 00:21:13,620 I don't have the polite stuff going. 289 00:21:14,060 --> 00:21:17,840 And for the same address, it shows me that no ports are open. 290 00:21:18,140 --> 00:21:18,620 Okay? 291 00:21:18,720 --> 00:21:20,600 I've got an IDS system now. 292 00:21:21,040 --> 00:21:22,620 This probably did something. 293 00:21:22,660 --> 00:21:22,920 I guess... 294 00:21:22,940 --> 00:21:25,380 There's something in there that we hadn't triggered that. 295 00:21:25,460 --> 00:21:27,560 This is an example of where you're doing the scanning, 296 00:21:28,580 --> 00:21:32,020 and, you know, I do this from a box that I don't really care about 297 00:21:32,020 --> 00:21:34,260 whether they learn the IP address or not. 298 00:21:34,320 --> 00:21:39,740 I want to actually try and trigger the stuff that's out there 299 00:21:39,740 --> 00:21:42,520 to secure the network to try to see what it is. 300 00:21:45,360 --> 00:21:46,140 Here's a scan. 301 00:21:46,400 --> 00:21:50,560 And I swear to God, outside of changing the domain name, 302 00:21:50,760 --> 00:21:52,660 I swear to God, that was the host name. 303 00:21:52,660 --> 00:21:54,600 The host name of the firewall was Firewall. 304 00:21:54,860 --> 00:21:55,860 That was... 305 00:21:58,260 --> 00:21:59,280 The what now? 306 00:22:01,100 --> 00:22:01,580 Yeah. 307 00:22:01,760 --> 00:22:02,980 Yeah, they used router. 308 00:22:03,940 --> 00:22:06,400 You know, for the router, you know. 309 00:22:06,800 --> 00:22:08,100 And that's what it was. 310 00:22:08,180 --> 00:22:11,140 So it was pretty difficult to spot, you know, the firewall there. 311 00:22:11,160 --> 00:22:12,600 Oh, firewall dot whatever. 312 00:22:14,220 --> 00:22:17,060 And actually, too, their VPN box was... 313 00:22:17,060 --> 00:22:18,560 Host name was VPN. 314 00:22:19,340 --> 00:22:19,820 Okay? 315 00:22:20,660 --> 00:22:21,840 But for some... 316 00:22:21,840 --> 00:22:22,520 And I thought, well, 317 00:22:22,560 --> 00:22:22,640 it's a good thing. 318 00:22:22,660 --> 00:22:24,540 You know, maybe I'll find the IDS that way. 319 00:22:24,660 --> 00:22:27,440 But, you know, they actually didn't do that, you know. 320 00:22:31,980 --> 00:22:35,260 The reason I use two dash of E's, verbose, verbose. 321 00:22:35,320 --> 00:22:37,760 You get more stuff back. 322 00:22:38,880 --> 00:22:41,620 You know, because otherwise, it wouldn't have filled up this screen. 323 00:22:42,420 --> 00:22:43,360 You know, so. 324 00:22:48,000 --> 00:22:52,640 If you look there and you see that some of this stuff is in a filtered state, 325 00:22:52,640 --> 00:22:56,440 which means that when I scan them, 326 00:22:58,140 --> 00:23:00,700 it means it's something out there outside. 327 00:23:01,020 --> 00:23:02,120 I'm scanning the firewall. 328 00:23:02,360 --> 00:23:03,060 Now, think about this. 329 00:23:03,120 --> 00:23:04,140 I'm scanning the firewall, 330 00:23:05,620 --> 00:23:10,640 but for some reason, they're doing filtering outside the firewall. 331 00:23:12,340 --> 00:23:14,240 That's really kind of odd. 332 00:23:14,400 --> 00:23:16,680 And that right there, it's just like a red flag that says, 333 00:23:17,280 --> 00:23:19,960 you know, they probably had some type of firewall problem. 334 00:23:20,060 --> 00:23:21,680 They couldn't figure out how to do something, 335 00:23:21,780 --> 00:23:22,620 so they had to just... 336 00:23:22,620 --> 00:23:24,280 go out there and put some stuff in the router. 337 00:23:26,220 --> 00:23:29,800 And, you know, okay, 139, I think we know what that is. 338 00:23:32,520 --> 00:23:33,320 161 SNMP. 339 00:23:34,700 --> 00:23:39,760 But the real telling one here is the 256, 257, 258. 340 00:23:39,920 --> 00:23:40,600 Okay, that's... 341 00:23:41,120 --> 00:23:42,600 that right there, that says that's a checkpoint. 342 00:23:43,800 --> 00:23:45,820 Okay, that's what that tells me right there. 343 00:23:45,920 --> 00:23:46,500 That's a checkpoint. 344 00:23:46,720 --> 00:23:49,280 Those are the ports that a checkpoint firewall uses 345 00:23:49,280 --> 00:23:51,460 if you're going to do remote management. 346 00:23:52,920 --> 00:23:53,720 That's the ones that are going to be on the box. 347 00:23:54,060 --> 00:23:57,060 And apparently, they didn't know how to turn it off at the firewall. 348 00:23:57,240 --> 00:23:58,600 They had to do it on the router outside, 349 00:23:58,820 --> 00:24:00,660 so you couldn't manage the firewall from the outside, 350 00:24:01,480 --> 00:24:05,820 which is a shame because that would have possibly simplified a lot of things. 351 00:24:06,080 --> 00:24:11,700 But anyway, so here's the mapping of how this went with this, 352 00:24:11,760 --> 00:24:12,640 just to give you an idea. 353 00:24:13,020 --> 00:24:15,740 All right, I know who my ISPs are. 354 00:24:15,880 --> 00:24:20,360 Okay, cable and wireless and Southwestern Belt, two very, very fine 355 00:24:21,580 --> 00:24:22,600 and very sophisticated people. 356 00:24:22,600 --> 00:24:24,380 They're very secure ISPs. 357 00:24:26,160 --> 00:24:28,600 And just slowly, I go through there. 358 00:24:28,720 --> 00:24:32,440 I determine, you know, where the boxes are, who's pointing to what, 359 00:24:32,660 --> 00:24:37,260 and it was fairly easy to determine what was in the DMZ and what was not. 360 00:24:38,560 --> 00:24:43,160 And I was able to do, just with a little bit of, you know, sending the packets in 361 00:24:43,160 --> 00:24:46,560 and doing the traceroute thing here and there, but now I could tell 362 00:24:46,560 --> 00:24:52,460 that in some cases, I was getting one extra hop as I went in, and I didn't know 363 00:24:52,600 --> 00:24:56,100 if I had the exact layout internally where all this stuff's crossing over. 364 00:24:56,260 --> 00:24:59,480 But I started figuring out that they had some level of redundancy. 365 00:24:59,620 --> 00:25:02,680 There was kind of a default path for some of this stuff. 366 00:25:02,880 --> 00:25:06,360 But in other cases, they kind of had a redundant thing here. 367 00:25:06,820 --> 00:25:09,700 And I could see why they did it after I started looking a little more, 368 00:25:09,820 --> 00:25:18,280 because cable and wireless, whoever the big guy was, you know, 369 00:25:18,320 --> 00:25:22,580 UUNet or whatever, at that level, they basically had two, you know, 370 00:25:22,580 --> 00:25:28,860 these two ISPs went up to two completely different, with larger backbone providers. 371 00:25:29,100 --> 00:25:33,020 So they were working on getting, you know, a whole bunch of redundancy going there. 372 00:25:35,280 --> 00:25:39,260 And pretty much at that point, you start picking off and figuring out 373 00:25:39,260 --> 00:25:40,540 what boxes you got in there. 374 00:25:40,680 --> 00:25:48,680 And then you get to the point where you've actually started getting some real indication 375 00:25:48,680 --> 00:25:51,320 as to what the various boxes are. 376 00:25:51,580 --> 00:25:52,480 And like I said, 377 00:25:52,580 --> 00:25:56,220 this is all pretty much live data. 378 00:25:56,540 --> 00:26:00,180 So, you know, now if I'm going to attack, 379 00:26:00,340 --> 00:26:06,560 I've got a pretty good feel for what I'm going up against in there in the network. 380 00:26:10,200 --> 00:26:14,400 Something I wanted to talk about as far as I'm going to touch on this attack stuff. 381 00:26:14,480 --> 00:26:21,340 So just kind of a somewhat new, hold on here, send someone to voicemail. 382 00:26:25,720 --> 00:26:29,820 There's two types of attacks, as far as distributed attacks go. 383 00:26:29,980 --> 00:26:34,640 Those are ones that do not require direct observation of the results. 384 00:26:35,280 --> 00:26:39,400 And those attacks that do require direct observation of the results. 385 00:26:40,200 --> 00:26:42,520 Okay, and I'll give you some examples of what I mean by that. 386 00:26:43,960 --> 00:26:51,040 Basic model here, we have, and this is commonly found in your distributed denial of service. 387 00:26:52,580 --> 00:26:56,400 And that is, you have a bunch of agents sitting out on computers that have been compromised. 388 00:26:58,040 --> 00:27:00,300 The zombies that are sitting out there. 389 00:27:00,400 --> 00:27:04,400 And then you have your servers that send all their stuff to the zombies. 390 00:27:04,520 --> 00:27:06,360 By the way, I want to say something about the zombie thing. 391 00:27:06,620 --> 00:27:13,100 Because I caught a lot of shit for a zombie zapper, okay, because of the name that BindView released. 392 00:27:13,260 --> 00:27:20,100 I did not name that product marketing, name that product because they read zombie somewhere in a trade magazine. 393 00:27:20,260 --> 00:27:21,820 I just wanted to point that out while I've got. 394 00:27:22,580 --> 00:27:29,120 You know, a group of people, like, you know, whose opinion I might actually care about, you know, it's just so very scary. 395 00:27:29,340 --> 00:27:33,360 I couldn't come up with a better name, so, but, you know, nonetheless, I didn't name that. 396 00:27:33,460 --> 00:27:36,600 Anyway, so you have your agents out there. 397 00:27:36,660 --> 00:27:41,980 They receive their stuff from the various servers, and there's usually some client that talks to the server that does this. 398 00:27:43,140 --> 00:27:52,240 With the distributed denial of service, you don't need to see the results of the, and you see the responses back from those packets. 399 00:27:52,240 --> 00:27:56,940 That's what you're sending in to keep people from buying a book on Amazon for an hour and a half. 400 00:27:59,860 --> 00:28:04,120 This is a little bit more of an advanced type thing. 401 00:28:04,300 --> 00:28:05,660 ICMP and them will do this. 402 00:28:05,860 --> 00:28:10,180 That's why I forged the timestamp requests into the target. 403 00:28:10,220 --> 00:28:13,880 The timestamp replies come back, and I sniff the replies. 404 00:28:14,080 --> 00:28:20,720 And I forged the source address so that as the packets come back by, that I'm actually going to be able to sniff the replies. 405 00:28:21,420 --> 00:28:21,860 Okay. 406 00:28:22,240 --> 00:28:26,180 So, obviously, if it's your forging to address on your same segment, it's a lot easier. 407 00:28:27,720 --> 00:28:36,000 Or you'd have to compromise one of those rock-hard secure ISPs like Southwestern Bell to be able to do this kind of stuff. 408 00:28:37,400 --> 00:28:37,800 Okay. 409 00:28:37,840 --> 00:28:39,200 This is the one that's really fun. 410 00:28:39,400 --> 00:28:43,480 This is the one that I really, really, really like. 411 00:28:44,860 --> 00:28:47,200 And we'll have to go through this step by step. 412 00:28:47,400 --> 00:28:47,600 Okay. 413 00:28:47,660 --> 00:28:51,420 I've got my target, and they've got a firewall out in front. 414 00:28:51,420 --> 00:28:52,140 Okay. 415 00:28:52,400 --> 00:28:55,000 So they're all nice, neat, and secure. 416 00:28:56,400 --> 00:29:03,180 First thing I do is I break into one of those rock-solid ISPs. 417 00:29:06,420 --> 00:29:07,920 Is it just me? 418 00:29:10,240 --> 00:29:13,660 I didn't have anything to drink last night at all. 419 00:29:13,840 --> 00:29:14,520 Oh, okay. 420 00:29:14,560 --> 00:29:14,900 There we go. 421 00:29:16,000 --> 00:29:16,520 Wow. 422 00:29:16,800 --> 00:29:17,200 Okay. 423 00:29:18,040 --> 00:29:18,560 Anyway. 424 00:29:18,560 --> 00:29:22,660 You compromise one of those upstream ISPs. 425 00:29:22,860 --> 00:29:29,920 Now, this upstream host here, I am never going to send a packet from this upstream host in towards that target at all. 426 00:29:30,060 --> 00:29:34,900 This upstream host is not going to be sending any packets from me. 427 00:29:34,980 --> 00:29:37,140 It's not going to show up in any logs over there whatsoever. 428 00:29:37,440 --> 00:29:38,480 I want to protect that guy. 429 00:29:38,760 --> 00:29:38,980 Okay. 430 00:29:39,020 --> 00:29:39,520 He's gold. 431 00:29:39,900 --> 00:29:40,500 All right. 432 00:29:41,580 --> 00:29:42,180 All right. 433 00:29:42,200 --> 00:29:42,780 Next thing here. 434 00:29:44,320 --> 00:29:46,420 I've got my various attack nodes here. 435 00:29:46,800 --> 00:29:48,320 And I've got my master node. 436 00:29:48,320 --> 00:29:49,160 I've got my master node controlling them. 437 00:29:50,900 --> 00:29:55,740 And what I want to do here is if I want the attack nodes to do something to the target, 438 00:29:55,860 --> 00:30:01,540 let's say if they're doing some type of probe, they're going to scan, whatever. 439 00:30:02,240 --> 00:30:02,680 Okay. 440 00:30:03,120 --> 00:30:04,960 I control them with the master node. 441 00:30:05,080 --> 00:30:08,500 And I send my stuff up there because these attack nodes, what they're going to do, 442 00:30:11,380 --> 00:30:13,060 they'll send in their stuff through the firewall. 443 00:30:13,660 --> 00:30:17,400 Now, I may be, what I'm doing is I may be using, 444 00:30:17,400 --> 00:30:24,140 as far as a source address, I could be using a source address that is a trusted partner. 445 00:30:25,180 --> 00:30:33,100 Of course, in this whole business-to-business thing that everyone's doing with this whole e-commerce thing. 446 00:30:34,060 --> 00:30:37,580 I may have, the target may have, this goes back to public records, 447 00:30:38,160 --> 00:30:43,200 people that they're doing business with, large customers of them, large vendors for them, 448 00:30:43,380 --> 00:30:46,160 they may have extra rules in the firewall. 449 00:30:46,160 --> 00:30:52,580 And I'm pretty sure that especially the administrators in the audience will attest to that, 450 00:30:52,660 --> 00:30:53,680 how often they've had to, 451 00:30:54,360 --> 00:30:58,420 all right, we'll go ahead and open up blah, blah, blah port for what's their faces 452 00:30:58,420 --> 00:31:01,980 because they make us a lot of money or we do a lot of business with it. 453 00:31:02,080 --> 00:31:03,800 I know that I've seen it a dozen times. 454 00:31:04,540 --> 00:31:10,920 So those are the source addresses that I want to have coming in on these attacks or these various probes. 455 00:31:11,500 --> 00:31:13,280 So the replies are flying by. 456 00:31:13,420 --> 00:31:16,140 Now, where they're flying by is at upstream. 457 00:31:16,160 --> 00:31:18,100 So I can now sniff the replies. 458 00:31:19,300 --> 00:31:19,740 Okay. 459 00:31:20,280 --> 00:31:23,760 And then, of course, to kind of complete the picture, 460 00:31:26,620 --> 00:31:29,700 put a link in here between the upstream host and the master node. 461 00:31:29,880 --> 00:31:34,420 Now, what this allows me to do then is if I'm doing a scan, for example. 462 00:31:35,620 --> 00:31:36,060 Okay. 463 00:31:36,140 --> 00:31:39,340 I could tell the master node, okay, I'm going to synapse these attack nodes. 464 00:31:39,400 --> 00:31:40,040 I'm going to do the scan. 465 00:31:41,160 --> 00:31:42,060 Replies come back. 466 00:31:43,060 --> 00:31:45,460 I get the sniffed replies in this upstream host. 467 00:31:45,460 --> 00:31:50,100 And then through a covert channel, he communicates back to the master node. 468 00:31:50,140 --> 00:31:57,180 This is all done with encryption and all that, probably using ICMP or something like that to communicate. 469 00:31:58,640 --> 00:32:01,860 And so I can also kind of expand upon this. 470 00:32:01,980 --> 00:32:07,920 And I can say, let's say that I want to do something that's going to involve a TCP three-way handshake, for example. 471 00:32:08,220 --> 00:32:11,220 So what I can do is I can send from the master node to the attack nodes. 472 00:32:11,580 --> 00:32:15,140 The attack nodes go ahead and send in their attacks. 473 00:32:15,940 --> 00:32:16,420 Boom. 474 00:32:17,140 --> 00:32:18,860 We pick it back up in the sniffer. 475 00:32:18,880 --> 00:32:19,860 The reply comes out. 476 00:32:19,980 --> 00:32:23,140 I can send that information back to the master node. 477 00:32:23,280 --> 00:32:25,120 And I can continue that whole cycle there. 478 00:32:25,400 --> 00:32:29,840 And I can actually have a conversation where I'm actually engaging in an attack. 479 00:32:30,460 --> 00:32:37,560 And there is nothing in those logs over there whatsoever on the firewall or anything on the target that's going to reveal my true address. 480 00:32:38,160 --> 00:32:41,740 So that's kind of the whole idea behind this. 481 00:32:41,880 --> 00:32:45,080 Some other things that make this more fun. 482 00:32:45,460 --> 00:32:51,040 One is that as far as the upstream host goes, when he's sending information up here to the master node, 483 00:32:51,240 --> 00:32:55,920 he's going to use roughly the same type of technique that I'm using to grab these sniffed replies. 484 00:32:56,900 --> 00:33:00,100 All these replies, they're destined for some place over here. 485 00:33:00,780 --> 00:33:04,220 The sniffer that's running here on the upstream host just knows what to pick up. 486 00:33:04,480 --> 00:33:05,680 I'm going to do the same thing. 487 00:33:05,780 --> 00:33:08,760 I don't send this stuff from the upstream host directly to the master node. 488 00:33:09,480 --> 00:33:15,100 I send it to somewhere on his same segment or somewhere past him to where he's going to pick it up sniffing. 489 00:33:15,460 --> 00:33:18,720 And it's the same thing I'm going to do for sending from the master node to the attack nodes. 490 00:33:19,060 --> 00:33:21,100 I'm not going to send directly to those IP addresses. 491 00:33:21,600 --> 00:33:22,780 I'll send to those segments. 492 00:33:22,860 --> 00:33:24,980 I'll send somewhere along the way. 493 00:33:27,300 --> 00:33:28,780 Obviously, that's kind of complex. 494 00:33:28,940 --> 00:33:32,520 If you own Unet, then you're probably... 495 00:33:32,980 --> 00:33:34,860 This is going to be a lot easier to set up. 496 00:33:34,980 --> 00:33:39,600 But that's kind of the model, kind of the idea behind all this. 497 00:33:42,000 --> 00:33:44,980 And no, I don't have the software written for this, okay? Sorry. 498 00:33:47,560 --> 00:33:50,400 But I'm sure someone will come up with it. 499 00:33:50,520 --> 00:33:58,680 I did a talk at SANS sometime last year, way before the distributed denial of service. 500 00:33:59,000 --> 00:34:03,820 And I was talking about some of this stuff on a much smaller scale. 501 00:34:04,080 --> 00:34:10,020 And then, boom, you know, I get an email from someone after all the distributed denial of service stuff 502 00:34:10,020 --> 00:34:11,900 from someone that saw the talk at SANS and said, 503 00:34:11,940 --> 00:34:14,920 You know, I think they looked at your presentation. 504 00:34:14,920 --> 00:34:16,760 They ripped you off, dude, because they... 505 00:34:16,760 --> 00:34:18,300 You know, it's kind of the stuff you're doing. 506 00:34:19,500 --> 00:34:23,260 Well, probably, I would expect the national evolution as this stuff moves along. 507 00:34:23,340 --> 00:34:24,200 This is going to be... 508 00:34:24,200 --> 00:34:27,180 I would think this would be the next type thing. 509 00:34:29,620 --> 00:34:30,360 Free stuff. 510 00:34:30,680 --> 00:34:34,380 We're kind of getting towards the end of the presentation here. 511 00:34:35,660 --> 00:34:40,600 The vendor that paid, or my boss, is BindView. 512 00:34:40,740 --> 00:34:44,620 So it's sort of the vendor that's supplying some software. 513 00:34:44,920 --> 00:34:46,360 And I'm wearing their shirt. 514 00:34:46,540 --> 00:34:48,400 And they paid my plane ticket out here. 515 00:34:48,800 --> 00:34:53,280 You know, I should at least go ahead and plug the product I work on during the day. 516 00:34:55,800 --> 00:35:03,680 The SANS came out with a list of the top ten security things that you all need to check for. 517 00:35:04,040 --> 00:35:05,660 I think all it was was just a list. 518 00:35:05,740 --> 00:35:07,200 So attackers now had a list. 519 00:35:07,260 --> 00:35:08,400 Oh, I'll just try these first. 520 00:35:08,740 --> 00:35:12,080 But, you know, they've got the list here. 521 00:35:12,080 --> 00:35:14,840 And HackerShield has what they call a rapid-fire update. 522 00:35:14,920 --> 00:35:17,140 HackerShield is a security scanner. 523 00:35:17,920 --> 00:35:20,340 Has an update, an all-inclusive update. 524 00:35:20,460 --> 00:35:24,940 You can download HackerShield for free off the net and load in this thing. 525 00:35:25,020 --> 00:35:26,060 And it's good for 30 days. 526 00:35:26,220 --> 00:35:29,460 And I think it's like 25 IP addresses and whatnot. 527 00:35:30,640 --> 00:35:36,160 Vlad the Scanner is what the BindView Razor team put together. 528 00:35:36,420 --> 00:35:39,600 It's a security scanner that only does the SANS top ten. 529 00:35:40,880 --> 00:35:41,360 Okay. 530 00:35:42,080 --> 00:35:42,180 It's not limited. 531 00:35:43,060 --> 00:35:44,260 But it is freeware. 532 00:35:44,440 --> 00:35:45,080 It's open source. 533 00:35:45,300 --> 00:35:46,620 You can get it out off the Razor website. 534 00:35:47,460 --> 00:35:49,440 It has some pretty cool stuff in it. 535 00:35:49,700 --> 00:35:57,480 One of the things it has in it, it has a pretty nice and neat CGI scanner. 536 00:35:58,100 --> 00:36:01,340 It doesn't do any of the evasion stuff that Whisker does. 537 00:36:02,680 --> 00:36:07,240 And until I talked to RFP, I thought that we were doing more checks than he was. 538 00:36:07,340 --> 00:36:09,280 But no, it's 1.4. 539 00:36:09,520 --> 00:36:12,060 That's either just coming out. 540 00:36:12,060 --> 00:36:13,520 Or it will be out there very soon. 541 00:36:13,640 --> 00:36:15,500 It's going to have probably ten times as many. 542 00:36:15,640 --> 00:36:17,480 Which, you know, bummer. 543 00:36:17,860 --> 00:36:21,900 I'll have to snarf more stuff from him to get this up to speed. 544 00:36:22,140 --> 00:36:24,980 But that's a pretty cool thing that's in there. 545 00:36:25,060 --> 00:36:28,500 The other thing that's in there is we're calling it kind of a protocol scanner. 546 00:36:29,120 --> 00:36:32,960 And it has to test the user IDs and passwords. 547 00:36:33,400 --> 00:36:35,520 You know, it has to have weak user IDs and passwords. 548 00:36:36,060 --> 00:36:40,540 And Vlad does telnet, rlogin. 549 00:36:42,260 --> 00:36:42,580 Pop3. 550 00:36:43,280 --> 00:36:43,600 IMAP. 551 00:36:45,600 --> 00:36:46,520 What else does it do? 552 00:36:46,680 --> 00:36:47,780 I'm missing a couple here. 553 00:36:48,220 --> 00:36:48,960 Oh, SMB. 554 00:36:52,220 --> 00:36:53,160 Todd, where are you helping? 555 00:36:53,220 --> 00:36:53,540 I can't remember. 556 00:36:53,700 --> 00:36:54,480 Oh, SSH. 557 00:36:55,500 --> 00:36:56,140 I think I said. 558 00:36:56,180 --> 00:36:57,680 There's like six or seven of them that it does. 559 00:37:01,360 --> 00:37:10,160 The SSH one is kind of cool because I don't think there's very many, you know, like dictionary style things that you can use to go ahead and go after. 560 00:37:11,620 --> 00:37:12,140 SSH. 561 00:37:12,740 --> 00:37:16,300 Just, you know, saying user IDs and passwords and whatnot and have the thing actually automated. 562 00:37:16,620 --> 00:37:24,840 We don't have a huge amount of default accounts and passwords listed in the supplied databases. 563 00:37:25,180 --> 00:37:28,220 But obviously, you could all supply your own. 564 00:37:29,720 --> 00:37:35,160 And the final thing, which is kind of a fun tool, is called dspoof. 565 00:37:37,280 --> 00:37:40,140 And if I'm getting scanned or I'm getting a package. 566 00:37:40,140 --> 00:37:47,340 I'm getting a packet coming in and I'm thinking, hey, is this thing really, you know, a forged packet or is it the real thing or not? 567 00:37:47,800 --> 00:37:50,700 It'd be a kind of a, there should be kind of a good way to kind of tell. 568 00:37:50,840 --> 00:37:54,740 And what this does, dspoof actually checks the TTL. 569 00:37:54,820 --> 00:38:01,140 It sends a packet out and tries to determine the real TTL from where I received the packet from. 570 00:38:01,460 --> 00:38:04,920 So obviously, you're not going to say, okay, I got the packet I suspect is forged. 571 00:38:05,400 --> 00:38:08,400 Let's say it has a TTL in it of, say, 50. 572 00:38:10,140 --> 00:38:14,580 Now I'm going to check that and test it by sending a query packet out to that address. 573 00:38:15,180 --> 00:38:16,600 And I get a response back. 574 00:38:17,240 --> 00:38:18,800 And I look at that TTL. 575 00:38:18,880 --> 00:38:21,960 If they match, then it's probably the real thing. 576 00:38:22,200 --> 00:38:26,400 If not, then maybe the thing is forged, especially if it's way off. 577 00:38:26,580 --> 00:38:28,020 So that's kind of a way that you can check. 578 00:38:28,120 --> 00:38:32,340 It's kind of a fun thing that you can do with that TTL. 579 00:38:32,460 --> 00:38:36,620 Anyway, the things, these tools just got put up there on the Razor website. 580 00:38:36,780 --> 00:38:39,760 And I encourage you to all go out there and download them and have some fun with them. 581 00:38:41,720 --> 00:38:43,820 Be careful with Vlad the Scanner. 582 00:38:43,920 --> 00:38:48,220 If you're the kind of person that just likes to point it at whatever, okay, 583 00:38:48,260 --> 00:38:55,060 the protocol scanner thing is actually going to be considered intrusion into the system. 584 00:38:55,100 --> 00:38:58,160 You're trying user IDs and passwords. 585 00:38:58,360 --> 00:39:01,580 But pretty much everything else is just you're looking to see if a file is there, 586 00:39:01,660 --> 00:39:03,460 if a service is running or something. 587 00:39:06,460 --> 00:39:09,780 I wanted to say thanks to a couple of people here. 588 00:39:10,680 --> 00:39:13,640 I'm not sure how to pronounce Ofan Arkin's name. 589 00:39:13,780 --> 00:39:14,960 I hope I just pronounced it correctly. 590 00:39:15,900 --> 00:39:24,680 Some of the ICMP stuff I've been discussing up until Friday when I got over here to DEF CON was theory. 591 00:39:25,100 --> 00:39:28,740 And he's already been doing a whole lot of research on that. 592 00:39:28,860 --> 00:39:32,820 So a lot of the theory stuff, he was able to pull something out of his backpack and says, 593 00:39:32,920 --> 00:39:37,400 no, dude, I've already checked this out, and here's some more information on it. 594 00:39:37,420 --> 00:39:39,340 So look for DSPOOF to get updated. 595 00:39:40,900 --> 00:39:42,260 I put the link to the document up there. 596 00:39:42,260 --> 00:39:43,820 And then the NMRC website, I'm going to start updating the thing a little bit. 597 00:39:43,820 --> 00:39:48,720 And then Donald McLaughlin was the one that put me on the path about the whole tricks, 598 00:39:48,820 --> 00:39:52,740 all the tricks with TTL and whatnot. 599 00:39:53,100 --> 00:39:56,860 And so he deserves some credit on that as well. 600 00:39:57,000 --> 00:39:59,500 I want to make sure that I mentioned those guys' names. 601 00:40:01,660 --> 00:40:07,080 And as far as follow-up goes, obviously the NMRC website, 602 00:40:07,460 --> 00:40:10,120 and I promise I'm going to start updating the thing a little bit. 603 00:40:10,120 --> 00:40:14,280 little bit better than i have been i know that i've been bad about that uh but also look out 604 00:40:14,280 --> 00:40:18,780 on the razor website half of what i've been working on usually ends up out there anyway 605 00:40:18,780 --> 00:40:24,340 and probably some of the things that we work on on razor that aren't exactly politically correct 606 00:40:24,340 --> 00:40:30,620 to be stuck out on um on the razor website will probably end up on the nmrc website so that's kind 607 00:40:30,620 --> 00:40:35,960 of a thing to know and then i got my email addresses there uh that's pretty much it if 608 00:40:35,960 --> 00:40:40,980 you've got some questions feel free to fire away yes 609 00:41:07,600 --> 00:41:14,500 okay uh the comment was about wanting some comments on uh how some people will modify 610 00:41:14,500 --> 00:41:20,940 their kernels or modify whatever so that when you're getting an nmap scan uh that's trying to 611 00:41:20,940 --> 00:41:27,640 do a fingerprint uh maybe it's doing something you know maybe it's saying oh i'm not really this os 612 00:41:27,640 --> 00:41:34,840 i'm actually a printer or something else like that yeah i mean that's where i think this icmp 613 00:41:34,840 --> 00:41:35,260 stuff 614 00:41:35,960 --> 00:41:41,700 that uh often has come up with uh is going to be pretty interesting and matter of fact one of the 615 00:41:41,700 --> 00:41:47,320 things i'm going to get when i get back home is uh probably to work on a scanner of some type that 616 00:41:47,320 --> 00:41:52,320 actually uses icmp to do fingerprinting that's that's what i mean as far as like as far as 617 00:41:52,320 --> 00:41:59,040 spouting a honeypot uh if you've got something that shows up on uh nmap is one thing but then 618 00:41:59,040 --> 00:42:04,440 you look at some some of the responses coming back from icmp and it just says this is a completely 619 00:42:04,440 --> 00:42:05,360 different ip stack 620 00:42:05,960 --> 00:42:08,260 that maybe i've got something funky happening there 621 00:42:10,820 --> 00:42:12,200 any other questions 622 00:42:16,520 --> 00:42:21,240 okay i guess not i want to thank each and every one of you for coming visiting my website 623 00:42:21,740 --> 00:42:24,860 i appreciate it a lot thank you and blessed be 624 00:42:24,860 --> 00:42:25,300 you