1 00:00:00,000 --> 00:00:07,280 So, welcome to the noob talk. We're all noobs. It's just some of us have been noobs for 2 00:00:07,280 --> 00:00:12,760 longer than others. I find that no matter what I'm doing, somebody else knows a whole lot 3 00:00:12,760 --> 00:00:20,540 more about it than I do, with very, very, very few exceptions, one being Wi-Fi. However, we 4 00:00:20,540 --> 00:00:25,360 all have something to learn from somebody else. Nobody is stupid. You're just inexperienced 5 00:00:25,360 --> 00:00:30,820 and that can change, especially when you're here. So, we have a whole bunch of accessible 6 00:00:30,820 --> 00:00:34,940 challenges for everybody, including some of the stuff that we're about to run through, which 7 00:00:34,940 --> 00:00:41,120 is probably working right now. So probably. This is why we're doing screen shots. But the 8 00:00:41,120 --> 00:00:46,060 challenges are actually all available and some of these teams will make friends with you. We're 9 00:00:46,060 --> 00:00:49,680 running a capture the flag all weekend and the coolest thing about the capture the flag is for 10 00:00:49,680 --> 00:00:54,660 the last few years, the noob team has come in second. Because people will sit down and they'll 11 00:00:54,660 --> 00:00:58,140 say, I just got this in the vendor area and I don't know what to do with it. And they will make 12 00:00:58,140 --> 00:01:02,400 friends. And that team will end up with like 20 people on it all helping each other learn how to 13 00:01:02,400 --> 00:01:08,460 do this stuff. And then they come in second place. Normally to people that do this for a 14 00:01:08,460 --> 00:01:13,480 living. So, come in, have fun. This is accessible and we're all here to learn from each 15 00:01:13,480 --> 00:01:17,800 other. And that's why we're doing it. So, without further ado, we're going to start talking 16 00:01:17,800 --> 00:01:24,640 about the Wi-Fi's. I feel like this is going to be a lot of fun. We're going to talk about 17 00:01:24,660 --> 00:01:29,720 Wi-Fi. So, if you missed the in brief, this is very important. We are not lawyers. We're 18 00:01:29,720 --> 00:01:35,480 definitely not your lawyer. And you have permission to hack our shit. You don't have 19 00:01:35,480 --> 00:01:43,220 permission to hack the hotel, the casino, your neighbors, your mother's best friend. Yeah. As it 20 00:01:43,220 --> 00:01:47,140 turns out, the rules with radio are really, really easy. Don't be a jerk. Don't get caught. 21 00:01:47,420 --> 00:01:53,220 And you're good. So, everybody be friendly and set up a network at home because setting up a 22 00:01:53,220 --> 00:01:58,920 network with WEP or WPA is half of learning how to crack it. And you have permission to do your 23 00:01:58,920 --> 00:02:03,940 own stuff? Yeah. As it turns out, if you own it, you can hack it. Well, I mean, unless you're in 24 00:02:03,940 --> 00:02:12,320 the U.S. or something. I don't know. Maybe not even know your own password. Are you going to 25 00:02:12,320 --> 00:02:16,360 talk at all or should I just take all this? I'm going to talk sometimes. Maybe you can just 26 00:02:16,360 --> 00:02:20,820 dance to Taylor Swift and I'll talk. If you put on Taylor Swift, I will shake my bootay to some 27 00:02:20,820 --> 00:02:23,200 Tay-Tay. Eric. I'm going to talk to Taylor Swift. I'm going to talk to Taylor Swift. I'm going to 28 00:02:23,220 --> 00:02:26,460 talk to Taylor Swift. Could you fire up Taylor Swift for background while we talk so that he can 29 00:02:26,460 --> 00:02:32,700 dance and I can talk? That would be perfect. So, requirements to hack, download Kali Linux, put on 30 00:02:32,700 --> 00:02:37,660 a black T-shirt. Don't do that. And then a black hoodie. And then black jeans. And then don't 31 00:02:37,660 --> 00:02:43,920 shower. Change the, change your terminal to green text. Yes, green text is very important. 32 00:02:44,620 --> 00:02:50,100 Truthfully, it doesn't matter. Okay? I happen to be the primary developer of Pen2Linux and so we 33 00:02:50,100 --> 00:02:53,200 push it really, really hard in the wireless village because I don't have a pen. I don't have a pen. I don't 34 00:02:53,200 --> 00:02:57,900 test all of our challenges with it. At least all the ones I'm good enough to take down. And it 35 00:02:57,900 --> 00:03:01,880 works. So, we know it works. And when people say my laptop doesn't work, we say, well, that 36 00:03:01,880 --> 00:03:07,140 sucks. Here's a Pen2 ISO. Anything works if you're good enough at Linux to fix your own 37 00:03:07,140 --> 00:03:11,120 problems. We recommend Pen2 because we don't want to do Linux troubleshooting while we're here. 38 00:03:11,800 --> 00:03:15,680 If you want to do Linux troubleshooting, find a new friend. We're not your friends for that. 39 00:03:16,180 --> 00:03:23,180 We're your friends for wireless. All right. Thank you. Okay. So, we're going to talk about 40 00:03:23,200 --> 00:03:27,140 this. You also need a Wi-Fi dongle, preferably one that can do packet injection. That's not 41 00:03:27,140 --> 00:03:32,840 always required, but it is way, way better. The list is pretty much exhaustive on the Aircrack 42 00:03:32,840 --> 00:03:36,420 wiki, so we're not going to go into it. But there's quite a few cards that are very cheap, 43 00:03:36,480 --> 00:03:42,580 very accessible, and good to go. The TP-Link WN722N that people have been recommending for 44 00:03:42,580 --> 00:03:47,260 years is now garbage because they switched the chipset and made it version 2, which is a really 45 00:03:47,260 --> 00:03:52,820 wonderful thing to do. That said, the Aircrack team has been nice enough to, well, they made a 46 00:03:53,200 --> 00:03:58,840 great deal of money. They've been working on the driver for the Realtek 8812AU chips, and so all 47 00:03:58,840 --> 00:04:04,180 of the new AC chips from, like, Alpha actually work now if you use that driver. It's included in 48 00:04:04,180 --> 00:04:08,360 both Pen2 and Kali. And, again, if you don't use one of those, you can compile it your goddamn 49 00:04:08,360 --> 00:04:12,240 self. And I'm probably going to cuss a lot, so if you have a problem with that, get the fuck 50 00:04:12,240 --> 00:04:17,300 out. You're also going to want the Aircrack NG suite. We'll talk about some newer stuff at the 51 00:04:17,300 --> 00:04:21,920 very end, but by and large, for the past ten years, that's been the absolute standard. Aircrack NG 52 00:04:23,200 --> 00:04:25,820 suite is a great way to get all the tools you need, all of the attacks you need, and that's 53 00:04:25,820 --> 00:04:31,640 primarily what we use. Kismet's awesome. You use it for sniffing everything, for profiling 54 00:04:31,640 --> 00:04:35,880 everything, especially the new version, which has a sweet little web interface, and you can sort 55 00:04:35,880 --> 00:04:40,420 and press a little button to download handshakes when it doesn't crash. Things are clickable. 56 00:04:40,860 --> 00:04:47,680 Things are clickable. It's really cool. MDK3 for being a dick, pretty much exclusively for being 57 00:04:47,680 --> 00:04:52,600 a dick. We're both dicks. We're running what we call fog of war in here, so if you're not 58 00:04:52,600 --> 00:05:00,240 filtering your PCAPs properly, good luck. And a word list. We highly recommend that our contest is 59 00:05:00,240 --> 00:05:04,960 not a password cracking contest, so we give you the word list that we drew our passwords from. 60 00:05:06,180 --> 00:05:10,280 Password cracking is its own art form, and it will not be covered here, but you want a good word 61 00:05:10,280 --> 00:05:14,980 list, probably a big one, maybe many, many GPUs and things like that for cracking, but again, 62 00:05:15,040 --> 00:05:22,300 we're not going to go too deep into cracking. Oh, boy. This is important stuff. You want to cover 63 00:05:22,300 --> 00:05:32,100 this for me? Absolutely. So inside of the aero dump, there will be a few things that you will need 64 00:05:32,100 --> 00:05:37,560 to become familiar with, like the BSSID, which is the MAC of the actual access point, the ESSID, 65 00:05:37,760 --> 00:05:44,620 which is your SSID, all the cool things you've named it, like pretty fly for a Wi-Fi, and in the 66 00:05:44,620 --> 00:05:52,280 context. Abraham links this. Tell my Wi-Fi lover. So and then, for sure, we're going to talk about 67 00:05:52,300 --> 00:05:58,120 station, because air crack is amazing, in the context and down at the bottom, station means the 68 00:05:58,120 --> 00:06:01,400 actual, like, devices that are connecting to the access point where you would think it's the 69 00:06:01,940 --> 00:06:07,340 actual access point, but it's not, because it's a vocabulary problem that they can't solve, I 70 00:06:07,340 --> 00:06:13,960 guess. Station means client. Just remember that. Super hard. It gets confusing really quickly. 71 00:06:14,240 --> 00:06:22,280 Drink less. So what you can't see here is that there's a lot of things that we're going to be 72 00:06:22,300 --> 00:06:29,620 able to do. You can't see. You don't know it's there. So you need to scan the air. It's... 73 00:06:33,000 --> 00:06:38,380 Oh, yeah, we're going to get DCMA pulled. We're not going to be able to go up on YouTube. 74 00:06:38,640 --> 00:06:46,160 That was a short audio sample. That was not piracy. I mean, she's going to get more fans, 75 00:06:46,280 --> 00:06:52,280 and that's all we want. So the method we're going to use today is we're going to be using 76 00:06:52,300 --> 00:06:58,560 the same methodology I use and I will share today. You've got to configure your radios. 99.97% 77 00:06:58,560 --> 00:07:03,980 of the time the radio that is in your laptop is not going to be what you need to do amazing 78 00:07:03,980 --> 00:07:09,740 hackery things. You're going to want to scan. You need to see the things that you have scanned, 79 00:07:09,920 --> 00:07:16,060 know how to pull them apart and see what truly is going on with it. You need to isolate down to 80 00:07:16,060 --> 00:07:21,720 the target that you want to go after. You need to start collecting on that specific target. You 81 00:07:21,720 --> 00:07:28,660 want to pull the exact WPA2. I'm going to go after this. I'm going to go after pretty fly for 82 00:07:28,660 --> 00:07:32,480 Wi-Fi. I'm going to start collecting on it. I'm going to start opening it up in Wireshark, 83 00:07:32,560 --> 00:07:37,980 start looking at it in different ways. I need to find what makes that thing tick. What's going 84 00:07:37,980 --> 00:07:42,200 on with its clients, what's going on with everything else about it. You need to find the 85 00:07:42,200 --> 00:07:47,380 thing. Again, targeting counts for, like, everything. Who here has ever opened up 86 00:07:47,380 --> 00:07:51,700 Wireshark and watched the packets fly by? Aside from that little bit of data. You need to 87 00:07:51,720 --> 00:07:56,520 looking really cool in front of your boss, did that help you in any meaningful way? No. Because 88 00:07:56,520 --> 00:07:59,820 there's a reason there's a giant filter thing at the top because if you don't use it, it is 89 00:07:59,820 --> 00:08:04,960 completely worthless. Man, my screen can scroll really fast. Thanks, Nvidia. And it's 90 00:08:04,960 --> 00:08:10,000 color coded. And it's color coded, right. Picking your target. Filtering down on your target. 91 00:08:10,140 --> 00:08:15,000 These are absolutely critical skills where you get people with, like, 900 peg P caps and they're, 92 00:08:15,000 --> 00:08:22,140 like, the handshake, I can't find it in here. Like, there's a filter for that. Oh. I was 93 00:08:22,140 --> 00:08:31,160 scrolling through. Okay. That's one way. I'll see you in the next Ice Age. Soon. Yeah, soon. 94 00:08:32,880 --> 00:08:38,180 So, in the world that I live in, in hacking and cracking wireless, it never works the 95 00:08:38,180 --> 00:08:43,580 first time. So, as you see, there's a nice little red line that says once you perform the 96 00:08:43,580 --> 00:08:47,520 attack and you can't get it, you need to start over again. Because you didn't find the thing, 97 00:08:47,760 --> 00:08:53,520 you didn't do the right stuff to collect the right things to win. Yeah, I can't stress that 98 00:08:53,520 --> 00:08:57,420 enough either. Like, I've been doing this for a really long time. I've been on the Aircrack 99 00:08:57,420 --> 00:09:02,740 team for a decade. And I will collect 100,000 IVs and then it won't crack and then I will 100 00:09:02,740 --> 00:09:06,480 throw that in the garbage and I will do it again. Because it does take two minutes to crack 101 00:09:06,480 --> 00:09:13,560 WEP the first time it works. But there's, like, three or four other times before. And 102 00:09:13,580 --> 00:09:17,740 it just didn't work. You just don't count that time. That doesn't count. That was practice. 103 00:09:18,000 --> 00:09:26,220 That was practicing. Just making sure your radio was working. Yeah. Yeah. All right. So, let's 104 00:09:26,220 --> 00:09:33,120 talk a little bit about WEP. I love WEP. It's good. It's just good enough. Yeah. So, 105 00:09:33,200 --> 00:09:37,520 again, find your targets. Aerodump is nice enough to show this. Kismet is nice enough to show 106 00:09:37,520 --> 00:09:41,340 this. Your freaking cell phone is nice enough to show this, most likely. Don't buy IOS. 107 00:09:43,260 --> 00:09:47,500 Identify what you're looking for. I'm going to attack pretty fly for a Wi-Fi or whatever it is. 108 00:09:47,640 --> 00:09:53,540 And then fake auth is quite often the standard way of doing it. The reason we do things the way we 109 00:09:53,540 --> 00:09:57,360 do is not because it is the only way to do it. It's because it's the more reliable way to do it. 110 00:09:57,460 --> 00:10:01,860 You can capture somebody else who's already on. You can try to steal their MAC address. But 111 00:10:01,860 --> 00:10:06,780 then they disconnect and then you're invalid and then the AP deauths you and then it doesn't 112 00:10:06,780 --> 00:10:10,680 work. So, if you make your own authentication, you make sure you stay authenticated and things 113 00:10:10,680 --> 00:10:16,340 like that. So, again, collect packets, replay packets, crack packets. It's really easy stuff. 114 00:10:17,100 --> 00:10:24,140 Why is any of this possible? Right? Who here remembers when Wi-Fi came out? So, three months 115 00:10:24,140 --> 00:10:28,240 before that, they were like, okay, we've got the stamp on this thing. It is good to go. Let's 116 00:10:28,240 --> 00:10:32,620 start marketing it. Oh, hey, what kind of encryption are we using? Oh, we should probably put 117 00:10:32,620 --> 00:10:37,240 some encryption on this instead of just plain text. And so the marketing team slapped on some 118 00:10:37,240 --> 00:10:42,920 crypto and didn't bother reading any of the notes. RC4 was known vulnerable at the time and 119 00:10:42,920 --> 00:10:49,900 they knew how to solve the vulnerability and chose not to do it for Wi-Fi. So, as it turns out, 120 00:10:49,900 --> 00:10:55,300 letting the marketing team run crypto is a terrible plan. So, bad, bad, bad. Yeah, entropy 121 00:10:55,300 --> 00:11:00,320 fails. Basically the first I think it's a kilobyte of key stream that comes out is just 122 00:11:00,320 --> 00:11:05,880 complete garbage. And in any sane implementation, you just throw that away. Wi-Fi doesn't. It's 123 00:11:05,880 --> 00:11:12,320 predictable and you use it to make a key really quick. Under normal conditions, this doesn't 124 00:11:12,320 --> 00:11:19,480 take long. I can just sit there and just listen while they're streaming Tay-Tay and I can get 125 00:11:19,480 --> 00:11:23,260 enough packets to crack it. I think that was actually the longest you've ever listened just 126 00:11:23,260 --> 00:11:31,120 now. Negative. It is always playing. Yeah. Aircrack will automatically retry after every 127 00:11:31,120 --> 00:11:35,860 5,000 IVs that are captured. So, if you let Aircrack run on the, you know, on the IP address, 128 00:11:35,860 --> 00:11:41,140 it will just keep retrying for you until it succeeds or the number gets really high and you're 129 00:11:41,140 --> 00:11:46,720 like, ah, something's broken in here. It says right here about 100,000 is where we tend to say 130 00:11:47,280 --> 00:11:52,760 it's broken or it should have already given me the key. About 120 is where I just give up and 131 00:11:52,760 --> 00:11:57,360 wipe that file off of my disk and start over assuming something weird got corrupted or the math 132 00:11:57,360 --> 00:12:01,340 just didn't work out for some reason that I don't understand because I am not a math major. 133 00:12:01,680 --> 00:12:05,700 And in a room like this, while there's a competition going on, while everybody's 134 00:12:05,860 --> 00:12:10,920 doing all their fancy, magical hackery things, there may be a lot of things in the air that you 135 00:12:10,920 --> 00:12:15,600 catch that is just plain garbage that's showing up as an IV. So, you're going to cross the 136 00:12:15,600 --> 00:12:23,660 100,000 mark and not have the exact things you need to be successful. Very true. Oh, boy, 137 00:12:23,740 --> 00:12:29,940 this is my second favorite program in the world. AirMon NG is a great tool. If you're running 138 00:12:29,940 --> 00:12:35,840 Pentoo, it's been recently updated to support the RTL, uh, R8, 8, 1, 2, 3, 4, 5, 6, 7, 8, 139 00:12:35,860 --> 00:12:51,480 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 140 00:12:51,480 --> 00:13:00,700 32, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 141 00:13:05,960 --> 00:13:08,680 52, 53, 54, 55, 56, 57, 58, 59, 60. So, the first thing I do when I plug in an external card, 142 00:13:09,100 --> 00:13:14,740 is I just run AirMon NG to just see if my card has even showed up. Because, anything else you do 143 00:13:14,740 --> 00:13:18,500 after that is not going to work if your operating system does not know that your card is 144 00:13:18,500 --> 00:13:22,000 there and the drivers aren't proper for it. Really, I run it with a verbose flag... 145 00:13:22,500 --> 00:13:28,020 because I'm noisy. We know that you are. All right, so AirMon NG, start and then your 146 00:13:28,020 --> 00:13:35,840 interface name, which if you're on system D is WLPZV... XYZ1234... Beta Gamma. X, Y, Z, 147 00:13:35,860 --> 00:13:41,080 If you use a saying system or you turned off that stupid naming, it's like WLAN zero. Then 148 00:13:41,080 --> 00:13:45,060 it will take it and put it in a monitor mode and it will denote that it's in monitor mode by 149 00:13:45,060 --> 00:13:49,580 just adding the suffix mon to the end of it so you don't get confused. It also helps 150 00:13:49,580 --> 00:13:54,480 network manager keep its hands off. That way it doesn't flip it back out of monitor mode for 151 00:13:54,480 --> 00:14:00,000 you. If anything goes wrong, it normally tells you, I can't tell you how important this is, 152 00:14:00,160 --> 00:14:04,400 not just read the manual because I can forgive you for not reading the manual but read 153 00:14:04,400 --> 00:14:08,840 what's on the screen. The number of people that tell me I ran Ayrmont NG and it wasn't in 154 00:14:08,840 --> 00:14:13,580 monitor mode, what was the output? It says it's not in monitor mode and it told me why but I 155 00:14:13,580 --> 00:14:19,480 didn't read that until you asked. Cool story. Read it next time first. Thank you. These tools 156 00:14:19,480 --> 00:14:23,200 mostly have decent output. I'm definitely not going to say always but a lot of times it's 157 00:14:23,200 --> 00:14:27,940 very useful so try to read it and understand it. I destroyed this interface. I created this 158 00:14:27,940 --> 00:14:32,600 interface. This interface is in monitor mode. These are useful bits of information to know and 159 00:14:32,600 --> 00:14:34,020 understand about how Linux works. 160 00:14:34,740 --> 00:14:40,340 If it goes bad for you, Ayrmont NG stop takes it out of monitor mode or it actually aborts and 161 00:14:40,340 --> 00:14:44,880 does that by itself if it's really bad. Check tells you if there's any problems and then check 162 00:14:44,880 --> 00:14:50,340 kill fixes your problems the safest way possible by killing all of the services that mess with 163 00:14:50,340 --> 00:14:56,920 it. Like that we're a manager and you're about to lose Internet. Yeah. Using the Internet 164 00:14:56,920 --> 00:15:01,040 with a Wi-Fi card while hacking with a Wi-Fi card is a very advanced topic that we should not be 165 00:15:01,040 --> 00:15:04,380 covering. Is it that advanced? It's a very advanced topic. It's a very advanced topic. 166 00:15:04,380 --> 00:15:09,220 Yeah. I recommend wired users. Here at DEF CON you can have 7K a second wired. It's very nice. 167 00:15:13,180 --> 00:15:19,440 So here's an example. Just running Ayrmont NG shows me that I have my internal WLAN 0. I got my 168 00:15:19,440 --> 00:15:29,500 WLAN 1. Choke up a little. Kind of quiet. That's not what she said. Anyway. So here when you 169 00:15:29,500 --> 00:15:34,360 have an actual problem it will identify through the process ID and the name of the user. So 170 00:15:34,380 --> 00:15:38,100 you can see the name, the processes that are going to prevent you from being able to get a 171 00:15:38,100 --> 00:15:46,160 monitor. Otherwise down below you'll see that it's, it'll tell you it's WLAN Mon and you're going 172 00:15:46,160 --> 00:15:54,720 to be able to go from there. Whoo. All right. This is the single most important slide. I'm just 173 00:15:54,720 --> 00:15:59,020 saying that because he removed it saying it wasn't important and we made him put it back. Testing 174 00:15:59,020 --> 00:16:04,360 your gear is incredibly important. I spent literally more time testing wired devices than I did 175 00:16:05,280 --> 00:16:09,820 building the entire wireless capture the flag. Because if it's not stable, if it doesn't work 176 00:16:09,820 --> 00:16:14,320 right, I just don't want to use it because that's really what bites me. Configuring an access point 177 00:16:14,320 --> 00:16:21,640 sometimes is easy except for this morning. Anyway. Test, test, test. I'm sending a million 178 00:16:21,640 --> 00:16:26,500 de-offs a second and it's not working at all. Why? Did you run an injection test? Does the card 179 00:16:26,500 --> 00:16:33,720 inject at all? Well, no, I didn't test it. Okay. Test it. Oh, it doesn't inject at all. Cool. Well, 180 00:16:33,740 --> 00:16:34,360 that's why. That's why. That's why. That's why. That's why. That's why. That's why. That's why. That's why. That's why. That's 181 00:16:34,360 --> 00:16:36,900 why. That's why. That's why. That's why. You're sending a million packets to no one and it's 182 00:16:36,900 --> 00:16:42,640 not going to work. Again, most of the cards anymore just kind of work. But a lot of things with 183 00:16:42,640 --> 00:16:47,460 weird vendor drivers or staging drivers that aren't mainline Linux kernel drivers and then a 184 00:16:47,460 --> 00:16:52,640 lot of the embedded cards, we just got, one of our team members just got a brand new XPS 185 00:16:52,640 --> 00:16:57,900 13 and it's got a nice embedded Qualcomm chip on it, soldered on to the board and it doesn't 186 00:16:57,900 --> 00:17:02,760 support monitor mode in any meaningful way but it will totally tell you it does. That's great. no 187 00:17:02,760 --> 00:17:06,740 no monitor mode, no injection, but it pretends that it all works fine. It just, you know, 188 00:17:06,740 --> 00:17:12,960 doesn't. So again, testing your gear, incredibly important. Most of this is really easily 189 00:17:13,320 --> 00:17:17,920 Googleable, like which cards work and which cards don't, but something to keep an eye for is 190 00:17:17,920 --> 00:17:23,040 just plain test it is the only way to know whether it works or not. Just like a gun, don't 191 00:17:23,040 --> 00:17:29,520 point it at your foot while you're testing it, but, you know, test it. And you need to 192 00:17:29,520 --> 00:17:34,900 actually stop that de-auth at one point so that you can get the re-association. Oh, yeah, 193 00:17:34,980 --> 00:17:38,400 that's a good point. Because if you just keep de-auth-ing. We'll talk about that with WPA. 194 00:17:39,140 --> 00:17:44,980 You said just send a million packets. Just de-auth it. Just kill it all. I hate Wi-Fi. 195 00:17:47,340 --> 00:17:50,180 All right, this is what arrow dump looks like. For those of you that don't know, it's 196 00:17:50,180 --> 00:17:54,700 incredibly helpful. So we've got the BSSID, which is the MAC address of the access point. 197 00:17:55,020 --> 00:17:59,500 We've got power level, which is in signal strength, which is a, you know, a signal 198 00:18:00,100 --> 00:18:05,800 number, which means negative 43 is a much bigger number than negative 71. That's how 199 00:18:05,800 --> 00:18:10,960 negative numbers work. I know that's really confusing to people. I just heard somebody 200 00:18:10,960 --> 00:18:15,660 earlier today saying, oh, my gosh, I'm only getting negative 40 and I'm right next to it. 201 00:18:15,700 --> 00:18:19,380 This thing is a piece of junk. I'm going to take it back. Well, number one, you're too 202 00:18:19,380 --> 00:18:23,740 close. That's not good. And number two, that's a very big number in Wi-Fi. That's actually the 203 00:18:23,740 --> 00:18:29,040 top of what the standard requires you to pick up. If you see something like negative 40, you're 204 00:18:29,040 --> 00:18:34,100 almost certainly damaging your card. If you can use a 12-foot Ethernet cable, use the Ethernet 205 00:18:34,100 --> 00:18:39,800 cable instead. The number one problem I see with personal test setups is they'll set it all up on 206 00:18:39,800 --> 00:18:44,600 their desk and then everything is so close when you're sending packets, it's actually, like, 207 00:18:44,640 --> 00:18:50,320 screaming into the person's ear with a bull horn. It doesn't work. It distorts really badly. 208 00:18:50,580 --> 00:18:56,160 You need a nice 12-foot table or at least to put something on the other side of the room. That 209 00:18:56,160 --> 00:18:59,020 is, like, the biggest test setup problem I've ever seen. So that's one of the things that I'm 210 00:18:59,040 --> 00:19:04,040 seeing all the time, including myself. You have to get things spaced out enough, especially when 211 00:19:04,040 --> 00:19:08,560 you get the ultra super power, high power, sweet, excellent cards, because we've got a couple of 212 00:19:08,560 --> 00:19:12,280 people over here playing with Yagis, and I think they must be playing somebody else's contest, 213 00:19:12,520 --> 00:19:16,920 because there's no way you need that to reach us in here. What they're doing is damaging their 214 00:19:16,920 --> 00:19:26,340 radios. Bigger the antenna, the better. Bigger is always better. I promise. Yeah. 215 00:19:26,540 --> 00:19:28,080 That's why we have Wasabi on the team. 216 00:19:29,040 --> 00:19:32,680 This screen is not every single piece of information that you need. Just because you see that 217 00:19:32,680 --> 00:19:39,620 WCTF 10 is WEP does not mean, you know what, let me just start running my attack. This is just your 218 00:19:39,620 --> 00:19:47,900 initial scan. This is just enough to start to decide what am I going to do next. There is not 219 00:19:47,900 --> 00:19:52,980 enough information here to move forward. And that's where the enumeration comes out. And finding 220 00:19:52,980 --> 00:19:59,020 the thing. You mean footprinting? How do I footprint something? I don't know. I don't know. 221 00:19:59,040 --> 00:20:08,100 You talk to Sasquatch hunters. Tell me all about enumeration. I'm curious. So you download 222 00:20:08,100 --> 00:20:14,080 Sans cheat sheets and they tell you how to use Wireshark. That's really important actually. 223 00:20:15,400 --> 00:20:18,860 Because I'm not going to tell you every flag off the top of my head right now to start sorting 224 00:20:18,860 --> 00:20:23,160 through your PCAP. Because I don't remember and I have my own cheat sheets and I run scripts. 225 00:20:23,680 --> 00:20:29,020 All right. This comedy show sucks. So does it have a client? What kind of client? Is it an active client? Is it an inactivity? 226 00:20:29,040 --> 00:20:33,580 intermittent client. Again, you can use somebody else's MAC address and you can do replay attacks 227 00:20:33,580 --> 00:20:40,180 from there to gather enough key material to crack the key. However, if they disconnect, you 228 00:20:40,180 --> 00:20:44,220 disconnected too because they were the ones holding the authentication to you. The access point 229 00:20:44,220 --> 00:20:49,020 doesn't talk to people who aren't authenticated, thereby your replay attack stops. So 230 00:20:49,020 --> 00:20:55,100 authenticating yourself, helping a client maintain its authentication maybe are all really good 231 00:20:55,100 --> 00:21:00,840 tricks to keep yourself on the access point so you can keep generating traffic. Air replay is a 232 00:21:00,840 --> 00:21:05,940 wonderful thing. It's very easy to use. But keeping track of those clients or creating a fake 233 00:21:05,940 --> 00:21:11,640 one of your own, WEP's authentication mechanism is so broken that they don't even use it in the 234 00:21:11,640 --> 00:21:16,300 field. They just switched it back to open for the most part. Shared key authentication allows you 235 00:21:16,300 --> 00:21:22,280 to recover the key even faster than attacking the encryption itself. So yay! 236 00:21:24,600 --> 00:21:25,080 Captioning by Ai-Media 237 00:21:25,100 --> 00:21:31,060 Capture. Our number one motto here in the wireless village is ABC. Always be collecting. 238 00:21:31,420 --> 00:21:39,020 Always be collecting. We're collecting money. Okay. So write everything to a file. That's 239 00:21:39,020 --> 00:21:44,400 great. You can filter it down by BSS ID which is warmly recommended especially if you're 240 00:21:44,400 --> 00:21:49,420 attacking something specific. You can also just capture literally everything and then filter it 241 00:21:49,420 --> 00:21:54,620 before trying to attack it offline. So I have one device capturing everything after a certain 242 00:21:54,620 --> 00:22:00,440 number of megs. I cut that off, start a new file and I offline attack the file that I created. It's 243 00:22:00,440 --> 00:22:05,840 very common to just capture absolutely everything and then filter it before you try to use it. If 244 00:22:05,840 --> 00:22:10,980 you are channel hopping and the handshake happens while you're on the wrong channel, you're not 245 00:22:10,980 --> 00:22:15,060 going to catch it. If all the traffic that you need from the WEP access point is happening on a 246 00:22:15,060 --> 00:22:21,140 different channel, you're not going to catch it. Yeah. So not channel hopping is very important 247 00:22:21,140 --> 00:22:24,600 when you're trying to actually capture data. You channel hop when you're looking for a fake one. 248 00:22:24,620 --> 00:22:29,820 That's the default for aero dump as an example. You just add dash dash channel which again is in 249 00:22:29,820 --> 00:22:34,900 the help and I'm not going to cover every flag in air crack but dash dash channel one if you want to 250 00:22:34,900 --> 00:22:39,240 stay on channel one and it just stays there. I think one of our team members had that problem 251 00:22:39,240 --> 00:22:42,900 yesterday where they couldn't figure out why they couldn't see something and they were channel 252 00:22:42,900 --> 00:22:46,920 hopping. It's a really, really common thing to happen that happens to people who do this all the 253 00:22:46,920 --> 00:22:51,420 time. So be cognizant of like that little number that's changing really fast in the upper left 254 00:22:51,420 --> 00:22:51,700 corner. 255 00:22:56,620 --> 00:23:04,660 So it's the what else. What else is going on? What else is, is it this encryption algorithm is the 256 00:23:04,660 --> 00:23:13,760 client acting in this way? There is more than one WEP. As crazy as that sounds, it's not just WEP. 257 00:23:13,900 --> 00:23:20,340 Just like there's the different encryption types for WPA, there's different encryption types for 258 00:23:20,340 --> 00:23:23,900 WEP. You need to know those things because when it comes time to cracking, you will be more 259 00:23:23,900 --> 00:23:29,740 successful if you know what's going on with what you are collecting in your PCAP. And cheat 260 00:23:29,740 --> 00:23:37,360 sheets, cheat sheets and cheat sheets because that's what helped me be successful competing in 261 00:23:37,360 --> 00:23:43,720 the WCTF. If you don't write it down, you're going to have to Google it again and again and again. 262 00:23:44,180 --> 00:23:49,180 Air Cracks Wiki is really, really helpful for stuff but boiling it down to just the things 263 00:23:49,180 --> 00:23:53,380 that you need to know once you understand the core concepts because there's a lot of explanation going 264 00:23:53,380 --> 00:23:58,420 on in the Wiki that you only need the first time you read it. Writing down these are the steps I 265 00:23:58,420 --> 00:24:03,760 take or I run this WIFITE script and it does everything for me while I like drink my coffee, write 266 00:24:03,760 --> 00:24:09,640 down the method that works best for you and follow that like it's a gospel is really the easiest 267 00:24:09,640 --> 00:24:16,220 way to do it. WEP especially is just nightmarish because it does a lot of weird things that don't 268 00:24:16,220 --> 00:24:21,860 make any sense per a standard. The way to tell the difference between 40 bit and 104 bit WEP is to 269 00:24:21,860 --> 00:24:23,360 crack it. There's nothing wrong with cracking it. There's nothing wrong with cracking it. There's no 270 00:24:23,360 --> 00:24:29,080 marker in the air for that or anything. You just have to try to crack it both ways which is the 271 00:24:29,080 --> 00:24:35,100 default in air crack. But you have no idea which one it is until you crack it. And things like 272 00:24:35,100 --> 00:24:38,920 that make things a little more weird. They also make things a little more unpredictable. 273 00:24:39,200 --> 00:24:44,560 Like how many packets do I need to crack this? It's just a statistical attack against the poor 274 00:24:44,560 --> 00:24:49,860 encryption algorithm but to crack a bigger key you need more stuff for that statistical attack. 275 00:24:49,860 --> 00:24:56,720 So it's a lot less reliable to say like, oh, you need 60,000 packets. Totally sometimes, 276 00:24:57,000 --> 00:25:02,600 depending on which packets they are. The attack is also based on a known plain text attack which 277 00:25:02,600 --> 00:25:08,960 is why we use ARP replay so often because ARP packets are so well known. We know what is in an 278 00:25:08,960 --> 00:25:14,760 ARP packet and we know where everything is even after it's encrypted about like more than half 279 00:25:14,760 --> 00:25:19,540 of the packet is known to us because it's in the unencrypted header and in the encrypted part 280 00:25:19,540 --> 00:25:19,840 of the packet. So it's a lot less reliable to say like, oh, you need 60,000 packets, totally 281 00:25:19,860 --> 00:25:23,720 different packet at the same time. Wi-Fi is really wonderful like that where it gives you fully 282 00:25:23,720 --> 00:25:34,800 unencrypted headers even with WPA. Yay! Sir, in the front row, sitting at the wireless capture 283 00:25:34,800 --> 00:25:43,000 the flag table, that's not okay. Please sit where the contestants sit. Thank you. No problem. 284 00:25:43,160 --> 00:25:47,600 This is Wasabi. The new guy has got his eyes out. And I'm hungry enough that if somebody brings 285 00:25:47,600 --> 00:25:49,840 me food, I will tell you a really cool way to crack WPA. I'm hungry enough that if somebody brings 286 00:25:58,440 --> 00:25:59,640 me food, I will tell you where my sit is. You can watch hiscular 287 00:25:59,640 --> 00:26:10,440 extra functionality, like without a backend, like, you don't like something at all. You say that, 288 00:26:10,440 --> 00:26:11,740 look, like, I'll jump over to prison and type a cell code, like, well, nothing bad, but I do like some 289 00:26:13,760 --> 00:26:16,600 Spzenti. So yeah. But we'll do that and get right back to the rest of the conversation. Great. Alright, 290 00:26:19,220 --> 00:26:19,820 guys. Thanks. See you soon. The other question was if a fourth party has bugged infört of the podcast sites connected with a 291 00:26:19,820 --> 00:26:24,040 need to generate as much traffic as possible against statistical attack. To do that, what we 292 00:26:24,040 --> 00:26:30,060 do is we generate more ARP packets. We capture something which means that somebody has to be on 293 00:26:30,060 --> 00:26:36,640 the network in the first place. My most common thing after my shit doesn't work that I see in 294 00:26:36,640 --> 00:26:43,280 Aircrack's IRC channel is, well, I've been sniffing for like ever and I can't replay 295 00:26:43,280 --> 00:26:47,680 anything. Like, well, it's 2 o'clock in the morning and you're attacking your neighbor's 296 00:26:47,680 --> 00:26:53,100 network and they went to sleep. There's no data to capture and thereby there's no data to 297 00:26:53,100 --> 00:26:59,060 replay. Creating a client and connecting to an access point will sometimes get you data if, 298 00:26:59,180 --> 00:27:02,580 for example, there's something on the wired side of the network that's generating packets and 299 00:27:02,580 --> 00:27:06,220 then the AP is like, oh, there's a wireless client. I'll bridge this data to them because 300 00:27:06,220 --> 00:27:12,140 they need to know. But on a not busy network like, say, one of your test networks that you 301 00:27:12,140 --> 00:27:17,520 set up, if there's no legitimate client, there will be no legitimate traffic. If our attack is a 302 00:27:17,520 --> 00:27:23,240 replay attack, there is nothing to replay. So you have to connect a legitimate client to the 303 00:27:23,240 --> 00:27:27,260 network, put something on the back end of the network that is pinging the hell out of nobody to 304 00:27:27,260 --> 00:27:31,860 generate some traffic, something like that to generate traffic. A network that has literally 305 00:27:31,860 --> 00:27:37,640 nobody on it has nothing to replay. No matter what you do, you can fake off and de-off yourself 306 00:27:37,640 --> 00:27:43,660 all you want, which seems like a long way to masturbate. But you're not going to get anywhere. 307 00:27:43,900 --> 00:27:47,500 You have to have actual traffic to replay. Nothing you do generates traffic. So you have to 308 00:27:47,500 --> 00:27:52,420 have actual traffic. You're making fake garbage in the air that the AP silently ignores because 309 00:27:52,420 --> 00:27:57,140 you don't know the actual key. Something on the wired side or in the air has to know the key, 310 00:27:57,280 --> 00:28:02,120 otherwise you don't have anything to replay. So once you have something valid to replay, 311 00:28:02,300 --> 00:28:07,140 preferably an ARP packet, Aircrack handles that one by default. You just say dash dash ARP 312 00:28:07,140 --> 00:28:12,780 replay. It will sit there and wait for an ARP possibly until you die and then it will start 313 00:28:12,780 --> 00:28:17,340 sending them as fast as it possibly can. The fake off helps us again because if there's something 314 00:28:17,340 --> 00:28:22,900 on the wired side that's generating packets, we'll get those bridged to us. Wi-Fi access points 315 00:28:23,440 --> 00:28:28,480 that aren't made by Belkin are what are called smart bridges. Smart bridges know that if there's 316 00:28:28,480 --> 00:28:32,720 nobody on the other side, I'm not going to forward the packet. So if there's no wireless 317 00:28:32,720 --> 00:28:37,080 clients connected, there's no reason to put packets into the air. But as soon as a Wi-Fi 318 00:28:37,080 --> 00:28:41,780 client connects, even if it's a fake authentication, it says, oh, cool, all the LAN traffic 319 00:28:41,780 --> 00:28:46,840 needs to go into the air now to support this guy. Lots of things, you know, NetBIOS, ARP, 320 00:28:47,340 --> 00:28:52,380 a whole bunch of packets, MDNS, phones are great. These are all broadcast packets. So they 321 00:28:52,380 --> 00:28:56,080 have to go to everybody and so they just get immediately thrown into the air. It's very noisy. 322 00:28:56,220 --> 00:29:03,040 Really great. Fake off is nice. And in collecting traffic, the more radios the better. One 323 00:29:03,040 --> 00:29:08,320 dedicated to collecting, one dedicated to an attack with one tool and maybe another dedicated 324 00:29:08,320 --> 00:29:13,880 to attack in a different way. So sometimes I've run replays and then I've also ran Wi-Fi with a 325 00:29:13,880 --> 00:29:16,720 completely different radio to generate more traffic. 326 00:29:17,340 --> 00:29:22,360 You can absolutely listen and transmit with the same card, but just like humans, you can't do 327 00:29:22,360 --> 00:29:26,800 it at the same time. For every microsecond you're transmitting, you are not listening. Thereby 328 00:29:26,800 --> 00:29:35,220 two cards is still really helpful. Or 47 or whatever. Actually, 32 is the limit for Intel 329 00:29:35,780 --> 00:29:45,920 USB 3 chips. You can Google that one. Yeah. Thanks, guys. Macactus doesn't use USB. It's all 330 00:29:47,340 --> 00:29:50,520 about the technology. But it's got those cool lights. Those might be USB powered, I don't know. 331 00:29:53,060 --> 00:29:59,760 So you need to have success when you run the fake off or everything else you're not going to have a 332 00:29:59,760 --> 00:30:08,940 good time. It needs to say association successful. Yeah, successful. Again, reading the messages 333 00:30:08,940 --> 00:30:17,320 in these tools that come out incredibly helpful. Dash one is fake off. Zero is the flag you pass to say I only want to use this thing. 334 00:30:17,340 --> 00:30:22,320 want to do this one time. If you were to pass, say, 30, it will do it every 30 seconds or every 335 00:30:22,320 --> 00:30:27,520 minute or whatever you tell it to do to maintain that authentication. Some access points 336 00:30:27,520 --> 00:30:31,380 actually have an unlimited timeout. As long as you're sending packets, they think you're cool 337 00:30:31,380 --> 00:30:35,700 and they leave you alone. The standard requires you to reauthenticate every five minutes. 338 00:30:36,240 --> 00:30:40,500 Because it may or may not work every time we do it, we normally do it once a minute or 339 00:30:40,500 --> 00:30:44,660 something like that just to maintain that association so the AP doesn't reject our 340 00:30:44,660 --> 00:30:53,560 packets. One quick tip. Control shift T is your friend. If you've ran arrow dump in another 341 00:30:53,560 --> 00:31:01,560 tab, copying Macs into the adjacent tabs for running these is amazing. You believe these kids 342 00:31:01,560 --> 00:31:07,940 don't run X? Just put it in screen, people. You don't need a graphical manager for this. Or I 343 00:31:07,940 --> 00:31:14,640 can use Tmux. Tmux, fucking millennials. I don't know what you're talking about. 344 00:31:14,660 --> 00:31:26,180 I was born before you. Two months. Still counts. All right. So short flags are your 345 00:31:26,180 --> 00:31:29,200 friend when you're writing things. They're not your friend when you're trying to learn this 346 00:31:29,200 --> 00:31:33,800 stuff. Again, I keep saying them as long flags because frankly I use the long flags because I 347 00:31:33,800 --> 00:31:40,020 never remember which attack dash seven is. Dash dash ARP replay is really nice to remember 348 00:31:40,020 --> 00:31:44,500 because I know it's going to do an ARP replay attack for me. It happens to be three. You can also 349 00:31:44,500 --> 00:31:49,060 do dash dash interactive where it will tell you every single packet that comes by in an encrypted 350 00:31:49,060 --> 00:31:53,600 form which is really hard to read. Then you say, do you want to replay this one? Sure I do. Why not? 351 00:31:54,200 --> 00:31:58,960 Then you can see what kinds of packets you get good responses with. That's a really weird thing to 352 00:31:58,960 --> 00:32:04,560 do. ARP replay is way better. It's number three. I also would like to point out that arrow dump 353 00:32:04,560 --> 00:32:13,860 uses dash A to filter for a BSS ID but ARR replay is modifying the BSS ID and so you need dash B. 354 00:32:14,500 --> 00:32:19,360 which is modifying the packet, not just filtering. A, B, C in 355 00:32:19,360 --> 00:32:23,320 there somewhere. I don't know. There's a dash dash help for all 356 00:32:23,320 --> 00:32:26,080 of these tools that I can't stress enough is written for 357 00:32:26,080 --> 00:32:32,420 your benefit, not mine as the coder. Oh, cool. We get to crack 358 00:32:32,420 --> 00:32:37,800 it now? I used backtrack. That's awesome. Because I don't use 359 00:32:37,800 --> 00:32:42,200 Kali to do wireless. I think that's backtrack three. I think 360 00:32:42,200 --> 00:32:45,360 it's backtrack five or three. What version of air crack is 361 00:32:45,360 --> 00:32:51,520 that? 1.1. Anywhere in the last nine years is that one. There's 362 00:32:51,520 --> 00:32:55,220 been three air crack releases in the last six weeks and before 363 00:32:55,220 --> 00:32:59,340 that it was like how many years? I don't even know. Point is, it 364 00:32:59,340 --> 00:33:02,860 still runs the same. You type air crack dash NG and you tell it 365 00:33:02,860 --> 00:33:06,860 to open a PCAP. You can also tell it to open star dot cap or 366 00:33:06,860 --> 00:33:08,960 something like that. It will open lots and lots of them if 367 00:33:08,960 --> 00:33:11,920 you made lots and lots of them. And then it will ask you which 368 00:33:11,920 --> 00:33:12,180 one you want to open. It will ask you which one you want to 369 00:33:12,200 --> 00:33:15,560 attack and you press 37 which is the number in the index list 370 00:33:15,560 --> 00:33:19,420 and then it starts trying really, really, really hard. And 371 00:33:19,420 --> 00:33:22,140 again, if you leave it running and you don't have enough of 372 00:33:22,140 --> 00:33:26,920 the right IVs, like it will tell you, we tried this many 373 00:33:26,920 --> 00:33:30,280 keys and it was not successful. And it will say waiting for the 374 00:33:30,280 --> 00:33:34,120 next 5,000, 10,000, 30,000. It will keep going up in 375 00:33:34,120 --> 00:33:37,360 iterations. The cool thing is it's also way, way faster the 376 00:33:37,360 --> 00:33:40,560 more packets you have. So trying with 5,000 packets could take a 377 00:33:40,560 --> 00:33:42,180 few minutes. Trying with 100 packets could take a few 378 00:33:42,180 --> 00:33:46,400 seconds. So reading in those packets actually takes longer 379 00:33:46,400 --> 00:33:48,700 than the cracking once you have enough of them because it 380 00:33:48,700 --> 00:33:51,240 narrows down the statistical probability of what the key 381 00:33:51,240 --> 00:33:54,100 could be. You should totally enter this flag and see what 382 00:33:54,100 --> 00:34:03,000 happens. Ha. Oh, it's off the screen. WPA, that's a thing. 383 00:34:04,480 --> 00:34:10,660 And WPA2 which are different in no meaningful ways. WPA and WPA2, 384 00:34:10,660 --> 00:34:15,860 WPA1 versus WPA2 are standards given by the Wi-Fi alliance for 385 00:34:15,860 --> 00:34:21,380 interoperability testing. Basically, they require a 386 00:34:21,380 --> 00:34:25,480 different crypto and have optional the other crypto. So 387 00:34:25,480 --> 00:34:29,860 it's TKIP is required and CCMP is optional for version 1. And 388 00:34:29,860 --> 00:34:33,800 then CCMP is required and TKIP is optional for version 2. It's 389 00:34:33,800 --> 00:34:37,140 actually written into the standard 802.11i standard that 390 00:34:37,140 --> 00:34:40,440 you can use either one of those at any time. But it's pretty much 391 00:34:40,660 --> 00:34:43,380 just, you know, this one is kind of backwards compatible. This 392 00:34:43,380 --> 00:34:46,700 one is less backwards compatible. Although, you know, 10 plus 393 00:34:46,700 --> 00:34:50,200 years after it happening, you really, really, really, really, 394 00:34:50,200 --> 00:34:54,960 really want AES CCMP. You want WPA2 because the other ones 395 00:34:54,960 --> 00:34:57,040 finally showed some vulnerabilities and some flaws 396 00:34:57,040 --> 00:35:00,400 and it's just plain slower because all the Wi-Fi chips have 397 00:35:00,400 --> 00:35:06,520 a crypto accelerator for AES on them. So in as few words as 398 00:35:06,520 --> 00:35:10,240 possible, you need to see an association with an access 399 00:35:10,240 --> 00:35:15,560 point. Either you are forcing it or it happens by itself. At 2 400 00:35:15,560 --> 00:35:20,020 o'clock in the morning at Phil company name here, if there's 401 00:35:20,020 --> 00:35:21,900 absolutely nobody there, there's not going to be any 402 00:35:21,900 --> 00:35:24,860 associations or clients to knock off and let it back on. It's 403 00:35:24,860 --> 00:35:27,540 also a rough time for social engineering. You know, when the 404 00:35:27,540 --> 00:35:29,800 whole place is closed and the lights are off, you're not going 405 00:35:29,800 --> 00:35:33,240 to get in by sweet talking somebody who doesn't exist. And 406 00:35:33,240 --> 00:35:36,780 if you show up at 7 a.m. when everybody starts coming to work, 407 00:35:37,280 --> 00:35:39,880 you don't have to be loud and proud and do any kind of deoths. 408 00:35:40,580 --> 00:35:42,420 Everybody's going to hook up and you're going to see an 409 00:35:42,420 --> 00:35:46,740 association. Weird. The early bird gets the handshake? That's 410 00:35:46,740 --> 00:35:49,960 what I heard. Cool. Bring a breakfast burrito. That's how 411 00:35:49,960 --> 00:35:52,780 that goes, right? The early bird gets the handshake? Yeah. 412 00:36:00,200 --> 00:36:05,860 You want it or you want me. All right. So, what is unique 413 00:36:05,860 --> 00:36:10,220 about the network? Pre-shared key. We're going to talk about 414 00:36:10,240 --> 00:36:17,320 that. So, the vulnerability is the pre-shared key. If you can 415 00:36:17,320 --> 00:36:20,420 grab enough of the handshake, you can run a word list against 416 00:36:20,420 --> 00:36:24,180 it. And if it is in that word list, you will be successful. 417 00:36:24,520 --> 00:36:29,400 So, the vulnerability is you. I mean, let's be fair. Passwords 418 00:36:29,400 --> 00:36:34,060 suck. We suck. Even amongst our team, we've been cracking each 419 00:36:34,060 --> 00:36:38,900 other's handshakes because it's funny and we're lazy. Passwords 420 00:36:38,900 --> 00:36:43,480 are awful. The standard specifically says from 10 plus 421 00:36:43,480 --> 00:36:47,560 years ago, if this isn't at least 20 characters and not in the 422 00:36:47,560 --> 00:36:52,700 dictionary, then it's not even close to secure. Password is 8 423 00:36:52,700 --> 00:36:55,100 characters long, which is the minimum that the standard allows 424 00:36:55,100 --> 00:36:58,340 and it will get you into way more networks than you think it 425 00:36:58,340 --> 00:37:02,800 does. Why, I don't know. Just because it's the simplest 426 00:37:02,800 --> 00:37:05,640 possible thing. Password 1, capital P, also works great. 427 00:37:07,020 --> 00:37:08,880 Usually for the open network, you have to have a password. 428 00:37:11,500 --> 00:37:16,320 It's probably the company name. It's probably on a post-it next 429 00:37:16,320 --> 00:37:20,520 to the secretary's desk or on the wall, too. Again, we are the 430 00:37:20,520 --> 00:37:23,880 vulnerability in WPA primarily. This is not a password-cracking 431 00:37:23,880 --> 00:37:26,780 class. There are guys that do heavy crypto and they can do 432 00:37:26,780 --> 00:37:29,880 really cool stuff. But the vast majority of the cool stuff is 433 00:37:29,880 --> 00:37:33,680 like permutations off of a word list that a human being might 434 00:37:33,680 --> 00:37:37,180 type because we're incompetent. There's no real vulnerability 435 00:37:37,180 --> 00:37:38,880 here. There's throwing in a word list. There's no real vulnerability 436 00:37:38,900 --> 00:37:40,980 here. There's throwing huge expensive amounts of compute 437 00:37:40,980 --> 00:37:44,100 resources against something that is resistant to specifically 438 00:37:44,100 --> 00:37:48,100 that and that just happening to get lucky because people suck. 439 00:37:48,560 --> 00:37:52,180 If you take a password out of like a line from your favorite 440 00:37:52,180 --> 00:37:56,280 show or your favorite song and it's nice and long, in this 441 00:37:56,280 --> 00:37:59,800 case, length is all that matters. You really, 63 442 00:37:59,800 --> 00:38:03,780 characters are shorter and you really, you'll never get cracked 443 00:38:03,780 --> 00:38:06,620 with this stuff. I mean, I could just use WPS. Yeah, don't use 444 00:38:06,620 --> 00:38:08,880 WPS. I mean, I could just use WPS. I mean, I could just use 445 00:38:08,900 --> 00:38:10,840 WPS. Oh, that's weird. I don't want to type all that in. 446 00:38:10,960 --> 00:38:13,320 And who here's been in a conference where they say like, 447 00:38:13,400 --> 00:38:19,880 connect to our secure Wi-Fi and it's open? Or an airport or a 448 00:38:19,880 --> 00:38:23,220 hotel. My other favorite is you go to a conference and they're 449 00:38:23,220 --> 00:38:26,820 like, okay, the pre-shared key is this. If they put the pre- 450 00:38:26,820 --> 00:38:32,260 shared key on a sticky note, how much does that do? All you need 451 00:38:32,260 --> 00:38:35,760 to do is put that pre-shared key right into wire shark and it 452 00:38:35,760 --> 00:38:38,880 will decode all of the traffic, decrypt all of the traffic for 453 00:38:38,900 --> 00:38:44,560 for everybody for you. Because that is the only thing that is missing in unlocking the 454 00:38:44,560 --> 00:38:48,460 crypto. That's the key, that's the whole key, that's everything about the key. And then you 455 00:38:48,460 --> 00:38:53,600 can decrypt everybody's traffic. You can also put up your own network. Here I am, DEF CON 456 00:38:53,600 --> 00:38:57,320 pre-shared key. I make one too because I know the pre-shared key and then you're on my 457 00:38:57,320 --> 00:39:03,140 network just the same. Pre-shared key is the only thing that secures you. It's right there in 458 00:39:03,140 --> 00:39:07,620 the name. Pre-shared key. As soon as it's known, it's like pre-shared public 459 00:39:07,620 --> 00:39:15,960 information. It's like posting your face next to your driver's license on Twitter. Yay, flow. I 460 00:39:15,960 --> 00:39:24,020 love flow. Make sure you reconfigure your test network from web to WPA now. If you were 461 00:39:24,020 --> 00:39:30,960 following along to hack the test networks, your card should already be. Oh, bribes. We'll be 462 00:39:30,960 --> 00:39:33,780 there in a few minutes if you don't mind. We're just going to finish this talk real quick. 463 00:39:34,240 --> 00:39:37,580 And we're done. Thank you for coming. 464 00:39:41,240 --> 00:39:48,580 Sir, we were kidding. Sir, you can sit back down. We were kidding. Okay, bye. Yeah, 465 00:39:48,600 --> 00:39:54,420 there you go. Thank you. Make friends. Free seat. So the flow we're going to go through, we 466 00:39:54,420 --> 00:39:57,660 need to find the networks again, we need to identify what's going on, we need to start 467 00:39:57,660 --> 00:40:05,200 collecting on the access point and the client. We are creating that association. We want to hurry 468 00:40:05,200 --> 00:40:11,160 up this process. We don't want to watch it happen organically. We want the handshake now. 469 00:40:11,840 --> 00:40:16,460 We're going to do a deauth. You need to catch that handshake and then we're going to crack 470 00:40:16,460 --> 00:40:22,280 it. And it's a crypto contest at that point. Again, we're talking about the reliable way to 471 00:40:22,280 --> 00:40:26,960 do it where you send a deauth and they reauthenticate. But there is also the lazy or 472 00:40:26,960 --> 00:40:31,340 quiet way of doing it where you just kind of show up and hang out outside the wireless 473 00:40:31,340 --> 00:40:36,020 village waiting for us to turn on our equipment in the morning before we open the door. That 474 00:40:36,020 --> 00:40:40,600 works at the office, too. You show up at 6 o'clock. You sip your coffee in the car while 475 00:40:40,600 --> 00:40:44,740 sniffing. Everybody else shows up. They authenticate. You didn't send a single packet. 476 00:40:44,880 --> 00:40:48,840 You were dead silent and you've got 100 handshakes. Everybody does Kali Linux. What is 477 00:40:48,840 --> 00:40:56,120 it? The quieter you are, the louder everything is or something? Who has a Kali tattoo? 478 00:41:02,900 --> 00:41:08,580 So same thing. You do your initial scan. You want to see what's going on in the air. You say, 479 00:41:08,640 --> 00:41:15,380 you know what, I want to go after WCTF00 or the pretty fly for a Wi-Fi that you want to go 480 00:41:15,380 --> 00:41:25,300 after. So. Who spelled cipher like that? Was that you? That's not me. That was me. Oh, 481 00:41:25,300 --> 00:41:30,920 my God. You suck. Get off the stage. Good. I'm going to go eat pizza. That's not okay. Get 482 00:41:30,920 --> 00:41:36,140 off the stage for this whole slide. I will do pizza. You can't talk anymore. Okay. So WPA, 483 00:41:36,360 --> 00:41:40,040 what is the cipher? This is something that air crack will tell you or arrow dump will show you 484 00:41:40,040 --> 00:41:45,600 right in there. Kismet will show you right as well. TKIP is a very vulnerable cipher because 485 00:41:45,600 --> 00:41:50,720 it's based on RC4 and all it does is cycle the keys that are in use for the crypto. But it's 486 00:41:50,720 --> 00:41:55,020 still basically web. They just cycle the keys fast enough that you can't run that 487 00:41:55,020 --> 00:42:00,820 statistical attack on it anymore. AESCCMP, again, faster, better. Crypto acceleration. 488 00:42:00,820 --> 00:42:05,980 Accelerator right on the card. And really nice. So definitely use that. But if you don't, 489 00:42:05,980 --> 00:42:09,720 there's some cool DOS attacks you can use. They're in MDK3. I'm not going to say much more about 490 00:42:09,720 --> 00:42:15,360 that because DOS is, well, probably the reason I'm getting 7K a second. Thanks, kiddies. 491 00:42:16,040 --> 00:42:20,400 And is there a client connected? Again, with no client, there is no handshake. With no 492 00:42:20,400 --> 00:42:24,220 handshake, there is no cracking. I'll talk a little bit at the end of this about the fact that 493 00:42:24,220 --> 00:42:29,560 that may or may not be true anymore. But that's what's really important. All right. When you're 494 00:42:29,560 --> 00:42:30,780 done with your pizza, you can come back up. 495 00:42:30,820 --> 00:42:39,160 You can see here the cipher, CCMP, or TKIP. And those will be more or less it doesn't make a huge 496 00:42:39,160 --> 00:42:43,020 difference to you unless you want to run a DOS attack or you want to optimize your network to 497 00:42:43,020 --> 00:42:55,500 suck less. So, again, deauth. Packet. Normally the Wi-Fi card handles replaying for you. 498 00:42:55,780 --> 00:43:00,800 There's a very, very sensitive ACK system in Wi-Fi where I say, hey, dude, I'm not going to 499 00:43:00,800 --> 00:43:05,100 see you, dude. And you say ACK. And I say, it's great to see you, dude. And you say ACK. And I 500 00:43:05,100 --> 00:43:09,700 know that you got every single packet because you have to ACK each one of them individually. In 501 00:43:09,700 --> 00:43:14,880 monitor mode, we completely ignore that. So I can set a deauth and I will not know if you ACK it 502 00:43:14,880 --> 00:43:30,780 or not. So normally we send, like, a few. In this case, it's 100 is what we tell it to send. Aircrack 503 00:43:30,780 --> 00:43:36,540 has 6400 deauth packets, which is not very stealthy. But it does work pretty well. The 504 00:43:36,540 --> 00:43:43,400 important thing is, is setting zero here will deauth forever. And if you don't stop 505 00:43:43,400 --> 00:43:52,060 deauthing, there will not be a reassociation. And no cake at the party. No, but seriously, 506 00:43:52,240 --> 00:44:00,760 there's no cake at the party. And at this point, with the WCTF, we're going to have a 507 00:44:00,780 --> 00:44:07,540 word list because it becomes a crypto contest. How sucky is your password? And if it's 508 00:44:07,540 --> 00:44:13,720 sucky enough, if you have a sufficient password, you will crack it. Or if you have a sufficient 509 00:44:13,720 --> 00:44:17,820 word list, it will crack it. Aircrack is a great tool for cracking. It is reasonably 510 00:44:17,820 --> 00:44:21,920 accelerated. It's been accelerated more and more. These last couple of releases have been 511 00:44:21,920 --> 00:44:27,100 mostly about optimizations, new CPU architectures that speed these things up. And when you're 512 00:44:27,100 --> 00:44:30,760 cracking with a few meg word lists, that's fine. When you start getting into, you know, 513 00:44:30,760 --> 00:44:35,600 I want to do permutations of dictionary attacks and crazy stuff like that, both John the Ripper 514 00:44:35,600 --> 00:44:42,320 and Hashcat support WPA formats and they're very accelerated GPU clusters. And, like, you can 515 00:44:42,320 --> 00:44:46,640 absolutely crack all this that we're doing on, like, an Intel Atom from five years ago that's 516 00:44:46,640 --> 00:44:52,120 pink that you bought at Walmart for 200 bucks. But if you want to do real work, most of these 517 00:44:52,120 --> 00:44:57,440 people have, like, X number of GPU clusters that cost half a million dollars and need their own 518 00:44:57,440 --> 00:45:02,620 AC units. You can just do AWS. Yeah, you can do AWS. It doesn't actually cost all of your 519 00:45:02,620 --> 00:45:14,240 money, just all of it but a dollar. Oh, boy. MDK3 is for being a jerk. That is the primary 520 00:45:14,240 --> 00:45:19,240 purpose of the tool. It is for testing things. We started off testing this morning by running a 521 00:45:19,240 --> 00:45:23,700 beacon flood attack at 1,000 packets per second. You're welcome. And nobody's network 522 00:45:23,700 --> 00:45:27,420 manager was working. It was really weird. You'd think they'd test this crap. You'd think they'd test 523 00:45:27,420 --> 00:45:34,560 this crap, Lennart. Is Lennart pottering here? No. Okay. Running everything through D bus wasn't 524 00:45:34,560 --> 00:45:41,000 actually the best idea. Anyway, it's really important to test things and this is a tool 525 00:45:41,000 --> 00:45:45,800 specifically for testing protocol abuses. Sending thousands of beacon packets is very abnormal and 526 00:45:45,800 --> 00:45:52,100 it makes things crash. It makes things very unhappy. It makes sniffers very unhappy if you're 527 00:45:52,100 --> 00:45:56,220 not doing proper filtering to make sure you're only capturing the things you care about which is 528 00:45:56,220 --> 00:45:57,180 why we stressed on. 529 00:45:58,120 --> 00:46:04,960 Filtering is good. You can run deauth attacks with this. You can run very targeted deauth attacks 530 00:46:04,960 --> 00:46:11,100 with this. You can run very untargeted deauth attacks with this. It is a useful tool and I 531 00:46:11,100 --> 00:46:15,960 encourage you strongly to test it at home and not on your neighbors and I really, really mean 532 00:46:15,960 --> 00:46:21,700 that because as it turns out when you do a small city block people eventually get upset. That 533 00:46:21,700 --> 00:46:27,160 was my job for a little while. Yes, that is somebody's job if you run like a persistent deauth attack. 534 00:46:28,180 --> 00:46:34,100 They will actually fly out some asshole with a directional antenna and I will find you. 535 00:46:34,920 --> 00:46:39,340 Typically with the police in tow because I'm not that big. I just seem that big because I'm on 536 00:46:39,340 --> 00:46:47,300 this stage. I'm 24 inches shorter than this really. So running the fog of war last night, the 537 00:46:47,300 --> 00:46:52,440 team showed up early to try and see if they could catch off of us and in a short amount of time I 538 00:46:52,440 --> 00:46:57,160 gave them a gig and a half of garbage. Free word list. That's it. That's it. That's it. That's it. 539 00:46:57,160 --> 00:47:07,300 Yes, I with the correct flags I used old word list from previous WCTFs and I sent out all the 540 00:47:07,300 --> 00:47:17,280 thousands of words from those word lists as beacons. So dash dash help gives you a little bit. 541 00:47:17,540 --> 00:47:24,080 Tells you what the initial flags are like a dash A dash B dash C or just A B C and then dash 542 00:47:24,080 --> 00:47:27,140 dash full help drops a bunch of extra things underneath the flag. So that's it. That's it. So 543 00:47:27,160 --> 00:47:27,540 I want to talk about some of the things that I'm going to be talking about with those sections 544 00:47:27,540 --> 00:47:33,400 and categories to let you know what other things you can add to those to either be more specific 545 00:47:33,400 --> 00:47:41,740 or be more aggressive. All right. I'm going to spend the last few minutes because I didn't 546 00:47:41,740 --> 00:47:45,520 bother to develop any slides because none of my challenges were working until right before this 547 00:47:45,520 --> 00:47:50,380 talk. But I want to talk about the new stuff. I want to talk about the elephant in the room and 548 00:47:50,380 --> 00:47:55,740 that is Adam from the Hashcat team. He's an elephant. I mean, an 800-pound gorilla. I mean, 549 00:47:55,740 --> 00:47:59,320 dude's awesome, right? He makes this sweet password cracker and he's got a whole bunch of 550 00:47:59,320 --> 00:48:04,600 team members that actually understand crypto as opposed to, say, me. So while I am zero 551 00:48:04,600 --> 00:48:10,360 chaos, there's this dude, ZeroBeat. Yeah, ZeroBeat, who actually was going through looking 552 00:48:10,360 --> 00:48:16,780 for a haul in WPA3 and failing that, accidentally found one in WPA2 and publicly released it. 553 00:48:16,900 --> 00:48:20,880 He swears there's more coming and I want to be his friend so hopefully he'll tell me all 554 00:48:20,880 --> 00:48:26,440 about them. But about last week, I guess last week, there was a big announcement, you know, 555 00:48:26,440 --> 00:48:32,080 here's a random hashcat forum post, not, you know, anything flashy, but they released an 556 00:48:32,080 --> 00:48:36,920 attack on the PMK ID. They didn't name it and give it like a logo? Yeah, there was no 557 00:48:36,920 --> 00:48:42,280 logo. There was no name. It's like these people aren't douchebags. It's weird. Right? 558 00:48:42,640 --> 00:48:50,860 They could have called it PM Crack. Okay, we'll name this later in logo contest. But 559 00:48:50,880 --> 00:48:56,580 anyway, 50 points in the capture the flag logo contest. Coolest logo and name and we'll send it 560 00:48:56,580 --> 00:49:00,680 over to Adam and his guys so they can feel special. That way we can get them in the press, you 561 00:49:00,680 --> 00:49:04,320 know, because you can't get a vulnerability in the press without a logo and a vulnerability 562 00:49:04,320 --> 00:49:09,160 name. So, anyway, they came out with this attack and it's a really interesting attack. It's 563 00:49:09,160 --> 00:49:15,980 basically attacking the fact that the access points send you the same information as the 564 00:49:15,980 --> 00:49:20,860 handshake to negate the need for the handshake. So it's part of, I don't know, the 565 00:49:20,860 --> 00:49:27,760 high-speed roaming protocols, things called opportunistic key caching or 807R will pass the 566 00:49:27,760 --> 00:49:37,140 PMK ID and the PMK ID is a known set of publicly available information plus the master key, which 567 00:49:37,140 --> 00:49:42,520 you can then run a standard dictionary attack against just the same as you could before. The 568 00:49:42,520 --> 00:49:48,400 difference is this is sent out when roaming is enabled on these access points in the first part of 569 00:49:48,400 --> 00:49:54,280 the handshake. The way the handshake works is I'm a client and I say, I want to connect to you, Mr. 570 00:49:54,360 --> 00:49:59,460 AP, and the AP says, here's your challenge and it includes everything I need to crack the key. 571 00:50:01,540 --> 00:50:07,180 That might have been a poor design choice. It's a feature. It is a feature. It speeds up the 572 00:50:07,180 --> 00:50:12,100 process because I can say, oh, we already have a PMK negotiated. We don't need to do this 573 00:50:12,100 --> 00:50:18,300 anymore. I'm just going to start sending data at you. But it also works as an attacker. Because, 574 00:50:18,400 --> 00:50:25,380 the very first packet contains everything I need, I can now illegitimately try to connect to an 575 00:50:25,380 --> 00:50:29,720 access point and it will send me everything I need to crack it, whereas before we had to wait 576 00:50:29,720 --> 00:50:34,180 for a legitimate client to go back and forth with the access point and then we capture that and 577 00:50:34,180 --> 00:50:39,080 crack that. So it is a very interesting attack, but for a couple of reasons the sky isn't 578 00:50:39,080 --> 00:50:44,000 falling. Number one, on a pre-shared key network there's literally no reason for that to 579 00:50:44,000 --> 00:50:48,160 happen. It's just something that's completely unnecessary. There are a few 580 00:50:48,160 --> 00:50:55,320 implementations that do. And those will probably be fixed shortly. But even still, it's not a new 581 00:50:55,320 --> 00:51:04,000 vulnerability. It's just saving you watching that client. You can force a handshake basically for 582 00:51:04,000 --> 00:51:07,820 yourself as opposed to waiting for a legitimate client. Which again, at 2 a.m. when you're 583 00:51:07,820 --> 00:51:12,300 hacking your neighbor is a legitimately helpful thing, I guess. But when you're attacking a 584 00:51:12,300 --> 00:51:16,500 corporation or something like that, you know, when you do this for a living, this is just 585 00:51:16,500 --> 00:51:18,140 unnecessary because you get what you want. So it's a very interesting attack. It's a very 586 00:51:18,140 --> 00:51:23,500 legitimate handshake. It is slightly optimized in that a lot of times you get bad packets 587 00:51:23,500 --> 00:51:27,860 because the error is like that. You're not literally in between the access point and the 588 00:51:27,860 --> 00:51:33,200 client. So sometimes your packet gets corrupted and theirs didn't and you miss things. So this is 589 00:51:33,200 --> 00:51:39,180 a nice, reliable way to crack the key. And that's a great improvement as well. But it's not 590 00:51:39,180 --> 00:51:44,740 going to speed up the cracking. It's still a dictionary attack. And it's, again, it's really 591 00:51:44,740 --> 00:51:48,120 cool, but the sky did not fall. So I think that's a really cool thing to do. So that's a 592 00:51:48,120 --> 00:51:50,520 really cool thing to do. I think that's an important thing to note. It's also a very 593 00:51:50,520 --> 00:51:55,940 interesting attack against EAP networks. All networks, including the enterprise ones, use a 594 00:51:55,940 --> 00:52:01,640 PMK. They just derive it differently. And the PMK ID is sent for those networks as well. The 595 00:52:01,640 --> 00:52:06,920 difference is the PMK changes constantly on an EAP network, on an enterprise network. So by 596 00:52:06,920 --> 00:52:12,660 the time you crack it, it's worthless. Also in that case, you're cracking a 64 character key 597 00:52:13,130 --> 00:52:17,080 because it's generated by the enterprise network rather than a human. And that's definitely a 598 00:52:17,080 --> 00:52:17,960 thing. So. 599 00:52:19,060 --> 00:52:30,120 Next. I still have like two minutes, right? Allegedly. Cool. A minute or so. WPA3. Your 600 00:52:30,120 --> 00:52:37,920 prayers have been answered. Almost. You can do IOT things with this. Oh, my God. The IOTs. 601 00:52:37,920 --> 00:52:45,500 That's so cool. I love the IOTs. I want to capture some packets. So WPA3 has been a long time 602 00:52:45,500 --> 00:52:50,420 coming. And when the cracks came out, the crack attacks came out earlier this year in the 603 00:52:50,420 --> 00:52:56,920 fall, people immediately jumped on to say, like, oh, cool, we've been working on WPA3 forever. 604 00:52:57,300 --> 00:53:02,400 What they meant to say was there was a bunch of standards that had been sort of informational 605 00:53:02,400 --> 00:53:09,240 RFCs for years that were implemented by various people, WPA supplicant and host APD, 606 00:53:09,340 --> 00:53:15,480 notwithstanding. You better have brought Club Monte and a hug. Or at least a hug. And I think 607 00:53:15,480 --> 00:53:19,460 that's what they meant. Anyway. I don't see any Monte, so I'm just going to keep giving my 608 00:53:19,460 --> 00:53:29,640 talk. So WPA3 has a bunch of standards that were generally kind of released but not standards 609 00:53:29,640 --> 00:53:34,100 tracked. They were like informational RFCs that were used for mesh mode and things like that. 610 00:53:34,220 --> 00:53:39,520 And they're not really brand new. The brand new part is that they're actually doing 611 00:53:39,520 --> 00:53:45,400 interoperability testing. They're doing interoperability testing to prove this stuff 612 00:53:45,480 --> 00:53:54,100 all works together. And it is really ‑‑ I broke my mic. Thanks, Ronnie. Anyway. Broke my mic. 613 00:53:54,200 --> 00:54:02,440 And then she leaves. Like all women. Oh, I'm sad. Where was I? WPA3 has a new handshake. 614 00:54:02,520 --> 00:54:06,320 I guess they're trying to kidnap somebody. Volunteer for that. Yeah, I know. I'll see you 615 00:54:06,320 --> 00:54:13,560 next time with the Club Monte, okay? Thank you. I miss you. Miss Club Monte, too? I had a 616 00:54:13,560 --> 00:54:18,240 bunch in Germany. So the handshake has changed. The main difference being that the handshake for 617 00:54:18,240 --> 00:54:24,580 WPA is attackable offline. And that means I can capture the handshake and I can run it on my 618 00:54:24,580 --> 00:54:31,580 high‑speed cracker. The handshake for WPA3 is defined by ‑‑ I think ‑‑ it's an 619 00:54:31,580 --> 00:54:36,700 informational RFC and then it's used a lot in 802.11 S for mesh mode devices. It's a zero 620 00:54:38,660 --> 00:54:43,540 knowledge handshake, which basically means that you're doing a full I'm not sharing my 621 00:54:43,560 --> 00:54:49,140 anything about the key, but I'm proving in a way I have it that you can also prove that you 622 00:54:49,140 --> 00:54:54,360 have it. And then we're, like ‑‑ it's some of that spooky shit that, again, not math guy, 623 00:54:54,500 --> 00:54:59,120 don't understand. But the whole point is it's supposed to be resistant to offline attacks. You 624 00:54:59,120 --> 00:55:03,440 shouldn't be able to attack it the way we're attacking things now. And an online attack means 625 00:55:03,440 --> 00:55:08,100 you're literally, like, trying every password against the access point one at a time until it 626 00:55:08,100 --> 00:55:13,540 takes one, which, as it turns out, is slower. And obvious. So, yeah. So, yeah. So, yeah. So, 627 00:55:13,540 --> 00:55:18,300 you can walk into a room and say, who are you looking for? Oh, you're looking for John? I'm 628 00:55:18,300 --> 00:55:22,000 John. But you can't walk into a room and say, you're looking for John? You're looking for 629 00:55:22,000 --> 00:55:27,320 Frank? Sam? Sally? I'm Sally. It doesn't work. Right? You can't just keep doing that over 630 00:55:27,320 --> 00:55:30,740 and over again. Maybe to your neighbor you can, but certainly not to a corporation or an 631 00:55:30,740 --> 00:55:35,380 enterprise. It's just not going to work. So the whole idea is to improve that handshake 632 00:55:35,380 --> 00:55:40,380 mechanism, which was so broken. They also added in a few things which, sadly, are more 633 00:55:40,380 --> 00:55:45,400 optional than I'd like them to be. They added in 802.11w being part of the requirements. 634 00:55:45,700 --> 00:55:49,460 The requirement is you must optionally support it, which isn't really much of a freaking 635 00:55:49,460 --> 00:55:54,960 requirement. 802.11w is the signing of the deauth packets so that people like me can't just 636 00:55:54,960 --> 00:56:01,000 make a million of them. Or more likely people like you. Yeah. I see you with that big antenna. 637 00:56:03,400 --> 00:56:06,660 Adding in those kinds of things to the standard makes the whole thing a little bit more 638 00:56:06,660 --> 00:56:10,360 robust, takes care of the problems that we have today, and helps us move forward. So, yeah. So, 639 00:56:10,360 --> 00:56:14,340 we're going to move forward. WPA hasn't changed much in the last ten years or so, but there 640 00:56:14,340 --> 00:56:17,940 have been a couple of add-on standards that really made a difference. So all this is, is 641 00:56:17,940 --> 00:56:22,420 wrapping them in a nice little interoperability standard to allow us to actually take advantage 642 00:56:22,420 --> 00:56:25,560 of it. Because although things like management frame protection have been around forever, 643 00:56:27,100 --> 00:56:31,360 things don't support it. Especially home access points don't support it. You can't just check 644 00:56:31,360 --> 00:56:35,800 that box. Even on OpenWRT, you can't just check that box. You have to go into the config 645 00:56:35,800 --> 00:56:40,300 file. I know. A config file. I don't read the paperwork. And set it. It's 646 00:56:40,300 --> 00:56:46,580 hard. There's no little gooey. Okay? It should be on by default. It should be on by 647 00:56:46,580 --> 00:56:54,400 default. It will be on by default. And that's my promise to you. So it's trying to solve a lot of 648 00:56:54,400 --> 00:56:57,340 the problems that we're having today. And hopefully it's going to do a really good job. But as 649 00:56:57,340 --> 00:57:02,080 of right now, nothing supports it. And I don't think anybody has actually passed the tests. And 650 00:57:02,080 --> 00:57:09,520 quite frankly, Linux sure as shit doesn't. So good luck, folks. Thanks for playing. And with 651 00:57:09,520 --> 00:57:10,280 that, I'll take a small bow. 652 00:57:11,780 --> 00:57:12,080 Thank you.