1 00:00:00,000 --> 00:00:05,540 Testing. Howdy. How are you all doing? I am David Maynor and we are here to talk about 2 00:00:06,040 --> 00:00:10,540 bringing sexy back. However, if you're expecting to see Justin Timberlake, I am sorely disappointing 3 00:00:10,540 --> 00:00:17,200 you. You'll just have to see me topless, which I think will be just as good. So, if you don't 4 00:00:17,200 --> 00:00:20,280 know me, my name is David Maynor and I'm with a small company out of Atlanta called Arata 5 00:00:20,280 --> 00:00:26,100 Security and this gentleman to my right is Robert Graham. He's the CEO. And Rob's famous 6 00:00:26,100 --> 00:00:34,820 for a lot of things like inventing IPS. That's pretty much about it. But what we're going 7 00:00:34,820 --> 00:00:39,020 to be talking about today is we as a company do a lot of pen testing and we don't do traditional 8 00:00:39,020 --> 00:00:42,280 pen testing because that's kind of boring. You know, everybody runs their vulnerability 9 00:00:42,280 --> 00:00:48,360 scanners. That gets kind of old and repetitive and there's actually no real return on investment 10 00:00:48,360 --> 00:00:53,360 in there. So, we actually always seem to end up with clients that want weird custom things 11 00:00:53,360 --> 00:00:56,080 done and we're going to talk about two of the custom things we've done. But we've 12 00:00:56,080 --> 00:00:59,040 got a few of them. First of all, I have a question, has anybody had sex with a hooker 13 00:00:59,040 --> 00:01:07,340 today? Has anybody been rejected by a hooker today? You know, we've got more hands for 14 00:01:07,340 --> 00:01:11,520 that one, that's kind of good. So, without further ado, I'm going to turn this over 15 00:01:11,520 --> 00:01:15,180 to Rob and I'm going to heckle him. If you can help me heckle Rob, that would be great. 16 00:01:19,220 --> 00:01:23,800 Rob Scheinbaugh, So, what this talk is about is getting creative with pen tests. First 17 00:01:23,800 --> 00:01:26,060 of all, I want to mention the fact that pen tests enjoy a huge amount of brain power. 18 00:01:26,060 --> 00:01:30,780 general are supposed to be boring. So Dave and I used to work for internet security systems 19 00:01:30,780 --> 00:01:36,220 before they were bought out by IBM. And ISS did a lot of pen tests. ISS was also... 20 00:01:36,220 --> 00:01:39,500 That's a nasty rumor, by the way. There's no actual proof we ever worked for internet 21 00:01:39,500 --> 00:01:44,840 security systems. So ISS would also have the X-Force group, which is well known for finding 22 00:01:44,840 --> 00:01:51,880 zero-day vulnerabilities. So everyone assumed that ISS would use their O-days on pen tests. 23 00:01:51,880 --> 00:01:57,560 But the reality is that ISS never did. Because the point of a pen test is not to see if I 24 00:01:57,560 --> 00:02:01,840 can pop you with O-day, which in most cases everyone sort of accepts that that's true. 25 00:02:02,100 --> 00:02:07,700 The point of a pen test is to say, are my defenses adequate for the likely sort of attacks 26 00:02:07,700 --> 00:02:13,300 I'm likely to get? So for most corporations, their likely attacks are from script kitties, 27 00:02:13,740 --> 00:02:20,760 or from this well-honed industry of phishing and script kitties and crawlers coming against 28 00:02:20,760 --> 00:02:21,460 their sites. 29 00:02:22,760 --> 00:02:29,620 So the tests that most pen testers do are very simple. There you port scan it, you run a 30 00:02:29,620 --> 00:02:34,660 vuln scanner against it, you do some password cracking, you try some cross-site scripting 31 00:02:34,660 --> 00:02:39,940 attacks with automated tools, you run your automated tools looking for SQL injection. And 32 00:02:39,940 --> 00:02:45,580 that's the height of the threats that most corporations are going to be affected with. 33 00:02:45,860 --> 00:02:50,340 Now one of the interesting things we've noticed is that anytime you do a pen test, you know the 34 00:02:50,340 --> 00:02:55,200 first time you want to figure out anything, you just put it into Google, right? Googling 35 00:02:55,720 --> 00:03:00,360 your client should be part of a pen test, but I have yet to see any reports that actually 36 00:03:00,360 --> 00:03:04,860 include it. Just doing like, you know, finding out everything that Google has indexed from 37 00:03:04,860 --> 00:03:10,600 your client is a lot easier than, you know, trying to find everything manually. And you 38 00:03:10,600 --> 00:03:13,800 know, as you've seen from Johnny Long's talks and things like that, you can actually find 39 00:03:13,800 --> 00:03:17,120 a lot of interesting things just from Google. So that's the kind of stuff we're going to be 40 00:03:17,120 --> 00:03:18,760 talking about, weird and interesting things. 41 00:03:20,340 --> 00:03:25,600 So the next question is when creativity is good. And that is for the small subset of customers 42 00:03:26,200 --> 00:03:30,840 that realize that they're not just under attack from your standard script kiddies, but they've 43 00:03:30,840 --> 00:03:36,020 actually got serious people that are motivated to get them. And really they fall into two primary 44 00:03:36,680 --> 00:03:43,240 categories. One is financial firms, Wall Street firms. They've got a lot of money. Hackers are 45 00:03:43,240 --> 00:03:50,100 trying to get it. The other is government agencies. Everyone in the world outside the United States in 46 00:03:50,100 --> 00:03:57,520 the United States, actually inside the United States too, when they go to bed at night dreaming about who am I going to attack tomorrow, they're dreaming about the Department of Defense. 47 00:03:58,420 --> 00:04:00,080 I dream about Cindy Margolis. 48 00:04:01,780 --> 00:04:11,580 So that's when creativity is good, is the more fearful organizations that have got reason to fear, that they fear a well-funded, determined adversary. 49 00:04:13,480 --> 00:04:20,080 So one thing we've looked at for a lot of our customers over the years of if you want to be a 50 00:04:20,100 --> 00:04:26,480 business, you want to have a guaranteed return on investment. Imagine that you're a venture capitalist firm, but you're not funding venture capital 51 00:04:27,180 --> 00:04:34,460 startups in Silicon Valley. You're funding Russian crime bosses to go after American financial firm to hack. 52 00:04:35,180 --> 00:04:44,340 So how much would it cost for a Russian crime boss to hack an American corporation? We estimate that it would probably be about a million dollars. 53 00:04:45,120 --> 00:04:48,920 They would hire a few hackers. They would spend a year scanning the site. 54 00:04:50,180 --> 00:04:53,260 Reverse engineering their applications and doing lots of strange things. 55 00:04:53,780 --> 00:05:05,360 And over that year, they would gradually work their way into the network and then find things like, okay, if we grab $100 million from this company, how do we avoid tripping financial controls? 56 00:05:05,900 --> 00:05:09,520 A good example of this is a French firm recently, in the last six months. 57 00:05:10,420 --> 00:05:19,620 One of their traders was previously involved in setting up their financial controls to detect if massive amounts of money are being transferred illegally. 58 00:05:20,700 --> 00:05:31,240 Since he worked on that system, when he became a financial trader himself, he nearly bankrupted the company, losing billions of dollars trading things that he wasn't supposed to. 59 00:05:31,780 --> 00:05:40,280 Now, he wasn't trying to steal the money. As it turns out, he had just made some bad trades and then kept doing more trades to try to recover and get back to his original position. 60 00:05:41,040 --> 00:05:47,160 We are all here in Vegas, so we know how that is. We lose $10. Well, if I keep playing, maybe I'll win that $10 back. 61 00:05:47,260 --> 00:05:50,020 And I go $20 down, $100 down, $1,000 down. 62 00:05:50,100 --> 00:05:53,160 And now I have to walk home instead of driving. 63 00:05:54,680 --> 00:05:58,020 So this guy had bypassed the internal controls. 64 00:05:58,880 --> 00:06:02,400 So that's the sort of thing you need to start thinking about from creative attacks. 65 00:06:02,740 --> 00:06:11,160 If I'm a well-funded adversary, and I'm trying to emulate a well-funded adversary against a corporation, I need to start thinking creatively. 66 00:06:11,540 --> 00:06:15,980 As a disclaimer for this slide, we're not singling out Russian crime lords. 67 00:06:16,060 --> 00:06:20,080 It also works with Brazilian crime lords, Japanese crime lords, Indonesian crime lords. 68 00:06:20,080 --> 00:06:21,580 If there is such a thing. 69 00:06:23,060 --> 00:06:27,260 So one of our ideas that we came up with that we've used is iPhone in the Box. 70 00:06:27,680 --> 00:06:31,600 And that was sort of the impetus for the title for the talk. 71 00:06:33,700 --> 00:06:35,240 What's the title of the talk? Getting Sexy Back? 72 00:06:35,540 --> 00:06:36,440 Getting Sexy Back. 73 00:06:36,680 --> 00:06:40,180 Unfortunately, Dave Maynor here is the Justin Timberlake fan. 74 00:06:40,600 --> 00:06:43,660 And so I'm not really up on Justin Timberlake as Dave is. 75 00:06:45,160 --> 00:06:49,040 But Justin Timberlake did a sketch for Saturday Night Live. 76 00:06:49,040 --> 00:06:50,960 I don't know, last year at Christmas or two years ago. 77 00:06:51,420 --> 00:06:54,040 Which sounds like iPhone in the Box. 78 00:06:55,600 --> 00:06:56,880 So the idea is simple. 79 00:06:57,020 --> 00:06:57,860 You get a box. 80 00:06:58,160 --> 00:07:00,100 You put your iPhone in the box. 81 00:07:00,260 --> 00:07:01,500 And you mail the box. 82 00:07:01,740 --> 00:07:06,360 In case you were wondering, this idea literally came from a drunken night while watching that Justin Timberlake video. 83 00:07:09,340 --> 00:07:11,520 So step one, you have to get a box. 84 00:07:12,980 --> 00:07:17,580 We use the original iPhone box because if you're shipping an iPhone in an iPhone box, 85 00:07:17,580 --> 00:07:19,460 that doesn't really look all that suspicious. 86 00:07:21,260 --> 00:07:26,240 So it's the perfect size for everything because under the little plastic tray that the iPhone comes in, 87 00:07:26,260 --> 00:07:27,020 there's all this space. 88 00:07:27,340 --> 00:07:29,540 And you know what would fit perfectly in that space? 89 00:07:30,140 --> 00:07:30,980 It's a battery. 90 00:07:31,220 --> 00:07:33,000 So this is all the material we used. 91 00:07:33,380 --> 00:07:34,480 That's the iPhone box. 92 00:07:34,780 --> 00:07:36,720 That's the iPhone itself. 93 00:07:37,360 --> 00:07:39,320 And that is the APC battery. 94 00:07:39,460 --> 00:07:40,980 And we have one actually right here on stage. 95 00:07:41,620 --> 00:07:43,640 Unfortunately, due to a mishap, we don't have ours. 96 00:07:43,740 --> 00:07:45,280 But we were able to borrow Rich Mogul's. 97 00:07:45,280 --> 00:07:48,900 So we're going to have to do something bad to it before we give it back to him. 98 00:07:49,020 --> 00:07:54,300 So Dave did a lot of work to get his iPhone, actually my iPhone, packaged up. 99 00:07:55,600 --> 00:07:58,980 And before we took the flight here, we FedExed it to the hotel here. 100 00:07:59,500 --> 00:08:00,520 It arrived fine. 101 00:08:00,580 --> 00:08:02,240 It was carried up to his room. 102 00:08:03,140 --> 00:08:04,880 We then showed it to a bunch of reporters. 103 00:08:05,540 --> 00:08:07,520 And then this morning, Dave wants to bring the box here. 104 00:08:07,520 --> 00:08:08,060 We're media whores. 105 00:08:08,600 --> 00:08:11,780 He wants to bring the box here for the presentation, which was the whole point. 106 00:08:12,380 --> 00:08:13,560 And he leaves it in the cab. 107 00:08:14,600 --> 00:08:17,320 So somewhere, somebody's enjoying a... 108 00:08:17,320 --> 00:08:19,680 You know, I should get the pony for epic fail. 109 00:08:19,760 --> 00:08:20,700 I know, I know, I know. 110 00:08:21,080 --> 00:08:23,840 And the sad part about that is it's my iPhone, not his. 111 00:08:24,060 --> 00:08:25,100 This is his iPhone. 112 00:08:26,580 --> 00:08:28,340 So let's talk about some interesting things. 113 00:08:28,380 --> 00:08:30,360 That APC battery that we were talking about. 114 00:08:30,520 --> 00:08:35,020 On a standard, not to 3G, because the 3G sucks battery life like crazy. 115 00:08:35,160 --> 00:08:37,820 But on a standard iPhone, we found out with it fully charged, 116 00:08:37,900 --> 00:08:40,300 with the battery fully charged, you put it in the box and send it somewhere, 117 00:08:40,500 --> 00:08:42,640 it can stay on for about five days. 118 00:08:42,640 --> 00:08:45,820 Which means that, you know, you have about five days to scan 119 00:08:45,820 --> 00:08:49,360 and do basically whatever you want from the iPhone. 120 00:08:49,520 --> 00:08:51,420 Which is enough to FedEx it overnight somewhere, 121 00:08:51,700 --> 00:08:53,460 let it sit in somebody's receiving facility, 122 00:08:53,840 --> 00:08:56,500 let them figure out that there's no one there named Jack Me Off, 123 00:08:56,780 --> 00:08:58,060 then have them send it back. 124 00:09:00,540 --> 00:09:04,260 So, so far, we've always returned, gotten the iPhone back, and it's still running. 125 00:09:09,000 --> 00:09:09,880 An iPhone? 126 00:09:10,220 --> 00:09:10,660 Yes. 127 00:09:13,820 --> 00:09:15,620 Yeah, ours was lost in the cab, so. 128 00:09:15,760 --> 00:09:19,000 And it's in the original, was it UPS or FedEx? 129 00:09:19,200 --> 00:09:21,440 So actually what we're worried about now is somebody's going to look at that 130 00:09:21,440 --> 00:09:23,680 and see there's an iPhone with a battery and think it's a bomb. 131 00:09:23,880 --> 00:09:27,820 So if you guys see a bomb scare tonight, don't tell anyone it was us. 132 00:09:29,960 --> 00:09:31,540 Let's just keep it between us. 133 00:09:32,440 --> 00:09:34,280 And one of the things we haven't done yet, 134 00:09:34,380 --> 00:09:37,380 and I'm kind of disappointed Dave lost the box, 135 00:09:37,520 --> 00:09:40,360 because I wanted to see what it looks like through an x-ray machine. 136 00:09:40,920 --> 00:09:42,620 So my first thought was, oh, that's cool. 137 00:09:42,620 --> 00:09:44,000 Okay, I'm going to carry it through the x-ray machine 138 00:09:44,000 --> 00:09:47,340 and take a picture of the x-ray as it goes through to see if it looks like a bomb. 139 00:09:47,960 --> 00:09:50,640 Then I thought the better of it in thinking that Dave should do that. 140 00:09:52,360 --> 00:09:56,020 So as a little back history, last year we were at a conference 141 00:09:56,020 --> 00:09:58,040 and Rob was reading a paper in Seattle, 142 00:09:58,080 --> 00:10:03,300 and he said that you have to get tased now in the state of Washington to buy a taser. 143 00:10:03,500 --> 00:10:04,500 He goes, you know what we should do? 144 00:10:04,540 --> 00:10:06,920 We should have a poll on our website to see which one of us gets tased. 145 00:10:07,380 --> 00:10:09,880 Knowing full well I was going to lose, so I ended up getting tased. 146 00:10:09,880 --> 00:10:13,660 So basically when it comes to RATA and things where you can almost get arrested 147 00:10:13,660 --> 00:10:16,760 or more than likely, I seem to end up getting the short end of the stick. 148 00:10:18,460 --> 00:10:22,940 So by the way, just as an offside, is that this APC battery pack, 149 00:10:23,260 --> 00:10:26,420 I've never really heard much news about it, but it's very light, 150 00:10:26,580 --> 00:10:29,080 and it really lasts actually a fairly long time. 151 00:10:29,500 --> 00:10:31,520 We're being sponsored by APC. 152 00:10:31,780 --> 00:10:32,500 No, we're not. 153 00:10:32,740 --> 00:10:35,100 So this is actually really cool. 154 00:10:35,160 --> 00:10:37,760 If you're thinking about using mobile devices to hack with, 155 00:10:37,860 --> 00:10:39,860 this is actually a fairly useful device. 156 00:10:40,800 --> 00:10:42,700 It's great because it charges via USB, 157 00:10:42,880 --> 00:10:46,700 and the other end of the iPhone is just USB, 158 00:10:46,800 --> 00:10:47,780 so you plug it in and you're ready to go. 159 00:10:47,980 --> 00:10:49,900 No soldering, no hacking required. 160 00:10:50,360 --> 00:10:52,260 This could be almost GripKitty hardware hacking. 161 00:10:52,540 --> 00:10:55,760 So it's just got USB in and USB out, and it rocks. 162 00:11:02,520 --> 00:11:04,880 So since we don't have the box to show you, 163 00:11:04,920 --> 00:11:06,300 here's the original picture of the box. 164 00:11:06,440 --> 00:11:08,920 And as you can see, it's got a nice little slot to hold up the iPhone, 165 00:11:08,920 --> 00:11:12,200 and underneath it, it's got a great place to put the iPhone. 166 00:11:12,640 --> 00:11:17,300 It needs a little bit of cardboard hacking to actually cut a hole in it 167 00:11:17,300 --> 00:11:21,320 so that you can fit in the, get all the cables in. 168 00:11:22,880 --> 00:11:25,640 So here's pictures of Dave taking his box and cardboard hacking. 169 00:11:25,900 --> 00:11:27,080 And here you can see the little... 170 00:11:27,080 --> 00:11:29,300 We actually had to end up cutting a slit right there 171 00:11:29,300 --> 00:11:31,700 so the battery and the cables and everything would fit, 172 00:11:31,860 --> 00:11:33,560 but when you put the top of the box back on, 173 00:11:33,680 --> 00:11:34,920 it looks just like a regular box. 174 00:11:36,460 --> 00:11:37,600 And that's it running. 175 00:11:38,640 --> 00:11:40,560 So one of the things you have to do 176 00:11:40,560 --> 00:11:43,300 is when the phone goes into auto-lock mode, 177 00:11:43,620 --> 00:11:46,040 like a lot of the interactive stuff you have running on it 178 00:11:46,040 --> 00:11:47,140 will stop running. 179 00:11:47,340 --> 00:11:49,580 So we recommend that you turn off auto-lock 180 00:11:49,580 --> 00:11:51,480 and make sure it doesn't automatically power off. 181 00:11:52,220 --> 00:11:54,340 And fortunately, the iPhone is shipped to you 182 00:11:54,340 --> 00:11:55,460 as a mobile device. 183 00:11:55,700 --> 00:11:58,620 So Apple's very concerned about powering off as often as it can 184 00:11:58,620 --> 00:12:00,480 to avoid sucking down all the battery. 185 00:12:00,700 --> 00:12:02,860 But we want to use it as a Linux machine 186 00:12:02,860 --> 00:12:04,120 or a free BSD machine, 187 00:12:04,400 --> 00:12:05,820 and so we had to actually turn off 188 00:12:05,820 --> 00:12:07,580 all these wonderful, nice user features 189 00:12:07,600 --> 00:12:08,740 that Apple has 190 00:12:08,740 --> 00:12:11,860 just to make the free BSD stuff work. 191 00:12:12,580 --> 00:12:14,460 So this is the gayest picture of me ever taken. 192 00:12:16,340 --> 00:12:18,120 This is my tinker pose. 193 00:12:18,200 --> 00:12:18,400 If you actually look at some ads 194 00:12:18,400 --> 00:12:20,420 for some gay bars here in Las Vegas, 195 00:12:20,520 --> 00:12:22,020 you'll find that this is not the gayest picture 196 00:12:22,020 --> 00:12:22,800 of David ever taken. 197 00:12:23,200 --> 00:12:25,280 This was my audition photo for 198 00:12:25,280 --> 00:12:26,000 Thunder Down Under. 199 00:12:28,200 --> 00:12:29,560 So after you do this, 200 00:12:29,620 --> 00:12:32,020 and if you work for Apple or their law firm, 201 00:12:32,160 --> 00:12:32,940 please cover your ears. 202 00:12:33,120 --> 00:12:35,020 The first thing you have to do is jailbreak the iPhone. 203 00:12:35,280 --> 00:12:37,580 I assume everybody here has a jailbroken iPhone. 204 00:12:37,600 --> 00:12:38,760 So you know, 205 00:12:38,780 --> 00:12:41,980 after that you saw the SSH and BSD subsystems. 206 00:12:42,020 --> 00:12:43,680 And I've gotten a lot of flak 207 00:12:43,680 --> 00:12:45,420 like this week already from Mac zealots 208 00:12:45,420 --> 00:12:46,500 that are like, oh my god, 209 00:12:46,600 --> 00:12:48,040 why are you doing this with an iPhone? 210 00:12:48,240 --> 00:12:49,300 You can do this with any phone. 211 00:12:49,840 --> 00:12:52,220 Well, it's actually really hard to do with a Windows mobile phone 212 00:12:52,220 --> 00:12:54,580 because Windows mobile doesn't have a Unix-like interface 213 00:12:54,580 --> 00:12:55,520 right underneath it. 214 00:12:56,380 --> 00:12:59,120 So I suppose you could do it with a Symbian, 215 00:12:59,140 --> 00:13:00,460 but if you've ever tried to use that SDK, 216 00:13:01,260 --> 00:13:02,660 it'd be better just to do it with the iPhone. 217 00:13:03,320 --> 00:13:05,020 So for disclaimer purposes, 218 00:13:05,180 --> 00:13:06,940 you can pretty much do this with any device 219 00:13:07,600 --> 00:13:09,320 if you have a network connection 220 00:13:09,320 --> 00:13:11,700 to something like AT&T and a Wi-Fi connection. 221 00:13:12,000 --> 00:13:13,580 It's just a lot easier with the iPhone. 222 00:13:14,620 --> 00:13:15,220 Right, I mean, 223 00:13:15,240 --> 00:13:17,160 Dave's notebook, like this notebook right here 224 00:13:17,160 --> 00:13:19,380 has an HSDPA connection built into it. 225 00:13:19,500 --> 00:13:21,440 So in theory we could do the same thing with this notebook 226 00:13:21,440 --> 00:13:22,500 and ship it to a customer. 227 00:13:22,740 --> 00:13:24,480 Because I don't trust the Wi-Fi network here, 228 00:13:24,560 --> 00:13:25,440 and I hope you don't either. 229 00:13:25,680 --> 00:13:27,760 But it's a lot heavier, it costs a lot more to ship, 230 00:13:27,900 --> 00:13:30,400 and it's not quite as sexy. 231 00:13:32,160 --> 00:13:34,000 So there's a bunch of stuff you have to do. 232 00:13:34,100 --> 00:13:35,520 For example, we use the AP logger 233 00:13:35,520 --> 00:13:36,960 to keep the Wi-Fi interface going. 234 00:13:37,600 --> 00:13:39,600 Otherwise the Apple software 235 00:13:40,620 --> 00:13:41,660 wants to turn it off. 236 00:13:42,200 --> 00:13:43,920 So we want to have TCP dump running 237 00:13:43,920 --> 00:13:45,160 by capturing all the packets, 238 00:13:45,300 --> 00:13:46,380 all the Wi-Fi raw packets. 239 00:13:47,220 --> 00:13:49,580 We also have to do a little bit more custom stuff. 240 00:13:50,480 --> 00:13:51,840 One of the problems we have 241 00:13:51,840 --> 00:13:52,900 is the SSH demon. 242 00:13:53,240 --> 00:13:55,700 You can't actually SSH to an iPhone 243 00:13:56,240 --> 00:13:57,240 across the internet, 244 00:13:57,400 --> 00:13:59,260 because AT&T's network 245 00:13:59,260 --> 00:14:01,600 has firewalls that block all incoming connections. 246 00:14:02,380 --> 00:14:03,520 We also have the problem 247 00:14:03,520 --> 00:14:05,580 of not knowing exactly what the IP address 248 00:14:05,580 --> 00:14:06,640 of the iPhone is. 249 00:14:08,460 --> 00:14:09,760 And there's also issues 250 00:14:09,760 --> 00:14:11,000 that it's not always actually on. 251 00:14:11,080 --> 00:14:12,100 When it's flying in the airplane 252 00:14:12,100 --> 00:14:14,380 going from the FedEx facility 253 00:14:14,380 --> 00:14:16,200 to the hotel or something, 254 00:14:16,480 --> 00:14:18,060 the internet connectivity is not on. 255 00:14:18,340 --> 00:14:19,480 Now we'd like to point out 256 00:14:19,480 --> 00:14:22,140 that our device is not on while the plane is flying, 257 00:14:22,220 --> 00:14:23,900 because that would be illegal according to the FAA. 258 00:14:24,200 --> 00:14:25,600 So we have an application 259 00:14:25,600 --> 00:14:27,660 that uses the accelerometer 260 00:14:27,660 --> 00:14:29,780 to detect when it's going faster. 261 00:14:33,540 --> 00:14:35,900 Just for FAA purposes. 262 00:14:38,800 --> 00:14:40,880 So we just set up a cron job. 263 00:14:41,180 --> 00:14:42,520 And we just have a cron 264 00:14:42,520 --> 00:14:44,200 to a little reflecting app we've got 265 00:14:44,200 --> 00:14:45,500 that simply takes 266 00:14:45,500 --> 00:14:46,480 an incoming TCP connection 267 00:14:46,480 --> 00:14:47,400 and reflects it on back 268 00:14:47,400 --> 00:14:50,940 so that we SSH into the reflector. 269 00:14:51,060 --> 00:14:52,540 You can use Netcat probably for this. 270 00:14:52,780 --> 00:14:53,620 We do, actually. 271 00:14:55,060 --> 00:14:56,240 I assumed you wrote something. 272 00:14:56,640 --> 00:14:58,520 So you SSH into the reflector. 273 00:14:58,520 --> 00:14:59,840 You can tell when someone gets into management. 274 00:15:00,160 --> 00:15:02,000 They're like, you know, I just assume we do this 275 00:15:02,000 --> 00:15:03,160 and I just assume we do that. 276 00:15:03,160 --> 00:15:03,900 . 277 00:15:07,580 --> 00:15:09,020 So you SSH into it 278 00:15:09,020 --> 00:15:10,120 and you basically wait an hour 279 00:15:10,120 --> 00:15:11,960 for the connection to come back in 280 00:15:11,960 --> 00:15:13,840 and then you've got your nice little SSH prompt 281 00:15:13,840 --> 00:15:15,400 that you start running your utilities from. 282 00:15:16,960 --> 00:15:18,660 Now there's two things that we like to do, 283 00:15:18,720 --> 00:15:19,800 and that's Ferret and Metasploit. 284 00:15:21,840 --> 00:15:23,700 Ferret is the tool that I wrote last year 285 00:15:23,700 --> 00:15:25,640 and I've given presentations at it 286 00:15:25,640 --> 00:15:26,360 at Black Hat and stuff. 287 00:15:26,760 --> 00:15:29,580 It pulls down all sorts of information 288 00:15:29,580 --> 00:15:30,880 that notebooks are leaking. 289 00:15:31,480 --> 00:15:32,980 So if you sniff right now 290 00:15:33,160 --> 00:15:35,320 on the Wi-Fi coming here, 291 00:15:36,240 --> 00:15:37,700 you'll find out lots of information 292 00:15:37,700 --> 00:15:38,840 about people they're broadcasting 293 00:15:38,840 --> 00:15:40,480 about themselves, such as their names. 294 00:15:40,800 --> 00:15:42,540 So there's lots of people here that think 295 00:15:42,540 --> 00:15:44,840 that their hacker is evading the FBI or something 296 00:15:44,840 --> 00:15:45,920 and they're coming incognito, 297 00:15:46,060 --> 00:15:48,420 but then their Apple MacBook is saying 298 00:15:48,420 --> 00:15:49,740 it's broadcasting out saying 299 00:15:49,740 --> 00:15:51,200 that this is John Smith's computer. 300 00:15:51,860 --> 00:15:53,840 So the FBI just listens on the Wi-Fi 301 00:15:53,840 --> 00:15:55,040 and they know everyone who's here. 302 00:15:55,380 --> 00:15:57,160 And the last access point they connected to 303 00:15:57,160 --> 00:15:58,240 was John's secret lair. 304 00:16:00,200 --> 00:16:01,760 So in our Ferret tool, 305 00:16:03,160 --> 00:16:03,960 all sorts of corporate machines 306 00:16:03,960 --> 00:16:05,220 are leaking the same information. 307 00:16:06,500 --> 00:16:08,940 So that's a great tool to run on the iPhone 308 00:16:08,940 --> 00:16:11,200 because you're sniffing the raw packets 309 00:16:11,860 --> 00:16:13,360 from the Wi-Fi packets. 310 00:16:13,620 --> 00:16:14,740 So imagine a corporation 311 00:16:14,740 --> 00:16:16,780 that's done the right thing for pen testing 312 00:16:16,780 --> 00:16:18,480 and they have no access points 313 00:16:18,480 --> 00:16:19,160 that we can access. 314 00:16:19,560 --> 00:16:22,760 We can still listen in on these notebook broadcasts 315 00:16:22,760 --> 00:16:24,100 and find out a lot about the corporation. 316 00:16:24,860 --> 00:16:26,220 One of the biggest things we found 317 00:16:26,220 --> 00:16:29,340 is that most computers go through a list 318 00:16:29,340 --> 00:16:31,340 of all the previous access points 319 00:16:31,340 --> 00:16:32,060 that they've gone to. 320 00:16:33,160 --> 00:16:34,800 So you can map out, for example, 321 00:16:34,900 --> 00:16:36,280 where the sales guys have gone 322 00:16:36,280 --> 00:16:39,260 if the CEO has gone to Microsoft 323 00:16:39,260 --> 00:16:40,800 and logged onto their Microsoft 324 00:16:41,360 --> 00:16:42,620 internal corporate network 325 00:16:43,700 --> 00:16:44,600 access points. 326 00:16:44,760 --> 00:16:46,280 Then you know if they've been to Microsoft 327 00:16:46,280 --> 00:16:47,860 and why is the CEO going to Microsoft 328 00:16:47,860 --> 00:16:48,980 and maybe they're getting bought out. 329 00:16:49,300 --> 00:16:51,480 Or if the CEO has gone to DEF CON. 330 00:16:53,100 --> 00:16:54,860 So that's one tool that we find 331 00:16:54,860 --> 00:16:57,320 that is great for doing a site survey 332 00:16:57,320 --> 00:16:58,940 and finding out a lot about the internal corporation 333 00:16:58,940 --> 00:17:01,080 even before we start thinking about 334 00:17:01,080 --> 00:17:02,080 hacking access points. 335 00:17:03,160 --> 00:17:04,660 Of course, now the main thing we want 336 00:17:04,660 --> 00:17:08,340 the iPhone for is to find out 337 00:17:08,340 --> 00:17:10,220 does the company have open access points. 338 00:17:10,300 --> 00:17:11,740 And if they do, we're going to log onto them 339 00:17:11,740 --> 00:17:13,180 and then we're going to start hacking 340 00:17:13,180 --> 00:17:14,240 with other tools. 341 00:17:14,620 --> 00:17:16,420 One tool, for example, that we like a lot 342 00:17:16,420 --> 00:17:17,100 is Metasploit. 343 00:17:18,840 --> 00:17:19,860 One of the cool things, 344 00:17:20,400 --> 00:17:21,880 Dave's added lots of codes like 345 00:17:21,880 --> 00:17:23,600 Wi-Fi fuzzing to Metasploit. 346 00:17:24,640 --> 00:17:25,860 One of the cool things we found, 347 00:17:26,120 --> 00:17:28,560 we tried to do this with the latest 348 00:17:29,000 --> 00:17:29,560 3G iPhone, 349 00:17:31,280 --> 00:17:33,040 but it sucks batteries 350 00:17:33,040 --> 00:17:34,340 so it actually doesn't work as well. 351 00:17:34,540 --> 00:17:36,520 So they go from running from five days 352 00:17:36,520 --> 00:17:37,780 to about a day and a half. 353 00:17:38,140 --> 00:17:40,240 Which means by the time FedEx delivers it, 354 00:17:41,180 --> 00:17:41,720 it's bad. 355 00:17:42,040 --> 00:17:43,040 So as a side note, 356 00:17:43,120 --> 00:17:44,680 one of the interesting things we've noticed about this 357 00:17:44,680 --> 00:17:46,240 and we've tried this with DHO, with UPS, 358 00:17:46,280 --> 00:17:46,800 and with FedEx, 359 00:17:47,260 --> 00:17:48,660 internally to all these companies, 360 00:17:48,820 --> 00:17:50,380 they seem to have a lot of access points 361 00:17:50,380 --> 00:17:51,920 that are not locked down. 362 00:17:52,280 --> 00:17:56,220 So as your package is traversing 363 00:17:56,220 --> 00:17:57,340 this carrier company, 364 00:17:59,900 --> 00:18:01,480 Yeah, it's sort of 365 00:18:01,480 --> 00:18:03,040 the inadvertent pen testing. 366 00:18:04,040 --> 00:18:05,460 We wouldn't actually do that 367 00:18:05,460 --> 00:18:06,480 because that would be unethical. 368 00:18:07,000 --> 00:18:09,200 But one thing we found is that 369 00:18:09,760 --> 00:18:11,360 We shy away from unethical. 370 00:18:11,620 --> 00:18:13,700 When you grab the latest iPhone stuff, 371 00:18:13,780 --> 00:18:14,640 the latest jailbreak stuff, 372 00:18:14,700 --> 00:18:15,820 and all the little tools and stuff, 373 00:18:16,540 --> 00:18:18,980 you can actually download a Metasploit package for it. 374 00:18:19,780 --> 00:18:21,340 I don't know, did you try it and see if it ran? 375 00:18:21,600 --> 00:18:22,200 Yeah, no, it runs. 376 00:18:22,300 --> 00:18:23,520 You can get the little mood banner. 377 00:18:24,360 --> 00:18:26,060 That's my favorite Metasploit startup banner. 378 00:18:26,960 --> 00:18:28,620 Now let's hear what your favorite Metasploit 379 00:18:31,660 --> 00:18:32,020 app is. 380 00:18:32,020 --> 00:18:32,700 No? No one? 381 00:18:32,800 --> 00:18:33,260 Alright, well. 382 00:18:34,100 --> 00:18:36,260 So once again, we're back to gay pictures of me. 383 00:18:40,640 --> 00:18:43,480 So strangely, if you're ever in Atlanta, 384 00:18:43,680 --> 00:18:45,760 that's a really good Thai restaurant. 385 00:18:47,940 --> 00:18:49,100 So as you can see, 386 00:18:49,160 --> 00:18:51,240 this picture, the picture on the side 387 00:18:51,240 --> 00:18:52,680 is the finished version. 388 00:18:52,820 --> 00:18:53,480 As you can tell, 389 00:18:54,320 --> 00:18:57,140 if you were looking at it, 390 00:18:57,180 --> 00:18:58,280 it doesn't look any different than 391 00:18:59,560 --> 00:18:59,640 the picture on the right. 392 00:18:59,640 --> 00:19:01,340 In fact, we told everybody at all the stores 393 00:19:01,340 --> 00:19:02,520 where we were, FedExium, 394 00:19:02,640 --> 00:19:04,800 so you can't FedEx from a UPS store, 395 00:19:04,900 --> 00:19:06,500 but we told everybody we were shipping them from 396 00:19:07,260 --> 00:19:08,900 that somebody had won an eBay auction 397 00:19:08,900 --> 00:19:10,200 and we were sending them an iPhone. 398 00:19:11,700 --> 00:19:13,140 You know, we didn't need to tell them that. 399 00:19:13,180 --> 00:19:14,180 It just felt like, you know, 400 00:19:14,180 --> 00:19:15,260 people were staring at you, 401 00:19:15,340 --> 00:19:16,820 you feel weird and you want to tell them 402 00:19:16,820 --> 00:19:17,600 why you're doing this. 403 00:19:18,380 --> 00:19:19,760 And we're hacking your network 404 00:19:19,760 --> 00:19:21,020 didn't seem like a good idea. 405 00:19:23,380 --> 00:19:24,980 So I don't know if you've noticed this, 406 00:19:25,040 --> 00:19:26,160 I've actually lost a lot of weight. 407 00:19:26,280 --> 00:19:27,900 That's back when I weighed 250 pounds 408 00:19:27,900 --> 00:19:28,980 and now I'm down to 205. 409 00:19:29,520 --> 00:19:31,560 That tells you how long we've been doing this. 410 00:19:32,780 --> 00:19:33,860 Although I'm wearing almost 411 00:19:33,860 --> 00:19:35,020 the exact same outfit. 412 00:19:36,400 --> 00:19:37,860 I wash my clothes, I swear. 413 00:19:39,100 --> 00:19:41,060 So another thing we've been working with is 414 00:19:41,060 --> 00:19:41,620 Oh, wait, wait, 415 00:19:42,340 --> 00:19:43,520 there's some more stuff. 416 00:19:43,760 --> 00:19:45,960 So the thing that we found out about this 417 00:19:45,960 --> 00:19:48,720 is when it gets to a receiving facility somewhere, 418 00:19:48,960 --> 00:19:50,640 it will just sit there for a while. 419 00:19:50,720 --> 00:19:51,000 Especially if you're in a restaurant 420 00:19:51,020 --> 00:19:52,640 so people will accept, 421 00:19:52,920 --> 00:19:55,400 I don't know if you've ever worked in a mailroom 422 00:19:55,400 --> 00:19:56,600 or seen how a mailroom works 423 00:19:57,080 --> 00:19:58,220 or anything like that, 424 00:19:58,320 --> 00:20:01,360 but generally when UPS, FedEx, or DHL 425 00:20:01,360 --> 00:20:03,120 comes to a company, you'll get a whole lot 426 00:20:03,120 --> 00:20:05,000 of packages. You'll sign for them all 427 00:20:05,000 --> 00:20:06,980 and then somebody will sit and sort through them all. 428 00:20:07,300 --> 00:20:08,160 And then they'll be like, 429 00:20:08,240 --> 00:20:10,200 hey, there's nobody here named Jack Mion. 430 00:20:10,820 --> 00:20:12,340 We've got to send this back. 431 00:20:13,400 --> 00:20:14,920 There's no one that's ever worked here. 432 00:20:15,260 --> 00:20:17,460 While that package is sitting there 433 00:20:17,460 --> 00:20:18,840 in their mailroom, 434 00:20:18,920 --> 00:20:20,340 generally which has an access point, 435 00:20:21,020 --> 00:20:22,660 generally for nothing more than the symbol 436 00:20:22,660 --> 00:20:24,120 technology like readers, 437 00:20:24,260 --> 00:20:26,540 for inventory control systems and things like that, 438 00:20:26,720 --> 00:20:28,460 you can then connect to the iPhone 439 00:20:28,460 --> 00:20:30,780 and use the Wi-Fi interface to start scanning 440 00:20:30,780 --> 00:20:32,120 for different types of packets. 441 00:20:32,580 --> 00:20:34,680 You can associate to the access point 442 00:20:34,680 --> 00:20:37,220 or you can just basically start 443 00:20:37,220 --> 00:20:38,620 collecting data you can use 444 00:20:38,620 --> 00:20:40,340 to crack passwords with tools like 445 00:20:40,340 --> 00:20:41,460 and things like that. 446 00:20:41,760 --> 00:20:43,500 So that's basically the gist 447 00:20:43,500 --> 00:20:45,420 of the entire thing that we were doing here 448 00:20:45,420 --> 00:20:48,420 is this is a way to get past all the 449 00:20:49,020 --> 00:20:50,900 firewalls and crap that people 450 00:20:51,020 --> 00:20:52,140 were buying because, 451 00:20:52,320 --> 00:20:54,500 I mean, who here has ever implemented 452 00:20:54,500 --> 00:20:55,580 a DLP system? 453 00:20:56,880 --> 00:20:58,800 So something like this would completely 454 00:20:58,800 --> 00:21:00,860 bypass your DLP system and allow us 455 00:21:00,860 --> 00:21:02,980 to grab credit cards while it's sitting 456 00:21:02,980 --> 00:21:03,620 in your mailroom. 457 00:21:04,080 --> 00:21:06,240 If there's a point-of-sale terminal close to your 458 00:21:07,420 --> 00:21:07,820 mailroom. 459 00:21:08,200 --> 00:21:10,640 So the other thing that this really comes in handy with, 460 00:21:10,740 --> 00:21:12,060 and I don't know if anyone here has ever done it, 461 00:21:12,120 --> 00:21:13,380 but if you ever talk to a SCADA guy 462 00:21:13,380 --> 00:21:15,200 or somebody who runs SCADA systems, 463 00:21:15,580 --> 00:21:17,240 they get very uppity about security. 464 00:21:17,240 --> 00:21:18,640 Like, we have guys with guns. 465 00:21:19,280 --> 00:21:21,420 No one can get near our wireless access points. 466 00:21:21,520 --> 00:21:22,120 We'll have them shot. 467 00:21:22,580 --> 00:21:24,080 It's like, does a FedEx guy come in? 468 00:21:24,120 --> 00:21:25,480 Oh yeah, he comes in every day at 10 a.m. 469 00:21:27,320 --> 00:21:28,300 Well, that's that then. 470 00:21:29,480 --> 00:21:30,880 I was talking to a reporter 471 00:21:30,880 --> 00:21:34,280 about one of the benefits of this 472 00:21:34,280 --> 00:21:35,920 is that you don't have to sit outside 473 00:21:35,920 --> 00:21:37,560 in your car and be typing on your laptop, 474 00:21:37,740 --> 00:21:38,520 which is very suspicious. 475 00:21:39,100 --> 00:21:41,060 And the reporter said, yeah, that he actually 476 00:21:41,060 --> 00:21:42,740 has been detained by the police before 477 00:21:42,740 --> 00:21:44,840 because when he writes stories he often 478 00:21:44,840 --> 00:21:46,860 sits outside in a car typing on a laptop 479 00:21:47,240 --> 00:21:48,920 in a place where the police come by and say, 480 00:21:49,000 --> 00:21:50,060 why is that guy doing that? 481 00:21:50,140 --> 00:21:51,960 It's suspicious. Let's, you know, detain him. 482 00:21:52,720 --> 00:21:55,540 So doing this means that you don't have to get arrested 483 00:21:55,540 --> 00:21:57,360 for being physically close to your target. 484 00:21:58,180 --> 00:21:59,120 Another thing is, 485 00:21:59,140 --> 00:22:00,440 is from a pen testing point of view, 486 00:22:00,480 --> 00:22:01,140 which is much cheaper, 487 00:22:02,000 --> 00:22:03,720 pen testers, as part of a pen test engagement, 488 00:22:04,060 --> 00:22:05,300 they'll negotiate with us and say, 489 00:22:05,380 --> 00:22:06,600 hey, we want you to come by, you know, 490 00:22:06,640 --> 00:22:08,760 our five different sites in the United States 491 00:22:08,760 --> 00:22:11,940 and do a site audit, a pen test. 492 00:22:12,560 --> 00:22:14,280 I don't mean a wireless pen test. 493 00:22:14,740 --> 00:22:17,120 Well, it costs us a day of travel time 494 00:22:17,240 --> 00:22:18,900 there and back that we have to bill the customer 495 00:22:18,900 --> 00:22:20,820 plus, you know, a couple hours on site, 496 00:22:20,900 --> 00:22:21,640 which kind of sucks. 497 00:22:22,980 --> 00:22:24,920 Especially when you're going to a place like Wisconsin. 498 00:22:25,960 --> 00:22:27,300 I don't mean to offend anybody 499 00:22:27,300 --> 00:22:28,500 if anybody here is from Wisconsin. 500 00:22:31,260 --> 00:22:32,160 You see what I mean? 501 00:22:33,980 --> 00:22:34,340 So, 502 00:22:34,340 --> 00:22:37,280 and so, of course, when we do that, 503 00:22:37,380 --> 00:22:39,200 that's the sort of boring part of the pen test, 504 00:22:39,260 --> 00:22:41,540 so that's the job I delegate to David. 505 00:22:42,760 --> 00:22:43,480 I'm a bitch. 506 00:22:43,780 --> 00:22:44,860 He doesn't want to do that, 507 00:22:44,900 --> 00:22:46,860 so he figures out a reason why he doesn't have to go. 508 00:22:47,760 --> 00:22:48,120 So, 509 00:22:49,040 --> 00:22:51,040 but thinking about it from a point of view of hacking, 510 00:22:51,800 --> 00:22:53,860 you know, if the site gets this 511 00:22:53,860 --> 00:22:54,740 and they figure out, hey, 512 00:22:54,820 --> 00:22:56,280 this is actually probably something hostile, 513 00:22:56,460 --> 00:22:58,520 maybe the X-ray ray it and think it looks like a bomb, 514 00:22:58,680 --> 00:23:00,440 or they pull it open and say, 515 00:23:00,540 --> 00:23:01,880 why do we have a running iPhone? 516 00:23:02,900 --> 00:23:05,060 So one of the questions we have is anonymity. 517 00:23:05,100 --> 00:23:07,420 How, you know, maybe they want to track back 518 00:23:07,420 --> 00:23:09,100 who sent them this hostile device. 519 00:23:09,800 --> 00:23:12,400 And, well, since you've already jailbroken the iPhone, 520 00:23:12,680 --> 00:23:14,820 it means you can put in pretty much any SIM you want. 521 00:23:15,160 --> 00:23:16,260 Which means you can go to 522 00:23:16,740 --> 00:23:18,920 Czechoslovakia, get a prepaid phone there, 523 00:23:19,260 --> 00:23:20,020 pull out the SIM, 524 00:23:20,160 --> 00:23:21,000 stick it in your iPhone, 525 00:23:21,260 --> 00:23:22,940 and it'll be perfectly anonymous. 526 00:23:23,340 --> 00:23:25,840 So that you sent an iPhone to a site, 527 00:23:25,980 --> 00:23:28,460 and there's no clear backtracking 528 00:23:28,460 --> 00:23:29,760 back to the person who sent it. 529 00:23:30,260 --> 00:23:31,880 Unless, of course, you get a picture taken 530 00:23:31,880 --> 00:23:33,840 at the FedEx or Kinko's location 531 00:23:33,840 --> 00:23:34,560 you sent it to. 532 00:23:35,580 --> 00:23:36,960 In which case you should smile. 533 00:23:39,860 --> 00:23:42,520 So the software for this is going to be released open source. 534 00:23:42,660 --> 00:23:44,060 We're trying to set up a repository right now 535 00:23:44,060 --> 00:23:46,140 where you can just hit one button and, you know, 536 00:23:46,260 --> 00:23:47,580 have your iPhone on a go. 537 00:23:48,380 --> 00:23:50,120 But if you check our website next week 538 00:23:50,120 --> 00:23:50,960 the software should be up. 539 00:23:51,640 --> 00:23:53,520 It would be up right now if we had the iPhone. 540 00:23:53,720 --> 00:23:55,180 But some cabbie right now, I'm sure, 541 00:23:55,200 --> 00:23:56,540 has the power to take down the CIA. 542 00:24:01,720 --> 00:24:03,460 You know what's funny? I was thinking about that. 543 00:24:03,540 --> 00:24:05,160 We should actually just have a listener and wait for it. 544 00:24:06,480 --> 00:24:08,040 And fortunately our listener is back at home 545 00:24:08,040 --> 00:24:10,040 when we're here at DEF CON. 546 00:24:10,700 --> 00:24:11,800 Like I said, epic fail. 547 00:24:12,720 --> 00:24:13,440 Epic fail. 548 00:24:13,720 --> 00:24:15,340 We also think, unfortunately, we didn't have 549 00:24:16,260 --> 00:24:16,940 an email client set up. 550 00:24:17,060 --> 00:24:19,200 So we can't email naked pictures promising 551 00:24:20,060 --> 00:24:22,460 the cabbie things if he brings the phone back to us. 552 00:24:22,580 --> 00:24:23,800 We do have a young Nubile intern 553 00:24:23,800 --> 00:24:26,240 that we were offering up in exchange for the iPhone. 554 00:24:29,080 --> 00:24:29,980 So, you know, 555 00:24:30,000 --> 00:24:32,460 the original iPhone doesn't have very good GPS. 556 00:24:32,720 --> 00:24:34,040 It's got that cell tower, 557 00:24:34,260 --> 00:24:35,600 locational crappy stuff 558 00:24:35,600 --> 00:24:37,580 where you can find you within 400 meters. 559 00:24:37,880 --> 00:24:40,300 If you walk out on the street and look around 400 meters 560 00:24:40,300 --> 00:24:42,040 how many cabs are there? 561 00:24:43,600 --> 00:24:45,200 Hey you in the cab, stop! 562 00:24:48,720 --> 00:24:50,340 So the second thing we did is 563 00:24:50,340 --> 00:24:51,980 we came across a client that was like 564 00:24:51,980 --> 00:24:53,900 hey, you know, we've had people do these 565 00:24:53,900 --> 00:24:56,240 penetration tests before. We never get anything out of it. 566 00:24:56,440 --> 00:24:57,920 And we've done some studies. 567 00:24:58,060 --> 00:25:00,300 80% of the malware that we get 568 00:25:00,300 --> 00:25:02,040 in our network comes from secretaries. 569 00:25:02,360 --> 00:25:03,700 And I'm not being derogatory. 570 00:25:04,240 --> 00:25:05,460 Secretaries clicking on things. 571 00:25:06,120 --> 00:25:08,540 So they wanted to see how you could test 572 00:25:08,540 --> 00:25:09,360 phishing 573 00:25:09,900 --> 00:25:11,520 without actually, you know, 574 00:25:12,060 --> 00:25:12,780 being phished. 575 00:25:13,720 --> 00:25:15,440 So basically what we did was 576 00:25:15,440 --> 00:25:16,400 set up a 577 00:25:16,400 --> 00:25:18,200 VMware image, you know, Linux, 578 00:25:18,860 --> 00:25:20,440 you know, basically a LAMP set up 579 00:25:20,440 --> 00:25:22,620 with a fake website on it. 580 00:25:22,700 --> 00:25:24,480 And do you know how easy it is to get certificates 581 00:25:24,480 --> 00:25:26,200 to make your fake website look authentic? 582 00:25:26,920 --> 00:25:28,120 Rob, how easy is it? 583 00:25:28,320 --> 00:25:30,040 So, that's a couple slides from here. 584 00:25:30,220 --> 00:25:31,460 Oh, I'm sorry, I'm getting ahead of ourselves. 585 00:25:32,640 --> 00:25:34,460 So one thing is, is that 586 00:25:35,440 --> 00:25:36,920 I was talking to a reporter 587 00:25:36,920 --> 00:25:38,100 and he was saying, you know, 588 00:25:38,200 --> 00:25:39,960 with this Dan Kaminski thing 589 00:25:39,960 --> 00:25:42,760 that one of the things... Can we get a hand for Dan Kaminski? 590 00:25:42,780 --> 00:25:44,040 The DNS thing? 591 00:25:44,080 --> 00:25:45,240 That was pretty awesome, wasn't it? 592 00:25:49,080 --> 00:25:49,560 So... 593 00:25:50,180 --> 00:25:52,900 Wait, did anybody use that to do anything bad or malicious? 594 00:25:54,720 --> 00:25:55,700 For good things. 595 00:25:56,320 --> 00:25:57,780 So Dan's stuff, 596 00:25:58,500 --> 00:25:59,900 the reporter was saying how, 597 00:26:00,040 --> 00:26:01,380 and one of the things that Dan mentioned 598 00:26:01,380 --> 00:26:04,500 is that this yet again shows some of the weaknesses with SSL. 599 00:26:04,660 --> 00:26:06,740 Because, of course, when you're spoofing these websites 600 00:26:06,740 --> 00:26:08,820 you're sending things back through 601 00:26:08,820 --> 00:26:10,900 to the wrong website 602 00:26:10,900 --> 00:26:12,760 and SSL really doesn't really help you out. 603 00:26:12,780 --> 00:26:15,340 And that was one of the points he made 604 00:26:15,340 --> 00:26:16,200 about our talk, too, 605 00:26:16,360 --> 00:26:18,880 is that this yet again shows 606 00:26:18,880 --> 00:26:20,480 some of the weaknesses of SSL. 607 00:26:20,540 --> 00:26:22,240 It doesn't quite work as well as we thought. 608 00:26:23,860 --> 00:26:25,600 The way that SSL works is 609 00:26:25,600 --> 00:26:27,560 is that a root certificate authority 610 00:26:27,560 --> 00:26:28,640 like VeriSign 611 00:26:30,000 --> 00:26:31,080 verifies that you are 612 00:26:31,080 --> 00:26:31,960 who you say you are. 613 00:26:32,100 --> 00:26:34,080 So we've got certificates from Arata Security 614 00:26:34,700 --> 00:26:36,720 and so VeriSign verified that we are 615 00:26:36,720 --> 00:26:37,740 actually Arata Security. 616 00:26:39,480 --> 00:26:40,780 And the way they do that 617 00:26:40,780 --> 00:26:42,860 is they go and do a Dun & Bradstreet report. 618 00:26:43,160 --> 00:26:44,780 When you are a company, 619 00:26:45,940 --> 00:26:47,400 Dun & Bradstreet verifies 620 00:26:47,400 --> 00:26:48,660 that you're actually a legitimate company. 621 00:26:48,840 --> 00:26:49,980 And you have to pay them some money 622 00:26:49,980 --> 00:26:51,660 to prove that you're actually verified, 623 00:26:51,900 --> 00:26:52,860 that you're actually a company. 624 00:26:53,220 --> 00:26:55,760 So it's kind of like Equifax for companies. 625 00:26:56,860 --> 00:26:58,520 And it's really kind of simple. 626 00:26:58,700 --> 00:27:00,380 If you can afford the $395, 627 00:27:00,780 --> 00:27:02,060 you're probably legitimate 628 00:27:02,700 --> 00:27:05,000 and not living out of your grandmother's basement. 629 00:27:05,920 --> 00:27:06,840 Like Chris Klaus. 630 00:27:07,600 --> 00:27:08,780 So to create 631 00:27:09,540 --> 00:27:10,480 a legitimate company 632 00:27:10,780 --> 00:27:12,380 it's usually going down $29 633 00:27:12,380 --> 00:27:15,320 to the local county's office 634 00:27:15,320 --> 00:27:16,720 and say that you're now a bad company. 635 00:27:17,040 --> 00:27:17,580 You spend 636 00:27:17,580 --> 00:27:19,780 a little bit of money. 637 00:27:19,960 --> 00:27:21,760 Usually you even do it for free. 638 00:27:21,800 --> 00:27:22,520 You've got a domain name. 639 00:27:22,780 --> 00:27:23,900 You go to Dun & Bradstreet, 640 00:27:23,980 --> 00:27:24,660 you give them $400 641 00:27:24,660 --> 00:27:26,440 and then you get your SSL certificate 642 00:27:26,440 --> 00:27:29,260 from VeriSign or somebody for $700. 643 00:27:29,940 --> 00:27:31,560 We're also sponsored by VeriSign. 644 00:27:32,200 --> 00:27:34,280 Or another thought or something. 645 00:27:35,280 --> 00:27:37,320 So now that you're a legitimate company 646 00:27:37,320 --> 00:27:39,520 so that when people go to Arata Security 647 00:27:40,780 --> 00:27:43,220 they'll have a nice little padlock icon 648 00:27:43,220 --> 00:27:44,900 that says this connection is now trusted. 649 00:27:45,100 --> 00:27:46,480 And people will tend to trust that. 650 00:27:47,160 --> 00:27:48,820 And Arata Base Control is signed. 651 00:27:51,280 --> 00:27:52,900 And so you apply that 652 00:27:52,900 --> 00:27:54,200 to spear phishing. 653 00:27:54,260 --> 00:27:56,460 Spear phishing is the idea of you target somebody. 654 00:27:56,800 --> 00:27:58,340 So like an internal corporation. 655 00:27:58,860 --> 00:28:00,920 So instead of broadcasting out to everyone 656 00:28:00,920 --> 00:28:02,020 in the world, 657 00:28:02,200 --> 00:28:03,580 you get a mailing list. 658 00:28:03,680 --> 00:28:06,700 So let's say every public mailing email address 659 00:28:06,700 --> 00:28:08,020 for a corporation. 660 00:28:08,620 --> 00:28:10,040 Or you could send an iPhone 661 00:28:10,780 --> 00:28:11,320 to the shipping department 662 00:28:11,320 --> 00:28:14,740 and then enumerate all the usernames 663 00:28:14,740 --> 00:28:15,460 on the Windows domain. 664 00:28:16,080 --> 00:28:17,400 So that's spear phishing. 665 00:28:17,560 --> 00:28:18,660 But when you do a phishing attack 666 00:28:18,660 --> 00:28:20,620 you often send it back to a website 667 00:28:20,620 --> 00:28:22,920 that is fundamentally untrustworthy. 668 00:28:23,180 --> 00:28:24,600 And the SSL will tell you 669 00:28:24,600 --> 00:28:25,700 at this site you can't trust. 670 00:28:25,900 --> 00:28:26,760 Do you want to continue? 671 00:28:27,060 --> 00:28:28,940 Now phishing works because 672 00:28:28,940 --> 00:28:30,880 enough people will continue 673 00:28:30,880 --> 00:28:32,580 that you get to break in. 674 00:28:32,820 --> 00:28:33,820 This is a true story. 675 00:28:33,820 --> 00:28:36,080 How many here has ever heard a story like this? 676 00:28:36,120 --> 00:28:37,640 Where some guy is very indignant 677 00:28:37,640 --> 00:28:38,080 and they're like, 678 00:28:38,200 --> 00:28:40,120 I would never download malware. 679 00:28:40,340 --> 00:28:41,960 I'm like, really? With your secretary? 680 00:28:42,400 --> 00:28:43,580 And then they go, oh. 681 00:28:45,300 --> 00:28:47,860 That happens to us generally on a daily basis. 682 00:28:48,700 --> 00:28:50,100 Now having been an executive 683 00:28:50,100 --> 00:28:51,380 at a security company, 684 00:28:51,660 --> 00:28:53,600 we quickly realize that the secretaries 685 00:28:53,600 --> 00:28:54,920 are not security knowledgeable. 686 00:28:55,260 --> 00:28:57,220 You think that for an average security company. 687 00:28:57,460 --> 00:28:59,440 Imagine a five-man consulting company 688 00:28:59,440 --> 00:29:00,300 and they've got a secretary 689 00:29:00,300 --> 00:29:02,760 and she still does not know anything about security. 690 00:29:04,040 --> 00:29:05,560 So SSL gives you a warning 691 00:29:05,560 --> 00:29:06,580 but people ignore the warning. 692 00:29:07,040 --> 00:29:08,540 But imagine that you train people 693 00:29:08,540 --> 00:29:10,140 to pay attention to that warning. 694 00:29:10,620 --> 00:29:12,140 If you go through this process 695 00:29:12,140 --> 00:29:13,480 you'll get no warning 696 00:29:13,480 --> 00:29:14,540 and people will trust you. 697 00:29:17,140 --> 00:29:19,000 So one question about this 698 00:29:19,000 --> 00:29:20,760 I put a larger number here 699 00:29:20,760 --> 00:29:21,740 for creating a real company 700 00:29:22,300 --> 00:29:24,500 is that it comes back to you 701 00:29:24,500 --> 00:29:25,460 so you'll get caught 702 00:29:25,460 --> 00:29:27,160 if you're actually doing this maliciously. 703 00:29:27,440 --> 00:29:28,560 That's why you date a lawyer 704 00:29:28,560 --> 00:29:29,480 and have her do it. 705 00:29:33,820 --> 00:29:36,100 I won't divulge whether it's a him or a her. 706 00:29:36,800 --> 00:29:37,320 So 707 00:29:38,180 --> 00:29:39,600 one thing you do 708 00:29:39,600 --> 00:29:41,760 for a company though is you can anonymize it. 709 00:29:41,840 --> 00:29:42,880 You hire a lawyer 710 00:29:42,880 --> 00:29:45,240 who will then act as the officer of the corporation 711 00:29:45,820 --> 00:29:47,000 your one-man corporation 712 00:29:47,760 --> 00:29:49,940 and you'll have a nice full board of directors 713 00:29:49,940 --> 00:29:51,560 of other lawyers in the law firm 714 00:29:51,560 --> 00:29:53,800 and they now are the public face 715 00:29:53,800 --> 00:29:54,380 of your company 716 00:29:54,380 --> 00:29:57,000 and people can't really easily penetrate that. 717 00:29:57,300 --> 00:29:58,640 Now law enforcement can 718 00:30:00,260 --> 00:30:01,660 give a warrant 719 00:30:01,660 --> 00:30:03,380 but actually for the average 720 00:30:03,820 --> 00:30:04,300 private investigator 721 00:30:04,300 --> 00:30:05,620 or normal investigators 722 00:30:05,620 --> 00:30:07,120 they can't penetrate the corporation 723 00:30:07,120 --> 00:30:09,140 and find out who you are 724 00:30:09,140 --> 00:30:10,400 within your one-man corporation. 725 00:30:11,380 --> 00:30:13,100 So a lot of people actually do this. 726 00:30:13,180 --> 00:30:14,320 For example, I own a home 727 00:30:14,320 --> 00:30:16,840 but my home is not owned by Robert Graham 728 00:30:16,840 --> 00:30:18,200 it's owned by my corporation. 729 00:30:18,500 --> 00:30:21,260 A corporation exists solely 730 00:30:21,260 --> 00:30:22,240 just to own the home. 731 00:30:22,900 --> 00:30:24,620 And I do that for privacy reasons 732 00:30:24,620 --> 00:30:26,840 so people can't look up in the county's assessor's office 733 00:30:26,840 --> 00:30:28,060 to look up my social security number 734 00:30:28,060 --> 00:30:29,960 what they find instead is the tax ID 735 00:30:29,960 --> 00:30:30,740 of the corporation. 736 00:30:31,780 --> 00:30:33,740 Doesn't due diligence just sound dirty? 737 00:30:35,000 --> 00:30:35,480 So 738 00:30:35,960 --> 00:30:37,660 you might want to anonymize the company 739 00:30:37,660 --> 00:30:39,620 so people can't find out who actually you are. 740 00:30:41,640 --> 00:30:42,120 So 741 00:30:42,120 --> 00:30:43,800 between one and two thousand dollars 742 00:30:43,800 --> 00:30:45,500 you enter the system of trust 743 00:30:45,500 --> 00:30:46,480 the circle of trust. 744 00:30:46,900 --> 00:30:48,140 We've all seen that movie 745 00:30:49,000 --> 00:30:49,960 Meet the Parents 746 00:30:49,960 --> 00:30:53,140 where the ex-CI agent is like grilling his new son-in-law 747 00:30:53,140 --> 00:30:54,560 or soon to be son-in-law 748 00:30:54,560 --> 00:30:56,080 and talking about the circle of trust. 749 00:30:58,060 --> 00:30:59,740 Starring Robert De Niro and Ben Stiller. 750 00:31:02,220 --> 00:31:03,660 Sponsored by Warner Brothers as well. 751 00:31:05,440 --> 00:31:08,160 For two thousand dollars you now enter the circle of trust. 752 00:31:08,340 --> 00:31:09,320 You now become the man 753 00:31:09,320 --> 00:31:12,020 and all the other the men trust you as the man. 754 00:31:12,740 --> 00:31:14,040 And now you're on the inside 755 00:31:14,040 --> 00:31:15,640 and now all your SSL is good 756 00:31:15,640 --> 00:31:16,700 all your ActiveX is good. 757 00:31:16,900 --> 00:31:18,220 So basically you know the secret handshake 758 00:31:18,220 --> 00:31:19,980 and you have a key to the executive washroom. 759 00:31:21,240 --> 00:31:23,340 Now there are some ways to do it cheaper. 760 00:31:23,440 --> 00:31:24,760 If you don't want to spend seven hundred dollars 761 00:31:24,760 --> 00:31:26,860 for an ActiveX control signing key 762 00:31:28,060 --> 00:31:29,960 you can actually steal someone else's ActiveX control. 763 00:31:31,600 --> 00:31:33,200 There have been a number of ActiveX controls 764 00:31:33,200 --> 00:31:34,200 in the last couple of years 765 00:31:34,200 --> 00:31:36,780 that you can actually serve them 766 00:31:36,780 --> 00:31:37,540 from your own website. 767 00:31:37,700 --> 00:31:39,040 You can serve a flash ActiveX 768 00:31:39,040 --> 00:31:40,920 you can serve other stuff from your website 769 00:31:40,920 --> 00:31:43,400 that people will then run on their computers. 770 00:31:43,620 --> 00:31:44,140 And it's vulnerable. 771 00:31:44,380 --> 00:31:46,920 It's signed by a well-known corporation 772 00:31:47,560 --> 00:31:49,460 but it's vulnerable and you can hack into it. 773 00:31:49,640 --> 00:31:51,420 A lot of ActiveX controls we bought 774 00:31:51,420 --> 00:31:52,820 we actually make a tool 775 00:31:52,820 --> 00:31:54,440 and we make it available for free 776 00:31:54,440 --> 00:31:57,820 called Axpan. That actually will kill a bit bad ActiveX controls we know about. 777 00:31:58,060 --> 00:32:00,080 And a lot of the bad ActiveX controls 778 00:32:00,080 --> 00:32:01,800 we've tested don't check to see 779 00:32:01,800 --> 00:32:02,860 where it's instantiated from. 780 00:32:03,160 --> 00:32:05,460 So you could literally host it on your own site. 781 00:32:05,840 --> 00:32:07,780 A good example is a recent one 782 00:32:07,780 --> 00:32:09,060 about three months ago I think. 783 00:32:09,220 --> 00:32:11,860 The HP info center ActiveX control 784 00:32:11,860 --> 00:32:13,860 and it was part of HP laptops. 785 00:32:14,060 --> 00:32:14,900 So if you have an HP laptop 786 00:32:14,900 --> 00:32:16,320 you have this ActiveX control. 787 00:32:17,620 --> 00:32:19,520 Don't worry, Dell, Toshiba, and Sony 788 00:32:19,520 --> 00:32:20,600 all have similar issues. 789 00:32:21,600 --> 00:32:23,340 Luckily Apple doesn't though. 790 00:32:23,460 --> 00:32:25,120 Apple doesn't have security issues. 791 00:32:25,520 --> 00:32:25,860 So 792 00:32:28,520 --> 00:32:29,980 I've been told that by lawyers. 793 00:32:31,840 --> 00:32:33,320 So it exported 794 00:32:33,320 --> 00:32:34,680 a couple of good things 795 00:32:34,680 --> 00:32:36,920 like you can write arbitrary register values 796 00:32:36,920 --> 00:32:38,580 and that's enough to break in 797 00:32:38,580 --> 00:32:39,540 registry values. 798 00:32:39,820 --> 00:32:41,340 But also this launch app 799 00:32:41,900 --> 00:32:43,080 method that we export 800 00:32:43,080 --> 00:32:44,660 so with a little JavaScript programming 801 00:32:44,660 --> 00:32:45,720 you say launch app 802 00:32:45,720 --> 00:32:47,840 and you can launch any arbitrary app you want 803 00:32:47,840 --> 00:32:50,520 like CMD download some hostile code 804 00:32:50,520 --> 00:32:53,520 via FTP and then CMD run that hostile code. 805 00:32:53,800 --> 00:32:55,660 And now you own the box with a botnet. 806 00:32:56,680 --> 00:32:58,040 And it's signed by Hewlett-Packard 807 00:32:58,060 --> 00:32:59,780 Corporation, which everyone trusts. 808 00:33:00,520 --> 00:33:01,760 Hewlett-Packard is good. 809 00:33:02,900 --> 00:33:04,100 So now imagine 810 00:33:04,100 --> 00:33:06,200 a more advanced spear phishing attack. 811 00:33:07,340 --> 00:33:09,240 First of all you get an email address list 812 00:33:09,240 --> 00:33:10,060 which you can Google. 813 00:33:10,260 --> 00:33:11,540 You get a large list. 814 00:33:11,820 --> 00:33:13,260 You can also do other stuff 815 00:33:13,260 --> 00:33:15,460 and then you've got your email addresses. 816 00:33:16,880 --> 00:33:18,240 Then you spoof an email address 817 00:33:18,240 --> 00:33:20,800 from HR at whatever corp 818 00:33:20,800 --> 00:33:21,280 that you're hacking. 819 00:33:22,340 --> 00:33:23,880 And then you have a message saying 820 00:33:23,880 --> 00:33:25,880 we've now changed four 1K providers. 821 00:33:26,780 --> 00:33:28,040 Now you need to go to your 822 00:33:28,060 --> 00:33:29,780 new website and log in with your 823 00:33:29,780 --> 00:33:30,540 corporate credentials. 824 00:33:30,860 --> 00:33:33,200 And you'd better do it before the next paycheck cycle 825 00:33:33,200 --> 00:33:35,260 otherwise you won't get your deduction done correctly. 826 00:33:35,500 --> 00:33:37,760 And you won't get your matching four 1K money. 827 00:33:39,380 --> 00:33:42,440 Also be very careful to follow IT security guidelines. 828 00:33:42,700 --> 00:33:43,720 We remind you again 829 00:33:43,720 --> 00:33:45,400 that you should check the padlock 830 00:33:45,400 --> 00:33:47,240 to make sure that you've got a secure SSL connection 831 00:33:47,240 --> 00:33:49,260 and that no one's been spoofing your man 832 00:33:49,260 --> 00:33:49,840 and middling you. 833 00:33:52,220 --> 00:33:54,240 And then if you're the man though 834 00:33:54,240 --> 00:33:56,160 you have a trusted SSL connection 835 00:33:56,160 --> 00:33:57,500 you have a nice little padlock 836 00:33:58,060 --> 00:33:59,000 and they'll come to your website 837 00:33:59,000 --> 00:34:01,320 and it looks like a nice corporate IT website 838 00:34:03,320 --> 00:34:05,040 or outsourced IT website 839 00:34:05,040 --> 00:34:06,340 and then they log on 840 00:34:06,340 --> 00:34:07,200 with their corporate credentials. 841 00:34:07,520 --> 00:34:09,200 A nice touch is on your fake website 842 00:34:09,200 --> 00:34:11,020 you set up under the news section 843 00:34:11,020 --> 00:34:12,820 write an article about how 844 00:34:12,820 --> 00:34:14,560 whatever corporation you're targeting 845 00:34:14,560 --> 00:34:16,040 has just partnered with this company 846 00:34:16,040 --> 00:34:17,620 to provide their 401K services. 847 00:34:18,080 --> 00:34:19,280 That always looks legitimate. 848 00:34:19,780 --> 00:34:23,300 Now I've worked with companies now for a long time 849 00:34:23,300 --> 00:34:25,020 that send out these emails 850 00:34:25,020 --> 00:34:26,140 that look just like this. 851 00:34:28,060 --> 00:34:29,240 We used to get them at ISS. 852 00:34:29,400 --> 00:34:31,380 ISS changed their 401K provider 853 00:34:31,380 --> 00:34:32,880 and they told us to go out 854 00:34:32,880 --> 00:34:33,900 and log on to this website. 855 00:34:34,720 --> 00:34:36,380 Basically the email that I have right here. 856 00:34:36,480 --> 00:34:38,300 How many people have received emails like this 857 00:34:38,300 --> 00:34:41,040 saying go to an outsourced provider for HR stuff 858 00:34:41,040 --> 00:34:42,380 and log on with your credentials? 859 00:34:43,300 --> 00:34:44,880 That's more people than had sex with a prostitute 860 00:34:44,880 --> 00:34:45,560 in Vegas this time. 861 00:34:46,380 --> 00:34:49,120 So that's a fair number of people here 862 00:34:49,120 --> 00:34:50,580 that their own corporations 863 00:34:50,580 --> 00:34:51,940 have essentially phished them. 864 00:34:52,200 --> 00:34:55,120 Now it was a legitimate thing to do 865 00:34:55,120 --> 00:34:56,080 I mean they were sending out saying 866 00:34:58,060 --> 00:34:58,080 here's your credentials 867 00:34:58,080 --> 00:35:00,400 but that's indistinguishable from phishing. 868 00:35:01,840 --> 00:35:03,620 And so the second thing we then add 869 00:35:03,620 --> 00:35:05,260 once we've got their corporate credentials 870 00:35:05,260 --> 00:35:07,420 is add the ActiveX control to it. 871 00:35:07,500 --> 00:35:08,680 And saying okay now 872 00:35:08,680 --> 00:35:10,580 to actually change your 401K 873 00:35:10,580 --> 00:35:13,080 you need to run this ActiveX control. 874 00:35:13,540 --> 00:35:14,980 So what's funny is 875 00:35:14,980 --> 00:35:17,340 the ActiveX control is presented as a security feature 876 00:35:17,340 --> 00:35:18,860 to enhance the security. 877 00:35:19,240 --> 00:35:20,660 So what we'll actually find out 878 00:35:20,660 --> 00:35:22,760 is people will say yes and install the ActiveX control 879 00:35:22,760 --> 00:35:23,580 then they'll get to the part 880 00:35:23,580 --> 00:35:24,540 where they have to put in their credentials. 881 00:35:28,060 --> 00:35:29,320 You're like it doesn't really matter 882 00:35:29,320 --> 00:35:31,240 you've installed the ActiveX control at that point 883 00:35:31,240 --> 00:35:32,060 you're owned. 884 00:35:33,840 --> 00:35:35,220 So we'll just take your credentials 885 00:35:35,220 --> 00:35:35,840 it doesn't matter. 886 00:35:36,640 --> 00:35:38,320 So the upside is that 887 00:35:40,720 --> 00:35:41,820 phishing attacks are actually 888 00:35:41,820 --> 00:35:42,480 pretty darn lame. 889 00:35:43,100 --> 00:35:44,920 I follow phishing attacks 890 00:35:44,920 --> 00:35:46,500 I don't have an account at B of A 891 00:35:46,500 --> 00:35:49,060 so I'll gladly click on a link to B of A website 892 00:35:49,060 --> 00:35:50,260 to enter in some credentials 893 00:35:50,260 --> 00:35:52,100 because I know it's not B of A 894 00:35:52,100 --> 00:35:53,440 but I know they're not my credentials. 895 00:35:53,920 --> 00:35:56,480 That's actually how I end up with most of my identity fraud 896 00:36:00,780 --> 00:36:02,200 You wake up in the morning 897 00:36:02,200 --> 00:36:04,100 find out someone spent $2800 in Guatemala 898 00:36:04,100 --> 00:36:05,020 you're like what the hell 899 00:36:05,020 --> 00:36:06,040 I've never been to Guatemala 900 00:36:06,040 --> 00:36:07,080 and what's POIL? 901 00:36:08,600 --> 00:36:09,080 So 902 00:36:10,000 --> 00:36:12,060 but when I go to those sites 903 00:36:12,060 --> 00:36:13,880 I can tell that they're not secure 904 00:36:13,880 --> 00:36:15,120 I mean they're going through a botnet 905 00:36:15,120 --> 00:36:17,620 that's got spamming all these IP addresses everywhere 906 00:36:18,860 --> 00:36:19,980 SSL does not work 907 00:36:19,980 --> 00:36:22,660 and they're pretty well done 908 00:36:22,660 --> 00:36:24,440 visually they look like B of A 909 00:36:24,440 --> 00:36:25,940 or whatever and they look very good. 910 00:36:26,260 --> 00:36:28,040 Server-siding clues are your friend. 911 00:36:28,700 --> 00:36:30,140 But when it says 912 00:36:30,140 --> 00:36:35,400 bankofamerica.fu.tk 913 00:36:35,400 --> 00:36:35,860 or something 914 00:36:36,420 --> 00:36:37,340 .defcon.org 915 00:36:37,340 --> 00:36:38,640 you know it's not actually 916 00:36:38,640 --> 00:36:39,280 Bank of America. 917 00:36:40,500 --> 00:36:41,460 But with this 918 00:36:41,460 --> 00:36:42,220 we were going to 919 00:36:42,220 --> 00:36:43,520 in our example 920 00:36:43,520 --> 00:36:45,860 we told them go to ArataCorp 921 00:36:45,860 --> 00:36:47,060 because ArataCorp is now 922 00:36:47,060 --> 00:36:48,780 we're outsourcing our 401k to it 923 00:36:48,780 --> 00:36:50,480 so they see ArataCorp.com 924 00:36:50,480 --> 00:36:52,820 and according to SSL it's actually the certificate 925 00:36:52,820 --> 00:36:54,180 it's actually the name of the email 926 00:36:58,060 --> 00:36:59,220 aside from the press release 927 00:36:59,220 --> 00:37:01,160 is you have to come up with a catchy slogan 928 00:37:01,160 --> 00:37:02,560 for the fake company 929 00:37:02,560 --> 00:37:03,960 like ArataCorp 930 00:37:03,960 --> 00:37:05,300 we're watching your money 931 00:37:05,960 --> 00:37:08,160 and then you can laugh every time you own somebody 932 00:37:08,160 --> 00:37:10,560 because you really are watching their money 933 00:37:11,840 --> 00:37:13,400 But it's also one of those things 934 00:37:13,400 --> 00:37:14,800 if you go to these 935 00:37:15,980 --> 00:37:18,080 outsourced HR human resources websites 936 00:37:18,620 --> 00:37:20,240 they always have a bunch of 937 00:37:20,240 --> 00:37:21,960 you know very well looking 938 00:37:21,960 --> 00:37:23,460 good looking people in suits 939 00:37:23,460 --> 00:37:24,760 shaking hands with each other 940 00:37:24,760 --> 00:37:25,940 Nobody from this room 941 00:37:29,020 --> 00:37:29,540 does that. 942 00:37:29,540 --> 00:37:30,140 So it's stock photography 943 00:37:30,140 --> 00:37:32,520 and it's amazing how when you see two people 944 00:37:32,520 --> 00:37:33,340 wearing suits 945 00:37:33,340 --> 00:37:34,820 it's kind of like the SSL analogy 946 00:37:34,820 --> 00:37:36,840 is when you see people wearing suits 947 00:37:36,840 --> 00:37:38,220 you automatically trust them 948 00:37:38,220 --> 00:37:41,240 if you see people wearing Che Guevara t-shirts 949 00:37:41,240 --> 00:37:43,420 you tend not to want to give them your money 950 00:37:44,640 --> 00:37:47,100 So that's the logical equivalent 951 00:37:47,100 --> 00:37:48,000 of what we're doing here 952 00:37:48,000 --> 00:37:49,800 is for a certain amount of money 953 00:37:49,800 --> 00:37:52,280 you now have the cyber equivalent of a suit 954 00:37:52,280 --> 00:37:53,440 and people trust you 955 00:37:53,440 --> 00:37:54,840 So to continue Rod's point 956 00:37:54,840 --> 00:37:56,040 you can actually Google stock photography 957 00:37:56,040 --> 00:37:58,740 you can buy all that stuff to make your site look legitimate 958 00:37:59,360 --> 00:38:00,240 for like a buck 959 00:38:02,100 --> 00:38:02,980 Maybe two 960 00:38:04,540 --> 00:38:05,580 So that's the fishing 961 00:38:05,580 --> 00:38:07,540 and the iPhone in the box 962 00:38:07,540 --> 00:38:09,220 We've also done some other stuff 963 00:38:09,220 --> 00:38:10,260 that's actually pretty boring 964 00:38:10,260 --> 00:38:11,300 but we find it interesting 965 00:38:12,080 --> 00:38:14,340 One financial firm used an ActiveX control 966 00:38:15,040 --> 00:38:16,920 to provide security to their site 967 00:38:16,920 --> 00:38:19,160 So we reverse engineered the ActiveX control 968 00:38:19,160 --> 00:38:21,720 and we found out that they had secrets embedded 969 00:38:21,720 --> 00:38:23,420 that they assumed no one would be able to access 970 00:38:23,440 --> 00:38:24,220 so we were able to reverse engineer 971 00:38:24,220 --> 00:38:26,940 that we were then able to use to help get into their site 972 00:38:26,940 --> 00:38:28,620 Reverse engineer? Who does that? 973 00:38:28,920 --> 00:38:30,640 Only illegal hacker kind of people 974 00:38:31,800 --> 00:38:33,360 There was another customer 975 00:38:33,360 --> 00:38:34,700 they had a software application 976 00:38:35,540 --> 00:38:38,460 that would update itself via FTP 977 00:38:39,120 --> 00:38:41,140 and we just put a sniffer on the wire 978 00:38:41,140 --> 00:38:42,400 to watch the software application 979 00:38:43,000 --> 00:38:45,960 and it would just FTP to an FTP site 980 00:38:45,960 --> 00:38:47,960 it would give a secret password 981 00:38:47,960 --> 00:38:48,960 that only they knew 982 00:38:49,600 --> 00:38:50,900 in clear text of course 983 00:38:51,360 --> 00:38:53,380 and it would then look for a new 984 00:38:53,440 --> 00:38:54,640 newer version of the software 985 00:38:54,640 --> 00:38:57,160 just by the date on doing the FTP date 986 00:38:57,160 --> 00:38:58,600 on the directory listing 987 00:38:59,440 --> 00:39:01,660 True story, that's a security application 988 00:39:01,660 --> 00:39:04,000 And it was a security application by the way 989 00:39:04,780 --> 00:39:06,740 And so we logged 990 00:39:06,740 --> 00:39:08,880 so getting the password from sniffing 991 00:39:08,880 --> 00:39:10,560 we then logged on to the FTP server 992 00:39:10,560 --> 00:39:13,040 and found that that directory was read-writable 993 00:39:16,560 --> 00:39:18,680 Anybody want to own a security company? 994 00:39:19,240 --> 00:39:21,420 Now you guys have all laughed 995 00:39:21,420 --> 00:39:22,920 because you've immediately made 996 00:39:23,440 --> 00:39:23,540 a connection 997 00:39:23,540 --> 00:39:25,660 Okay, I write a new version of the software 998 00:39:25,660 --> 00:39:26,920 it's my hostile software 999 00:39:26,920 --> 00:39:29,360 and every one of those client applications 1000 00:39:29,360 --> 00:39:31,560 downloads and updates themselves with my software 1001 00:39:31,560 --> 00:39:34,060 It took you a millisecond 1002 00:39:34,060 --> 00:39:35,380 to figure that out for yourself 1003 00:39:35,820 --> 00:39:37,780 This company actually took a while 1004 00:39:37,780 --> 00:39:39,540 for us to really prove that 1005 00:39:39,540 --> 00:39:40,900 yes, this could happen this way 1006 00:39:40,900 --> 00:39:42,420 Are you sure it's bad? 1007 00:39:42,700 --> 00:39:44,520 I mean it's FTP, it's pretty safe 1008 00:39:50,140 --> 00:39:52,980 So the results of that were kind of fun 1009 00:39:53,440 --> 00:39:55,840 Using snippers is pretty basic 1010 00:39:55,840 --> 00:39:56,720 and it's pretty common 1011 00:39:57,240 --> 00:39:59,060 Best quote ever out of that story is 1012 00:39:59,060 --> 00:40:01,380 You know what the best thing to do to resolve this is? 1013 00:40:01,800 --> 00:40:03,060 Let's just not tell anybody 1014 00:40:05,200 --> 00:40:06,200 What are you, Apple? 1015 00:40:09,780 --> 00:40:11,600 Oooh, I hit an Apple joke 1016 00:40:13,680 --> 00:40:15,200 Somewhere Steve Jobs is plotting 1017 00:40:15,200 --> 00:40:16,380 to take your money 1018 00:40:17,440 --> 00:40:18,480 So thank you very much 1019 00:40:18,480 --> 00:40:20,360 So the conclusion is 1020 00:40:20,360 --> 00:40:23,380 that pen testing today is pretty boring 1021 00:40:23,440 --> 00:40:25,460 I don't know how many people here have done 1022 00:40:25,460 --> 00:40:26,860 pen tests or worked on pen tests 1023 00:40:26,860 --> 00:40:28,820 but they're pretty boring because the customer 1024 00:40:28,820 --> 00:40:30,900 fundamentally doesn't want you to do exciting things 1025 00:40:31,440 --> 00:40:32,940 So one thing that Dave and I get to do 1026 00:40:32,940 --> 00:40:34,940 is we get to find the customers that want us to 1027 00:40:34,940 --> 00:40:36,560 actually stretch our wings a little bit 1028 00:40:36,560 --> 00:40:38,320 and actually have fun with a pen test 1029 00:40:38,320 --> 00:40:40,320 So we actually enjoy pen tests quite a lot 1030 00:40:40,880 --> 00:40:41,980 So do we have any questions? 1031 00:40:43,980 --> 00:40:44,380 Comments? 1032 00:40:46,260 --> 00:40:46,660 Suggestions? 1033 00:40:47,440 --> 00:40:48,460 We're going to be going to the 1034 00:40:48,460 --> 00:40:50,300 Does anybody here have an iPhone in a box 1035 00:40:50,300 --> 00:40:51,660 that they recently found in a cab? 1036 00:40:53,440 --> 00:40:54,220 It's on eBay 1037 00:40:54,220 --> 00:40:55,240 It's on eBay 1038 00:41:01,760 --> 00:41:03,200 Thank you very much 1039 00:41:03,200 --> 00:41:04,940 Thank you for attending our boring talk