1 00:00:00,000 --> 00:00:00,960 All right. 2 00:00:00,960 --> 00:00:01,560 Hey, everybody. 3 00:00:01,560 --> 00:00:02,920 My name is Eric Escobar. 4 00:00:02,920 --> 00:00:05,940 Thank you for looking at my corporate slides that allow me to come to DEF CON. 5 00:00:05,940 --> 00:00:07,060 I really appreciate it. 6 00:00:07,060 --> 00:00:10,000 This is what allows me to come here and have fun with all of you. 7 00:00:10,560 --> 00:00:17,160 So I'm going to talk about a subject that might be like, you know, kindergarten level to a lot of you, but to a lot of my clients, it's not. 8 00:00:17,180 --> 00:00:24,200 And so I feel the need to do a talk and kind of walk through a lot of the different aspects of what I do on a day-to-day basis. 9 00:00:24,660 --> 00:00:32,040 So this talk is going to be about evading or if you are a rogue access point, how to evade detection from a WIPS or a WID system. 10 00:00:32,040 --> 00:00:33,480 And we'll talk about all of that. 11 00:00:34,380 --> 00:00:38,040 So you are probably watching this wondering, who is this nerd? 12 00:00:38,040 --> 00:00:39,100 A lot of you know me. 13 00:00:39,100 --> 00:00:42,220 Thank you for coming to my talk, because no one else is going to be at my talk. 14 00:00:42,300 --> 00:00:43,480 Thank you for the alcohol. 15 00:00:44,660 --> 00:00:49,400 So I did not start out as a hacker, so the imposter syndrome is super real. 16 00:00:49,440 --> 00:00:52,120 I went to school to be a professional civil engineer. 17 00:00:52,280 --> 00:00:58,420 And I know that this probably doesn't fit with the talk, but I started coming to the Wireless Village not knowing anything at all. 18 00:00:59,020 --> 00:01:01,280 And then years later, here I am, you know, talking about this. 19 00:01:01,280 --> 00:01:02,660 I do it professionally now. 20 00:01:02,660 --> 00:01:15,000 And I say all of that because I've met a lot of first-time DEF CON attendees, and I just want to tell everybody out there, just do one thing, meet a bunch of people, because this is how you're going to get a career and a job in this field, or just make a bunch of friends, 21 00:01:15,000 --> 00:01:15,720 which I have. 22 00:01:15,720 --> 00:01:18,880 Some of my best friends I've made just by hacking and breaking into stuff. 23 00:01:18,880 --> 00:01:29,500 So I say that all to say, get involved in something, do something, because I used to just play the CTF, now I'm a Village member, and this got me a job in pen testing, so I highly recommend it. 24 00:01:29,500 --> 00:01:33,600 It's a ton of fun, and I can't believe they pay me to do some of the stuff that I do. 25 00:01:35,600 --> 00:01:38,360 So I come at this from wireless security, right? 26 00:01:38,360 --> 00:01:42,080 So I like to do wireless penetration testing, that's the thing that I do. 27 00:01:42,080 --> 00:01:54,480 However, we don't get that much wireless pen testing because a lot of our clients say, hey, we just need an external penetration test on our corporate firewalls, or hey, we just need an internal penetration test, or hey, we have a custom web app, can you take a look at that? 28 00:01:54,480 --> 00:01:58,600 And those are the top three that all of our clients say, hey, we want to check this, this, this, and this. 29 00:01:58,660 --> 00:02:02,880 And then I ask them, well, are you interested at all in a wireless test? 30 00:02:02,980 --> 00:02:06,060 And they're like, what could you even really do with our wireless? 31 00:02:06,540 --> 00:02:12,820 We have certs on everything, or we have a really strong wireless password, what's the worst that could happen? 32 00:02:13,120 --> 00:02:23,200 And that's where the fun begins, because for me, the whole wireless security aspect is a decade behind where external and internal penetration testing stuff comes from. 33 00:02:23,200 --> 00:02:29,520 Uh, in this picture, if anybody's interested, this is one of these 3D printed, like, raspberry pies that we throw in our pockets. 34 00:02:29,520 --> 00:02:42,540 So, we built this originally for the, uh, capture the flag for finding foxes, because foxes, uh, if anybody's chasing foxes, they are well aware of what wireless antennas look like, and that spooks foxes. 35 00:02:42,540 --> 00:02:49,760 Um, and so if you're trying to catch them, putting something like that in your pocket with like a 10,000 milliamp hour battery is a really good way to not be detected. 36 00:02:51,060 --> 00:02:58,620 Uh, and one of the other things, meeting a lot of first kind Defcon attendees, they ask, oh my gosh, like this hardware is thousands of dollars, how can I even compete? 37 00:02:58,620 --> 00:03:00,360 How could I even hope to do anything? 38 00:03:00,460 --> 00:03:05,260 Uh, and really, like, when I got started, it was like less than $100 worth of gear off of Amazon. 39 00:03:05,300 --> 00:03:08,720 Um, and you don't have to have, uh, anything fancy to do it. 40 00:03:08,720 --> 00:03:12,740 And when you're doing wireless testing, you don't need any internal access to do anything. 41 00:03:12,980 --> 00:03:23,800 And what's, what's also nice about it too is that, like, I can be sitting in a car, I can play some malicious device near a building, I don't have to get on a camera, I can stay out of sight, I can sit on a park bench. 42 00:03:23,800 --> 00:03:32,940 There was one time that I sat across the street from a bank that I was testing, uh, from a park bench, just, and I just looked like a, you know, casual run of the mill person just sitting there on a laptop. 43 00:03:33,280 --> 00:03:41,320 Uh, and it's one of those things that, that doing wireless basically allows you the ability to stay out of sight out of my, my slides are freaking out, sorry, hold on, give me a second. 44 00:03:41,580 --> 00:03:43,500 Uh, it gives you the ability to stay out of sight. 45 00:03:43,500 --> 00:03:50,440 And that's also why I like it too, because when you're doing some physical engagements or some, you know, red team-y like things, uh, you don't want to be seen. 46 00:03:50,440 --> 00:03:52,220 You don't want somebody to remember your face. 47 00:03:52,240 --> 00:04:00,160 COVID's actually made it a lot easier because all of our physical engagements, we now get to wear masks and can change out masks, which really helps a lot because nobody's going to remember this face, right? 48 00:04:00,220 --> 00:04:03,020 Uh, if anything, they'll remember my stature more than anything. 49 00:04:03,740 --> 00:04:05,720 Um, so basically what, what do I do with that, right? 50 00:04:05,720 --> 00:04:07,620 What do I do with this little device that's in my pocket? 51 00:04:07,760 --> 00:04:15,800 And everybody, when they hear like, oh, rogue access point, they're probably thinking, you know, a disc, they're thinking it's something that's placed, but it could just be something that's chilling in my pocket. 52 00:04:15,980 --> 00:04:30,140 And so I just basically SSH into that, uh, Raspberry Pi on my phone and I can just walk around like any other schmuck wearing flip-flop sitting in your hotel lobby or sitting in your cafeteria, um, you know, seeing if I can capture a handshake, seeing if I can capture, 53 00:04:30,140 --> 00:04:34,520 uh, credentials if I'm using, you know, something with, uh, uh, enterprise on it. 54 00:04:35,000 --> 00:04:40,360 And so again, this is all for the purpose of staying anonymous, staying out of sight, not getting caught, right? 55 00:04:40,360 --> 00:04:55,360 Uh, and also it's fun too, if you have a hotspot in your pocket, I'll routinely have somebody that is sitting at home in the comfort of their home with multiple screens and just the ability to be comfortable that can just watch all of this traffic from the inside of my pocket through a hotspot through open VPN. 56 00:04:55,360 --> 00:04:57,020 So I don't even need to be looking at my phone. 57 00:04:57,020 --> 00:05:00,600 They can just be in a, in an AirPod saying, Hey Eric, you should go back to that area. 58 00:05:00,600 --> 00:05:03,380 You should go circle back over here because there's a lot of clients over there. 59 00:05:03,380 --> 00:05:08,860 Um, so all of this stuff is to stay out of sight, out of mind so that you're not picked up and you don't look suspicious. 60 00:05:09,500 --> 00:05:15,240 Uh, so this is, we had a client that had an, uh, site that was several, several thousand acres. 61 00:05:15,240 --> 00:05:25,880 So we built out a bunch of like, like if, if you've ever talked to me, if you know me or talk to me after this, I love building random pieces of hardware or random, like, like hidden objects that hide and stuff. 62 00:05:25,880 --> 00:05:29,000 If any of you know what geocaching is, I'm super into geocaching. 63 00:05:29,000 --> 00:05:31,620 It's like hidden treasure hunts scattered across the world. 64 00:05:31,620 --> 00:05:36,340 Um, so building devices to hide other things is like one of the things that I absolutely love to do. 65 00:05:36,340 --> 00:05:44,840 So we built this backpack and actually we had to put the antennas on the outside of the backpack for the picture because otherwise it just looks like a normal backpack as we're walking through this several thousand acre site. 66 00:05:45,040 --> 00:05:47,520 Um, and so this is just one of them that we built. 67 00:05:47,520 --> 00:05:48,480 Uh, and this is a couple of years ago. 68 00:05:48,480 --> 00:05:56,220 So we have, we have a lot more radios now, more spread out, but, um, just to give you an idea, a rogue access point isn't like, uh, you know, a specific thing. 69 00:05:56,220 --> 00:06:01,720 It's, you'll know it when you see it or more importantly, you know, you'll, you'll see from your logs if you're looking at them. 70 00:06:02,500 --> 00:06:04,580 Uh, so again, here's just another picture of it. 71 00:06:04,660 --> 00:06:08,720 Um, and it, and it's nothing, it's nothing super simple or sorry, it's nothing super complicated. 72 00:06:08,740 --> 00:06:11,020 Literally just raspberry pies hooked up to some batteries. 73 00:06:11,020 --> 00:06:12,420 Again, we have better batteries now. 74 00:06:12,420 --> 00:06:15,680 Uh, we don't use raspberry pies now, but you can still use it. 75 00:06:15,680 --> 00:06:16,900 Again, they're super cheap. 76 00:06:16,900 --> 00:06:22,800 I guess raspberry, raspberry pies probably aren't super cheap now, but there are plenty of other boards on the market that you can use for something like this. 77 00:06:23,460 --> 00:06:31,580 Um, and so when I talk to a lot of our clients, they always ask, like, well, you know, typically they all have this finding that is, oh, hey, you never detected our rogue access points. 78 00:06:31,640 --> 00:06:39,080 Uh, and, and so the idea that I try and get across to them before even we do the penetration test is, hey, this is why rogue access points are dangerous. 79 00:06:39,160 --> 00:06:41,200 Um, you know, I can gain access to your network. 80 00:06:41,200 --> 00:06:42,520 I can gain access to credentials. 81 00:06:42,520 --> 00:06:50,620 I can have your users and your clients connect to my devices, my malicious devices, and then give me a wealth of information that they completely don't intend to. 82 00:06:50,620 --> 00:06:52,060 And it might just happen automatically. 83 00:06:52,540 --> 00:06:58,120 Um, and so really like the technical definition of it is it's basically any access point that you don't control. 84 00:06:58,120 --> 00:07:08,760 And so when you talk to a system administrator or network administrator that, you know, has all of these wireless access points, they might just have any network that's not their network going through their logs or, you know, that's popping up an alert. 85 00:07:08,780 --> 00:07:21,840 But you don't necessarily, like if you're somebody who's running like, like say you're just your typical home network, you really don't care if some, if your neighbor is standing up an access point that they're using for their house, but you would really care if somebody copied the same wireless network name, 86 00:07:21,840 --> 00:07:26,540 the same SSID as the network that you're running to potentially do something nefarious. 87 00:07:26,540 --> 00:07:33,940 And so those are things of, of looking at that spectrum of like what is technically a rogue access point versus what is a rogue access point that you actually care about. 88 00:07:34,300 --> 00:07:42,280 Um, and so we're going to obviously focus on the dangerous rogue access points because nobody cares if there's a printer out there that says, you know, HP setup or ATT Wi-Fi, right? 89 00:07:42,280 --> 00:07:43,660 Like what could go wrong with that? 90 00:07:44,260 --> 00:07:47,160 Um, so one of the tools that I use is Wi-Fi Fisher. 91 00:07:47,160 --> 00:07:50,760 Uh, if the developer of Wi -Fi Fisher is out there, uh, how's it going? 92 00:07:50,760 --> 00:07:51,060 Thank you. 93 00:07:51,060 --> 00:07:51,880 I appreciate the tool. 94 00:07:51,880 --> 00:07:53,300 I'll buy you a this. 95 00:07:53,300 --> 00:07:59,720 Um, but this tool basically just, uh, is a great way to, to gain, um, uh, typically PSK credentials. 96 00:07:59,720 --> 00:08:01,140 And so I'll show that in the next slide. 97 00:08:01,140 --> 00:08:03,240 This is just a sample window of what that looks like. 98 00:08:03,240 --> 00:08:06,160 Basically I stand up a rogue access point of like a known open network. 99 00:08:06,160 --> 00:08:14,280 So that might be like Starbucks Wi-Fi, ATT Wi-Fi, Xfinity, uh, T-Mobile, Wingman, just any of these common open Wi-Fi's that are out there, right? 100 00:08:14,400 --> 00:08:19,520 And devices, if they're not connected to Wi-Fi, they'll say, Hey, I've connected to that before. 101 00:08:19,620 --> 00:08:20,840 I'll connect to it again. 102 00:08:20,840 --> 00:08:23,640 And when they do so, uh, their traffic goes through me. 103 00:08:23,640 --> 00:08:24,720 I control that network. 104 00:08:24,720 --> 00:08:33,040 So then I can, you know, SSL strip their traffic, potentially see something in clear text, or I can just forward them to my own captive portal page that makes them type in some information. 105 00:08:33,460 --> 00:08:38,760 Uh, and when they type it into my webpage, since I control the webpage, I can see everything in clear text. 106 00:08:39,040 --> 00:08:52,520 Um, one of the really cool modules about this tool, Wi-Fi Fisher, is that it has the ability to look at the user agent of the device that you're using and make a captive portal page, uh, that like mimics what it would look like if you were offline or a captive portal. 107 00:08:52,580 --> 00:08:55,840 So if you look at the screenshot right here, this is their captive portal page. 108 00:08:55,840 --> 00:09:04,560 If you were to log in from a Windows 10 computer, what's interesting about that is that, oh, you know, if you've ever used Windows 10, you're probably used to this as far as like, Oh, I just need to type in my password right there. 109 00:09:04,620 --> 00:09:07,220 But this is all on the actual webpage itself. 110 00:09:07,220 --> 00:09:11,540 It's not actually on, uh, you know, it's not like popped up on your network manager. 111 00:09:11,540 --> 00:09:13,020 That would be on your Windows 10 device. 112 00:09:13,380 --> 00:09:15,580 And you know, how many users are going to fall for this? 113 00:09:15,840 --> 00:09:16,920 Probably not a lot. 114 00:09:17,040 --> 00:09:18,200 I just need one though. 115 00:09:18,200 --> 00:09:20,180 I just need one user to fall for it. 116 00:09:20,180 --> 00:09:26,720 And then I have a clear text PSK cred that I can then use to then access, you know, that network, uh, unencumbered. 117 00:09:26,720 --> 00:09:37,680 And so that's a lot of these things is that, you know, when I, when I talk about this stuff to people at the booth, they're like, Oh my gosh, but you know, nobody would ever do this or, uh, you know, this is so easy. 118 00:09:37,680 --> 00:09:38,940 I can't believe people fall for it. 119 00:09:38,940 --> 00:09:43,480 But at the end of the day, uh, not everybody is a supercomputer user, like everybody in this village. 120 00:09:43,480 --> 00:09:47,700 And that's who this talk is geared to just knowing what risks are out there, what to look for. 121 00:09:47,700 --> 00:09:52,640 And if you're a network administrator, you know, this is some, some of the, you know, attacks that we use to breach these networks. 122 00:09:52,820 --> 00:09:56,460 And again, this page is just generated by wifi Fisher, right? 123 00:09:56,460 --> 00:09:59,380 So if you submit your credential, I now have a clear text PSK. 124 00:09:59,380 --> 00:10:00,420 I don't even need to crack it. 125 00:10:00,420 --> 00:10:01,580 I don't need to do anything. 126 00:10:01,680 --> 00:10:09,520 Um, you know, I don't have to spin up all of our 3090 GPU rigs to try and, you know, try for a hundred years to crack a 15 character PSK. 127 00:10:10,840 --> 00:10:13,040 Uh, the other fun thing, I don't know where that slide went. 128 00:10:13,100 --> 00:10:21,580 So, uh, the other, so say you're not in a PSK network, say you're not in an open network, there's a bunch of super fun things that you can do as far as enterprise networks go. 129 00:10:21,900 --> 00:10:31,780 Uh, so obviously the gold standard of a, of an enterprise network is something that has, you know, uh, a custom profile set up with certificates so that the user doesn't type in their password or whatever that may be. 130 00:10:31,960 --> 00:10:35,900 Um, but there's a lot of old devices out there that still have to connect to these enterprise networks. 131 00:10:36,080 --> 00:10:43,660 Um, so when you use tools like e-pammer, uh, sycophant right there, just for you right there, stand up, say, hey, wave your hand. 132 00:10:43,660 --> 00:10:45,560 Um, or e-pammer with hostile portal. 133 00:10:45,560 --> 00:10:50,000 A lot of these tools, if your users connect to it, again, we control that network. 134 00:10:50,000 --> 00:10:53,300 So we can relay credentials, uh, you know, we can potentially downgrade it. 135 00:10:53,300 --> 00:10:57,120 So if somebody's GTC downgraded, I potentially get clear text credentials out of that. 136 00:10:57,160 --> 00:11:04,700 Or if it's e-pammer with hostile portal and responder running in the background, that's just, now it's turned into an internal penetration test, right? 137 00:11:04,700 --> 00:11:09,900 Um, and so all of these things gain us access to, you know, user credential, user information. 138 00:11:10,220 --> 00:11:12,640 And when you think about it, you're like, okay, great, Eric, so what? 139 00:11:12,640 --> 00:11:16,740 You get some user credentials, uh, they still require certificates to connect to that network. 140 00:11:16,920 --> 00:11:20,040 But at the end of the day, let's be real, you have user credentials. 141 00:11:20,040 --> 00:11:22,600 How many companies have a perfect MFA setup? 142 00:11:22,620 --> 00:11:27,500 How many companies have a setup that is, you know, looking for these types of attacks? 143 00:11:27,500 --> 00:11:40,260 When you have user credentials, the, the, the bar from going from no access to like, oh, I could be domain admin in a couple of days, uh, or potentially the day that you got that credential are pretty darn high. 144 00:11:40,260 --> 00:11:43,060 And that's something that your clients really, really, really want to know about. 145 00:11:43,060 --> 00:11:48,180 Or if you're defending a network, that's something that you also want to know about if that user credential is compromised. 146 00:11:48,460 --> 00:11:50,840 And so one of the ways that, let me see, where is that? 147 00:11:51,960 --> 00:12:03,380 So, one of the ways that I've used that, you know, on a network that has certificates where I wouldn't be able to connect to it even with valid credentials is by hopping on a, a network, um, a company's guest Wi-Fi network. 148 00:12:03,380 --> 00:12:08,660 And that guest Wi-Fi network has the same egress, the same external IP address as their corporate network does. 149 00:12:08,660 --> 00:12:10,060 Now the segmentation is good. 150 00:12:10,060 --> 00:12:17,920 I can't go from their guest Wi-Fi into their corporate network, but what I can do is I can go from their guest Wi-Fi from their guest network to the public internet. 151 00:12:17,920 --> 00:12:18,920 That's what it's designed for. 152 00:12:18,920 --> 00:12:26,660 It's designed for when their clients come in from when, you know, people outside of their office come in that they can use that guest Wi-Fi and get out to the, you know, get out to the public internet. 153 00:12:26,880 --> 00:12:37,840 Well, in the infinite wisdom of a system administrator who is actually doing a good job and wants their, you know, their users to have a, a, you know, a good use case or not good use case, a, to have, you know, good usability. 154 00:12:37,840 --> 00:12:47,960 They said, you know what, look, if you're in the building, if you're authenticated on your laptop, uh, we're going to have the egress IP address be trusted as far as like Azure, Office 365, all that stuff goes. 155 00:12:47,980 --> 00:12:50,220 So, hey, you're in the building, you know, great. 156 00:12:50,220 --> 00:12:50,980 You're on our Wi-Fi. 157 00:12:50,980 --> 00:12:53,600 This, this egress, this public IP address is trusted. 158 00:12:53,600 --> 00:12:59,460 Well, if I hop on the guest Wi-Fi network with a valid set of credentials, now I have the same egress. 159 00:12:59,460 --> 00:13:02,620 I have that same, you know, I'm in that same zone. 160 00:13:02,620 --> 00:13:08,540 And so now I'm able to use those credentials to hop in to everything that's sensitive without ever being prompted for MFA. 161 00:13:08,560 --> 00:13:15,360 And that's a, it's a really weird edge case, but it's, I've used it more than once to be able to compromise clients. 162 00:13:15,440 --> 00:13:24,560 And, and these are the things that, you know, maybe not your run of the mill, you know, tester would do, maybe not, you know, somebody would think up off the top of their head, but this is just one edge case. 163 00:13:24,560 --> 00:13:31,100 There's so many edge cases out there that eventually you have to look at some of them and say, hey, what does our threat pro, what does our risk profile look like? 164 00:13:31,240 --> 00:13:33,400 Um, to where this is maybe something of concern. 165 00:13:33,560 --> 00:13:41,300 And really at the end of the day, this is all coming back to just get an alert if a rogue access point that matches your SSID pops up. 166 00:13:42,720 --> 00:13:47,880 Um, so let's talk about like the different, so I mentioned my, my talk is like WIDs and WIPs, right? 167 00:13:47,880 --> 00:13:53,160 I, I hate those terms because it's, it's, you know, they sound, I guess, more technical than I really think they are. 168 00:13:53,160 --> 00:13:57,400 But, uh, WIDs is intrusion detection and WIPs is intrusion prevention. 169 00:13:57,520 --> 00:14:04,160 So WIPs might do some act, something active to prevent, you know, their clients from connecting to a malicious, a rogue access point. 170 00:14:04,160 --> 00:14:14,240 But even just detection, if, if all of my clients got a notification on their phone , a notification in their email, if a rogue access point popped up, that would be incredible. 171 00:14:14,240 --> 00:14:19,460 Uh , almost none of our clients get those notifications as they go through the steps of our penetration tests. 172 00:14:19,460 --> 00:14:22,480 And I always tell them, hey, let me know when you see them. 173 00:14:22,520 --> 00:14:25,380 Uh, don't go back and look through the logs after the fact. 174 00:14:25,380 --> 00:14:38,520 You want to be able to get these notifications in real time because me telling you that I did a rogue access point attack or that, you know, that I did some rogue AP attack, that's not helpful because you're not going to be able to use that in the real world if you have to go back and look for it. 175 00:14:38,580 --> 00:14:43,120 Um, so again, the WIDs, WIPs, it's just, it's a way to detect if there's a rogue access point. 176 00:14:44,840 --> 00:14:45,540 Um, okay. 177 00:14:45,540 --> 00:14:50,800 So I'm going to go down kind of like my like matrix that I made up as far as like, and again, this is totally something I made up. 178 00:14:50,800 --> 00:14:57,020 If you have a better way to organize this, by all means, come talk to me after this because, uh, this is just how it makes sense in my brain. 179 00:14:57,220 --> 00:15:00,900 So when we start out an attack, um, what I typically do is I say, okay, you know what? 180 00:15:00,900 --> 00:15:04,920 I'm going to clone your Mac or I'm going to clone your, your, uh, Corp WiFi, right? 181 00:15:04,920 --> 00:15:10,960 So if your SSID, if your WiFi name is, you know, Corp WiFi, I'm going to say, hey, exact match Corp WiFi. 182 00:15:11,020 --> 00:15:17,480 And then I'm going to make the Mac address, you know, something super easy, uh, that you'd be able to scroll through the logs and be like, that doesn't look right. 183 00:15:17,900 --> 00:15:19,840 Um, and see if, hey, did they get a match? 184 00:15:19,840 --> 00:15:20,620 They get an alert. 185 00:15:20,620 --> 00:15:21,820 Then I'll keep going down. 186 00:15:21,820 --> 00:15:27,280 I'll keep basically say like, okay, I'm going to, uh, exact match for the SSID and then a random Mac address. 187 00:15:27,360 --> 00:15:30,840 Uh, and then maybe I'll do an exact match for their SSID. 188 00:15:31,100 --> 00:15:32,440 Um, so let's go to the next slide. 189 00:15:32,440 --> 00:15:38,860 So exact match and random, and everybody doesn't know a Mac address is basically just a hardware identifier of that access point. 190 00:15:38,860 --> 00:15:39,120 Right. 191 00:15:39,120 --> 00:15:41,880 And so say you have a room, say you're in DEF CON, right. 192 00:15:41,880 --> 00:15:44,180 And you have, uh, 10 access points. 193 00:15:44,180 --> 00:15:50,140 They'll all have a unique or should be unique, uh, Mac address hardware identifier that allows them to communicate to each other. 194 00:15:50,140 --> 00:15:50,660 Right. 195 00:15:50,720 --> 00:16:00,060 Um, and so why that matters is that's what, that is what a lot of these, you know, intrusion prevention detection systems use as a means to say, Hey, is this valid? 196 00:16:00,060 --> 00:16:00,640 Is this known? 197 00:16:00,780 --> 00:16:08,960 But anybody can see this information if you're looking for, if you're using, you know, any number of tools out there, uh, to just, to just see what access points are out there. 198 00:16:09,300 --> 00:16:13,600 Uh, so again, my, my easy mode is like, Hey, exact match of your wireless name. 199 00:16:13,660 --> 00:16:18,360 And just like a Mac address that is just completely bogus that you should just recognize is not real. 200 00:16:18,740 --> 00:16:25,700 Um, and then an exact match plus just, you know, some, maybe just a random Mac address that Mac changer will, will just, you know, make for you. 201 00:16:26,360 --> 00:16:29,660 Then it gets a step harder and the step harder is, you know what, same thing. 202 00:16:29,660 --> 00:16:34,480 I'm going to have an exact match of your wireless name, but maybe I'm going to make it similar. 203 00:16:34,480 --> 00:16:43,820 So if I see maybe you're running some Iraqi, if you're running some Aruba, if you're running some ubiquity, maybe I'll have, you know, all, all of the Mac address look the same except for the last couple of digits, right? 204 00:16:43,820 --> 00:16:45,260 The last couple of octets of that. 205 00:16:45,360 --> 00:16:47,280 Um, or maybe I want to get even harder. 206 00:16:47,280 --> 00:16:54,440 And what I'll do is I'll go look on, on wiggle and I'll say, Hey, say it's a bank that has two completely geographically separated sites. 207 00:16:54,620 --> 00:17:01,220 Um, maybe I'm going to go take a cloned Mac address from one site and I'm going to stand it up at the second side as my rogue access point. 208 00:17:01,220 --> 00:17:08,080 And if they have one unified controller there, well then all of a sudden they're going to say, Hey, totally valid Mac address, not going to learn on anything. 209 00:17:08,300 --> 00:17:12,200 Um, and so those are typically the ones that if they're going to get caught, they'll get caught there. 210 00:17:13,420 --> 00:17:16,440 Uh, but then one of the things that I'll do is I'll clone the Mac address. 211 00:17:16,440 --> 00:17:18,300 So say, say you have a large, like a Costco, right? 212 00:17:18,300 --> 00:17:22,540 Or, you know, some large big box store and they have, you know, a lot of access points. 213 00:17:22,540 --> 00:17:28,400 Say it were to go to one side, the North side of the building and take and, you know, see what, what Mac addresses are there. 214 00:17:28,460 --> 00:17:39,600 I can then take those and I can, you know, take a screenshot of them, go to the South side of the building and I can basically stand up a rogue access point using those Mac addresses. 215 00:17:39,620 --> 00:17:43,740 And there's not going to be a conflict because they're geographically separated from each other. 216 00:17:43,740 --> 00:17:51,160 But when the wireless controllers look at that, they're going to say, Hey, here's a new access point with a Mac address that we totally see as valid. 217 00:17:51,160 --> 00:17:52,760 This is a totally valid Mac address. 218 00:17:52,760 --> 00:17:58,340 And that's how you avoid any like weird race conditions or two, you know, Mac addresses or access points, um, in that spot. 219 00:17:58,780 --> 00:18:04,200 But that, that will evade most of the detection systems that are currently on the market. 220 00:18:04,660 --> 00:18:10,820 Um, and again, that's if, that's if your clients are even looking at logs, that's if you're a system administrator and you're even looking at the logs. 221 00:18:12,700 --> 00:18:17,340 Um, and so then, then I get into the more difficult mode and for the clients that actually are looking. 222 00:18:17,360 --> 00:18:28,620 Uh, and so if they have a knowledge of the geography of their site, um, or, or, you know, maybe it's one of these things that they're actively, you know, they have something running that is going to look at this and see power level indicators and hey, 223 00:18:28,620 --> 00:18:29,940 there's a spike over here. 224 00:18:30,220 --> 00:18:35,440 Um, one of the things then what we'll do is I won't even have an exact match of the SSID. 225 00:18:35,440 --> 00:18:37,160 So I won't have an exact match. 226 00:18:37,160 --> 00:18:41,320 So say you're running Corp WiFi, one of the things that I'll do on the next slide. 227 00:18:41,320 --> 00:18:42,900 So you look at the two strings right there. 228 00:18:42,900 --> 00:18:46,920 One of them is Corp WiFi and the other one is Corp WiFi with like a space after it. 229 00:18:46,940 --> 00:18:50,200 Uh, and so now all of a sudden that's a brand new profile in that Windows machine. 230 00:18:50,200 --> 00:18:54,060 That's a brand new SSID as far as any other device is concerned. 231 00:18:54,060 --> 00:19:06,800 And so all the protections, certificates and all that stuff that are put in place to ignore an exact string match, now they go completely out the window because as far as, you know, any computer is concerned, that is a completely different wireless network that you're trying to connect to. 232 00:19:07,060 --> 00:19:16,060 Um, and, and typically if you're on your cell phone and you see Corp WiFi with a space at the end of it, you are never going to recognize that as being something that is different. 233 00:19:16,060 --> 00:19:20,560 You're just going to see two WiFi networks that, that look very similar when you connect on your phone. 234 00:19:20,560 --> 00:19:28,440 Um, and sometimes it all that whites or that, that space won't even show up as a character or anything depending on the type of phone, depending on the type of OS that you're using. 235 00:19:28,540 --> 00:19:33,980 And so in that case, now your end users who are just saying, man, that's a bummer that my WiFi isn't working right now. 236 00:19:33,980 --> 00:19:37,200 Let me just try and manually connect to this other WiFi that I see. 237 00:19:37,200 --> 00:19:44,220 Now your users are actively helping somebody like me, uh, to then, you know, pillage their company or access their company or gain access to their company. 238 00:19:44,360 --> 00:19:47,880 Um, and again, this, this may not be news to any of you here. 239 00:19:47,980 --> 00:19:50,680 It's news to a lot of my clients and a lot of the people that I talk to. 240 00:19:50,680 --> 00:19:56,880 And this is something that I just want to be able to point to and say, look, these are all, these are the steps that I go through in my brain. 241 00:19:56,880 --> 00:19:59,800 And maybe that's not organized in how any of you would think about this. 242 00:19:59,940 --> 00:20:02,660 Um, but trying to methodically go through all the different steps. 243 00:20:02,880 --> 00:20:10,040 And really at the end of the day, all I really want to do is have people ask themselves questions of, Hey, what do I do if, right? 244 00:20:10,460 --> 00:20:22,380 You know, so say you do have rogue access point detection enabled on whatever controller you're using, your wireless, you know, whatever wireless architecture network stuff you have set up, you know, what do you do if you detect a rogue access point? 245 00:20:22,500 --> 00:20:23,100 Like, okay, great. 246 00:20:23,100 --> 00:20:24,620 You have a notification set up. 247 00:20:24,700 --> 00:20:31,380 Do you have any idea of the geography you're set up or what access point potentially detected that and how you would go find it? 248 00:20:31,380 --> 00:20:35,000 If somebody did plug in something nefarious, like what does that look like? 249 00:20:35,000 --> 00:20:39,180 You know, have a plan in place to where if something pops up, what do you do about it? 250 00:20:39,180 --> 00:20:39,780 Where do you go? 251 00:20:39,780 --> 00:20:40,660 How can you find it? 252 00:20:40,660 --> 00:20:42,720 Is it an employee that just plugged in another one? 253 00:20:42,720 --> 00:20:49,200 Or maybe it's just a misconfigured access point that your controller doesn't recognize because it's not in the system properly. 254 00:20:49,220 --> 00:20:50,680 I've had that happen to before. 255 00:20:51,680 --> 00:20:58,040 You know, or, and then basically, do you have any of the alerting that's going to go to any of the people that are on call, right? 256 00:20:58,040 --> 00:21:01,140 Do, do any of your, so in this case, I consider them my clients, right? 257 00:21:01,140 --> 00:21:06,160 Because they're clients that come to us, but do your clients get any alerting at all as far as a rogue access point? 258 00:21:06,280 --> 00:21:09,580 Like my home gear is Ubiquity and Ubiquity sends you a push notification. 259 00:21:09,880 --> 00:21:15,520 If you enable it, that says, Hey, you know, there's an exact match of an SSID that we're not familiar with. 260 00:21:15,520 --> 00:21:22,880 That's something out there that just that little bit of knowing that somebody is starting the initial opening salvo to probe your network, that's huge. 261 00:21:22,880 --> 00:21:25,620 Just knowing that, Hey, something looks a little wonky here. 262 00:21:25,620 --> 00:21:27,500 Maybe I should go investigate this. 263 00:21:28,740 --> 00:21:39,060 You know, and then, and then even looking at how your clients, you know, how your access points are, you know, how your access points are configured, but then also how are the devices in your network configured? 264 00:21:39,100 --> 00:21:42,980 Maybe, maybe you have like a gold image of a windows laptop that everybody uses. 265 00:21:42,980 --> 00:21:45,200 And that one's configured really, really, really well. 266 00:21:45,480 --> 00:21:47,040 I don't live in that realm. 267 00:21:47,040 --> 00:21:58,900 I live in the realm of edge cases of like, yeah, you know what our POS system, it uses this older Android laptop that's vulnerable to GTC downgrade or sorry, Android tablet that's vulnerable GTC downgrade. 268 00:21:58,900 --> 00:21:59,380 Great. 269 00:21:59,440 --> 00:22:02,280 That's, you know, potentially clear text credentials for me. 270 00:22:02,280 --> 00:22:02,540 Right. 271 00:22:02,540 --> 00:22:05,480 So I have the easier job in all of this. 272 00:22:05,480 --> 00:22:11,200 If any of you are like system administrators or like wireless network administrators, you have the infinitely harder job. 273 00:22:11,200 --> 00:22:13,520 You have to keep users using your network. 274 00:22:13,520 --> 00:22:14,960 You have to keep it up and running. 275 00:22:14,960 --> 00:22:16,380 You have to keep it secure. 276 00:22:16,500 --> 00:22:18,100 And I don't envy that. 277 00:22:18,100 --> 00:22:23,940 For me, I just have to find one weird trick, one weird edge case where I'm able to get in. 278 00:22:23,940 --> 00:22:30,240 And so my hope with all of this is that I'm able to at least make you ask those questions and, and, you know, take it to your environment. 279 00:22:30,240 --> 00:22:33,800 You guys are experts on your environments if you're a, you know, sysadmin out there. 280 00:22:33,800 --> 00:22:37,680 And you can hopefully take those questions and just say, okay, you know, what do I do with this? 281 00:22:37,680 --> 00:22:42,440 What does that look like if, if somebody like me were able to, you know, stand up a rogue access point? 282 00:22:44,020 --> 00:22:47,700 And so again, other things to look for, check for excessive password spraying. 283 00:22:47,840 --> 00:23:00,340 I know, I know password spraying, everybody's used to like looking at like Office 365 or like, you know, looking at their E5, you know, Microsoft license and saying, oh yeah, you know, like this threat actor is scanning from one IP address or from a prox or something like that. 284 00:23:00,480 --> 00:23:04,300 But nobody ever checks their wireless controllers for password spraying. 285 00:23:04,300 --> 00:23:05,720 It's really, really slow. 286 00:23:05,720 --> 00:23:06,440 Don't get me wrong. 287 00:23:06,440 --> 00:23:10,400 It is incredibly slow to, to password spray from it, but it works. 288 00:23:10,760 --> 00:23:13,560 And if it says, you know, it's one of those things like, where's it coming from? 289 00:23:13,560 --> 00:23:14,620 Where's the auth coming from? 290 00:23:14,700 --> 00:23:15,800 Inside the building. 291 00:23:15,800 --> 00:23:16,420 Not really. 292 00:23:16,420 --> 00:23:18,500 It's coming from outside the building because it's wireless. 293 00:23:18,820 --> 00:23:22,560 So just one of those things, you know, get those alerts of rogue access points come up. 294 00:23:22,720 --> 00:23:28,380 Have a plan, you know, like I mentioned, have a plan to, to locate those rogue access points when and if you see them. 295 00:23:29,000 --> 00:23:31,600 Understand as far as MAC addresses that those are clear text. 296 00:23:31,600 --> 00:23:32,920 It doesn't matter what you're running on them. 297 00:23:32,920 --> 00:23:36,800 I've had a lot of clients that say, well, how do we encrypt our MAC addresses so that you can't see them? 298 00:23:36,800 --> 00:23:39,320 And it's like, well, uh, that's not how that works. 299 00:23:39,320 --> 00:23:42,300 Um, and just, just know that that information is out there. 300 00:23:42,520 --> 00:23:57,360 Um, log your data and look at, you know, so log your data first and foremost, but then look at that after you've logged it, logged it, get alerts, have somebody monitor it, know what your wireless, you know, environment looks like surrounding your building and notice if something changes, 301 00:23:57,360 --> 00:24:04,480 because that could be, uh, you know , again, the first move for somebody like me or somebody worse than me, who's not doing it, uh, to try and protect you. 302 00:24:04,480 --> 00:24:07,260 Somebody is trying to do something nefarious to you from going from there. 303 00:24:07,260 --> 00:24:07,520 Right. 304 00:24:07,520 --> 00:24:09,580 So anyways, that's all I got. 305 00:24:09,580 --> 00:24:11,500 If you have any questions, feel free to come talk to me. 306 00:24:11,500 --> 00:24:12,840 I'm behind there. 307 00:24:12,840 --> 00:24:17,660 Go play the wireless capture the flags and, uh, hopefully it wasn't a complete waste of time. 308 00:24:17,660 --> 00:24:18,980 Hey Wasabi, you have a question for me. 309 00:24:18,980 --> 00:24:19,580 What's up? 310 00:24:21,800 --> 00:24:24,800 Oh, see, like it depends on like the season. 311 00:24:24,880 --> 00:24:28,380 Um, like if it's like fall time, then it's more of like evermore. 312 00:24:28,380 --> 00:24:32,320 Whereas like if it's like, like New Year's Eve, then it's like 22. 313 00:24:33,760 --> 00:24:35,300 Is that the only question? 314 00:24:35,900 --> 00:24:38,220 You guys can ask me Taylor Swift questions too. 315 00:24:39,680 --> 00:24:41,520 Thank you for enduring this talk.