1 00:00:00,000 --> 00:00:02,600 Anyhow, I don't think this guy needs any more introduction, but 2 00:00:02,600 --> 00:00:06,820 Dave Kennedy was like the CISO for a Fortune 100, left that to 3 00:00:06,820 --> 00:00:10,620 start his own business and now has a really awesome team doing 4 00:00:10,620 --> 00:00:13,860 penetration testing and all sorts of other fun stuff. And 5 00:00:13,860 --> 00:00:16,940 he's going to talk about some end user attacks. So, everyone, 6 00:00:17,040 --> 00:00:18,060 welcome Dave Kennedy. 7 00:00:18,160 --> 00:00:18,460 DAVE KENNEDY, CISO FOR FORTUNE 100 8 00:00:18,460 --> 00:00:18,860 DAVE KENNEDY, CISO FOR FORTUNE 100 9 00:00:18,860 --> 00:00:19,240 DAVE KENNEDY, CISO FOR FORTUNE 100 10 00:00:19,240 --> 00:00:19,880 DAVE KENNEDY, CISO FOR FORTUNE 100 11 00:00:19,880 --> 00:00:23,980 DAVE KENNEDY, CISO FOR FORTUNE 100 12 00:00:23,980 --> 00:00:28,460 DAVE KENNEDY, CISO FOR FORTUNE 100 13 00:00:28,460 --> 00:00:29,980 DAVE KENNEDY, CISO FOR FORTUNE 100 14 00:00:40,260 --> 00:00:40,880 DAVE KENNEDY, CISO FOR FORTUNE 100 15 00:00:40,880 --> 00:00:41,440 DAVE KENNEDY, CISO FOR FORTUNE 100 16 00:00:41,440 --> 00:00:41,860 DAVE KENNEDY, CISO FOR FORTUNE 100 17 00:00:41,860 --> 00:00:42,440 DAVE KENNEDY, CISO FOR FORTUNE 100 18 00:00:45,280 --> 00:00:46,380 DAVE KENNEDY, CISO FOR FORTUNE 100 19 00:00:46,380 --> 00:00:46,940 DAVE KENNEDY, CISO FOR FORTUNE 100 20 00:00:46,940 --> 00:00:48,160 DAVE KENNEDY, CISO FOR FORTUNE 100 21 00:00:48,160 --> 00:00:49,380 DAVE KENNEDY, CISO FOR FORTUNE 100 22 00:00:49,380 --> 00:00:50,820 DAVE KENNEDY, CISO FOR FORTUNE 100 23 00:00:50,820 --> 00:00:51,860 DAVE KENNEDY, CISO FOR FORTUNE 100 24 00:00:51,860 --> 00:00:52,840 DAVE KENNEDY, CISO FOR FORTUNE 100 25 00:00:52,840 --> 00:00:54,220 DAVE KENNEDY, CISO FOR FORTUNE 100 26 00:00:55,240 --> 00:00:57,880 DAVE KENNEDY, CISO FOR FORTUNE 100 27 00:00:58,480 --> 00:01:02,240 I didn't know it until I was driving down the street to go to my office and I look over to my 28 00:01:02,240 --> 00:01:05,860 right and he's right there and this car is right next to me and he's just smiling like this. 29 00:01:07,340 --> 00:01:12,720 It's one of those things that jacks you up and you never get over it. I don't know. But I'll go 30 00:01:12,720 --> 00:01:18,360 into some of this other stuff. For me, when you look at where we're at today, if you look at a 31 00:01:18,360 --> 00:01:21,840 lot of the attacks that are happening out there, they really are originating from the human 32 00:01:21,840 --> 00:01:27,420 element or going after individuals. And it's funny because when Chris decided to start social 33 00:01:27,420 --> 00:01:32,880 engineer.org before he even started his own company and all those other things, Chris and I 34 00:01:32,880 --> 00:01:38,420 were in a chat room at an IRC and this is how the social engineer tool kit got started and Chris and 35 00:01:38,420 --> 00:01:43,020 I were good friends and that's a whole other story in itself how we became friends. And actually 36 00:01:43,020 --> 00:01:49,320 the heater story, he was mad at me and wouldn't even talk to me. This was like a sign of 37 00:01:49,320 --> 00:01:52,420 offering I was going to take him out to dinner and apologize. That's when I modified the seats 38 00:01:52,420 --> 00:01:57,380 to my car to burn his rear end. So that was our peace offering and then I ended up burning 39 00:01:57,380 --> 00:01:57,400 the rear end. And that's when I started my own company and that was the first time I did a 40 00:01:58,680 --> 00:02:18,260 friends that way. The funny part about Chris is he starts, oh my 41 00:02:18,260 --> 00:02:20,400 God, he starts hitting the X button to close out real quick 42 00:02:20,400 --> 00:02:24,440 and closes his IRC chat room. He comes back in 15 minutes later 43 00:02:24,440 --> 00:02:27,140 and he's like I don't know who that was but some real big idiot 44 00:02:27,140 --> 00:02:29,400 was on this website and he sent me to this really bad website 45 00:02:29,400 --> 00:02:32,220 and I'm like dude, don't worry, we kicked him. If everything's 46 00:02:32,220 --> 00:02:34,060 fine, just go to this other website and it will help you 47 00:02:34,060 --> 00:02:43,440 out. Right. Got him a second time. And then we were at 48 00:02:43,440 --> 00:02:46,660 SmooCon and Chris wanted to beat me up and I'm like Chris, 49 00:02:46,760 --> 00:02:48,980 listen, man, I'm sorry. I didn't have kids this time. I'm like 50 00:02:48,980 --> 00:02:51,380 hey, man, I got kids and everything. I'm like here's a 51 00:02:51,380 --> 00:02:53,160 picture of them and it was the same site and then I ran away. 52 00:02:53,380 --> 00:02:53,600 You know, so. 53 00:02:59,700 --> 00:03:02,980 So that's how Chris and I became good friends. But I 54 00:03:02,980 --> 00:03:05,500 homed in. I knew Chris was a special case and they needed to 55 00:03:05,500 --> 00:03:07,180 home in on him and treat him a little bit differently than 56 00:03:07,180 --> 00:03:10,760 others. But, you know, what's interesting with all of that 57 00:03:10,760 --> 00:03:13,300 though, you know, Chris was in a chat room and he's like, hey, 58 00:03:13,340 --> 00:03:15,440 man, I really think that social engineering and coupling 59 00:03:15,440 --> 00:03:17,400 technology is going to be a real big thing. This is like 2006. 60 00:03:18,560 --> 00:03:20,860 And I'm like, yeah, I agree with you. Let's start a little thing 61 00:03:20,860 --> 00:03:23,980 together and let's figure out social engineer.org and we can 62 00:03:23,980 --> 00:03:26,320 kind of get a group going and that's kind of how set ended up 63 00:03:26,320 --> 00:03:28,500 becoming created and that's how we created the social engineer 64 00:03:28,500 --> 00:03:31,420 tool kit. And so it's interesting to see how all of 65 00:03:31,420 --> 00:03:33,380 these attacks have kind of evolved because if you look at 66 00:03:33,380 --> 00:03:35,960 the past year and a half, the majority of them come down to 67 00:03:35,960 --> 00:03:38,680 phishing. They come down to targeting individuals and human 68 00:03:38,680 --> 00:03:43,140 beings and it's really a successful, you know, endeavor. 69 00:03:43,360 --> 00:03:46,320 And it's really, you know, if you look at an attack, it's a 70 00:03:46,320 --> 00:03:49,920 really low, I don't think I can go that far over. It starts 71 00:03:49,920 --> 00:03:56,120 ringing. Attacks are a low investment, high impact of what 72 00:03:56,120 --> 00:03:58,040 you actually do. So you don't need someone that's heavily 73 00:03:58,040 --> 00:04:00,780 sophisticated or somebody that's really good at what they 74 00:04:00,780 --> 00:04:03,020 do as far as attacking. You don't have to be a zero day 75 00:04:03,020 --> 00:04:05,700 researcher. You can get everybody the way that you want 76 00:04:05,700 --> 00:04:08,800 to right now and it's pretty easy to do. And I'm going to 77 00:04:08,800 --> 00:04:11,000 show you a demonstration. And if you've seen this, I apologize. 78 00:04:11,700 --> 00:04:14,680 But it's a thing that I did on the Katie Kirk show. And it's 79 00:04:14,680 --> 00:04:18,200 really resonant because literally I was going on the Katie 80 00:04:18,200 --> 00:04:21,400 Kirk show and Katie asked me, she's like, hey, can you just 81 00:04:21,400 --> 00:04:24,120 hack somebody live in the audience and then we'll videotape 82 00:04:24,120 --> 00:04:26,100 their reaction. You know, me being a hacker, I was like, hey, 83 00:04:26,120 --> 00:04:29,060 I can. I'm going to steal all of her stuff. I'm going to do this. 84 00:04:29,140 --> 00:04:31,500 I'm going to grab her social security number. And I was all 85 00:04:31,500 --> 00:04:33,680 like happy and excited about what I was doing. But I didn't 86 00:04:33,680 --> 00:04:37,100 really realize the impact that it had on this individual. So 87 00:04:37,100 --> 00:04:39,540 I'm going to show you a quick demo of what I did on the Katie 88 00:04:39,540 --> 00:04:42,760 Kirk show. And just a heads up, so who you're going to see is 89 00:04:42,760 --> 00:04:46,460 Big Dave. I'm Little Dave. I've lost about 115 pounds since I 90 00:04:46,460 --> 00:04:48,640 last went on the Katie Kirk show about a year ago. So this is 91 00:04:48,640 --> 00:04:55,900 Little Dave. Thank you. It's amazing what eating less and 92 00:04:55,900 --> 00:04:56,100 working less can do. It's amazing what eating less and 93 00:04:56,120 --> 00:05:07,480 working up can do for you. Turn it up. I caught him sleeping. 94 00:05:11,360 --> 00:05:15,340 Can you get up a little more? I understand that you believe 95 00:05:15,340 --> 00:05:20,240 your computer is unhackable. Why? All right. She has two 96 00:05:20,240 --> 00:05:23,500 teenage daughters. She lives in Connecticut. And Stephanie, I 97 00:05:23,500 --> 00:05:26,100 understand that you believe your computer is unhackable. Why? 98 00:05:28,860 --> 00:05:31,000 Well, it's something that's really on my mind. I'm very 99 00:05:31,000 --> 00:05:34,600 concerned about it. I feel like all of my antivirus software is 100 00:05:34,600 --> 00:05:38,400 up to date. I've taken a lot of precautions. I have a computer 101 00:05:38,400 --> 00:05:41,880 consultant who comes into my home. So first of all, does 102 00:05:41,880 --> 00:05:44,520 anybody you know in your family have a computer consultant that 103 00:05:44,520 --> 00:05:46,220 comes in their house to make sure that they're up? You have a 104 00:05:46,220 --> 00:05:48,320 couple? Wow. That's amazing. Because I had never heard of 105 00:05:48,320 --> 00:05:50,580 one. So I'm like Katie picks the only person in the world that 106 00:05:50,580 --> 00:05:52,420 has a computer consultant that's going to lock her computer down. 107 00:05:52,540 --> 00:05:54,500 So I'm like, all right. Do I got to start whipping out some zero 108 00:05:54,500 --> 00:05:56,080 days or something like that for this one? But we're going to go 109 00:05:56,100 --> 00:05:59,640 see. To check on these things. And so I really feel strongly 110 00:05:59,640 --> 00:06:02,460 that we have done everything that's possible to try and 111 00:06:02,460 --> 00:06:05,840 protect myself and my daughters. I mean, it's something that's 112 00:06:05,840 --> 00:06:09,120 really worrisome for me. Well, that's very impressive 113 00:06:09,120 --> 00:06:12,980 because you seem like you're extremely ahead of the curve. So 114 00:06:12,980 --> 00:06:17,220 we decided to put David to the test to see if your comfort 115 00:06:17,220 --> 00:06:21,940 level with your security is actually warranted. Tell us what 116 00:06:21,940 --> 00:06:25,860 happened. How did you do when we gave you the challenge of 117 00:06:26,100 --> 00:06:36,820 doing this? So right there, you know. So to kind of show how I 118 00:06:36,820 --> 00:06:38,640 feel at this point in time because I'm confident in what I'm 119 00:06:38,640 --> 00:06:41,660 doing, actually I got a little video I can show you how I feel. 120 00:06:41,820 --> 00:06:44,280 And I like little animal memes. So this is a good one here. 121 00:07:07,660 --> 00:07:17,640 That's kind of how I feel at that point in time. That felt 122 00:07:17,640 --> 00:07:21,580 pretty good, right? To Stephanie's computer. So, you 123 00:07:21,580 --> 00:07:24,060 know, Stephanie, I would say, was actually one of the top 5% 124 00:07:24,060 --> 00:07:26,080 of what I would say is being most secure. So, you know, I'm 125 00:07:26,100 --> 00:07:27,160 pretty confident in what I'm doing. You know, everything up 126 00:07:27,160 --> 00:07:30,540 to date, really locked down, all of those good things. And so I 127 00:07:30,540 --> 00:07:33,420 literally had plugged in, opened up my computer up and less than 128 00:07:33,420 --> 00:07:36,700 10 minutes or so had a fully designed website that looked 129 00:07:36,700 --> 00:07:38,720 real in every way and she performed of a website that you 130 00:07:38,720 --> 00:07:41,900 would visit every single day. And I sent an e-mail out and as 131 00:07:41,900 --> 00:07:43,880 soon as I sent the e-mail out, looks very believable in every 132 00:07:43,880 --> 00:07:47,720 way, she clicked a link and then from there, again, less than 10 133 00:07:47,720 --> 00:07:49,640 minutes of set up time and hacking and all that stuff, I 134 00:07:49,640 --> 00:07:53,200 had full access to her computer, her webcam, got around all of 135 00:07:53,200 --> 00:07:55,980 her antivirus, everything completely. You are kidding me. 136 00:07:56,960 --> 00:07:59,080 Wow. So, you know, as a hacker at this point in time, 137 00:07:59,180 --> 00:08:02,260 I'm like, I'm still doing the, you know, I got everything, 138 00:08:02,440 --> 00:08:04,980 right? You know? And then I don't even think about what I'm 139 00:08:04,980 --> 00:08:07,180 doing. I'm just like, hey, man, I just own everything you have 140 00:08:07,180 --> 00:08:11,360 here, you know? So tell us something that you were able to 141 00:08:11,360 --> 00:08:14,340 see. Well, the first thing we did is we enabled her. Why not 142 00:08:14,340 --> 00:08:18,460 enable her webcam and spy in her house? We enabled her webcam and 143 00:08:18,460 --> 00:08:20,780 we were actually able to monitor everything that was going on in 144 00:08:20,780 --> 00:08:22,780 her house, everything from her daughter working on her 145 00:08:22,780 --> 00:08:25,420 computer to Stephanie actually walking through the house 146 00:08:25,420 --> 00:08:26,080 itself. And we were able to monitor everything that was 147 00:08:26,100 --> 00:08:28,760 going on. We actually enabled the audio as well. So enable our 148 00:08:28,760 --> 00:08:30,860 audio and turn it into a tap device as well, too, so we can 149 00:08:30,860 --> 00:08:33,640 listen to conversations. You know, it sounds all good. We 150 00:08:33,640 --> 00:08:36,120 hear everything that was going on at the same time. So we can 151 00:08:36,120 --> 00:08:39,120 listen to conversations. From there, you know, we started 152 00:08:39,120 --> 00:08:41,760 looking at a lot of I won't let it keep going. It gets worse. 153 00:08:44,860 --> 00:08:48,020 But to say the least, you know, that was one of those moments 154 00:08:48,020 --> 00:08:50,780 where, like, you know, you realize, like, how impactful you 155 00:08:50,780 --> 00:08:53,760 are as an attacker and, like, the, you know, effect it can 156 00:08:53,760 --> 00:08:56,080 have on an individual. And, you know, the thing is, you know, 157 00:08:56,100 --> 00:08:59,640 for me to attack Stephanie took about ten minutes of time. You 158 00:08:59,640 --> 00:09:01,900 know, literally I went on her website, I checked, you know, 159 00:09:01,900 --> 00:09:04,920 her Facebook profile, her Twitter profile, saw that she at 160 00:09:04,920 --> 00:09:07,560 one point in time, like a year and a half ago, made a mention 161 00:09:07,560 --> 00:09:10,280 about an Amazon package delivery. So I just, you know, 162 00:09:11,120 --> 00:09:13,820 cloned Amazon's website. You know, I made a quick, you know, 163 00:09:14,640 --> 00:09:17,100 package distribution page and I sent her an e-mail saying, hey, 164 00:09:17,160 --> 00:09:19,760 you know, Stephanie, just so you know, your package was rerouted 165 00:09:19,760 --> 00:09:22,220 due to a, you know, inclement weather changes or whatever. 166 00:09:22,480 --> 00:09:24,420 Please click here when you can schedule a new delivery. And as 167 00:09:24,420 --> 00:09:26,080 soon as she clicked the link it compromised her computer, right? 168 00:09:26,100 --> 00:09:28,860 So it took about ten minutes to set all that up and hack her 169 00:09:28,860 --> 00:09:31,540 stuff. And it's something that is, you know, may seem stupid, 170 00:09:31,700 --> 00:09:34,220 but it works really well because I know that she shops on Amazon, 171 00:09:34,460 --> 00:09:37,420 right? So whenever you can establish some sort of trust 172 00:09:37,420 --> 00:09:40,060 with somebody, you have the ability to attack them in some 173 00:09:40,060 --> 00:09:43,200 way that is very personal that they expect. And that's what 174 00:09:43,200 --> 00:09:46,780 attacking humans are all about. It's about going after them in a 175 00:09:46,780 --> 00:09:49,200 way that you create a fantasy that's completely ridiculous, 176 00:09:49,900 --> 00:09:53,560 but it's believable to them. And what was interesting is, so 177 00:09:53,560 --> 00:09:55,920 you'll see something that's coming out soon with CNN, 178 00:09:56,100 --> 00:10:00,060 and it's not public yet, but I did a live hack on, you know, 179 00:10:00,060 --> 00:10:02,820 where I went after a company and I compromised, and the company 180 00:10:02,820 --> 00:10:05,200 gave me permission to do this. But I did, you know, I called the 181 00:10:05,200 --> 00:10:07,440 help desk up and, you know, I spoofed my phone number coming 182 00:10:07,440 --> 00:10:09,720 from inside of the company and I said, hey, just so you know, I'm 183 00:10:09,720 --> 00:10:12,340 having this weird problem getting to this website for this 184 00:10:12,340 --> 00:10:14,780 specific, you know, site itself. And they're like, oh, how can I 185 00:10:14,780 --> 00:10:17,220 help you? Because the help desk is supposed to help, right? I'm 186 00:10:17,220 --> 00:10:18,780 like, can you just go to this website and make sure I'm not an 187 00:10:18,780 --> 00:10:21,660 idiot, you know, and, you know, that it's not my computer? And 188 00:10:21,660 --> 00:10:23,460 it's like, yeah, yeah, what's the website? And I just go, you 189 00:10:23,460 --> 00:10:26,060 know, www, whatever it was, .com. As soon as they go to the 190 00:10:26,100 --> 00:10:28,120 website, it compromises the machine and I have full access to 191 00:10:28,120 --> 00:10:30,340 that help desk person's computer, right? But that's what 192 00:10:30,340 --> 00:10:33,320 they're designed to do. That's their function is to help. So if 193 00:10:33,320 --> 00:10:37,620 you can attack somebody in a way that is believable to them, that 194 00:10:37,620 --> 00:10:40,580 is understandable to them, and it doesn't trigger any barriers 195 00:10:40,580 --> 00:10:43,420 or misconceptions around something that's wrong, then it 196 00:10:43,420 --> 00:10:46,340 works, right? And it works really, really well. The things 197 00:10:46,340 --> 00:10:48,620 that you run into is when you don't spend your time to 198 00:10:48,620 --> 00:10:51,560 research a company and go after them, and you just do something 199 00:10:51,560 --> 00:10:53,860 that's like, hey, health benefits, or hey, this or that, 200 00:10:54,000 --> 00:10:56,080 you actually got to spend some time looking at the 201 00:10:56,100 --> 00:10:58,200 information and who you're going after to target things, and I'll 202 00:10:58,200 --> 00:11:00,900 talk about that. And I got a cool example of one we just did 203 00:11:00,900 --> 00:11:04,360 recently, which is really neat. So, you know, the premise of 204 00:11:04,360 --> 00:11:07,540 social engineering attacking humans is make something that's 205 00:11:07,540 --> 00:11:09,740 so believable to them that they're going to believe it and 206 00:11:09,740 --> 00:11:12,420 that it's not going to trigger any alarms, right? And really, 207 00:11:12,540 --> 00:11:15,200 it just comes down to normal human behavior. If you're like, 208 00:11:15,320 --> 00:11:18,420 hey, I'm a Nigerian prince, you need to get $10 million if you 209 00:11:18,420 --> 00:11:20,640 click this link, no one's going to believe that, right? It's 210 00:11:20,640 --> 00:11:25,220 ridiculous, right? However, if I do my research on an individual 211 00:11:25,220 --> 00:11:27,460 and I know that they're in a specific department in a 212 00:11:27,460 --> 00:11:32,160 specific organization, perfect example, sales, right? Actually, 213 00:11:32,220 --> 00:11:34,120 you don't even need to do research on sales, right? You 214 00:11:34,120 --> 00:11:37,540 can do anything you want to to sales. Like, hey, I'm going to 215 00:11:37,540 --> 00:11:40,480 buy from you. I got like $5 million. Can you tell me what 216 00:11:40,480 --> 00:11:43,880 antivirus you have? Well, that's kind of weird. But, yeah, I'm 217 00:11:43,880 --> 00:11:46,440 using semantics. Oh, that's cool. That's cool. Can you just type a 218 00:11:46,440 --> 00:11:49,260 couple commands, like telnet to this? I'm still going to get the 219 00:11:49,260 --> 00:11:51,900 sale, right? Yeah, yeah, absolutely. Okay, cool. What am 220 00:11:51,900 --> 00:11:53,280 I doing here? Okay, yeah, okay, sweet. 221 00:11:55,220 --> 00:11:57,860 Hey, I saw some flag of virus. Oh, just right-click and hit the 222 00:11:57,860 --> 00:12:00,460 save. Okay, cool. I'm still getting the sale, right? You 223 00:12:00,460 --> 00:12:03,280 know, what's interesting with people you target specifically, 224 00:12:04,300 --> 00:12:07,020 especially like sales, like if they're in an organization that's 225 00:12:07,020 --> 00:12:09,320 business-to-business, like going out and talking to other 226 00:12:09,320 --> 00:12:12,020 businesses, creating a fake business that's in their 227 00:12:12,020 --> 00:12:14,940 demographics and their market is perfect. Like, create a fake 228 00:12:14,940 --> 00:12:16,860 website that looks like a business that they would sell to. 229 00:12:17,020 --> 00:12:19,700 And then you call them up and you're like, hey, bro, I got $15 230 00:12:19,700 --> 00:12:24,820 million and I got three days I got to burn it before my Q3 231 00:12:24,820 --> 00:12:25,200 ends. 232 00:12:25,220 --> 00:12:27,640 I got to burn this $15 million in three days. Is there any way 233 00:12:27,640 --> 00:12:30,060 you can work on me? Yeah, yeah, yeah, absolutely. Everybody 234 00:12:30,060 --> 00:12:32,340 drops. You got the whole sales support staff. You're like, boom, 235 00:12:32,380 --> 00:12:34,600 fish him, fish him, fish him, fish him, shell, shell, shell, 236 00:12:34,660 --> 00:12:36,220 shell, shell, because you got the whole support staff, you 237 00:12:36,220 --> 00:12:38,860 know, just compromising everything, right? So, you know, 238 00:12:38,860 --> 00:12:41,320 you have to build your attacks off of a way that's going to be 239 00:12:41,320 --> 00:12:43,240 believable. And I'll show you an example of that here in just a 240 00:12:43,240 --> 00:12:47,180 second of some things that we did. And for us, you know, being 241 00:12:47,180 --> 00:12:50,320 a hacker is really about being and thinking outside of the box. 242 00:12:50,560 --> 00:12:53,540 You know, what's funny about when I first started in this 243 00:12:53,540 --> 00:12:55,200 industry, right? I started on that network. I started on that 244 00:12:55,220 --> 00:12:57,700 zero-day route, which is like, you know, building exploits and 245 00:12:57,700 --> 00:13:01,020 bypassing ASLR and DEP and ROP and all this other stuff. And I 246 00:13:01,020 --> 00:13:03,600 still do some of that, but it's hard. Like, building exploits 247 00:13:03,600 --> 00:13:05,780 nowadays, if you don't, like, focus on it, it's really hard 248 00:13:05,780 --> 00:13:08,980 to do. For me, social engineering is that same type of 249 00:13:08,980 --> 00:13:12,220 excitement and fun, because it requires you to put a puzzle 250 00:13:12,220 --> 00:13:14,580 together to figure things out in a way that you wouldn't before 251 00:13:15,260 --> 00:13:19,160 and come and figure out how you can attack somebody in a way 252 00:13:19,160 --> 00:13:21,940 that is unique. And it's literally like crafting your own 253 00:13:21,940 --> 00:13:24,160 zero-day, right? It's like literally trying to get around 254 00:13:24,160 --> 00:13:25,200 ROP and putting a puzzle together and putting a puzzle 255 00:13:25,200 --> 00:13:26,920 together because you have to put a puzzle of a human being 256 00:13:26,920 --> 00:13:30,480 together, which is way more complex. I mean, human beings act 257 00:13:30,480 --> 00:13:34,100 so crazily different depending on who you are or demographics or 258 00:13:34,100 --> 00:13:37,100 southern accents or British accents or females. You saw 259 00:13:37,100 --> 00:13:38,800 women have a much higher probability in social 260 00:13:38,800 --> 00:13:41,860 engineering and destroy based on culture. There's so many 261 00:13:41,860 --> 00:13:44,120 different things and variables that come into attacking a 262 00:13:44,120 --> 00:13:47,240 human. It's so fascinating to me. So we have to, you know, 263 00:13:47,240 --> 00:13:49,720 mature as an industry to do that because that's exactly what 264 00:13:49,720 --> 00:13:52,940 the attackers are doing. And, you know, what's interesting 265 00:13:52,940 --> 00:13:55,180 about pen testing, right? You hear a lot about pen testing, 266 00:13:55,200 --> 00:13:57,360 pen testing, and pen testing, and pen testing. The thing about 267 00:13:57,360 --> 00:14:00,400 pen testing is that it doesn't really simulate an actual attack 268 00:14:00,400 --> 00:14:02,600 against an organization. It's like, hey, we're going to 269 00:14:02,600 --> 00:14:04,200 compromise this thing and then we're going to get domain name 270 00:14:04,200 --> 00:14:05,560 in and then we just own everything and we're going to 271 00:14:05,560 --> 00:14:07,160 write a report on how we got domain name in. Here you go. 272 00:14:07,200 --> 00:14:09,920 Boom, right? It doesn't simulate an adversary. It doesn't 273 00:14:09,920 --> 00:14:11,980 simulate an attacker. It doesn't simulate anything that's going 274 00:14:11,980 --> 00:14:15,560 on. It's really just ‑‑ sorry, there's kids here. Oops. 275 00:14:17,520 --> 00:14:20,420 Forget about that one. Sorry. I forgot about that one. It's the 276 00:14:20,420 --> 00:14:24,500 only one in there that's bad. So we have to move more towards what 277 00:14:25,200 --> 00:14:26,920 is effective pen testing to me and that's really trying to 278 00:14:26,920 --> 00:14:30,160 understand what the business does, how they operate, and how can I 279 00:14:30,160 --> 00:14:32,840 attack that. Like, for example, manufacturing companies. Does 280 00:14:32,840 --> 00:14:34,820 anybody here do work for manufacturing companies or work in a 281 00:14:34,820 --> 00:14:38,140 manufacturing type organization? Is the actual product they make 282 00:14:38,140 --> 00:14:42,380 what's sensitive to them? No. But how they built that, the process 283 00:14:42,380 --> 00:14:45,340 around it, and how the chemical compounds and the suppliers that 284 00:14:45,340 --> 00:14:48,320 they source it out to in the hundreds of years that they've 285 00:14:48,320 --> 00:14:51,140 taken to mature the specific product, that's the intellectual 286 00:14:51,140 --> 00:14:53,360 property and that's what they're going after right now. Same 287 00:14:53,360 --> 00:14:55,180 thing for, let's just say, retail. You know, if you're going to 288 00:14:55,180 --> 00:14:55,940 get into retail, you're going to get into retail. Credit cards and 289 00:14:55,940 --> 00:14:59,180 customer information is number one, right? That's a given. If you 290 00:14:59,180 --> 00:15:02,220 start going into other demographics like medical research or, you 291 00:15:02,220 --> 00:15:05,420 know, the skate infrastructure and energy sectors and things like 292 00:15:05,420 --> 00:15:09,580 that, right, every single organization is unique in how they are 293 00:15:09,580 --> 00:15:13,320 unique or how they are different as a company, so it requires us to 294 00:15:13,320 --> 00:15:16,000 actually attack them in a different way that makes it some way in 295 00:15:16,000 --> 00:15:18,600 shape or form, simulating what's actually going to happen out there. 296 00:15:19,940 --> 00:15:23,760 So I talked about this, but, you know, if you look at what's kind 297 00:15:23,760 --> 00:15:25,160 of happening in the media right now, and this is one of the things 298 00:15:25,160 --> 00:15:28,920 that's, I guess, the scariest thing to me, is that companies that have 299 00:15:28,920 --> 00:15:35,420 neglected security forever, right, now can claim that they were hacked by 300 00:15:35,420 --> 00:15:39,420 China and that it was sophisticated, and all the years of neglect they 301 00:15:39,420 --> 00:15:43,300 now have an out, right? So we haven't funded security for ten years. We 302 00:15:43,300 --> 00:15:46,060 haven't given it the right path and it hasn't been structured in our 303 00:15:46,060 --> 00:15:50,260 organization, and some folks phished us with the most horrible phish ever 304 00:15:50,260 --> 00:15:54,040 and we fell for it, and all we have is antivirus on our end points and 305 00:15:54,040 --> 00:15:54,440 that's it. 306 00:15:55,160 --> 00:15:58,860 When we get compromised it was a sophisticated attack and we're not to blame for this. 307 00:15:59,440 --> 00:16:02,820 And that is a big issue for the security industry because it's not going to mature 308 00:16:02,820 --> 00:16:06,580 us and make us better, it's just another thing that we can blame, you know, to make 309 00:16:06,580 --> 00:16:06,980 things happen. 310 00:16:07,080 --> 00:16:10,140 What's interesting is if you actually look at most of the attacks that have happened, 311 00:16:10,240 --> 00:16:13,180 there are sophisticated attacks that happen out there, there's no question about it. 312 00:16:13,460 --> 00:16:17,460 If you look at, like, the Sony stuff with North Korea, right, you know, North Korea, 313 00:16:17,580 --> 00:16:21,640 that stuff, that malware was pretty rudimentary, right? It dropped, like, six or seven different 314 00:16:21,640 --> 00:16:25,140 types of pieces of binaries on there. It looked like something out of, like, 1982. It was 315 00:16:25,160 --> 00:16:27,380 a big issue. So if you can code, like, four lines of bash, you're now a sophisticated 316 00:16:27,380 --> 00:16:33,120 attacker in today's world. But it's everywhere. It's not Sony's fault. It's everywhere. Every 317 00:16:33,120 --> 00:16:37,180 single organization has the same problem, but we now have a crux for it and a way to 318 00:16:37,180 --> 00:16:40,360 blame other things that happen. And we didn't really see that with something like Target, 319 00:16:40,500 --> 00:16:44,380 right? Target, you know, they had the executives fired and everybody else out there because 320 00:16:44,380 --> 00:16:47,820 they lost all their credit card data. Even though they probably had a much better security 321 00:16:47,820 --> 00:16:52,240 program than almost anybody else out there at the time. So, you know, it's a different 322 00:16:52,240 --> 00:16:55,140 type of world we live in now because we can just blame things on attack. We can blame things on attack. 323 00:16:55,140 --> 00:17:00,660 We can blame things on someone being sophisticated and doesn't necessarily make a change. Now I'm 324 00:17:00,660 --> 00:17:04,660 going to show you or walk you through an example of a test I did recently. I'm going to show you 325 00:17:04,660 --> 00:17:09,540 some cool stuff, too. But we went after a manufacturing company recently. It was what we 326 00:17:09,540 --> 00:17:12,540 call a red team engagement, right? So it's, like, no holds barred. You can do whatever you 327 00:17:12,540 --> 00:17:15,620 want to. When I say whatever you want to, it's not like you can, like, walk up and hold somebody 328 00:17:15,620 --> 00:17:18,400 up at gunpoint or anything. But it's, like, you can pretty much do anything you want to, aside 329 00:17:18,400 --> 00:17:23,620 from, like, breaking stuff. Probably not a good idea. But the main focus of this was the focus 330 00:17:25,140 --> 00:17:29,600 on their R&D stuff, right? So what they were going to be doing in the future. And we had been 331 00:17:29,600 --> 00:17:34,600 doing work for this company for a couple of years, and it really focused on protecting their IP and 332 00:17:34,600 --> 00:17:38,340 focused on protecting the research and development of their next-gen products. So it was really, 333 00:17:38,420 --> 00:17:42,900 really important to them to see if we could actually get access to it. And so we had any 334 00:17:42,900 --> 00:17:46,340 method that we could possibly use, right? We could do physical. We could do social engineering. We 335 00:17:46,340 --> 00:17:49,600 could hack anything we wanted to. We could do whatever we wanted to. It was a full scope, 336 00:17:49,720 --> 00:17:54,040 right? Allowed us to do any type of thing that we wanted to actually do. And so what we decided to 337 00:17:55,140 --> 00:18:00,280 do was, hey, maybe we can go phishing first. But before we do phishing, maybe we can look for 338 00:18:00,280 --> 00:18:03,620 something first to kind of help us out with it. Because in order to get to some of these people, 339 00:18:03,680 --> 00:18:07,720 we're going to have to get pretty deep. And so we started looking, and we found an actual web 340 00:18:07,720 --> 00:18:11,340 application that had a file upload vulnerability in it, which allowed us to compromise a website, 341 00:18:11,520 --> 00:18:15,420 okay? We compromised this website, but we didn't really have permission to do anything. It was, 342 00:18:15,480 --> 00:18:20,120 like, you know, kind of locked in its own DMZ, couldn't do any type of lateral movement or 343 00:18:20,120 --> 00:18:24,580 attacks or anything like that. So it was really difficult for us to attack the system. But what 344 00:18:25,140 --> 00:18:30,440 we could do is create our own web pages. And so we could create a web page on a company or 345 00:18:30,820 --> 00:18:36,180 organization's web page, right? Which does what? Trust and credibility, right? So establishes 346 00:18:36,180 --> 00:18:40,260 credibility and trust for a specific website because we have already owned a specific website. 347 00:18:41,200 --> 00:18:44,680 So what we ended up doing is we made this whole website, and we sent it out to a couple of 348 00:18:44,680 --> 00:18:48,420 individuals in the sales department. And we ended up getting one of them, like, almost right away. 349 00:18:48,600 --> 00:18:52,700 So, you know, we had to log into this website, right? And we grabbed credentials. We didn't want 350 00:18:55,140 --> 00:18:58,800 to be causing a system because we didn't know what defenses they had in place. And so at this 351 00:18:58,800 --> 00:19:03,680 point in time, we had to figure out a way to actually go and attack them. And what we did is, 352 00:19:03,740 --> 00:19:06,640 you know, we, you know, phished them with a specific phish, logged them with a username 353 00:19:06,640 --> 00:19:11,120 password, and it was, like, a server they went through and did certain things. So what's great 354 00:19:11,120 --> 00:19:16,560 about Outlook Web Access, for some reason, corporations, they'll do two-factor VPN, you 355 00:19:16,560 --> 00:19:19,840 know, so if they do, like, a one-time pin or something for VPNs, but OWA, for some reason, is, 356 00:19:19,860 --> 00:19:23,680 like, always open. There's never any two-factor authentication, which is horrible because it has 357 00:19:23,680 --> 00:19:25,120 access to all of your, you know, email addresses. So we had to figure out a way to actually 358 00:19:25,140 --> 00:19:28,620 email and exchange data and everything else that's going on. And so what's interesting with 359 00:19:28,620 --> 00:19:32,440 this is when we compromised the sales individual, does anybody know what happens when you 360 00:19:32,440 --> 00:19:38,340 compromise an OWA infrastructure, like, just that one user? Even more trust, right? Because you 361 00:19:38,340 --> 00:19:42,400 have conversations with people that have already been talking to you. So usually what I do when I 362 00:19:42,400 --> 00:19:48,020 compromise OWA is I'll sit there for, like, two or three hours just reading through emails, just 363 00:19:48,020 --> 00:19:52,060 seeing which one is the perfect one for me to be able to send something back to them, right? And 364 00:19:52,060 --> 00:19:54,940 send something that's horrible. Well, not horrible. I mean, it's, like, good for me. But 365 00:19:54,940 --> 00:19:55,120 it's, like, good for me. So I'll sit there for, like, two or three hours just reading through 366 00:19:55,140 --> 00:20:00,140 emails. I mean, it's not like what I did to Chris. But, you know, send something back to an 367 00:20:00,140 --> 00:20:05,620 individual salesperson that establishes another part of trust and compromises the machine. And 368 00:20:05,620 --> 00:20:10,220 so, you know, what we had to look at is we ended up doing what was called an Excel injection. And 369 00:20:10,220 --> 00:20:14,400 I'll show you a quick demo of this really quick. Now, is anybody familiar, has anybody used the 370 00:20:14,400 --> 00:20:19,580 tool Unicorn before? A couple people, which is great. If you haven't seen it, the new version 371 00:20:19,580 --> 00:20:25,120 two is out, which came out about two or three weeks ago. And it has a lot of new tabs and 372 00:20:25,120 --> 00:20:30,880 attack vectors in it. Improved optimization of code. Metasploit, they got a much larger payload. 373 00:20:31,080 --> 00:20:34,240 So, like, whenever you generated payloads within Metasploit, it became much larger. And if you 374 00:20:34,240 --> 00:20:37,240 know anything about PowerShell injection, you have to keep it kind of small and compact in 375 00:20:37,240 --> 00:20:40,700 certain things. So I was able to strip out a large percentage of the new payload systems, and 376 00:20:40,700 --> 00:20:46,520 so it's all in one. But if you're not familiar with PowerShell, so to put it in perspective, 377 00:20:46,820 --> 00:20:50,900 like, every new operating system from Windows Vista and above has PowerShell installed on it. 378 00:20:51,360 --> 00:20:55,100 And PowerShell is a very specific type of attack vector because it allows you to do a lot of 379 00:20:55,100 --> 00:20:59,880 things. It allows you to basically do direct memory access and inject shell code directly into 380 00:20:59,880 --> 00:21:03,600 memory through PowerShell, which means that if you're using something like a bit nine or 381 00:21:03,600 --> 00:21:07,620 application whitelisting, you can circumvent that really easily and just inject your own shell 382 00:21:07,620 --> 00:21:12,540 code out there and never touch disk. And so I ended up creating Unicorn, which allows you to 383 00:21:12,540 --> 00:21:17,680 attack 32 and 64-bit platforms natively with it. And so one of the attack vectors that you can do 384 00:21:17,680 --> 00:21:23,160 now is through macro injection, which was one of the some individual added it to a get pull 385 00:21:23,160 --> 00:21:25,080 request, which is really cool. And I've improved it since then. And I've been using it for a lot of 386 00:21:25,100 --> 00:21:31,020 years. And what's nice about this, I just want to show you real quick. So any new hacker tool, by 387 00:21:31,020 --> 00:21:36,800 the way, has to have ASCII art as far as I'm concerned. So this has an awesome, it was funny, 388 00:21:36,900 --> 00:21:41,440 one of the, I was teaching my black hat class, and one of the students was like, it would be 389 00:21:41,440 --> 00:21:45,700 awesome if the Unicorn had red eyes. So at break time I coded in red eyes, so it has red eyes now. 390 00:21:47,820 --> 00:21:54,280 And it's all fun. But Unicorn, what it does is it allows you to generate a number of attacks. And 391 00:21:54,280 --> 00:21:55,080 so one of the ones that we're going to talk about today is, we're going to talk about the 392 00:21:57,360 --> 00:22:01,460 macro attack. And so first we need a payload. So we're going to specify like Windows 393 00:22:01,460 --> 00:22:07,960 interpreter, reverse TCP. And I'll just give it any type of IP address that I want to. And then 394 00:22:07,960 --> 00:22:11,500 it's going to specify macro, port macro. And it's going to go ahead and generate the code for us. 395 00:22:13,960 --> 00:22:17,080 And I use this all the time. And it's so effective, especially if you have a trust 396 00:22:17,080 --> 00:22:24,760 relationship. And so I'll go ahead and edit this. And it generates macro code for you that does 397 00:22:24,760 --> 00:22:25,080 power up your code. And it's going to generate a code for you that does power up your code. And it's 398 00:22:25,100 --> 00:22:25,420 generated a code for you that does power up your code. And it's going to generate a code for you that does 399 00:22:25,420 --> 00:22:28,800 injection natively. So when they open up the Excel document, it doesn't touch disk, it doesn't 400 00:22:28,800 --> 00:22:33,460 download anything else. It just injects shell code into memory for you. So it compromises the 401 00:22:33,460 --> 00:22:38,560 system, and it gets around a lot of the application type technology. And by the way, if 402 00:22:38,560 --> 00:22:42,060 you're using like what is called execution restriction policies, doesn't matter, because 403 00:22:42,060 --> 00:22:45,840 you're using what is called encoded command parameter. So it gets around any type of 404 00:22:45,840 --> 00:22:48,880 execution restriction policies you have in place, too. So if you're using AllSign or 405 00:22:48,880 --> 00:22:52,900 RemoteSign or anything like that, it doesn't make a difference. And so that will work. You 406 00:22:52,900 --> 00:22:55,000 execute that, it compromises your machine and it gives you a 407 00:22:55,100 --> 00:22:56,600 shell out of the network which I'll show you a demonstration 408 00:22:56,600 --> 00:23:00,020 here in just a few minutes. But it works extremely well. It's 409 00:23:00,020 --> 00:23:01,700 effective where I use a lot of the social engineering 410 00:23:01,700 --> 00:23:05,860 techniques. What was interesting though is we hear a lot about 411 00:23:05,860 --> 00:23:08,860 the types of technology like preventative measures that 412 00:23:08,860 --> 00:23:11,420 companies have like next gen firewalls and all this other 413 00:23:11,420 --> 00:23:15,240 stuff. I ran into a specific virtualization technology and 414 00:23:15,240 --> 00:23:16,860 I'm not going to talk about which one it is because I don't 415 00:23:16,860 --> 00:23:18,640 necessarily like bashing vendors or anything like that. 416 00:23:18,740 --> 00:23:21,880 They all do what they can. But I ran into a virtualization 417 00:23:21,880 --> 00:23:24,060 technology. Does anybody know how those type of technologies 418 00:23:24,060 --> 00:23:27,260 work? They, you know, a piece of malware comes in or something 419 00:23:27,260 --> 00:23:30,480 comes in and it doesn't look normal, right? They spin up in a 420 00:23:30,480 --> 00:23:32,920 virtual machine, right? And that virtual machine then looks at 421 00:23:32,920 --> 00:23:35,420 everything that's occurring. So it looks at the registry entries 422 00:23:35,420 --> 00:23:37,640 that gets made, the C2 type infrastructure, like if it's 423 00:23:37,640 --> 00:23:40,860 connecting out to the outside Internet. Is it making changes 424 00:23:40,860 --> 00:23:43,360 to the operating system for persistence or other areas? It's 425 00:23:43,360 --> 00:23:47,160 a neat technology. So I ended up sending this Excel document to 426 00:23:47,160 --> 00:23:49,700 the sales individual and all of a sudden it didn't work and I 427 00:23:49,700 --> 00:23:51,740 couldn't figure out why. And I was looking at it and I could 428 00:23:51,740 --> 00:23:54,040 see the initial connection but then after that it just died and 429 00:23:54,060 --> 00:23:56,180 it wasn't coming from the actual computer. So I'm like, ah, 430 00:23:56,320 --> 00:23:59,360 they're using some sort of virtualization technology. So I 431 00:23:59,360 --> 00:24:04,540 need to take a look at how to get around that. So if you want 432 00:24:04,540 --> 00:24:07,040 to bypass sandbox technology, I'm going to release this today. 433 00:24:07,220 --> 00:24:09,300 It's extremely, you know, it's taken me months of research, 434 00:24:09,760 --> 00:24:12,820 development, but I'm releasing this today for you all so you 435 00:24:12,820 --> 00:24:16,340 can see, you know, how to get past sandbox technology and all 436 00:24:16,340 --> 00:24:19,720 of them, which is great. And it's extremely difficult. So I'm 437 00:24:19,720 --> 00:24:22,240 going to show you all of the code right here. Just kidding, 438 00:24:22,280 --> 00:24:23,760 it's not really hard. It's three lines of code to get 439 00:24:23,760 --> 00:24:23,920 rid of. 440 00:24:29,060 --> 00:24:34,580 It's actually really bad. It's terrible. So the virtual 441 00:24:34,580 --> 00:24:37,800 machines all use very predictable sandbox containers, 442 00:24:38,340 --> 00:24:42,140 right? And a lot of them, a lot of the big ones will use two CPU 443 00:24:42,140 --> 00:24:44,500 cores or less or usually just less than one. So does anybody 444 00:24:44,500 --> 00:24:48,520 you know use one CPU core at all in your environment? No, right? 445 00:24:48,700 --> 00:24:51,880 So if CPU core is less than two, then just don't do anything 446 00:24:51,880 --> 00:24:54,040 and exit. So when it comes into play, you're going to have to 447 00:24:54,040 --> 00:24:55,840 listen to these sandbox technologies, right? It's like, 448 00:24:55,940 --> 00:24:58,960 hey, hey, hey, are you doing anything? Oh, I'm in one CPU. 449 00:24:59,120 --> 00:25:01,940 Don't do anything. Oh, you're not doing anything. You're good. 450 00:25:02,080 --> 00:25:04,580 Pass it off to the end user. It's cool, right? And they're 451 00:25:04,580 --> 00:25:07,120 like, oh, it came through, you know, this virtualization 452 00:25:07,120 --> 00:25:09,260 technology. I can double click it now. It's fine. Oh, I'm not 453 00:25:09,260 --> 00:25:11,840 in a one CPU environment. Okay, run the code and execute it. 454 00:25:11,860 --> 00:25:15,040 Everything's good. I got my shell. So, yeah, it works for 455 00:25:15,040 --> 00:25:17,000 pretty much any major one. What's interesting, the reason 456 00:25:17,000 --> 00:25:19,900 why I talk about this, by the way, is it's now being baked 457 00:25:19,900 --> 00:25:22,000 into a lot of the malware that you see out there today. Like, 458 00:25:22,000 --> 00:25:24,020 I know Dyer came out with it and now Dyer, you know, it's like, 459 00:25:24,040 --> 00:25:26,500 Dyer actually has it built into the malware itself. So it 460 00:25:26,500 --> 00:25:29,180 actually looks for sandbox environments. There's a whole 461 00:25:29,180 --> 00:25:32,220 bunch of different ways, though, to get around virtualization 462 00:25:32,220 --> 00:25:34,760 sandbox technology. This is just one of the many. Some 463 00:25:34,760 --> 00:25:37,400 people say time-based delays work. We used to use time-based 464 00:25:37,400 --> 00:25:39,060 delays for a while, but they've gotten a little bit smarter on 465 00:25:39,060 --> 00:25:44,420 that. The CPU core counts are extremely easy and works almost 466 00:25:44,420 --> 00:25:49,060 every time. There's a few other ones, too. So what was cool 467 00:25:49,060 --> 00:25:50,460 about that is, you know, we got past the virtualization 468 00:25:50,460 --> 00:25:54,020 technology and we compromised some boxes. And, you know, 469 00:25:54,040 --> 00:25:57,480 we bypassed the sandbox technology. You know, we ended 470 00:25:57,480 --> 00:25:59,780 up, like, looking at a lot of different areas that we can get 471 00:25:59,780 --> 00:26:01,640 and Excel injection ended up working for us with the 472 00:26:01,640 --> 00:26:04,740 PowerShell injection, which was awesome. So we had shells. We 473 00:26:04,740 --> 00:26:07,000 had access to, you know, a couple of individuals' machines, 474 00:26:07,700 --> 00:26:10,080 most specifically one that we were specifically targeting that 475 00:26:10,080 --> 00:26:13,720 we really liked. So what was interesting about this attack 476 00:26:13,720 --> 00:26:17,680 is they used proper network segmentation, right, which is 477 00:26:17,680 --> 00:26:20,420 really interesting to see. Most of the attacks that you see out 478 00:26:20,420 --> 00:26:23,940 there today is due to one person becoming compromised, right, or 479 00:26:24,040 --> 00:26:26,360 maybe a couple of people becoming compromised. And then 480 00:26:26,360 --> 00:26:29,000 that whole thing you hear about lateral movement, right? So they 481 00:26:29,000 --> 00:26:30,940 compromise one machine and then they spread out the rest of the 482 00:26:30,940 --> 00:26:33,140 network with information that they obtained from one system 483 00:26:33,140 --> 00:26:36,240 out to the other. Most companies kind of have an M&M 484 00:26:36,240 --> 00:26:38,180 syndrome, right? They're hard on the outside, soft on the 485 00:26:38,180 --> 00:26:41,040 inside. So once you get past that hard exterior and you go to 486 00:26:41,040 --> 00:26:43,520 the inside, you now have the ability to touch all the systems 487 00:26:43,520 --> 00:26:46,260 that you want, right? Well, what was interesting about this 488 00:26:46,260 --> 00:26:48,580 company is that they actually did pretty decent network 489 00:26:48,580 --> 00:26:51,780 segmentation. So it was really hard for me to even touch any of 490 00:26:51,780 --> 00:26:54,020 the individuals that were a part of R&D. I couldn't even get the 491 00:26:54,040 --> 00:26:57,380 R&D people that I needed access to, let alone get to the 492 00:26:57,380 --> 00:26:59,620 information that I needed access to to get it, which is really 493 00:26:59,620 --> 00:27:01,860 good. You don't see a lot of companies doing that, which is 494 00:27:01,860 --> 00:27:07,500 awesome. And so one thing I noticed is that on the ‑‑ 495 00:27:07,500 --> 00:27:10,280 when I was going through and attacking, one of the VLANs I was 496 00:27:10,280 --> 00:27:13,080 able to get access to had the physical security system on it. 497 00:27:13,160 --> 00:27:15,540 And if you don't know much about physical security systems, like 498 00:27:15,920 --> 00:27:18,620 the physical security manufacturers are so far behind 499 00:27:18,620 --> 00:27:22,420 the logical, I guess, folks that usually breaking into physical 500 00:27:22,420 --> 00:27:23,780 security systems are really easy. 501 00:27:24,040 --> 00:27:26,000 And usually the physical security guys don't, like, you 502 00:27:26,000 --> 00:27:29,340 know, handle good security practices in a lot of cases. So 503 00:27:29,340 --> 00:27:31,740 we ended up getting into this Internet site that was their 504 00:27:31,740 --> 00:27:34,760 physical security website for the company. And it listed, 505 00:27:34,820 --> 00:27:37,780 like, how to make a badge, right? Like, this is step one. 506 00:27:38,080 --> 00:27:41,080 So I'm like, oh, okay. So I go to this website. I enter this 507 00:27:41,080 --> 00:27:43,400 user name in. I enter this password in, right? And I'm in 508 00:27:43,400 --> 00:27:46,600 this ‑‑ now this badging system, right? And it's like, 509 00:27:46,620 --> 00:27:48,340 next, if you need to create a new employee, make sure you 510 00:27:48,340 --> 00:27:51,440 assign the roles that he needs access to. So I created myself a 511 00:27:51,440 --> 00:27:54,020 badge. So David Kennedy gets a badge, right? And I'm like, oh, 512 00:27:54,040 --> 00:27:56,660 I need access to R&D. Oh, it has a pin? Okay. I'm going to 513 00:27:56,660 --> 00:28:00,840 set myself a pin. Cool. And then I just, like, select all. I 514 00:28:00,840 --> 00:28:02,540 added myself to everything. Select all and just hit okay, 515 00:28:02,660 --> 00:28:06,660 right? So I added all this and everything. And it said, you 516 00:28:06,660 --> 00:28:08,900 know, usually the badge will print and everything and it will 517 00:28:08,900 --> 00:28:12,700 be ready for the new employee to pick up usually within an hour or 518 00:28:12,700 --> 00:28:17,940 two, something like that. So I waited a day. And so I dressed 519 00:28:17,940 --> 00:28:24,020 up. You know, it's live footage. But I ended up getting 520 00:28:24,040 --> 00:28:27,100 dressed up. You know, when you go to an organization, you want to 521 00:28:27,100 --> 00:28:29,420 play the part. You want to play who you're going to be going 522 00:28:29,420 --> 00:28:31,980 after. You don't want to arouse any suspicion. So this company 523 00:28:31,980 --> 00:28:34,540 specifically was more of like a, you know, tie type of 524 00:28:34,540 --> 00:28:37,040 company. So I had to wear a tie and everything. And I walk up 525 00:28:37,040 --> 00:28:38,760 to the front desk and the security guard is sitting there 526 00:28:38,760 --> 00:28:40,460 and everything. I'm like, hey, I'm a new employee. I have a 527 00:28:40,460 --> 00:28:43,900 badge. My name is Dave Kennedy. He's like, oh, okay. Oh, here you 528 00:28:43,900 --> 00:28:46,000 go. Here you go, Dave. Here you go. Sweet. Thank you. So I, 529 00:28:46,000 --> 00:28:48,940 you know, badge clip on. Exit in and I'm walking in the building, 530 00:28:49,040 --> 00:28:51,480 right? Everything's great. So, so far, so good. I'm at the 531 00:28:51,480 --> 00:28:53,720 point now where, hey, you know, I got in through 532 00:28:54,040 --> 00:28:55,940 engineering, kind of, but I didn't get all the way. But I 533 00:28:55,940 --> 00:28:58,960 used my, you know, initial method to get in. And so I 534 00:28:58,960 --> 00:29:01,340 started walking around and kind of, you know, trying to find 535 00:29:01,340 --> 00:29:03,560 different areas and trying to see if I could find the R&D 536 00:29:03,560 --> 00:29:10,140 area. So I find the R&D thing. And, you know, like, companies 537 00:29:10,140 --> 00:29:14,240 try to promote what they're doing as far as, like, research 538 00:29:14,240 --> 00:29:16,520 and development, right? So there's, like, this R&D center 539 00:29:16,520 --> 00:29:19,060 of excellence. And it's like, you know, tinted windows and, 540 00:29:19,100 --> 00:29:21,840 you know, security access and all this other stuff, right? And 541 00:29:21,840 --> 00:29:24,020 so I get to this area here. And, like, there's, like, a 542 00:29:24,040 --> 00:29:26,320 lot of, like, you know, I'm in a tie and everything. And I get to 543 00:29:26,320 --> 00:29:28,940 this R&D center of excellence. I'm, like, cool. I'm going to go 544 00:29:28,940 --> 00:29:31,800 in here and I'm going to try to get into this environment, this 545 00:29:31,800 --> 00:29:33,760 network segment so that I can hack the rest of the information 546 00:29:33,760 --> 00:29:36,460 I need to get access to. And so I walk in there. And I don't 547 00:29:36,460 --> 00:29:38,480 know if you've ever been in a situation, like, a clown 548 00:29:38,480 --> 00:29:40,940 situation where I walked into a bunch of clowns, right? Like, 549 00:29:40,940 --> 00:29:44,180 you don't belong. Like, I should not be in this room where there's 550 00:29:44,180 --> 00:29:46,360 a whole bunch of clowns, right? Same thing that happened this 551 00:29:46,360 --> 00:29:49,000 one. I ended up badging. I had my pen. I walk in. And it must 552 00:29:49,000 --> 00:29:51,940 have been, like, a massive R&D meeting. There was, like, 50 553 00:29:51,940 --> 00:29:53,940 people in there. They all turn around and look at me. And I'm 554 00:29:53,940 --> 00:29:56,400 in a tie. They're all in, like, jeans and a T-shirt. And they're 555 00:29:56,400 --> 00:29:59,460 all looking at me, like, who are you and why are you here? So at 556 00:29:59,460 --> 00:30:02,100 this point you have two choices, right? You're, like, well, I 557 00:30:02,100 --> 00:30:03,860 can just back off and pretend nothing happened. I'm, like, oh, 558 00:30:03,880 --> 00:30:07,140 I'm sorry, wrong room, wrong room. Or you can be, like, 559 00:30:07,600 --> 00:30:11,140 let's see what happens and walk in. So I walk in, you know, and 560 00:30:11,140 --> 00:30:12,980 I just kind of go to the side a little bit. And everybody's kind 561 00:30:12,980 --> 00:30:14,580 of looking. And they go back to doing what they're doing, just, 562 00:30:14,640 --> 00:30:16,740 you know, standard business. And I guess they figure, hey, if I 563 00:30:16,740 --> 00:30:19,340 have access to this, everything's fine, right? So I'm 564 00:30:19,340 --> 00:30:22,360 walking. And I'm walking and walking. And I'm trying to, 565 00:30:22,400 --> 00:30:24,660 like, focus on them. And I'm trying to focus on the 566 00:30:24,660 --> 00:30:30,160 individuals. And I end up not seeing a trash can that's 567 00:30:30,160 --> 00:30:32,360 sitting there. And I'm walking. And I trip over this metal 568 00:30:32,360 --> 00:30:36,400 trash can, right? And there's, like, you know, there's, like, 569 00:30:36,400 --> 00:30:39,040 mustard all over me and food and everything. And I literally hit 570 00:30:39,040 --> 00:30:41,960 it hard. Like, I mean, I hit it and I'm, like, rolling. And 571 00:30:42,340 --> 00:30:45,420 being 6'4 and being, like, you know, starting to get into my, 572 00:30:45,480 --> 00:30:48,120 you know, mid-30s, when you fall hard, you fall hard, 573 00:30:48,160 --> 00:30:49,320 right? And you're, like, you're going to fall hard. And you're 574 00:30:49,320 --> 00:30:51,440 sore for, like, three weeks afterwards. You've got bruises 575 00:30:51,440 --> 00:30:53,260 everywhere. And you're, like, honey, I had a rough day at 576 00:30:53,260 --> 00:30:54,800 work today. And she's, like, I thought you were a computer guy. 577 00:30:54,900 --> 00:30:57,060 Why do you have bruises everywhere? I'm, like, you have 578 00:30:57,060 --> 00:31:01,400 no idea what I've been through. No idea. But, you know, what's 579 00:31:01,400 --> 00:31:03,220 funny is I made this huge noise and all this trash everywhere. 580 00:31:03,640 --> 00:31:05,400 You know, people pick me up and everything. Like, oh, my gosh, 581 00:31:05,400 --> 00:31:07,060 are you okay? I'm, like, yeah, yeah, I'm fine, I'm fine, I'm 582 00:31:07,060 --> 00:31:08,920 fine. I'm just going over here to try to get over here. Like, 583 00:31:08,920 --> 00:31:11,200 oh, okay, I'm so sorry this happened. We'll move the trash 584 00:31:11,200 --> 00:31:12,880 can. It's our fault. I'm, like, no, no, it's my fault, you 585 00:31:12,880 --> 00:31:17,540 know. I'm trying to not cry, you know, because it hurt, you know, 586 00:31:17,540 --> 00:31:22,520 a little bit. But I get over to the side and I see a computer 587 00:31:22,520 --> 00:31:26,340 there. And I'm going to be open sourcing this next week. And 588 00:31:26,340 --> 00:31:30,360 it's what I call it, it's what we call our tap devices, which 589 00:31:30,820 --> 00:31:33,600 if you're familiar with, like, Intel nooks, the little nooks, 590 00:31:33,700 --> 00:31:36,920 you can buy them for, like, 200 bucks, something like that. You 591 00:31:36,920 --> 00:31:39,440 go and you buy one of those and you get, like, 128 gigs out of 592 00:31:39,440 --> 00:31:41,960 state drive. Give it about 8 gigs of RAM. And then you can 593 00:31:41,960 --> 00:31:42,860 also buy an LTE drive. And you can also buy an LTE drive. And 594 00:31:42,860 --> 00:31:46,160 you can also buy an LTE card that fits in. And so what I did 595 00:31:46,160 --> 00:31:49,400 is I wrote some software and some code that will automatically 596 00:31:49,400 --> 00:31:54,000 establish a reverse SSH VPN. And Jeff also, one of our guys, is 597 00:31:54,000 --> 00:31:56,820 also back there, right, Jeff? Raise your hand. Also wrote 598 00:31:56,820 --> 00:31:59,000 the SSH VPN part of it, so I can't take all credit for that. 599 00:31:59,620 --> 00:32:03,340 But it basically establishes a reverse SSH connection out of 600 00:32:03,340 --> 00:32:06,060 the LTE network while bridging the other network that might be 601 00:32:06,060 --> 00:32:08,780 air gapped. And then it does a reverse SSH connection in and 602 00:32:08,780 --> 00:32:12,220 then you can VPN full tap device through an SSH connection into 603 00:32:12,220 --> 00:32:12,740 that environment. 604 00:32:12,860 --> 00:32:15,860 So you have full access to that computer. Full access to that 605 00:32:15,860 --> 00:32:19,320 network to get around it. What's nice about the tap devices and 606 00:32:19,320 --> 00:32:21,480 what I built is it's kind of like self healing. So if there's 607 00:32:21,480 --> 00:32:23,860 problems with the operating system or the connection, it 608 00:32:23,860 --> 00:32:26,400 tries to repair itself so it can get back out again. So, 609 00:32:26,460 --> 00:32:29,660 like, something goes wrong, it tries to fix itself and restore 610 00:32:29,660 --> 00:32:32,760 itself back to its original content. So I'll be releasing 611 00:32:32,760 --> 00:32:34,520 that. I've been working on it for actually about a year and a 612 00:32:34,520 --> 00:32:37,900 half. And I figured why not just open source it. It's been a fun 613 00:32:37,900 --> 00:32:40,800 project. It's most of my stuff. I'll get, like, halfway through 614 00:32:40,800 --> 00:32:42,080 a project and I'll forget about it. 615 00:32:42,860 --> 00:32:44,600 And then, you know, I'll come back a year later and kind of 616 00:32:44,600 --> 00:32:47,680 figure it out. But that's kind of how that works. Now, what's 617 00:32:47,680 --> 00:32:51,060 interesting with the implants themselves, you know, when I 618 00:32:51,060 --> 00:32:54,900 open source the code is it will literally, we've never seen it 619 00:32:54,900 --> 00:32:57,140 fail in an environment that we get access to, physical access 620 00:32:57,140 --> 00:33:00,420 to, right? So, you know, it can do things like impersonate the 621 00:33:00,420 --> 00:33:02,340 network that it's going on to and automatically clone a MAC 622 00:33:02,340 --> 00:33:05,720 address so that you can get around a lot of the 82.1X. Also 623 00:33:05,720 --> 00:33:08,200 I'm working on right now a module for it where it will 624 00:33:08,200 --> 00:33:10,340 actually sniff for, like, printer MAC addresses that are 625 00:33:10,340 --> 00:33:12,380 on the network and it will automatically change itself to 626 00:33:12,380 --> 00:33:14,380 one of those so that it gets into, like, the printer VLAN so 627 00:33:14,380 --> 00:33:16,440 you can at least get some access into an environment that may not 628 00:33:16,440 --> 00:33:20,100 have 802.1X in place. So there's a lot more stuff that I'm adding 629 00:33:20,100 --> 00:33:25,420 to that, which is really cool. I want to show you a quick demo 630 00:33:25,420 --> 00:33:30,800 here real quick. And I'm going to ask, is Chris still around? I 631 00:33:30,800 --> 00:33:34,120 got a demo for you I want to check real quick here. Do I have 632 00:33:34,120 --> 00:33:41,260 your permission first? Can I get your permission, Chris? I need 633 00:33:41,260 --> 00:33:41,960 your permission first. 634 00:33:42,920 --> 00:33:47,040 You just have to say yes. I'm first here, you're wrong. 635 00:33:53,100 --> 00:33:55,800 Well, we'll wait a minute. I got a demo here to do first. I have 636 00:33:55,800 --> 00:34:01,320 to see if I can still even get to it. But we'll try. So one of 637 00:34:01,320 --> 00:34:04,240 the attacks that I use a lot in social engineering is through a 638 00:34:04,240 --> 00:34:08,020 social engineer toolkit, right? And if you've used set, set is 639 00:34:08,020 --> 00:34:10,600 just a tool. All right? It's just a tool that can help you in 640 00:34:10,600 --> 00:34:12,360 what you're doing. If you're just running set, you're going to 641 00:34:12,360 --> 00:34:13,920 have to run a tool, then you're not going to be successful. 642 00:34:14,280 --> 00:34:17,120 However, if you actually go after an organization and do 643 00:34:17,120 --> 00:34:20,080 your proper type of attack, you're going to be successful in 644 00:34:20,080 --> 00:34:22,140 how you do it. Now, one of the new attack factors I just added 645 00:34:22,140 --> 00:34:24,960 into the social engineer toolkit, and special thanks to 646 00:34:24,960 --> 00:34:29,120 Justin Elzey for even leading me on to this, is what we call the 647 00:34:29,120 --> 00:34:32,460 HTA attacks. If you're familiar with most corporations, they 648 00:34:32,460 --> 00:34:34,980 still traditionally use Internet Explorer, right, as kind of their 649 00:34:34,980 --> 00:34:37,540 main method for browsing. I mean, compatibility, Oracle, 650 00:34:37,780 --> 00:34:40,340 everything else that comes along with the horribleness of Internet 651 00:34:40,340 --> 00:34:42,340 Explorer, right? So what you can do with that is you can run a 652 00:34:42,360 --> 00:34:43,800 bunch of things. You can do, and this actually works in Chrome 653 00:34:43,800 --> 00:34:47,360 and Firefox as well, but in most cases you're going to want to use 654 00:34:47,360 --> 00:34:51,820 this in IE, is what we call HTA files. And HTA files are a 655 00:34:51,820 --> 00:34:54,620 separate launcher that gets added to Microsoft and it gets 656 00:34:54,620 --> 00:34:57,540 called, and it's kind of a similar problem that we saw with 657 00:34:57,540 --> 00:35:00,500 Java applet attacks in the past. If you're not familiar with Java 658 00:35:00,500 --> 00:35:02,580 applets, it's a way of basically compromising a machine very 659 00:35:02,580 --> 00:35:04,920 easily if you have Java installed. It doesn't matter what 660 00:35:04,920 --> 00:35:06,500 version. It doesn't need to be zeroed in or anything like that. 661 00:35:06,560 --> 00:35:09,940 It just always works. But in this case, just how Java is just 662 00:35:09,940 --> 00:35:10,560 designed, right? 663 00:35:12,360 --> 00:35:13,920 But what I'm going to do is we're going to run the social 664 00:35:13,920 --> 00:35:18,100 engineer toolkit. I'll show you how easy this is. And this is 665 00:35:18,100 --> 00:35:22,680 version 652. It just came out recently. What's interesting 666 00:35:22,680 --> 00:35:25,840 about this version is I named it Mr. Robot. Has anybody seen the 667 00:35:25,840 --> 00:35:29,460 show Mr. Robot? Yeah. Good stuff, right? What was 668 00:35:29,460 --> 00:35:32,500 interesting is I was literally in bed sleeping, right? I had Mr. 669 00:35:32,580 --> 00:35:35,180 Robot recorded. And I'm like in bed and I'm all snuggling and I 670 00:35:35,180 --> 00:35:38,180 got my comforter on. I'm just getting ready to fall asleep. 671 00:35:38,320 --> 00:35:39,860 And all of a sudden my phone starts ringing and I'm like, 672 00:35:40,260 --> 00:35:42,340 yeah, yeah, whatever. It starts ringing again and again and again 673 00:35:42,360 --> 00:35:45,280 I start getting text messages. And I guess the social engineer 674 00:35:45,280 --> 00:35:48,520 toolkit was on Mr. Robot. So I actually used Mr. Robot to hack 675 00:35:48,520 --> 00:35:50,980 into someone's computer system through one of the SMS spoofing 676 00:35:50,980 --> 00:35:53,880 attacks, which is kind of neat. So I actually got to see my tool 677 00:35:53,880 --> 00:35:57,340 used in a TV show on hacking into things. So I named my next 678 00:35:57,340 --> 00:36:00,580 version Mr. Robot in honor of an awesome TV show, which is really 679 00:36:00,580 --> 00:36:03,780 sweet. But we're going to hit number one, social engineering 680 00:36:03,780 --> 00:36:06,780 attacks. And then I'm going to hit number two, the website 681 00:36:06,780 --> 00:36:11,760 attack vector. And then I'm going to do the Java applet 682 00:36:13,320 --> 00:36:17,060 attack method, which is number eight. And so this is a new attack 683 00:36:17,060 --> 00:36:20,940 vector that's in there right now. And then it's going to ask me for 684 00:36:20,940 --> 00:36:23,400 what my IP address is. So if I was actually doing this on the 685 00:36:23,400 --> 00:36:30,940 Internet, I would give them my external IP address. And what 686 00:36:30,940 --> 00:36:34,340 port I want to payload. I'll use meterpreter, reverse TCP, but 687 00:36:34,340 --> 00:36:37,680 you can use whatever you want to. Now, when you're doing this 688 00:36:37,680 --> 00:36:40,920 attack, right, what I usually do is I'll use something like RAR 689 00:36:42,360 --> 00:36:44,700 which is a great tool. RAR is great for reconnaissance. It's 690 00:36:44,700 --> 00:36:49,300 W-A-W-R. And what it does is it sweeps a whole externally facing 691 00:36:49,300 --> 00:36:52,540 network looking for, like, websites, right? And if you hit a 692 00:36:52,540 --> 00:36:54,800 customer's website and you look for those specific ports, you 693 00:36:54,800 --> 00:36:57,140 can see the website that's out there. You can start to kind of 694 00:36:57,140 --> 00:36:59,820 get an idea of maybe what type of pretext you're going to use 695 00:36:59,820 --> 00:37:02,140 for an attack. And so you can kind of sweep the network 696 00:37:02,140 --> 00:37:04,300 looking for, like, a different website that may look somewhat 697 00:37:04,300 --> 00:37:07,140 believable that you might want to clone. And so I'll go after 698 00:37:07,140 --> 00:37:09,620 that company's website, clone it, and make it look somewhat 699 00:37:09,620 --> 00:37:11,960 believable so that when I go after them, it's something that 700 00:37:12,360 --> 00:37:14,240 I'm familiar with. So we'll go ahead and hit site cloner number 701 00:37:14,240 --> 00:37:16,980 two. And I'll go ahead and just clone trusted stack as an 702 00:37:20,860 --> 00:37:22,580 example. And it's going to clone the website. It's going to 703 00:37:22,580 --> 00:37:25,340 automatically generate the PowerShell injection code. It's 704 00:37:25,340 --> 00:37:28,040 going to automatically wrap it out and create everything for 705 00:37:28,040 --> 00:37:30,480 you in a web application for the website. And then it's going to 706 00:37:30,480 --> 00:37:33,140 launch Metasploit for you for an actual listener. So it'll do all 707 00:37:33,140 --> 00:37:35,160 that for you automatically. And then we're ready to go for our 708 00:37:35,160 --> 00:37:38,440 attack. Well, next I would, you know, social engineer somebody 709 00:37:38,440 --> 00:37:41,300 ready to go to this website and do things. And what's funny is 710 00:37:42,360 --> 00:37:45,260 Martin, one of our guys on our team, Martin Boss was recently on 711 00:37:45,260 --> 00:37:50,620 a pen test and I've got to update you. This is my hack box 712 00:37:50,620 --> 00:37:53,980 anyway. I don't care. And, you know, the customer was, like, 713 00:37:54,000 --> 00:37:56,220 man, this is never going to work, right? This isn't going to 714 00:37:56,220 --> 00:37:59,660 work. No one's going to believe this. He had more shells coming 715 00:37:59,660 --> 00:38:01,460 in that he couldn't even type in, like, sessions, you know, to 716 00:38:01,460 --> 00:38:03,440 even interact with the shells because too many shells were 717 00:38:03,440 --> 00:38:05,440 coming in at a time. They get, like, 94 at the end of the day 718 00:38:05,440 --> 00:38:09,640 from a specific one. That's one thing, too, though. Customers 719 00:38:09,640 --> 00:38:12,300 sometimes want you to do, like, large volumes of attacks. But 720 00:38:12,360 --> 00:38:14,640 in a lot of cases, I really only recommend targeting, like, one 721 00:38:14,640 --> 00:38:17,480 or two people at a time. Just wait. Like, send it to, like, one 722 00:38:17,480 --> 00:38:21,440 person and just chill. Grab a beer or a Diet Coke or water or 723 00:38:21,440 --> 00:38:24,400 whatever you're into and just wait for that person to actually 724 00:38:24,400 --> 00:38:26,680 click on something before you compromise them. Right? Because, 725 00:38:26,780 --> 00:38:29,280 I mean, if you're targeting one person, it's a much less 726 00:38:29,280 --> 00:38:32,360 probability chance of actually getting attacked or detected in 727 00:38:32,360 --> 00:38:35,780 that type of case. So wait for one person and kind of wait and 728 00:38:35,780 --> 00:38:37,620 wait and wait and then maybe send it to a second person, 729 00:38:37,700 --> 00:38:39,580 wait and wait and wait and wait and eventually you get to a 730 00:38:39,580 --> 00:38:42,340 certain point. So I'm going to go to the next slide here. So 731 00:38:42,360 --> 00:38:45,340 you can go to this Web site. Let's just say I sent a pretext 732 00:38:45,340 --> 00:38:47,480 out or whatever it ends up being. There's a million of them 733 00:38:47,480 --> 00:38:54,980 that you can come up with. Get Windows 10. Nope. We'll go to 734 00:38:54,980 --> 00:38:57,460 this Web site. And you get prompted for a quick open, 735 00:38:57,600 --> 00:39:00,500 right? And so if you build this in your pretext, it's great. 736 00:39:00,680 --> 00:39:03,080 When you go to a Web site, you may say, hey, when you get to 737 00:39:03,080 --> 00:39:05,420 the Web site, you need to open the content to validate who you 738 00:39:05,420 --> 00:39:07,940 are as an organization or whatever. But as soon as you get 739 00:39:07,940 --> 00:39:10,480 open, what's interesting is it launches this warning banner. 740 00:39:10,700 --> 00:39:12,260 And this warning banner is great from a 741 00:39:12,360 --> 00:39:14,080 trust perspective because it's saying it's signed by 742 00:39:14,080 --> 00:39:17,500 Microsoft, right? The author is Microsoft publisher, and it's 743 00:39:17,500 --> 00:39:19,680 wanting you to open up this application. Would you trust 744 00:39:19,680 --> 00:39:22,640 this? Well, if it's signed by Microsoft, I probably would. 745 00:39:22,700 --> 00:39:27,140 Most people would, right? Now, as soon as you hit allow, oops. 746 00:39:29,080 --> 00:39:32,140 Over here, give it a sec. PowerShell injection takes a 747 00:39:32,140 --> 00:39:36,520 second. And there we go. We get our shell. 748 00:39:46,500 --> 00:39:49,960 So it's a very effective attack. You can use it pretty much on any 749 00:39:49,960 --> 00:39:52,320 corporation that's using Windows. If you're going after a 750 00:39:52,320 --> 00:39:55,640 company that's using more like Linux or OSX, I'd move more 751 00:39:55,640 --> 00:39:58,000 towards the credential harvesting type attack to get 752 00:39:58,000 --> 00:39:59,800 more from them because it's a little bit harder to pop them. 753 00:39:59,940 --> 00:40:05,780 Most companies don't install Java for OSX by default. Java is 754 00:40:05,780 --> 00:40:09,140 uninstalled by OSX, which is great. So, you know, in a lot of 755 00:40:09,140 --> 00:40:11,440 cases, if you're just targeting Windows-specific platforms, the 756 00:40:11,440 --> 00:40:12,340 HTA files are kind of the best. They're not going to be able to 757 00:40:12,360 --> 00:40:13,660 do that. They're going to be kind of the way to go now. I 758 00:40:13,660 --> 00:40:16,740 mean, Java exploitation is really good as well. But one 759 00:40:16,740 --> 00:40:19,780 thing I'll also do, just to kind of show you really fast, is 760 00:40:19,780 --> 00:40:22,880 I'll couple this attack with what we call web jacking. Anybody 761 00:40:22,880 --> 00:40:25,980 use the web jacking method before? Oh, man, this is like 762 00:40:25,980 --> 00:40:29,420 the worst one ever. In a good way for us, but bad for people. 763 00:40:31,780 --> 00:40:39,440 So let me show you the web jacking method really fast. So 764 00:40:39,440 --> 00:40:42,340 what I'll usually do is I'll send an e-mail out, right? I'll 765 00:40:43,220 --> 00:40:45,660 try to remove all barriers I possibly can. I'm just going to 766 00:40:45,660 --> 00:40:49,060 the web jacking vector. I'm going to hit number two. And I'm 767 00:40:49,060 --> 00:40:52,420 just going to enter my IP address in again. And I'll just 768 00:40:52,420 --> 00:40:56,640 clone Gmail as an example. Just because it has a username and 769 00:40:56,640 --> 00:40:59,700 password field on it. Now, the messed up part with web jacking 770 00:40:59,700 --> 00:41:02,640 is this. I didn't close that out right. That's why it crashed. 771 00:41:08,280 --> 00:41:11,800 Okay. So what I'll usually do is I'll create a Web site that looks 772 00:41:11,800 --> 00:41:14,140 similar to the company. Letter heads and everything. It has a 773 00:41:14,140 --> 00:41:18,520 nice Web site type design. And I'll do a pretext of whatever I 774 00:41:18,520 --> 00:41:21,160 want. So maybe it's, you know, a company survey or something like 775 00:41:21,160 --> 00:41:23,400 that, right? And I'll say, okay, make sure you're going to 776 00:41:23,400 --> 00:41:27,220 survey.trustedsec.com, right? If I'm attacking trustedsec, is 777 00:41:27,220 --> 00:41:30,740 company.trustedsec.com a valid domain that is owned by that 778 00:41:30,740 --> 00:41:36,560 company? Yeah, right? So if I'm going to survey.trustedsec.com, 779 00:41:36,600 --> 00:41:39,060 that's legit, right? So if I make a Web site that says make sure 780 00:41:39,060 --> 00:41:41,780 when you hover over this link it's SSL and then it's going to 781 00:41:41,800 --> 00:41:45,160 survey.trustedsec.com and when you hover over the link it's 782 00:41:45,160 --> 00:41:48,040 legitimate, you know, for anti-phishing purposes. So if I 783 00:41:48,040 --> 00:41:51,160 hover over this link and I make this Web site look good and I 784 00:41:51,160 --> 00:41:53,560 hover over this, what's that say on the bottom left? Can you read 785 00:41:53,560 --> 00:42:00,920 that? The address bar says HTTPS colon 404 slash accounts.google.com, 786 00:42:01,020 --> 00:42:04,040 right? So that's a legit address, right? So if I click 787 00:42:04,040 --> 00:42:07,020 that link in my browser, if I'm using Firefox, I don't know if 788 00:42:07,020 --> 00:42:11,780 anybody uses Opera anymore, Chrome or IE, I don't know if I 789 00:42:11,800 --> 00:42:15,860 use Google. Should my browser go to accounts.google.com? Yes, 790 00:42:15,980 --> 00:42:22,720 right? So watch what happens when I click this link, okay? 791 00:42:22,760 --> 00:42:25,380 This is one of the messed up ones because it takes advantage 792 00:42:25,380 --> 00:42:28,460 of what we do in education awareness around the hover, 793 00:42:28,580 --> 00:42:30,520 right? We call it the hover, right? We hover over the link to 794 00:42:30,520 --> 00:42:32,860 make sure the link is legitimate before you click the link. This 795 00:42:32,860 --> 00:42:35,540 defeats that, unfortunately. So what you're going to actually 796 00:42:35,540 --> 00:42:39,160 see here is when I click on this, it's actually going to go 797 00:42:39,160 --> 00:42:41,780 to accounts.google.com. The Web site is actually going to be the 798 00:42:41,800 --> 00:42:43,900 web site for a couple seconds and then it's going to do a fast 799 00:42:43,900 --> 00:42:46,240 switcheroo really quick and then we're going to be at our 800 00:42:46,240 --> 00:42:49,000 malicious Web site where we can capture using a password or 801 00:42:49,000 --> 00:42:51,440 whatever we want to do, like whether it's the HTA attack or 802 00:42:51,440 --> 00:42:53,620 anything else that you want out there. So when I hover over 803 00:42:53,620 --> 00:42:55,220 this, notice I'm not doing a trickery, right? It still says 804 00:42:55,220 --> 00:42:58,180 on the bottom left-hand side, accounts.google.com, right? So 805 00:42:58,180 --> 00:43:02,620 if I click it, no hands, I'm at accounts.google.com, right? Oh, 806 00:43:02,700 --> 00:43:05,000 quick switcheroo. Notice the URL bar on the top. Switch really 807 00:43:05,000 --> 00:43:07,660 fast. I'm actually at my malicious Web site, which is 808 00:43:08,320 --> 00:43:11,780 192.168.179.161. Enter, this is my user. This is my user. 809 00:43:17,640 --> 00:43:21,920 My password goes in, redirects back to the legitimate sites, so 810 00:43:21,920 --> 00:43:24,440 they never knew that was a bad place in the first place. And 811 00:43:24,440 --> 00:43:30,640 then over here in my attacker's machine, I get my username 812 00:43:30,640 --> 00:43:33,940 password, right? I don't like hot seats. 813 00:43:34,420 --> 00:43:37,960 Don't like hot seats? So a very effective tactic that 814 00:43:37,960 --> 00:43:39,300 you can couple with other ones, right? 815 00:43:45,300 --> 00:43:47,900 . So you can use that in conjunction with the 816 00:43:47,900 --> 00:43:50,440 Java applet attack or an HTA attack or whatever else. But 817 00:43:50,440 --> 00:43:53,440 what's interesting is when I do most social engineers, I don't 818 00:43:53,440 --> 00:43:55,640 ever use an exploit. I don't use an exploit anymore. There's 819 00:43:55,640 --> 00:43:57,600 no reason for me to use an exploit that may get picked up 820 00:43:57,600 --> 00:44:01,760 by something like an Emmet or next Gen type thing. Just use 821 00:44:01,760 --> 00:44:05,900 how operating systems are designed to suck. Use Internet 822 00:44:05,900 --> 00:44:09,380 Explorer how it's designed to be bad. Use Java how it's 823 00:44:09,380 --> 00:44:11,780 designed to be horrible, right? You just use a property that's 824 00:44:11,780 --> 00:44:14,280 use those types of techniques that you can use because people 825 00:44:14,280 --> 00:44:16,880 are going to believe whatever you do when you actually go and 826 00:44:16,880 --> 00:44:18,980 do it. So this one for me is probably one of the most 827 00:44:18,980 --> 00:44:21,820 effective ones that I've had a good success rate on. Now I'm 828 00:44:21,820 --> 00:44:22,980 going to show you another one here. I'm going to take my screen 829 00:44:22,980 --> 00:44:24,520 off just for a second just to make sure I can get to it real 830 00:44:24,520 --> 00:44:28,400 quick. And if I can't, then I apologize. But one second here. 831 00:44:29,740 --> 00:44:41,760 Internet's been a little flaky for me to get into the VPN. So 832 00:44:43,100 --> 00:44:46,500 let me see if I'm good. So, Chris, do I have your 833 00:44:46,500 --> 00:45:00,280 permission? What's that? Well, it's just a good site. Oh, come 834 00:45:00,280 --> 00:45:05,380 on. All right, Chris, I promise you, I'm going to have you come 835 00:45:05,380 --> 00:45:09,900 up on stage here, okay? But hang on. I'm going to pull your date 836 00:45:09,900 --> 00:45:11,740 of birth, your home address, and then I'm going to show you 837 00:45:11,760 --> 00:45:13,740 your social security number and a bunch of other stuff, your full 838 00:45:13,740 --> 00:45:16,560 social. But I'm not going to put it on the screen. I'm not going 839 00:45:16,560 --> 00:45:17,860 to put it on the screen. I'm going to have you come and 840 00:45:17,860 --> 00:45:27,120 confirm it. All right? What did I do last year? Oh, no, I'm 841 00:45:27,120 --> 00:45:29,120 not going to put it on the screen. I swear to God, it's 842 00:45:29,120 --> 00:45:31,900 off the screen. All right, hang on. Did someone do it to you? 843 00:45:32,920 --> 00:45:41,740 No. Okay. Hang on a second. You see where I'm going? I'm 844 00:45:41,760 --> 00:45:42,960 not going to put it on the screen. All right. How long is it 845 00:45:42,960 --> 00:45:45,820 taking me? I had to log into my VPN really quick to get access to 846 00:45:45,820 --> 00:45:46,820 the database. But hang on a second. 847 00:45:53,160 --> 00:45:53,480 . 848 00:46:02,720 --> 00:46:06,300 Hang on. Does the beginning of your home phone start at 570? 849 00:46:11,620 --> 00:46:13,660 All right, hang on. I didn't know you were that old. 850 00:46:18,220 --> 00:46:22,780 Really? This can't be right. This can't be right. Is that you 851 00:46:22,780 --> 00:46:31,240 right there? Are you 42? Is that your full social? Okay. I didn't 852 00:46:31,240 --> 00:46:33,060 know you were that old, man. Congratulations. You look great. 853 00:46:35,280 --> 00:46:38,780 You look good. You look great. How are you proud of that? 854 00:46:50,120 --> 00:46:55,380 I got rid of it. It's done. There's no remnants of that. 855 00:46:55,520 --> 00:46:58,920 It's gone. Don't worry. If I wanted, I had it, obviously. So 856 00:46:58,920 --> 00:47:08,220 I mean. So if you don't know this, there are ways to get 857 00:47:08,220 --> 00:47:08,760 people's profiles. So if you don't know this, there are ways 858 00:47:08,780 --> 00:47:09,840 to get people's personal information and do a lot of 859 00:47:09,840 --> 00:47:11,380 reconnaissance on them. And that's great for getting down 860 00:47:11,380 --> 00:47:14,200 barriers. One of the things I like to do if I'm targeting 861 00:47:14,200 --> 00:47:17,280 individuals, I'll pull specific personal information about them. 862 00:47:17,400 --> 00:47:19,640 Like challenge questions or things that may be used for 863 00:47:19,640 --> 00:47:22,000 security questions or things like that. One of the big ones 864 00:47:22,000 --> 00:47:24,400 is social security numbers, right? Social security numbers 865 00:47:24,400 --> 00:47:26,080 are actually extremely easy to get if you know how to get 866 00:47:26,080 --> 00:47:29,300 them. So I just pulled Chris' full social. It wasn't his last 867 00:47:29,300 --> 00:47:31,720 four. It was his full social, right? And obviously I didn't 868 00:47:31,720 --> 00:47:33,840 say his full social because that would have been bad for 869 00:47:33,840 --> 00:47:35,260 anybody in the audience. I wouldn't like that. I thought 870 00:47:35,260 --> 00:47:37,180 it would have been funny. But he didn't want to find it funny. 871 00:47:37,300 --> 00:47:38,760 So I pulled Chris' full social. It wasn't his last four. It was 872 00:47:38,780 --> 00:47:41,460 his full social. So I actually did something recently where I 873 00:47:41,460 --> 00:47:43,600 was on a phone with somebody and I was trying to get some 874 00:47:43,600 --> 00:47:47,520 information from them. And what I used to get rid of that trust 875 00:47:47,520 --> 00:47:50,300 factor, as I said, I just want to confirm, you know, your last 876 00:47:50,300 --> 00:47:52,460 four. I'm going to prove to you that I know who you are and 877 00:47:52,460 --> 00:47:55,320 this is part of it. Your last four is this. Your home 878 00:47:55,320 --> 00:47:58,040 address is this. Here's your personal number here. And all 879 00:47:58,040 --> 00:48:00,060 these things. And the person on the phone is like, yeah, you 880 00:48:00,060 --> 00:48:02,220 got it. That's cool. Great. And I'm like, okay, I need this, 881 00:48:02,220 --> 00:48:03,820 I need this, I need this, I need this, I need this, and this. 882 00:48:03,960 --> 00:48:05,400 And he's like, okay, here you go, here you go, here you go, 883 00:48:05,400 --> 00:48:07,560 here you go, here you go, here you go, right? So any way 884 00:48:07,560 --> 00:48:10,480 you can alleviate any type of trust factor when you're going 885 00:48:10,480 --> 00:48:13,640 after somebody is very beneficial and very effective 886 00:48:14,140 --> 00:48:18,560 for when you actually go on target. Just as an example, last 887 00:48:18,560 --> 00:48:23,200 week one of our guys, Paul, was doing a physical. And he went to 888 00:48:23,200 --> 00:48:26,120 this big company, right, and they have multiple headquarters 889 00:48:26,120 --> 00:48:30,400 or multiple campuses and everything. And he had his phone 890 00:48:30,400 --> 00:48:31,940 on and he's looking lost and everything and he sees an 891 00:48:31,940 --> 00:48:34,380 employee with a badge. And he goes up to this employee and he 892 00:48:34,380 --> 00:48:37,540 says, hey, you know, I'm lost. You know, this is my phone. I'm 893 00:48:37,540 --> 00:48:39,240 here for a job interview. How do I get to the main building 894 00:48:39,240 --> 00:48:41,640 because I'm here for a job interview? And the employee was 895 00:48:41,640 --> 00:48:44,520 extremely helpful, as I would be, too, right? The employee 896 00:48:44,520 --> 00:48:47,160 didn't do anything wrong at all. Just was trying to help somebody 897 00:48:47,160 --> 00:48:48,980 that was trying to get to a main campus. Just normal 898 00:48:48,980 --> 00:48:51,560 conversation. Doesn't trigger anything, right? And the entire 899 00:48:51,560 --> 00:48:53,940 time, Paul is taking pictures of his badge, right? So he's, like, 900 00:48:54,480 --> 00:48:56,660 taking a whole bunch of pictures, right? Looking at his badge and 901 00:48:56,660 --> 00:48:58,980 taking a look at him and seeing what's actually going on. So as 902 00:48:58,980 --> 00:49:01,840 soon as he did that, we went to Kinko's, we made fake badges, 903 00:49:02,000 --> 00:49:04,560 and we walked right into the building, right? And you just 904 00:49:04,560 --> 00:49:07,120 piggyback somebody. You don't need to do a proxmark to clone a 905 00:49:07,120 --> 00:49:07,520 badge. You just take a look at it and see what's actually 906 00:49:07,520 --> 00:49:09,020 going on. You just walk behind somebody. If you have a badge, 907 00:49:09,120 --> 00:49:11,480 you look good. So you walk in and you plug into the network 908 00:49:11,480 --> 00:49:14,220 and then you hack away. It all comes down to making sure that 909 00:49:14,220 --> 00:49:17,180 you have a confidence level and that you alleviate anything that 910 00:49:17,180 --> 00:49:20,420 might happen with trust. And I guess that's really the big 911 00:49:20,420 --> 00:49:22,480 goal for social engineers. If you're looking at getting into 912 00:49:22,480 --> 00:49:25,620 this and this is something new for you, the biggest thing I can 913 00:49:25,620 --> 00:49:28,160 give you as far as tips, and I'm not the greatest social 914 00:49:28,160 --> 00:49:30,240 engineer. I mean, Chris could run circles around me. I'm 915 00:49:30,240 --> 00:49:33,860 actually giving you a compliment, Chris. I can out code 916 00:49:33,860 --> 00:49:34,000 you. 917 00:49:34,820 --> 00:49:35,180 . 918 00:49:36,020 --> 00:49:36,380 . 919 00:49:37,140 --> 00:49:37,500 . 920 00:49:37,520 --> 00:49:38,500 . 921 00:49:38,500 --> 00:49:38,700 . 922 00:49:38,700 --> 00:49:38,880 . 923 00:49:39,640 --> 00:49:40,140 . 924 00:49:42,060 --> 00:49:42,560 . 925 00:49:50,020 --> 00:49:50,520 . 926 00:49:50,520 --> 00:49:50,620 . 927 00:49:50,620 --> 00:49:50,680 . 928 00:49:50,680 --> 00:49:50,720 . 929 00:49:50,720 --> 00:49:50,860 . 930 00:49:50,860 --> 00:49:51,160 . 931 00:49:51,160 --> 00:49:51,180 . 932 00:49:56,960 --> 00:49:57,460 . 933 00:49:59,220 --> 00:49:59,720 . 934 00:50:07,520 --> 00:50:11,840 And when I say believable, the research that you did on an individual target or the company 935 00:50:11,840 --> 00:50:12,640 is believable. 936 00:50:13,580 --> 00:50:15,420 You can really pretty much pull off anything you want to. 937 00:50:15,780 --> 00:50:19,120 And it doesn't matter what that is or what you're trying to get access to. 938 00:50:19,340 --> 00:50:23,640 In most cases if you remove those barriers by talking to a person as a human being and 939 00:50:23,640 --> 00:50:27,520 being positive, I don't usually like using negative reinforcement or negative persuasion. 940 00:50:28,240 --> 00:50:31,620 If you're just positive, you can almost always get everything you want to. 941 00:50:31,680 --> 00:50:33,120 You have a very high success rate. 942 00:50:33,120 --> 00:50:38,420 If I can research my target for an hour or two, I have a very high percentage chance 943 00:50:38,420 --> 00:50:39,900 of being successful of who I'm going after. 944 00:50:40,120 --> 00:50:42,100 And that's very, very hard to protect against. 945 00:50:42,500 --> 00:50:43,720 So I appreciate everybody's time. 946 00:50:43,860 --> 00:50:44,400 That's all I got. 947 00:50:47,060 --> 00:50:47,620 Thank you. 948 00:50:51,820 --> 00:50:52,640 Sorry, Chris. 949 00:50:52,900 --> 00:50:54,420 We can do questions outside. 950 00:50:54,920 --> 00:50:55,320 Yeah. 951 00:50:55,380 --> 00:50:56,160 That would be great. 952 00:50:56,260 --> 00:50:56,800 We're running. 953 00:50:56,920 --> 00:50:57,460 Yeah, no problem. 954 00:50:57,580 --> 00:50:58,900 We ran so behind on time. 955 00:50:59,420 --> 00:51:00,580 We have our last talk. 956 00:51:00,700 --> 00:51:02,720 I'm suggesting all about the new phishing. 957 00:51:02,740 --> 00:51:03,100 We're going to get to the last talk. 958 00:51:03,100 --> 00:51:03,900 But don't forget to release the . 959 00:51:04,740 --> 00:51:07,140 It's going to be really exciting. 960 00:51:07,360 --> 00:51:09,460 But huge round of applause for Dave. 961 00:51:09,460 --> 00:51:09,940 Thanks, man. 962 00:51:11,180 --> 00:51:11,620 .