[00:01.560 --> 00:05.140] I want to thank the lovely Michelle for switching the [00:05.140 --> 00:09.160] times for me. I was supposed to be speaking tomorrow but I'm [00:09.160 --> 00:10.900] actually going to be leaving tomorrow. My wife is not [00:10.900 --> 00:13.320] feeling good so I have to go do kid duty and all that good [00:13.320 --> 00:16.580] stuff. So my DEF CON trip is unfortunately shortened. Thanks [00:16.580 --> 00:18.720] so much for switching with me. I really can't thank you enough [00:19.260 --> 00:23.020] for that. Just a quick intro. I founded TrustedSec. It's an [00:23.020 --> 00:25.020] information security company. I was the chief security officer [00:25.020 --> 00:28.280] at Diebold. I testified in front of Congress twice and the [00:28.280 --> 00:30.800] Democrats really hate me apparently. Even though I hate [00:30.800 --> 00:32.760] them all. So I don't like anybody. So we're all good [00:32.760 --> 00:36.880] there. I've been on the news a lot. Fox News, CNN, CNBC, [00:36.880 --> 00:39.860] Bloomberg, Katie Kirk show. I authored the social engineer [00:39.860 --> 00:43.520] tool kit, fast track and a couple other tools out there. I [00:43.520 --> 00:45.900] was co-author of the penetration testers guide and I like to [00:45.900 --> 00:50.240] break a lot of stuff. There's the old me versus new me. I'm 87 [00:50.240 --> 00:53.020] pounds down so far so I got another 15 to go and I'll be [00:53.020 --> 01:04.150] done. It does, yeah. So if you look to the right, that's no [01:04.150 --> 01:06.350] joke. That's right after I got done with Fox News. I usually [01:06.350 --> 01:12.110] don't wear pants. It's the attire. No one ever knows. I'm [01:12.110 --> 01:14.290] still the sexiest man alive. I don't know if you saw that. It [01:14.290 --> 01:24.450] is not photoshopped. It is not photoshopped. Swear to God. It [01:24.450 --> 01:25.810] is not photoshopped. The funny story behind this one is I was [01:25.810 --> 01:30.270] on the Katie Kirk show. Have you ever seen the show Sherlock? [01:31.210 --> 01:35.710] The actor in there, his last name is Cumberbatch. It was [01:35.710 --> 01:38.190] saying up next one of the world's sexiest men alive. They [01:38.190 --> 01:40.810] moved it up next and hovered it there for five seconds for some [01:40.810 --> 01:45.610] reason. Of course all my hacker buddies take that and populate [01:45.610 --> 01:47.790] it. Now I'm the world's sexiest man alive but I'm keeping it. I [01:47.790 --> 01:54.430] love what that looks like. All right? This is me. This is me. [01:54.450 --> 02:01.930] I also ride unicorns on the side. That is not photoshopped [02:01.930 --> 02:10.350] either, by the way. So what I love about this talk is I get to [02:10.350 --> 02:13.090] figure out different types of exploits in zero days and things [02:13.090 --> 02:16.170] like that. What is really fun is going after a company and [02:16.170 --> 02:18.430] targeting them based on what I know their education awareness [02:18.430 --> 02:24.130] program is. Most of us do training of our users the same [02:24.130 --> 02:28.070] way. We teach them not to click links or hover over links to do [02:28.070 --> 02:31.370] certain things to look to see if it's fraudulent or not. As [02:31.370 --> 02:34.250] attackers we know this type of information ahead of time. [02:34.250 --> 02:37.190] Regardless if it's a rudimentary education awareness program all [02:37.190 --> 02:40.310] the way out to an advanced education awareness program. So [02:40.310 --> 02:43.730] taking what we learn or what our users learn and manipulating [02:43.730 --> 02:46.550] that to use that against them is something that is absolutely [02:46.550 --> 02:48.770] happening right now and something we like to use a lot [02:48.770 --> 02:52.470] of times. So this talk today is about talking about where we are [02:52.470 --> 02:57.730] today from a pen testing side. It's funny. I don't know about [02:57.730 --> 03:00.030] you guys but I was a computer guy back in the day. I'm sure [03:00.030 --> 03:04.010] that's surprising to everybody. I used to play EverQuest and [03:04.010 --> 03:05.970] MUDs and all this other stuff while people were playing [03:05.970 --> 03:10.150] football and other things in sports. I think we have these [03:10.150 --> 03:12.170] little things in the back of our heads that we want to relive [03:12.170 --> 03:14.850] those moments back when we were kids. When we do physical pen [03:14.850 --> 03:17.590] tests and breaking into buildings and piggybacking and [03:17.590 --> 03:20.710] stuff. We try to make it the coolest thing ever. We have to [03:20.710 --> 03:25.050] crazy high tech gadget or we are climbing over fences, going [03:25.050 --> 03:27.410] through helicopter pads and breaking into a window to get [03:27.410 --> 03:31.550] into things. All you have to do is walk in the front door. So [03:31.550 --> 03:33.830] we are going to be talking about how we do things today and what [03:33.830 --> 03:37.350] we need to do as an industry to talk about the education [03:37.350 --> 03:40.250] awareness piece. It's one that I think is really important. If [03:40.250 --> 03:43.250] you look at how attackers are busting in, it's predominantly [03:43.250 --> 03:46.150] through phishing and social engineering. It's probably one [03:46.150 --> 03:49.590] of the biggest concerns that I have today as far as the [03:49.590 --> 03:51.890] industry and how you fix it. There's nothing that's going to [03:51.890 --> 03:54.830] fix the human itself. Next generation firewalls aren't [03:54.830 --> 03:58.070] going to do it or application whitelisting or your fire eyes [03:58.070 --> 04:01.230] are not going to do anything to stop us as attackers. So how do [04:01.230 --> 04:03.270] we figure that out and change ourselves a little bit [04:03.270 --> 04:07.770] different to fix it? That's what today's talk is about. So here's [04:07.770 --> 04:11.650] how we hack today. This is as a hacker what we typically do and [04:11.650 --> 04:13.670] then I'll talk about what we teach our users and then we'll [04:13.670 --> 04:18.010] get around all that. So starting off, just a quick walk through [04:18.010 --> 04:20.130] what we talk and then we'll mess stuff up real quick. That's a [04:20.130 --> 04:25.170] true story. So today, has anybody gone through a phishing [04:25.170 --> 04:29.450] exercise before? Normally you do a few hundred users or a [04:29.450 --> 04:32.530] thousand users. May contain misspellings. I don't know if [04:32.530 --> 04:35.270] anybody's ever been through the first phishing exercise before [04:35.270 --> 04:38.370] in their organization. Is that not heavily political and people [04:38.370 --> 04:41.770] almost lose their jobs? People get so ticked off that you send [04:41.770 --> 04:43.330] phishing emails and you're targeting individuals they get [04:43.330 --> 04:48.970] so pissed. They get so upset that it really becomes a major [04:48.970 --> 04:53.030] issue. You might use something like a phish me or something [04:53.030 --> 04:57.030] like that to send certain things out. But in most cases, it's [04:57.030 --> 05:00.330] really not similar to what we see today. Now, what I usually [05:00.330 --> 05:04.850] do is I'm targeting a couple of people. Like one or two people, [05:04.850 --> 05:13.310] three or four max. Does anybody know the reason for that? What's [05:13.310 --> 05:16.870] the reason? I have less of a chance of being detected going [05:16.870 --> 05:20.090] after four people than I do 100 people in the organization. Just [05:20.090 --> 05:23.550] an example of this, I may have talked about this story before. [05:23.550 --> 05:27.210] It's one of my favorite ones. I was doing a social engineer for [05:28.190 --> 05:30.590] a really large manufacturing company. It was their 100‑year [05:30.590 --> 05:33.870] anniversary. I went to the website. The first thing I do [05:33.870 --> 05:36.410] when I'm about to hack a website or hack a company, I go to the [05:36.410 --> 05:38.390] website and learn about them. I want to figure out who they are [05:38.390 --> 05:41.790] so I can go after them. I go to the blog post and they're so [05:41.790 --> 05:44.590] excited. They're changing the logo on there saying 100‑year [05:44.590 --> 05:48.110] anniversary on the whole website. It's a big PR thing. The PR [05:48.110 --> 05:52.650] lady continues to post her name up there. She's the main person [05:52.650 --> 05:55.230] for all of it. I'm like, hey, I'll probably use this as an [05:55.230 --> 06:00.050] avenue to attack. I sent her an email. As soon as I sent her an [06:00.050 --> 06:03.750] email, I instantly almost got one back. I was impersonating a [06:03.750 --> 06:06.630] media news organization that wanted to do a story on them and [06:06.630 --> 06:09.010] how they were 100 years old, great company, all that good [06:09.010 --> 06:16.550] stuff. Our pretext was doing an iPhone giveaway. Free iPhones [06:16.550 --> 06:19.390] that we're going to give out to the company. The first 100 [06:19.390 --> 06:22.290] employees get free iPhones. That's what I was going to use [06:22.290 --> 06:25.070] as my attack. Just by her sending me an email back, does [06:25.070 --> 06:27.610] anybody know what that does? What's her sending me an email [06:27.610 --> 06:35.200] do? Establishes communication. What's the most important piece [06:35.200 --> 06:39.880] that I got from that? Why listen to spam? Filter possibly. Don't [06:39.880 --> 06:44.560] think technical. Not technical at all. Trust, but think about [06:44.560 --> 06:48.320] that email itself when it comes to you. How about how she signs [06:48.320 --> 06:52.980] her name and the fonts and the coloring and the phone numbers [06:52.980 --> 06:56.840] and everything that makes that email look legit. I don't want [06:56.840 --> 06:59.220] to trip any wires when I'm going to attack a company. I mimic [06:59.220 --> 07:04.240] that. I send an email out. We sent it out to four people at [07:04.240 --> 07:07.300] the time. Does anybody know how many shells we ended up getting [07:07.300 --> 07:10.800] back? How many people we compromised? It was like 75 [07:10.800 --> 07:17.080] because they're forwarding it to other people. And so the funny [07:17.080 --> 07:20.480] story about that is creating some sort of excitement and [07:20.480 --> 07:23.520] creating some sort of way of attacking a company definitely [07:23.520 --> 07:26.800] helps and works. What's crazy is if you customize it to the [07:26.800 --> 07:29.440] company itself, your success goes up significantly. I mean [07:30.100 --> 07:34.360] astronomically. Now, if you look at today's social engineering [07:34.360 --> 07:36.700] training. Now, the thing with social engineering training [07:36.700 --> 07:43.770] today. Sorry, I had to put that one in there. I told Chris this [07:43.770 --> 07:46.650] is the one slide that might be kind of not kid friendly. But [07:46.650 --> 07:53.990] after that we're okay. Training today sucks. Because, you know, [07:53.990 --> 07:57.410] we require users to literally go through next, next, next, next, [07:57.410 --> 07:59.690] finish. And they may have to take a little test at the end of [07:59.690 --> 08:02.330] it. Or they may have to go through some fishing exercise [08:02.330 --> 08:04.030] where they go to an online training. It's not fun and [08:04.030 --> 08:06.790] exciting. And it's not conductive of how we learn as [08:06.790 --> 08:09.570] human beings. If you look at today's social engineering [08:09.570 --> 08:12.250] training, maybe it's a one day training session if you're [08:12.250 --> 08:16.010] lucky. It's really boring. And maybe use a third party to fish [08:16.010 --> 08:20.010] you. Doesn't simulate real world stuff. If you look at real world [08:20.010 --> 08:26.050] training, you know, what is testing a fishing supposed to [08:26.050 --> 08:33.840] do? What is it supposed to test? What's that? Employee confidence. [08:33.840 --> 08:38.200] Okay? So the employee's portion, right? The person. What about [08:38.200 --> 08:41.660] the technology piece too? Do you have the ability to thwart some [08:41.660 --> 08:44.880] attacks a little bit or detect it so you can respond? It's a [08:44.880 --> 08:49.060] coupling of both people and education, right? And what we do [08:49.060 --> 08:53.360] for technology. And so when you look at what we're doing today, [08:53.360 --> 08:55.700] we're not testing that frequently. We're not looking at [08:55.700 --> 08:58.220] the technology we have in place to see if we can minimize some [08:58.300 --> 09:01.160] damage. And from there we rely on the users to do some other [09:01.340 --> 09:03.540] stuff. I'll talk about that in a little bit. Now, it's funny [09:03.540 --> 09:06.880] that we still do USB drops. I don't understand that. I think [09:06.880 --> 09:10.660] like we've been doing that since like 1998. And if USBs were out [09:10.660 --> 09:14.220] then, I don't remember. It's a long time ago. But anyways, I'm [09:14.220 --> 09:16.420] pretty sure they were out there. And Autorun has been disabled [09:16.420 --> 09:20.480] for years. We don't use Autorun anymore in any of our companies [09:20.480 --> 09:24.800] and we're still testing USB drops like finance, critical, [09:24.800 --> 09:26.860] you know, and then they put it in and all of a sudden it sends [09:26.860 --> 09:31.100] them. That's a waste of time. Why not use the mail system? I [09:31.100 --> 09:33.860] love the hand mail system. You know, like you actually write [09:33.860 --> 09:36.640] out a letter or whatever and you send it out. You can be anybody [09:36.640 --> 09:38.620] you want to in the mail system and people believe you. [09:38.620 --> 09:40.220] Especially if you put a letterhead on there and make it [09:40.220 --> 09:42.940] look official and stuff, people will do whatever you want to. [09:42.940 --> 09:46.420] You can be like, hey, I need you to put this virus on your [09:46.420 --> 09:48.600] computer because we're testing something out for your [09:48.600 --> 09:51.640] organization. Make sure you disable your antivirus first and [09:51.640 --> 09:54.520] then put it on. And they'll be like, what's in the letter? And [09:54.520 --> 10:00.600] it's signed. All right. You know? Especially sales people, [10:00.600 --> 10:04.800] they'll do anything. I mean anything. I was on one time and [10:05.640 --> 10:07.580] we wanted to see how far it would go because we had broken [10:07.580 --> 10:10.380] into a whole bunch of other places. I was on the phone with [10:10.380 --> 10:12.920] this guy and I'm explaining to him I was really interested in [10:12.920 --> 10:15.560] this product and everything. And somehow we got into the [10:15.560 --> 10:21.060] discussion of downloading my account information and what my [10:21.060 --> 10:23.680] company was about and so they can scope it and price it for [10:23.680 --> 10:26.740] me. And so I'm like, well, just go to this website. And I'm [10:26.740 --> 10:36.000] like, www.thisisavirus.com. And that's what I sent him. And [10:36.000 --> 10:42.640] what did he do? I still own this. But he downloaded it and [10:42.640 --> 10:45.800] he ran it and he installed it. And the best part was I had him [10:45.800 --> 10:49.280] before he did that disable his antivirus. So I'm going to just [10:49.280 --> 10:51.340] right click here because for some reason every once in a [10:51.340 --> 10:54.380] while it comes up. You can do whatever the heck you want to [10:54.380 --> 10:56.340] with people, especially sales people. They're the best. I love [10:56.340 --> 11:02.500] them. But another one I did a while back. So when I was at [11:02.500 --> 11:05.700] D bolt, there was a guy named Stacey Gregerson. He was like [11:05.700 --> 11:09.980] one of the most disgruntled DBA guy in your organization. He's [11:09.980 --> 11:13.080] like the guy that has the crazy hair and everything and he's got [11:13.080 --> 11:18.420] the Gandalf staff, you shall not pass before me type of guy. So [11:18.420 --> 11:21.260] Stacey was a bit like that type of real disgruntled guy. So we [11:21.260 --> 11:24.980] used to mess with him all the time. So we launched nerf guns [11:24.980 --> 11:29.300] at him. We came up with a really good prank. We disassembled his [11:29.300 --> 11:31.200] keyboard and we soldered together what's called a tinsy [11:31.200 --> 11:35.320] device. It's a little hardware manipulator. All it would do [11:35.320 --> 11:39.120] once we assembled it and put it back, it would move his mouse up [11:39.120 --> 11:41.440] to the left, far left of the corner, start clicking and [11:41.440 --> 11:45.820] randomly hitting keyboard sequences. So after the first [11:45.820 --> 11:50.020] day he starts swearing and you hear him hitting, you know, he's [11:50.020 --> 11:52.620] getting mad, right? Well, I figured my other buddy that was [11:52.620 --> 11:54.880] where Josh would let him know after a while that something [11:54.880 --> 11:58.160] was probably awry or he switched it out or whatever. I went on a [11:58.160 --> 12:02.620] business trip and I didn't come back for a week. Totally forgot [12:02.620 --> 12:05.140] about it. I get home and Stacey is literally on the verge of [12:05.140 --> 12:09.360] quitting. So he had worked at the help desk and they had [12:09.360 --> 12:13.540] swapped out his docking station, his laptop, the mouse, but [12:13.540 --> 12:17.160] everything but the keyboard and he was still doing it. And he's [12:17.160 --> 12:19.240] screaming and yelling and everything and it's just [12:19.240 --> 12:23.300] terrible. So I'm like, hey, Stacey, can I talk to you about [12:23.300 --> 12:25.360] the DBA stuff that we're doing for next year? He's like, oh, [12:25.360 --> 12:28.800] yeah, yeah. You can tell he's mad. So I had Josh swap out the [12:28.800 --> 12:31.920] keyboard and nothing ever happened. He still doesn't know [12:31.920 --> 12:37.960] to this day. So I like to keep it that way. Thank you. But mail [12:37.960 --> 12:41.840] systems are great. I always love using the mail. Today's SDN [12:41.840 --> 12:46.140] person. It's funny, again, we go more and more sophisticated as [12:46.140 --> 12:49.340] we go along. I feel like every talk I hear about the physical [12:49.340 --> 12:53.100] stuff is like, I was climbing in the mud and I dug a tunnel [12:53.100 --> 12:56.280] underneath this company and I was up in the data center and I [12:56.280 --> 13:01.260] planted a bug that uses the NSA's private satellite to [13:01.260 --> 13:04.560] communicate over with and that's how we get around it when the [13:04.560 --> 13:08.600] back door for the data center is open. That's how I feel like [13:08.600 --> 13:12.420] we've gone as an industry. Just as an example today, you make it [13:12.420 --> 13:16.300] simple and easy. And what's funny is we were doing a pen [13:16.300 --> 13:19.500] test, a physical pen test for a store location. You know stores [13:19.500 --> 13:23.160] you can go into like a grocery store or a Wal‑Mart. I'm not [13:23.160 --> 13:25.720] going to say who it was at all. I'm not going to mention the [13:25.720 --> 13:29.200] name we did work for. But it's a big store. One you probably [13:29.200 --> 13:33.140] frequent on a regular basis. One of the trophies, two of the [13:33.140 --> 13:35.480] trophies were getting access to the server room and the other [13:35.480 --> 13:38.360] one was being able to steal the point of sale slash cash [13:38.360 --> 13:42.500] register that has the cash in it. And I'm like, all right. I [13:42.500 --> 13:46.540] mean, that's fine. Does anybody know what I did to steal that [13:46.540 --> 13:55.400] cash register? So I walk in. Like this. Walk in. It's a cash [13:55.400 --> 14:05.040] register. Lock pick. Grab it. Walk out. I think it was heavy [14:05.040 --> 14:09.540] by the way. So I walk out of the store. And I put in my card [14:09.540 --> 14:16.260] and I open it up. There's like four grand in cash in there. I'm [14:16.260 --> 14:18.960] like, maybe I should go take it back or whatever. So I went back [14:18.960 --> 14:22.440] but I left the thing in the car and one of our guys was watching [14:22.440 --> 14:24.660] it. So I'm like, well, I'll see what else I can get into it. [14:24.660 --> 14:26.880] Because they probably know I walked out of the building with [14:26.880 --> 14:28.740] the cash register and they're probably freaking out of where [14:28.740 --> 14:32.260] the cash register was, right? So I walk back in and I walk to the [14:32.260 --> 14:34.840] server room. No one stops me or anything. And I start lock [14:34.840 --> 14:39.120] picking the server room. It's like cameras and stuff everywhere. [14:39.120 --> 14:48.060] I'm just like... open it up. Walk in. I'm in there for like 45 [14:48.060 --> 14:52.000] minutes. I'm like making noise. I'm like screaming. I'm like [14:52.000 --> 14:56.460] yelling. I got music. I got techno music jamming. Hey, [14:56.460 --> 14:59.420] someone's got to come over here. Nothing. That's the thing. People [14:59.420 --> 15:01.920] want to challenge you if you look like you belong. One of our [15:01.920 --> 15:05.080] guys, Paul, was doing a corporate headquarters location. [15:05.320 --> 15:07.760] And you walk in and there's badge access here with the card [15:07.760 --> 15:10.300] readers and everything. You might be like, oh, I might use a [15:10.300 --> 15:13.260] prox mark to clone the badge or whatnot. No, no, they didn't go [15:13.260 --> 15:17.160] that route at all. There's a window there that's got one of [15:17.160 --> 15:19.760] those little locks on it that doesn't allow the window to [15:19.760 --> 15:22.420] move. They're sitting there picking the window lock as [15:22.420 --> 15:26.500] people are coming in and out of lunch. They open it up and they [15:26.500 --> 15:30.860] boost each other up to get into the window. To get into this [15:30.860 --> 15:33.720] place. And people are like, hey, do you need any help? No, we're [15:33.720 --> 15:38.340] good. We're fine. It's ridiculous. You can literally [15:38.340 --> 15:40.620] get away with whatever you want to as long as you have confidence. [15:40.620 --> 15:43.740] It's all you need. It's like, hey, are you supposed to be [15:43.740 --> 15:50.320] here? Yep. Okay, cool. Prime example, you know, I did the [15:50.320 --> 15:54.780] whole black ops thing. I wanted to be that guy that was hopping [15:54.780 --> 15:57.780] over fences and stuff. So I had the camouflage outfit with the [15:57.780 --> 16:01.180] throw mic and I had the black beanie and I had lock picks in [16:01.180 --> 16:05.120] my hand. I'm like, literally, I created what burgers look like [16:05.120 --> 16:09.440] in this thing. I mean, I literally, if I would have had a [16:09.440 --> 16:12.920] little money bag in the back of my sack, it would have been me. [16:13.520 --> 16:19.560] So I do this whole black ops thing. I climb over the barbed [16:19.560 --> 16:22.400] wire fences. We put some rugs over. Get into this door. Get [16:22.400 --> 16:24.480] into the door. We're evading security. There's a security [16:24.480 --> 16:26.520] guard sitting there. We're in front of us. It's a two-level [16:26.520 --> 16:31.660] foyer. We're tip toeing across this guy. He can see us and we [16:31.660 --> 16:35.300] can see him. His back is to us. I can see us walking across the [16:35.300 --> 16:46.420] video monitor. So, you know, we were in for a while and [16:46.420 --> 16:48.940] everything. We go around and we're about to leave. Where we [16:48.940 --> 16:51.160] came in at, there's basically like a double side of doors that [16:51.160 --> 16:53.660] kind of go like this. There's a nice little gap in between [16:53.660 --> 16:56.600] there. I go to exit out. I look through and I'm like, oh, we're [16:56.600 --> 16:59.040] screwed. As soon as I said that, the security guard, there's a [16:59.040 --> 17:00.740] shift change. Security guard comes in. This guy must have [17:00.740 --> 17:04.260] been probably like 75 or 80. I felt so bad for him. Literally, [17:04.260 --> 17:06.760] the guy's like, whoa, what are you guys doing here? Who are you [17:06.760 --> 17:09.140] guys? He's got his flashlight there. I'm like, what are you [17:09.140 --> 17:12.540] guys doing here? I'm like, listen, man. I have a beanie on. [17:12.540 --> 17:15.640] I got lock picks in my hand. I got the throat mic. You can see [17:15.640 --> 17:18.500] the throat mic and the CIA wacky talky looking things here and [17:18.500 --> 17:21.740] everything. I'm like, listen, man, I'm in IT. This place [17:22.420 --> 17:24.620] blows. I'm like, I'm going to get out of here. He's like, oh, [17:24.620 --> 17:26.580] you guys scared the heck out of me. I didn't realize you guys [17:26.580 --> 17:28.920] were in here. He's like, have a good night. I'm like, all right, [17:28.920 --> 17:33.460] cool. Nothing sophisticated. You don't have to do anything [17:33.460 --> 17:35.680] sophisticated. You don't have to have throat mics. I never used [17:35.680 --> 17:41.260] them again. Stick to things that are easy. So what do we [17:41.260 --> 17:45.200] teach our users? Don't provide sensitive information, call ID [17:45.200 --> 17:48.360] checks, suspicious activity. What's funny about personal [17:48.360 --> 17:52.100] information is most people don't view corporate data as sensitive [17:52.100 --> 17:54.520] information. Although if you start challenging them on their [17:54.520 --> 17:58.020] birth date or possibly passwords or social security numbers, they [17:58.020 --> 18:01.400] get really defensive. And so, you know, not challenging them [18:01.400 --> 18:04.220] on certain things like, you know, their password and date [18:04.220 --> 18:07.360] of birth are good things. What I like doing is the whole phone [18:07.360 --> 18:10.840] spoofing thing, which is super simple. And, you know, phone [18:10.840 --> 18:14.120] spoofing, you can be whatever you want to and literally be [18:14.120 --> 18:17.940] someone super, super easy. Now, this one was funny because we [18:17.940 --> 18:19.740] didn't use phone spoofing in this case, but we basically [18:19.740 --> 18:22.880] broke into a corporate building and we're running around trying [18:22.880 --> 18:25.080] to find a conference room that we can get into that we can call [18:25.080 --> 18:28.080] the data center. And so we get to the conference room and I [18:28.080 --> 18:30.500] open, you know, I hit this conference room line and I dialed [18:30.500 --> 18:33.360] down to the data center and said, hey, you know, I'm James, [18:33.360 --> 18:35.880] you know, Webber or whatever, I'm just making up a name. I'm [18:35.880 --> 18:39.540] James Webber in security. I have these three auditors here, you [18:39.540 --> 18:41.780] know, can you let them down and sign them in and give them access [18:41.780 --> 18:45.680] to the PCI closets and all this other stuff. He's like, who'd [18:45.680 --> 18:50.440] you say you were? I'm like, James Webber. I did my homework, [18:50.440 --> 18:53.620] right? So, you know, the guy that was at the data center who [18:53.620 --> 18:56.920] I was impersonating was like, you know, completely like four [18:56.920 --> 18:59.140] states away. So it wasn't like I was saying somebody locally, [18:59.140 --> 19:02.100] right? I'm like, oh, just James Webber. He's like, I'm best [19:02.100 --> 19:06.120] friends with James Webber and you're not James Webber. I'm [19:06.120 --> 19:15.060] like, yeah, I am. I'm like, I got a cold. He's like, oh, you [19:15.060 --> 19:19.400] got a cold. So while I'm doing this, he's actually instant [19:19.400 --> 19:21.520] messaging this James Webber guy saying, hey, are you on the [19:21.520 --> 19:24.720] phone right now? So I'm like, listen, man, can you let these [19:24.720 --> 19:26.700] guys in? He's like, you're not who you say you are. You need to [19:26.700 --> 19:29.520] get out of here right now. You can hear him talking and [19:29.520 --> 19:35.360] mumbling in the back. I'm like, oh, God. Trying to be [19:35.360 --> 19:38.820] believable, phone spoofing works really well. Now, here's an [19:38.820 --> 19:41.040] interesting one. Here's what users are taught, which is [19:41.040 --> 19:43.480] really the hover. Is everybody unfamiliar with the hover [19:43.880 --> 19:48.340] technique, right? So hover over the link and make sure it's a [19:48.340 --> 19:51.760] legitimate link, right? Because if you hover over, it's got to [19:51.760 --> 19:55.800] be legit, right? Right? All right. We're going to defeat [19:55.800 --> 20:00.780] that. So one of my tools that I write is the social engineer [20:00.780 --> 20:03.600] toolkit. If you're not familiar, it's open source. It's a [20:03.600 --> 20:07.660] framework for testing social engineering. And, you know, it [20:07.660 --> 20:10.780] really allows you to create fast and effective ways of targeting [20:10.780 --> 20:13.240] individuals and going after them in real world scenarios. Some [20:13.240 --> 20:16.380] of the attacks are pretty darn sophisticated. Like the Java [20:16.380 --> 20:20.260] Apple attack that I use all the time. We have a 94% success rate [20:20.260 --> 20:23.440] with that one. Depends on the company itself. But in most [20:23.440 --> 20:26.560] cases, though, when we use it, it bypasses application [20:26.560 --> 20:28.620] whitelisting. It gets around next generation firewalls. It [20:28.620 --> 20:31.000] gets around your fire eyes and everything else out there, which [20:31.000 --> 20:34.400] is wonderful. And it compromises them and gives you access to [20:34.400 --> 20:37.200] their computer. So it's a good way of testing how well your [20:37.200 --> 20:39.440] technology controls are really working against real world [20:39.440 --> 20:43.060] stuff. Just a warning, this is just a tool. Using anything out [20:43.060 --> 20:44.920] of the box, you probably won't be successful. So you got to [20:44.920 --> 20:46.840] customize it. You need to do research about who you're going [20:46.840 --> 20:50.100] after. And most importantly, that's doing your reconnaissance [20:50.100 --> 20:52.760] and your homework. When we go after a company, we know exactly [20:52.760 --> 20:57.340] what technology to use. Anybody here not use LinkedIn? Not one [20:57.340 --> 21:00.560] hand. We got half a hand. Kind of thinking about it. We got one [21:00.560 --> 21:03.960] hand. All right. So LinkedIn is wonderful because we love to [21:03.960 --> 21:07.100] brag about ourselves, especially our experience. So we're like, [21:07.100 --> 21:12.900] hey, I'm the semantic firewall admin for SEP 12. Thank you. [21:12.920 --> 21:16.220] Appreciate that. Or hey, I use this type of firewall. I use [21:16.220 --> 21:18.440] this type of technology. I can profile your entire company and [21:18.440 --> 21:22.380] all this technology without even having to actually go and attack [21:22.380 --> 21:24.820] your organization to develop it in the first place. So as long [21:24.820 --> 21:27.600] as I know that, I can start to create my attacks based around [21:27.600 --> 21:30.560] your company that you have out there. Now in this case, let's [21:30.560 --> 21:40.310] do a quick demo here. I want to show you one real fast. Watching [21:40.450 --> 21:53.400] a movie over there? It's a movie? So what I'm going to do [21:53.400 --> 22:00.430] is I'm going to launch the social engineer tool kit. And [22:00.430 --> 22:14.340] I'm going to use what's called the web jacking method. I'll get [22:14.340 --> 22:16.500] started. And I'll just go ahead and clone something like [22:16.500 --> 22:21.060] accounts.google.com because it's an easy one. I need Internet [22:21.060 --> 22:28.820] access. Hang on. That would help. Internet access? Right [22:28.820 --> 22:46.230] there? That makes things easier, Chris. Thanks. Now let's go to [22:59.610 --> 23:13.310] this website. Now what I usually do in this case is I'll usually [23:13.310 --> 23:17.650] target a company that I find a website on the outside that [23:17.650 --> 23:20.110] looks legitimate. Whether it's a benefits website. I love going [23:20.110 --> 23:23.350] after healthcare because it's a good priority. Or other things [23:23.350 --> 23:26.050] that might be Internet accessible that they would be [23:26.050 --> 23:30.610] familiar with as a normal user. I'll create a website that looks [23:30.610 --> 23:33.750] familiar. It will look in every way, shape or form. I'll even [23:33.750 --> 23:36.790] throw security language in there. Make sure that the [23:36.790 --> 23:40.010] website itself is using SSL. Make sure you hover over the [23:40.010 --> 23:42.310] link to make sure it's going to a legitimate website. Tell them [23:42.310 --> 23:44.330] exactly what they need to do to refresh them. Use their [23:44.330 --> 23:46.930] education awareness against them. In this case I make the [23:46.930 --> 23:50.090] website look nice and pretty like it would be. Then they tell [23:50.090 --> 23:52.970] them to hover over the link. This is just a demo here. We'll [23:52.970 --> 23:56.570] hover over the link in a second. Hopefully if we tell them hover [23:56.570 --> 24:00.370] over the link it should be legit. It should be, right? What's [24:00.370 --> 24:08.030] that say on the bottom left? It's good, right? SSL, right? [24:08.030 --> 24:12.850] It's going to accounts.google.com, right? Everybody [24:12.850 --> 24:20.610] here think it's legit? You guys are saying no now, of course. As [24:21.250 --> 24:26.490] far as we know in our browser, it's owned by Google, correct? [24:27.090 --> 24:31.710] Okay. So we click this link, what should happen? It should go [24:31.710 --> 24:34.110] to accounts.google.com, right? It does actually. It will go [24:34.110 --> 24:37.890] there for a couple of seconds and it will replace the website [24:37.890 --> 24:39.810] with our malicious website really fast without the user [24:39.810 --> 24:45.070] knowing. Let's go and click it. No magic. Ready? Click. We're [24:45.070 --> 24:52.480] at accounts.google.com. Quick switcheroo. I'm going to do an [24:52.480 --> 24:59.520] update. Hang on. Username. Now when I enter my username and [24:59.520 --> 25:03.400] password it redirects them back to the legitimate Gmail site. [25:03.860 --> 25:16.770] And over here we have our username and password, right? We [25:20.110 --> 25:23.010] tell our users to hover over the link and that the link itself [25:23.010 --> 25:26.150] is holy and if you click on the link and verify you're good to [25:26.150 --> 25:29.330] go. In this case it's not the case. You know, what's great [25:29.330 --> 25:34.550] about exploits, right, is they work really well if you're the [25:34.550 --> 25:37.350] one that wrote them. But as soon as they're published you have a [25:37.350 --> 25:40.430] very small window of how often you can use them, correct? As [25:40.430 --> 25:43.350] soon as a new Internet Explorer zero day comes out and it's [25:43.350 --> 25:45.450] published in Metasploit all the antivirus vendors release [25:45.450 --> 25:56.440] signatures in two minutes so they can get detected. What? Oh, [25:56.440 --> 26:06.660] I don't know. Who knows. I was probably testing something. But [26:06.660 --> 26:13.740] in this case, what? Like you guys have never typed poop in [26:13.740 --> 26:17.680] the e‑mail field before? Just to see if it was working, right? [26:20.080 --> 26:22.100] That's not true, Chris, because I have all your accounts. No, [26:22.100 --> 26:26.520] I'm just kidding. No, but in this case it really takes [26:26.520 --> 26:30.120] advantage of how they are as users to trust that information [26:30.120 --> 26:32.940] and this one works really well. It's probably my favorite one to [26:32.940 --> 26:34.980] actually use during social engineering because it's really [26:34.980 --> 26:38.540] so impactful. People can't tell that they're redirecting to a [26:38.540 --> 26:40.500] different website, that they're seeing a different website and [26:40.500 --> 26:45.100] they usually use a lot of domain names and things like that. [26:45.160 --> 26:47.440] The next one, if you haven't seen it, I'll just do this [26:47.440 --> 27:01.710] really quick. And what I'm doing is I'm just going to create a [27:01.710 --> 27:08.310] malicious Java applet. Now, this new version in sets on version 6 [27:08.310 --> 27:12.510] when I redesigned it, does analysis on the machine itself. [27:12.510 --> 27:15.850] It looks to see what the best exploitation method is. And what [27:15.850 --> 27:19.430] it does is it actually goes and targets based on what they have [27:19.430 --> 27:22.850] installed. Now, is everybody here migrating off of Windows XP [27:22.850 --> 27:25.530] to either Windows Vista or Windows 7 or you're fully [27:25.530 --> 27:30.210] migrated? Thank you. As an attacker, thank you. The more [27:30.210 --> 27:32.270] you're upgraded, the better it is for me to hack you. So, [27:32.270 --> 27:34.710] please, keep upgrading as fast as you can. If you're using [27:34.710 --> 27:38.350] Windows XP, probably better off. Just throwing that out there. [27:38.870 --> 27:41.230] And the reason for that is this awesome thing called PowerShell. [27:41.230 --> 27:44.350] Everybody familiar with PowerShell? PowerShell does this [27:44.350 --> 27:47.870] amazing thing for us, which gives us basically a full [27:47.870 --> 27:50.790] fledged programming language at our fingertips. Don't get me [27:50.790 --> 27:53.190] wrong, PowerShell is amazing, but it's also extremely [27:53.190 --> 27:57.370] powerful. There's not a lot of protection around it. Just as an [27:57.370 --> 28:01.850] example, we did a talk a few years ago, and there's what are [28:01.850 --> 28:04.950] called execution restriction policies. Has anybody ever been [28:04.950 --> 28:07.390] to Microsoft's website and looked at what it says about [28:07.390 --> 28:11.090] execution restriction policies? When we did our talk, it said, [28:11.090 --> 28:14.330] execution restriction policies are a security feature to blah, [28:14.330 --> 28:17.110] blah, blah. After our talk, you know how they fixed our flaws [28:17.110 --> 28:21.970] that we found? Execution restriction policies are not a [28:21.970 --> 28:26.090] security feature. So PowerShell, you can basically run, once you [28:26.090 --> 28:28.910] get command execution, you can do whatever you want to with it. [28:29.370 --> 28:31.710] And a really great guy named Matthew came out with a really [28:31.710 --> 28:36.330] awesome attack, which allows you to inject PowerShell code into [28:37.030 --> 28:40.430] memory through PowerShell itself. And the technique [28:40.430 --> 28:42.110] circumvents execution restriction policies and a lot [28:42.110 --> 28:45.070] of other stuff. And so basically you get full command [28:45.070 --> 28:48.890] execution in the PowerShell process, which is what? What is [28:48.890 --> 28:52.990] PowerShell? A white listed application trusted, right? [28:52.990 --> 28:55.270] Because we have to run updates and things like that. If you [28:55.270 --> 28:57.870] disable PowerShell, you actually break Windows. It's wonderful. [28:58.790 --> 29:00.570] So let me show you this really quick. This is going to use the [29:00.570 --> 29:30.540] PowerShell injection technique. So we go ahead and run this. And [29:31.000 --> 29:36.180] we can make the name anything you want to, obviously. So in [29:36.180 --> 29:40.560] this case, we did go to corn bar. But you can make the name [29:40.560 --> 29:42.580] anything you want to. So I'm targeting a company. I'm going [29:42.580 --> 29:45.180] to make the company name look legitimate every way. As soon as [29:45.180 --> 29:47.820] I hit run, it automatically executes, finds the best [29:47.820 --> 29:49.760] exploitation method for this computer based on what we have [29:49.760 --> 29:53.200] installed. And from there, it doesn't get detected by anything [29:53.200 --> 29:56.400] in the rest of it. We get full access to the computer. So a [29:56.400 --> 29:59.580] really easy and fast way of cloning a website, grabbing it, [29:59.580 --> 30:01.960] bringing it in, and not getting attacked by any of the [30:01.960 --> 30:03.820] preventative measures that we have in place like next [30:03.820 --> 30:06.500] generation firewalls and all that good stuff. Doesn't do a [30:06.500 --> 30:15.850] lick of squat. Yeah, the reason for that is I have it in my [30:15.850 --> 30:18.750] configuration settings to pipe me two back just in case I lose [30:18.750 --> 30:21.070] one. Sometimes if you have one shell coming back and you lose [30:21.070 --> 30:23.390] it, then you don't have your reliable method. So I always get [30:23.390 --> 30:26.330] two sent back to me no matter what. Just as a fail back. The [30:26.330 --> 30:29.790] worst part you can possibly imagine is when you have a [30:29.790 --> 30:32.910] fallback and your shell closes or you accidentally type exit [30:32.910 --> 30:35.270] instead for some reason and you lose your shell and you have to [30:35.270 --> 30:38.850] re‑exploit them again. Sucks. You can call the sales guy up. [30:38.850 --> 30:43.230] It doesn't make a difference anyway. So some things to [30:43.230 --> 30:46.910] ponder on this. It's hard to protect against this because of [30:46.910 --> 30:53.670] we're actually going after users. Has anybody here... Chris, [30:53.670 --> 30:58.850] you trying to set the mood or something? Has anybody here [30:59.230 --> 31:02.170] implemented two‑factor authentication before? A few of [31:02.170 --> 31:06.090] us. Now, what's interesting is ones like phone factor, for [31:06.090 --> 31:10.970] example, they've really messed up an implementation. Does [31:10.970 --> 31:16.030] anybody know why they've messed up an implementation? It's not [31:16.030 --> 31:20.330] enrollment. It's how we train our users. Now, RSA granted how [31:20.330 --> 31:23.350] much you want to make fun of them or not, RSA had a proper [31:23.350 --> 31:26.170] technique for it. They had a physical device that they [31:26.170 --> 31:28.730] actually had to physically type in something in order to log in, [31:28.730 --> 31:31.830] correct? The way phone factor works is you go to log in, you [31:31.830 --> 31:34.190] type in your username and password, it will send you a [31:34.190 --> 31:37.770] text message or call you, right? From there you say, yes, I'm [31:37.770 --> 31:41.590] logging in right now. What is a user going to say every single [31:41.590 --> 31:47.630] time? Yes, I'm logging in. Just as a prime example. We're doing [31:47.630 --> 31:49.870] a pen test. This is the first time I ran into phone factor [31:49.870 --> 31:53.490] before. For the very first time. And I type in my official [31:53.490 --> 31:55.130] people and I type in the username and password, didn't [31:55.130 --> 31:58.110] realize they had two‑factor authentication. And it says, [31:58.110 --> 32:01.190] we're calling you. We'll let you know to verify who you are. I'm [32:01.190 --> 32:05.930] like, whoa. Uh‑oh. What do I do? What do I do? What do I do? [32:05.930 --> 32:11.190] They log me in. Whoa, what do I do? What do I do? I'm freaking [32:11.190 --> 32:15.810] out. I thought maybe it was a bug in their implementation. We [32:15.810 --> 32:19.650] started talking and figuring it out. I was pretty sure I was [32:19.650 --> 32:23.710] logging in somewhere. I don't know. My phone or whatever. I [32:23.710 --> 32:26.830] get these prompts every once in a while. It worked out really [32:26.830 --> 32:34.710] well. The crazy part about it ‑‑ well, it worked out for [32:34.710 --> 32:38.090] us really well, not for them. The crazy part about it is I've [32:38.090 --> 32:41.990] done phone factor about six times and I have not had a time [32:41.990 --> 32:46.790] where it did not work. Not once. That's crazy. 100% success [32:46.790 --> 32:50.970] ratio on two‑factor authentication, not good. All [32:50.970 --> 32:53.790] right? I mean, literally now, it's ‑‑ I'm like, username [32:53.790 --> 32:56.870] password. Thank God it's phone factor. I'm going to go get a [32:56.870 --> 33:04.780] beer. Come back. Cool, I'm logging. Sweet. All right. [33:04.780 --> 33:07.160] So, you know, implementation is really important with [33:07.160 --> 33:11.180] two‑factor authentication. And how you implement it is [33:11.180 --> 33:13.320] extremely important. Things to fix this are up‑to‑date [33:13.320 --> 33:15.680] software, uncategorized sites. If you haven't seen that, by the [33:15.680 --> 33:19.740] way, uncategorized sites, you actually have the ability in [33:19.740 --> 33:22.240] most of your content filtering software, whether it's blue code [33:22.240 --> 33:24.040] or scan safe or whatnot, to do what's called uncategorized or [33:24.040 --> 33:27.600] unclassified sites. And sites that aren't registered, like for [33:27.600 --> 33:30.480] like normal use or whatever, show up as uncategorized. That's [33:30.480 --> 33:34.000] going to be about 95% of your phishing sites out there. Now, [33:34.000 --> 33:36.580] in order to get categorized, it's extremely trivial, but [33:36.580 --> 33:38.940] most attackers don't do it. For example, one of the ones, I'm [33:38.940 --> 33:41.060] not going to mention which one it is, but if you actually clone [33:41.060 --> 33:43.840] their website, like their own website, like the content [33:43.840 --> 33:46.560] filtering company's website, they actually classify you as a [33:46.560 --> 33:51.820] content filtering company. It's like, okay, cool, thank you. So [33:51.820 --> 33:55.420] the technology behind classification isn't spot on in [33:55.420 --> 33:57.480] any way, shape, or form, but it's definitely another step, [33:57.480 --> 33:59.680] because most people don't submit their websites to anything like [33:59.680 --> 34:03.720] this. Obviously things like administrative rights. Has [34:03.720 --> 34:06.340] anybody ever used the enhanced mitigation experience tool kit [34:06.340 --> 34:10.460] before? If you haven't, you definitely need to check it out. [34:10.460 --> 34:14.280] It's for Windows. It's a free tool for Microsoft. And it [34:14.280 --> 34:17.800] literally profiles a lot of the different attack mechanisms that [34:17.800 --> 34:21.600] we use as exploit writers. For example, there's these things [34:21.600 --> 34:27.460] called ASLR, or data execution prevention, or DEP. Those are [34:27.460 --> 34:31.020] two common preventative measures in Windows. In order for me as [34:31.020 --> 34:34.660] an attacker to exploit something, my whole point is to [34:34.660 --> 34:38.720] crash something and then redirect it to my code. In order [34:38.720 --> 34:41.440] to execute my code, I have to get around the preventative [34:41.440 --> 34:44.460] measures in Windows. One of those mechanisms to do that is [34:44.460 --> 34:49.240] what we call return‑oriented programming, or ROP. What Emmet [34:49.240 --> 34:53.360] does is profiles those methods of how I do ROP or try to remove [34:53.460 --> 34:55.400] a lot of the protection mechanisms out there and stops [34:55.400 --> 34:58.780] them from working. So just as an example, all of the exploits [34:58.780 --> 35:04.320] that are in Metasploit right now don't work with Emmet. Now, [35:04.320 --> 35:08.080] that doesn't work, that whole statement doesn't work for Java [35:08.080 --> 35:12.400] because Java just sucks. Okay? So Java has, you know, the [35:12.400 --> 35:14.240] sandbox scapes aren't necessarily classified as [35:14.240 --> 35:17.520] exploits. So in most cases it's not going to stop those. But it [35:17.520 --> 35:19.720] will stop a lot of the zero days you saw out there. What's [35:19.720 --> 35:24.560] interesting is this is one of the exploits that was identified [35:24.560 --> 35:27.640] in the wild. It was a zero day active X control XML down that [35:27.640 --> 35:31.980] came out about a month ago. If you notice here, the link, it [35:31.980 --> 35:34.200] actually looks for the Emmet.dll. If it finds it, it [35:34.200 --> 35:38.220] actually kills itself and doesn't run. Really neat. Now, [35:38.220 --> 35:42.000] nothing is perfect. There's a researcher that did some [35:42.000 --> 35:46.000] research on Emmet and Cygnus as well from offensive security and [35:46.000 --> 35:47.960] they came out with ways of bypassing and circumventing [35:47.960 --> 35:50.520] Emmet. So just a heads up, it's not 100% full proof, there's [35:50.520 --> 35:53.420] ways of bypassing it. But Microsoft just released version [35:53.420 --> 35:57.940] 5 last week. So it's, you know, they're definitely making [35:57.940 --> 35:59.860] strides and continuing the product line. It's a big [35:59.860 --> 36:04.520] strategy for them. And what was crazy is when I was on the Katie [36:04.520 --> 36:08.000] Kirk show. Has anybody ever seen this one before? Has anybody [36:08.000 --> 36:11.100] not seen it before? A lot of people. All right. Let me just [36:11.100 --> 36:15.880] show you something really fast. It's well worth it. I had these [36:15.880 --> 36:27.110] people. So when I was on the Katie Kirk show. That's right. [36:27.130 --> 36:33.930] Look at that. If you have audio, that would be great. Works out [36:33.930 --> 36:44.060] great. Thank you. Perfect. So in this case, I had recommended [36:44.060 --> 36:46.800] Emmet to basically soccer moms and folks that aren't necessarily [36:46.800 --> 36:50.120] technological like grandmas and things. I sat on their forums [36:50.120 --> 36:52.980] and actually responded to every single person that had a [36:52.980 --> 36:55.300] question. It was like 600 of them. And I responded to every [36:55.300 --> 36:57.300] single one. But they were installing Emmet and had it [36:57.300 --> 36:58.880] installed and configured on their machines without me [36:58.880 --> 37:02.140] helping them. Period. That's a huge feat. That's a really big [37:02.140 --> 37:04.480] protection mechanism. But this one is funny because I actually [37:04.480 --> 37:07.100] felt really horrible doing this because I'm pretty evil. But [37:07.100 --> 37:23.040] it's fine. This is in stage, by the way. I understand that you [37:23.040 --> 37:26.380] believe unhackable. Why? Well, it's something that's really on [37:34.260 --> 37:48.380] my mind. I'm very concerned about it. I feel like all of my [37:48.380 --> 37:51.540] antivirus software is up to date. I've taken a lot of [37:51.540 --> 37:54.580] precautions. I have a computer consultant who comes into my [37:54.580 --> 37:57.580] home to check on these things. And so I really feel strongly [37:57.580 --> 38:00.760] that we have done everything possible to try and protect [38:01.500 --> 38:04.020] myself and my daughters. I mean, it's something that's really [38:04.560 --> 38:07.800] worrisome for me. Well, that's very impressive because you [38:07.800 --> 38:11.820] seem like you're extremely ahead of the curve. So we decided to [38:11.820 --> 38:16.880] put David to the test to see if your comfort level with your [38:16.880 --> 38:20.840] security is actually warranted. Tell us what happened. How did [38:20.840 --> 38:25.080] you do when we gave you the challenge of... What's that look [38:25.080 --> 38:35.480] say by the way? I'm like, I've been waiting for this all my [38:35.480 --> 38:42.820] life. Stephanie's computer. So Stephanie I would say was [38:42.820 --> 38:45.500] actually one of the top 5% of what I would say is being most [38:45.500 --> 38:49.140] secure. Everything up to date, really locked down, all those [38:49.140 --> 38:52.320] good things. So I literally had plugged in, opened up my [38:52.320 --> 38:55.080] computer, and less than ten minutes or so had a fully [38:55.080 --> 38:58.120] designed website that looked real in every way in shape or [38:58.120 --> 39:00.680] form of a website that you would visit every single day. And I [39:00.680 --> 39:03.180] sent an e-mail out. And as soon as I sent the e-mail out, it [39:03.180 --> 39:06.440] looks very believable in every way. She clicked the link. And [39:06.440 --> 39:08.880] then from there, again, less than ten minutes of setup time [39:08.880 --> 39:11.100] and hacking and all that stuff, I had full access to her [39:11.100 --> 39:14.220] computer, her web cam, got around all of her antivirus, [39:14.220 --> 39:24.150] everything completely. You are kidding me. Wow. Oh. Oh, [39:24.170 --> 39:30.390] it gets worse. Trust me. This is when I started feeling like I'm [39:30.390 --> 39:33.410] like, oh, I better scale it back a little bit, not be so cocky [39:33.410 --> 39:37.890] because I feel really bad right now. Tell us some of the things [39:37.890 --> 39:40.790] that you were able to see. Well, the first thing we did is we [39:40.790 --> 39:44.750] enabled her web cam and we were actually able to monitor [39:44.750 --> 39:47.010] everything that was going on in her house, everything from her [39:47.010 --> 39:50.230] daughter working on her computer to Stephanie actually walking [39:50.230 --> 39:53.010] through the house itself. We actually enabled the audio as [39:53.010 --> 39:55.070] well so we could actually hear everything that was going on at [39:55.070 --> 40:16.380] the same time. That's enough. I feel bad enough. It's on my [40:16.380 --> 40:19.640] Vimeo page. I can send it to you. If you look for the Katie [40:19.640 --> 40:23.600] Kirk show, you'll find it. Interesting enough, this is no [40:23.600 --> 40:26.660] joke. A week after I was on her show, they announced it was [40:26.660 --> 40:29.340] getting canceled. So I don't know if that's probably not [40:29.340 --> 40:35.340] related. You never know. No, that was a good one. What was [40:35.340 --> 40:38.040] interesting though, it really resonated with the people there [40:38.040 --> 40:40.420] and they were installing things like Emmet. Then I got a call [40:40.420 --> 40:44.220] from Microsoft, dude, we're the ones that developed Emmet and I [40:44.220 --> 40:46.200] can't believe you pitched it to soccer moms and it's working. [40:46.200 --> 40:50.820] That's amazing. That's awesome, right? Nothing against soccer [40:50.820 --> 40:53.760] moms, just technology centric folks, different demographic of [40:53.760 --> 40:57.500] people installing things that are traditionally probably [40:57.500 --> 41:01.540] pretty complicated. It worked really well. So again, there's a [41:01.540 --> 41:03.620] few different ways of disarming Emmet. I'm not going to get into [41:03.620 --> 41:06.700] these. The good news is a lot of these have been fixed in version [41:06.700 --> 41:11.400] 5. Jared DeMott's techniques are still not. We talk about fixing [41:11.400 --> 41:15.580] stuff. You know, I look at a couple of people chuckled [41:15.580 --> 41:20.680] because we're old now. It's weird, isn't it? Anyways, so [41:20.680 --> 41:22.480] we're using the same types of attacks that were literally [41:22.480 --> 41:26.380] crafted in the early 90s about the USB drops and the CD ROM [41:26.380 --> 41:30.420] drops. We're not evolving to what real attackers are doing on [41:30.480 --> 41:34.520] a regular basis. We need to start to look at continuing and [41:34.520 --> 41:37.300] going forward on education awareness, training people in a [41:37.300 --> 41:41.280] way that actually works. And for me, the most critical program [41:42.140 --> 41:46.480] period in a security program is education awareness. That and [41:46.480 --> 41:49.280] monitoring and detection are pretty close to each other. But [41:49.280 --> 41:51.580] in my case, when you can train your users, they may know what [41:51.580 --> 41:57.520] happens when you train your users on security. Does it [41:57.520 --> 41:59.740] become a lot more easier to implement security in your [41:59.740 --> 42:03.920] company? Because they understand why you're doing it? I mean, [42:03.920 --> 42:07.100] when we had an education awareness program, I implemented [42:07.100 --> 42:11.980] two‑factor authentication over a weekend. No problem. NAC, six [42:11.980 --> 42:15.080] months. You may have done a global company with 20,000 [42:15.080 --> 42:20.000] employees, NAC in six months. Pretty big feat. But it was cool [42:20.000 --> 42:24.140] with things breaking. I didn't want to get the guy that was [42:24.140 --> 42:28.080] crazy. They understood why we were doing it and the reasons [42:28.080 --> 42:30.600] why we were doing it. It was because of education awareness. [42:30.600 --> 42:33.480] I feel like if I didn't have that, my security program at [42:33.480 --> 42:35.980] that company would not be successful. Because people [42:35.980 --> 42:38.500] understood why I was doing it. That's huge. It's beneficial in [42:38.500 --> 42:42.820] every way. I went from four people in security to 55 people [42:42.820 --> 42:46.820] in security because of it. It's a pretty good deal. Actually [42:46.820 --> 42:50.800] having people to do the work. If you look at a program, Bruce [42:50.800 --> 42:55.680] Snyder said in one of his blog posts that security awareness [42:55.680 --> 42:58.700] doesn't work. And that it should be through attrition and it [42:58.700 --> 43:01.800] should be through, you know, basically, you know, what we do [43:01.800 --> 43:05.660] to protect the users. And I'll be honest, coming from someone [43:05.660 --> 43:07.840] that's actually implemented a program, that's absolutely [43:07.840 --> 43:10.780] inaccurate. There's no question about it. Education awareness [43:10.780 --> 43:14.280] 100% works. Users aren't stupid. They're not people that are [43:14.280 --> 43:17.520] just dumb and they can't ever learn things. Think about it. [43:17.640 --> 43:19.820] When we start a company, do we know certain things like how [43:19.820 --> 43:22.520] not to behave, like streaking down the office is probably bad, [43:22.520 --> 43:26.280] right? We learn certain things and what's acceptable behavior [43:26.280 --> 43:29.480] and what's not. It's the same thing on technology. We have to [43:29.480 --> 43:31.880] be able to communicate in a way that we can learn. To be honest [43:31.880 --> 43:34.080] with you, if our users are the ones that are being called [43:34.080 --> 43:36.660] stupid because they are clicking on things all the time, then [43:36.660 --> 43:38.420] we're the stupid ones for not communicating them in the right [43:38.420 --> 43:41.300] way. That's the truth. If we can't communicate to our users [43:41.300 --> 43:43.900] and teach them in a simple way, we're failing as security [43:43.900 --> 43:47.460] people in general. This is your number one exposure. Period. [43:47.460 --> 43:50.500] Number one. That's what we need to be focusing on. Not the next [43:50.500 --> 43:53.400] gen firewalls and the application tools and whatever [43:53.400 --> 43:56.880] is happening out there with APT's and cyber kill chains and [43:56.880 --> 43:59.580] all that other stuff we hear. It's our users. Our users are [43:59.580 --> 44:03.420] going to figure out things that we don't ever get to see. So the [44:03.420 --> 44:07.100] first thing I did at Diebold was basically sell it to my [44:07.100 --> 44:08.880] executives first of what I was going to do. That's the most [44:08.880 --> 44:11.720] important, right? Because no one cares about security unless you [44:11.720 --> 44:13.580] have buy‑in from certain people. That's what we did [44:13.580 --> 44:16.740] first in our campaigns and everything else. And then from [44:16.740 --> 44:21.200] there you build a program. When I used to do things, I would [44:21.200 --> 44:24.300] relate to people. For example, the target breach was huge [44:24.300 --> 44:27.660] because everybody was impacted by it. Hey, if you guys got [44:27.660 --> 44:29.680] compromised at target, here's the steps you can do. Here's the [44:29.680 --> 44:32.840] phone numbers to contact. If you're using a specific bank, [44:32.840 --> 44:34.980] here's the numbers to contact for that. Here's what we [44:34.980 --> 44:39.120] recommend. Boom. You're trying to help them again. Awesome. [44:39.500 --> 44:42.020] Hey, heart bleed happened. Great. What does heart bleed [44:42.020 --> 44:44.600] mean? What does it mean for your personal information? This is [44:44.600 --> 44:46.800] what it means. This is what we're doing to protect you. [44:47.340 --> 44:49.160] Here's who you need to contact if you're using because they're [44:49.160 --> 44:53.080] still vulnerable right now. Wow. Cool. Newsletter. How to [44:53.080 --> 44:56.360] protect your kids on Facebook. Fantastic. When you can relate [44:56.360 --> 44:58.920] to them in a certain way that actually relates back to their [44:58.920 --> 45:00.960] homes, they actually care. They actually want to do something [45:00.960 --> 45:04.280] differently. And you know, you just got to be willing to do it [45:04.280 --> 45:08.460] and spend the time to actually do it. Step three, testing the [45:08.460 --> 45:11.760] company. You know, actually going through and testing and [45:11.760 --> 45:14.480] seeing what happens and how users respond and if you're [45:14.480 --> 45:17.040] getting better. That's how you know it's effective. Whether or [45:17.040 --> 45:20.860] not your technology can kind of help with it as well. And last [45:20.860 --> 45:23.400] but not least, just maintaining. I mean, seeing where your [45:23.400 --> 45:25.560] current level is that you're happy with and just maintain [45:25.560 --> 45:28.620] from that. You just keep moving forward and maintain that [45:28.620 --> 45:30.940] program itself. Like if I need to implement ten character [45:30.940 --> 45:33.400] passwords, the user understands why I need to implement ten [45:33.400 --> 45:35.520] character passwords and what I need to do with that or two [45:35.520 --> 45:38.120] factor authentication or whatever it ends up being. You [45:38.120 --> 45:40.800] know, again, try to implement two factor that doesn't just say [45:40.800 --> 45:44.720] yes, you're okay to log in. Right? Anybody have any [45:44.720 --> 45:56.770] questions? No questions? Yes, sir. Have I ever done two [45:56.770 --> 45:58.930] factor authentication using chip and pin cards? Yes, I've seen [45:58.930 --> 46:01.710] that definitely implemented. Those are absolutely great. [46:01.810 --> 46:04.310] You know, something physical that's there that actually has [46:04.310 --> 46:07.590] to authenticate somebody is phenomenal. Obviously you have [46:07.590 --> 46:10.710] the same exposure as anything else. If I'm able to steal that [46:10.710 --> 46:12.890] and then the credentials, but your probability and likelihood [46:12.890 --> 46:16.410] is so much lower than me as an attacker remotely doing it. So [46:16.410 --> 46:18.950] I'm a huge advocate of physical devices, which is more of a [46:18.950 --> 46:22.670] pain in the butt to manage. Soft tokens are okay, too, as long [46:22.670 --> 46:25.330] as they physically have to copy and paste that number into that [46:25.330 --> 46:28.110] environment itself or whatever it ends up being. But I don't [46:28.110 --> 46:48.030] have any quarrels with that whatsoever. So the question was [46:48.030 --> 46:51.350] what happens when you're confident and that doesn't work, [46:51.350 --> 46:56.610] right? You go to jail. No, I'm just kidding. Try everything you [46:56.610 --> 46:59.410] possibly can or create different diversions or techniques in [46:59.410 --> 47:03.370] order to really try to get out of it. For example, you don't [47:03.370 --> 47:05.170] mess with law enforcement. If law enforcement are called, you [47:05.170 --> 47:07.590] definitely want to let them know what's going on. Just as an [47:07.590 --> 47:09.410] example, we're breaking into an energy company. We come out and [47:09.410 --> 47:14.150] law enforcement is there waiting for us. And we're like, hey, [47:14.150 --> 47:18.870] man, we're not going to lie to a police officer. We're hired to [47:18.870 --> 47:21.770] do this on behalf of this company. This is what I'm doing [47:21.770 --> 47:25.150] to let them know. And the police officer is like, oh, my God, [47:25.150 --> 47:28.850] that is so cool. Are you serious? Are you friggin' [47:28.850 --> 47:34.630] serious? He's like, is there any way? I can get a job. I'm like, [47:34.630 --> 47:37.590] dude, I'd be cool with that. Didn't ask us for an ID, didn't [47:37.590 --> 47:42.690] ask us for the get out of jail free card or anything. Just let [47:42.690 --> 47:45.070] us go, right? Just let us right go. So there's certain [47:45.070 --> 47:47.170] situations where, honestly, it may be the best policy depending [47:47.170 --> 47:50.390] on how deep you are. And there's ways of getting around [47:50.390 --> 47:54.090] everything. If you're persuasive enough, you have a good chance [47:54.090 --> 47:56.730] of getting away from it. But sometimes you just, I mean, [47:56.730 --> 47:58.730] sometimes you just fail. I mean, there's plenty of times I [47:58.730 --> 48:03.250] failed. I was doing a company in, I think it was like [48:03.250 --> 48:05.390] Minnesota or something like that. Still people there [48:05.390 --> 48:08.110] apparently. I'm just kidding. Just kidding. I'm from Cleveland. [48:08.110 --> 48:11.510] There's nobody there. So, you know, I was breaking into this [48:11.510 --> 48:13.310] building and I figured, hey, they're a big company. They're [48:13.310 --> 48:16.390] not going to have any of the door contacts, you know, [48:16.390 --> 48:18.830] triggered alarms because it's night time. I was going to go [48:18.830 --> 48:20.710] through the front door. So I go to the front door and I lock [48:20.710 --> 48:22.530] pick and I open it up and I get to the other door and I lock [48:22.530 --> 48:24.830] pick and I open it up and I'm inside and everything is great. [48:24.830 --> 48:26.050] Everything is fine. All of a sudden I see the cop cars [48:26.050 --> 48:30.310] coming. It's like three of them. I walk out and I'm just like, [48:30.310 --> 48:32.630] you know, listen, I ain't messing around. You mess up. [48:32.630 --> 48:35.070] Things happen. It's just a matter of telling the honesty [48:35.070 --> 48:41.110] when you do it, though. Any other questions? Over here? [48:41.110 --> 49:20.090] Yep. Sorry. Oh, sorry. Yeah. Yeah. It does. So there's a [49:20.090 --> 49:23.410] config option inside the tool kit for UNC embedding. As soon [49:23.410 --> 49:25.270] as they visit the website or you can send it through an email [49:25.270 --> 49:28.630] or not, it has the UNC path embedded into it and then it has [49:28.630 --> 49:30.790] the listener in the background. As soon as you connect to it, [49:30.790 --> 49:33.930] it automatically scrapes the user name and password field and [49:33.930 --> 49:37.850] then you get your NTLM challenge response. So it does have the [49:37.850 --> 49:39.990] ability to do that automatically for you, which is really nice. [49:41.690 --> 49:50.440] It's a great technique. Yep. It sends the email out. There's a [49:50.440 --> 49:53.040] phishing portion of it. What it will also do is it will track [49:53.040 --> 49:55.360] who clicked on it as well. It will create a unique link that [49:55.360 --> 49:58.140] as soon as they click it, it will track their name and [49:58.140 --> 49:59.920] everything else so you can go back and educate and stuff like [49:59.920 --> 50:04.220] that. You can send emails through the tool kit, which is [50:04.220 --> 50:15.780] great. Any other questions? Yeah. It is. It is. So all of the [50:15.780 --> 50:19.700] attack vectors now that go for exploitation use that PowerShell [50:19.700 --> 50:22.340] injection technique now. So for example, I just recently added [50:22.880 --> 50:25.380] PowerShell injection into Microsoft SQL. So you can do [50:25.380 --> 50:28.420] Microsoft SQL injection through PowerShell injection, which is [50:28.420 --> 50:30.680] really neat. So you can get remote code execution through [50:30.680 --> 50:33.660] Microsoft SQL. There's a lot of different techniques that are [50:33.660 --> 50:37.600] built into that now that's been redesigned and converted. 6.1 is [50:37.600 --> 50:40.940] almost out actually. So I do updates all the time. But [50:40.940 --> 50:44.160] version 6.1, which will be pretty much done next week, adds [50:44.300 --> 50:49.100] a lot more new applicability to the Java attack where it [50:49.100 --> 50:52.900] basically creates a polymorphic engine that dynamically changes [50:52.900 --> 50:57.320] everything every time with AES encryption. And I expanded on [50:57.320 --> 51:09.220] that a lot more to make it a lot harder to detect. Not at all. [51:09.220 --> 51:12.060] Especially because I wouldn't put an IP address up there. I [51:12.060 --> 51:15.440] would register a domain name. You can change the timing too. [51:15.440 --> 51:17.180] That was just for more demonstration purposes. As soon [51:17.180 --> 51:19.480] as you click it, you can have it go directly to your malicious [51:19.480 --> 51:22.820] website. Or you have it sit there for a little bit and flash [51:22.820 --> 51:26.220] it. It's so quick that you don't even notice it. I've never had [51:26.220 --> 51:34.260] anybody say, hey, this is suspicious. So you're not [51:34.260 --> 51:38.200] automatically signed into Gmail right now on your computer? Oh, [51:38.200 --> 51:41.280] well, you're like the 1% of the human population. Because the [51:41.280 --> 51:43.720] persistent cookies that are in there, everybody's logged in [51:43.720 --> 51:45.960] realtime for those. You'd automatically be logged into the [51:45.960 --> 51:49.540] machine. No, I've never seen that. I've probably used that [51:49.540 --> 51:54.600] technique probably a thousand times. I haven't seen one [51:54.600 --> 51:56.960] instance where someone's really picked it up, which has been [51:56.960 --> 52:06.550] great. Well, I guess I got it. Great for me. I agree. I mean, [52:06.550 --> 52:09.350] people can spoof those links and make the links look not [52:09.350 --> 52:12.410] legitimate. That's a big thing. We try to teach them the basics [52:12.410 --> 52:15.030] and that's understandable. But that's not one that we should [52:15.030 --> 52:22.500] rely on. No, that's the crummy part. It works on all browsers. [52:22.860 --> 52:25.040] It works on IE, works on all versions of IE, works on [52:25.040 --> 52:28.080] Firefox, works on Chrome, works on pretty much every browser [52:28.080 --> 52:30.640] specific. So it doesn't make a difference. Which is good. Again, [52:30.640 --> 52:37.900] good for us, bad for you guys. I sent Katie a letter of apology [52:37.900 --> 52:40.760] for getting her show canceled. She actually had me on a second [52:40.760 --> 52:43.120] time before her show got canceled and that went really [52:43.120 --> 52:46.280] well, too. But it still got canceled. So I guess it wasn't [52:46.280 --> 52:51.360] that good. Never send her a letter. Well, thank you all very [52:51.360 --> 52:53.400] much for having me. It was great. And hopefully you enjoy [52:53.400 --> 52:59.060] the rest of DEF CON. Thank you for having me. Thank you.