1 00:00:00,000 --> 00:00:01,700 How you doing? I'm going to be with you in just a second. 2 00:00:02,460 --> 00:00:05,640 I have three versions, we have three versions of this show. 3 00:00:06,460 --> 00:00:12,600 And the idea to give you guys a choice for versions kind of came from an old game called Leather Goddesses of Phobos. 4 00:00:13,000 --> 00:00:14,120 Anybody ever play that? 5 00:00:14,860 --> 00:00:15,980 Yeah, I see a lot of hands. 6 00:00:17,140 --> 00:00:21,800 Leather Goddesses had three modes. They had tame, they had moderate, and they had lewd. 7 00:00:22,040 --> 00:00:24,520 How many people want a tame presentation? 8 00:00:27,820 --> 00:00:31,200 Ooh, how many people want a moderate presentation? 9 00:00:36,300 --> 00:00:38,560 Okay, how many people want a lewd presentation? 10 00:00:39,120 --> 00:00:39,620 Okay! 11 00:00:48,200 --> 00:00:52,000 Is it too early for beer at DEFCON? It's like barely noon. 12 00:00:54,520 --> 00:00:57,600 Is it better if it has fruit, like for breakfast? Does that work better? 13 00:00:59,980 --> 00:01:01,260 Okay, so lewd it is. 14 00:01:02,640 --> 00:01:03,460 Fuck, it ain't right. 15 00:01:05,800 --> 00:01:11,160 So, quick introduction. So, I'm Matt Richard. I work for iDefense, a group of, part of VeriSign. 16 00:01:11,800 --> 00:01:18,060 I, um, my background is I worked in financial services for about ten years and doing network ops and security ops 17 00:01:18,060 --> 00:01:20,220 and then came to VeriSign and just kind of hang out. 18 00:01:20,380 --> 00:01:24,420 So, we have a quick talk on exploitability and extrusion. 19 00:01:24,520 --> 00:01:32,220 So, it's a quick background, something I wrote, um, as a sort of a hobby just from hanging around and, uh, being on different networks. 20 00:01:32,560 --> 00:01:35,740 And, uh, Fred's going to join me. Fred's going to talk a little bit more on the risk angle. 21 00:01:37,040 --> 00:01:40,580 Oh, yeah, this is, uh, I'm Fred Doyle. I'm the director of the iDefense Research Lab. 22 00:01:41,620 --> 00:01:46,200 Um, I see some people in here that were at our party the other night. I think we had a party. 23 00:01:46,880 --> 00:01:48,420 I remember a party, kind of. 24 00:01:49,440 --> 00:01:51,640 So, um, I'm hoarse from that party still. 25 00:01:52,080 --> 00:01:53,120 We had a good time, though. 26 00:01:53,140 --> 00:01:54,420 So, everybody who joined us on that. 27 00:01:54,520 --> 00:01:55,200 Thanks a lot for coming. 28 00:01:57,560 --> 00:02:00,580 And we're not using the same PC that the presentation was written on. 29 00:02:00,640 --> 00:02:01,700 So, we've got a couple little issues. 30 00:02:04,120 --> 00:02:04,400 Apple. 31 00:02:06,560 --> 00:02:08,440 So, one of the quick things, just to get out of the way. 32 00:02:08,480 --> 00:02:09,580 I tend to talk a little fast. 33 00:02:09,780 --> 00:02:12,180 So, if I start rolling too fast, just throw a beer at me. 34 00:02:12,200 --> 00:02:14,280 I'll stop, drink it, slow down, and we'll be good to go. 35 00:02:16,880 --> 00:02:17,740 So, a quick agenda. 36 00:02:17,880 --> 00:02:23,260 So, we're just going to go through some background on why would you need a tool like extrusion and exploitability scanning. 37 00:02:23,460 --> 00:02:23,940 What does it mean? 38 00:02:25,400 --> 00:02:27,760 Um, why is vulnerability assessment not enough? 39 00:02:27,940 --> 00:02:29,700 What, uh, what does it do and doesn't it do? 40 00:02:29,880 --> 00:02:32,780 And by no means are we going to spend, like, 45 minutes on this. 41 00:02:32,860 --> 00:02:34,020 So, don't, don't walk out yet. 42 00:02:34,740 --> 00:02:36,420 Um, we're going to talk a little bit about extruders. 43 00:02:36,480 --> 00:02:41,840 And then we're going to get into the cool details of EE scan, what it does, how it does it, and some of the different cool things it can do. 44 00:02:42,400 --> 00:02:49,520 Um, and then go through a couple of real world examples with the code and how it works and, uh, how you can use it for different, uh, test different things. 45 00:02:50,340 --> 00:02:52,760 Fred's going to talk a little bit about the, uh, risk angle to it. 46 00:02:52,780 --> 00:02:54,500 Like, now that you know, like, all the things that we're going to talk about. 47 00:02:54,500 --> 00:02:55,600 All these crazy things that are allowed. 48 00:02:55,820 --> 00:02:57,260 What kind of hostile networks you're on. 49 00:02:57,460 --> 00:02:59,340 What is the risk level of that kind of stuff. 50 00:02:59,840 --> 00:03:03,680 And then, uh, finally I've got some real data from when the tool was run on real networks. 51 00:03:03,940 --> 00:03:07,700 Um, especially through, like, real world intrusion prevention and proxy systems. 52 00:03:07,900 --> 00:03:13,240 So, we're going to look a little bit at the, at some data to see, like, what kind of attacks do things actually block. 53 00:03:13,420 --> 00:03:15,760 You know, look at some of the exploitability data and go through that. 54 00:03:18,180 --> 00:03:19,860 So, just a couple of quick definitions. 55 00:03:20,080 --> 00:03:22,060 I don't know, uh, if you can see the image there. 56 00:03:22,160 --> 00:03:24,080 But exploitability apparently isn't really a word. 57 00:03:24,500 --> 00:03:25,580 I've just been using it for a while. 58 00:03:25,720 --> 00:03:28,200 So, uh, nothing actually recognizes it. 59 00:03:28,300 --> 00:03:32,520 But, what I, in the context that I use, it's basically, when we're looking at exploitability, 60 00:03:32,780 --> 00:03:34,940 it's something exploitable through a series of defenses. 61 00:03:35,180 --> 00:03:40,360 So, a lot of enterprise networks have intrusion prevention, proxies, and, you know, 15 different layers. 62 00:03:40,460 --> 00:03:43,300 The defense in depth model to, uh, try to block attacks. 63 00:03:43,560 --> 00:03:47,180 And we just want to know, through all those defenses, is something actually exploitable. 64 00:03:47,320 --> 00:03:48,160 We don't care if it's vulnerable. 65 00:03:48,320 --> 00:03:49,580 We just want to know if it's exploitable. 66 00:03:49,680 --> 00:03:50,640 Can exploits get through? 67 00:03:51,000 --> 00:03:53,840 Can we obfuscate them and do things to actually get it to pass through? 68 00:03:55,000 --> 00:03:57,840 And then, uh, extrusion, very basic definition there. 69 00:03:57,940 --> 00:03:59,880 You know, what kind of traffic can we get to leave a network? 70 00:04:00,260 --> 00:04:04,780 Can we use, uh, you know, a lot of people try to lock down protocols and what can be used on their network. 71 00:04:04,920 --> 00:04:10,180 So, we're, the E-scan framework gives us a way to test, you know, different protocols and different ports 72 00:04:10,180 --> 00:04:11,760 to see what can we actually get out of a network. 73 00:04:14,620 --> 00:04:17,320 Okay, we're gonna start out here with, uh, what I call the Ripley moment. 74 00:04:17,660 --> 00:04:23,200 And, uh, there was a time when a lot of people, not everybody, but a lot of people, most people, in fact, 75 00:04:23,240 --> 00:04:24,380 thought that the internet was safe. 76 00:04:24,740 --> 00:04:27,840 In fact, I remember when I had a consulting firm in a computer store, 77 00:04:28,380 --> 00:04:35,540 my clients were forced to buy a $1,200 firewall, which, by the way, I set up using Linux and IP chains. 78 00:04:35,860 --> 00:04:37,940 Who, did they couple to the modem in this, in this slide? 79 00:04:38,320 --> 00:04:41,300 Yeah, yeah, yeah, always had a modem, yeah. 80 00:04:41,760 --> 00:04:45,000 Who set up, uh, Linux with IP chains, just a show of hands? 81 00:04:45,640 --> 00:04:46,920 Oh, my God, you're still alive. 82 00:04:49,040 --> 00:04:50,780 That's a good thing, because it was a pain in the ass. 83 00:04:50,860 --> 00:04:51,860 Uh, tables, a lot easier. 84 00:04:52,100 --> 00:04:54,480 But anyhow, so, um, a lot of people thought that the internet was safe. 85 00:04:54,500 --> 00:04:57,240 Uh, Code Red, for example, came out. 86 00:04:57,280 --> 00:05:02,160 All my clients, because it was, of course, on the news, it's like, am I, am I in danger? 87 00:05:02,420 --> 00:05:05,840 No, remember that $1,200 device you didn't want to buy, but I made you? 88 00:05:05,940 --> 00:05:07,160 So you're all set, right? 89 00:05:07,840 --> 00:05:11,160 But bottom line is this, um, next slide, please. 90 00:05:12,780 --> 00:05:13,880 Obviously, it's not the case. 91 00:05:14,000 --> 00:05:16,980 Once we had one bad person on the internet, everything became bad. 92 00:05:18,600 --> 00:05:20,640 And that's why we're here today, all right? 93 00:05:22,200 --> 00:05:24,320 Now, what we did, of course, we, uh, developed fields 94 00:05:24,500 --> 00:05:26,520 of fire, we said, okay, there's things that we can't control. 95 00:05:26,620 --> 00:05:27,720 We'll never control the internet. 96 00:05:27,900 --> 00:05:31,500 We can't control, you know, anything behind our modem. 97 00:05:33,800 --> 00:05:36,200 And we're mostly facing forward, okay? 98 00:05:36,260 --> 00:05:37,760 We are looking forward, looking at threats. 99 00:05:38,000 --> 00:05:40,880 And when we do pen testing, we test from the outside looking in. 100 00:05:41,200 --> 00:05:44,600 But what we, what we determined that a good way to, uh, solve all these problems 101 00:05:44,600 --> 00:05:50,580 is to add layer after layer after layer after layer of security. 102 00:05:51,860 --> 00:05:53,240 And that's where we are today. 103 00:05:53,240 --> 00:05:55,640 Now, thanks. 104 00:05:56,860 --> 00:05:58,920 We, uh, had planned this for remote control. 105 00:05:59,900 --> 00:06:04,180 All right, vulnerability assessment, these are all the things that we try to do 106 00:06:04,180 --> 00:06:06,380 traditionally to find out how secure we are. 107 00:06:06,460 --> 00:06:11,060 We do vulnerability asses- assessment, you know, is there something that can be attacked? 108 00:06:11,260 --> 00:06:13,580 Penetration testing, of course, we all know what that is. 109 00:06:13,960 --> 00:06:16,880 Risk assessment, um, you know, we're in Vegas. 110 00:06:17,340 --> 00:06:20,740 Who here has done good risk assessment in the past? 111 00:06:21,260 --> 00:06:22,000 Raise your hand. 112 00:06:23,240 --> 00:06:26,780 Okay, of those with your hands up, how many lost money at the tables? 113 00:06:29,660 --> 00:06:30,900 Yeah, my hand's still up. 114 00:06:32,600 --> 00:06:38,560 Okay, uh, risk assessments, uh, any software vendors in here? 115 00:06:39,080 --> 00:06:41,580 If there are software vendors in here, please cover your ears. 116 00:06:42,060 --> 00:06:46,240 Because I'm going to tell you right now, software vendors don't do risk assessment. 117 00:06:46,460 --> 00:06:47,220 They're whores. 118 00:06:48,260 --> 00:06:49,060 They're hookers. 119 00:06:50,800 --> 00:06:52,480 And I had to say that for two reasons. 120 00:06:53,240 --> 00:06:54,600 I had to say that for two reasons. 121 00:06:54,720 --> 00:06:58,720 Reason number one, um, I want to be able to deduct the expense from the other night. 122 00:07:00,380 --> 00:07:06,100 Reason number two is because the software consumer is just like a John. 123 00:07:06,600 --> 00:07:10,240 They want it, the hooker- the vendors want to give it to us, 124 00:07:10,280 --> 00:07:11,660 and we don't care about the risk. 125 00:07:11,760 --> 00:07:13,420 We're going to get into more of that later. 126 00:07:13,680 --> 00:07:14,160 Okay, Matt. 127 00:07:14,740 --> 00:07:18,760 So, um, so one of the other things, and this is kind of where a lot of my background is from, 128 00:07:18,800 --> 00:07:19,660 is ad hoc testing. 129 00:07:20,160 --> 00:07:22,260 Um, so in doing pen tests and everything else, 130 00:07:22,260 --> 00:07:25,320 I mean, a lot of stuff, good testers just sort of makes you up on the fly, right? 131 00:07:25,420 --> 00:07:27,000 Like, you don't necessarily have a plan. 132 00:07:27,080 --> 00:07:27,840 You just start looking at stuff. 133 00:07:27,860 --> 00:07:28,940 You just start making things up. 134 00:07:29,040 --> 00:07:31,380 And the real problem with it is it's not necessarily repeatable. 135 00:07:31,420 --> 00:07:32,120 It's not a framework. 136 00:07:32,320 --> 00:07:34,580 You know, you just, you see an opportunity, you dive at it. 137 00:07:34,620 --> 00:07:35,260 It's very ad hoc. 138 00:07:36,200 --> 00:07:38,940 Um, that's a lot of where the eScan tool came from, 139 00:07:39,020 --> 00:07:42,660 is I used to do a lot of testing and just, uh, just try stuff out, put it in the report, 140 00:07:42,800 --> 00:07:45,880 and then eventually I realized maybe it would be nice to actually have a framework 141 00:07:45,880 --> 00:07:48,240 to make it a little bit more repeatable and make it work a little bit better 142 00:07:48,720 --> 00:07:51,560 and get some better data out of it that could be compared against each other. 143 00:07:52,380 --> 00:07:55,520 So the big thing missing with all these, uh, traditional security assurance 144 00:07:56,120 --> 00:07:59,480 is, uh, how effective is this stuff at preventing attacks against users? 145 00:07:59,920 --> 00:08:01,980 So we're gonna go into, uh, vulnerability assessment 146 00:08:01,980 --> 00:08:05,580 and why that's, uh, why it only does half the job and is only half broken. 147 00:08:06,660 --> 00:08:09,000 So the key behind vulnerability assessment, right, 148 00:08:09,060 --> 00:08:11,040 is you have, uh, some kind of external stimulus 149 00:08:11,040 --> 00:08:13,100 and you measure the response and you determine, you know, 150 00:08:13,100 --> 00:08:15,720 through a banner, through a test, whether something's vulnerable or not. 151 00:08:16,480 --> 00:08:19,400 What that doesn't measure is it doesn't measure what happens 152 00:08:19,400 --> 00:08:21,720 when things inside your network generate a stimulus 153 00:08:22,260 --> 00:08:23,980 and what the response is, right? 154 00:08:24,040 --> 00:08:26,160 So most vulnerability assessment tools are very geared at that, 155 00:08:26,240 --> 00:08:29,460 what's listening, what can we talk to that gives us something back, 156 00:08:29,680 --> 00:08:32,160 not what might talk to us that we can give something back. 157 00:08:32,600 --> 00:08:35,720 So EE Scan's an attempt to, uh, to dive into that arena a bit. 158 00:08:36,680 --> 00:08:40,020 So we talked before about, um, about defense in depth. 159 00:08:40,180 --> 00:08:43,420 You've got all these layers and obviously no defense in depth system is perfect, 160 00:08:43,560 --> 00:08:45,700 otherwise you wouldn't need the depth to begin with. 161 00:08:45,860 --> 00:08:49,100 So there's always those cracks, uh, always the cracks in the system, 162 00:08:49,200 --> 00:08:51,320 the little ways things can get out, things can get in between. 163 00:08:52,260 --> 00:08:53,260 Everything protects against everything. 164 00:08:53,420 --> 00:08:55,960 So we want to measure some of those, uh, some of the cracks 165 00:08:55,960 --> 00:08:58,880 and try to find them and use a framework to try to get at those cracks. 166 00:09:00,340 --> 00:09:03,940 When I was doing, uh, enterprise security, um, one of the things that always cracked me up 167 00:09:03,940 --> 00:09:07,100 is, like, CISOs have a big budget, right, and they want to spend lots of money 168 00:09:07,100 --> 00:09:08,740 and there's lots of flashy things they want to buy. 169 00:09:08,880 --> 00:09:12,320 So you spend, like, $15 billion this year and you get, like, 17 new gadgets 170 00:09:12,320 --> 00:09:15,240 and nobody actually knows, like, what works and what doesn't work. 171 00:09:15,320 --> 00:09:18,060 It just gets, like, deployed and there's a bunch of stuff out on the network 172 00:09:18,060 --> 00:09:22,040 and nobody really does much testing to see, like, does our new shiny IPS 173 00:09:22,260 --> 00:09:25,500 actually, like, block anything? Does data leakage do anything at all? 174 00:09:25,860 --> 00:09:27,260 Uh, you know, things like that. 175 00:09:27,960 --> 00:09:30,300 Um, and one of the other challenges, too, one of the things that makes 176 00:09:30,300 --> 00:09:33,440 defense in depth so hard is that protocols are really complex, 177 00:09:33,640 --> 00:09:35,240 especially things like HTTP. 178 00:09:35,940 --> 00:09:38,260 Um, there's so many things that can happen in HTTP. 179 00:09:38,340 --> 00:09:41,920 You've got layer on layer within HTTP, you've got JavaScript and Flash 180 00:09:41,920 --> 00:09:45,120 and, you know, it's pretty much a whole stack unto itself. 181 00:09:48,480 --> 00:09:49,920 Oh, one of the things I forgot to mention. 182 00:09:50,020 --> 00:09:52,040 If there's any questions as we go along, throw them out. 183 00:09:52,480 --> 00:09:55,100 By all means, you know, not everything's complete on the slide, 184 00:09:55,220 --> 00:09:57,000 so if you see we're missing something, throw it out. 185 00:09:57,800 --> 00:10:00,000 Um, so back to the vulnerability assessment gig. 186 00:10:00,480 --> 00:10:04,080 So one of the issues with VA, you know, you only check what's listening 187 00:10:04,080 --> 00:10:07,980 and, of course, browsers and clients, like users, don't listen at all. 188 00:10:08,480 --> 00:10:10,980 Although, so I was doing some research for the presentation. 189 00:10:11,240 --> 00:10:13,940 One of the things I found, there's actually a Firefox add-on 190 00:10:14,400 --> 00:10:18,040 that creates a web server within Firefox, and that is awesome. 191 00:10:19,420 --> 00:10:22,100 Um, so we're going to go through and we're going to create a framework 192 00:10:22,260 --> 00:10:26,720 that sees, um, if our protections are easily bypassed, you know, 193 00:10:26,740 --> 00:10:29,940 are we blocking common attacks, not, uh, bizarre things. 194 00:10:31,800 --> 00:10:35,000 Oh, yeah, and the other interesting thing, being in the enterprise world, 195 00:10:35,060 --> 00:10:38,680 is that there are actually people that don't patch because they think 196 00:10:38,680 --> 00:10:41,580 all the devices they spent $15 billion on actually do something. 197 00:10:41,920 --> 00:10:44,720 So they say, oh, no, no, we don't need to patch against, uh, on Black Tuesday 198 00:10:44,720 --> 00:10:46,880 because our IPS already has a signature for that. 199 00:10:47,000 --> 00:10:48,580 So we're safe, we're going to be good to go. 200 00:10:51,580 --> 00:10:54,080 So, and one of the other problems, so when you get into big enterprises, 201 00:10:54,280 --> 00:10:56,600 you know, you have 100 users, patching is easy, right? 202 00:10:56,660 --> 00:10:59,540 That's everybody's answer, how do you, how do you solve the vulnerability issue patch? 203 00:11:00,100 --> 00:11:02,420 100 users, easy, not that many applications. 204 00:11:03,020 --> 00:11:05,840 What about when you get into, like, 350,000 workstations? 205 00:11:06,440 --> 00:11:09,680 Not necessarily as easy to figure out, uh, who's patched and who's not. 206 00:11:10,340 --> 00:11:12,100 Um, stuff just falls through the cracks. 207 00:11:12,220 --> 00:11:15,580 I mean, even .01%, that still leaves you a bunch of machines to get owned. 208 00:11:15,760 --> 00:11:18,560 And at Citibank, 35 exploited machines might get patched. 209 00:11:18,580 --> 00:11:19,460 Might not be a good thing. 210 00:11:20,740 --> 00:11:23,700 So in larger networks, you usually have more complex systems. 211 00:11:23,820 --> 00:11:24,660 Nobody tracks everything. 212 00:11:24,860 --> 00:11:26,180 You have ATMs running Windows. 213 00:11:26,540 --> 00:11:28,640 You've got camera systems running Windows. 214 00:11:28,840 --> 00:11:30,540 All the black box stuff from vendors. 215 00:11:30,780 --> 00:11:32,220 Nobody knows what runs on anything. 216 00:11:35,840 --> 00:11:41,140 So, um, what I want to do is I want to add, uh, a little, uh, item to the vulnerability assessment. 217 00:11:41,420 --> 00:11:42,900 Extrusion exploitability assessment. 218 00:11:43,260 --> 00:11:45,080 And so add in all this stuff we've talked about. 219 00:11:45,180 --> 00:11:45,800 Measure the risk. 220 00:11:46,260 --> 00:11:48,160 Um, and I want to try some cool things, too. 221 00:11:48,160 --> 00:11:50,700 Like, I want to look at, like, common attacks that are out there, like MPAC. 222 00:11:51,060 --> 00:11:54,900 If our IPS blocks one exploit, does it actually block, like, what MPAC does? 223 00:11:55,440 --> 00:12:00,720 And for those that don't know, MPAC is, uh, the Russian attack toolkit that's been widely used. 224 00:12:00,820 --> 00:12:03,600 It was part of the Italian job a couple of, uh, months ago. 225 00:12:04,140 --> 00:12:07,320 But it's got, uh, eight or nine different exploits in it. 226 00:12:07,360 --> 00:12:09,240 It's got a whole bunch of different encoding mechanisms. 227 00:12:09,660 --> 00:12:11,760 And it's sold for $1,000 on the underground. 228 00:12:15,740 --> 00:12:17,000 So, what are we missing? 229 00:12:18,420 --> 00:12:19,960 The text for the slide, obviously. 230 00:12:22,640 --> 00:12:27,780 So, another thing that's missing from the vulnerability assessment game is, uh, the extrusion stuff. 231 00:12:27,900 --> 00:12:28,780 What can leave our network? 232 00:12:28,920 --> 00:12:30,660 How do we know, like, what applications we block? 233 00:12:31,280 --> 00:12:35,900 Like, um, you know, maybe, maybe ten years ago, blocking port 5190 actually stopped AIM. 234 00:12:35,960 --> 00:12:37,960 But that's not going to happen anymore. 235 00:12:40,040 --> 00:12:41,720 So, users want to use applications. 236 00:12:42,020 --> 00:12:43,300 Security policies don't. 237 00:12:43,340 --> 00:12:44,420 Mainly an enterprise problem. 238 00:12:44,540 --> 00:12:47,900 But actually, the roots of this all started back, um, when I was a consultant. 239 00:12:47,900 --> 00:12:48,920 I would travel all over. 240 00:12:49,300 --> 00:12:52,260 And, of course, you've got tools on, you know, on your machine that you need to, like, do work. 241 00:12:52,340 --> 00:12:52,820 Like Skype. 242 00:12:53,300 --> 00:12:55,120 And, um, so you plug into somebody's network. 243 00:12:55,260 --> 00:12:58,120 And just to get the rude surprise that they don't allow Skype on their network. 244 00:12:58,480 --> 00:13:01,280 So, then you've got to go through the hassle of trying to figure out a way to get around it. 245 00:13:01,300 --> 00:13:03,060 How to tunnel around it and do all that stuff. 246 00:13:03,220 --> 00:13:06,380 So, I actually had started writing some tools to do that automated assessment. 247 00:13:06,580 --> 00:13:11,580 Just tell me how to configure my apps so that they'd work once I plugged in without having to do any manual testing. 248 00:13:15,800 --> 00:13:17,880 So, when I was, uh, running the big financial network. 249 00:13:17,900 --> 00:13:21,760 One of the things that I learned that's completely bizarre is that people love AIM. 250 00:13:21,940 --> 00:13:23,100 For no apparent reason. 251 00:13:23,140 --> 00:13:26,000 AIM is, like, the most popular application people try to tunnel around. 252 00:13:26,380 --> 00:13:27,820 For no reason at all. 253 00:13:28,000 --> 00:13:28,880 And they do everything. 254 00:13:29,080 --> 00:13:33,560 Like, tech users are, like, doing things like running AIM over Tor just to get AIM. 255 00:13:33,980 --> 00:13:38,320 Um, and actually my favorite story is, uh, there was a president of a bank that was one of our customers. 256 00:13:38,740 --> 00:13:41,480 And, uh, again, guy loved AIM for some reason. 257 00:13:41,820 --> 00:13:45,480 And one of the things he did is he actually installed a modem on his PC. 258 00:13:45,660 --> 00:13:47,880 And it was using AOL dial-up to get around it. 259 00:13:47,900 --> 00:13:49,740 And he installed it on the firewall filters just for AIM. 260 00:13:50,420 --> 00:13:54,660 And, uh, and the best part of it is, so this is, um, this is only, like, a year ago. 261 00:13:54,980 --> 00:13:56,340 He's dialed up to AIM. 262 00:13:56,360 --> 00:13:57,880 He's dialed up to AOL. 263 00:13:58,040 --> 00:13:58,740 He's using his AIM. 264 00:13:58,820 --> 00:14:00,180 And he gets SQL slammer. 265 00:14:00,420 --> 00:14:02,980 And takes down, like, the whole enterprise network for hours. 266 00:14:03,080 --> 00:14:04,060 Nobody can figure it out. 267 00:14:04,600 --> 00:14:05,940 All because he just needed AIM. 268 00:14:06,620 --> 00:14:06,940 Insane. 269 00:14:08,020 --> 00:14:10,000 Um, so how do you determine what works on your network? 270 00:14:10,140 --> 00:14:13,680 I mean, the easy thing is go out and, like, download AIM, install it, and see if it works. 271 00:14:13,800 --> 00:14:14,700 But that's kind of a pain. 272 00:14:14,940 --> 00:14:17,880 You know, especially if you want to do, like, 500 different applications. 273 00:14:19,860 --> 00:14:25,000 So, another thing people like to do, extruders like to do, is they like to get remote access to their machine from home. 274 00:14:25,220 --> 00:14:27,300 Um, you know, beyond policy. 275 00:14:27,440 --> 00:14:29,040 So there's a million different ways to do it. 276 00:14:29,100 --> 00:14:31,240 There's reverse CNC, reverse BNC. 277 00:14:31,800 --> 00:14:33,800 You can do SSH port forwarding. 278 00:14:33,800 --> 00:14:35,000 There's a bunch of commercial stuff. 279 00:14:35,120 --> 00:14:35,860 Go to my PC. 280 00:14:36,200 --> 00:14:36,800 Log me in. 281 00:14:40,020 --> 00:14:41,500 Some of that stuff's easily blocked. 282 00:14:41,620 --> 00:14:42,020 Some's not. 283 00:14:42,120 --> 00:14:43,840 But how do you know what works and what doesn't work? 284 00:14:45,840 --> 00:14:47,580 So, EEScanner is the tool that I wrote. 285 00:14:47,580 --> 00:14:50,340 Um, originally just for the extrusion stuff, but then adapted. 286 00:14:50,420 --> 00:14:51,760 And we're going to go into a lot of details later. 287 00:14:51,920 --> 00:14:53,720 So if you're starting to nod off a little bit, don't worry. 288 00:14:53,780 --> 00:14:54,760 We're getting to the cool stuff soon. 289 00:14:56,500 --> 00:14:57,880 Um, so we want to do a couple things. 290 00:14:58,060 --> 00:14:59,140 We want to measure all that stuff. 291 00:14:59,360 --> 00:15:01,040 We want to go into, you know, what are we blocking? 292 00:15:01,140 --> 00:15:01,900 What are we not blocking? 293 00:15:02,040 --> 00:15:02,600 Yada, yada. 294 00:15:02,680 --> 00:15:03,600 Where do the weeds grow through? 295 00:15:03,980 --> 00:15:07,480 Did we spend money that falls in line with the threats we were trying to protect against? 296 00:15:09,880 --> 00:15:12,560 So, all enterprise networks especially, lots of layers. 297 00:15:12,720 --> 00:15:17,420 You've got things like transparent HTTP proxies, transparent SFTP, transparent DNS. 298 00:15:18,020 --> 00:15:18,640 Intrusion prevention. 299 00:15:19,500 --> 00:15:20,860 All data leakage stuff. 300 00:15:21,020 --> 00:15:23,920 So we want to just test through all that stuff and find out what works. 301 00:15:27,780 --> 00:15:29,640 Oh, so actually, I'm going to skip most of the slide. 302 00:15:29,720 --> 00:15:35,860 But one of the ones that, so one of the exploitability examples I really like was the original VMLO day that came out. 303 00:15:36,020 --> 00:15:39,840 And when it did, the proof of concept used the RECT method. 304 00:15:40,500 --> 00:15:46,560 And so every IPS vendor out there and every security vendor, they all wrote their SIGs for this RECT vector, right? 305 00:15:47,580 --> 00:15:51,820 And it turns out there were like nine different shapes that you could use to get the same exact effect. 306 00:15:52,040 --> 00:15:55,920 So the signatures were absolutely useless in protecting all but that proof of concept. 307 00:15:58,940 --> 00:16:00,900 So there's a couple of tools that I always used to use. 308 00:16:00,980 --> 00:16:02,700 Obviously great tools that work very well. 309 00:16:03,240 --> 00:16:07,340 My big crutch with all of them is that none of them had great automated ways for doing it. 310 00:16:07,380 --> 00:16:13,280 Like Metasploit, really good for running and seeing if your defenses are blocking certain types of exploits. 311 00:16:13,320 --> 00:16:13,980 Works really well. 312 00:16:14,060 --> 00:16:16,020 They've got a couple of encoding techniques in it. 313 00:16:16,020 --> 00:16:18,700 So you can get a lot of good information using Metasploit for that. 314 00:16:19,240 --> 00:16:23,100 There's another tool called Ftester, which does a lot of the same things. 315 00:16:23,160 --> 00:16:24,580 It'll do outbound firewall scans. 316 00:16:24,800 --> 00:16:28,420 You can take snort signatures and have them pump them out to see what gets picked up. 317 00:16:29,440 --> 00:16:31,940 It's good, but it doesn't do everything that I was looking for. 318 00:16:32,060 --> 00:16:33,800 It doesn't really behave like a client. 319 00:16:34,100 --> 00:16:40,200 Like it was taking just IDS signatures and just pumping them out rather than a full HTTP context and really getting all the data in there. 320 00:16:40,540 --> 00:16:45,800 Because sometimes when you mess around with little variables, you find out like a vendor might do something one way with this set of data. 321 00:16:46,020 --> 00:16:47,340 And then another way with another set of data. 322 00:16:47,660 --> 00:16:50,500 So just pumping SIGs doesn't really do everything you want. 323 00:16:51,380 --> 00:16:52,940 Core Impact, really, really cool. 324 00:16:53,100 --> 00:16:55,800 You could probably do all this, but it costs a lot, a lot of money. 325 00:16:55,960 --> 00:16:58,860 So not necessarily very well for what I was looking for. 326 00:17:00,740 --> 00:17:03,580 So my whole goal with this is to write EEScanner. 327 00:17:03,860 --> 00:17:04,660 Get it out there. 328 00:17:04,720 --> 00:17:05,400 It's going to be free. 329 00:17:05,540 --> 00:17:08,820 Most of the stuff is already out there at EEScan.net. 330 00:17:08,980 --> 00:17:11,240 And it's going to be up on the iDefense site more than likely, too. 331 00:17:11,600 --> 00:17:13,800 Some of the code I didn't get to publish before I left. 332 00:17:13,880 --> 00:17:15,680 And I couldn't get a connection from my hotel. 333 00:17:16,020 --> 00:17:18,000 So some of it won't come out until I get home Monday. 334 00:17:18,600 --> 00:17:21,920 But all this stuff is, we're going to go through and show different ways to use it. 335 00:17:22,780 --> 00:17:24,240 So we're going to test for all those things. 336 00:17:24,780 --> 00:17:29,780 We're going to do a little bit of, we're going to get some good reports at the end that show us like what gets blocked, what doesn't. 337 00:17:31,900 --> 00:17:33,660 So here's a quick overview of the architecture. 338 00:17:33,920 --> 00:17:36,260 So EEScan is mainly written in Python. 339 00:17:36,440 --> 00:17:40,380 There's a couple of other components like in PHP as well. 340 00:17:40,760 --> 00:17:44,960 But one of the things I liked about Python is, one, it keeps me from writing really bad Perl code. 341 00:17:46,380 --> 00:17:50,680 And the other thing it does, too, is it gives you a shell that's nice that you can just call functions right from a shell. 342 00:17:51,060 --> 00:17:53,140 So if you want to do manual testing, you can do it that way. 343 00:17:53,220 --> 00:17:54,240 Or you can script it all. 344 00:17:55,680 --> 00:18:05,140 So the real point of EEScan, you have the base classes which implement a whole bunch of things like aim protocols and port scanning and HTTP encoders. 345 00:18:05,220 --> 00:18:07,520 And all the stuff that we're going to need to do our testing later on. 346 00:18:08,100 --> 00:18:09,300 All in one base class. 347 00:18:09,460 --> 00:18:11,340 So we can import those base classes. 348 00:18:12,520 --> 00:18:14,100 And there's another section that does unit tests. 349 00:18:14,100 --> 00:18:19,440 So we can write a whole bunch of simple tests as unit tests and then have it run through all our unit tests later on. 350 00:18:20,320 --> 00:18:21,540 HTTP exploit checks. 351 00:18:21,780 --> 00:18:23,620 So there's a module that just does encoding. 352 00:18:24,360 --> 00:18:25,600 We'll go through those methods. 353 00:18:26,580 --> 00:18:28,020 And aim tests, of course. 354 00:18:28,100 --> 00:18:30,480 Everyone needs aim, so we need lots of good tests for aim. 355 00:18:31,380 --> 00:18:33,900 And then on the server side, so that's all client side stuff. 356 00:18:34,120 --> 00:18:40,200 On the server side, there's a PHP exploiter that takes information and kicks it back out to the client. 357 00:18:40,700 --> 00:18:43,520 So it'll actually send the exploits with whatever encoding we want. 358 00:18:44,720 --> 00:18:45,600 TCP responder. 359 00:18:45,920 --> 00:18:51,300 So when we're testing for things like transparent proxies, we can't always rely on just interacting with the proxy. 360 00:18:51,600 --> 00:18:57,960 Sometimes we need something outside of that that we can test through and try to make real connections to to see what gets modified. 361 00:18:59,000 --> 00:19:02,140 And then finally, SSH and tunnels and all the things. 362 00:19:02,400 --> 00:19:05,700 You know, I didn't rewrite DNS tunnel or ICMP tunnel or any of that stuff. 363 00:19:05,860 --> 00:19:08,540 So all that stuff sits on an external server as well. 364 00:19:09,020 --> 00:19:11,760 And the real key is we want to run our client side stuff in our network. 365 00:19:11,760 --> 00:19:14,080 And we want all the server side stuff outside the defenses. 366 00:19:14,300 --> 00:19:17,660 So we're testing through everything rather than just at something. 367 00:19:19,340 --> 00:19:20,820 So diving into base classes. 368 00:19:21,140 --> 00:19:22,480 So a couple of things. 369 00:19:22,680 --> 00:19:25,060 Egress scan is probably one of the simplest modules. 370 00:19:25,220 --> 00:19:26,400 It does an outbound port scan. 371 00:19:26,960 --> 00:19:30,020 All my examples here are from a Python interpreter. 372 00:19:30,400 --> 00:19:34,620 So you drop down to Python, import the base classes, and you can run everything just like this. 373 00:19:34,740 --> 00:19:36,280 So egress scanning. 374 00:19:36,440 --> 00:19:40,780 We pump in an IP and we tell it we want to scan from port 1 to 1024. 375 00:19:40,780 --> 00:19:45,040 And it kicks back the results to us. 376 00:19:45,300 --> 00:19:48,000 So I included Paramiko for SSH. 377 00:19:48,240 --> 00:19:52,120 So there's a whole wrapper around Paramiko for doing SSH and port forwarding. 378 00:19:52,300 --> 00:19:53,440 Real simple to use. 379 00:19:53,540 --> 00:19:54,540 You instantiate a class. 380 00:19:54,940 --> 00:19:58,080 It goes out, does an egress scan, tells us all the ports that are available. 381 00:19:58,860 --> 00:20:01,680 And then we tell it we want to know what protocols are actually, 382 00:20:01,740 --> 00:20:05,140 we want to check for which protocols will actually let us pass SSH over them. 383 00:20:05,280 --> 00:20:08,420 And it kicks back all the different ways that we can use SSH. 384 00:20:11,180 --> 00:20:14,120 So another module is the unit test harness. 385 00:20:14,560 --> 00:20:16,860 So you can write, I know it's kind of hard to see up there, 386 00:20:16,960 --> 00:20:20,800 but basically with about seven lines you can write test descriptions 387 00:20:20,800 --> 00:20:23,620 and tell it, like one of them up there is AIM Tor. 388 00:20:24,220 --> 00:20:26,980 So you can tell it that I want to use the Tor module. 389 00:20:27,540 --> 00:20:30,000 I want to make a TCP connection over Tor. 390 00:20:30,240 --> 00:20:33,000 I want to make it to login.oscar.aol.com. 391 00:20:33,020 --> 00:20:34,640 And I want to do it on port 5190. 392 00:20:35,080 --> 00:20:37,380 So you create all these little tests written like that. 393 00:20:37,400 --> 00:20:40,100 You kick it into the unit tester and it'll tell you all the results coming back. 394 00:20:40,920 --> 00:20:44,400 I have maybe like 50 or 60 unit tests, but it's really extensible. 395 00:20:44,440 --> 00:20:45,880 You can do pretty much anything you want with it. 396 00:20:45,880 --> 00:20:49,440 Anything with TCP, SSH, ICMP tunnel, DNS tunnel, 397 00:20:49,720 --> 00:20:52,280 whole list of different protocols and tunneling mechanisms. 398 00:20:53,880 --> 00:20:55,940 There's a whole separate Tor support section. 399 00:20:56,080 --> 00:20:59,800 It's actually a SOX module, but you can basically use any SOX server 400 00:20:59,800 --> 00:21:03,180 because Tor just acts like a SOX 4 and 5 proxy. 401 00:21:03,560 --> 00:21:07,720 So you can instantiate a Tor class and then use it just like you would a socket in Python. 402 00:21:07,880 --> 00:21:08,880 So you can do send and receive. 403 00:21:08,880 --> 00:21:10,640 It does all that legwork for you. 404 00:21:10,760 --> 00:21:13,620 And it's actually used by other modules as well if you're doing the Tor testing. 405 00:21:15,880 --> 00:21:18,720 So one of the interesting things you can do with like egress scanning 406 00:21:18,720 --> 00:21:20,800 is you can see what's proxied and what isn't. 407 00:21:21,060 --> 00:21:24,660 So like for people who saw Dan's talk, his big thing was hostile networks. 408 00:21:24,840 --> 00:21:27,340 How do you know when you're on a hostile network and things are being proxied? 409 00:21:28,000 --> 00:21:29,740 Sometimes it's really easy to tell. 410 00:21:30,700 --> 00:21:34,440 You just do like egress scan to a dark IP that doesn't exist at all. 411 00:21:34,900 --> 00:21:37,680 In this case, in the hotel that I was staying at, I got three results back. 412 00:21:37,680 --> 00:21:39,020 25, 53, 80. 413 00:21:39,400 --> 00:21:42,800 So real easy hint that you're actually in a captive portal 414 00:21:42,800 --> 00:21:45,520 and that they're transparently proxying all those protocols. 415 00:21:47,060 --> 00:21:50,780 Another thing you can do, like a lot of providers block arbitrary things. 416 00:21:50,960 --> 00:21:54,640 They block sometimes IRC or all sorts of random things. 417 00:21:54,760 --> 00:21:57,080 So my colo, I wanted to know what protocols they block. 418 00:21:57,340 --> 00:21:59,500 Real easy to fire off right from the command prompt. 419 00:21:59,660 --> 00:22:00,720 There's actually an extra flag. 420 00:22:01,780 --> 00:22:05,620 Blocked equals one, which tells it just only show me ports that are blocked, 421 00:22:05,720 --> 00:22:06,660 not ones that are open. 422 00:22:07,720 --> 00:22:10,340 And then finally, another module called Check Plane, 423 00:22:10,360 --> 00:22:15,540 which tests to see if it's a plain TCP socket as compared to a proxied socket. 424 00:22:16,020 --> 00:22:19,340 So you can do things like on port 80, try to make a direct connection, 425 00:22:19,460 --> 00:22:21,480 find out if there's a transparent proxy in the way. 426 00:22:22,320 --> 00:22:25,080 In this case, the output's a little cryptic, but it's 001, 427 00:22:25,220 --> 00:22:29,560 so I tested 25, 80, and 123, 001. 428 00:22:29,680 --> 00:22:33,720 So not a plain connection, not a plain connection, not a plain connection, plain. 429 00:22:34,200 --> 00:22:34,960 Real simple. 430 00:22:35,680 --> 00:22:38,360 All this is actually a lot easier when you do it in scripting, 431 00:22:38,380 --> 00:22:40,060 but all easy to do from the interpreter as well. 432 00:22:41,660 --> 00:22:44,460 So the other phase, we talk about exploitability testing. 433 00:22:44,660 --> 00:22:47,360 We want to know what kind of exploits we can pass and how we can encode them. 434 00:22:48,500 --> 00:22:50,660 So HTTP, really complex protocol. 435 00:22:51,260 --> 00:22:52,680 Lots of different ways to do stuff. 436 00:22:53,060 --> 00:22:55,220 It's got like a whole protocol stack unto itself. 437 00:22:55,720 --> 00:22:56,680 You've got JavaScript. 438 00:22:57,340 --> 00:23:03,200 It supports native methods at the protocol layer like gzip, deflate, chunked, SSL. 439 00:23:03,200 --> 00:23:05,980 So we can try all those different ways of encoding things. 440 00:23:06,300 --> 00:23:08,120 We can use lots of different JavaScript methods, 441 00:23:08,400 --> 00:23:10,780 some that are used in the wild and some that I just made up. 442 00:23:11,300 --> 00:23:17,620 So we'll go through those, things like Ajax, XOR, whitespace, random variables, random functions. 443 00:23:18,220 --> 00:23:22,240 A lot of stuff like from the VOMM, stuff like that. 444 00:23:25,720 --> 00:23:29,600 So one of the things, obviously IPS and IDS isn't really a great technology, 445 00:23:29,740 --> 00:23:31,780 and one of the main reasons behind it, if you take a look, 446 00:23:32,800 --> 00:23:35,960 here's a signature for detecting ANI exploits. 447 00:23:36,180 --> 00:23:42,720 And the big problem right here, as long as it's going to an HTTP port, it'll detect it. 448 00:23:43,100 --> 00:23:48,180 So running things like HTTP over 443, trivial bypass to a signature like this. 449 00:23:48,560 --> 00:23:54,720 It's got hard coded bytes in there, so any whitespace or other randomization or encoding completely bypasses it. 450 00:23:57,180 --> 00:24:01,060 So some of the tricks, so there's a module with an EESCAN HTTP encoders. 451 00:24:01,060 --> 00:24:04,540 So the HTTP encoders allow you to take like an arbitrary payload, 452 00:24:04,940 --> 00:24:07,740 do the encoding and then kick it back to the client for testing. 453 00:24:07,920 --> 00:24:10,400 So some of the ones, gzip, deflate. 454 00:24:10,840 --> 00:24:13,040 Interesting thing with that, so gzip and deflate, 455 00:24:13,080 --> 00:24:15,600 does anybody know what gzip and deflate do with browsers? 456 00:24:16,300 --> 00:24:18,240 Real simple, right, just gzip the content. 457 00:24:18,820 --> 00:24:21,980 Deflate is gzip without a gzip header. Real simple. 458 00:24:22,220 --> 00:24:26,380 You'd be surprised how many devices will detect gzip stuff, but not deflate. 459 00:24:26,520 --> 00:24:27,500 What the fuck? 460 00:24:28,420 --> 00:24:29,340 So anyway. 461 00:24:29,700 --> 00:24:31,380 Anyway, so my favorite, Ajax. 462 00:24:31,540 --> 00:24:33,000 So that was one I kind of wrote myself. 463 00:24:33,260 --> 00:24:35,680 So Ajax is kind of like a frag route for HTTP. 464 00:24:36,460 --> 00:24:41,780 So what you do, instead of just sending the entire exploit in one or two packets over a regular HTTP session, 465 00:24:42,160 --> 00:24:45,000 you use XML HTTP request and you break it up into chunks. 466 00:24:45,660 --> 00:24:47,220 Right, so JavaScript is really nice. 467 00:24:47,280 --> 00:24:49,600 You can treat code like data and data like code. 468 00:24:50,080 --> 00:24:54,080 So you tell it, go out and get this exploit and break it up into any arbitrary number of chunks. 469 00:24:54,140 --> 00:24:55,000 Send it back to me. 470 00:24:55,040 --> 00:24:56,740 I'll concatenate them all together and eval it. 471 00:24:57,620 --> 00:24:58,960 So, real simple technique. 472 00:24:58,960 --> 00:25:02,140 But IDS and other things like that rely on actually seeing the code together. 473 00:25:02,400 --> 00:25:06,360 Even if it's obfuscated in the code, a lot of times they can pick it up. 474 00:25:06,480 --> 00:25:09,880 But if you break it up and do a frag route type attack, it works much, much better. 475 00:25:13,660 --> 00:25:18,540 So, another one of my more favorite Ajax is some of the encoders out there, 476 00:25:18,580 --> 00:25:20,040 and I'll actually go through MPAC in a minute. 477 00:25:20,180 --> 00:25:23,040 They do things like the XOR, and they'll XOR with a static key. 478 00:25:23,460 --> 00:25:27,320 So if you're looking at that in TCP dump or anything or any tool, 479 00:25:27,320 --> 00:25:30,500 you can actually see what key they're using to decode the data. 480 00:25:30,640 --> 00:25:31,380 Right, simple loop. 481 00:25:31,840 --> 00:25:37,720 So what I like to do is I like to actually send the key in a separate XML HTTP request, break it up. 482 00:25:37,820 --> 00:25:43,260 That way an analyst looking at it has no idea what the key is unless he's got all the network traffic 483 00:25:43,260 --> 00:25:44,740 instead of just a couple of packets. 484 00:25:47,140 --> 00:25:48,280 So here's MPAC. 485 00:25:48,380 --> 00:25:52,100 It came out a little blurry, but MPAC basically does like a nice little XOR loop. 486 00:25:53,020 --> 00:25:55,100 On the top you've got a plain text string. 487 00:25:55,180 --> 00:25:56,760 And this is all in the Python interpreter again. 488 00:25:57,320 --> 00:25:59,300 You've got document.write hello world. 489 00:25:59,680 --> 00:26:01,480 Run it through the MPAC XOR engine. 490 00:26:01,600 --> 00:26:07,620 It spits it out as an XOR function with all the data XORed into a blob, 491 00:26:07,740 --> 00:26:09,000 which is going to go through an XOR. 492 00:26:09,100 --> 00:26:10,440 The browser will then interpret. 493 00:26:12,000 --> 00:26:15,080 And then the bottom example is just using the same MPAC XOR, 494 00:26:15,160 --> 00:26:17,740 except this time using random function and variable names. 495 00:26:18,760 --> 00:26:22,060 Just another way to kind of get around some of the static detection that's out there. 496 00:26:23,980 --> 00:26:25,720 So here's an example of the Ajax encoding. 497 00:26:25,720 --> 00:26:26,780 Here's the source for it. 498 00:26:26,860 --> 00:26:28,360 I mean, it's not complex at all. 499 00:26:28,640 --> 00:26:30,740 Literally all you do is you just tell the server, 500 00:26:30,840 --> 00:26:34,640 I want to break this up into some random number of chunks, 20, 50, whatever it is. 501 00:26:35,220 --> 00:26:38,260 And give me each piece one by one, reassemble them, and eval. 502 00:26:39,100 --> 00:26:40,920 One of the interesting things is this is actually, 503 00:26:41,060 --> 00:26:45,280 this technique is really easy for humans to evaluate, but really hard for machines. 504 00:26:46,100 --> 00:26:48,760 Because humans can just go through, look at the code, and see that, 505 00:26:48,780 --> 00:26:52,500 oh yeah, I just need a W to get all the different slices, assemble them back together, 506 00:26:52,640 --> 00:26:53,360 and I've got the code. 507 00:26:53,960 --> 00:26:55,600 Machines really, really don't like that. 508 00:26:58,080 --> 00:27:01,600 So the MPAC attack toolkit, really famous, everything else. 509 00:27:01,700 --> 00:27:03,820 They sell it for like $1,000 in the underground. 510 00:27:04,560 --> 00:27:06,480 Exorbitant prices for something with a lot of flaws. 511 00:27:07,280 --> 00:27:09,480 So what I did when I was going through this is I looked and said, 512 00:27:09,520 --> 00:27:11,100 MPAC is just terrible with encoding. 513 00:27:12,020 --> 00:27:14,760 So what I'll do is I'll improve it for them and sell it back for like $10,000. 514 00:27:14,820 --> 00:27:15,200 Who knows? 515 00:27:17,320 --> 00:27:22,240 So one of the stats on MPAC, it only infects 3.3% of machines in the US, 516 00:27:22,500 --> 00:27:23,900 which is a terrible rate. 517 00:27:23,900 --> 00:27:30,840 It does a lot more in developing countries where every version of Windows is pirated and not patched. 518 00:27:30,860 --> 00:27:32,960 But in the US, 3.3%. 519 00:27:33,540 --> 00:27:38,160 And one of the reasons is that AV vendors actually pick up the MPAC JavaScript. 520 00:27:38,860 --> 00:27:42,540 So they do a terrible job obfuscating other than the one basic technique. 521 00:27:43,260 --> 00:27:47,160 So you've got the pseudo code for what they do, just a simple XOR of all the data. 522 00:27:47,880 --> 00:27:52,320 So some of my ideas for them that I'm going to kick back to in my business proposal are, 523 00:27:52,320 --> 00:27:58,620 random function names, white space comments, XML HTTP requests for the XOR key, GZIP encoding. 524 00:27:59,260 --> 00:28:02,520 And for God's sake, these guys have no idea if they've ever heard of Millworm. 525 00:28:03,340 --> 00:28:08,060 They use like the newest exploit they have is like ANI from a couple of months ago. 526 00:28:08,320 --> 00:28:10,300 They had no exploits at all. It's awful. 527 00:28:12,720 --> 00:28:16,220 So I'll go through a couple of real world examples, places where I use it. 528 00:28:16,340 --> 00:28:19,120 So reality check number one, checking LovingAim. 529 00:28:19,700 --> 00:28:21,920 If you want to actually do the unit test for AIM, 530 00:28:22,320 --> 00:28:26,720 the type's a little bit small, but basically you just write a couple of simple tests for each one. 531 00:28:27,040 --> 00:28:30,460 Can I connect using default settings? Real easy to write up the test. 532 00:28:30,740 --> 00:28:36,620 Can I do crawl settings? Have it do a port scan of all of login.oscar.aol.com. 533 00:28:36,800 --> 00:28:38,860 Kick back all the ways you can get there. 534 00:28:39,520 --> 00:28:43,840 Tor, same thing. So all this stuff is real easy to implement and automate for a testing scenario. 535 00:28:44,380 --> 00:28:48,620 And if it's a protocol that's not supported, you just write a quick Python module for it and off you go. 536 00:28:52,320 --> 00:28:54,340 Some of the other cool things, so I really like tunneling stuff, 537 00:28:54,460 --> 00:28:57,500 so this will actually go through and do like, there's a DNS tunnel module, 538 00:28:58,180 --> 00:29:01,760 ICMP tunnel module, SSH port forwarding built in. 539 00:29:03,980 --> 00:29:08,280 So here's some more examples right from the command line if you want to do HTTP exploit checking. 540 00:29:08,920 --> 00:29:13,300 It's as simple as calling one function, so you call getHttpMD5. 541 00:29:13,780 --> 00:29:16,760 And what's happening behind the scenes, so you've got the two parts, 542 00:29:16,920 --> 00:29:20,820 you've got the Python script and then you've also got the server side PHP. 543 00:29:22,320 --> 00:29:23,840 The Python script makes a request for the exploit. 544 00:29:24,020 --> 00:29:30,940 The server side takes all the content, adds an MD5 header, a HTTPX header for the MD5. 545 00:29:31,240 --> 00:29:35,680 Client gets it back, compares the MD5 and now you know if it's been modified in transit. 546 00:29:35,980 --> 00:29:36,540 So real simple. 547 00:29:37,560 --> 00:29:43,960 So in this case we do HTTPMD5 for, we're passing parameters to a test.php. 548 00:29:44,020 --> 00:29:47,280 We tell it the code we want is plain and the exploit is linked in. 549 00:29:47,800 --> 00:29:52,060 And it kicks back and tells us in the results that the connection 550 00:29:52,060 --> 00:29:52,580 was broken. 551 00:29:53,240 --> 00:29:59,700 So in that case what a lot of IPSs do is when they fire on alert instead of modifying the content, 552 00:29:59,940 --> 00:30:01,060 they just kill the connection. 553 00:30:01,440 --> 00:30:05,520 So a broken TCP connection is a great indication that something's actually just been dropped. 554 00:30:06,520 --> 00:30:09,120 Next example, gzip, so we run the same thing. 555 00:30:09,520 --> 00:30:11,980 Again, and this time we see MD5 mismatch. 556 00:30:12,180 --> 00:30:16,600 So the results that we were expecting were different than what the MD5s say. 557 00:30:17,060 --> 00:30:21,340 Usually that stuff, like proxies, like to modify the content instead of just dropping it. 558 00:30:21,340 --> 00:30:25,340 So instead of sending the exploit, they send you a page back that says like, 559 00:30:25,440 --> 00:30:27,560 we blocked this page for you, you're safe now. 560 00:30:29,260 --> 00:30:31,820 So same thing with the mpac one, we see that one gets dropped. 561 00:30:33,560 --> 00:30:36,480 And you can go on and on with all the different encoding techniques forever. 562 00:30:36,620 --> 00:30:39,120 So one of the things, real easy, just drop in. 563 00:30:39,180 --> 00:30:42,640 I have a quick function called try them all, goes through every possible permutation. 564 00:30:43,300 --> 00:30:47,740 Kicks back the results to you in HTML and now you can look and see what's being blocked, what isn't. 565 00:30:48,120 --> 00:30:50,380 And at the end of the talk I've got some real world data. 566 00:30:50,380 --> 00:30:54,400 And you can see some interesting patterns in different devices and how they look at exploits. 567 00:30:55,140 --> 00:30:56,520 So we'll look at that later on. 568 00:30:56,700 --> 00:31:00,580 We try all the different exploit techniques, all the different encoding techniques, 569 00:31:00,820 --> 00:31:04,780 and just for good measure we try a couple different user agents too, 570 00:31:04,860 --> 00:31:07,080 just in case maybe there's a difference in user agents. 571 00:31:09,660 --> 00:31:15,200 So my favorite one, this one I used to do in operations, is testing incident response plans and MSSPs. 572 00:31:15,500 --> 00:31:20,360 So main security providers, you pay a lot of money and you never really know what they do for you. 573 00:31:20,380 --> 00:31:23,700 It's kind of like a black box. You call them up, they say, oh yeah, you're covered. 574 00:31:23,840 --> 00:31:25,040 But they don't share anything with you. 575 00:31:25,780 --> 00:31:27,700 And you never really know if they're alerting you on everything. 576 00:31:28,420 --> 00:31:32,500 So one of the things that's easy to script out with this is to do an MSS test. 577 00:31:32,780 --> 00:31:37,040 So fire off an exploit, fire off an additional request to get a payload. 578 00:31:37,820 --> 00:31:40,940 Then have it fire out a bunch of posts with keylogger data. 579 00:31:41,600 --> 00:31:44,020 And then sit back and watch and see what happens. 580 00:31:44,260 --> 00:31:49,400 And then of course the most important, set up a cron job to run every Sunday morning at 4.30 581 00:31:49,400 --> 00:31:50,360 just to make sure everyone's on time. 582 00:31:50,380 --> 00:31:50,840 Everybody's on their toes. 583 00:31:55,640 --> 00:31:57,580 So this is a great slide. 584 00:31:57,760 --> 00:32:00,800 So I was doing some research and I like to add an image every now and then. 585 00:32:00,860 --> 00:32:04,540 I was looking for something that followed up with risky business, just a random image. 586 00:32:04,720 --> 00:32:08,780 And I came across the State of Nevada Risk Management Center. 587 00:32:09,560 --> 00:32:13,640 And they have this picture. You can't read the text, but I put it right next to it. 588 00:32:13,780 --> 00:32:18,340 Risk management is the expert management of differences that may exist between expectations and reality. 589 00:32:18,340 --> 00:32:20,580 And what in the hell is that picture? 590 00:32:22,220 --> 00:32:25,120 It blows my mind. What the fuck is that? It's crazy. 591 00:32:26,880 --> 00:32:29,540 So Fred's going to tell us exactly how all that works. 592 00:32:29,720 --> 00:32:35,400 But the way EEScan fits into the risk assessment process, you get a lot of, you get all this data back. 593 00:32:35,520 --> 00:32:36,580 But what does it actually mean to you? 594 00:32:36,620 --> 00:32:40,140 What's the, if you're one of the corporate guys that actually needs to do risk assessments, 595 00:32:40,260 --> 00:32:41,560 how do you use it for something useful? 596 00:32:43,680 --> 00:32:45,580 I read, Matt showed me that the other night. 597 00:32:45,660 --> 00:32:48,320 And I thought it was just because my blood alcohol was like a drug. 598 00:32:48,340 --> 00:32:48,840 Like a .3. 599 00:32:50,540 --> 00:32:55,060 But today when I'm only a .2, it still doesn't make any sense. 600 00:32:56,220 --> 00:33:01,640 Risk management, the expert management of differences that sounds like my first marriage. 601 00:33:01,820 --> 00:33:11,380 Anyhow, the bad thing is, here's our conventional risk assessment, and that misses a mark too. 602 00:33:11,480 --> 00:33:13,460 Who can tell me what any of that means? 603 00:33:13,800 --> 00:33:15,420 Well, obviously it's arithmetic. 604 00:33:15,560 --> 00:33:17,160 And please don't say mathematics. 605 00:33:20,020 --> 00:33:23,380 You know, we have some multiplication, we have some addition in there. 606 00:33:24,280 --> 00:33:25,680 But the bottom line is this. 607 00:33:25,920 --> 00:33:35,080 When you are making estimates on everything that you're doing, how can you really put a good value on what the risk is? 608 00:33:35,760 --> 00:33:40,800 Everything, the single loss expectancy, the annualized rate of occurrence, everything else like that, that's a guess. 609 00:33:41,220 --> 00:33:46,220 And if it's not a guess, and if you have the statistics for it, what says that 2008 is going to be the same as 2007? 610 00:33:46,220 --> 00:33:51,800 How many people here have actually scanned for extrusions and exploitability? 611 00:33:51,980 --> 00:33:52,840 Please raise your hand. 612 00:33:53,380 --> 00:33:53,860 Okay. 613 00:33:54,340 --> 00:33:55,240 A fair number. 614 00:33:55,560 --> 00:33:56,040 Okay. 615 00:33:58,020 --> 00:33:59,460 Why hasn't everybody else? 616 00:33:59,520 --> 00:34:04,000 Well, the reason is because right now it looks like the risk is zero. 617 00:34:04,100 --> 00:34:05,680 It doesn't look like there's a risk from it. 618 00:34:05,740 --> 00:34:13,260 Just because we don't notice a rate of occurrence or an occurrence doesn't mean that it's not there. 619 00:34:16,540 --> 00:34:18,880 So the holistic threat assessment. 620 00:34:19,140 --> 00:34:20,540 Look at that damn picture again. 621 00:34:20,580 --> 00:34:21,520 What the hell is it? 622 00:34:24,180 --> 00:34:24,620 Okay. 623 00:34:24,920 --> 00:34:26,480 The holistic threat assessment. 624 00:34:26,800 --> 00:34:29,300 We have to worry about what the asset value is. 625 00:34:29,420 --> 00:34:34,720 And instead of going through each one of these things, what I'm going to do is I'm just going to give you an example, okay? 626 00:34:34,980 --> 00:34:36,440 I've got a house in Florida. 627 00:34:36,580 --> 00:34:38,040 Not really, but I wish. 628 00:34:39,400 --> 00:34:41,020 I have a house in Florida. 629 00:34:41,580 --> 00:34:43,240 The house in Florida is sustainable. 630 00:34:43,240 --> 00:34:45,200 It's susceptible to weather damage. 631 00:34:45,460 --> 00:34:46,020 All right? 632 00:34:46,220 --> 00:34:47,540 So I've got the asset. 633 00:34:47,700 --> 00:34:48,560 I've got the vulnerability. 634 00:34:48,780 --> 00:34:52,000 The exacerbation is there's a hurricane off the coast. 635 00:34:52,580 --> 00:34:55,360 The mitigation is my house is made of steel. 636 00:34:56,260 --> 00:35:00,400 And the perturbation is it's one of those 500-year storms that takes everything out in the path. 637 00:35:00,560 --> 00:35:00,860 All right? 638 00:35:01,260 --> 00:35:07,880 Now, I defy anybody in this room to use the standard CISSP model to give me a risk based on those things. 639 00:35:08,040 --> 00:35:08,320 Wait a minute. 640 00:35:08,380 --> 00:35:08,760 Just to check. 641 00:35:08,840 --> 00:35:11,460 How many people have the I am not a CISSP badge? 642 00:35:13,240 --> 00:35:13,520 Nice. 643 00:35:15,800 --> 00:35:22,800 So anyhow, basically what we're doing is we're trying to quantify something that we're just starting off with guesswork. 644 00:35:24,540 --> 00:35:28,160 Now, there is a different risk model that we are kind of looking at. 645 00:35:28,220 --> 00:35:29,720 The risk model is still in the design stage. 646 00:35:30,020 --> 00:35:31,120 It is not arithmetic. 647 00:35:31,160 --> 00:35:31,900 It's real math. 648 00:35:32,560 --> 00:35:33,560 It's a real model. 649 00:35:34,880 --> 00:35:40,860 One of the elements is the holistic design that you saw before, the things that you saw before. 650 00:35:40,860 --> 00:35:44,600 But the bottom line is it appears to work very well with CVSS data. 651 00:35:45,060 --> 00:35:51,100 If none of you know, iDefense aggregates every vulnerability that is on our covered vendors list. 652 00:35:51,300 --> 00:35:52,760 And we keep that data. 653 00:35:53,040 --> 00:35:57,460 And right now we're doing the CVS scoring on it, CVSS scoring. 654 00:35:57,740 --> 00:36:01,440 And we've even started to use the CVSS version 2 scoring on it. 655 00:36:01,620 --> 00:36:04,640 And still we haven't gotten 100%. 656 00:36:04,640 --> 00:36:07,420 The first model was maybe 60% to 70%. 657 00:36:08,020 --> 00:36:10,420 Now it's 80% to 90% perhaps. 658 00:36:10,860 --> 00:36:12,160 Maybe 80%, 85%. 659 00:36:12,160 --> 00:36:16,300 But the thing of it is, on those 15% that's left over, you still need a person. 660 00:36:16,520 --> 00:36:18,060 So why worry with the model? 661 00:36:18,220 --> 00:36:21,360 The model that we're working on actually is pretty much dead on for everything. 662 00:36:21,540 --> 00:36:23,120 So it looks good. 663 00:36:23,380 --> 00:36:23,780 Okay. 664 00:36:25,520 --> 00:36:28,420 So in the real world usage, so this has been run. 665 00:36:28,480 --> 00:36:30,120 I've had some people run it for me. 666 00:36:30,160 --> 00:36:31,440 I've been using stuff for a while. 667 00:36:31,560 --> 00:36:34,300 So as with anything, you get some interesting results back. 668 00:36:35,220 --> 00:36:36,620 So I'm going to go through a couple of those. 669 00:36:36,660 --> 00:36:39,180 So the first one, for some reason, 670 00:36:39,660 --> 00:36:42,960 AOL servers don't respond to any TCP packets without an MSS. 671 00:36:43,060 --> 00:36:44,460 And not just max segment size. 672 00:36:44,760 --> 00:36:46,260 And there's other things they don't do too. 673 00:36:46,780 --> 00:36:50,960 So one of the ideas that I have is I think you can actually probably fingerprint IPS devices 674 00:36:50,960 --> 00:36:52,660 just on the results you get back. 675 00:36:52,800 --> 00:36:55,380 And weird things like not replying without MSS. 676 00:36:55,660 --> 00:36:58,060 Because obviously it could be the servers that drop it, 677 00:36:58,100 --> 00:36:59,840 but it could be something else in between. 678 00:37:00,060 --> 00:37:04,040 So there's maybe some opportunity to do some fingerprinting of devices passively 679 00:37:04,040 --> 00:37:07,800 just by watching what they drop and don't respond to. 680 00:37:09,340 --> 00:37:11,900 So the next one, just because they don't ask doesn't mean they don't want it. 681 00:37:12,180 --> 00:37:14,320 One of the interesting things I found is that, 682 00:37:14,400 --> 00:37:18,820 so browsers, when they want to use an encoding mechanism that's supported, 683 00:37:18,940 --> 00:37:22,220 like gzip or deflate or chunked, they ask for it, right? 684 00:37:22,280 --> 00:37:25,580 They put an accept header that says, you know, accept gzip, accept deflate. 685 00:37:26,680 --> 00:37:28,820 But, you know, sometimes proxies strip that out. 686 00:37:28,880 --> 00:37:31,280 Sometimes they don't send it because they don't support it, things like that. 687 00:37:31,700 --> 00:37:34,800 One of the interesting things with things like Firefox, IE, 688 00:37:34,960 --> 00:37:38,240 and a couple of other browsers is that even if that tag gets stripped out, 689 00:37:38,240 --> 00:37:40,480 or even if they don't ask for it, you can send it to them. 690 00:37:40,520 --> 00:37:42,500 They still just render it, right? 691 00:37:42,540 --> 00:37:45,760 So actually having that in the header means nothing. 692 00:37:45,860 --> 00:37:48,660 You can just send it back to them and they'll just render the gzip data just fine. 693 00:37:50,320 --> 00:37:52,520 So another interesting thing, simple tactics. 694 00:37:52,720 --> 00:37:56,900 This is probably obvious, but are incredibly effective against almost every kind of device, 695 00:37:57,160 --> 00:37:59,520 every kind of IPS and a proxy device. 696 00:38:00,740 --> 00:38:06,100 Just things like random white space, 50% effective in the real world testing. 697 00:38:06,320 --> 00:38:08,000 Like just adding spaces in. 698 00:38:08,240 --> 00:38:10,060 It kills that many protections. 699 00:38:11,800 --> 00:38:14,300 Remember the old mail bomb with mail servers? 700 00:38:14,440 --> 00:38:16,780 So if you wanted to crash a mail server that had like antivirus, 701 00:38:16,980 --> 00:38:22,200 you do like dddev0, like a terabyte, and then you gzip it down to like 20k, 702 00:38:22,360 --> 00:38:26,320 and you mail it through and it tries to, you know, open it up and it just dies, bombs. 703 00:38:27,140 --> 00:38:28,960 Yeah, that kind of works with proxies too. 704 00:38:29,140 --> 00:38:31,740 They don't really like gzip data like that. 705 00:38:31,780 --> 00:38:37,680 Like a petabyte of zeros doesn't decompress that fast. 706 00:38:38,340 --> 00:38:39,140 So, interesting. 707 00:38:40,820 --> 00:38:44,820 I don't know if anyone read the interview with the MPAC authors, dream coders team. 708 00:38:45,040 --> 00:38:48,120 So they did an interview, it was on security focus with Rob Lemos. 709 00:38:48,360 --> 00:38:52,520 So at the very end they talk about, they ask him, you know, 710 00:38:52,540 --> 00:38:55,020 if people want to be safe from your attacks, what should they use? 711 00:38:55,120 --> 00:38:57,020 And he says, opera. Whatever. 712 00:38:57,740 --> 00:38:59,740 It's actually IE4 on NT4. 713 00:39:01,080 --> 00:39:04,960 So one of the interesting things is that most of the exploits and most of the encoding mechanisms, 714 00:39:05,240 --> 00:39:06,380 it won't even render. 715 00:39:06,380 --> 00:39:11,260 So things like gzip, it just dies on, like half that stuff doesn't even work right on it. 716 00:39:11,400 --> 00:39:14,740 So it's actually incredibly effective against blocking out all kinds of encoding, 717 00:39:15,020 --> 00:39:17,200 because it just doesn't do anything with it. 718 00:39:17,580 --> 00:39:19,040 And then as we'll see in the next couple of slides, 719 00:39:19,220 --> 00:39:20,760 as long as you can block out all that encoding, 720 00:39:21,320 --> 00:39:23,820 some devices actually do a decent job at blocking attacks. 721 00:39:24,060 --> 00:39:28,120 So NT4 behind an IPS might actually be safe. 722 00:39:30,420 --> 00:39:35,680 So here's some quick output from exploitability scanning just doing some HTTP checking. 723 00:39:36,480 --> 00:39:38,500 So the output basically comes out. 724 00:39:38,520 --> 00:39:40,040 It tells you, here's the test that you ran. 725 00:39:41,240 --> 00:39:42,900 Here's what port we ran it on. 726 00:39:42,960 --> 00:39:45,920 Because one of the other things it does, it tries HTTP and HTTPS. 727 00:39:46,740 --> 00:39:50,560 Obviously most things don't catch HTTPS unless they're doing an SSL man in the middle, 728 00:39:50,640 --> 00:39:53,020 like Bluecoat, some other devices. 729 00:39:53,920 --> 00:39:56,420 So it runs through all the tests, goes through all the possible permutations, 730 00:39:57,060 --> 00:39:58,200 and it tells you what happened. 731 00:39:58,880 --> 00:40:01,080 So in the results we can see here, there were three attacks, 732 00:40:01,320 --> 00:40:04,360 three exploits that were actually blocked, indicated by the broken, 733 00:40:04,560 --> 00:40:06,280 and the rest all passed right through. 734 00:40:06,380 --> 00:40:11,580 So simple things like adding whitespace was able to evade in some cases, 735 00:40:11,620 --> 00:40:12,460 or the MPAC encoding. 736 00:40:14,240 --> 00:40:16,880 So here's just four quick examples of four things. 737 00:40:17,000 --> 00:40:19,560 So this is just graphs of that same data I just showed you, 738 00:40:20,040 --> 00:40:21,580 run on different device types. 739 00:40:22,160 --> 00:40:24,680 And what's interesting, when you look at it from a distance like this, 740 00:40:24,740 --> 00:40:25,700 you can almost see patterns. 741 00:40:25,860 --> 00:40:27,540 Like different devices have different ways, 742 00:40:27,760 --> 00:40:30,240 their engines have different ways of looking at the exploits and encoding 743 00:40:31,020 --> 00:40:32,620 and doing something with it. 744 00:40:32,900 --> 00:40:34,900 So let's drill down into a couple of those. 745 00:40:36,380 --> 00:40:39,240 So here's one, it's a main service provider, 746 00:40:39,360 --> 00:40:42,900 and they have a custom IPS device that's supposed to do stuff. 747 00:40:43,360 --> 00:40:46,160 And what we see is that they block plain exploits, 748 00:40:46,160 --> 00:40:49,360 and they even handle a couple of encoding, like whitespace and chunked. 749 00:40:49,360 --> 00:40:53,120 But they do nothing with JavaScript, and they do nothing with gzip. 750 00:40:53,140 --> 00:40:55,420 So if you gzip it, everything goes through. 751 00:40:55,520 --> 00:40:57,620 If it's plain, they catch 80%. 752 00:40:59,760 --> 00:41:03,440 So next one, we have a proxy device running antivirus. 753 00:41:03,440 --> 00:41:06,840 And what we see is it's really bad at catching the exploit itself, 754 00:41:07,120 --> 00:41:09,540 but they're really good at catching the encoding mechanism. 755 00:41:09,960 --> 00:41:13,140 So something like MPAC, they actually pick up every single time, 756 00:41:13,220 --> 00:41:14,780 regardless of what the contents is. 757 00:41:15,060 --> 00:41:17,960 They just figure, you know, if it's MPAC encoded, we just kill it. 758 00:41:18,620 --> 00:41:21,900 And then they're only like 50% effective when you actually do something 759 00:41:21,900 --> 00:41:24,840 with the MPAC encoding and like, say, add whitespace to it. 760 00:41:24,980 --> 00:41:27,920 So you can see the effectiveness really drops off pretty quickly. 761 00:41:30,200 --> 00:41:32,580 So the Astaro guys, they do a good job. 762 00:41:32,580 --> 00:41:35,420 And one of the interesting things from theirs is they actually don't manage 763 00:41:35,420 --> 00:41:37,480 to stop anything except gzip stuff. 764 00:41:37,940 --> 00:41:43,940 It was the only device I tested that if you didn't send an accept gzip header, 765 00:41:44,100 --> 00:41:47,200 they actually thought that that might be a problem when you sent back gzip data. 766 00:41:48,240 --> 00:41:51,260 So interesting thing, but they didn't actually stop any of the other exploits, 767 00:41:51,260 --> 00:41:53,120 all on a fully updated system. 768 00:41:54,300 --> 00:41:55,800 And then, so my last test. 769 00:41:55,920 --> 00:41:58,340 So I'm running this through on a couple different device types, 770 00:41:58,440 --> 00:42:02,340 and got my switch, I got my device out connected to the internet, 771 00:42:02,340 --> 00:42:03,240 and I start, I run it. 772 00:42:03,520 --> 00:42:06,220 I'm like, holy crap, this is like the best device I've tested. 773 00:42:06,280 --> 00:42:07,880 It gets everything. This is awesome. 774 00:42:08,520 --> 00:42:11,140 And then, so I'm just, I'm starting to pump information in, 775 00:42:11,160 --> 00:42:13,480 and then I look, and I'm like, and it's wireless. 776 00:42:13,900 --> 00:42:15,140 This is really awesome. 777 00:42:18,460 --> 00:42:21,500 So yeah, actually unplugging the cable, incredibly effective. 778 00:42:25,300 --> 00:42:27,260 And we have a little bit of time here. 779 00:42:27,600 --> 00:42:30,080 We weren't really sure if we were going to make this on target, so. 780 00:42:30,080 --> 00:42:34,080 I did not tell you my favorite risk assessment story. 781 00:42:34,720 --> 00:42:36,700 About 10 years ago when I was 15. 782 00:42:40,920 --> 00:42:43,800 Okay, about 35 years ago when I was 15. 783 00:42:44,240 --> 00:42:44,720 Fifty. 784 00:42:48,260 --> 00:42:51,560 Okay, 36 years ago, to be exact, when I was 15. 785 00:42:52,340 --> 00:42:54,760 I worked for my father in his body shop, 786 00:42:54,920 --> 00:42:58,320 and he went out to lunch, and back in those days, 787 00:42:58,320 --> 00:43:00,180 he usually had a liquid lunch. 788 00:43:01,020 --> 00:43:03,900 In fact, to this day, he still has liquid lunch, but that's cool. 789 00:43:04,780 --> 00:43:07,560 But he comes back into the shop, and I have a car jacked up, 790 00:43:07,640 --> 00:43:09,300 and I'm working underneath the car, 791 00:43:09,820 --> 00:43:12,240 and I don't have any jack stands, okay? 792 00:43:12,620 --> 00:43:16,980 No, I just have a floor jack, nice solid hydraulic floor jack, 793 00:43:17,140 --> 00:43:19,140 and I'm under the car working on the car. 794 00:43:19,780 --> 00:43:23,500 He grabs my foot, pulls me out from under the car, 795 00:43:23,580 --> 00:43:26,480 pounds the shit out of me, takes a bite out of my ass, 796 00:43:27,220 --> 00:43:31,220 explains to me that, no, the chances are the car's not going to fall, 797 00:43:31,360 --> 00:43:33,540 but if it does fall, you might get hurt, alright? 798 00:43:34,780 --> 00:43:36,620 Here's a guy that didn't have a high school diploma. 799 00:43:37,600 --> 00:43:40,340 Here's a guy that just had common sense, 800 00:43:40,580 --> 00:43:44,740 but he had more common sense than a lot of CISOs that I see, okay? 801 00:43:46,660 --> 00:43:48,120 Yeah, you can clap, go ahead. 802 00:43:53,180 --> 00:43:55,860 Shortly after that, I went, 803 00:43:55,860 --> 00:43:57,820 went a different way, I actually became a cop, 804 00:43:58,020 --> 00:43:59,540 but the third year on the job, 805 00:43:59,980 --> 00:44:04,160 I got a call where a guy was under a car in a body shop, 806 00:44:05,400 --> 00:44:07,280 and the car had fallen on him. 807 00:44:07,340 --> 00:44:08,420 He wasn't using jack stands. 808 00:44:08,760 --> 00:44:10,700 So we are not really good at risk. 809 00:44:10,860 --> 00:44:14,460 We are not really good at figuring out what risk is. 810 00:44:14,580 --> 00:44:16,420 To me, it wasn't risky at all being under there. 811 00:44:16,500 --> 00:44:18,920 I mean, the chances are one in a million it's going to fall on me. 812 00:44:18,980 --> 00:44:20,620 But if it fell on me, it would have killed me, 813 00:44:20,660 --> 00:44:22,140 as it killed this other guy. 814 00:44:22,400 --> 00:44:25,840 So, you know, you guys that have to answer to all of this, 815 00:44:25,840 --> 00:44:28,540 all these policies and all the modeling that you see out there, 816 00:44:28,620 --> 00:44:30,720 all the competition for your money, 817 00:44:31,460 --> 00:44:33,760 just step back and say, does this make sense to me? 818 00:44:34,420 --> 00:44:35,800 And I think you'll go a lot further. 819 00:44:36,200 --> 00:44:36,360 Okay. 820 00:44:37,100 --> 00:44:39,520 And so one last comment I wanted to add in is that 821 00:44:40,400 --> 00:44:44,020 one of my goals with EEScan and the exploitability testing 822 00:44:44,020 --> 00:44:46,580 is to be able to go out and actually profile a wide range of devices, 823 00:44:47,060 --> 00:44:50,640 because I think what we're going to find is that seeing what they can block today 824 00:44:50,640 --> 00:44:53,100 tells us a lot about what they might be able to block in the future. 825 00:44:53,380 --> 00:44:54,980 So it actually is a little bit more predictive 826 00:44:54,980 --> 00:44:58,660 and more useful in that means than it is in just knowing, you know, 827 00:44:58,700 --> 00:45:00,420 what can actually be sent through. 828 00:45:00,580 --> 00:45:03,080 So open up to questions. 829 00:45:03,180 --> 00:45:04,660 We have the question room later as well. 830 00:45:04,700 --> 00:45:05,960 So anything...