1 00:00:00,000 --> 00:00:04,600 My name's Jay Beal, and I've been somehow speaking here for like 10 years. 2 00:00:05,740 --> 00:00:09,360 So thank you, conference. Please don't make it the last. 3 00:00:10,140 --> 00:00:14,440 Anyway, I've been having a whole lot of fun, and I hope you guys are too. 4 00:00:14,600 --> 00:00:18,700 DEF CON's really been growing, and it's been changing, and it's getting really cool. 5 00:00:18,880 --> 00:00:19,840 I'm really impressed. 6 00:00:21,600 --> 00:00:25,100 So anyway, I'm here to talk about client-side attacks a little bit. 7 00:00:25,160 --> 00:00:27,540 I did a talk yesterday that I'll reference here and there 8 00:00:27,540 --> 00:00:32,940 that was on a tool that I've been writing and finishing and debugging at this point now 9 00:00:33,620 --> 00:00:39,700 called the Midler, and the Midler is basically doing some attacks on client-side, 10 00:00:39,840 --> 00:00:44,160 on clients as they're surfing to web applications, as they're updating themselves, 11 00:00:44,420 --> 00:00:45,580 as they're doing anything over HTTP. 12 00:00:46,100 --> 00:00:50,020 So that talk very much came out of the ideas in this one, 13 00:00:50,100 --> 00:00:52,220 and they both feed into each other, 14 00:00:52,300 --> 00:00:56,100 and actually they use some of the same tools, use some of the same codes. 15 00:00:56,160 --> 00:00:57,520 So I'll kind of... 16 00:00:58,080 --> 00:00:59,400 I'll be talking... 17 00:00:59,400 --> 00:01:01,360 I'll be making references back and forth to that one, 18 00:01:01,400 --> 00:01:04,000 and I'm also going to talk about some of the other things that are going on at DEF CON 19 00:01:05,300 --> 00:01:07,220 because, wow, this has been a really great conference. 20 00:01:07,360 --> 00:01:09,300 We've got a whole lot of people with a whole lot of different ideas 21 00:01:09,300 --> 00:01:12,160 that are similar to each other's in some ways 22 00:01:12,160 --> 00:01:14,440 and just exploring different areas of the same space, 23 00:01:14,660 --> 00:01:18,020 which is actually the whole purpose of a technical conference in the first place, 24 00:01:18,080 --> 00:01:19,540 or at least it's one of the major purposes. 25 00:01:19,760 --> 00:01:22,660 I came from an academic world where that's one of the biggest things we do. 26 00:01:23,480 --> 00:01:24,600 So it's really cool. 27 00:01:24,700 --> 00:01:26,980 It's really cool that we're all kind of bringing good ideas. 28 00:01:28,640 --> 00:01:32,340 Anyway, after this, I'll be in some breakout room, 29 00:01:32,500 --> 00:01:35,260 I guess probably like across the hallway or something. 30 00:01:35,480 --> 00:01:37,380 So if anybody wants to come and hang out, 31 00:01:37,440 --> 00:01:40,140 we did that yesterday after the talk, and I thought it was really a blast. 32 00:01:40,840 --> 00:01:43,100 We kept going until they kicked us out of that room too, 33 00:01:43,600 --> 00:01:47,320 and we had some really cool people who were from some pretty impressive places, 34 00:01:47,960 --> 00:01:49,900 and we got into, you know, a bit of an argument. 35 00:01:49,980 --> 00:01:52,960 We got into a bit of a full-on agreement, 36 00:01:53,080 --> 00:01:55,960 and the stuff we agreed on, none of us really liked that much. 37 00:01:56,720 --> 00:01:57,520 So anyway... 38 00:01:57,540 --> 00:02:01,440 Come to the breakout room afterwards if you want, and we'll do that again. 39 00:02:01,760 --> 00:02:04,160 And if you don't, well, then come catch a beer with me. 40 00:02:04,660 --> 00:02:10,040 Okay, so I am a, what do we call it? 41 00:02:10,120 --> 00:02:12,820 I'm a consultant, or sometimes we call ourselves consultants. 42 00:02:13,920 --> 00:02:17,080 Never seriously, but, you know, we do sell our time by the hour, so what the hell? 43 00:02:17,860 --> 00:02:20,940 And the nice thing is, as a consultant, I get to do all kinds of stuff. 44 00:02:21,060 --> 00:02:23,060 Sometimes it's just sitting around talking with people and saying, 45 00:02:23,120 --> 00:02:25,340 okay, well, you know, how are you doing this, how are you doing this, 46 00:02:25,380 --> 00:02:27,520 kind of basically looking at the design of an app, 47 00:02:27,540 --> 00:02:31,220 and trying to figure out whether we can make it so that it doesn't have to get hacked later on. 48 00:02:31,520 --> 00:02:34,660 And sometimes what I do is, well, try to break that application, 49 00:02:34,880 --> 00:02:35,920 or try to break the networks. 50 00:02:36,060 --> 00:02:38,380 I just, I get to do a heck of a lot of pen testing. 51 00:02:39,700 --> 00:02:44,340 And pen testing's a weird little, pen testing's a weird little task. 52 00:02:44,580 --> 00:02:47,880 It's one of those things that, it has these multiple purposes, 53 00:02:48,000 --> 00:02:51,880 and one of them is sure to find out what's wrong, find out how I could break in. 54 00:02:52,800 --> 00:02:57,140 But another part of that that's always there is this question is, could you break in? 55 00:02:57,180 --> 00:02:57,520 Yeah. 56 00:02:57,540 --> 00:02:59,180 If you could break in, how far could you go? 57 00:02:59,640 --> 00:03:02,860 You know, could you break in and all you're going to do is you'll compromise some web server 58 00:03:02,860 --> 00:03:04,000 and deface our front-end website? 59 00:03:04,380 --> 00:03:10,440 Or could you break in and get all of this, you know, patient data or credit cards or what have you? 60 00:03:10,500 --> 00:03:12,900 You know, could you go and, could you get that kind of information? 61 00:03:13,140 --> 00:03:16,180 One of the things, one of the things I talked about yesterday with the Midler 62 00:03:16,780 --> 00:03:22,060 is that I really, I like to bring themes as often as I can. 63 00:03:22,080 --> 00:03:23,700 I like to bring themes, things for us to talk about. 64 00:03:23,800 --> 00:03:27,380 And one of my big themes lately, if I was angry about it, 65 00:03:27,380 --> 00:03:27,840 it would be a rant. 66 00:03:28,000 --> 00:03:33,640 But instead, since I'm not, it's a theme, is that we are always talking about the risks. 67 00:03:33,740 --> 00:03:35,800 We always think about what are the risks to a business? 68 00:03:35,920 --> 00:03:36,780 What are the risks to an organization? 69 00:03:36,980 --> 00:03:39,040 What's the risk to, well, you know, Jay's Home Network, whatever. 70 00:03:39,260 --> 00:03:43,480 But we think of it in terms of, you know, let's see, we've got kind of the secrecy, 71 00:03:43,500 --> 00:03:44,800 which is kind of confidentiality. 72 00:03:44,800 --> 00:03:46,800 Somebody could get data they shouldn't be able to get. 73 00:03:47,540 --> 00:03:48,800 And then we have, like, availability. 74 00:03:48,960 --> 00:03:49,740 They could shut it down. 75 00:03:49,960 --> 00:03:54,020 But the one we constantly always forget about, anybody know what it is? 76 00:03:54,620 --> 00:03:54,940 Okay. 77 00:03:55,880 --> 00:03:56,200 Integrity. 78 00:03:56,520 --> 00:03:56,840 Yeah. 79 00:03:57,540 --> 00:03:58,720 So this is CIA. 80 00:03:59,180 --> 00:04:01,080 We've got confidentiality, integrity, availability. 81 00:04:01,420 --> 00:04:04,560 And we always forget about, I swear, everybody, maybe in the security community, 82 00:04:04,620 --> 00:04:06,340 we don't do it as much, but I think we still do. 83 00:04:06,480 --> 00:04:08,420 We're always saying, wow, what if a bad guy got to this data? 84 00:04:08,580 --> 00:04:09,660 What if a bad guy got to this data? 85 00:04:09,760 --> 00:04:12,360 What if a bad guy could knock this down or make this inaccessible? 86 00:04:12,620 --> 00:04:12,900 Right? 87 00:04:12,960 --> 00:04:15,200 And we never think, well, what if a bad guy could change data? 88 00:04:15,340 --> 00:04:17,980 And worse, what if a bad guy could change data and you never noticed? 89 00:04:18,900 --> 00:04:20,740 And we don't know how much that goes on. 90 00:04:20,880 --> 00:04:21,760 We really don't. 91 00:04:21,760 --> 00:04:22,700 Every so often we get a peek. 92 00:04:22,820 --> 00:04:23,680 Every so often we find out. 93 00:04:23,720 --> 00:04:27,360 We say, oh, wow, TJ Maxx has been getting hacked for a heck of a lot longer than three, 94 00:04:27,380 --> 00:04:27,520 three days. 95 00:04:28,620 --> 00:04:30,360 It's, you know, what data has changed? 96 00:04:30,460 --> 00:04:31,360 Well, that's going to be hard. 97 00:04:31,580 --> 00:04:33,120 I mean, what do you do with an integrity tax? 98 00:04:33,200 --> 00:04:36,520 Suppose you're running your own little bank or, you know, your own little library, 99 00:04:36,700 --> 00:04:39,340 and you don't know who's got what book anymore, who's got how many dollars, 100 00:04:39,440 --> 00:04:40,980 because, well, you'll trust it. 101 00:04:41,720 --> 00:04:46,660 Or what if you think, what if you do trust it, but your trust is not supposed to be there? 102 00:04:47,100 --> 00:04:50,320 Anyway, so this is, that's part of what I'm getting into with both of these talks. 103 00:04:52,820 --> 00:04:57,220 And it's kind of a theme I want to keep coming back to is the question of integrity. 104 00:04:58,420 --> 00:04:59,680 So we'll go there. 105 00:04:59,840 --> 00:05:04,600 Anyway, so we're doing, I do a whole bunch of pen tests, and on pen test, the hard part 106 00:05:04,600 --> 00:05:07,160 is basically always getting to the internal network. 107 00:05:07,400 --> 00:05:12,500 The internal network's much, much harder to get to, and that's, and actually getting 108 00:05:12,500 --> 00:05:14,620 to the internal network from the outside has been getting harder and harder. 109 00:05:14,840 --> 00:05:18,600 Now, that may mean that somehow I'm getting lamer and lamer. 110 00:05:19,940 --> 00:05:22,100 Oh, come on, I don't get a laugh on, okay. 111 00:05:22,980 --> 00:05:23,860 Tough room. 112 00:05:24,000 --> 00:05:25,140 Yeah, Jay's lame. 113 00:05:25,340 --> 00:05:25,860 Rock on. 114 00:05:26,640 --> 00:05:27,300 So anyway. 115 00:05:27,380 --> 00:05:31,440 Anyway, so yeah, I mean, it's, I could be getting lamer and lamer, but I don't think 116 00:05:31,440 --> 00:05:31,980 that's what's happening. 117 00:05:32,060 --> 00:05:34,540 I think to some extent we're getting perimeters that are tighter and tighter. 118 00:05:34,720 --> 00:05:35,960 Does that mean the code's getting better? 119 00:05:36,060 --> 00:05:37,820 Well, to some extent, but I'm not sure. 120 00:05:37,980 --> 00:05:41,660 I think to some extent it's just that we've, you know, we finally got, we've been pushing, 121 00:05:41,760 --> 00:05:45,820 we've all been trying to push, you know, organizations to use decent firewalls and so on, decent 122 00:05:45,820 --> 00:05:50,160 perimeters for a long time, and, well, we kind of won that battle most of the way. 123 00:05:50,340 --> 00:05:53,520 I mean, we still have stuff, but I don't see what I used to see. 124 00:05:53,620 --> 00:05:57,140 Like, you know, 10 years ago I was looking at a, I'd look at a firewall and be like, okay, 125 00:05:57,380 --> 00:06:03,300 this thing says all the traffic's in unless it's destined for, you know, port 137, 139, 126 00:06:03,360 --> 00:06:04,380 135, you know. 127 00:06:04,720 --> 00:06:09,040 Nowadays, I see, you know, I see default and I rule sets that say nothing's allowed in 128 00:06:09,040 --> 00:06:12,920 except for port 80 and only to this server, and even better, I often see firewall rule 129 00:06:12,920 --> 00:06:18,240 sets that say nothing's allowed in to this server except on this port and only from that 130 00:06:18,240 --> 00:06:20,840 partner network or only from these, from these people. 131 00:06:20,920 --> 00:06:24,540 We're not going to, we'll have SSH ports open or we'll have, you know, whatever, we'll 132 00:06:24,540 --> 00:06:26,580 have certain even IPsec ports. 133 00:06:27,380 --> 00:06:32,760 That will be allowed, but only from the known ISPs of our sysadmins, and things get a lot 134 00:06:32,760 --> 00:06:33,620 harder as an attacker. 135 00:06:34,740 --> 00:06:38,920 Now, things got a lot harder as an attacker over time, and really what happened was the 136 00:06:38,920 --> 00:06:43,560 attackers kind of found other ways to do it, and we're going to come to that, but the 137 00:06:43,560 --> 00:06:49,780 cool thing is that once you get to the internal network, hey, switch slides, there we go. 138 00:06:49,880 --> 00:06:52,440 Once you get to the internal network, things get a heck of a lot easier. 139 00:06:52,580 --> 00:06:53,540 They get way easier. 140 00:06:53,720 --> 00:06:56,800 I mean, think about, if you don't, if you haven't had this experience as a penetration 141 00:06:56,800 --> 00:06:57,260 tester. 142 00:06:57,380 --> 00:07:03,040 Or maybe as an evil hacksaw, think about it from just your own company or your own network 143 00:07:03,040 --> 00:07:03,680 for a little bit. 144 00:07:03,840 --> 00:07:06,740 Just think, okay, well, suppose I was here and I didn't have any passwords at all, but 145 00:07:06,740 --> 00:07:08,100 I just had one desktop here. 146 00:07:08,240 --> 00:07:09,840 I didn't even have any privilege on the desktop, maybe. 147 00:07:09,940 --> 00:07:12,440 Maybe I didn't even have, maybe it wasn't even signed into the domain or anything like 148 00:07:12,440 --> 00:07:12,660 that. 149 00:07:12,920 --> 00:07:13,640 What do I get? 150 00:07:13,800 --> 00:07:15,120 I get a heck of a lot of access. 151 00:07:15,500 --> 00:07:17,680 I mean, we're just so many companies. 152 00:07:17,780 --> 00:07:19,960 Once you're on the inside, you can go anywhere. 153 00:07:20,180 --> 00:07:23,800 Because most companies still, I know this sounds amazingly simplistic. 154 00:07:23,980 --> 00:07:26,600 You're all, you're not going to believe me, but I'm telling you, I go to way too many 155 00:07:26,600 --> 00:07:26,940 companies. 156 00:07:26,940 --> 00:07:29,280 And I say, well, I'm looking at the same damn architecture. 157 00:07:29,800 --> 00:07:32,640 Well, we've got, you know, we kind of have three legs on a firewall, right? 158 00:07:32,740 --> 00:07:35,040 We've got, we've got the internet, big bad internet. 159 00:07:35,400 --> 00:07:38,500 We've got this DMZ where we've got servers that the internet's got access. 160 00:07:38,720 --> 00:07:40,340 And we know that that's where things are supposed to go. 161 00:07:40,620 --> 00:07:41,800 And then we've got the internal network. 162 00:07:42,400 --> 00:07:42,720 Okay. 163 00:07:42,800 --> 00:07:45,060 So we're basically deploying assets on two networks. 164 00:07:45,200 --> 00:07:49,580 One's the DMZ, and it's got like 10 servers on it, or 500 servers on it, or 5,000, depending 165 00:07:49,580 --> 00:07:50,180 on your size. 166 00:07:50,540 --> 00:07:54,160 And then we've got the internal network, which is everything else. 167 00:07:54,220 --> 00:07:55,260 What do I mean by everything else? 168 00:07:55,320 --> 00:07:56,340 It's got all the workstations. 169 00:07:56,340 --> 00:07:56,920 It's got all the printers. 170 00:07:56,940 --> 00:07:58,320 It's got all the internal-only servers. 171 00:07:58,600 --> 00:08:00,300 It's got every single other asset. 172 00:08:00,680 --> 00:08:05,680 I swear, you know, look at multinational companies, and they still end up having a fairly flat 173 00:08:05,680 --> 00:08:06,700 network on the back. 174 00:08:07,320 --> 00:08:08,140 Is it really flat? 175 00:08:08,260 --> 00:08:08,700 No, no. 176 00:08:08,760 --> 00:08:10,740 They're doing all kinds of crazy stuff for performance. 177 00:08:10,880 --> 00:08:13,980 But what I'm saying is, from an access control perspective, they're not doing much. 178 00:08:14,160 --> 00:08:18,540 If I get one desktop, I'm really going to have way too much access. 179 00:08:18,740 --> 00:08:22,500 I mean, we'll look at, you know, I tell you, we'll do our, we'll do a pen test, and we'll 180 00:08:22,500 --> 00:08:24,900 say, okay, I've got this one desktop, and I start looking at the internal network. 181 00:08:24,960 --> 00:08:26,000 I start looking at what assets are there. 182 00:08:26,100 --> 00:08:26,760 I'm like, ooh, look. 183 00:08:26,940 --> 00:08:27,580 I found a SharePoint server. 184 00:08:27,720 --> 00:08:28,600 What's on that SharePoint server? 185 00:08:28,840 --> 00:08:29,800 I go look at the SharePoint server. 186 00:08:29,880 --> 00:08:33,480 I'm like, okay, I've got, maybe I'm able to get, maybe I'm able to get one user's username 187 00:08:33,480 --> 00:08:34,860 and password, and that user's not an IT. 188 00:08:35,000 --> 00:08:38,740 And I'm like, hey, look, on the SharePoint server, which I can log into as one of the 189 00:08:38,740 --> 00:08:44,080 accounting users, I've got, well, the passwords for every single device here, demand, admin 190 00:08:44,080 --> 00:08:44,980 credentials, and everything. 191 00:08:45,700 --> 00:08:46,300 True story. 192 00:08:47,180 --> 00:08:50,940 But I just, there's a tremendous, and that's kind of the easy case. 193 00:08:51,120 --> 00:08:55,600 But the hard, but, you know, if you do want to make it hard, once I get to inside, I start 194 00:08:55,600 --> 00:08:56,740 finding lots and lots of servers. 195 00:08:56,940 --> 00:09:00,780 That aren't in any way filtered, and aren't in any way patched, and again, lots of, lots 196 00:09:00,780 --> 00:09:01,940 of good access to information. 197 00:09:02,440 --> 00:09:06,000 Recent internal pen test, I'm spending a whole lot of time on one slide, aren't I? 198 00:09:06,100 --> 00:09:10,360 But recent internal pen test, we were, you know, we're on site, we're at the client, 199 00:09:10,460 --> 00:09:11,300 and we do our scanning. 200 00:09:11,340 --> 00:09:14,100 And this network is huge, and we're having trouble actually just keeping track of all 201 00:09:14,100 --> 00:09:14,480 the targets. 202 00:09:14,840 --> 00:09:16,100 But we find 800 databases. 203 00:09:16,480 --> 00:09:22,960 And out of 800 databases, 40 of them had their username, I mean, had their passwords 204 00:09:22,960 --> 00:09:26,660 set to, let's see, they were all Microsoft. 205 00:09:26,740 --> 00:09:26,920 Microsoft. 206 00:09:26,940 --> 00:09:27,720 SQL server databases. 207 00:09:28,020 --> 00:09:28,580 Can anybody guess? 208 00:09:29,660 --> 00:09:32,520 S-A, blank, that's about all I need. 209 00:09:32,680 --> 00:09:33,740 Yeah, 40 of them. 210 00:09:33,800 --> 00:09:36,120 So you say, well, 48 out of 800, that's not too bad. 211 00:09:36,580 --> 00:09:39,720 But 40 databases, I only needed one half the time, right? 212 00:09:39,880 --> 00:09:44,640 At that point, well, let's assume that this was a really, really big credit card company. 213 00:09:44,800 --> 00:09:46,080 It wasn't, but let's assume it was. 214 00:09:47,220 --> 00:09:51,600 Well, I'm going to have, trust me, I'm going to have enough access, I'm going to have enough 215 00:09:51,600 --> 00:09:55,000 data on that that I'm going to be, well, eating free for a long time if I'm a criminal. 216 00:09:55,120 --> 00:09:56,760 Luckily, I'm not. 217 00:09:56,760 --> 00:09:58,940 I couldn't pull off this whole criminal thing. 218 00:09:59,080 --> 00:10:03,400 I've just got this fear of jail and hurting anybody and all kinds of stuff like that. 219 00:10:03,680 --> 00:10:04,160 Whoa. 220 00:10:04,440 --> 00:10:06,020 Good thing that wasn't a beer bottle. 221 00:10:07,600 --> 00:10:12,500 So anyway, my deal is that once I get inside, once I get onto the internal network, whether 222 00:10:12,500 --> 00:10:18,580 it's by walking on, by finding some illicit wireless access point, or by hacking a desktop, 223 00:10:19,260 --> 00:10:20,960 I have a tremendous amount of access. 224 00:10:21,540 --> 00:10:26,080 Those first two are pretty easy if you're well located and they've been bad with their 225 00:10:26,080 --> 00:10:26,400 wireless. 226 00:10:26,880 --> 00:10:32,420 But the thing that happens far, far, far, far more often is the desktops get hacked. 227 00:10:32,800 --> 00:10:35,040 And that's part of what I'm going to go into. 228 00:10:35,420 --> 00:10:35,540 Okay. 229 00:10:38,220 --> 00:10:39,920 Somehow I'm having trouble flipping slides. 230 00:10:40,480 --> 00:10:44,120 Well, maybe it's a coordination from way too many parties here last night. 231 00:10:44,500 --> 00:10:45,580 DEF CON's kind of good for that. 232 00:10:45,640 --> 00:10:49,080 If you're watching this on video and you're not at the conference, wow, you missed a great night. 233 00:10:50,160 --> 00:10:55,960 So anyway, so like I said, we're finding it a whole lot harder. 234 00:10:55,960 --> 00:11:00,140 We're finding it much, much harder to hack into the network from the outside, to just 235 00:11:00,140 --> 00:11:03,740 say, okay, well, I'm going to scan for web servers, I'm going to find web servers that 236 00:11:03,740 --> 00:11:05,820 are vulnerable, and I'm going to use exploits against them. 237 00:11:05,940 --> 00:11:11,400 And even if I've got access to commercial feeds of exploits, hacking servers from the 238 00:11:11,400 --> 00:11:12,740 outside is getting really, really difficult. 239 00:11:13,340 --> 00:11:18,380 And so over time, what we've started doing, what we've started doing, and what a lot of 240 00:11:18,380 --> 00:11:22,700 consulting companies I think are doing, is basically saying, wait a second, why don't 241 00:11:22,700 --> 00:11:25,420 we do what the attackers switched to doing like, I don't know, five years ago? 242 00:11:25,960 --> 00:11:29,180 Why don't we actually go after the desktops themselves instead of the servers? 243 00:11:29,360 --> 00:11:31,980 Why don't we send emails or IMs or whatever? 244 00:11:32,120 --> 00:11:39,640 Why don't we try to get the users inside to click on links or open attachments or whatever, 245 00:11:39,780 --> 00:11:41,200 and those are client-side exploits? 246 00:11:41,420 --> 00:11:44,420 And it's not like I invented client-side exploits. 247 00:11:44,480 --> 00:11:47,960 They've been out there in core impact for a long time, and Metasploit got them, and 248 00:11:47,960 --> 00:11:52,400 Metasploit made them a whole lot more accessible to all of us. 249 00:11:52,620 --> 00:11:54,960 And gee, wow, that's been... 250 00:11:55,960 --> 00:11:57,920 It's just amazingly powerful what you can do with this. 251 00:11:58,140 --> 00:11:59,180 I mean, if you want to... 252 00:11:59,180 --> 00:12:02,240 If I need to convince somebody to patch their browser, if I need to convince a family member 253 00:12:02,240 --> 00:12:05,140 to patch their browser now, I don't have any trouble anymore. 254 00:12:05,400 --> 00:12:06,820 And I'm like, hold on, just give me a second. 255 00:12:07,040 --> 00:12:08,380 Clickety, clickety, clickety, clickety. 256 00:12:09,060 --> 00:12:11,020 Okay, why don't you surf to this website? 257 00:12:11,360 --> 00:12:13,880 And they'll go, and they'll surf to CNN.com, and boom. 258 00:12:14,200 --> 00:12:17,260 They're like, hey, you've got my screen on your screen. 259 00:12:17,380 --> 00:12:18,020 What's going on? 260 00:12:18,140 --> 00:12:21,120 And you're like, it's a client-side exploit, Dad. 261 00:12:22,140 --> 00:12:25,680 So anyway, yeah, I kind of experimented. 262 00:12:25,680 --> 00:12:25,940 I experimented. 263 00:12:25,960 --> 00:12:26,140 I experimented with a client-side family. 264 00:12:27,600 --> 00:12:28,320 Not meanly. 265 00:12:28,760 --> 00:12:33,420 It's just that I can't get them to patch, or I can't get them to put their stuff behind an ad box or whatever. 266 00:12:33,540 --> 00:12:35,420 My family is way too ownable, and I don't like that. 267 00:12:35,560 --> 00:12:39,240 So I try to help them out, and sometimes I have to convince them. 268 00:12:39,840 --> 00:12:41,180 Always legally, absolutely. 269 00:12:41,860 --> 00:12:47,740 So anyway, in doing penetration tests, we've started saying, 270 00:12:47,860 --> 00:12:49,980 okay, well, why don't we actually start hacking client-side software? 271 00:12:50,200 --> 00:12:52,240 Because that's where the attackers went a long, long time ago. 272 00:12:52,300 --> 00:12:53,280 It's very, very easy. 273 00:12:53,880 --> 00:12:55,080 Here's an example. 274 00:12:55,960 --> 00:12:57,920 I swear, I'm not trying to sell you all pen tests. 275 00:12:58,240 --> 00:13:01,040 Honestly, you guys are the people who do them for the most part. 276 00:13:01,180 --> 00:13:06,580 So to some extent, this is just a, I haven't tried to be light on mentioning that I do this for work, 277 00:13:06,660 --> 00:13:10,000 because, well, I kind of figure that, you know, you all do too, 278 00:13:10,100 --> 00:13:12,340 and we're more having a conversation among our own community. 279 00:13:12,920 --> 00:13:16,200 Anyway, so we're on a recent pen test, and we're having a whole lot of trouble breaking in, 280 00:13:16,240 --> 00:13:18,180 or this is, actually, this isn't that recent a pen test. 281 00:13:18,220 --> 00:13:19,220 This is a pen test a while back. 282 00:13:19,240 --> 00:13:20,200 We're having trouble breaking in, 283 00:13:20,800 --> 00:13:23,940 and this is where we kind of come across the idea of client-side exploitation. 284 00:13:23,960 --> 00:13:25,040 We say to the client, hey, listen, 285 00:13:25,960 --> 00:13:27,300 we're breaking in, you have an amazingly small perimeter. 286 00:13:27,440 --> 00:13:33,700 Can we, you know, realizing that penetration tests are a subset of what a real attacker gets to do, 287 00:13:33,780 --> 00:13:35,400 because a real attacker gets a whole lot more time, 288 00:13:35,540 --> 00:13:37,000 because they can spend as long as they want, 289 00:13:37,560 --> 00:13:41,800 but also a real attacker doesn't have to stop with only these methods and these ways. 290 00:13:42,020 --> 00:13:43,980 A real attacker can go social engineering if they want. 291 00:13:44,060 --> 00:13:45,220 They can go client-side if they want. 292 00:13:45,260 --> 00:13:46,480 They can go physical if they want, 293 00:13:46,520 --> 00:13:47,880 and they can buy the plane ticket or what have you. 294 00:13:48,240 --> 00:13:50,800 Okay, so we said, you know, hey, can we make this a little more realistic 295 00:13:50,800 --> 00:13:51,960 and throw in this client-side exploitation? 296 00:13:52,460 --> 00:13:53,220 We know it's safe. 297 00:13:53,300 --> 00:13:54,140 We've tested all this stuff. 298 00:13:54,300 --> 00:13:55,760 We'd like to give it a try. 299 00:13:55,960 --> 00:13:59,780 And the client said, well, I don't know if I can get even my boss to agree to, you know, 300 00:13:59,780 --> 00:14:04,440 to get exploited or much less the rest of IT, but I'll let you try to hack me. 301 00:14:04,700 --> 00:14:05,820 And I said, that's great. 302 00:14:05,900 --> 00:14:07,240 He's like, okay, well, let me go patch. 303 00:14:07,340 --> 00:14:10,720 And I'm like, no, no, no, no, like, let's pretend, you know, let's make this, you know, 304 00:14:10,720 --> 00:14:11,700 let's make this kind of realistic. 305 00:14:12,440 --> 00:14:14,820 Let's make it as if, you know, you came in this morning 306 00:14:14,820 --> 00:14:16,680 and you didn't think that I was coming after you. 307 00:14:16,700 --> 00:14:17,120 And he said, great. 308 00:14:17,580 --> 00:14:19,140 And so we fired off. 309 00:14:19,180 --> 00:14:21,560 We took every single client-side exploit in core impact 310 00:14:21,560 --> 00:14:23,660 and every single client-side exploit in metasploit 311 00:14:24,060 --> 00:14:25,940 and, you know, and gave it to him. 312 00:14:25,960 --> 00:14:27,900 You know, we fired them off and so on. 313 00:14:27,940 --> 00:14:31,200 We set them up and let him, gave him attachments and gave him links and all this. 314 00:14:31,320 --> 00:14:32,500 And he clicked on every single one. 315 00:14:32,580 --> 00:14:34,200 And I'm sitting there thinking, okay, we're not getting in. 316 00:14:34,260 --> 00:14:38,200 Gosh, this is the first time in years we haven't successfully hacked a client. 317 00:14:38,280 --> 00:14:40,620 I'm going to have to go and, you know, do the seppuku thing. 318 00:14:40,780 --> 00:14:42,900 And I don't even know where I put my samurai sword. 319 00:14:43,060 --> 00:14:44,080 So this is going to suck. 320 00:14:44,660 --> 00:14:47,520 But anyway, the very, very, very last, very, very last client, 321 00:14:47,600 --> 00:14:49,060 the very last client-side exploit worked. 322 00:14:49,480 --> 00:14:50,280 It was wonderful. 323 00:14:50,560 --> 00:14:52,380 See, the thing was, this guy had IE7. 324 00:14:52,480 --> 00:14:54,540 Back when IE7 was still really, really new. 325 00:14:54,620 --> 00:14:55,300 And so first. 326 00:14:55,300 --> 00:14:57,060 First, it's already harder to hack than IE6. 327 00:14:57,380 --> 00:15:00,940 And then second, well, people hadn't been writing that many exploits for it, 328 00:15:00,940 --> 00:15:02,300 at least not ones they were publicly releasing. 329 00:15:02,520 --> 00:15:04,660 And so we didn't have that much for his browser. 330 00:15:05,640 --> 00:15:08,260 And also his, he had like two different forms of antivirus 331 00:15:08,260 --> 00:15:10,080 and they were going and catching a whole bunch of these suckers. 332 00:15:10,440 --> 00:15:12,340 So we're like, ah, darn it, that would have got in. 333 00:15:12,420 --> 00:15:13,740 But the antivirus got it. 334 00:15:13,760 --> 00:15:15,100 Okay, darn, that one would have got. 335 00:15:15,600 --> 00:15:16,740 Anyway, we finally get to one. 336 00:15:16,820 --> 00:15:17,560 It's Acrobat Reader. 337 00:15:17,820 --> 00:15:21,060 And we send him, you know, we send him a PDF and he opens the PDF. 338 00:15:21,320 --> 00:15:23,360 And boom, we've got a shell on his system. 339 00:15:24,260 --> 00:15:25,180 And then we have. 340 00:15:25,300 --> 00:15:26,020 He has the ANC on his system. 341 00:15:26,160 --> 00:15:28,260 And then we can, then we start exploring the client's network. 342 00:15:28,480 --> 00:15:30,160 And then we own from top to bottom. 343 00:15:30,240 --> 00:15:31,960 And, well, the rest is history. 344 00:15:32,800 --> 00:15:38,420 The really crazy thing is why didn't he actually, you know, why didn't, why didn't he, why did he get, why did he get hacked? 345 00:15:38,620 --> 00:15:39,960 Acrobat Reader actually updates itself. 346 00:15:40,520 --> 00:15:41,800 Well, it's kind of crazy. 347 00:15:41,920 --> 00:15:46,720 But every time Acrobat Reader popped up and said, hi, I need to, I need to update myself. 348 00:15:46,920 --> 00:15:47,640 I'm like really old. 349 00:15:48,000 --> 00:15:50,260 He said, I don't have time for this. 350 00:15:50,300 --> 00:15:51,100 I was trying to open that PDF. 351 00:15:51,640 --> 00:15:53,280 How many of us have had that experience? 352 00:15:53,680 --> 00:15:55,160 Okay, raise your hand if, like, 353 00:15:55,300 --> 00:15:57,040 you've gotten something that's popped up and said you need to update. 354 00:15:57,160 --> 00:15:58,480 And you're thinking, I'm a security person. 355 00:15:58,580 --> 00:15:59,040 I really should. 356 00:15:59,140 --> 00:15:59,980 It could be a security issue. 357 00:16:00,080 --> 00:16:01,520 But honestly, I need to open this damn document. 358 00:16:02,060 --> 00:16:02,420 Right? 359 00:16:02,540 --> 00:16:03,480 I do this. 360 00:16:03,640 --> 00:16:04,260 I do this. 361 00:16:04,300 --> 00:16:05,560 I'm talking about this. 362 00:16:05,580 --> 00:16:06,180 And I do this. 363 00:16:06,660 --> 00:16:07,860 Okay, we're all, I know. 364 00:16:07,940 --> 00:16:09,860 And now you're like, wow, Jay's really lame. 365 00:16:10,120 --> 00:16:14,220 But really, what it is is that Jay's really human the same way all of you are. 366 00:16:14,440 --> 00:16:17,680 We are in very many ways the most paranoid IT users out there. 367 00:16:17,760 --> 00:16:19,100 We're absolutely the most paranoid. 368 00:16:19,420 --> 00:16:24,640 We're some of the most paranoid and knowledgeable IT staff at all because we're either in security 369 00:16:24,640 --> 00:16:25,280 or we're. 370 00:16:25,300 --> 00:16:25,460 We're here. 371 00:16:25,720 --> 00:16:26,980 So it means we're in security and we're thinking. 372 00:16:27,160 --> 00:16:29,360 It means we're in IT and we're thinking about it. 373 00:16:29,680 --> 00:16:34,000 Okay, so, and we still sometimes say, no, don't update right now. 374 00:16:34,300 --> 00:16:37,720 Okay, which means that we have that window of vulnerability that we go and scream at 375 00:16:37,720 --> 00:16:38,360 everybody else about. 376 00:16:38,820 --> 00:16:40,860 Okay, so this guy was a security guy. 377 00:16:40,980 --> 00:16:42,100 He was really, really paranoid. 378 00:16:42,140 --> 00:16:45,740 But honestly, when he needs to open a PDF, he doesn't have time to wait for it to update. 379 00:16:46,000 --> 00:16:48,120 He needs his desktop to be updated already. 380 00:16:48,400 --> 00:16:48,800 Whatever. 381 00:16:49,100 --> 00:16:50,840 Okay, we can get into why that is. 382 00:16:50,940 --> 00:16:55,280 But the thing was, one of the critical things here was, you know, 383 00:16:55,300 --> 00:16:57,880 we tried all these exploits and only one worked. 384 00:16:58,240 --> 00:17:03,080 And that's kind of good news, but we only needed one, right? 385 00:17:03,140 --> 00:17:07,240 We only needed one client-set exploit against one desktop that we attacked. 386 00:17:07,520 --> 00:17:09,860 We only attacked one desktop, but we could have attacked them all. 387 00:17:09,980 --> 00:17:12,080 And trust me, we would have found a lot more than one, right? 388 00:17:12,180 --> 00:17:15,460 But we only need one desktop and one client-set exploit against that desktop. 389 00:17:15,960 --> 00:17:17,240 And we're into the company. 390 00:17:17,360 --> 00:17:18,660 We're inside the internal network. 391 00:17:18,820 --> 00:17:21,100 And now, well, things get a whole lot easier. 392 00:17:21,940 --> 00:17:25,280 Okay, now, what does that mean? 393 00:17:25,300 --> 00:17:25,320 What does that mean? 394 00:17:25,540 --> 00:17:26,420 Well, have I gone... 395 00:17:30,680 --> 00:17:33,140 So, anyway, so this is my point. 396 00:17:33,340 --> 00:17:36,120 One of my points, I have a lot of these themes that I'm kind of starting to formulate. 397 00:17:36,580 --> 00:17:40,460 One of the themes that I formulated a long time ago and that a lot of us have been talking to this conference about is, 398 00:17:40,520 --> 00:17:42,940 it is so much easier being an attacker than a defender. 399 00:17:43,380 --> 00:17:47,640 Okay, I've been doing, you know, I've been making, trying to make tools for defense for a long time. 400 00:17:47,720 --> 00:17:50,800 And gosh, you know, they can really, really work. 401 00:17:50,860 --> 00:17:52,480 But even getting people to use them is kind of hard. 402 00:17:52,980 --> 00:17:55,040 Getting people to use defensive tools to do proactive. 403 00:17:55,300 --> 00:17:57,000 Because, honestly, it's like, I don't have time for that right now. 404 00:17:57,080 --> 00:17:57,880 I'll harden that box later. 405 00:17:58,780 --> 00:18:00,240 I'll, you know, I'll take that. 406 00:18:00,280 --> 00:18:02,460 I'm going to, I want to change the firewall rules and make it stronger. 407 00:18:02,540 --> 00:18:03,120 But I'll do that later. 408 00:18:03,240 --> 00:18:06,160 I wanted to install, you know, I want to update my Acrobat reader. 409 00:18:06,660 --> 00:18:07,460 But I'll do that later. 410 00:18:07,880 --> 00:18:09,360 And I'm not blaming us for that. 411 00:18:09,420 --> 00:18:11,640 We're human, and that's humans, and that's what happens. 412 00:18:11,760 --> 00:18:13,700 It's really hard for us to do proactive security. 413 00:18:14,200 --> 00:18:20,280 It's a whole lot easier for us to, well, set something up, maybe code something up, and set it up, and say, 414 00:18:20,320 --> 00:18:23,080 okay, you handle this for me because I don't have time, you know, what have you. 415 00:18:23,580 --> 00:18:25,280 Anyway, so, but let me tell you. 416 00:18:25,300 --> 00:18:25,840 Talk about this. 417 00:18:25,920 --> 00:18:29,520 Let me switch to the other side of this outside of the point of view of the victim for a second 418 00:18:29,520 --> 00:18:33,500 and outside of the point of view of the consultant pen tester and talk about the professional hackers, 419 00:18:33,600 --> 00:18:35,060 the criminal hackers, as it were. 420 00:18:35,640 --> 00:18:40,220 And it's strange to say criminal hackers because what if you're in a country where it's not a crime? 421 00:18:40,420 --> 00:18:42,240 You know, what if you're in a country where it's considered a day job? 422 00:18:43,080 --> 00:18:46,060 You know, there are, we're probably all used to that. 423 00:18:46,120 --> 00:18:46,700 I'm not saying that. 424 00:18:46,740 --> 00:18:48,660 You're not all thinking, wow, that would be really strange. 425 00:18:48,760 --> 00:18:49,760 I've never heard of that, right? 426 00:18:49,840 --> 00:18:52,800 We've all heard of lots and lots of people who are up to no good. 427 00:18:53,320 --> 00:18:55,040 Anyway, so the deal to me is. 428 00:18:55,840 --> 00:18:59,520 Really, this client-side stuff is what the attackers started doing years ago, like whatever it is. 429 00:18:59,600 --> 00:19:02,140 I don't know, roughly five years ago, give or take five years. 430 00:19:03,140 --> 00:19:08,340 So, anyway, our attackers started doing this about five years ago, and it's been wildly successful. 431 00:19:08,640 --> 00:19:11,720 Hacking desktops has been amazingly successful for them, 432 00:19:11,800 --> 00:19:17,360 and it's been so successful that their problem hasn't been in creating some of the stuff that we create here 433 00:19:17,360 --> 00:19:19,620 and present at DEF CON and Black Hat, okay? 434 00:19:19,680 --> 00:19:25,220 Their problem hasn't been saying, okay, well, how do I come up with something I can get past Vista's new, 435 00:19:25,300 --> 00:19:26,500 heap overflow protection? 436 00:19:26,940 --> 00:19:27,880 That's not their problem. 437 00:19:27,960 --> 00:19:30,140 Their problem has been, how do I manage all these systems I own? 438 00:19:30,380 --> 00:19:32,680 I mean, God, I own 400,000 systems. 439 00:19:33,060 --> 00:19:34,440 I don't even know everything I own. 440 00:19:34,680 --> 00:19:35,620 How do I manage it? 441 00:19:35,680 --> 00:19:40,540 And so they brought us the botnet, and they brought us better and better botnets, right? 442 00:19:40,660 --> 00:19:41,760 I mean, it's for a little while. 443 00:19:41,860 --> 00:19:45,880 We had botnets, and, you know, what was the earliest way that people were controlling botnets? 444 00:19:46,220 --> 00:19:47,400 It was our own little friend. 445 00:19:47,500 --> 00:19:47,820 Exactly. 446 00:19:48,040 --> 00:19:49,700 It was our own little friend, IRC. 447 00:19:49,880 --> 00:19:50,200 Thanks. 448 00:19:50,600 --> 00:19:52,040 For a little while, I said, you know what? 449 00:19:52,140 --> 00:19:54,040 This seems like a simple enough thing. 450 00:19:54,080 --> 00:19:55,220 Why don't I just start blocking out? 451 00:19:55,300 --> 00:19:56,460 Bound IRC from my network. 452 00:19:56,780 --> 00:19:57,760 And you might be like, well, wait. 453 00:19:57,860 --> 00:20:00,180 We got this one guy who still uses IRC. 454 00:20:00,280 --> 00:20:01,000 It's like, well, fine. 455 00:20:01,020 --> 00:20:01,200 Cool. 456 00:20:01,580 --> 00:20:05,620 Let's block IRC out of the network, and then we'll let, you know, his IP address do IRC. 457 00:20:05,700 --> 00:20:08,460 Or we'll have him go through a special proxy. 458 00:20:08,580 --> 00:20:09,080 So he's allowed. 459 00:20:09,240 --> 00:20:10,540 Maybe he can even authenticate to the proxy. 460 00:20:10,660 --> 00:20:15,320 So if any IRC is leaving, we know that it's, you know, we know that it's bad unless it came from there. 461 00:20:15,560 --> 00:20:17,620 So I used to say, well, let's block IRC. 462 00:20:17,620 --> 00:20:18,980 Let's log IRC. 463 00:20:18,980 --> 00:20:25,120 Let's just log no before you think I'm logging all your conversations on our evil, evil hacker channels or not so evil hacker channels. 464 00:20:25,920 --> 00:20:27,540 No, it's not like that. 465 00:20:27,580 --> 00:20:30,760 Why don't we just log all the flow data and find out where all the IRC is going? 466 00:20:31,620 --> 00:20:32,920 And, you know, that was what I said. 467 00:20:32,980 --> 00:20:33,840 And you could still do that. 468 00:20:33,840 --> 00:20:34,680 You'll still catch some of the stuff. 469 00:20:34,760 --> 00:20:37,540 But honestly, the attackers switched to, they said, you know, screw this. 470 00:20:37,620 --> 00:20:40,160 They made their own command and control that was centralized. 471 00:20:40,720 --> 00:20:41,660 Then they went beyond that. 472 00:20:41,680 --> 00:20:43,620 They made their own command and control that was centralized and encrypted. 473 00:20:43,980 --> 00:20:49,400 Then they went beyond that and said, let's make our own command and control that's encrypted and peer-to-peer. 474 00:20:50,500 --> 00:20:52,920 And, gosh, wow, they're making it really, really, really hard. 475 00:20:53,040 --> 00:20:53,680 We talk about Flash. 476 00:20:53,680 --> 00:20:55,120 We talk about Flash. 477 00:20:55,300 --> 00:20:55,900 We talk about FluxDNS. 478 00:20:56,100 --> 00:20:57,060 We talk about all kinds of stuff. 479 00:20:57,160 --> 00:20:57,560 And we say, wow. 480 00:20:58,220 --> 00:21:09,440 But my point here is not to even go into that, but to say, realize the attackers have been so successful compromising desktops and compromising all these workstations that they had to create the botnet. 481 00:21:09,560 --> 00:21:11,320 And they don't even understand what they have. 482 00:21:12,440 --> 00:21:14,400 Workstation control is amazingly powerful. 483 00:21:15,040 --> 00:21:16,180 It's amazingly powerful. 484 00:21:16,380 --> 00:21:21,940 And most attackers, most of our attackers who have these botnets, they don't even scratch the surface of what they could do with them. 485 00:21:22,300 --> 00:21:22,700 Okay. 486 00:21:22,740 --> 00:21:23,840 If you had a targeted attack. 487 00:21:24,060 --> 00:21:24,500 I love that. 488 00:21:24,520 --> 00:21:25,280 I love when people talk. 489 00:21:25,300 --> 00:21:28,100 I love when people talk about, you know, people talk about spear phishing, going after individual things. 490 00:21:28,300 --> 00:21:31,200 If we're doing a targeted attack, this is one of the biggest things that's crazy. 491 00:21:31,300 --> 00:21:38,020 Unless you're in here doing the criminal attacks and you, well, heck, you probably still have to have a pretty decent network of people you're talking to. 492 00:21:38,480 --> 00:21:43,360 We don't really entirely know what the, you know, uber-skilled criminal attackers are actually up to. 493 00:21:43,660 --> 00:21:45,300 Yes, some of us get to watch pieces. 494 00:21:45,680 --> 00:21:47,940 Some of us are able to find out for this given set. 495 00:21:48,000 --> 00:21:51,560 We say, we caught these guys, but we didn't catch all these other guys because they're not hacking. 496 00:21:51,800 --> 00:21:53,780 They're not just hacking some central. 497 00:21:53,900 --> 00:21:55,040 They're not hacking just the government. 498 00:21:55,040 --> 00:21:55,280 They're not hacking just the government. 499 00:21:55,280 --> 00:21:56,520 They're not hacking just a couple banks. 500 00:21:56,740 --> 00:21:58,300 They're hacking everybody, right? 501 00:21:59,600 --> 00:22:06,600 Anyway, I mean, remember England did this whole thing where they were, I don't, was it MI5 or MI4 that said, assume that the Chinese own everything? 502 00:22:08,960 --> 00:22:10,360 And, wow, that was a little scary. 503 00:22:10,580 --> 00:22:18,880 But if you think about this, if we were to start looking at it, if you just looked at workstations, most of the time we go to companies and they don't even know all the machines they've got inside that are compromised. 504 00:22:19,220 --> 00:22:21,360 They suspect some of them might be. 505 00:22:21,460 --> 00:22:21,960 They don't know. 506 00:22:22,380 --> 00:22:24,380 Some of them don't even believe that any of them are compromised. 507 00:22:24,400 --> 00:22:25,080 And you say, okay. 508 00:22:25,280 --> 00:22:29,620 Well, throw up a sniffer and start watching your outbound traffic and look for something that's abnormal. 509 00:22:30,320 --> 00:22:30,680 Okay? 510 00:22:30,720 --> 00:22:32,240 At some point, that won't work so well. 511 00:22:32,300 --> 00:22:35,960 The botnets will all switch to doing, to using port 80 for their command and control. 512 00:22:36,360 --> 00:22:41,880 And they'll not just use port 80, but they'll use true HTTP because, well, we all, we made that, you know, we could do that 10 years ago. 513 00:22:42,540 --> 00:22:44,520 But, you know, right now, just start watching. 514 00:22:44,740 --> 00:22:46,180 And most companies are really surprised. 515 00:22:46,280 --> 00:22:50,580 Like, oh, my God, we have 24 compromised systems and that's out of 500. 516 00:22:50,900 --> 00:22:52,780 And we say, yeah, that's how it goes. 517 00:22:53,060 --> 00:22:55,140 It's not all just my, you know, my. 518 00:22:55,280 --> 00:22:55,700 My parents' PC. 519 00:22:56,780 --> 00:23:01,580 My parents haven't been, well, I was about to say my parents' PC hasn't been owned, but how would I know? 520 00:23:02,040 --> 00:23:02,360 Right? 521 00:23:03,020 --> 00:23:04,100 How would I know if mine had? 522 00:23:04,800 --> 00:23:06,860 Yeah, we catch it a lot of time, but we don't always catch it. 523 00:23:07,080 --> 00:23:12,860 If somebody were to do something, and this is one of the big things when we look at antivirus, we look at IPS, we look at IDS and all that. 524 00:23:12,960 --> 00:23:22,360 We say, wow, if we're signature-based, the tough part is enough people have to have been attacked by this that the vendors or that the open source free people or that whoever, that somebody's been able to create a signature. 525 00:23:23,000 --> 00:23:25,120 But don't get me off on a rant about signatures versus. 526 00:23:25,280 --> 00:23:28,400 Behavioral and how you need both and not just one and stuff like that, right? 527 00:23:29,360 --> 00:23:35,460 It's actually, I like the whole idea of having two antivirus solutions at the same time on every desktop because it's like, you know. 528 00:23:35,640 --> 00:23:40,420 Anyway, so beyond that, think about what you get out of these botnets. 529 00:23:40,560 --> 00:23:45,940 Think about what you get out of client-side exploitation, out of compromising clients and not doing it as part of a botnet. 530 00:23:46,120 --> 00:23:50,460 You know, like it's just one day you decide that you've got a grudge against your former employer. 531 00:23:50,680 --> 00:23:51,780 You've decided to be criminal. 532 00:23:51,920 --> 00:23:53,280 I don't encourage this in any way. 533 00:23:53,540 --> 00:23:55,180 But, you know, you decide you're going to go after your former. 534 00:23:55,280 --> 00:24:11,080 And you send some emails or what have you, or you send you in some way, get your former people, your former employers, you know, on your former employees network to, you know, get some client-side exploits to go to bad websites or to click on or to click on bad attachments or what have you. 535 00:24:11,120 --> 00:24:11,660 What happens? 536 00:24:11,780 --> 00:24:13,960 Well, you control one workstation or more. 537 00:24:14,080 --> 00:24:17,040 If you control one workstation inside of many, many companies, what can you do? 538 00:24:17,120 --> 00:24:18,240 What if it's the right workstation? 539 00:24:18,560 --> 00:24:21,440 What if it's the workstation that's currently logged in with all kinds of access? 540 00:24:21,700 --> 00:24:22,660 Could you print yourself checks? 541 00:24:23,220 --> 00:24:25,000 I've got a, you know, I've got friends who've done. 542 00:24:25,280 --> 00:24:27,940 They've done pen tests and, you know, they found a check printer. 543 00:24:28,120 --> 00:24:35,400 They found a machine attached to the check printer and printed themselves a million-dollar check and said, look, workstation security is important. 544 00:24:35,520 --> 00:24:36,360 It's not just the servers. 545 00:24:36,900 --> 00:24:39,240 I want to bring one of those checks to a conference one day. 546 00:24:39,320 --> 00:24:42,200 But, honestly, I'm sure that the client wouldn't let you. 547 00:24:42,920 --> 00:24:48,800 But, anyway, so as pen testers, we end up using this. 548 00:24:48,860 --> 00:24:51,640 We end up using this and we find internal access amazingly powerful. 549 00:24:51,800 --> 00:24:52,620 Why is it amazingly powerful? 550 00:24:52,780 --> 00:24:53,620 I love Windows. 551 00:24:53,980 --> 00:24:54,880 I love Windows. 552 00:24:54,880 --> 00:24:55,240 Not that. 553 00:24:55,280 --> 00:25:04,960 Not that the Mac isn't, if it ever gets targeted in greater numbers, going to be massively more vulnerable because they haven't really had to deal with the massively hostile environment there is for Microsoft software. 554 00:25:05,560 --> 00:25:11,420 But, you know, if I, one of the things I like on a pen test is that once I own one workstation, I go and look for cache credentials. 555 00:25:11,700 --> 00:25:12,900 I find the cache credentials. 556 00:25:13,020 --> 00:25:13,660 I wait long enough. 557 00:25:13,740 --> 00:25:15,180 I find cache credentials for other users. 558 00:25:15,440 --> 00:25:17,000 I find cache credentials for administrators. 559 00:25:17,300 --> 00:25:19,560 And sooner or later, I have domain admin on it. 560 00:25:19,720 --> 00:25:22,300 Who in here has done pen testing for work? 561 00:25:23,140 --> 00:25:23,860 Like, okay. 562 00:25:24,340 --> 00:25:24,700 Okay. 563 00:25:24,700 --> 00:25:25,820 So, about a tenth of the room. 564 00:25:25,980 --> 00:25:30,580 You all know, just raise your hand again if you've enjoyed the amazing power of cache credentials. 565 00:25:31,920 --> 00:25:32,280 Okay. 566 00:25:32,340 --> 00:25:34,600 More hands just went up beyond the ones that did it for work. 567 00:25:34,680 --> 00:25:35,460 So, I don't know what that means. 568 00:25:37,100 --> 00:25:37,800 But, yeah, no. 569 00:25:37,880 --> 00:25:38,400 Cache credentials. 570 00:25:38,540 --> 00:25:40,440 So, all of a sudden, I own the entire darn domain. 571 00:25:40,620 --> 00:25:42,460 And, wow, Microsoft hosts are awesome. 572 00:25:42,560 --> 00:25:43,700 I mean, AD is a beautiful thing. 573 00:25:43,920 --> 00:25:45,840 I am constantly, constantly embarrassed. 574 00:25:46,340 --> 00:25:50,600 I'm embarrassed for Unix that we don't have some of the power that AD brings because we could do it. 575 00:25:50,680 --> 00:25:52,380 It's not like LDAP didn't exist already. 576 00:25:52,900 --> 00:25:54,680 It's not like we don't have, like, 3D. 577 00:25:54,700 --> 00:25:58,800 It's far, far easier config files to modify than, you know, than the registry, right? 578 00:25:58,940 --> 00:26:00,740 You know, but we haven't had need to. 579 00:26:00,840 --> 00:26:05,900 And the reason we haven't had need to is we haven't been anywhere near as successful with open source desktops as Microsoft has been. 580 00:26:06,040 --> 00:26:07,640 We've been great with open source servers. 581 00:26:07,780 --> 00:26:07,940 Go. 582 00:26:08,120 --> 00:26:08,640 But, anyway. 583 00:26:08,780 --> 00:26:11,520 So, I'm getting off on a tangent, which I never do. 584 00:26:11,660 --> 00:26:12,500 Ever, ever, ever. 585 00:26:13,260 --> 00:26:14,000 So, anyway. 586 00:26:14,940 --> 00:26:16,640 So, you know, client-side exploitation. 587 00:26:16,920 --> 00:26:17,560 I'm going to get into it. 588 00:26:17,600 --> 00:26:19,160 I'm going to get more and more technical as we go. 589 00:26:19,320 --> 00:26:22,380 One of the big questions we get is, listen, isn't this just social engineering? 590 00:26:22,580 --> 00:26:24,620 If it's social engineering, should it really belong? 591 00:26:25,100 --> 00:26:28,000 Or, if it's social engineering, can't I just train my users? 592 00:26:28,440 --> 00:26:29,880 And I say, yeah, train your users. 593 00:26:30,000 --> 00:26:31,240 Do your security awareness training. 594 00:26:31,400 --> 00:26:32,180 Do whatever it is. 595 00:26:32,300 --> 00:26:35,220 You know, do what I do with my parents and say, Dad, if you get an email. 596 00:26:35,480 --> 00:26:37,440 God, my father's going to kill me if he ever sees this talk. 597 00:26:37,700 --> 00:26:38,180 Hi, Dad. 598 00:26:40,000 --> 00:26:40,880 So, I'm sorry. 599 00:26:42,060 --> 00:26:42,940 And so, anyway. 600 00:26:43,120 --> 00:26:54,340 You know, my dad will every so often, you know, like, show me, hey, I got this thing that says that my Google AdWords account is, my Google AdWords account is, like, all, it's the payment processing isn't working. 601 00:26:54,420 --> 00:26:54,680 It's not working. 602 00:26:54,700 --> 00:26:55,180 It's just to log in. 603 00:26:55,300 --> 00:26:58,100 And it says, you know, whatever, AdWords.Google.com. 604 00:26:58,280 --> 00:26:59,480 So, I'm going to click on it. 605 00:26:59,540 --> 00:27:02,800 But you told me to call you before I clicked on any link that I got an email. 606 00:27:03,020 --> 00:27:03,440 I said, yeah. 607 00:27:03,660 --> 00:27:05,080 Okay, let's right-click on that link. 608 00:27:05,280 --> 00:27:07,720 You see how that end part says, are you? 609 00:27:08,260 --> 00:27:09,540 That's not the real one. 610 00:27:09,740 --> 00:27:10,240 And he's like, oh. 611 00:27:10,380 --> 00:27:12,920 But, honestly, I started thinking, God, how hard is it? 612 00:27:13,060 --> 00:27:21,260 How hard is it for me to just tell everybody in the company, everybody in the company, much less my own family, how hard is it to teach every single person to right-click on the link? 613 00:27:21,400 --> 00:27:24,440 And if I could, how much harder, what would come out next? 614 00:27:24,700 --> 00:27:28,460 You know, would I just, okay, well, don't load images in your emails because that might be C-server text. 615 00:27:28,840 --> 00:27:31,780 Security awareness is amazingly important at companies. 616 00:27:31,920 --> 00:27:33,720 I totally think you should all keep doing it. 617 00:27:33,760 --> 00:27:34,680 We should all keep teaching. 618 00:27:35,480 --> 00:27:38,340 But understand that some people are going to get fooled. 619 00:27:38,700 --> 00:27:40,300 I've watched security people get fooled. 620 00:27:40,400 --> 00:27:45,580 A couple years ago, I was working with this, you know, well, I'll just say somebody in the security field. 621 00:27:45,760 --> 00:27:46,620 And I'm talking to him. 622 00:27:46,620 --> 00:27:47,920 And he said, yeah, this morning I got this thing. 623 00:27:47,940 --> 00:27:48,500 And it was a contest. 624 00:27:48,780 --> 00:27:50,260 And it said I was going to win an iPod. 625 00:27:50,440 --> 00:27:51,900 And it was, like, really, really cool. 626 00:27:52,080 --> 00:27:52,960 And so I went and I clicked on it. 627 00:27:53,000 --> 00:27:53,900 I started filling out the form. 628 00:27:53,980 --> 00:27:54,560 And I clicked. 629 00:27:54,700 --> 00:27:54,920 Next. 630 00:27:55,000 --> 00:27:56,080 And I went to the second page of the form. 631 00:27:56,160 --> 00:27:59,260 And then I'm like, wait, why does it want my social security number and my birth date? 632 00:27:59,820 --> 00:28:00,540 And he stopped. 633 00:28:00,740 --> 00:28:02,500 And he said, sheesh, I'm being phished. 634 00:28:02,580 --> 00:28:06,800 And it was just, it was 7 in the morning or 6 in the morning or whatever his version of 6 in the morning is. 635 00:28:06,880 --> 00:28:08,800 Let's call it kind of 3 in the morning for you morning people. 636 00:28:09,160 --> 00:28:09,520 Okay? 637 00:28:09,860 --> 00:28:12,080 So, you know, and he just kind of, he wasn't thinking. 638 00:28:12,200 --> 00:28:13,140 And he was a security guy. 639 00:28:13,280 --> 00:28:14,120 And he was an IT guy. 640 00:28:14,260 --> 00:28:14,740 He understood. 641 00:28:15,180 --> 00:28:16,660 He'd heard of the attack before. 642 00:28:17,000 --> 00:28:18,480 Trust me, my grandmother's online. 643 00:28:18,820 --> 00:28:20,440 She has not heard of this stuff before. 644 00:28:20,940 --> 00:28:21,300 Okay? 645 00:28:21,380 --> 00:28:22,980 She sends me e-mails in all caps. 646 00:28:23,780 --> 00:28:24,680 I told her. 647 00:28:24,700 --> 00:28:25,680 Grandma, stop shouting. 648 00:28:25,680 --> 00:28:26,380 You're hurting my ears. 649 00:28:26,500 --> 00:28:27,120 And she's like shouting. 650 00:28:27,320 --> 00:28:28,460 And it's, well, okay. 651 00:28:28,520 --> 00:28:33,500 So, by the way, there are two grandmothers that come to these conferences sometimes or know a whole lot. 652 00:28:33,580 --> 00:28:39,120 Raven Alder's grandmother and Dan Comincy's grandmother, they're like the most badass grannies I've ever seen. 653 00:28:39,300 --> 00:28:40,880 They both like, you're just like, shit. 654 00:28:41,100 --> 00:28:44,860 I mean, Raven's grandmother like runs Linux, goes to Lug and Lugs and gives talks. 655 00:28:45,700 --> 00:28:50,200 Because she called up Raven one time and asked her a question and asked Raven a question and said, how do I do this? 656 00:28:50,220 --> 00:28:50,900 And Raven said, I don't know. 657 00:28:51,000 --> 00:28:51,660 I don't run that. 658 00:28:51,740 --> 00:28:52,640 I don't run Windows. 659 00:28:52,900 --> 00:28:53,740 I run Linux. 660 00:28:53,740 --> 00:28:55,500 And Grandma said, okay, that's fine. 661 00:28:55,540 --> 00:28:55,720 Click. 662 00:28:55,860 --> 00:28:58,400 And she calls up later on and says, okay, I can't get PPP to work. 663 00:28:58,560 --> 00:28:59,660 And Raven's like, what? 664 00:28:59,800 --> 00:29:02,680 You just go to, I don't, I told you, I'm doing Linux. 665 00:29:03,120 --> 00:29:04,940 And Grandma says, yeah, yeah, I've been on Linux for a while. 666 00:29:05,020 --> 00:29:05,420 I did this. 667 00:29:05,460 --> 00:29:06,320 I've edited my Etsy hosts. 668 00:29:06,480 --> 00:29:06,960 I've edited this. 669 00:29:07,540 --> 00:29:08,620 Raven's like, oh, my God. 670 00:29:08,780 --> 00:29:09,080 Anyway. 671 00:29:10,580 --> 00:29:13,820 Yet another tangent, but let's just say it's kind of fun, that we're having fun in here. 672 00:29:13,940 --> 00:29:16,140 So, anyway, social engineering. 673 00:29:16,280 --> 00:29:22,600 My point to that tangent, if there could have been one, and I think there was, my point is that it's really, really hard to train all the users. 674 00:29:22,700 --> 00:29:22,860 Right? 675 00:29:22,860 --> 00:29:23,080 Right? 676 00:29:23,080 --> 00:29:23,320 Right? 677 00:29:23,420 --> 00:29:23,720 Right? 678 00:29:23,720 --> 00:29:25,020 Corporate users who actually have IT departments. 679 00:29:25,340 --> 00:29:26,440 Tons of people don't. 680 00:29:26,440 --> 00:29:27,680 And I'm going to come to that later on. 681 00:29:27,840 --> 00:29:29,880 But social engineering, well, you know what? 682 00:29:29,920 --> 00:29:31,000 People are going to get social engineered. 683 00:29:31,080 --> 00:29:33,460 And part of that's because social engineering is an attack on the human brainstem. 684 00:29:33,500 --> 00:29:34,820 It's an attack on how we all work. 685 00:29:35,000 --> 00:29:38,860 We all want to be helpful or we do get scared or whatever. 686 00:29:39,020 --> 00:29:44,520 There are very, you talk to people who do this who either do social engineering for a living or who do psychological profiling for a living. 687 00:29:44,620 --> 00:29:47,760 And they'll tell you that this stuff does work and there's a reason it works. 688 00:29:47,860 --> 00:29:52,320 And I will tell you that, honestly, every single one of us knows that if you get enough people attacked by something, 689 00:29:52,480 --> 00:29:53,480 you can get enough people. 690 00:29:53,480 --> 00:29:55,720 You ask, hey, can I have your password in exchange for a candy bar? 691 00:29:55,800 --> 00:29:57,160 You will find someone who says yes. 692 00:29:57,520 --> 00:30:02,800 If you can do that electronically, if you can do that, if you can make that automated, oh, God, you're going to win. 693 00:30:03,600 --> 00:30:10,400 If I go, if I look at a 50,000 guy in the front row who just said I'd do it, okay, cool. 694 00:30:10,620 --> 00:30:11,960 I'll talk to you later. 695 00:30:12,900 --> 00:30:14,520 I've got some candy bars in my bag. 696 00:30:14,740 --> 00:30:15,060 No. 697 00:30:15,720 --> 00:30:19,380 So, but I'll need you to fill out a little form authorizing me and all that stuff. 698 00:30:19,500 --> 00:30:23,260 So, if one, if one one hundredth of one percent or, you know, 699 00:30:23,480 --> 00:30:26,380 if one in 10,000 people got tricked by social engineering attack, 700 00:30:26,740 --> 00:30:28,860 one in 10,000, I can send 50 million emails. 701 00:30:29,320 --> 00:30:30,120 How many did I get? 702 00:30:30,240 --> 00:30:31,480 I can't even do the math right now. 703 00:30:31,500 --> 00:30:32,360 It's Sunday at DEF CON. 704 00:30:32,500 --> 00:30:36,740 But suppose that I have a 50,000 person company and one in 10,000 people clicks the link. 705 00:30:37,240 --> 00:30:39,460 Trust me, it's a lot more than one in 10,000 people. 706 00:30:39,580 --> 00:30:40,060 We've done this. 707 00:30:40,120 --> 00:30:40,720 We've simulated this. 708 00:30:40,800 --> 00:30:42,020 A whole lot more than one in 10,000 people. 709 00:30:42,080 --> 00:30:44,180 One in 10,000 people in a 50,000 person company gets what? 710 00:30:44,320 --> 00:30:44,880 I just got five. 711 00:30:45,640 --> 00:30:46,380 Yes, I know. 712 00:30:46,460 --> 00:30:50,440 My probability is kind of bad because we got, like, laws of large numbers and stuff, 713 00:30:50,500 --> 00:30:51,640 and those numbers weren't that large. 714 00:30:51,680 --> 00:30:53,320 But on average, kind of, you know, with, 715 00:30:53,480 --> 00:30:55,860 standard deviations and all that, I got five desktops. 716 00:30:55,880 --> 00:30:57,340 I only need one. 717 00:30:57,940 --> 00:30:58,300 Okay? 718 00:30:58,360 --> 00:31:01,260 So it's not enough to just say we're going to get social and, you know, 719 00:31:01,280 --> 00:31:02,840 this is just social engineering and the users suck. 720 00:31:03,280 --> 00:31:03,640 Okay? 721 00:31:03,880 --> 00:31:08,040 And I also think that we need to remember users, we have to protect the users. 722 00:31:08,120 --> 00:31:10,860 As security people, we have to protect the users from themselves and from the attackers. 723 00:31:11,000 --> 00:31:12,260 And really, it's not so much from themselves. 724 00:31:12,960 --> 00:31:13,320 Okay? 725 00:31:13,400 --> 00:31:14,620 It really is from the attackers. 726 00:31:14,780 --> 00:31:15,900 We can't blame the user. 727 00:31:16,320 --> 00:31:18,920 There's a lot of reasons I think we can't blame the user. 728 00:31:19,240 --> 00:31:23,300 One is, you know, unless you're going to put up, like, a driver's license for the Internet, 729 00:31:24,080 --> 00:31:27,120 we're not actually guaranteeing that everybody who buys a computer and gets on the Internet 730 00:31:27,920 --> 00:31:30,000 is actually in any way safe or prepared or trained. 731 00:31:30,480 --> 00:31:33,800 Now, I know a good number of people in this room at some point or another have said, 732 00:31:33,900 --> 00:31:36,220 there really should be a driver's license for the Internet. 733 00:31:36,640 --> 00:31:37,620 I'm writing a test. 734 00:31:37,940 --> 00:31:38,260 Right? 735 00:31:38,340 --> 00:31:39,900 But we don't get to do that. 736 00:31:39,980 --> 00:31:42,420 They let scum like us onto the Internet. 737 00:31:42,640 --> 00:31:42,860 Okay? 738 00:31:42,900 --> 00:31:44,780 None of us were supposed to be allowed on originally. 739 00:31:44,880 --> 00:31:45,080 Remember? 740 00:31:45,220 --> 00:31:47,820 It was, like, military and, you know, researchers and stuff. 741 00:31:48,060 --> 00:31:50,820 You know, this was way before you could, like, pay ten bucks to get a dial-up account. 742 00:31:50,920 --> 00:31:52,240 Now, God, what can you get for? 743 00:31:52,300 --> 00:31:52,500 Yeah. 744 00:31:52,560 --> 00:31:53,080 So it's. 745 00:31:53,480 --> 00:31:54,880 They didn't used to let scum like us on the Internet. 746 00:31:54,980 --> 00:31:56,920 Now they let us on, and they let us on the Internet from everywhere. 747 00:31:57,100 --> 00:31:59,320 They're, like, free, you know, just go to a coffeehouse. 748 00:31:59,440 --> 00:32:01,380 You never even have to have heard of an ISP. 749 00:32:01,680 --> 00:32:03,960 It's a beautiful, beautiful thing, except it's an ugly thing, too. 750 00:32:04,720 --> 00:32:05,640 So client-side attack. 751 00:32:05,980 --> 00:32:09,360 Why should you give a rat's ass about other people getting exploited by client-side attack? 752 00:32:09,520 --> 00:32:10,420 Maybe it's not your job. 753 00:32:10,620 --> 00:32:13,900 And what I say is, you know, think about when you were applying for a mortgage. 754 00:32:14,080 --> 00:32:15,580 Anybody in this room ever applied for a mortgage? 755 00:32:17,200 --> 00:32:17,520 Okay. 756 00:32:17,640 --> 00:32:21,520 We have 20 people at DEF CON, or at least in this talk, have applied for a mortgage. 757 00:32:21,680 --> 00:32:22,180 Nobody else. 758 00:32:22,260 --> 00:32:23,240 Everyone else is either independently. 759 00:32:23,480 --> 00:32:24,060 Wealthy or renting. 760 00:32:24,480 --> 00:32:24,800 Okay. 761 00:32:24,840 --> 00:32:29,380 So if you apply for a mortgage, you know, you fill out all these forms, 762 00:32:29,480 --> 00:32:31,120 and you give them a tremendous amount of information, 763 00:32:31,280 --> 00:32:32,860 much of which you never would like to be public. 764 00:32:33,040 --> 00:32:34,480 And it sits in your mortgage broker's computer. 765 00:32:35,360 --> 00:32:36,660 Or it sits in the bank's computer. 766 00:32:36,740 --> 00:32:38,580 But let's assume you used a mortgage broker, because lots of us do. 767 00:32:38,880 --> 00:32:39,840 So you used a mortgage broker. 768 00:32:39,900 --> 00:32:40,560 It sits in his computer. 769 00:32:40,700 --> 00:32:42,160 How long do you think it sits on his computer? 770 00:32:42,700 --> 00:32:43,260 Trust me. 771 00:32:43,360 --> 00:32:46,960 He's either in business for himself, or he's with a company of five or 10 or 20 people. 772 00:32:47,240 --> 00:32:48,480 You know, it's not big. 773 00:32:48,620 --> 00:32:49,860 He doesn't have an IT guy. 774 00:32:50,500 --> 00:32:51,060 Not one. 775 00:32:51,200 --> 00:32:53,040 He doesn't have even one full-time IT guy. 776 00:32:53,040 --> 00:32:54,360 How long does that sit on his computer? 777 00:32:54,820 --> 00:32:56,540 Say you applied for that mortgage 10 years ago. 778 00:32:56,600 --> 00:32:57,200 Do you think it's still there? 779 00:32:57,560 --> 00:32:59,040 Do you think your information is still there? 780 00:32:59,100 --> 00:33:00,080 I'm telling you it is. 781 00:33:00,380 --> 00:33:01,420 I'm telling you it is. 782 00:33:01,500 --> 00:33:05,640 We look at big companies and find that they haven't ever gotten rid of any of their old data. 783 00:33:05,780 --> 00:33:06,460 They don't need it anymore. 784 00:33:06,760 --> 00:33:09,240 They processed those credit cards, you know, 20 years ago. 785 00:33:09,640 --> 00:33:12,400 But, well, maybe not 20 years ago, but, you know, 10 years ago, 786 00:33:12,420 --> 00:33:13,240 and they still have the records. 787 00:33:14,620 --> 00:33:17,340 Anyway, so, but think about your mortgage broker's computer. 788 00:33:17,780 --> 00:33:18,540 Here's another one. 789 00:33:18,640 --> 00:33:19,240 My dentist. 790 00:33:19,720 --> 00:33:22,000 You know, I submitted forms to my dentist, 791 00:33:22,080 --> 00:33:23,020 and they all... 792 00:33:23,040 --> 00:33:24,780 They all get read into a computer, and they're all there. 793 00:33:24,940 --> 00:33:26,000 And which computer is it? 794 00:33:26,280 --> 00:33:28,540 Well, I'm not going to tell you guys where I get my teeth cleaned, 795 00:33:28,660 --> 00:33:31,640 but it's on the receptionist's workstation in the main lobby. 796 00:33:31,820 --> 00:33:33,420 Oh, and, you know, she's not always there. 797 00:33:33,580 --> 00:33:36,880 So you want to bring a hostile USB key, a hostile disk. 798 00:33:37,100 --> 00:33:38,260 You want to walk off the computer itself. 799 00:33:38,860 --> 00:33:41,480 You want to get her to surf to some site that, you know, 800 00:33:41,840 --> 00:33:43,940 promises that there are free games or whatever. 801 00:33:44,780 --> 00:33:48,120 You know, celebrity, you know, celebrity stories that haven't hit the... 802 00:33:48,120 --> 00:33:48,460 Whatever. 803 00:33:48,920 --> 00:33:51,120 You're going to get her, and then you're going to get me. 804 00:33:51,580 --> 00:33:52,900 And I'm not going to be able to say, 805 00:33:53,040 --> 00:33:54,900 well, the dentist should have hired a better, you know, 806 00:33:54,900 --> 00:33:58,140 IT guy that comes by once a quarter to make sure things are still working. 807 00:33:58,440 --> 00:33:58,800 Right? 808 00:33:58,820 --> 00:34:01,120 So I think that we can't blame the users. 809 00:34:01,380 --> 00:34:03,240 What we have to do instead of blaming the users 810 00:34:03,960 --> 00:34:05,300 is try to protect the users. 811 00:34:07,880 --> 00:34:08,760 So let's see. 812 00:34:09,760 --> 00:34:10,380 Where am I? 813 00:34:10,480 --> 00:34:10,860 Here we go. 814 00:34:11,160 --> 00:34:12,440 So I've been kind of... 815 00:34:12,440 --> 00:34:14,360 It looks like I'm jumping around the slides just a little bit, 816 00:34:14,380 --> 00:34:15,160 and I apologize for that. 817 00:34:15,260 --> 00:34:16,300 But basically, as an attacker, 818 00:34:16,420 --> 00:34:18,760 I just have to find one vulnerable workstation. 819 00:34:18,940 --> 00:34:19,700 All I need is one. 820 00:34:20,460 --> 00:34:20,820 Okay. 821 00:34:21,060 --> 00:34:22,920 Here's the other reason clients have exploitation at work. 822 00:34:23,040 --> 00:34:23,420 It works really well. 823 00:34:23,880 --> 00:34:25,660 We were protecting 150 servers. 824 00:34:25,900 --> 00:34:26,560 How hard was that? 825 00:34:26,820 --> 00:34:29,240 Could you absolutely, positively guarantee none of them got hacked? 826 00:34:29,600 --> 00:34:29,900 Okay. 827 00:34:30,080 --> 00:34:32,740 You couldn't, but, you know, you could better your odds. 828 00:34:33,100 --> 00:34:36,160 What if you've got to protect 10,000 or 50,000 or, you know, 829 00:34:36,180 --> 00:34:37,660 several hundred thousand workstations? 830 00:34:38,120 --> 00:34:40,680 God, that gets really, really, really hard. 831 00:34:40,900 --> 00:34:42,480 Patching has always been a race condition. 832 00:34:42,680 --> 00:34:43,440 It's always been reactive. 833 00:34:43,880 --> 00:34:45,220 It's really hard to beat it. 834 00:34:46,280 --> 00:34:49,220 One of the questions when I first floated this idea, 835 00:34:49,440 --> 00:34:50,680 when I first floated this idea, 836 00:34:50,740 --> 00:34:52,240 I take most of my ideas 837 00:34:52,240 --> 00:34:54,340 to a bunch of other people who talk at conferences 838 00:34:54,340 --> 00:34:55,620 or who don't talk at conferences, 839 00:34:55,820 --> 00:34:57,700 but who I respect and really, you know, 840 00:34:57,740 --> 00:34:59,040 I say, listen, is this new enough? 841 00:34:59,100 --> 00:34:59,740 Is this interesting? 842 00:34:59,880 --> 00:35:00,680 Is this something, you know, 843 00:35:00,680 --> 00:35:02,000 is this going to work technically? 844 00:35:02,140 --> 00:35:03,140 Am I totally full of crap? 845 00:35:03,580 --> 00:35:05,540 And they'll say, you know, and so I did this. 846 00:35:05,620 --> 00:35:06,820 And when I was doing this kind of early vetting, 847 00:35:06,860 --> 00:35:08,880 somebody said, well, this is just a patch management problem, Jay. 848 00:35:09,000 --> 00:35:10,480 It's not really worthy of talking about. 849 00:35:11,240 --> 00:35:12,700 And I kind of thought about it. 850 00:35:12,720 --> 00:35:13,640 I'm like, wow, maybe he's right. 851 00:35:13,760 --> 00:35:14,300 And I said, no, wait. 852 00:35:14,440 --> 00:35:15,660 It's not a patch management problem. 853 00:35:15,760 --> 00:35:15,940 Why? 854 00:35:16,060 --> 00:35:19,140 First, not every organization has a patch management tool in place. 855 00:35:19,360 --> 00:35:20,480 Not every single one does. 856 00:35:20,740 --> 00:35:21,740 I mean, we'll get into, 857 00:35:22,240 --> 00:35:22,740 we'll get into that, 858 00:35:22,840 --> 00:35:23,920 but assume that they do. 859 00:35:24,120 --> 00:35:25,420 You know, assume you say, well, Jay, 860 00:35:25,540 --> 00:35:26,860 at least your parents have, you know, 861 00:35:26,900 --> 00:35:28,860 Windows Update and stuff, right? 862 00:35:28,940 --> 00:35:30,360 Well, go beyond that. 863 00:35:30,420 --> 00:35:31,620 Patch management, you know, 864 00:35:31,620 --> 00:35:33,860 look at a given organization and say, 865 00:35:33,980 --> 00:35:35,440 there are a few things that aren't getting, 866 00:35:35,560 --> 00:35:37,060 there are a few things that aren't even getting patched 867 00:35:37,060 --> 00:35:37,860 by the patch management system. 868 00:35:38,080 --> 00:35:38,900 What kinds of stuff? 869 00:35:38,940 --> 00:35:40,340 Old hosts that aren't part of the domain, 870 00:35:40,400 --> 00:35:40,980 aren't part of the inventory. 871 00:35:41,620 --> 00:35:42,480 What kind of old hosts? 872 00:35:42,860 --> 00:35:43,660 Dedicated scanning machines. 873 00:35:43,740 --> 00:35:44,560 That thing runs the scanner. 874 00:35:44,680 --> 00:35:47,540 That thing just runs the multifunction devices or whatever. 875 00:35:48,000 --> 00:35:49,140 That's not getting patched. 876 00:35:49,140 --> 00:35:50,020 That's not part of the domain. 877 00:35:50,180 --> 00:35:51,720 That system can't be part of the domain 878 00:35:51,720 --> 00:35:52,060 because, 879 00:35:52,240 --> 00:35:54,100 because of a given federal law or what have you. 880 00:35:55,200 --> 00:35:56,000 Hosts that, you know, 881 00:35:56,000 --> 00:35:57,000 computers that get brought in by, 882 00:35:57,100 --> 00:35:59,620 get brought into the office from partner companies, 883 00:36:00,020 --> 00:36:01,460 they're not necessarily getting patched. 884 00:36:01,580 --> 00:36:03,320 You say, what the hell do I care about that? 885 00:36:04,200 --> 00:36:05,040 Listen, I've had, 886 00:36:05,120 --> 00:36:06,020 we've had companies, 887 00:36:06,240 --> 00:36:07,280 we have some companies we go to 888 00:36:07,280 --> 00:36:08,240 and they won't let us on their network. 889 00:36:08,600 --> 00:36:09,940 Say, what do you mean we can't be on your network? 890 00:36:10,160 --> 00:36:10,600 Can't put, 891 00:36:10,740 --> 00:36:12,580 they say, you can't put your hosts on the network. 892 00:36:12,680 --> 00:36:13,200 Use ours. 893 00:36:13,360 --> 00:36:14,180 You can't use yours. 894 00:36:14,640 --> 00:36:15,240 Say, what? 895 00:36:15,600 --> 00:36:15,920 Why? 896 00:36:16,020 --> 00:36:16,740 And they say, well, 897 00:36:17,060 --> 00:36:18,520 we are, let's see, 898 00:36:18,560 --> 00:36:20,000 a manufacturing company of some kind 899 00:36:20,000 --> 00:36:22,120 and the last three times that we've gotten hacked, 900 00:36:22,240 --> 00:36:23,500 every single time, 901 00:36:23,600 --> 00:36:25,120 it's been because somebody brought in, 902 00:36:25,180 --> 00:36:25,340 some, 903 00:36:25,420 --> 00:36:27,260 some contractor brought in a laptop 904 00:36:27,260 --> 00:36:28,580 that's not one of ours. 905 00:36:28,700 --> 00:36:29,820 It wasn't well patched. 906 00:36:29,820 --> 00:36:30,440 It had gotten owned 907 00:36:30,440 --> 00:36:31,160 and, 908 00:36:31,240 --> 00:36:32,620 and then the rest of our network, 909 00:36:32,660 --> 00:36:32,900 you know, 910 00:36:32,900 --> 00:36:34,100 and then other parts of our network got owned 911 00:36:34,100 --> 00:36:35,220 and it shut down manufacturing 912 00:36:35,220 --> 00:36:36,500 and it cost so many millions of dollars. 913 00:36:36,720 --> 00:36:37,720 Like, okay, 914 00:36:37,780 --> 00:36:38,960 we'll bring our own, 915 00:36:38,960 --> 00:36:39,340 you know, 916 00:36:39,340 --> 00:36:40,200 wireless cards, 917 00:36:40,280 --> 00:36:41,120 our own cell cards. 918 00:36:41,560 --> 00:36:42,200 So anyway, 919 00:36:42,300 --> 00:36:42,860 there's, 920 00:36:42,860 --> 00:36:43,360 you know, 921 00:36:43,380 --> 00:36:45,100 all I got to do is compromise a host 922 00:36:45,100 --> 00:36:47,280 that's not only one of yours inside your network. 923 00:36:47,340 --> 00:36:49,300 I just got to compromise a host that's in your network 924 00:36:49,300 --> 00:36:50,700 and then I've got that foothold I want. 925 00:36:51,940 --> 00:36:52,560 Beyond that, 926 00:36:52,640 --> 00:36:53,860 legacy systems of any kind 927 00:36:53,860 --> 00:36:55,760 and sometimes I have to throw in Unix hosts 928 00:36:55,760 --> 00:36:56,600 that don't auto patch. 929 00:36:57,440 --> 00:36:57,960 So anyway, 930 00:36:58,320 --> 00:36:59,540 patch management tools also, 931 00:36:59,760 --> 00:37:00,420 and this is where my, 932 00:37:00,420 --> 00:37:01,680 this is where my parents still get nailed. 933 00:37:01,740 --> 00:37:04,160 Patch management tools don't get every third party product. 934 00:37:04,920 --> 00:37:05,240 Okay, 935 00:37:05,280 --> 00:37:06,880 well I just talked about Acrobat Reader 936 00:37:06,880 --> 00:37:07,960 and that's something we're all used to. 937 00:37:07,980 --> 00:37:08,780 We're all used to Acrobat. 938 00:37:08,900 --> 00:37:10,080 But what about all the other software 939 00:37:10,080 --> 00:37:10,780 that's on my laptop? 940 00:37:11,380 --> 00:37:12,280 One of the ways I found, 941 00:37:12,420 --> 00:37:13,420 one of the ways I thought about 942 00:37:13,420 --> 00:37:14,640 the man in the middle tool that I released, 943 00:37:14,740 --> 00:37:15,100 the Midler, 944 00:37:15,260 --> 00:37:15,940 is that, 945 00:37:16,000 --> 00:37:16,400 you know, 946 00:37:16,420 --> 00:37:17,760 I've got all this software on my laptop 947 00:37:17,760 --> 00:37:19,080 and it's all going out and updating itself. 948 00:37:19,280 --> 00:37:20,180 And I started looking at it and saying, 949 00:37:20,240 --> 00:37:20,340 wow, 950 00:37:20,340 --> 00:37:21,160 it's doing a clear text. 951 00:37:21,360 --> 00:37:21,880 And wow, 952 00:37:21,980 --> 00:37:23,340 I'm not even always agreeing to the updates. 953 00:37:23,520 --> 00:37:24,260 And wow, 954 00:37:24,500 --> 00:37:25,660 some of it's not updating itself. 955 00:37:25,980 --> 00:37:27,460 Am I remembering to update it? 956 00:37:28,740 --> 00:37:29,900 So I'll talk about this. 957 00:37:30,120 --> 00:37:30,820 But anyway, 958 00:37:31,060 --> 00:37:31,560 even big, 959 00:37:31,600 --> 00:37:32,720 even lots of big companies 960 00:37:32,720 --> 00:37:33,420 that are pretty good at this, 961 00:37:33,440 --> 00:37:34,700 they don't even patch all that consistently 962 00:37:34,700 --> 00:37:35,640 or frequently enough anyway. 963 00:37:35,740 --> 00:37:37,460 Most companies seem to patch like every three months. 964 00:37:37,840 --> 00:37:39,260 And that's kind of good. 965 00:37:39,400 --> 00:37:40,060 There are lots of companies 966 00:37:40,060 --> 00:37:41,240 that do it every six or 12 967 00:37:41,240 --> 00:37:43,260 or some systems just never get patched. 968 00:37:43,380 --> 00:37:44,780 And they only tend to be comprehensive 969 00:37:44,780 --> 00:37:45,880 for Microsoft software. 970 00:37:46,320 --> 00:37:46,720 Okay? 971 00:37:47,020 --> 00:37:47,660 And then, 972 00:37:47,700 --> 00:37:48,560 even if they do that, 973 00:37:48,660 --> 00:37:50,040 browser plugins don't really 974 00:37:50,040 --> 00:37:50,320 get patched. 975 00:37:50,340 --> 00:37:51,500 They don't get patched quite so well either. 976 00:37:51,720 --> 00:37:52,700 How many of us are used to, 977 00:37:52,740 --> 00:37:54,220 we started using more and more browser plugins. 978 00:37:54,360 --> 00:37:55,420 Our users have started using them. 979 00:37:55,520 --> 00:37:56,500 And the browser plugins, 980 00:37:56,780 --> 00:37:56,980 well, 981 00:37:57,060 --> 00:37:59,560 those suckers don't get updated by Microsoft for you. 982 00:37:59,620 --> 00:38:00,220 Or they don't get updated, 983 00:38:00,440 --> 00:38:01,920 they don't necessarily get updated for you. 984 00:38:02,220 --> 00:38:02,540 Okay? 985 00:38:02,580 --> 00:38:04,260 And I've told a whole bunch of browser plugins 986 00:38:04,260 --> 00:38:04,780 not to update 987 00:38:04,780 --> 00:38:05,620 because it took too long. 988 00:38:05,740 --> 00:38:05,920 And I said, 989 00:38:05,940 --> 00:38:06,220 I'll just, 990 00:38:06,320 --> 00:38:07,240 I'm not using that right now. 991 00:38:07,260 --> 00:38:07,720 I'll update it later. 992 00:38:07,860 --> 00:38:09,100 But I don't always know when something says 993 00:38:09,100 --> 00:38:09,760 I want to update 994 00:38:09,760 --> 00:38:10,780 that it wants to update 995 00:38:10,780 --> 00:38:12,700 because there's a security vulnerability in the plugin. 996 00:38:13,220 --> 00:38:15,120 So we're not really solving this via patching. 997 00:38:15,160 --> 00:38:16,720 Maybe we could solve it via vulnerability assessments. 998 00:38:17,060 --> 00:38:17,380 Right? 999 00:38:18,360 --> 00:38:19,940 A lot of the vulnerability assessment software, 1000 00:38:19,940 --> 00:38:20,780 software now has, 1001 00:38:20,900 --> 00:38:21,160 you know, 1002 00:38:21,200 --> 00:38:23,420 can actually log into the workstations 1003 00:38:23,420 --> 00:38:24,760 and find out what versions of software. 1004 00:38:24,940 --> 00:38:25,440 But if they're not, 1005 00:38:25,600 --> 00:38:26,840 they're doing a pretty bad job. 1006 00:38:27,040 --> 00:38:27,960 And they still miss things. 1007 00:38:28,240 --> 00:38:29,780 And we still have the false positive problem. 1008 00:38:29,940 --> 00:38:31,820 And it's still very, very, very reactive. 1009 00:38:32,320 --> 00:38:32,720 Okay? 1010 00:38:33,740 --> 00:38:35,500 It's hard for us to do this. 1011 00:38:35,600 --> 00:38:37,820 It's hard for us to do vulnerability assessments 1012 00:38:37,820 --> 00:38:39,520 and catch all the client-side software issues. 1013 00:38:40,120 --> 00:38:40,520 Okay. 1014 00:38:40,880 --> 00:38:41,820 The thing is, 1015 00:38:42,260 --> 00:38:43,480 vulnerability assessment software, 1016 00:38:43,740 --> 00:38:44,840 for better or for worse, 1017 00:38:44,960 --> 00:38:46,900 is really targeted most at server applications. 1018 00:38:47,720 --> 00:38:48,120 Okay? 1019 00:38:48,140 --> 00:38:48,760 It really is. 1020 00:38:48,800 --> 00:38:49,320 It's targeted. 1021 00:38:49,440 --> 00:38:49,920 And anybody, 1022 00:38:49,940 --> 00:38:50,520 even on workstations, 1023 00:38:50,560 --> 00:38:50,720 you know, 1024 00:38:50,760 --> 00:38:52,840 it's targeted at actually going and talking to a service. 1025 00:38:53,020 --> 00:38:53,700 And the cool thing is, 1026 00:38:53,740 --> 00:38:54,500 you go and talk to a service 1027 00:38:54,500 --> 00:38:55,880 and often it replies to the version number. 1028 00:38:56,100 --> 00:38:57,140 Or you talk to a service 1029 00:38:57,140 --> 00:38:57,980 and you're able to fingerprint 1030 00:38:57,980 --> 00:38:59,780 what version of that given service it is. 1031 00:38:59,840 --> 00:39:00,420 It's really nice 1032 00:39:00,420 --> 00:39:01,860 when you're talking to server programs. 1033 00:39:02,560 --> 00:39:03,660 Client programs aren't that helpful. 1034 00:39:03,740 --> 00:39:05,340 They don't just give you their version number willy-nilly. 1035 00:39:05,520 --> 00:39:06,340 Or wait, they do. 1036 00:39:07,580 --> 00:39:09,200 This is kind of one of the places 1037 00:39:09,200 --> 00:39:10,180 where this idea got good, 1038 00:39:10,300 --> 00:39:12,000 which was a lot of the client-side software 1039 00:39:12,000 --> 00:39:14,080 is identifying itself all the time. 1040 00:39:14,520 --> 00:39:14,840 Okay? 1041 00:39:14,880 --> 00:39:15,540 My browser, 1042 00:39:15,760 --> 00:39:16,440 if you want to, 1043 00:39:16,560 --> 00:39:17,800 I would love to, 1044 00:39:17,860 --> 00:39:18,820 I'm not sniffing this network. 1045 00:39:18,880 --> 00:39:19,740 I'm not even on the DEF CON, 1046 00:39:19,940 --> 00:39:22,700 but I'd love to just talk to the wall of sheep guys 1047 00:39:22,700 --> 00:39:23,480 and say, 1048 00:39:23,540 --> 00:39:23,780 hey guys, 1049 00:39:23,980 --> 00:39:24,160 you know, 1050 00:39:24,160 --> 00:39:24,960 it's nice that you're logging 1051 00:39:24,960 --> 00:39:26,540 all these usernames and passwords going by, 1052 00:39:26,700 --> 00:39:28,900 but you're seeing a lot of clear text information going by. 1053 00:39:29,000 --> 00:39:30,280 Why don't you start logging the user agent strings? 1054 00:39:30,820 --> 00:39:31,420 Why don't you tell me 1055 00:39:31,420 --> 00:39:32,740 how many people at DEF CON right now 1056 00:39:33,680 --> 00:39:35,480 are surfing with vulnerable clients? 1057 00:39:36,220 --> 00:39:36,500 Okay? 1058 00:39:36,800 --> 00:39:38,000 How many people could I own? 1059 00:39:38,180 --> 00:39:39,360 And I could give them some information 1060 00:39:39,360 --> 00:39:40,180 out of a database 1061 00:39:40,180 --> 00:39:41,020 very, very easily. 1062 00:39:41,140 --> 00:39:41,720 They could tell me. 1063 00:39:41,820 --> 00:39:42,860 We could find that in real time. 1064 00:39:42,940 --> 00:39:43,140 We'd be like, 1065 00:39:43,200 --> 00:39:44,100 okay, this person can be owned, 1066 00:39:44,160 --> 00:39:44,700 this person can be owned, 1067 00:39:44,780 --> 00:39:45,300 this person can be owned, 1068 00:39:45,340 --> 00:39:45,920 this person can be owned. 1069 00:39:46,180 --> 00:39:47,760 And just so I can kind of go off 1070 00:39:47,760 --> 00:39:48,680 to a tangent to my previous, 1071 00:39:48,680 --> 00:39:49,540 to my other talk, 1072 00:39:50,220 --> 00:39:50,720 you know, 1073 00:39:50,740 --> 00:39:51,600 you're surfing with a browser, 1074 00:39:52,140 --> 00:39:53,140 you're surfing with a browser 1075 00:39:53,140 --> 00:39:55,000 and that browser is vulnerable. 1076 00:39:56,460 --> 00:39:57,160 You know what? 1077 00:39:57,240 --> 00:39:58,060 I can actually figure out 1078 00:39:58,060 --> 00:39:58,640 who you are anyway 1079 00:39:58,640 --> 00:39:59,840 because you went to Gmail maybe 1080 00:39:59,840 --> 00:40:01,520 or you went to many, many sites 1081 00:40:01,520 --> 00:40:02,500 and at those many, many sites 1082 00:40:02,500 --> 00:40:03,280 you've got a user ID 1083 00:40:03,280 --> 00:40:04,440 and your user ID's not being encrypted 1084 00:40:04,440 --> 00:40:05,720 because most of the websites 1085 00:40:05,720 --> 00:40:06,760 that we're all using for fun, 1086 00:40:06,860 --> 00:40:07,700 whether it's Gmail or LinkedIn 1087 00:40:07,700 --> 00:40:08,680 or Facebook or Twitter, 1088 00:40:09,040 --> 00:40:09,980 they're all kind of, 1089 00:40:10,060 --> 00:40:11,260 well, the passwords might get encrypted, 1090 00:40:11,420 --> 00:40:12,320 the usernames keep going, 1091 00:40:12,400 --> 00:40:12,600 you know, 1092 00:40:12,620 --> 00:40:14,900 once the passwords have gone, 1093 00:40:15,080 --> 00:40:17,200 actually Twitter's been going a lot of, 1094 00:40:17,220 --> 00:40:18,380 a lot of that's going up, 1095 00:40:18,400 --> 00:40:18,620 no, 1096 00:40:18,680 --> 00:40:18,840 it's not encrypted 1097 00:40:18,840 --> 00:40:19,940 but we're seeing, 1098 00:40:20,020 --> 00:40:21,460 we're seeing the usernames go by 1099 00:40:21,460 --> 00:40:21,780 and we say, 1100 00:40:21,880 --> 00:40:22,000 okay, 1101 00:40:22,080 --> 00:40:23,020 I know that that machine 1102 00:40:23,480 --> 00:40:24,280 is J. Beale 1103 00:40:24,280 --> 00:40:25,680 and J. Beale is surfing 1104 00:40:25,680 --> 00:40:26,820 with a vulnerable version of Firefox. 1105 00:40:27,120 --> 00:40:27,800 Rock on, 1106 00:40:27,880 --> 00:40:28,380 I'm going to own J. 1107 00:40:29,660 --> 00:40:31,360 So the clients are identifying themselves, 1108 00:40:31,820 --> 00:40:32,940 not just the web browsers, 1109 00:40:33,020 --> 00:40:33,640 mail clients too. 1110 00:40:33,940 --> 00:40:34,660 This is kind of interesting, 1111 00:40:34,820 --> 00:40:35,540 I was on this, 1112 00:40:35,560 --> 00:40:37,000 I was on this mailing list, 1113 00:40:37,040 --> 00:40:38,260 on this private security mailing list 1114 00:40:38,260 --> 00:40:39,380 and I sent an email 1115 00:40:39,380 --> 00:40:39,920 that I thought was really, 1116 00:40:39,960 --> 00:40:40,340 really insightful 1117 00:40:40,340 --> 00:40:41,740 and I was waiting for the reply 1118 00:40:41,740 --> 00:40:42,460 to come back and say, 1119 00:40:42,540 --> 00:40:42,680 J., 1120 00:40:42,680 --> 00:40:43,380 that's a really cool idea 1121 00:40:43,380 --> 00:40:44,440 and somebody wrote me back 1122 00:40:44,440 --> 00:40:44,740 and said, 1123 00:40:44,800 --> 00:40:45,000 J., 1124 00:40:45,000 --> 00:40:45,540 that's a cool idea 1125 00:40:45,540 --> 00:40:47,580 but your mail client's like 1126 00:40:47,580 --> 00:40:48,420 ages old 1127 00:40:48,420 --> 00:40:50,780 and there's an active exploit at it, 1128 00:40:50,900 --> 00:40:52,140 you could be receiving, 1129 00:40:52,200 --> 00:40:53,440 instead of this friendly email from me, 1130 00:40:53,520 --> 00:40:54,720 I could be owning you right now 1131 00:40:54,720 --> 00:40:55,080 and I said, 1132 00:40:55,140 --> 00:40:55,560 oh shit 1133 00:40:55,960 --> 00:40:57,340 and I realized that I don't know 1134 00:40:57,340 --> 00:40:58,660 if my mail client's updated or not, 1135 00:40:58,720 --> 00:40:59,480 it's third party software, 1136 00:41:00,080 --> 00:41:00,960 third party software, 1137 00:41:01,200 --> 00:41:02,100 it ends up being a problem. 1138 00:41:02,300 --> 00:41:03,100 So you say, 1139 00:41:03,160 --> 00:41:03,260 well, 1140 00:41:03,280 --> 00:41:03,820 what if you can't sniff 1141 00:41:03,820 --> 00:41:04,520 all the user agent strings? 1142 00:41:04,620 --> 00:41:04,820 The really, 1143 00:41:04,860 --> 00:41:05,640 really cool thing is that 1144 00:41:05,640 --> 00:41:07,080 big organizations tend to use 1145 00:41:07,080 --> 00:41:08,080 transparent proxies 1146 00:41:08,080 --> 00:41:09,720 for all of their outbound web traffic. 1147 00:41:10,240 --> 00:41:10,560 Honestly, 1148 00:41:10,680 --> 00:41:11,820 most organizations do 1149 00:41:11,820 --> 00:41:12,740 because it saves you a lot of money 1150 00:41:12,740 --> 00:41:13,160 on bandwidth. 1151 00:41:13,440 --> 00:41:13,760 Well, 1152 00:41:13,800 --> 00:41:14,680 what if I start looking at that? 1153 00:41:15,080 --> 00:41:15,580 Nice thing, 1154 00:41:15,640 --> 00:41:15,840 Squid, 1155 00:41:16,020 --> 00:41:17,560 most of the other proxies out there 1156 00:41:17,560 --> 00:41:18,400 will log user agent strings 1157 00:41:18,400 --> 00:41:19,960 and take those user agent strings, 1158 00:41:20,120 --> 00:41:20,940 start comparing them against 1159 00:41:21,500 --> 00:41:21,860 OSVDB 1160 00:41:21,860 --> 00:41:22,660 or another database 1161 00:41:22,660 --> 00:41:23,440 of vulnerable stuff, 1162 00:41:24,540 --> 00:41:25,920 compare it to the XML data 1163 00:41:25,920 --> 00:41:26,820 that Microsoft kicks out 1164 00:41:26,820 --> 00:41:27,560 and you can say, 1165 00:41:27,600 --> 00:41:27,720 wait, 1166 00:41:28,120 --> 00:41:29,060 that's a vulnerable browser 1167 00:41:29,060 --> 00:41:30,300 and you can do it in real time, 1168 00:41:30,360 --> 00:41:31,180 you can do it in real time, 1169 00:41:31,340 --> 00:41:32,380 you can kind of watch it. 1170 00:41:32,460 --> 00:41:33,900 So you don't have to sniff, 1171 00:41:33,940 --> 00:41:34,520 you can be reading logs 1172 00:41:34,520 --> 00:41:35,280 but if you can sniff, 1173 00:41:35,860 --> 00:41:37,040 you're going to see a whole lot 1174 00:41:37,040 --> 00:41:37,700 and what's really, 1175 00:41:37,780 --> 00:41:38,320 really cool is, 1176 00:41:38,400 --> 00:41:39,100 I've been talking about, 1177 00:41:39,280 --> 00:41:39,360 you know, 1178 00:41:39,400 --> 00:41:39,660 I've been saying, 1179 00:41:39,700 --> 00:41:40,740 you can sniff mail clients, 1180 00:41:40,840 --> 00:41:41,900 you can sniff browsers 1181 00:41:42,780 --> 00:41:44,380 but I'm missing something big, 1182 00:41:44,460 --> 00:41:45,340 I'm missing another bit 1183 00:41:45,340 --> 00:41:46,520 of network client-side software 1184 00:41:46,980 --> 00:41:47,980 that has lots and lots 1185 00:41:47,980 --> 00:41:48,380 of vulnerabilities 1186 00:41:48,400 --> 00:41:49,100 and can anybody tell me 1187 00:41:49,100 --> 00:41:49,480 what it is? 1188 00:41:51,380 --> 00:41:51,800 What's that? 1189 00:41:52,000 --> 00:41:52,720 I heard Java, 1190 00:41:52,860 --> 00:41:53,540 that was kind of cool. 1191 00:41:53,960 --> 00:41:54,540 Anybody else? 1192 00:41:55,460 --> 00:41:55,780 Okay, 1193 00:41:55,920 --> 00:41:56,880 browser plug-ins. 1194 00:41:57,300 --> 00:41:58,300 When I vetted this idea 1195 00:41:58,300 --> 00:41:58,840 with Dan, 1196 00:41:58,860 --> 00:41:59,560 with Dan Kaminsky, 1197 00:41:59,720 --> 00:42:00,080 he said, 1198 00:42:00,240 --> 00:42:00,440 you know, 1199 00:42:00,480 --> 00:42:01,160 browsers is great 1200 00:42:01,160 --> 00:42:02,460 but what about browser plug-ins 1201 00:42:02,460 --> 00:42:02,780 and I said, 1202 00:42:02,800 --> 00:42:03,280 what about them? 1203 00:42:03,300 --> 00:42:03,540 And he said, 1204 00:42:03,620 --> 00:42:04,060 they're vulnerable 1205 00:42:04,700 --> 00:42:05,800 and they have just as much 1206 00:42:06,440 --> 00:42:07,500 power as the browser does, 1207 00:42:07,640 --> 00:42:08,440 why not exploit those? 1208 00:42:08,840 --> 00:42:09,400 And I said, 1209 00:42:09,420 --> 00:42:09,580 yeah, 1210 00:42:09,660 --> 00:42:10,480 but how am I actually 1211 00:42:10,480 --> 00:42:11,180 going to find out 1212 00:42:11,180 --> 00:42:12,560 which ones are in use? 1213 00:42:13,080 --> 00:42:13,400 Okay, 1214 00:42:13,560 --> 00:42:13,980 well, 1215 00:42:14,120 --> 00:42:14,800 it turns out, 1216 00:42:14,840 --> 00:42:15,160 it's really, 1217 00:42:15,240 --> 00:42:15,500 really cool. 1218 00:42:15,600 --> 00:42:15,660 Well, 1219 00:42:15,680 --> 00:42:16,600 let me just kind of 1220 00:42:16,600 --> 00:42:17,180 show you real quick. 1221 00:42:17,340 --> 00:42:18,100 This is just a 1222 00:42:18,100 --> 00:42:18,840 snapshot of all the 1223 00:42:18,840 --> 00:42:19,380 vulnerabilities we're 1224 00:42:19,380 --> 00:42:20,220 finding in Acrobat Reader, 1225 00:42:20,320 --> 00:42:21,240 snapshot of all the 1226 00:42:21,240 --> 00:42:21,680 vulnerabilities we're 1227 00:42:21,680 --> 00:42:22,260 finding in Flash, 1228 00:42:22,480 --> 00:42:23,040 just doing a quick 1229 00:42:23,040 --> 00:42:23,680 search on these 1230 00:42:23,680 --> 00:42:24,320 and those are not 1231 00:42:24,320 --> 00:42:25,040 all the vulnerabilities, 1232 00:42:25,280 --> 00:42:25,900 those are the 1233 00:42:25,900 --> 00:42:26,740 vulnerabilities that 1234 00:42:26,740 --> 00:42:28,420 allowed takeover. 1235 00:42:28,960 --> 00:42:30,140 So I skipped all the 1236 00:42:30,140 --> 00:42:30,720 DOS vulnerabilities, 1237 00:42:30,960 --> 00:42:31,440 I skipped anything 1238 00:42:31,440 --> 00:42:31,900 that was just 1239 00:42:31,900 --> 00:42:32,380 maybe even 1240 00:42:32,800 --> 00:42:33,520 simple information 1241 00:42:33,520 --> 00:42:33,840 disclosure. 1242 00:42:34,180 --> 00:42:34,900 And so I said, 1243 00:42:35,000 --> 00:42:35,120 Dan, 1244 00:42:35,180 --> 00:42:35,540 how would you 1245 00:42:35,540 --> 00:42:36,280 detect plug-ins? 1246 00:42:36,320 --> 00:42:36,700 And he said, 1247 00:42:36,780 --> 00:42:36,900 well, 1248 00:42:37,000 --> 00:42:37,520 Arsenic, 1249 00:42:38,000 --> 00:42:38,840 about a year, 1250 00:42:38,980 --> 00:42:40,540 this was when we had 1251 00:42:40,540 --> 00:42:40,960 this conversation 1252 00:42:40,960 --> 00:42:41,580 more than a year ago, 1253 00:42:41,720 --> 00:42:42,400 and he said, 1254 00:42:42,500 --> 00:42:42,600 well, 1255 00:42:42,660 --> 00:42:43,420 Arsenic released 1256 00:42:43,420 --> 00:42:44,400 this tool at 1257 00:42:44,400 --> 00:42:45,040 Torcon Seattle 1258 00:42:45,040 --> 00:42:47,020 and the tool was 1259 00:42:47,020 --> 00:42:47,620 just this thing 1260 00:42:47,620 --> 00:42:47,800 called 1261 00:42:47,800 --> 00:42:47,980 Mr. 1262 00:42:48,100 --> 00:42:48,180 T, 1263 00:42:48,260 --> 00:42:48,820 Master Reconnaissance 1264 00:42:48,820 --> 00:42:49,080 Tool, 1265 00:42:49,280 --> 00:42:49,820 and it'll actually 1266 00:42:49,820 --> 00:42:50,280 tell you, 1267 00:42:50,320 --> 00:42:50,420 hey, 1268 00:42:51,260 --> 00:42:51,780 you can, 1269 00:42:51,860 --> 00:42:52,360 in essence, 1270 00:42:52,480 --> 00:42:52,660 if you can get 1271 00:42:52,660 --> 00:42:53,120 someone to visit 1272 00:42:53,120 --> 00:42:53,560 this site, 1273 00:42:53,680 --> 00:42:54,300 it'll tell you 1274 00:42:54,300 --> 00:42:54,780 all the versions 1275 00:42:54,780 --> 00:42:55,360 of their plug-ins. 1276 00:42:55,600 --> 00:42:56,520 I highly recommend 1277 00:42:56,520 --> 00:42:57,740 you go here and 1278 00:42:57,740 --> 00:42:58,060 see this, 1279 00:42:58,140 --> 00:42:58,380 because it's 1280 00:42:58,380 --> 00:42:58,940 amazingly powerful. 1281 00:42:59,260 --> 00:42:59,780 I've given you 1282 00:42:59,780 --> 00:43:00,360 just a short 1283 00:43:00,360 --> 00:43:00,920 little snippet, 1284 00:43:00,920 --> 00:43:01,160 it gives you 1285 00:43:01,160 --> 00:43:01,460 pages, 1286 00:43:01,860 --> 00:43:02,640 and you can see 1287 00:43:02,640 --> 00:43:03,020 that this is 1288 00:43:03,020 --> 00:43:03,600 the version of 1289 00:43:04,440 --> 00:43:04,960 Shockwave Flash, 1290 00:43:05,080 --> 00:43:05,280 this is the 1291 00:43:05,280 --> 00:43:05,620 version of 1292 00:43:05,620 --> 00:43:06,040 plug-ins you 1293 00:43:06,040 --> 00:43:06,340 don't even know 1294 00:43:06,340 --> 00:43:06,660 you had. 1295 00:43:06,900 --> 00:43:07,580 I still had a 1296 00:43:07,580 --> 00:43:08,120 Juiced plug-in 1297 00:43:08,120 --> 00:43:08,640 in my browser, 1298 00:43:08,720 --> 00:43:09,120 I didn't realize 1299 00:43:09,120 --> 00:43:09,800 I still had it, 1300 00:43:09,840 --> 00:43:10,240 I hadn't thought 1301 00:43:10,240 --> 00:43:10,960 about updating it, 1302 00:43:10,960 --> 00:43:11,740 I hadn't gone 1303 00:43:11,740 --> 00:43:12,460 to the Juiced site. 1304 00:43:12,680 --> 00:43:13,220 Somebody could 1305 00:43:13,220 --> 00:43:13,560 lure me, 1306 00:43:13,620 --> 00:43:13,980 get something 1307 00:43:14,560 --> 00:43:15,420 that that plug-in 1308 00:43:15,420 --> 00:43:15,780 handles, 1309 00:43:15,980 --> 00:43:17,100 and congratulations, 1310 00:43:17,340 --> 00:43:18,020 they exploit me. 1311 00:43:18,420 --> 00:43:18,800 So, 1312 00:43:18,800 --> 00:43:19,620 let's take this 1313 00:43:19,620 --> 00:43:20,100 beyond this. 1314 00:43:20,160 --> 00:43:20,460 We want to do 1315 00:43:20,460 --> 00:43:20,860 client-side 1316 00:43:20,860 --> 00:43:21,420 vulnerability assessment, 1317 00:43:21,540 --> 00:43:21,980 let's go into 1318 00:43:21,980 --> 00:43:22,760 non-network software. 1319 00:43:23,340 --> 00:43:23,740 Okay, 1320 00:43:24,340 --> 00:43:25,440 there's Larry Pesci 1321 00:43:25,440 --> 00:43:25,760 on the 1322 00:43:25,760 --> 00:43:26,660 Paul.com podcast. 1323 00:43:26,880 --> 00:43:27,500 We have a whole 1324 00:43:27,500 --> 00:43:27,880 bunch of good 1325 00:43:27,880 --> 00:43:28,260 podcasts, 1326 00:43:28,580 --> 00:43:29,380 I love a whole 1327 00:43:29,380 --> 00:43:29,820 bunch of them. 1328 00:43:30,080 --> 00:43:30,780 One of the ones 1329 00:43:30,780 --> 00:43:31,400 I like the most 1330 00:43:31,400 --> 00:43:32,100 is Paul.com, 1331 00:43:32,300 --> 00:43:33,380 and Larry Pesci 1332 00:43:33,380 --> 00:43:33,940 highlighted this 1333 00:43:33,940 --> 00:43:35,400 thing that this 1334 00:43:35,400 --> 00:43:35,980 guy Christian 1335 00:43:35,980 --> 00:43:36,600 Martorella did, 1336 00:43:36,800 --> 00:43:37,920 and basically 1337 00:43:37,920 --> 00:43:38,660 what it did was, 1338 00:43:38,800 --> 00:43:39,600 it's something 1339 00:43:39,600 --> 00:43:40,340 called Metagoofill, 1340 00:43:40,400 --> 00:43:40,920 and you pointed 1341 00:43:40,920 --> 00:43:41,260 their website, 1342 00:43:41,480 --> 00:43:42,440 it crawls the 1343 00:43:42,440 --> 00:43:42,660 website, 1344 00:43:42,960 --> 00:43:43,140 I mean, 1345 00:43:43,160 --> 00:43:43,860 not crawls the 1346 00:43:43,860 --> 00:43:44,060 website, 1347 00:43:44,220 --> 00:43:44,800 it goes and 1348 00:43:44,800 --> 00:43:45,340 searches for that 1349 00:43:45,340 --> 00:43:45,920 website in Google 1350 00:43:45,920 --> 00:43:46,460 and it looks for 1351 00:43:46,460 --> 00:43:46,700 docs, 1352 00:43:46,980 --> 00:43:47,600 it looks for 1353 00:43:47,600 --> 00:43:47,900 things with 1354 00:43:47,900 --> 00:43:48,400 doc attachment 1355 00:43:48,400 --> 00:43:48,940 and XLS 1356 00:43:48,940 --> 00:43:49,220 attachment 1357 00:43:49,220 --> 00:43:49,800 and PDF 1358 00:43:50,940 --> 00:43:51,260 attachment 1359 00:43:51,260 --> 00:43:51,860 and so on, 1360 00:43:51,980 --> 00:43:52,540 and it pulls 1361 00:43:52,540 --> 00:43:53,060 them all down, 1362 00:43:53,160 --> 00:43:53,360 and it says 1363 00:43:53,360 --> 00:43:53,820 here you go, 1364 00:43:53,940 --> 00:43:54,400 and it does 1365 00:43:54,400 --> 00:43:54,820 more than just 1366 00:43:54,820 --> 00:43:55,260 pulls them all 1367 00:43:55,260 --> 00:43:55,440 down, 1368 00:43:55,500 --> 00:43:55,880 it can actually 1369 00:43:55,880 --> 00:43:56,140 give you the 1370 00:43:56,140 --> 00:43:56,660 metadata from 1371 00:43:56,660 --> 00:43:57,080 those docs, 1372 00:43:57,160 --> 00:43:57,520 and the metadata 1373 00:43:57,520 --> 00:43:58,000 can be really 1374 00:43:58,000 --> 00:43:58,500 really interesting. 1375 00:43:58,740 --> 00:43:59,060 Awesome, 1376 00:43:59,120 --> 00:43:59,320 five. 1377 00:43:59,860 --> 00:44:00,180 Okay, 1378 00:44:00,280 --> 00:44:01,200 so the metadata 1379 00:44:01,200 --> 00:44:01,580 can be really 1380 00:44:01,580 --> 00:44:01,920 interesting, 1381 00:44:02,040 --> 00:44:02,660 what kind of 1382 00:44:02,660 --> 00:44:02,940 stuff does it 1383 00:44:02,940 --> 00:44:03,220 tell you? 1384 00:44:03,340 --> 00:44:03,840 It tells you 1385 00:44:03,840 --> 00:44:04,660 the creator 1386 00:44:04,660 --> 00:44:05,240 and the creation 1387 00:44:05,240 --> 00:44:05,840 time and the 1388 00:44:05,840 --> 00:44:06,320 version of the 1389 00:44:06,320 --> 00:44:06,620 client. 1390 00:44:07,180 --> 00:44:07,460 Okay, 1391 00:44:07,540 --> 00:44:08,180 so now I can 1392 00:44:08,180 --> 00:44:08,720 say I just 1393 00:44:08,720 --> 00:44:09,340 saw a Word doc 1394 00:44:09,340 --> 00:44:09,980 go by when I 1395 00:44:09,980 --> 00:44:10,440 was sniffing 1396 00:44:10,440 --> 00:44:10,760 or I just 1397 00:44:10,760 --> 00:44:11,200 found a Word 1398 00:44:11,200 --> 00:44:11,700 doc that was 1399 00:44:11,700 --> 00:44:12,040 posted, 1400 00:44:12,500 --> 00:44:13,380 I just had a 1401 00:44:13,380 --> 00:44:13,900 Word doc that 1402 00:44:13,900 --> 00:44:14,420 was posted up 1403 00:44:14,420 --> 00:44:14,860 to the company's 1404 00:44:14,860 --> 00:44:15,340 file server, 1405 00:44:15,500 --> 00:44:16,120 if I look at 1406 00:44:16,120 --> 00:44:16,660 that file server 1407 00:44:16,660 --> 00:44:17,160 and find Word 1408 00:44:17,160 --> 00:44:17,680 docs that were 1409 00:44:17,680 --> 00:44:18,220 just created 1410 00:44:18,540 --> 00:44:18,860 very, 1411 00:44:18,960 --> 00:44:19,360 very recently, 1412 00:44:19,780 --> 00:44:20,640 I could go 1413 00:44:20,640 --> 00:44:21,000 and pull the 1414 00:44:21,000 --> 00:44:21,640 metadata out of 1415 00:44:21,640 --> 00:44:21,760 that, 1416 00:44:21,860 --> 00:44:22,420 find out there 1417 00:44:22,420 --> 00:44:22,780 was a vulnerable 1418 00:44:22,780 --> 00:44:23,420 version of Word 1419 00:44:23,420 --> 00:44:23,700 used, 1420 00:44:23,860 --> 00:44:24,160 I see the 1421 00:44:24,160 --> 00:44:24,460 creator, 1422 00:44:25,380 --> 00:44:25,640 I see the 1423 00:44:25,640 --> 00:44:26,040 IP address, 1424 00:44:26,320 --> 00:44:26,900 and I can 1425 00:44:26,900 --> 00:44:27,240 start saying 1426 00:44:27,240 --> 00:44:27,480 okay, 1427 00:44:27,560 --> 00:44:28,360 that is a 1428 00:44:28,360 --> 00:44:28,720 system with 1429 00:44:28,720 --> 00:44:28,940 a vulnerable 1430 00:44:28,940 --> 00:44:29,360 version of 1431 00:44:29,360 --> 00:44:29,560 Word, 1432 00:44:29,720 --> 00:44:30,200 and I can 1433 00:44:35,240 --> 00:44:35,480 the hidden 1434 00:44:35,480 --> 00:44:36,000 lessons of 1435 00:44:36,000 --> 00:44:36,380 this talk 1436 00:44:36,380 --> 00:44:37,520 is that many, 1437 00:44:37,600 --> 00:44:38,060 many things, 1438 00:44:38,140 --> 00:44:38,440 whether they're 1439 00:44:38,440 --> 00:44:38,980 network clients 1440 00:44:38,980 --> 00:44:39,560 or non-network 1441 00:44:39,560 --> 00:44:39,780 clients, 1442 00:44:39,860 --> 00:44:40,560 software really 1443 00:44:40,560 --> 00:44:41,080 loves to 1444 00:44:41,080 --> 00:44:41,720 identify itself, 1445 00:44:42,300 --> 00:44:43,200 it loves to 1446 00:44:43,200 --> 00:44:43,800 identify itself, 1447 00:44:43,960 --> 00:44:44,360 it loves to 1448 00:44:44,360 --> 00:44:44,640 say hey, 1449 00:44:44,680 --> 00:44:45,000 I'm this, 1450 00:44:45,100 --> 00:44:45,420 and I don't 1451 00:44:45,420 --> 00:44:45,820 know entirely 1452 00:44:45,820 --> 00:44:46,120 why, 1453 00:44:46,240 --> 00:44:46,480 but it's 1454 00:44:46,480 --> 00:44:46,880 really cool, 1455 00:44:47,000 --> 00:44:47,440 I love it, 1456 00:44:47,500 --> 00:44:47,920 it's a 1457 00:44:47,920 --> 00:44:48,180 wonderful 1458 00:44:48,180 --> 00:44:48,900 security tool, 1459 00:44:49,360 --> 00:44:49,720 okay, 1460 00:44:49,800 --> 00:44:50,380 so I have 1461 00:44:50,380 --> 00:44:50,780 now a way 1462 00:44:50,780 --> 00:44:51,100 of actually 1463 00:44:51,100 --> 00:44:51,680 finding out 1464 00:44:51,680 --> 00:44:52,060 if I can 1465 00:44:52,060 --> 00:44:52,520 watch the 1466 00:44:52,520 --> 00:44:52,680 wire, 1467 00:44:52,780 --> 00:44:52,920 if I can 1468 00:44:52,920 --> 00:44:53,300 sniff the 1469 00:44:53,300 --> 00:44:53,520 wire, 1470 00:44:53,900 --> 00:44:54,200 I have a way 1471 00:44:54,200 --> 00:44:54,680 of finding out 1472 00:44:54,680 --> 00:44:55,180 also who's 1473 00:44:55,180 --> 00:44:55,500 got vulnerable 1474 00:44:55,500 --> 00:44:56,060 versions of 1475 00:44:56,060 --> 00:44:56,360 all this 1476 00:44:56,360 --> 00:44:57,440 other non-network 1477 00:44:57,440 --> 00:44:57,940 client software, 1478 00:44:58,580 --> 00:44:59,240 so now you 1479 00:44:59,240 --> 00:44:59,540 say well 1480 00:44:59,540 --> 00:44:59,740 Jay, 1481 00:44:59,880 --> 00:45:00,380 okay great, 1482 00:45:00,480 --> 00:45:00,720 you know what 1483 00:45:00,720 --> 00:45:01,060 version of 1484 00:45:01,060 --> 00:45:01,780 Firefox everybody's 1485 00:45:01,780 --> 00:45:01,960 running, 1486 00:45:02,060 --> 00:45:02,300 but how do 1487 00:45:02,300 --> 00:45:02,520 you know if 1488 00:45:02,520 --> 00:45:02,760 they're running 1489 00:45:02,760 --> 00:45:03,080 a vulnerable 1490 00:45:03,080 --> 00:45:03,540 version of 1491 00:45:03,540 --> 00:45:03,840 Firefox, 1492 00:45:04,020 --> 00:45:04,260 and this is 1493 00:45:04,260 --> 00:45:04,740 where OSVDB 1494 00:45:04,740 --> 00:45:05,220 comes in, 1495 00:45:05,800 --> 00:45:06,400 OSVDB was 1496 00:45:06,400 --> 00:45:06,900 created by 1497 00:45:07,380 --> 00:45:08,020 Jake Coons 1498 00:45:08,020 --> 00:45:08,660 and Forrest Ray, 1499 00:45:08,820 --> 00:45:09,140 and now it's 1500 00:45:09,140 --> 00:45:09,440 got a bunch 1501 00:45:09,440 --> 00:45:09,700 of even 1502 00:45:09,700 --> 00:45:10,400 cooler people 1503 00:45:10,400 --> 00:45:11,200 working on it 1504 00:45:11,200 --> 00:45:11,600 with them, 1505 00:45:11,740 --> 00:45:12,420 Forrest is not 1506 00:45:12,420 --> 00:45:12,900 doing it anymore, 1507 00:45:12,960 --> 00:45:13,220 but it was an 1508 00:45:13,220 --> 00:45:13,680 awesome idea, 1509 00:45:13,820 --> 00:45:14,500 and he deserves 1510 00:45:14,500 --> 00:45:14,760 credit, 1511 00:45:16,080 --> 00:45:16,920 but OSVDB is 1512 00:45:16,920 --> 00:45:17,360 an open source 1513 00:45:17,360 --> 00:45:18,080 vulnerability database, 1514 00:45:18,280 --> 00:45:18,520 one of the 1515 00:45:18,520 --> 00:45:18,640 really, 1516 00:45:18,700 --> 00:45:18,920 really cool 1517 00:45:18,920 --> 00:45:19,380 things about 1518 00:45:19,380 --> 00:45:19,740 it is that 1519 00:45:19,740 --> 00:45:20,300 beyond just 1520 00:45:20,300 --> 00:45:20,740 tracking 1521 00:45:20,740 --> 00:45:21,180 vulnerabilities, 1522 00:45:21,920 --> 00:45:22,580 and they put 1523 00:45:22,580 --> 00:45:22,920 a whole bunch 1524 00:45:22,920 --> 00:45:23,360 of time into 1525 00:45:29,240 --> 00:45:29,560 So the cool thing 1526 00:45:29,560 --> 00:45:29,880 is now, 1527 00:45:30,020 --> 00:45:30,600 if you were to 1528 00:45:30,600 --> 00:45:31,960 pull that down, 1529 00:45:32,460 --> 00:45:32,980 this is what 1530 00:45:32,980 --> 00:45:33,340 we're doing, 1531 00:45:33,460 --> 00:45:33,940 if you were to 1532 00:45:33,940 --> 00:45:34,580 pull that down 1533 00:45:34,580 --> 00:45:35,200 and run a 1534 00:45:35,200 --> 00:45:35,840 database on 1535 00:45:35,840 --> 00:45:36,140 the same 1536 00:45:36,140 --> 00:45:36,620 system that 1537 00:45:36,620 --> 00:45:37,140 is sniffing, 1538 00:45:37,520 --> 00:45:38,080 then you could 1539 00:45:38,080 --> 00:45:38,420 say okay, 1540 00:45:38,580 --> 00:45:38,980 I just saw 1541 00:45:38,980 --> 00:45:39,500 this Firefox 1542 00:45:40,480 --> 00:45:41,120 version string 1543 00:45:41,120 --> 00:45:41,380 go by, 1544 00:45:41,480 --> 00:45:41,700 I just saw 1545 00:45:41,700 --> 00:45:42,220 this iTunes 1546 00:45:42,600 --> 00:45:43,160 version string 1547 00:45:43,160 --> 00:45:43,660 go by, 1548 00:45:43,780 --> 00:45:44,240 and look it 1549 00:45:44,240 --> 00:45:44,360 up, 1550 00:45:44,420 --> 00:45:44,780 that version 1551 00:45:44,780 --> 00:45:45,160 of iTunes 1552 00:45:45,160 --> 00:45:45,540 is vulnerable 1553 00:45:45,540 --> 00:45:45,900 to this, 1554 00:45:45,900 --> 00:45:46,240 that version 1555 00:45:46,240 --> 00:45:46,620 of Firefox 1556 00:45:46,620 --> 00:45:47,040 is vulnerable 1557 00:45:47,040 --> 00:45:47,540 to this, 1558 00:45:47,660 --> 00:45:48,720 now I go a 1559 00:45:48,720 --> 00:45:48,860 little bit 1560 00:45:48,860 --> 00:45:49,200 further, 1561 00:45:49,960 --> 00:45:50,760 and I say I 1562 00:45:50,760 --> 00:45:51,120 can do 1563 00:45:51,120 --> 00:45:51,860 clients.ips, 1564 00:45:52,040 --> 00:45:52,780 I can say okay, 1565 00:45:52,920 --> 00:45:53,560 not only can I 1566 00:45:53,560 --> 00:45:54,080 make you a list 1567 00:45:54,080 --> 00:45:54,320 of all the 1568 00:45:54,320 --> 00:45:54,860 vulnerable clients, 1569 00:45:55,000 --> 00:45:55,340 but I can 1570 00:45:55,340 --> 00:45:55,480 actually, 1571 00:45:55,700 --> 00:45:56,440 if I create 1572 00:45:57,060 --> 00:45:57,920 my own proxy, 1573 00:45:58,060 --> 00:45:58,600 did it, 1574 00:45:59,180 --> 00:45:59,900 and I've 1575 00:45:59,900 --> 00:46:00,240 talked to a 1576 00:46:00,240 --> 00:46:00,400 bunch of 1577 00:46:00,400 --> 00:46:00,660 organizations 1578 00:46:00,660 --> 00:46:01,220 that also 1579 00:46:01,220 --> 00:46:01,600 have done 1580 00:46:01,600 --> 00:46:02,500 that as 1581 00:46:02,500 --> 00:46:02,720 well, 1582 00:46:02,900 --> 00:46:03,320 if you 1583 00:46:03,320 --> 00:46:03,640 create your 1584 00:46:03,640 --> 00:46:04,080 own proxy, 1585 00:46:04,180 --> 00:46:04,420 you can say 1586 00:46:04,420 --> 00:46:04,560 hey, 1587 00:46:04,640 --> 00:46:05,000 anybody with 1588 00:46:05,000 --> 00:46:05,980 a version 1589 00:46:05,980 --> 00:46:06,360 string that 1590 00:46:06,360 --> 00:46:06,740 chose themselves 1591 00:46:06,740 --> 00:46:07,260 to be running 1592 00:46:07,260 --> 00:46:08,120 software that's 1593 00:46:08,120 --> 00:46:09,260 vulnerable to 1594 00:46:09,260 --> 00:46:09,620 a publicly 1595 00:46:09,620 --> 00:46:10,080 known exploit, 1596 00:46:10,500 --> 00:46:10,920 we're just 1597 00:46:10,920 --> 00:46:11,060 going to 1598 00:46:11,060 --> 00:46:11,500 redirect them 1599 00:46:11,500 --> 00:46:11,820 to a patch 1600 00:46:11,820 --> 00:46:12,020 page, 1601 00:46:12,120 --> 00:46:12,240 we're not 1602 00:46:12,240 --> 00:46:12,440 going to 1603 00:46:12,440 --> 00:46:12,700 let them 1604 00:46:12,700 --> 00:46:13,160 surf outside 1605 00:46:13,160 --> 00:46:13,620 the company, 1606 00:46:13,800 --> 00:46:14,120 we're going 1607 00:46:14,120 --> 00:46:14,240 to redirect 1608 00:46:14,680 --> 00:46:15,020 them to a 1609 00:46:15,020 --> 00:46:15,380 patch page 1610 00:46:15,380 --> 00:46:15,600 in the 1611 00:46:15,600 --> 00:46:15,860 company, 1612 00:46:15,980 --> 00:46:16,560 and we're 1613 00:46:16,560 --> 00:46:16,640 going to 1614 00:46:16,640 --> 00:46:17,200 be automatically 1615 00:46:17,200 --> 00:46:17,820 mirroring 1616 00:46:17,820 --> 00:46:18,100 patches, 1617 00:46:18,380 --> 00:46:18,940 but that 1618 00:46:18,940 --> 00:46:19,420 way we 1619 00:46:19,420 --> 00:46:19,820 can actually 1620 00:46:19,820 --> 00:46:20,240 say you 1621 00:46:20,240 --> 00:46:20,580 know what, 1622 00:46:20,680 --> 00:46:21,140 screw it, 1623 00:46:21,160 --> 00:46:21,560 I don't want 1624 00:46:21,560 --> 00:46:22,180 this system to 1625 00:46:22,180 --> 00:46:22,680 get compromised, 1626 00:46:22,960 --> 00:46:23,620 Jay is a 1627 00:46:23,620 --> 00:46:24,300 lazy bastard, 1628 00:46:24,500 --> 00:46:25,120 and he's not 1629 00:46:25,120 --> 00:46:25,860 necessarily patching 1630 00:46:25,860 --> 00:46:26,500 his browser fast 1631 00:46:26,500 --> 00:46:26,840 enough, 1632 00:46:27,060 --> 00:46:27,800 so let's tell 1633 00:46:27,800 --> 00:46:28,140 him he's got 1634 00:46:28,140 --> 00:46:28,360 a vulnerable 1635 00:46:28,360 --> 00:46:28,780 browser, 1636 00:46:29,000 --> 00:46:29,380 and if we 1637 00:46:29,380 --> 00:46:29,740 want to, 1638 00:46:29,860 --> 00:46:30,720 let's do a 1639 00:46:30,720 --> 00:46:31,300 little bit 1640 00:46:31,300 --> 00:46:31,780 more beyond 1641 00:46:31,780 --> 00:46:32,120 telling him 1642 00:46:32,120 --> 00:46:32,200 he's a 1643 00:46:32,200 --> 00:46:32,360 vulnerable 1644 00:46:32,360 --> 00:46:32,680 browser, 1645 00:46:32,800 --> 00:46:33,120 let's go 1646 00:46:33,120 --> 00:46:33,420 and say 1647 00:46:33,420 --> 00:46:33,740 you're not 1648 00:46:33,740 --> 00:46:34,180 allowed out 1649 00:46:34,180 --> 00:46:34,440 until you 1650 00:46:34,440 --> 00:46:34,860 fix this, 1651 00:46:35,060 --> 00:46:35,620 because we're 1652 00:46:35,620 --> 00:46:35,940 not going to 1653 00:46:35,940 --> 00:46:36,300 deal with your 1654 00:46:36,300 --> 00:46:36,840 desktop getting 1655 00:46:36,840 --> 00:46:37,160 hacked, 1656 00:46:37,520 --> 00:46:38,060 and that's 1657 00:46:38,060 --> 00:46:38,420 kind of cool, 1658 00:46:38,520 --> 00:46:38,720 that's a 1659 00:46:38,720 --> 00:46:39,160 configurable 1660 00:46:39,160 --> 00:46:39,420 feature, 1661 00:46:40,480 --> 00:46:41,200 that's where 1662 00:46:41,200 --> 00:46:41,520 we get some 1663 00:46:41,520 --> 00:46:41,940 simple, 1664 00:46:42,020 --> 00:46:42,240 simple 1665 00:46:42,240 --> 00:46:42,760 client-side 1666 00:46:42,760 --> 00:46:43,000 IPS, 1667 00:46:43,340 --> 00:46:43,740 and he 1668 00:46:43,740 --> 00:46:43,880 said, 1669 00:46:43,980 --> 00:46:44,100 Jay, 1670 00:46:44,160 --> 00:46:44,440 how do you 1671 00:46:44,440 --> 00:46:44,580 do the 1672 00:46:44,580 --> 00:46:44,780 browser 1673 00:46:44,780 --> 00:46:45,060 plugins, 1674 00:46:45,280 --> 00:46:45,660 the way 1675 00:46:45,660 --> 00:46:45,760 you do 1676 00:46:45,760 --> 00:46:46,080 the browser 1677 00:46:46,080 --> 00:46:47,080 plugins is 1678 00:46:47,080 --> 00:46:47,960 basically once 1679 00:46:47,960 --> 00:46:48,440 per day, 1680 00:46:49,540 --> 00:46:50,200 right now it's 1681 00:46:50,200 --> 00:46:50,620 hard-coded, 1682 00:46:50,660 --> 00:46:51,060 but we'll make 1683 00:46:51,060 --> 00:46:51,520 it into a 1684 00:46:52,000 --> 00:46:52,640 user-configurable 1685 00:46:52,640 --> 00:46:52,900 feature, 1686 00:46:53,000 --> 00:46:53,500 once per day 1687 00:46:53,500 --> 00:46:54,180 you say, 1688 00:46:54,260 --> 00:46:54,640 I'm going to 1689 00:46:54,640 --> 00:46:55,180 redirect you, 1690 00:46:55,380 --> 00:46:55,840 I'm going to 1691 00:46:56,500 --> 00:46:57,000 insert an 1692 00:46:57,000 --> 00:46:58,180 iframe into 1693 00:46:58,180 --> 00:46:58,400 your next 1694 00:46:58,400 --> 00:46:58,720 clear-text 1695 00:46:58,720 --> 00:46:58,980 session, 1696 00:46:59,180 --> 00:46:59,360 and that 1697 00:46:59,360 --> 00:46:59,800 iframe is 1698 00:46:59,800 --> 00:46:59,960 going to 1699 00:46:59,960 --> 00:47:01,320 send you 1700 00:47:01,320 --> 00:47:01,880 to our 1701 00:47:01,880 --> 00:47:02,220 own little 1702 00:47:02,220 --> 00:47:02,560 host of 1703 00:47:02,560 --> 00:47:02,680 Mr. 1704 00:47:02,800 --> 00:47:03,200 T-Site, 1705 00:47:03,300 --> 00:47:03,760 and our 1706 00:47:03,760 --> 00:47:04,000 own little 1707 00:47:04,000 --> 00:47:04,280 host of 1708 00:47:04,280 --> 00:47:04,360 Mr. 1709 00:47:04,480 --> 00:47:04,820 T-Site 1710 00:47:04,820 --> 00:47:05,100 will show 1711 00:47:05,100 --> 00:47:05,340 us what 1712 00:47:05,340 --> 00:47:05,680 version you 1713 00:47:05,680 --> 00:47:05,820 have, 1714 00:47:05,860 --> 00:47:05,960 we'll 1715 00:47:05,960 --> 00:47:06,320 parse all 1716 00:47:06,320 --> 00:47:06,520 of that, 1717 00:47:06,580 --> 00:47:06,860 and now we 1718 00:47:06,860 --> 00:47:07,040 know what 1719 00:47:07,040 --> 00:47:07,420 plugins you 1720 00:47:07,420 --> 00:47:07,520 have, 1721 00:47:07,540 --> 00:47:07,660 we know 1722 00:47:07,660 --> 00:47:07,920 whether the 1723 00:47:07,920 --> 00:47:08,300 plugins are 1724 00:47:08,300 --> 00:47:08,540 vulnerable, 1725 00:47:08,780 --> 00:47:09,320 so this is 1726 00:47:09,320 --> 00:47:09,580 kind of the 1727 00:47:09,580 --> 00:47:09,920 client-side 1728 00:47:09,920 --> 00:47:10,160 IPS, 1729 00:47:10,620 --> 00:47:11,060 and you 1730 00:47:11,060 --> 00:47:11,280 can do 1731 00:47:11,280 --> 00:47:11,520 this for 1732 00:47:11,520 --> 00:47:11,960 other things, 1733 00:47:12,200 --> 00:47:12,760 but there 1734 00:47:12,760 --> 00:47:12,980 are two 1735 00:47:12,980 --> 00:47:13,360 more things 1736 00:47:13,360 --> 00:47:13,780 I want to 1737 00:47:13,780 --> 00:47:14,100 add in, 1738 00:47:14,180 --> 00:47:14,420 these are 1739 00:47:14,420 --> 00:47:15,020 a couple 1740 00:47:15,020 --> 00:47:15,420 new ideas 1741 00:47:15,420 --> 00:47:15,800 I had, 1742 00:47:16,180 --> 00:47:16,740 one is, 1743 00:47:17,220 --> 00:47:17,780 suppose that, 1744 00:47:17,900 --> 00:47:18,140 you know, 1745 00:47:18,140 --> 00:47:18,440 I'm talking 1746 00:47:18,440 --> 00:47:18,900 about sniffing 1747 00:47:18,900 --> 00:47:19,240 the wire, 1748 00:47:19,280 --> 00:47:19,720 man in the 1749 00:47:19,720 --> 00:47:19,960 middling, 1750 00:47:20,180 --> 00:47:20,620 I'm talking 1751 00:47:20,620 --> 00:47:21,020 about man in 1752 00:47:21,020 --> 00:47:21,280 the middling, 1753 00:47:21,340 --> 00:47:21,540 you know, 1754 00:47:21,560 --> 00:47:21,980 stuff I have, 1755 00:47:22,060 --> 00:47:22,520 what if I 1756 00:47:22,520 --> 00:47:23,060 were a bad 1757 00:47:23,060 --> 00:47:23,280 guy, 1758 00:47:23,440 --> 00:47:23,720 or what if 1759 00:47:23,720 --> 00:47:23,980 I was a 1760 00:47:23,980 --> 00:47:24,340 good guy, 1761 00:47:24,420 --> 00:47:24,700 and I just 1762 00:47:24,700 --> 00:47:24,980 wanted to 1763 00:47:24,980 --> 00:47:25,260 help other 1764 00:47:36,460 --> 00:47:36,860 people, 1765 00:47:48,000 --> 00:47:49,040 what if you 1766 00:47:49,040 --> 00:47:49,780 actually start 1767 00:47:49,780 --> 00:47:50,260 owning other 1768 00:47:50,260 --> 00:47:50,540 domains, 1769 00:47:50,820 --> 00:47:51,180 what if you 1770 00:47:51,180 --> 00:47:51,540 own the 1771 00:47:51,540 --> 00:47:51,960 places people 1772 00:47:51,960 --> 00:47:52,340 are going, 1773 00:47:52,540 --> 00:47:52,980 if you want 1774 00:47:52,980 --> 00:47:53,220 to stop 1775 00:47:53,220 --> 00:47:53,500 people from 1776 00:47:53,500 --> 00:47:53,860 going to a 1777 00:47:53,860 --> 00:47:54,380 vulnerable site, 1778 00:47:54,480 --> 00:47:54,920 you found out 1779 00:47:54,920 --> 00:47:55,260 that this 1780 00:47:55,260 --> 00:47:55,840 given website 1781 00:47:55,840 --> 00:47:56,740 is a 1782 00:47:56,740 --> 00:47:57,320 phishing site, 1783 00:47:57,400 --> 00:47:57,580 or this 1784 00:47:57,580 --> 00:47:58,100 given website 1785 00:47:58,100 --> 00:47:58,720 is running 1786 00:47:58,720 --> 00:47:59,180 client-side 1787 00:47:59,180 --> 00:47:59,520 exploits, 1788 00:47:59,580 --> 00:47:59,900 trying to 1789 00:47:59,900 --> 00:48:00,400 pwn browsers, 1790 00:48:00,720 --> 00:48:01,180 well you can 1791 00:48:01,180 --> 00:48:01,520 make a list 1792 00:48:01,520 --> 00:48:01,920 of all those 1793 00:48:01,920 --> 00:48:02,320 client-side 1794 00:48:02,320 --> 00:48:02,640 exploits, 1795 00:48:02,740 --> 00:48:03,740 client-side 1796 00:48:03,740 --> 00:48:04,060 sites, 1797 00:48:04,100 --> 00:48:05,100 and only stop 1798 00:48:05,100 --> 00:48:05,720 a browser from 1799 00:48:05,720 --> 00:48:06,200 going to that 1800 00:48:06,200 --> 00:48:07,560 site if it 1801 00:48:07,560 --> 00:48:08,160 turned out that 1802 00:48:08,160 --> 00:48:08,520 that site, 1803 00:48:08,620 --> 00:48:09,620 only stop it 1804 00:48:09,620 --> 00:48:10,000 from going to 1805 00:48:10,000 --> 00:48:10,840 that site if 1806 00:48:10,840 --> 00:48:11,660 the person was 1807 00:48:11,660 --> 00:48:12,380 vulnerable and 1808 00:48:12,380 --> 00:48:13,740 that site was 1809 00:48:13,740 --> 00:48:14,480 actually offering 1810 00:48:14,480 --> 00:48:15,560 an exploit for 1811 00:48:15,560 --> 00:48:15,760 them, 1812 00:48:15,900 --> 00:48:16,840 so now you 1813 00:48:16,840 --> 00:48:17,440 take some of 1814 00:48:17,440 --> 00:48:17,920 Dan's stuff, 1815 00:48:18,040 --> 00:48:18,340 you take his 1816 00:48:18,340 --> 00:48:18,780 ability to do 1817 00:48:18,780 --> 00:48:19,220 that to other 1818 00:48:19,220 --> 00:48:19,680 sites on the 1819 00:48:19,680 --> 00:48:19,920 internet, 1820 00:48:20,060 --> 00:48:20,400 and wow, 1821 00:48:20,560 --> 00:48:20,820 I've got a 1822 00:48:20,820 --> 00:48:21,160 nice thing, 1823 00:48:21,240 --> 00:48:21,460 why don't I 1824 00:48:21,460 --> 00:48:22,240 start DNS 1825 00:48:22,240 --> 00:48:22,920 spoofing the 1826 00:48:22,920 --> 00:48:23,420 bad guys, 1827 00:48:23,680 --> 00:48:24,160 why don't I 1828 00:48:24,640 --> 00:48:25,240 start basically 1829 00:48:25,640 --> 00:48:26,480 making sure that 1830 00:48:26,480 --> 00:48:27,380 you don't surf to 1831 00:48:27,380 --> 00:48:27,840 the right people 1832 00:48:27,840 --> 00:48:28,080 when you're 1833 00:48:28,080 --> 00:48:28,400 surfing to the 1834 00:48:28,400 --> 00:48:28,740 bad guys, 1835 00:48:28,800 --> 00:48:29,320 you surf to me 1836 00:48:29,320 --> 00:48:29,940 and I tell you, 1837 00:48:30,040 --> 00:48:30,620 oh wait, 1838 00:48:30,760 --> 00:48:31,020 you don't want 1839 00:48:31,020 --> 00:48:31,420 to go there, 1840 00:48:31,560 --> 00:48:32,360 or oh wait, 1841 00:48:32,460 --> 00:48:33,120 you don't want 1842 00:48:33,120 --> 00:48:33,480 to go there 1843 00:48:33,480 --> 00:48:33,820 unless you're 1844 00:48:33,820 --> 00:48:34,340 patched, 1845 00:48:34,740 --> 00:48:35,440 we can go one 1846 00:48:35,440 --> 00:48:36,000 further step 1847 00:48:36,000 --> 00:48:36,440 than this, 1848 00:48:36,540 --> 00:48:36,880 and I've added 1849 00:48:36,880 --> 00:48:37,320 this slide 1850 00:48:37,320 --> 00:48:37,960 specifically because 1851 00:48:37,960 --> 00:48:38,520 there's a great 1852 00:48:38,520 --> 00:48:39,540 talk here at 1853 00:48:39,540 --> 00:48:40,140 4 p.m., 1854 00:48:40,140 --> 00:48:40,700 great talk, 1855 00:48:40,900 --> 00:48:41,960 and this is, 1856 00:48:42,020 --> 00:48:42,900 what if I could 1857 00:48:43,980 --> 00:48:44,700 change routing 1858 00:48:44,700 --> 00:48:45,180 on the internet, 1859 00:48:45,400 --> 00:48:45,720 what if I could 1860 00:48:45,720 --> 00:48:46,340 go beyond DNS, 1861 00:48:46,560 --> 00:48:46,820 what if I could 1862 00:48:46,820 --> 00:48:47,240 change routing 1863 00:48:47,240 --> 00:48:47,680 on the internet, 1864 00:48:47,860 --> 00:48:48,280 this is something 1865 00:48:48,280 --> 00:48:49,240 that Dan and 1866 00:48:49,240 --> 00:48:50,220 Jay and lots 1867 00:48:50,220 --> 00:48:50,820 of other people 1868 00:48:50,820 --> 00:48:51,380 in here are 1869 00:48:51,380 --> 00:48:51,900 really trying to 1870 00:48:51,900 --> 00:48:52,560 get all of us 1871 00:48:52,560 --> 00:48:53,040 to think about, 1872 00:48:53,480 --> 00:48:54,400 what if I could 1873 00:48:54,400 --> 00:48:54,960 change routing 1874 00:48:54,960 --> 00:48:55,760 and get you 1875 00:48:55,760 --> 00:48:57,500 to surf to me 1876 00:48:57,500 --> 00:48:58,480 even if you 1877 00:48:58,480 --> 00:48:58,940 didn't want to, 1878 00:48:59,020 --> 00:48:59,280 what if I could 1879 00:48:59,280 --> 00:48:59,860 just send all of 1880 00:48:59,860 --> 00:49:00,340 your data that 1881 00:49:00,340 --> 00:49:00,860 was coming back 1882 00:49:00,860 --> 00:49:01,960 to you or 1883 00:49:01,960 --> 00:49:02,500 back to the 1884 00:49:03,260 --> 00:49:03,820 hostile sites 1885 00:49:04,120 --> 00:49:04,680 through somewhere 1886 00:49:04,680 --> 00:49:05,060 else, 1887 00:49:05,360 --> 00:49:06,100 I don't know if 1888 00:49:06,100 --> 00:49:06,640 this is quite 1889 00:49:06,640 --> 00:49:06,940 legal, 1890 00:49:07,020 --> 00:49:07,440 but if I could 1891 00:49:07,440 --> 00:49:07,900 do that, 1892 00:49:08,100 --> 00:49:08,680 then at that 1893 00:49:08,680 --> 00:49:09,480 point I can, 1894 00:49:09,600 --> 00:49:09,820 well, 1895 00:49:09,900 --> 00:49:10,360 if I go back 1896 00:49:10,360 --> 00:49:10,720 to the Midler 1897 00:49:10,720 --> 00:49:10,940 talk, 1898 00:49:11,160 --> 00:49:11,640 I can inject 1899 00:49:11,640 --> 00:49:12,640 bad things in, 1900 00:49:12,800 --> 00:49:13,480 if I go to 1901 00:49:13,480 --> 00:49:13,900 this talk 1902 00:49:13,900 --> 00:49:14,180 where we're 1903 00:49:14,180 --> 00:49:15,060 doing defensively, 1904 00:49:15,080 --> 00:49:15,600 where we're 1905 00:49:15,600 --> 00:49:16,100 doing defense, 1906 00:49:16,360 --> 00:49:16,740 I can say, 1907 00:49:16,800 --> 00:49:16,940 oh, 1908 00:49:16,980 --> 00:49:17,460 you're vulnerable, 1909 00:49:17,620 --> 00:49:17,940 I'm not going 1910 00:49:17,940 --> 00:49:18,200 to let you 1911 00:49:18,200 --> 00:49:18,440 get to the 1912 00:49:18,440 --> 00:49:18,860 bad thing, 1913 00:49:18,960 --> 00:49:19,200 or you're 1914 00:49:19,200 --> 00:49:19,500 vulnerable, 1915 00:49:19,580 --> 00:49:19,780 I'm going to 1916 00:49:19,780 --> 00:49:20,560 just inform you, 1917 00:49:20,680 --> 00:49:21,260 and now you 1918 00:49:21,260 --> 00:49:21,540 could have a 1919 00:49:21,540 --> 00:49:21,920 kind of cool 1920 00:49:21,920 --> 00:49:22,140 thing, 1921 00:49:22,220 --> 00:49:22,360 you know how 1922 00:49:22,360 --> 00:49:22,840 lots of people 1923 00:49:22,840 --> 00:49:23,200 have gone and 1924 00:49:23,200 --> 00:49:23,580 scanned the 1925 00:49:23,580 --> 00:49:23,880 whole internet, 1926 00:49:23,880 --> 00:49:24,300 they found all 1927 00:49:24,300 --> 00:49:24,580 the vulnerable 1928 00:49:24,580 --> 00:49:25,180 DNS servers, 1929 00:49:25,260 --> 00:49:25,480 the vulnerable 1930 00:49:25,480 --> 00:49:25,940 web servers, 1931 00:49:26,120 --> 00:49:27,180 or the open 1932 00:49:27,180 --> 00:49:27,640 mail relays, 1933 00:49:27,700 --> 00:49:27,900 and they sent 1934 00:49:27,900 --> 00:49:28,380 an email to 1935 00:49:28,380 --> 00:49:28,700 the people who 1936 00:49:28,700 --> 00:49:28,980 are vulnerable 1937 00:49:28,980 --> 00:49:29,240 and said, 1938 00:49:29,300 --> 00:49:29,400 hey, 1939 00:49:29,420 --> 00:49:29,600 you should 1940 00:49:29,600 --> 00:49:29,960 fix this, 1941 00:49:30,300 --> 00:49:30,580 well, 1942 00:49:30,680 --> 00:49:31,240 what if we 1943 00:49:31,240 --> 00:49:31,980 did this with 1944 00:49:31,980 --> 00:49:33,040 bad guys, 1945 00:49:33,260 --> 00:49:33,720 what if we 1946 00:49:33,720 --> 00:49:34,100 did this with 1947 00:49:34,100 --> 00:49:34,380 people going 1948 00:49:34,380 --> 00:49:34,720 to the bad 1949 00:49:34,720 --> 00:49:35,140 guy sites, 1950 00:49:35,800 --> 00:49:36,400 or who were 1951 00:49:36,400 --> 00:49:36,760 surfing with 1952 00:49:36,760 --> 00:49:37,200 vulnerable stuff, 1953 00:49:37,340 --> 00:49:37,500 and said, 1954 00:49:37,560 --> 00:49:37,700 okay, 1955 00:49:37,760 --> 00:49:38,040 I'm just going 1956 00:49:38,040 --> 00:49:38,520 to capture all 1957 00:49:38,520 --> 00:49:39,080 the internet 1958 00:49:39,080 --> 00:49:39,940 traffic on this 1959 00:49:39,940 --> 00:49:40,560 ISP today, 1960 00:49:40,740 --> 00:49:41,320 and I'm going 1961 00:49:41,320 --> 00:49:41,560 to send it 1962 00:49:41,560 --> 00:49:41,840 through me, 1963 00:49:42,140 --> 00:49:43,040 and then when 1964 00:49:43,040 --> 00:49:43,360 it goes through 1965 00:49:43,360 --> 00:49:43,540 me, 1966 00:49:43,620 --> 00:49:43,900 I'm going to 1967 00:49:43,900 --> 00:49:44,540 see if there 1968 00:49:44,540 --> 00:49:44,880 are vulnerable 1969 00:49:44,880 --> 00:49:45,240 clients, 1970 00:49:45,340 --> 00:49:45,600 and then I'm 1971 00:49:45,600 --> 00:49:45,700 going to email 1972 00:49:45,700 --> 00:49:46,120 those people, 1973 00:49:46,240 --> 00:49:46,540 or what have 1974 00:49:46,540 --> 00:49:46,740 you. 1975 00:49:47,520 --> 00:49:47,880 Anyway, 1976 00:49:47,940 --> 00:49:48,340 it's kind of 1977 00:49:48,340 --> 00:49:49,240 a little neat. 1978 00:49:49,760 --> 00:49:50,500 If you own 1979 00:49:51,080 --> 00:49:51,440 DNS, 1980 00:49:51,740 --> 00:49:52,000 if you own 1981 00:49:52,000 --> 00:49:52,320 routing, 1982 00:49:52,480 --> 00:49:53,040 if you own 1983 00:49:53,620 --> 00:49:54,340 local routing 1984 00:49:54,340 --> 00:49:54,780 like ARP, 1985 00:49:55,280 --> 00:49:56,160 if you start 1986 00:49:56,160 --> 00:49:56,780 watching all 1987 00:49:56,780 --> 00:49:57,040 the user 1988 00:49:57,040 --> 00:49:57,380 agent strings, 1989 00:49:57,500 --> 00:49:57,640 you can 1990 00:49:57,640 --> 00:49:58,000 actually protect 1991 00:49:58,000 --> 00:49:58,600 people quite a 1992 00:49:58,600 --> 00:49:58,740 bit. 1993 00:49:59,380 --> 00:50:00,060 You can also 1994 00:50:00,060 --> 00:50:00,560 modify the 1995 00:50:00,560 --> 00:50:01,060 requests in 1996 00:50:01,060 --> 00:50:01,300 flight, 1997 00:50:01,460 --> 00:50:02,140 you can do 1998 00:50:02,140 --> 00:50:02,600 whatever you 1999 00:50:02,600 --> 00:50:02,820 want, 2000 00:50:02,920 --> 00:50:03,520 redirecting gets 2001 00:50:03,520 --> 00:50:03,820 easy, 2002 00:50:03,920 --> 00:50:04,340 this is why 2003 00:50:04,340 --> 00:50:04,600 we go to 2004 00:50:04,600 --> 00:50:05,060 coffee houses 2005 00:50:05,060 --> 00:50:05,480 and end up 2006 00:50:05,480 --> 00:50:05,820 in captive 2007 00:50:05,820 --> 00:50:06,320 portals. 2008 00:50:07,280 --> 00:50:07,800 One of the 2009 00:50:07,800 --> 00:50:08,300 cool things I 2010 00:50:08,300 --> 00:50:08,640 want to do 2011 00:50:08,640 --> 00:50:08,920 though is 2012 00:50:08,920 --> 00:50:09,280 basically to 2013 00:50:09,280 --> 00:50:09,820 introduce the 2014 00:50:09,820 --> 00:50:10,220 talk that's 2015 00:50:10,800 --> 00:50:11,480 coming up at 2016 00:50:11,480 --> 00:50:12,040 4 p.m. 2017 00:50:12,320 --> 00:50:13,020 If I could 2018 00:50:13,020 --> 00:50:13,460 do that, 2019 00:50:13,620 --> 00:50:14,320 if I can 2020 00:50:14,320 --> 00:50:14,960 actually do, 2021 00:50:15,140 --> 00:50:16,320 if I can get 2022 00:50:16,320 --> 00:50:16,500 routing, 2023 00:50:16,520 --> 00:50:17,240 I've got to 2024 00:50:17,240 --> 00:50:17,500 make one 2025 00:50:17,500 --> 00:50:18,440 correction for 2026 00:50:18,440 --> 00:50:18,840 your typo 2027 00:50:18,840 --> 00:50:18,960 there. 2028 00:50:19,240 --> 00:50:19,700 It's not 2029 00:50:19,700 --> 00:50:20,500 imagine that 2030 00:50:20,500 --> 00:50:20,860 I could, 2031 00:50:21,680 --> 00:50:22,240 it's I 2032 00:50:22,240 --> 00:50:22,600 can. 2033 00:50:23,400 --> 00:50:23,960 It's not 2034 00:50:24,560 --> 00:50:25,100 even theoretical 2035 00:50:25,100 --> 00:50:25,500 at this 2036 00:50:25,500 --> 00:50:25,720 point. 2037 00:50:26,120 --> 00:50:26,560 Okay, 2038 00:50:26,560 --> 00:50:27,780 so someone 2039 00:50:27,780 --> 00:50:28,100 can, 2040 00:50:28,580 --> 00:50:29,260 he can. 2041 00:50:29,500 --> 00:50:30,040 And we 2042 00:50:30,040 --> 00:50:30,240 are. 2043 00:50:30,760 --> 00:50:31,320 And they 2044 00:50:31,320 --> 00:50:31,460 are. 2045 00:50:31,740 --> 00:50:32,180 Right now. 2046 00:50:32,380 --> 00:50:33,040 Go for it. 2047 00:50:33,120 --> 00:50:33,500 You know 2048 00:50:33,500 --> 00:50:33,700 what? 2049 00:50:34,140 --> 00:50:34,840 We have to 2050 00:50:34,840 --> 00:50:35,180 end soon, 2051 00:50:35,280 --> 00:50:35,600 so this is 2052 00:50:35,600 --> 00:50:36,020 why I'm also 2053 00:50:36,020 --> 00:50:36,280 up here. 2054 00:50:36,540 --> 00:50:36,960 Okay, 2055 00:50:37,200 --> 00:50:38,040 short version 2056 00:50:38,040 --> 00:50:38,800 is at 4 p.m. 2057 00:50:38,800 --> 00:50:39,060 You get to 2058 00:50:39,060 --> 00:50:40,120 find out that 2059 00:50:40,120 --> 00:50:40,740 someone actually 2060 00:50:40,740 --> 00:50:41,280 is taking 2061 00:50:41,280 --> 00:50:41,640 a part of 2062 00:50:41,640 --> 00:50:41,920 the internet 2063 00:50:42,400 --> 00:50:42,840 and, 2064 00:50:43,020 --> 00:50:43,440 they're just 2065 00:50:43,440 --> 00:50:44,040 sending all 2066 00:50:44,040 --> 00:50:44,480 the traffic 2067 00:50:44,480 --> 00:50:45,220 and making 2068 00:50:45,220 --> 00:50:45,360 it go 2069 00:50:45,360 --> 00:50:45,720 through them 2070 00:50:45,720 --> 00:50:46,960 and you 2071 00:50:46,960 --> 00:50:47,420 can do 2072 00:50:47,420 --> 00:50:47,680 some really 2073 00:50:47,680 --> 00:50:48,080 cool stuff. 2074 00:50:48,360 --> 00:50:49,000 My imagine 2075 00:50:49,000 --> 00:50:49,600 slide is 2076 00:50:49,600 --> 00:50:50,200 imagine if 2077 00:50:50,200 --> 00:50:50,600 any, 2078 00:50:50,680 --> 00:50:51,320 imagine if 2079 00:50:51,320 --> 00:50:51,660 Jay could, 2080 00:50:51,820 --> 00:50:52,220 imagine if 2081 00:50:52,220 --> 00:50:52,600 any of you 2082 00:50:52,600 --> 00:50:52,820 could. 2083 00:50:53,640 --> 00:50:54,240 You end up 2084 00:50:54,240 --> 00:50:54,540 getting some 2085 00:50:54,540 --> 00:50:54,840 really nice 2086 00:50:54,840 --> 00:50:55,040 stuff. 2087 00:50:55,320 --> 00:50:55,580 You could 2088 00:50:55,580 --> 00:50:55,920 gather a 2089 00:50:55,920 --> 00:50:56,080 whole bunch 2090 00:50:56,080 --> 00:50:56,380 of info, 2091 00:50:56,560 --> 00:50:56,820 you can 2092 00:50:56,820 --> 00:50:57,140 modify 2093 00:50:57,140 --> 00:50:57,500 everything 2094 00:50:57,500 --> 00:50:57,760 that you 2095 00:50:57,760 --> 00:50:58,160 want in 2096 00:50:58,160 --> 00:50:58,420 flight, 2097 00:50:59,020 --> 00:50:59,640 tons of 2098 00:50:59,640 --> 00:51:00,320 non-encrypted 2099 00:51:00,320 --> 00:51:00,580 stuff. 2100 00:51:00,720 --> 00:51:00,980 This is what 2101 00:51:00,980 --> 00:51:01,280 the middler 2102 00:51:01,280 --> 00:51:01,660 was about, 2103 00:51:01,780 --> 00:51:02,300 but imagine 2104 00:51:02,300 --> 00:51:02,600 if I could 2105 00:51:02,600 --> 00:51:02,720 do the 2106 00:51:02,720 --> 00:51:02,940 middler 2107 00:51:02,940 --> 00:51:03,240 not just 2108 00:51:03,240 --> 00:51:03,460 in my 2109 00:51:03,460 --> 00:51:03,660 local 2110 00:51:03,660 --> 00:51:04,100 land or 2111 00:51:04,100 --> 00:51:04,380 not just 2112 00:51:04,380 --> 00:51:05,180 with some 2113 00:51:05,180 --> 00:51:05,880 DNS, 2114 00:51:06,040 --> 00:51:07,060 some domains. 2115 00:51:07,600 --> 00:51:08,200 What if I 2116 00:51:13,080 --> 00:51:13,800 produce basically 2117 00:51:13,800 --> 00:51:14,380 a talk that's 2118 00:51:14,380 --> 00:51:14,720 happening at 2119 00:51:14,720 --> 00:51:15,260 4 p.m. 2120 00:51:15,300 --> 00:51:16,020 in the same 2121 00:51:16,020 --> 00:51:16,400 room? 2122 00:51:16,520 --> 00:51:17,020 You just 2123 00:51:17,020 --> 00:51:17,420 got to either 2124 00:51:17,420 --> 00:51:17,900 stay here 2125 00:51:17,900 --> 00:51:18,380 until then 2126 00:51:18,380 --> 00:51:19,180 or remember 2127 00:51:19,180 --> 00:51:19,980 how to get 2128 00:51:19,980 --> 00:51:20,440 back here. 2129 00:51:20,500 --> 00:51:20,700 I know 2130 00:51:20,700 --> 00:51:21,040 many of 2131 00:51:21,040 --> 00:51:21,220 you are 2132 00:51:21,220 --> 00:51:21,500 drunk, 2133 00:51:21,580 --> 00:51:22,000 so just 2134 00:51:22,000 --> 00:51:22,560 stumble your 2135 00:51:22,560 --> 00:51:22,960 way back 2136 00:51:22,960 --> 00:51:23,280 to here. 2137 00:51:23,940 --> 00:51:24,560 Track 4 2138 00:51:24,560 --> 00:51:24,800 room, 2139 00:51:24,960 --> 00:51:25,420 this is 2140 00:51:25,420 --> 00:51:25,540 going to 2141 00:51:25,540 --> 00:51:25,640 be a 2142 00:51:25,640 --> 00:51:25,820 really, 2143 00:51:25,840 --> 00:51:25,940 really 2144 00:51:25,940 --> 00:51:26,120 awesome 2145 00:51:26,120 --> 00:51:26,380 talk. 2146 00:51:26,460 --> 00:51:26,560 It's 2147 00:51:26,560 --> 00:51:26,660 called 2148 00:51:26,660 --> 00:51:27,060 Stealing 2149 00:51:27,060 --> 00:51:27,200 the 2150 00:51:27,200 --> 00:51:27,480 Internet. 2151 00:51:29,380 --> 00:51:29,820 I'll see 2152 00:51:29,820 --> 00:51:30,100 you all 2153 00:51:30,100 --> 00:51:30,420 in breakout 2154 00:51:30,420 --> 00:51:30,840 room or 2155 00:51:30,840 --> 00:51:31,020 whatever.