1 00:00:00,000 --> 00:00:03,040 Welcome to the wireless capture the flag gear talk. 2 00:00:03,360 --> 00:00:05,700 I'm Rick and this is Rick. 3 00:00:05,700 --> 00:00:06,720 I'll be Rick today. 4 00:00:06,720 --> 00:00:10,440 And we're just a couple of dicks who play with our hardware a lot. 5 00:00:10,440 --> 00:00:11,920 So we're going to talk about that. 6 00:00:12,300 --> 00:00:13,480 You all get to watch. 7 00:00:16,000 --> 00:00:16,880 Oh! 8 00:00:16,920 --> 00:00:18,000 You can announce this time. 9 00:00:18,000 --> 00:00:19,760 I got to announce it last time. 10 00:00:19,760 --> 00:00:26,940 So we decided that maybe if we've been doing this for 12 years, we should become like a company or something. 11 00:00:26,940 --> 00:00:29,100 So we officially formed a non-profit. 12 00:00:29,100 --> 00:00:31,160 We are now the RF Hacker Sanctuary. 13 00:00:31,700 --> 00:00:32,700 So it's exciting. 14 00:00:34,600 --> 00:00:40,920 That means for the rest of the weekend, I expect all of you to arch your back as you walk in the door and scream sanctuary. 15 00:00:41,460 --> 00:00:42,820 I would really make my day. 16 00:00:42,820 --> 00:00:45,580 So thank you all of you on Disney. 17 00:00:45,900 --> 00:00:47,180 I'm not that old. 18 00:00:47,180 --> 00:00:48,620 Some of you saw this movie. 19 00:00:48,620 --> 00:00:48,800 No. 20 00:00:48,800 --> 00:00:49,380 Okay. 21 00:00:49,560 --> 00:00:54,020 So yeah, we spent a whole lot of our time doing that and not a whole lot of our time on slides. 22 00:00:54,020 --> 00:00:55,660 So that's going to be my excuse. 23 00:00:57,600 --> 00:01:00,440 So this asshole over here is Zero Chaos. 24 00:01:00,820 --> 00:01:03,580 You may know him from the famous distro Pentoo. 25 00:01:03,920 --> 00:01:09,860 If you don't know him from the famous distro Pentoo, it's because it's really not that famous, but it is absolutely amazing. 26 00:01:10,180 --> 00:01:17,380 And the basis of a lot of the work that we do, a lot of the work that we do for testing and a lot of the work we do for teaching, training, etc. 27 00:01:18,020 --> 00:01:24,860 Most of the people that are doing well have either used Pentoo or are trying to use Pentoo over in the Capture the Flag. 28 00:01:25,340 --> 00:01:31,120 Main reason is radios work all the time, almost all the time. 29 00:01:32,460 --> 00:01:36,220 It works 100% of the time, at least 80% of the time. 30 00:01:36,220 --> 00:01:37,140 Exactly. 31 00:01:37,140 --> 00:01:39,780 And the reason that's important is because we're talking about gear. 32 00:01:39,780 --> 00:01:46,340 And we're talking about gear for Wireless Capture the Flag because that's the easy thing to say that's legal that everybody can do. 33 00:01:46,340 --> 00:01:50,100 Who in here is a Wireless Pentester? 34 00:01:51,180 --> 00:01:54,780 Who in here tests more than Bluetooth and Wi-Fi? 35 00:01:55,460 --> 00:01:56,720 Who in here tests more than Wi-Fi? 36 00:01:56,720 --> 00:01:57,760 Okay, keep going. 37 00:01:57,760 --> 00:02:00,040 Who in here tests Zigbee? 38 00:02:00,800 --> 00:02:03,260 Who in here tests AMR? 39 00:02:04,420 --> 00:02:05,620 ADS-B? 40 00:02:07,180 --> 00:02:08,020 Okay. 41 00:02:08,360 --> 00:02:14,840 The reason that we run Pentoo as opposed to some of these other distros, we're going to get a little deeper into it as we go. 42 00:02:14,840 --> 00:02:26,300 And actually part of Zero's intro is he spends like all of the time he's not working for the company that pays him working on this distro so that radios work all the time. 43 00:02:26,300 --> 00:02:31,120 Who's had trouble loading a driver in anything but Windows or Mac? 44 00:02:31,880 --> 00:02:33,860 Yeah, wireless drivers suck. 45 00:02:33,860 --> 00:02:37,500 Who's tried to load the Realtek driver by themselves with the new AC card? 46 00:02:38,040 --> 00:02:39,900 Any of you have a smile on your face right now? 47 00:02:39,900 --> 00:02:42,120 Nope, just the people with their hands down laughing at you. 48 00:02:42,120 --> 00:02:43,380 Yep, that's exactly right. 49 00:02:43,380 --> 00:02:53,100 And those that got it working, who had the actual driver working with full injection and the ability to sniff with 90% or better efficiency when you're getting your packets? 50 00:02:53,640 --> 00:03:01,140 Okay, so some of what we are going to do today is talk about not just the gear, because the gear's really cool and we have a lot of it. 51 00:03:01,140 --> 00:03:09,300 I mean, what, eight to ten, fifteen radios at any one time in our bags and I think the bag of antennas I carry weighs more than some of your backpacks. 52 00:03:09,300 --> 00:03:14,480 But we use that because we like how these radios work in certain circumstances. 53 00:03:14,880 --> 00:03:21,940 There aren't a lot of people that raised their hand that said that they're Wi-Fi pen testers or Bluetooth pen testers. 54 00:03:21,940 --> 00:03:27,760 One of the things we push people to do as best as we can is to start being RF pen testers. 55 00:03:27,760 --> 00:03:37,140 Because there's a lot of other stuff, as we're going to discuss in this talk and then kind of as we freeform a little bit, there's a lot more signals out there that can make somebody very vulnerable. 56 00:03:37,140 --> 00:03:45,860 So if you're a bad guy and you're attacking, red team, blue team, purple team, I don't care, yellow team, if you're attacking a network, you need a vulnerability to get in. 57 00:03:45,960 --> 00:03:47,360 Firewalls are pretty good. 58 00:03:47,620 --> 00:03:52,600 How many people have had to beat an IPS before over WIPS, over wireless? 59 00:03:53,180 --> 00:03:55,260 It's because there aren't that many that are any good. 60 00:03:55,640 --> 00:04:00,700 So, that's the really way too long intro to Rick. 61 00:04:01,460 --> 00:04:02,980 Yeah, sure, I'll be me now. 62 00:04:03,260 --> 00:04:03,940 Oh, man. 63 00:04:03,940 --> 00:04:04,920 Don't even read it. 64 00:04:04,920 --> 00:04:06,820 Oh, can I read the whole thing? 65 00:04:06,820 --> 00:04:08,020 It's word for word. 66 00:04:08,020 --> 00:04:09,340 And watch everybody leave. 67 00:04:09,360 --> 00:04:10,760 They're going to fall asleep. 68 00:04:11,340 --> 00:04:19,880 But seriously, this guy has been doing wireless since wireless wasn't even cool and he's part of the crew that has made it cool. 69 00:04:20,360 --> 00:04:22,400 I'll never forget my introduction to him. 70 00:04:22,500 --> 00:04:25,380 Yeah, I know what he looks like, but he really knows what he's doing. 71 00:04:25,700 --> 00:04:28,420 And he really plays all of it, right? 72 00:04:28,420 --> 00:04:31,520 So, he's been doing this since, what was it, DEF CON 10? 73 00:04:31,520 --> 00:04:32,020 Yeah. 74 00:04:32,020 --> 00:04:39,060 And competing in the wireless competitions and kind of helped found the wireless village and did found the wireless cap for the flag. 75 00:04:39,060 --> 00:04:43,060 So , yeah, he looks like he's been around the block because he has. 76 00:04:43,060 --> 00:04:46,360 And, yeah, we should definitely go over some of that experience. 77 00:04:47,060 --> 00:04:51,760 So, one of my favorite parts of all of RF and wireless is finding things. 78 00:04:52,060 --> 00:04:57,000 So, we've really gone way out of our way and we apologize to the contestants. 79 00:04:57,000 --> 00:05:03,040 In fact, I let them go home early last night, which was really weird of me because I was like, hey, it's 11 o'clock, go home. 80 00:05:03,600 --> 00:05:10,040 If you can't find a rogue device, you can't do RF anything. 81 00:05:10,480 --> 00:05:21,980 If you don't know where it is and you can't get close enough to inject into it, take down the packets that are coming from it or find the signal, you're not close enough to do the work you're trying to do. 82 00:05:21,980 --> 00:05:24,620 So, let's just say, you know, easy example. 83 00:05:24,620 --> 00:05:33,020 There's a rogue access point in a 100,000 square foot floor in New York City on the 35th floor. 84 00:05:33,040 --> 00:05:33,720 Go. 85 00:05:34,760 --> 00:05:39,120 Who would feel relatively comfortable going and finding that access point? 86 00:05:40,280 --> 00:05:41,460 Okay, what would you do? 87 00:05:42,140 --> 00:05:47,120 I am going to call on people in the stand, so feel free to not raise your hand if you don't care. 88 00:05:47,120 --> 00:05:48,120 What would you do? 89 00:05:51,360 --> 00:05:53,780 Okay, so he said use a spectrum analyzer. 90 00:05:53,780 --> 00:05:54,700 Good answer. 91 00:05:54,700 --> 00:05:58,080 Or a Wi-Fi radio and walk around and find it. 92 00:05:58,640 --> 00:06:05,280 One of the things we try and teach as best as we can is a repeatable process for everything we do. 93 00:06:05,420 --> 00:06:13,020 By having a repeatable process, I know what appears to be rogue versus what appears to be real versus what appears to be broken. 94 00:06:13,360 --> 00:06:15,380 And by knowing that, we have the ability to find things. 95 00:06:15,380 --> 00:06:23,000 Because typically, if somebody is going to quick plant something, they're going to use a Raspberry Pi, they're going to use a NUC, they're going to use a rogue access point of some sort. 96 00:06:25,160 --> 00:06:28,400 Hey Scoot, wave to everybody. 97 00:06:28,880 --> 00:06:31,040 How did your implant go last night? 98 00:06:33,980 --> 00:06:42,480 They attempted to put an implant in the village and they did a really good job of masking it and had we not been truly looking for things, we wouldn't have found it. 99 00:06:42,480 --> 00:06:44,800 He took the shell... Do you mind if I tell this story? 100 00:06:45,300 --> 00:06:49,600 He took the shell of an Aruba device... 101 00:06:49,600 --> 00:06:51,360 Ah, the Aruba devices aren't here. 102 00:06:51,360 --> 00:06:54,300 You know those white Aruba access points that are all over the place? 103 00:06:54,300 --> 00:06:58,320 Well, he took the shell of one of those, hollowed it out, and put a Raspberry Pi inside. 104 00:06:58,600 --> 00:07:05,000 He didn't encrypt it, but he put a Raspberry Pi inside trying to capture more information. 105 00:07:05,180 --> 00:07:13,160 Well, by doing that, he hit a device, it was coming over RF, and it was actually doing a really good job, but it was loud. 106 00:07:13,160 --> 00:07:15,080 So Spectrum Analyzer, great answer. 107 00:07:15,400 --> 00:07:23,720 The problem is, if somebody is only trying to attack an office and they do it correctly, your Spec-An is only going to find it if you get close enough to where that signal is. 108 00:07:23,720 --> 00:07:28,120 So, working with people on how to make really shitty antennas... 109 00:07:28,120 --> 00:07:30,420 Hey Wasabi, do you have your shitty antenna anywhere? 110 00:07:31,780 --> 00:07:38,140 Teaching people how to make really shitty antennas so that when you're really close to a signal you know you're right on top of it. 111 00:07:38,140 --> 00:07:38,880 Oh, look at that. 112 00:07:38,880 --> 00:07:40,400 He happened to have it. 113 00:07:41,380 --> 00:07:46,620 SMA connector into a BNC connector with a paper clip and hot glue. 114 00:07:47,620 --> 00:07:51,360 It is also classified as a weapon at TSA, so be careful. 115 00:07:51,360 --> 00:07:54,140 Why is this work? 116 00:07:55,000 --> 00:07:56,800 Somebody, why does it work? 117 00:07:58,640 --> 00:07:59,240 What? 118 00:07:59,240 --> 00:07:59,880 One more time? 119 00:08:01,640 --> 00:08:02,480 Exactly. 120 00:08:02,480 --> 00:08:06,280 All it's doing is taking the energy coming out of the radio and dispersing it. 121 00:08:06,280 --> 00:08:10,480 It's not doing jack and shit to help you with a good signal. 122 00:08:10,480 --> 00:08:13,460 But what it's doing is it's going to alert you when a signal is close. 123 00:08:13,700 --> 00:08:18,480 Hence why we do the wireless capture the flag and the CTF and we make people go find stuff. 124 00:08:18,480 --> 00:08:23,500 But we don't just stop at Wi-Fi, we move across the spectrum and that's kind of how we're going to get into this a little bit. 125 00:08:23,640 --> 00:08:26,820 I'm going to let you talk to this next one because this is pretty. 126 00:08:28,320 --> 00:08:33,560 Oh, this is my favorite part because he does most of the work. 127 00:08:34,760 --> 00:08:47,220 So we build this thing that we have to carry around with us so I want to say half of my testing is literally how do we cram all of this stuff together in a very tight space? 128 00:08:47,220 --> 00:08:57,280 So the box on the right is actually the box that we're using to run the capture the flag right now and it's all of the transmissions more or less replicated out. 129 00:08:57,280 --> 00:09:18,620 So we've got 20 Wi-Fi radios in it we've got 4 RF cats and we've got 3 Blade RFs with amplifiers and all of that stuff has to fit in there and be powered in there and why did we pick those things and how did we get them to fit and oh my goodness how did the NUC not fall over with 50 USB devices on it. 130 00:09:18,620 --> 00:09:38,340 So the testing and the building of this stuff is really what allows you to figure out how all of this works just making the kit on the left the kit on the left is a Kismet fully loaded box basically that's actually a picture of us on the high roller on Tuesday we took that while up in the air over Vegas collecting everything. 131 00:09:38,340 --> 00:09:40,660 Security did not like us at all. 132 00:09:40,660 --> 00:09:41,740 They let us on. 133 00:09:41,740 --> 00:10:06,680 They decided during the ride that they didn't like us The part of that picture that's cut out is me handcuffed to that kit which also we have a video going through We have a 2 minute video of security checking it out He never took off the handcuffs and they never said anything about it and I almost peed So inside of that box we actually have 6 RTL SDRs tuned to different frequencies picking up ADS-B car clickers, 134 00:10:06,680 --> 00:10:23,060 tires driving by, all kinds of weird stuff We've also got 3 Wi-Fi radios 2 Bluetooth radios, 2 Zigbee 1 2.4, 1 900 We've got 2 mouse jack dongles and GPS I think that's about it. 135 00:10:23,060 --> 00:10:54,480 But just building that kit we found several bugs in Kismet We found several bugs in RTL 433, we found several bugs in the Linux kernel that we've been spending time reporting and trying to get fixed so that this device which was a 4 core processor running with a load of 12 when we started actually got down to a load of about 3 when we were done and functioned rather than all of the devices falling off of the bus and only one time did the power supply crap itself and do a wideband jamming attack before finally failing. 136 00:10:54,580 --> 00:11:05,460 Driving down the road and I called Zero and I was like, hey dude what could possibly be messing with our GPS, the satellite radio and our phones? 137 00:11:06,220 --> 00:11:26,200 It's all passive We got to where we were going and realized that there was a 5 amp power supply that literally was shitting the bed all over the place So we found a absolute denial of service attack on a car just take a really bad Chinese 5 amp 12 volt power supply and just cut the wire a little bit. 138 00:11:26,720 --> 00:11:34,160 Apparently everything goes to hell and back and he did gloss over that a lot I know this is scheduled as a 2 hour talk. 139 00:11:34,160 --> 00:11:42,660 It may or may not be 2 hours We've got some folks here to help us out with some of the other areas that they are much, much, much smarter than us in. 140 00:11:42,740 --> 00:11:52,920 But I will say that we are going to go into each one of those and we're going to talk through how the testing of Kismet went how the testing of Linux went and the testing of USB buses. 141 00:11:52,920 --> 00:12:00,180 I know more about USB buses than I ever wanted to know and the fact that some of these really crappy computers can do a really good job. 142 00:12:00,180 --> 00:12:22,420 So that's kind of how this is going to work We're going to talk to you guys about what exists and what can be done but also how we can test because in some places where you may go some of you may not be native to a place where Amazon can deliver in an hour and a half like I am where you may only get this radio and this radio and this radio or you may be in another country where you can only have these three things. 143 00:12:22,740 --> 00:12:40,800 Showing you how to test them to get the absolute most out of them is going to make you more efficient as you're trying to do this work And the other piece that I wanted to really highlight on The Red Team Alliance has worked with us very closely and the core group Is Bhavik over there? 144 00:12:41,300 --> 00:12:42,060 Bhavik? 145 00:12:42,580 --> 00:12:57,580 Brett, stand up and represent your company Brett, stand up and say hi Thank you That gentleman in the TSA security uniform He's not TSA Well, I mean, he could be If I give you $5 will you pretend to be the TSA? 146 00:12:58,300 --> 00:13:11,660 That box in the bottom they've created for us working in conjunction with us for the Capture the Flag RFID is also an extremely important piece of this if you've ever done... so we talk wireless Who's a physical pen tester? 147 00:13:12,540 --> 00:13:14,760 Who's used an under the door tool? 148 00:13:15,140 --> 00:13:17,440 Who knows what a DDT is? 149 00:13:17,920 --> 00:13:20,500 Who has a lockpick set on them right now? 150 00:13:21,060 --> 00:13:25,020 There we go Who's used those lockpicks in the last three hours? 151 00:13:25,760 --> 00:13:36,340 Okay, good So, that kit is a full on... oh, there it goes Aw , it went away And it's really pretty Did they leave the screen grab here? 152 00:13:36,940 --> 00:14:16,020 There we go So , that box at the bottom is literally a building in a box There are four different types of access control cards running into a single controller with a pie in the background taking in all the information and handing out flags If you haven't seen it yet the thing over there on the end of the table that makes you look like the devil is one of the coolest access control capture the flag style devices that I think has ever been built And I know Babik's not here but one of his representatives is Can you raise your hand there? 153 00:14:16,020 --> 00:14:33,400 He already waved I know, but I'm making Deep wave too because he's standing there in his Raman's shirt, which I absolutely love They do some amazing RFID work and they've helped us tremendously to really take this up to another level and I just want to thank them for partnering with us, 154 00:14:33,400 --> 00:14:50,300 but from a learning perspective having the ability to have that many readers in one place is something that we're going to adopt into our CTF and that type of thing is going to start traveling with us thanks to them and we're going to just keep saying thank you to them for a while as it goes We love you too! 155 00:14:51,080 --> 00:14:53,360 So those are the three pieces. 156 00:14:53,360 --> 00:15:00,680 So from this set of devices we've literally hit from 3... 16? 157 00:15:01,740 --> 00:15:11,720 315 to 6 gig and all of the low frequency and high frequency cards that exist in three Pelican cases that we can travel just about anywhere with. 158 00:15:11,720 --> 00:15:19,120 Now I wouldn't expect anybody else to do that insanity because that's about a year's worth of work but the testing methodology That's good. 159 00:15:19,120 --> 00:15:21,780 You could travel with a Kismet box for years That's true. 160 00:15:22,260 --> 00:15:33,380 The technology and the testing that goes into that is really what we want to impart on you So, moving on This is a PSA Please stay out of the casinos with any radios that you may have. 161 00:15:33,380 --> 00:15:36,220 They do put you in jail The jail is underneath of this building. 162 00:15:36,220 --> 00:15:44,480 It's very big and you're not getting out without any bruises And, by the way, if you came into this room, who has an Apple phone? 163 00:15:44,480 --> 00:15:50,940 Don't raise your hand if you don't want to If you have your Bluetooth on, this isn't a burner phone discussion. 164 00:15:50,940 --> 00:15:56,620 This isn't a Apple versus Android discussion Please turn your Bluetooth off . 165 00:15:56,620 --> 00:16:00,360 You are ridiculously vulnerable to a whole lot of things . 166 00:16:00,360 --> 00:16:02,960 I'm an Apple user when it comes to phones. 167 00:16:02,960 --> 00:16:06,500 I have a watch It is in watch mode You know what it's doing? 168 00:16:06,500 --> 00:16:09,260 It's being a watch Cool ? 169 00:16:09,360 --> 00:16:11,160 But my phone has Bluetooth off. 170 00:16:11,160 --> 00:16:15,800 The reason behind that is Apple has not fixed the vulnerability that has come out with Apple BLE 171 00:16:19,160 --> 00:16:24,980 We'll have hopefully a demo of that tomorrow and start talking to people about their phones. 172 00:16:24,980 --> 00:16:32,980 But essentially from your Bluetooth, your phone number, the power of your phone the Wi-Fi What else? 173 00:16:33,360 --> 00:16:58,160 If the screen is on, if the screen is locked, phone number All can be pulled off Bluetooth SSID So very discreetly, no embarrassment here just turn your Bluetooth off if you have an Apple device and that's an iPad, iPhone iPod Enema, I don't know But Apple leaves those on for watches for pencils, 174 00:16:58,160 --> 00:17:02,000 for connectivity to all kinds of things Just turn it off, please. 175 00:17:02,040 --> 00:17:05,960 Because all your RF does belong to us and we've been capturing since we got here. 176 00:17:05,960 --> 00:17:07,620 We're going to review all that when we get home. 177 00:17:07,620 --> 00:17:17,980 We're going to look at it and we're going to say Huh, this dude had his Bluetooth on and this lady had this on and moving on Yeah You read that. 178 00:17:18,100 --> 00:17:19,380 Yay! 179 00:17:19,460 --> 00:17:22,860 Okay, so how do we test radios? 180 00:17:22,860 --> 00:17:29,320 This is actually a really really wild thing First we buy lots and lots of radios. 181 00:17:29,320 --> 00:17:32,080 Then we buy lots and lots of USB hubs. 182 00:17:32,120 --> 00:17:45,660 Mostly USB because it's so much easier than taking apart laptops Maybe 10 years ago companies started introducing BIOS lockouts to stop you from putting in Wi-Fi cards that they didn't sell. 183 00:17:45,920 --> 00:17:55,200 And that sucks because you had to go and customize your BIOS and do those kinds of things and at that point the community pretty much said F all this, we're just going to use USB stuff. 184 00:17:55,460 --> 00:18:05,140 So we just started doing USB stuff and it's not a big deal when you put 8 radios in a box and try to play with them It is a pretty big deal when you put 30 in. 185 00:18:05,220 --> 00:18:10,800 So if you go back and talk to our good friend Alex who makes a whole bunch of crazy radio stuff that's really awesome. 186 00:18:10,800 --> 00:18:15,900 Hey Alex, stand up and raise your hand and put that thing down Yeah, stop waving that around. 187 00:18:15,900 --> 00:18:17,260 The casino is going to stop you. 188 00:18:17,400 --> 00:18:20,000 Alex Alex, raise your hand. 189 00:18:20,000 --> 00:18:25,760 Wave high Stand up and hold up one of your big put that down please. 190 00:18:25,760 --> 00:18:26,720 Put that down. 191 00:18:26,720 --> 00:18:27,540 Don't point that at me. 192 00:18:27,540 --> 00:18:53,500 Put that down Please put that down Pick up the other thing with all the radios on it So Alex makes these devices No, those are antennas Alex, radios That's PCI radios USB 1.2 He actually discovered, he was the first one of us to figure out that the new Intel USB 3 chips could only handle 11 Wi-Fi cards at a time and the 12th one didn't work. 193 00:18:53,680 --> 00:18:59,520 We figured that out just after him when we plugged 12 Wi-Fi cards into our NUC and it didn't work. 194 00:18:59,760 --> 00:19:09,180 The part where we actually figured it out first is that we bought a newer NUC and the newer USB controller could handle more So my current record is 31. 195 00:19:09,220 --> 00:19:17,720 I've got 31 connected to my test box at home which I'm actually out of outlets and spaces to put things in the little corner where I do my testing. 196 00:19:17,720 --> 00:19:21,120 So I have to buy a table or something to keep going. 197 00:19:21,360 --> 00:19:33,920 So you find the weirdest things when you test this stuff The things that you never expected to find be the problem are the problem So the Realtek driver was released last year about this time. 198 00:19:34,200 --> 00:19:38,040 New 802.11ac monitor mode proper injection. 199 00:19:38,080 --> 00:20:21,620 Theoretically the driver crashed horrifically and so we started testing So I went on to Amazon and I bought every single Wi-Fi card that had the Realtek chip set to see which one was any good Lots of money later I plugged them all into my system and realized it didn't work and then I plugged it into multiple systems and started spreading out load because stupid limitations and then we bought Nux and fixed that problem But the point is you find really weird issues when you go to test these things At the time I was testing with a tool called Kismet Shootout and what Kismet Shootout does is it actually you give Kismet all of the Wi-Fi cards and you say put them all on channel 1 or channel 2 or channel 6 or whatever and then it counts how many packets are seen. 200 00:20:21,760 --> 00:20:38,960 That's all it does it counts how many packets each device sees and that allows me to say if this device sees this many packets but this device only sees 86% of those packets thereby this one's better So I connect a whole bunch of Wi-Fi cards to the system once, 201 00:20:38,960 --> 00:20:53,280 I put them on different channels and I meter them against each other to see who picks up the most packets Once I get a fairly good cream these 10 are pretty decent I go through and I do injection testing. 202 00:20:53,280 --> 00:20:57,240 Go through with Aircrack and I say ok does this one work, does this one work, does this one work. 203 00:20:57,240 --> 00:21:14,100 And it's actually really interesting to find out that the minor differences in the chipsets often make one suck and one work great or even worse like some of them receive really well and they can't transmit for crap they'll go 3 feet but they just don't have a good radio chain on the TX side and they don't go very far at all. 204 00:21:14,100 --> 00:21:37,740 So the ones that we're using in our kit are actually TP-Link T2Us and they totally go a solid 35 feet I mean just absolutely garbage on the transmit and pretty much on the receive side but all we do is we put them right next to each other and we have this little area for capture the flag and that's as far as they need to go and they're the tiniest thing on earth. 205 00:21:37,740 --> 00:21:42,600 Yeah, every time we do testing, Rick's like, did you get it within like 16 feet? 206 00:21:42,600 --> 00:21:43,640 I was like, well, yeah. 207 00:21:43,640 --> 00:21:45,900 He's like, good enough Alright, we're moving on. 208 00:21:45,920 --> 00:21:51,880 Yeah, so the ones we actually like are actually the Alpha 036 ACMs They're a monster card. 209 00:21:51,880 --> 00:21:53,940 They have two antenna connectors to mount the side. 210 00:21:53,940 --> 00:22:03,780 They have these giant eye surrender antennas on top of them and they're much longer range, they're much better transmit power, but they're enormous and we didn't want that kind of thing in our kit. 211 00:22:03,780 --> 00:22:14,440 So we actually go through and do testing to see that kind of level like, okay, this is good enough for what we are doing, but these are the ones that we recommend for like putting in your kit and going out and doing whatever. 212 00:22:14,460 --> 00:22:25,740 So one of the big things that Rick said but probably didn't hit on, so I'm doing the whole, this might be on the test later is you've got to log everything. 213 00:22:25,740 --> 00:22:32,680 If you're not logging, you're not getting errors you're not getting packet captures you're not getting data, you're not getting transmissions. 214 00:22:32,680 --> 00:22:37,720 You're not getting anything if you just plug a radio in and say, oh, this one works, this one doesn't. 215 00:22:37,720 --> 00:22:40,840 You need empirical data to be able to go back to. 216 00:22:40,840 --> 00:22:54,980 Now, it doesn't mean you've got the best of the best or the worst of the worst it means that you have your own level of subjective quantity identification that says, this is one this is two, this is three, this is seven. 217 00:22:55,600 --> 00:23:02,700 At that point you know that what you have is the best that you have when you're going out to do whatever it is you're trying to do. 218 00:23:02,720 --> 00:23:18,280 And that could be literally going to the beach and wanting to have your laptop connect to the Wi-Fi or getting on a boat and having your Wi-Fi connect to the dock or you're doing a full-on you know, red team where you need radios involved and you need to be able to get them from the parking lot. 219 00:23:18,280 --> 00:23:29,140 And so I know this radio is great, it's got SMA connectors, so I can hit you know, I can use my panel antenna and I can hit 150 yards solid with injection. 220 00:23:29,140 --> 00:23:33,480 But until you've tested and you've gotten the unempirical data, you really can't say that. 221 00:23:33,480 --> 00:23:44,780 What we find the most and we tell people in the CTF because we want them to take this back into their real world, if you don't test your stuff you don't know what it does. 222 00:23:45,220 --> 00:23:49,260 How many of you have ever played in any type of CTF? 223 00:23:51,800 --> 00:23:53,680 A few people over there could raise their hand. 224 00:23:53,680 --> 00:23:59,420 Did you spend a week beforehand testing your equipment to know exactly how it's supposed to react? 225 00:23:59,760 --> 00:24:01,340 Nobody ever does. 226 00:24:01,340 --> 00:24:04,560 Because every time we get there, they're like, oh, my kernel's broken. 227 00:24:04,560 --> 00:24:05,700 Oh, I have to update. 228 00:24:05,700 --> 00:24:07,180 Do you have internet so I can update? 229 00:24:07,180 --> 00:24:08,560 I didn't check this driver. 230 00:24:08,560 --> 00:24:10,140 Which kernel is this? 231 00:24:10,600 --> 00:24:17,540 Tools like Kismet and some of the others that are very helpful in data collection literally update, what, every six hours? 232 00:24:17,680 --> 00:24:19,240 I mean, at the long side. 233 00:24:19,920 --> 00:24:21,540 Jaguar doesn't even sleep, I don't think. 234 00:24:22,740 --> 00:24:28,920 They're updating the software that you're relying on to do what you're trying to do hourly. 235 00:24:29,360 --> 00:24:32,960 Some of you may or may not have tested your stuff yearly. 236 00:24:34,180 --> 00:24:36,420 Do you guys go to more than one con a year? 237 00:24:38,340 --> 00:24:42,820 How often do you test your stuff to know how it's supposed to react? 238 00:24:42,820 --> 00:24:46,640 To know what the baseline is, so when something's different, you know it changed. 239 00:24:46,640 --> 00:24:47,860 Every day, Rick. 240 00:24:48,260 --> 00:24:50,340 But we're idiots. 241 00:24:50,340 --> 00:24:51,400 Every single day. 242 00:24:51,760 --> 00:24:54,640 The Kismet shootout's running at my house right now. 243 00:24:54,720 --> 00:24:56,220 It's a long-term test. 244 00:24:56,220 --> 00:24:58,180 Again, we've got ends of the spectrum. 245 00:24:58,180 --> 00:25:00,000 We're all on the spectrum, we're here. 246 00:25:00,000 --> 00:25:01,800 But we've got ends of the spectrum. 247 00:25:02,080 --> 00:25:07,080 We've got the I test shit, and, oh my god, I'm going out tomorrow. 248 00:25:07,180 --> 00:25:11,100 Let me get a laptop at Fry's, throw a new hard drive in it, and throw a live distro on it. 249 00:25:11,940 --> 00:25:17,040 Part of this, and again, hey, good segue, by accident, platform selection. 250 00:25:17,640 --> 00:25:23,620 You're going to work, or you're going to CTF, and you guys decide which scenario you want to sit in. 251 00:25:23,820 --> 00:25:25,700 You need something to type on. 252 00:25:25,700 --> 00:25:29,520 I don't know how many people we've had come into the CTF and be like, hey, I want to play. 253 00:25:29,540 --> 00:25:30,500 What do I need? 254 00:25:30,860 --> 00:25:33,800 Well, you need a radio, and a laptop, and a home. 255 00:25:33,800 --> 00:25:36,080 I didn't bring a laptop. 256 00:25:36,540 --> 00:25:38,300 Well, what do you want to do? 257 00:25:38,340 --> 00:25:39,440 Well, I want to learn. 258 00:25:40,180 --> 00:25:41,460 Why didn't you bring a laptop? 259 00:25:42,460 --> 00:25:43,400 I'm going to do this. 260 00:25:43,400 --> 00:25:43,960 I'm going to do it. 261 00:25:43,960 --> 00:25:45,680 I'm going to hold a paper clip in my teeth. 262 00:25:45,680 --> 00:25:48,020 I'm going to stand up on my soapbox for a second. 263 00:25:49,800 --> 00:25:54,060 Who read all the stuff coming out on Twitter about the burner phones for DEF CON? 264 00:25:55,560 --> 00:26:04,000 Who read all the stuff about, turn off all your radios, turn off your Wi-Fi, turn off your Bluetooth, hide your kids, hide your wife, they're coming to get you, right? 265 00:26:04,000 --> 00:26:04,800 Okay. 266 00:26:05,700 --> 00:26:10,900 Who's been to Starbucks, Dunkin Donuts, or a Panera in the last six months? 267 00:26:11,400 --> 00:26:12,200 Okay. 268 00:26:12,680 --> 00:26:17,780 Who did all this worry before they went to Starbucks, Panera, or Dunkin Donuts? 269 00:26:18,500 --> 00:26:19,220 Right? 270 00:26:19,220 --> 00:26:19,820 Right. 271 00:26:19,820 --> 00:26:21,060 And you should. 272 00:26:21,060 --> 00:26:27,800 Who was at work last week , or the week before, because it's summertime, and was worried about this ? 273 00:26:28,380 --> 00:26:29,180 Huh? 274 00:26:30,280 --> 00:26:31,960 You're a developer, huh? 275 00:26:31,960 --> 00:26:33,500 He turns off his phone before... 276 00:26:33,500 --> 00:26:35,380 You're either a writer or a developer. 277 00:26:37,440 --> 00:26:38,360 Okay. 278 00:26:38,480 --> 00:26:54,200 So, where your protection posture is for your device when you take it anywhere should not matter if you're coming to DEF CON, which, by the way, in the last way too many years, geez whiz, 17 years, it's gotten a lot easier. 279 00:26:54,200 --> 00:26:59,340 You used to not be able to come to DEF CON with something that had a device that you connected to anything else with. 280 00:26:59,360 --> 00:27:06,860 Now, you could have a Windows XP box online at DEF CON right now, and you might make it home fine. 281 00:27:07,320 --> 00:27:08,640 It's different. 282 00:27:08,700 --> 00:27:10,160 But everybody worries about it. 283 00:27:10,160 --> 00:27:12,100 They worry about... The Vegas worries about it. 284 00:27:12,100 --> 00:27:12,940 They worry about Black Hat. 285 00:27:12,940 --> 00:27:14,360 They worry about DEF CON. 286 00:27:14,440 --> 00:27:23,340 Well, I promise you that you have more issues if you're working in, and I'm just going to name three cities randomly, L.A., New York, and Baltimore, and D.C. 287 00:27:23,340 --> 00:27:24,280 That's four. 288 00:27:24,740 --> 00:27:32,120 You have more to worry about going into a Starbucks or a Panera and connecting to their Wi-Fi than you do coming to DEF CON. 289 00:27:32,620 --> 00:27:39,740 How often are you stressed out about going to Panera or Starbucks or the train station or wherever? 290 00:27:40,400 --> 00:27:42,760 Just let that settle in for a second. 291 00:27:42,900 --> 00:27:46,820 This is why testing and knowing what your stuff does matters. 292 00:27:47,140 --> 00:27:48,660 Have you seen the bars at night? 293 00:27:48,660 --> 00:27:51,680 The good hackers are all way too drunk to be hacking you right now. 294 00:27:51,680 --> 00:27:54,020 I'm stepping on my soapbox. 295 00:27:54,020 --> 00:27:58,780 We're going to talk about platform selection because there are some platforms to select from. 296 00:27:59,220 --> 00:28:00,540 Rick, do you know... 297 00:28:03,520 --> 00:28:05,220 We're a little biased here. 298 00:28:05,220 --> 00:28:10,360 The dude that creates one of those operating systems is here, and this is Bill Gates. 299 00:28:10,740 --> 00:28:18,820 Actually, I'd like to talk to you about developers, developers, developers, developers, developers, developers. 300 00:28:19,540 --> 00:28:21,160 You got it. 301 00:28:21,160 --> 00:28:22,260 There we go. 302 00:28:22,740 --> 00:28:24,600 I like this. 303 00:28:24,980 --> 00:28:27,040 You're perfect for the front row. 304 00:28:27,040 --> 00:28:28,760 He hasn't heard these jokes before. 305 00:28:29,100 --> 00:28:30,860 They're funny for us. 306 00:28:31,020 --> 00:28:32,900 Windows is an operating system. 307 00:28:32,900 --> 00:28:34,060 Do we all agree? 308 00:28:34,880 --> 00:28:36,000 Yeah. 309 00:28:36,380 --> 00:28:38,760 How many have to use Windows? 310 00:28:39,920 --> 00:28:40,740 Okay. 311 00:28:41,160 --> 00:28:51,040 It's either because Office 365 sucks, or because Open Office doesn't quite work well, or because you were given a laptop at work to use Windows. 312 00:28:51,500 --> 00:28:54,120 There are tools that Windows works with. 313 00:28:54,320 --> 00:28:57,000 I can name five or six off the top of my head. 314 00:28:57,000 --> 00:28:58,100 There's Spike. 315 00:28:58,140 --> 00:29:00,480 There's Insider. 316 00:29:00,600 --> 00:29:04,620 There's Metageek's entire suite of stuff. 317 00:29:05,680 --> 00:29:07,360 There's a snipping program. 318 00:29:07,360 --> 00:29:08,960 I can't remember what it's called anymore. 319 00:29:09,680 --> 00:29:10,280 WinPCAP ? 320 00:29:10,420 --> 00:29:13,660 WinPCAP , yeah, but you have to have the right driver and the right radio. 321 00:29:13,660 --> 00:29:18,000 And I think I just mentioned $65,000 worth of equipment. 322 00:29:18,900 --> 00:29:23,060 So, you have to pay for Windows stuff, but it's not bad. 323 00:29:23,060 --> 00:29:23,760 It's gooey. 324 00:29:23,760 --> 00:29:24,440 It's pretty. 325 00:29:24,440 --> 00:29:28,840 I can give this to a CXO and say, hey, here's your stuff. 326 00:29:28,840 --> 00:29:30,140 Here's your heat maps. 327 00:29:30,500 --> 00:29:33,960 But for doing this type of stuff we do, it's not ideal. 328 00:29:33,960 --> 00:29:40,540 And it's not ideal because I can't manipulate the way that I'm going to affect the physics of the RF. 329 00:29:41,760 --> 00:29:43,120 Virtual machines are cool. 330 00:29:43,120 --> 00:29:44,240 Who uses them? 331 00:29:45,120 --> 00:29:50,340 Ever tried to do RF over a VM with EIEIO? 332 00:29:50,980 --> 00:29:51,740 Okay. 333 00:29:52,480 --> 00:29:57,760 80% of you can say yes and it worked fine and the other 20% can say, oh my god, why doesn't it work? 334 00:29:57,760 --> 00:30:00,180 And the answer is, you will never know. 335 00:30:00,680 --> 00:30:06,360 VMs are fabulous until they don't work and then there's nothing you can do about it. 336 00:30:06,840 --> 00:30:08,120 So, yes. 337 00:30:08,120 --> 00:30:12,100 There is an operating system missing from this screen. 338 00:30:12,100 --> 00:30:13,240 Which is it? 339 00:30:15,580 --> 00:30:16,640 Crapple. 340 00:30:16,640 --> 00:30:17,300 Okay. 341 00:30:17,300 --> 00:30:18,200 Steve died. 342 00:30:18,200 --> 00:30:19,460 Moment of silence. 343 00:30:20,120 --> 00:30:21,200 Moving on. 344 00:30:21,200 --> 00:30:27,620 So, he died and the entire vision of Apple changed when it came to usability of their operating systems. 345 00:30:27,780 --> 00:30:34,900 5, 6, 12 years ago, God, Kahuna and I, we gave a talk and we gave a talk on wireless. 346 00:30:34,900 --> 00:30:37,840 We gave a talk on wireless using VMs using Apple. 347 00:30:37,840 --> 00:30:42,860 Because Apple at that time actually had kernel-ish type stuff. 348 00:30:42,860 --> 00:30:44,300 Rick still hated it. 349 00:30:44,300 --> 00:30:47,400 But it had kernel-ish type stuff. 350 00:30:47,400 --> 00:30:50,680 It had the ability to write to the HAL more appropriately. 351 00:30:50,680 --> 00:30:53,140 It had the ability to run 3 or 4 VMs. 352 00:30:53,140 --> 00:30:55,460 It had the ability to pass that data through. 353 00:30:56,200 --> 00:30:57,640 Well, things have changed. 354 00:30:57,640 --> 00:30:58,700 It doesn't anymore. 355 00:30:58,700 --> 00:31:12,500 In fact, there are articles out there about USB 2 to USB 3 conversion on Apple and contention on the USB bus because of the screen and the way the WiFi works to make Apple almost unusable. 356 00:31:12,720 --> 00:31:18,040 So, in the last 2 or 3 years, in this type of talk we've given, we've taken Apple off the list. 357 00:31:18,040 --> 00:31:20,900 It is a viable operating system if you have to use Office. 358 00:31:20,900 --> 00:31:29,880 It is a viable operating system for Adobe or development or music or I'm sure, you know, there are tons of people that have real good uses for it. 359 00:31:29,880 --> 00:31:32,140 In this space, it's not ideal. 360 00:31:32,140 --> 00:31:38,140 The cost of an Apple outweighs the absolute horror that you have to go through to make it work. 361 00:31:38,360 --> 00:31:39,880 So, we move on to Raspberry Pi. 362 00:31:39,880 --> 00:31:41,140 I'm going to skip over the middle one. 363 00:31:41,140 --> 00:31:41,840 Yes. 364 00:31:42,940 --> 00:31:43,580 Yeah. 365 00:31:43,820 --> 00:31:44,780 Right. 366 00:31:49,680 --> 00:31:53,140 So, the question is like doing separate boots on it. 367 00:31:53,140 --> 00:31:59,580 So, it's not the hardware on Mac that's necessarily the problem, although they tend to implement the standard their own special way. 368 00:31:59,580 --> 00:32:01,780 We're talking about the operating system itself. 369 00:32:01,780 --> 00:32:09,500 So, we're skipping over Pentium in the middle, but the point is any hardware that you can live boot into Linux, the answer is do that, right? 370 00:32:09,560 --> 00:32:19,380 Even if you don't want to reinstall your operating system and kill your Windows box or kill your Mac box, if you can boot into Linux, you can do all this stuff with direct access to the hardware. 371 00:32:19,400 --> 00:32:22,740 And if you're super spooked about that, just yank the hard drive before you do it. 372 00:32:22,760 --> 00:32:25,640 Probably not with a magnetic screwdriver, but you get my point. 373 00:32:26,160 --> 00:32:30,240 Easily enough, just not format your hard drive if you don't want to do that. 374 00:32:30,240 --> 00:32:34,380 And you can do all of these things and save to a USB stick and it's no big deal. 375 00:32:34,380 --> 00:32:47,120 But the ease of use with Linux, aside from trying to actually use Linux, the tools are there and the tools roughly work as well as open source ever works, and the support's there as much as open source ever has support. 376 00:32:47,120 --> 00:32:54,000 But to get these things, the only way you're going to do it is with Linux or with millions of dollars. 377 00:32:54,000 --> 00:32:59,940 You can buy a $10,000 to $15,000 Bluetooth snipper or you can buy an Uber Tooth One. 378 00:32:59,940 --> 00:33:01,980 And they both do exactly the same thing. 379 00:33:01,980 --> 00:33:06,000 One works in Windows and the other pretty much doesn't work in Windows. 380 00:33:06,000 --> 00:33:07,060 But you can choose. 381 00:33:07,060 --> 00:33:10,380 Do I want to run Linux or do I have $10,000 extra dollars laying around? 382 00:33:10,600 --> 00:33:13,260 And if the answer is the second one, could you please be a sponsor? 383 00:33:14,860 --> 00:33:16,980 Did I mention we're a non -profit now? 384 00:33:17,480 --> 00:33:19,240 So Raspberry Pi is on there. 385 00:33:19,540 --> 00:33:23,240 Raspberry Pi is on there because Raspberry Pi runs Linux. 386 00:33:23,440 --> 00:33:24,800 It'll run Gentoo . 387 00:33:24,800 --> 00:33:25,840 It'll run Debian. 388 00:33:25,840 --> 00:33:27,200 It'll run Raspbian. 389 00:33:27,200 --> 00:33:29,260 It'll run a whole lot of operating systems. 390 00:33:29,260 --> 00:33:30,100 It'll run Kali. 391 00:33:30,100 --> 00:33:30,920 It'll run Kali. 392 00:33:30,920 --> 00:33:31,960 It'll run NetHunter. 393 00:33:31,960 --> 00:33:32,720 Kali? 394 00:33:32,720 --> 00:33:33,140 No, no. 395 00:33:33,140 --> 00:33:33,920 Kali, Kali. 396 00:33:33,920 --> 00:33:37,460 With all the Nexmod patches and everything included. 397 00:33:37,460 --> 00:33:40,160 We haven't gotten there yet, but Windows runs Kali too. 398 00:33:41,120 --> 00:33:41,900 Yeah. 399 00:33:41,920 --> 00:33:43,660 Kali's an operating system. 400 00:33:43,660 --> 00:33:45,480 Alright, so Raspberry Pi. 401 00:33:45,480 --> 00:33:57,580 So as a dropper, as a leave behind, as a pass through , as a bridge, Raspberry Pi's do a great job because if you lose it, you lost $35. 402 00:33:57,580 --> 00:33:59,900 I don't care what your budget is. 403 00:33:59,900 --> 00:34:01,880 People care about the bottom line. 404 00:34:02,120 --> 00:34:10,760 Now, there's a team that will be made, you know, not named right now because Scoot left, that left a Raspberry Pi on site. 405 00:34:10,920 --> 00:34:12,980 They left it on site unencrypted. 406 00:34:12,980 --> 00:34:18,260 So whoever found it was able to pull all their data off and look at it and review what they were doing. 407 00:34:18,400 --> 00:34:21,600 Adversary, Red Team, Pentester, whatever have you. 408 00:34:21,800 --> 00:34:25,800 We're able to pull everything you did off that information. 409 00:34:25,800 --> 00:34:26,640 You guys can sit down. 410 00:34:26,640 --> 00:34:27,340 There are seats. 411 00:34:27,340 --> 00:34:28,220 We don't bite. 412 00:34:28,260 --> 00:34:29,140 I promise. 413 00:34:29,180 --> 00:34:30,580 Lots of them up front. 414 00:34:30,580 --> 00:34:31,820 We both showered this morning. 415 00:34:31,820 --> 00:34:32,280 We did. 416 00:34:32,280 --> 00:34:32,520 Separately. 417 00:34:32,520 --> 00:34:33,040 We did. 418 00:34:33,140 --> 00:34:33,900 Separately. 419 00:34:33,900 --> 00:34:35,200 Well, sort of. 420 00:34:35,380 --> 00:34:36,400 Wasabi did walk in on me. 421 00:34:36,400 --> 00:34:39,960 Yeah, Wasabi kind of was in the middle, but that's a different story. 422 00:34:40,300 --> 00:34:47,840 So the fact that we have the ability to take a $35, okay, we've got what, Pi 4's now, they're $50. 423 00:34:48,000 --> 00:34:53,680 But that's an nth of a percentage of the cost of a lot of these engagements. 424 00:34:53,900 --> 00:34:57,700 Raspberry Pi W, what are they, $10, $12 now? 425 00:34:58,120 --> 00:35:03,180 You have the ability to do a lot of the things we're going to talk about, and we're going to back them 100%. 426 00:35:03,720 --> 00:35:07,860 But it's a tool, not your main device. 427 00:35:07,860 --> 00:35:11,360 If you need a laptop to do work, use a laptop or a computer. 428 00:35:11,420 --> 00:35:15,820 Don't use a leave behind or a dropper to do the work that a laptop should do. 429 00:35:15,960 --> 00:35:17,520 We're going to talk a little bit about that. 430 00:35:17,520 --> 00:35:20,280 Rick was talking about workloads a little bit ago. 431 00:35:20,280 --> 00:35:28,860 As a single source server that you're leaving in as an RF forwarder, Bluetooth, Wi-Fi, whatever have you, they work great. 432 00:35:29,300 --> 00:35:33,840 They're not going to be your primary OS or your primary device. 433 00:35:33,840 --> 00:35:37,840 Yeah, again, going back to the, if you didn't test it first, it doesn't work. 434 00:35:38,500 --> 00:35:47,560 We've got only like 18 things plugged into the Kismet box, and that compute stick is chugging real, real hard. 435 00:35:47,560 --> 00:36:03,500 That's based on a design from much earlier where I built a 7 radio rig, and I built a little clipboard with two lithium ion batteries that did not look like a bomb at all, and we snuck onto a trolley and sniffed a bunch of sea level traffic and then got interviewed about it. 436 00:36:03,500 --> 00:36:15,700 But that one ran for a total of five minutes before the RAM completely filled up and the box decided to crash because it couldn't write to the disk fast enough to put the captures on. 437 00:36:15,700 --> 00:36:16,980 Ran all the radios great. 438 00:36:17,000 --> 00:36:18,480 No problems there. 439 00:36:18,480 --> 00:36:19,880 Captured lots and lots of data. 440 00:36:19,880 --> 00:36:20,980 Really fast. 441 00:36:21,180 --> 00:36:24,600 Battery, hours of battery life. 442 00:36:24,600 --> 00:36:26,520 I charged my phone off the battery after we were done. 443 00:36:26,520 --> 00:36:27,540 Yeah, it was amazing. 444 00:36:27,680 --> 00:36:29,000 But yeah, five minutes. 445 00:36:29,000 --> 00:36:31,660 Five minutes of capture time, and then the RAM was full. 446 00:36:32,040 --> 00:36:33,940 Bigger RAM would not have helped me there. 447 00:36:33,940 --> 00:36:42,680 Sometimes you just, you run into these weird problems, and it's really important to test these things because the thing you don't expect to break is always what breaks. 448 00:36:42,680 --> 00:36:46,540 All of our challenges pretty much are running, and our status page is broken. 449 00:36:46,540 --> 00:36:49,280 So people keep coming over to us saying, the challenge isn't running. 450 00:36:49,280 --> 00:36:50,080 How do you know? 451 00:36:50,140 --> 00:36:51,700 Scoreboard says it's not running. 452 00:36:51,700 --> 00:36:54,040 Like, well, did you look in the air? 453 00:36:54,040 --> 00:36:55,600 All of them are up. 454 00:36:55,620 --> 00:36:56,340 Oh. 455 00:36:57,000 --> 00:37:01,940 Yeah, so it's always the thing that you wish was simple that breaks, and the complex stuff is what works fine. 456 00:37:01,940 --> 00:37:04,500 Hey Blunderbuss, you're still in third. 457 00:37:05,080 --> 00:37:05,780 Sorry. 458 00:37:05,960 --> 00:37:07,000 Just had to. 459 00:37:08,120 --> 00:37:12,120 So, we're doing this in a weird order on purpose. 460 00:37:13,100 --> 00:37:17,960 We talk, if you've ever heard us, who's ever listened to us travel on, ever? 461 00:37:17,960 --> 00:37:18,780 Anyone? 462 00:37:18,780 --> 00:37:19,420 Okay. 463 00:37:19,420 --> 00:37:20,060 Wow. 464 00:37:20,120 --> 00:37:21,860 This counts now. 465 00:37:23,240 --> 00:37:27,360 So, Kali is a great operating system. 466 00:37:27,580 --> 00:37:30,480 Kali has an absolute place in the world. 467 00:37:32,640 --> 00:37:34,820 Kali has a place in the world. 468 00:37:35,100 --> 00:37:40,520 But every operating system and every device that those operating systems are on are tools. 469 00:37:42,240 --> 00:37:47,040 I am really, really, really bad with physical tools. 470 00:37:47,040 --> 00:37:50,800 My father-in-law can build a mansion with, like, Home Depot. 471 00:37:50,900 --> 00:37:57,720 If I go to Home Depot and buy a hammer , I've got three broken thumbs, yes , three, and the nail never went in. 472 00:37:57,860 --> 00:38:00,840 But it's the same tool used by a different person. 473 00:38:01,300 --> 00:38:22,800 People that are really good at wired pen testing, reverse engineering, database exploitation, web exploitation, general networking stuff, or anything that, God love him, Dave Kennedy has written, or his team has written, works amazingly in Kali. 474 00:38:22,800 --> 00:38:27,220 So if that's your gig, and that's what you're doing, Kali is a great operating system. 475 00:38:28,240 --> 00:38:34,120 Try and do wireless work and be really effective using Kali. 476 00:38:34,680 --> 00:38:45,080 The difference between, and again, we're going back to logs, empirical data, the difference and the loss in packets with Kali to Pentoo are enormous. 477 00:38:45,340 --> 00:38:48,180 So many, many times we will disparage Kali. 478 00:38:48,180 --> 00:38:54,320 We have built stickers and written stickers that say hey, ha ha ha, you used Kali, ha, you suck. 479 00:38:55,460 --> 00:39:05,640 But because they're doing the capture the flag, and we absolutely, 100% of the time, denote that on the sticker or the discussion that we're having. 480 00:39:05,640 --> 00:39:09,000 If you're doing wireless work, these are going to be your problems. 481 00:39:09,760 --> 00:39:17,680 We could have a flame war in Linux on Debian versus Slack versus Gen2 versus BSD. 482 00:39:17,680 --> 00:39:19,700 Immediately following this talk, we can meet over there. 483 00:39:19,700 --> 00:39:20,500 Yeah, we can meet over there. 484 00:39:20,500 --> 00:39:22,300 We'll have an absolute flame war. 485 00:39:22,580 --> 00:39:33,640 But until you can tell me in this instance, using this device, using this type of test, I hate this operating system, I still am going to call bullshit on you. 486 00:39:33,640 --> 00:39:37,500 Because until you've done that, Windows is the right tool for certain things. 487 00:39:37,800 --> 00:39:40,220 Mac is the right tool for certain things. 488 00:39:40,220 --> 00:39:41,100 Alright, you've gone too far. 489 00:39:41,100 --> 00:39:42,340 Don't we have another slide? 490 00:39:42,380 --> 00:39:43,180 Nope. 491 00:39:43,580 --> 00:39:44,620 I'm pretty sure we do. 492 00:39:44,620 --> 00:39:45,180 Nope. 493 00:39:45,180 --> 00:39:45,760 This is it. 494 00:39:45,760 --> 00:39:46,900 This is the last slide. 495 00:39:47,560 --> 00:39:48,260 Please. 496 00:39:48,260 --> 00:39:51,360 So, I want you to talk about Pen2. 497 00:39:51,760 --> 00:39:52,200 So... 498 00:39:52,880 --> 00:39:54,040 Yeah, go ahead. 499 00:39:54,040 --> 00:39:55,360 I like Pen2. 500 00:39:55,860 --> 00:39:57,380 It's a lot of fun. 501 00:39:57,960 --> 00:40:01,200 So, the truth is, when you're using a live CD... 502 00:40:01,200 --> 00:40:02,400 And the next slide. 503 00:40:02,400 --> 00:40:06,020 The only thing that matters is, does the tool I'm trying to run work? 504 00:40:06,020 --> 00:40:08,060 Does the device I'm plugging in work? 505 00:40:08,060 --> 00:40:09,900 It doesn't matter what the OS base is. 506 00:40:09,900 --> 00:40:12,340 It doesn't matter what schmuck put it together. 507 00:40:12,340 --> 00:40:15,260 It only matters does this work right now, this second. 508 00:40:15,380 --> 00:40:19,380 And if you're trying to install with Pen2, the answer is probably 80% it doesn't. 509 00:40:19,380 --> 00:40:22,700 But if you're trying to use any of the tools, it absolutely does work. 510 00:40:22,700 --> 00:40:26,020 And we spend an enormous amount of time testing our own stuff. 511 00:40:26,020 --> 00:40:27,840 And we use Pen2 to test it. 512 00:40:27,840 --> 00:40:32,380 Which means that we know for a fact that you can break the challenges with the hardware using Pen2. 513 00:40:33,140 --> 00:40:40,740 When you choose what operating system to install, I always suggest that you install the one that you ask the least stupid questions about. 514 00:40:40,780 --> 00:40:42,820 If that happens to be Pen2, that's great. 515 00:40:42,820 --> 00:40:44,220 And I would love to support you. 516 00:40:44,220 --> 00:40:51,600 But the truth is, using Pen2, which is based on Gen2, is enormously painful for new Linux users. 517 00:40:51,600 --> 00:40:54,480 The learning curve is straight backwards. 518 00:40:54,620 --> 00:40:59,200 If this is a normal learning curve, Pen2 is this way. 519 00:40:59,440 --> 00:41:00,520 No joke. 520 00:41:01,980 --> 00:41:03,680 Learning to use Linux... 521 00:41:03,680 --> 00:41:05,000 I started on Red Hat. 522 00:41:05,320 --> 00:41:07,200 I spent two years on Red Hat. 523 00:41:07,200 --> 00:41:10,520 And then I'm like, oh my god, why does this never do what I want it to do? 524 00:41:10,600 --> 00:41:13,800 And the guy I was working with on the InterCAP project is like, oh, I use Gen2. 525 00:41:13,800 --> 00:41:15,220 It's the only way I can make it work. 526 00:41:16,200 --> 00:41:19,960 And then I just... now I'm on Gen2 forever. 527 00:41:20,060 --> 00:41:20,960 Go Gen2. 528 00:41:21,100 --> 00:41:30,500 But the truth is, it is painful to use sometimes when you are trying to do updates and reconfiguring the system and learning how to make Linux work. 529 00:41:30,500 --> 00:41:34,580 So if you have no idea how Linux works and you want the pain, by all means, I will help you. 530 00:41:34,580 --> 00:41:45,900 If you want to start with something a little gentler, honestly, using Debian or Ubuntu, learning how Linux works, or something based on said operating systems, even Kali, you can learn how Linux works. 531 00:41:45,900 --> 00:41:52,220 And when you're a little more comfortable with that, something that's a lot more complex is worth it sometimes. 532 00:41:52,220 --> 00:41:58,680 So, the next slide, please do not go out and buy these tools. 533 00:41:58,920 --> 00:42:07,360 We've had this talk before, and the next thing I know, three days later, I went to Hacker Warehouse, which, by the way, is phenomenal and they've got everything. 534 00:42:07,440 --> 00:42:09,600 But I went to Hacker Warehouse and I bought all these things. 535 00:42:09,600 --> 00:42:11,440 I'm a pen tester now, right? 536 00:42:12,620 --> 00:42:13,820 I went to Home Depot. 537 00:42:13,820 --> 00:42:17,020 I bought a saw , a hammer, a jigsaw, and some nails. 538 00:42:17,020 --> 00:42:18,080 Can I build a house? 539 00:42:18,140 --> 00:42:18,920 Hell no. 540 00:42:18,920 --> 00:42:19,960 I bought a monocle now. 541 00:42:19,960 --> 00:42:20,780 I'm a millionaire. 542 00:42:20,780 --> 00:42:21,440 Yes. 543 00:42:21,440 --> 00:42:21,820 Yes. 544 00:42:21,820 --> 00:42:22,860 Monopoly boy. 545 00:42:22,860 --> 00:42:30,080 So, the Ubertooth is a great tool for portions of Bluetooth that you need it for. 546 00:42:30,620 --> 00:42:35,000 Alpha radios are phenomenal if they have the right chipset. 547 00:42:35,360 --> 00:42:44,060 If you can find the TP-Link TLWN722N version 1, it's golden. 548 00:42:44,060 --> 00:42:48,320 It's about $13 and it will last for years. 549 00:42:48,320 --> 00:42:55,220 It's a $13 Wi-Fi radio that, in 2.4 gigahertz, will do everything you needed to do. 550 00:42:55,220 --> 00:42:56,600 And I see you all taking pictures. 551 00:42:56,600 --> 00:42:59,160 Don't go buy all this because you can't buy some of it. 552 00:43:01,300 --> 00:43:04,720 But version 1 is amazing. 553 00:43:04,720 --> 00:43:06,180 Version 2, they change the chipset. 554 00:43:06,180 --> 00:43:06,980 It doesn't inject. 555 00:43:06,980 --> 00:43:07,920 It's worthless. 556 00:43:08,860 --> 00:43:14,020 HackRF, Mike Ospin, makes an amazing, capable software-defined radio. 557 00:43:14,160 --> 00:43:16,620 There are better, but they're more expensive. 558 00:43:16,620 --> 00:43:22,080 There are worse, and they're cheaper, but they may do exactly what you want them to do. 559 00:43:22,540 --> 00:43:27,480 The Globalstat BU353 GPS is amazing. 560 00:43:27,800 --> 00:43:29,300 We're not even using them. 561 00:43:29,300 --> 00:43:35,460 We're using the Block 7s because they do a better job, they're smaller, and they make better connections. 562 00:43:35,880 --> 00:43:38,400 Crazy Radio PA, who knows what that does? 563 00:43:38,740 --> 00:43:42,180 By the end of this talk, you're going to love these and you're going to go buy them. 564 00:43:42,220 --> 00:43:44,800 The Crazy Radio PA is the mouse jack attack. 565 00:43:44,800 --> 00:43:45,740 Who's heard of that? 566 00:43:46,780 --> 00:43:49,920 Oh, okay, we have to talk about mouse jack a little bit. 567 00:43:49,960 --> 00:43:52,900 So for those of you who know it, just sit back and laugh at everybody else. 568 00:43:53,500 --> 00:43:57,080 The Senna UD100 is an amazing Bluetooth radio. 569 00:43:57,360 --> 00:44:01,420 But one of our guys who does a ton of work, and I'm going to plug him real quick. 570 00:44:01,420 --> 00:44:02,540 Woody, are you over there? 571 00:44:03,400 --> 00:44:07,360 He can't hear low frequency stuff because he's been blown up too many times. 572 00:44:07,400 --> 00:44:07,940 Woody! 573 00:44:08,160 --> 00:44:08,980 Hey, Woody! 574 00:44:08,980 --> 00:44:09,620 Hey, Woody! 575 00:44:09,620 --> 00:44:10,740 It worked, see? 576 00:44:11,020 --> 00:44:12,920 We have a high frequency, we can hear him. 577 00:44:12,920 --> 00:44:20,400 Woody has done a crap ton of Bluetooth testing and has pointed us in some directions on Bluetooth radios that are different from the UD100. 578 00:44:20,620 --> 00:44:23,480 He says he sees like 10 times more things in the same room. 579 00:44:23,480 --> 00:44:25,840 So, hey, cool, let's work with this. 580 00:44:26,140 --> 00:44:27,740 USB-powered hubs. 581 00:44:27,740 --> 00:44:33,860 You'd think this was a really just easy, simple, no worries, I'm going to go buy a USB hub. 582 00:44:33,920 --> 00:44:35,300 How many have we burned up? 583 00:44:37,560 --> 00:44:39,260 I mean, like, literally melted? 584 00:44:39,260 --> 00:44:41,920 Only a few, but most of them break really quick. 585 00:44:41,940 --> 00:44:45,680 The ones that don't break usually don't actually fill all the ports. 586 00:44:45,880 --> 00:44:53,020 So I've got a 7 port at home that's got 3 of those 2 e-links in it because you can't actually fit them next to each other. 587 00:44:53,240 --> 00:44:55,100 Most USB hubs are awful. 588 00:44:55,100 --> 00:45:01,440 Both in throughput and in latency and in heat and in the fact that they just generally break. 589 00:45:01,440 --> 00:45:08,220 So, for instance, if you look in our box, which we encourage you to look but not touch, you'll see 2 different kinds of hubs. 590 00:45:08,220 --> 00:45:18,440 We've got one where they're really, really close to each other and we've got the new model of same said hub where they're actually spaced out enough that you can put devices in every friggin' port. 591 00:45:18,440 --> 00:45:25,000 If you're taking notes, the VanTech 10 port USB 3 hub is absolutely amazing. 592 00:45:25,000 --> 00:45:25,720 It's aluminum. 593 00:45:25,720 --> 00:45:29,000 It is the size of your forearm but... It's not that big. 594 00:45:29,040 --> 00:45:30,560 It's all aluminum. 595 00:45:30,560 --> 00:45:34,160 It's made for bit miners and it disperses heat phenomenally. 596 00:45:34,160 --> 00:45:36,540 And it's got full bandwidth. 597 00:45:36,540 --> 00:45:46,300 So, even something as simple as going to Fry's or on Amazon or Micro Center and finding a USB hub, even that is something we test. 598 00:45:46,300 --> 00:45:49,080 And we're going to talk through some of this testing as we go through this. 599 00:45:49,080 --> 00:45:51,680 Again, we're at 48 minutes of a 2 hour talk. 600 00:45:51,780 --> 00:45:52,960 Can we talk for 2 hours? 601 00:45:52,960 --> 00:45:54,320 I think we can talk for like 6. 602 00:45:54,320 --> 00:45:55,880 I think you can probably talk for 2 hours. 603 00:45:55,880 --> 00:45:57,020 I probably could talk for 2 hours. 604 00:45:57,020 --> 00:45:58,400 I'm going to close though. 605 00:45:58,620 --> 00:45:59,840 It might be now. 606 00:45:59,840 --> 00:46:00,240 I don't know. 607 00:46:00,240 --> 00:46:01,380 I haven't decided yet. 608 00:46:02,040 --> 00:46:03,860 USB to Ethernet controller. 609 00:46:03,860 --> 00:46:09,200 If you've bought a new generation laptop, that is decent. 610 00:46:10,040 --> 00:46:12,300 How many USB ports do you have? 611 00:46:12,300 --> 00:46:12,820 1? 612 00:46:12,820 --> 00:46:13,640 2? 613 00:46:13,640 --> 00:46:14,820 All USB-C? 614 00:46:14,820 --> 00:46:15,460 None? 615 00:46:15,460 --> 00:46:16,300 Love it. 616 00:46:16,300 --> 00:46:18,680 Yeah, that shit sucks. 617 00:46:18,800 --> 00:46:37,840 But you have to be able to plug other things into it because, you know, we talk about how secure WiFi is, but if you're not using client certs and server certs, validating both and having no wildcards and having everything signed, and having your IT department write a GPO that gives you WPA2 only insert form, 618 00:46:37,840 --> 00:46:40,180 you're not really secure using WiFi. 619 00:46:40,300 --> 00:46:44,460 How many years has Defcon's WiFi gone down because of us? 620 00:46:45,120 --> 00:46:48,220 I mean all the way down or just we stole all the passwords? 621 00:46:48,320 --> 00:46:49,280 Both. 622 00:46:49,540 --> 00:46:51,820 Most of the time they don't even notice. 623 00:46:51,960 --> 00:46:56,320 The NOC hates us and we love them and they hate us and we love them. 624 00:46:56,360 --> 00:46:58,740 I want it on record that we love them. 625 00:46:58,880 --> 00:47:00,040 And we try and help. 626 00:47:00,040 --> 00:47:04,880 But essentially every time they create a network, they implement it properly. 627 00:47:04,880 --> 00:47:06,720 Who's a sysadmin in the room? 628 00:47:06,720 --> 00:47:08,760 It's okay to raise your hand if you are. 629 00:47:09,080 --> 00:47:22,040 Who's implemented WiFi and done it correctly and dealt with the absolute hell of dealing with mutual cert authentication and validation and the cert chain and all of everything that goes with that? 630 00:47:22,040 --> 00:47:27,420 I connect my GPD to my phone's hotspot at work so I don't have to do that. 631 00:47:27,420 --> 00:47:30,080 Because people go around it. 632 00:47:30,080 --> 00:47:44,280 So again, if you're not going with the full compliance of what... wow, this is going flat quick... the full compliance of what your enterprise is doing, you're not secure any other time if you're still following the same rules. 633 00:47:44,300 --> 00:47:46,580 So, USB to Ethernet controller. 634 00:47:46,580 --> 00:47:48,700 If you don't use WiFi, you gotta use Ethernet. 635 00:47:48,700 --> 00:47:58,240 We were testing radios in the room before this to get ready for this talk and the CTF and you guys because, you know, Defcon's a bunch of assholes that try and break everything. 636 00:47:58,380 --> 00:48:10,540 And the end goal was Rick had at least one gigabit Ethernet over USB 3 device that's cut in half with his flyers because I was de-authing him with my handheld radio. 637 00:48:10,540 --> 00:48:14,820 Does anybody know what frequency USB works on? 638 00:48:15,280 --> 00:48:19,360 USB 2 transfers at 480 megahertz? 639 00:48:20,400 --> 00:48:23,720 Does anybody know what frequency handband is? 640 00:48:23,720 --> 00:48:25,440 Like 430? 641 00:48:25,620 --> 00:48:28,720 Business band's even worse, like in the 460s. 642 00:48:28,720 --> 00:48:48,720 If you use any of the radios that have the TTY inside the radio, they actually pop up a warning in this radio config software of, for the love of God, don't transmit while you're trying to upload to the radio because it picks up right into the radio and feeds into it and I have bricked a radio that way before. 643 00:48:48,720 --> 00:48:59,840 You can de-auth someone's dongle, you know, we're in dongle gate now, you can de-auth somebody's ethernet connection with a handheld radio regularly. 644 00:48:59,840 --> 00:49:04,460 You can move a mouse because, what bus does the mouse sit on? 645 00:49:06,040 --> 00:49:07,120 U...S...come on... 646 00:49:08,320 --> 00:49:08,980 U...S... 647 00:49:08,980 --> 00:49:09,820 B... 648 00:49:09,820 --> 00:49:15,440 The USB bus is really vulnerable to RF attacks. 649 00:49:15,500 --> 00:49:22,860 Those that are Wi-Fi pen testers, how often do you do USB based frequency RF attacks? 650 00:49:22,880 --> 00:49:31,880 I can move your mouse, I can make your computer do things it's not supposed to do, literally by keying up a 5 watt handheld near you. 651 00:49:31,920 --> 00:49:37,260 Yeah, who's tried to sniff Wi-Fi on a USB 3 hub that is really, really cheap? 652 00:49:37,440 --> 00:49:42,620 Yeah, it leaks energy all over the place and completely ruins your signal. 653 00:49:42,740 --> 00:49:47,880 Like, those big, thick cables that nobody likes, those are the good ones for a reason. 654 00:49:47,880 --> 00:49:48,640 They're good. 655 00:49:49,760 --> 00:49:51,160 Headphones are up here. 656 00:49:51,220 --> 00:49:52,100 Why? 657 00:49:52,920 --> 00:49:56,640 A, because I don't want to listen to other people talk while I'm trying to work. 658 00:49:56,780 --> 00:50:04,720 When you get on a train, headphones, the really big ones, are like the universal, don't talk to me, signal. 659 00:50:05,540 --> 00:50:08,560 But headphones are important if you're trying to listen to RF signals. 660 00:50:08,560 --> 00:50:15,060 So, as you're listening to these RF signals, you're going to hear voices, you're going to get video, you're going to get things that you want to hear. 661 00:50:15,060 --> 00:50:19,580 I had an assessment that we were on in the middle of Trafalgar Square in England. 662 00:50:19,900 --> 00:50:23,960 Well, if you've ever been there, there's a few other embassies around there. 663 00:50:24,620 --> 00:50:26,540 They will be named, unnamed? 664 00:50:26,580 --> 00:50:27,600 Unnamed at this point? 665 00:50:27,600 --> 00:50:28,200 Unnamed. 666 00:50:28,200 --> 00:50:38,840 We were doing an assessment, we found some stuff, and the next thing I know, we're hearing chatter, and I didn't recognize the language, so I called in somebody that might, and he's like, oh, that's not good. 667 00:50:39,180 --> 00:50:40,000 I was like, okay. 668 00:50:40,240 --> 00:50:51,180 So, we, you know, as an intelligent assessor does, we go to the ground, took a Surface that's running Linux because it looks like I'm walking around as a tourist with a tablet, a bunch of shit in my backpack. 669 00:50:51,460 --> 00:51:06,260 Next thing I know, I've got a group of people with earwigs and flags on their chest following me and the guy that I'm working with because they realized that we intercepted their communications and we were down the road trying to triangulate where they were. 670 00:51:06,560 --> 00:51:12,000 Well, this isn't an abnormal situation if you're doing red teaming in America or other countries. 671 00:51:12,000 --> 00:51:13,480 It really doesn't matter where you are. 672 00:51:13,760 --> 00:51:25,040 That happening allowed me to realize that, you know, people see what you're doing, your opsec matters, radios have to be down when you're doing this stuff because they can fingerprint me digitally. 673 00:51:25,320 --> 00:51:33,380 So as we're going through, the headphones were what allowed me to at least look semi touristy and get the work done that I needed to get done. 674 00:51:33,600 --> 00:51:36,000 It also helps in personal relationships. 675 00:51:36,160 --> 00:51:37,920 My wife refers to my radio as Mr. 676 00:51:37,920 --> 00:51:43,040 Crackly, and I am only allowed to use it if I have my earbuds in. 677 00:51:43,740 --> 00:51:45,460 Who has a scanner? 678 00:51:45,700 --> 00:51:47,720 You ever listen to a scanner? 679 00:51:47,860 --> 00:51:50,380 They're not, not quiet. 680 00:51:50,620 --> 00:51:57,020 In fact, they're very loud, and they're usually not well tuned because you're getting a signal from like 60 miles away. 681 00:51:57,360 --> 00:52:05,360 The key to all this is, know what your gear does, know what your signatures look like, and know what other people can see of you as you're walking around. 682 00:52:05,440 --> 00:52:07,180 And then antennas assorted. 683 00:52:07,180 --> 00:52:10,040 How many antennas are you carrying right now? 684 00:52:11,460 --> 00:52:12,500 Me? 685 00:52:12,520 --> 00:52:13,040 Yeah. 686 00:52:14,020 --> 00:52:15,500 About 200. 687 00:52:15,500 --> 00:52:17,120 Just in my pocket? 688 00:52:17,120 --> 00:52:19,140 Yeah, I was going to say, I've got two in my pocket right now. 689 00:52:19,140 --> 00:52:21,520 Here, like, 45 or 50. 690 00:52:21,540 --> 00:52:23,820 Antennas matter, and frequency matters. 691 00:52:23,820 --> 00:52:28,500 And some of the talks you've heard today talk to the frequencies that go on and how they work. 692 00:52:28,500 --> 00:52:37,380 A 2.4 gigahertz antenna on a 433 megahertz transmitter or transceiver isn't going to give you a whole lot of anything good. 693 00:52:37,380 --> 00:52:39,020 It's going to give you a lot of dirty signal. 694 00:52:39,280 --> 00:52:41,880 Understanding what you're doing with antennas is super important. 695 00:52:43,220 --> 00:52:47,700 These are two tools that we live in quite a bit in the WiFi world. 696 00:52:48,500 --> 00:52:51,200 One on the left has pretty colors. 697 00:52:51,340 --> 00:52:53,400 One on the right has more pretty colors. 698 00:52:54,080 --> 00:52:56,160 Which one are you presenting to a CEO? 699 00:52:57,580 --> 00:53:03,440 I hope neither, and I hope you're writing up an assessment of actually what they say and not what that's showing. 700 00:53:03,440 --> 00:53:05,980 But AeroDump and Kismet are pretty much the defect. 701 00:53:05,980 --> 00:53:06,620 Yes? 702 00:53:06,780 --> 00:53:07,600 What, Chris? 703 00:53:08,060 --> 00:53:09,180 He's saying hi. 704 00:53:09,180 --> 00:53:10,200 Are you just saying hi? 705 00:53:10,200 --> 00:53:11,020 Hi, Chris. 706 00:53:11,020 --> 00:53:12,440 Can you say hi to everybody, Chris? 707 00:53:12,440 --> 00:53:15,780 If you don't have enough to share, don't give anything out. 708 00:53:16,500 --> 00:53:17,220 Okay. 709 00:53:17,440 --> 00:53:18,740 He does have enough to share. 710 00:53:18,740 --> 00:53:20,160 Everybody go share with Chris. 711 00:53:20,420 --> 00:53:21,260 Start with hugs. 712 00:53:21,260 --> 00:53:22,500 He's a very nice guy. 713 00:53:22,500 --> 00:53:24,200 He loves hugs. 714 00:53:24,900 --> 00:53:26,800 Bear looking for a twink in the back. 715 00:53:26,800 --> 00:53:29,080 If everybody's getting up to give him a hug, sit back down. 716 00:53:29,440 --> 00:53:30,300 Or don't. 717 00:53:30,300 --> 00:53:31,180 He might punch you. 718 00:53:31,180 --> 00:53:32,040 Or hug you. 719 00:53:32,040 --> 00:53:32,800 I'm not sure. 720 00:53:33,060 --> 00:53:36,000 So Kismet and AeroDump are the two kind of go-to tools. 721 00:53:36,660 --> 00:53:38,840 AeroDump for Wi-Fi specific. 722 00:53:39,060 --> 00:53:44,960 Kismet, as you see, if you come over and look at some of the work we're doing, Kismet gives you a lot more information. 723 00:53:44,960 --> 00:53:46,940 It gives it to you in a much better form. 724 00:53:47,300 --> 00:53:53,240 And then, Mike, if you could just give us packet captures back and not make us script it, that would be great. 725 00:53:53,760 --> 00:53:57,260 It totally doesn't always crash on the PCAP-NG output. 726 00:53:57,820 --> 00:54:01,780 But these are two really good tools to use these capabilities we're talking about. 727 00:54:01,920 --> 00:54:07,600 So to get to where you're going, you're going to have to pack it out some way. 728 00:54:07,600 --> 00:54:09,380 So you can pack it covert. 729 00:54:10,640 --> 00:54:12,540 The Osprey bag on the right. 730 00:54:12,540 --> 00:54:14,840 You can be totally, I'm a soft guy. 731 00:54:14,840 --> 00:54:15,640 I've got my Oakleys. 732 00:54:15,640 --> 00:54:16,580 I've got my Levi's. 733 00:54:16,580 --> 00:54:19,040 I've got my Hard Rock Cafe shirt on. 734 00:54:19,040 --> 00:54:21,300 And wear your M11 backpack. 735 00:54:22,120 --> 00:54:23,480 You need a Pelican. 736 00:54:23,480 --> 00:54:25,300 You need something to travel with. 737 00:54:25,360 --> 00:54:29,480 Having the ability to get your gear from one place to another is super important. 738 00:54:29,640 --> 00:54:33,680 That MRAP actually happens to be a war driving vehicle. 739 00:54:34,300 --> 00:54:35,600 Ha ha! 740 00:54:35,920 --> 00:54:37,120 See where I went with that? 741 00:54:37,120 --> 00:54:38,280 That was clever. 742 00:54:38,280 --> 00:54:39,200 That was fun. 743 00:54:39,200 --> 00:54:54,620 So, again, if you're putting stuff in your car, the reason that Kismet box was built is I wanted the ability to throw something in the car, plug it in and have it run as opposed to plugging a hub in, plugging things in, getting everything set up, setting up a network and all that other bullshit. 744 00:54:54,700 --> 00:54:58,320 So having the ability to just throw it into the vehicle you're in is very helpful. 745 00:54:58,320 --> 00:55:01,020 You've got to get your shit from one place to another. 746 00:55:01,200 --> 00:55:03,080 One of these will probably help. 747 00:55:03,100 --> 00:55:07,760 I don't have a rental car here because, frankly, rental cars tend to suck. 748 00:55:07,760 --> 00:55:08,780 Just ask Woody. 749 00:55:08,980 --> 00:55:12,740 They've got a lot of flaws to them and your data goes to pretty much everybody. 750 00:55:13,840 --> 00:55:15,740 Who has an Android phone here? 751 00:55:16,020 --> 00:55:18,000 You can raise your hands proudly on that. 752 00:55:18,020 --> 00:55:21,080 Even though iPhones are a better phone, Androids are better devices. 753 00:55:21,280 --> 00:55:23,260 These are devices that you can... 754 00:55:23,260 --> 00:55:24,660 that you can use on Android. 755 00:55:24,660 --> 00:55:28,700 We've kind of talked through this over the years as to what works, what doesn't. 756 00:55:29,040 --> 00:55:34,240 This would be something I would take a picture of or, you know, get the video later. 757 00:55:34,240 --> 00:55:41,720 But these particular tools make your Android device a relatively covert device to do things with. 758 00:55:41,720 --> 00:55:44,820 As long as you have the right OTG cable. 759 00:55:45,480 --> 00:55:55,940 The Nexus 5X's are decent devices but they only work with like three OTG cables, which means that they kind of suck when you're trying to do work. 760 00:55:56,560 --> 00:55:59,040 Understanding how your tools work. 761 00:55:59,820 --> 00:56:05,440 If you're at DEF CON, we used to be really concerned over those things that killed Steve Irwin. 762 00:56:05,440 --> 00:56:06,960 I'll let you Google that one. 763 00:56:07,000 --> 00:56:13,140 But Open Signal and LTE Discovery do an amazing job of telling you when cell towers move. 764 00:56:13,480 --> 00:56:16,640 Why would it be a problem when cell towers move? 765 00:56:18,220 --> 00:56:20,120 Discuss amongst yourselves. 766 00:56:21,640 --> 00:56:26,980 Having the ability to see them is very helpful and Open Signal and LTE Discovery do a really good job for that. 767 00:56:27,340 --> 00:56:29,360 Anything else you want to talk about on there? 768 00:56:30,440 --> 00:56:32,520 No, but that guy has a question. 769 00:56:32,520 --> 00:56:34,000 Yes, question. 770 00:56:34,520 --> 00:56:35,380 Hi! 771 00:56:42,480 --> 00:56:43,360 No. 772 00:56:45,180 --> 00:56:45,880 Yeah. 773 00:56:46,660 --> 00:56:47,720 Apple, there is... 774 00:56:47,720 --> 00:57:02,180 Real quick, the question was, are there ways without jailbreaking your iDevice, I'll leave it at iDevice instead of phone, to detect moving signals over LTE, GSM, or 4G, or 5G? 775 00:57:02,260 --> 00:57:06,220 I'm going to uncharacteristically say something kind of pro-Apple here. 776 00:57:06,220 --> 00:57:13,220 They are really, really, really bad to the app developers by preserving the user's privacy. 777 00:57:13,220 --> 00:57:20,520 They do things like not allowing you to read the MAC address of the device, not allowing you to read the information of the device, basically at all. 778 00:57:20,520 --> 00:57:26,560 Whereas Android makes all of their money from app developers who are basically stealing all of your private information. 779 00:57:26,560 --> 00:57:28,000 So they give you everything. 780 00:57:28,000 --> 00:57:42,900 If you're an app on Android, you can access the GPS, you can access Wi-Fi's nearby, you can get all the MAC addresses of everything anywhere near you, and things like NRF Connect do exactly that to track the local Bluetooth devices and show them to you. 781 00:57:42,900 --> 00:57:50,720 But Apple locks all of that down, doesn't even make it optionally available to protect you from those companies being evil with your data. 782 00:57:51,640 --> 00:57:55,100 Apple may in fact be secure in that way. 783 00:57:55,100 --> 00:57:57,920 Android may in fact be useful in that way. 784 00:57:57,920 --> 00:58:00,620 And unfortunately your choices are one or the other. 785 00:58:00,840 --> 00:58:03,100 So, you know, whatever. 786 00:58:03,180 --> 00:58:04,640 Personally, I carry two phones. 787 00:58:04,640 --> 00:58:06,380 I carry a device and I carry a phone. 788 00:58:06,380 --> 00:58:08,000 I like Apples as phones. 789 00:58:08,240 --> 00:58:09,980 I like Androids as devices. 790 00:58:10,160 --> 00:58:16,080 Both of which fit in my pockets and they both work really well but you gotta figure out what it is that you're trying to do when you're doing it. 791 00:58:16,700 --> 00:58:19,140 Any questions about those tools? 792 00:58:20,900 --> 00:58:21,960 Excuse me? 793 00:58:25,020 --> 00:58:26,500 Which Android phone do you recommend? 794 00:58:26,680 --> 00:58:33,960 I use a Note because they're bigger screens and if I'm using it as a device I want to be able to see a little bit bigger screen. 795 00:58:34,200 --> 00:58:35,600 You use Pixels, right? 796 00:58:35,600 --> 00:58:43,780 I use whatever Google is selling because they're the only ones that actually get security updates in a timely manner and as it turns out that's very important to me personally. 797 00:58:44,500 --> 00:58:45,780 I know , right? 798 00:58:45,780 --> 00:58:47,340 Good. 799 00:58:50,580 --> 00:58:52,760 Do OTG cables work with every phone? 800 00:58:52,760 --> 00:58:53,360 Maybe? 801 00:58:53,360 --> 00:58:54,780 No, definitely not. 802 00:58:54,780 --> 00:59:05,160 They do work with a lot of phones and USB-C is a lot better about that but you also have to realize that there's not like drivers in these phones for whatever you plug in. 803 00:59:05,160 --> 00:59:21,200 So for example, almost every Android phone, including like the Chromecast sticks, can take a USB Ethernet and will use that as their primary Ethernet but only like two or three chipsets actually work. 804 00:59:21,200 --> 00:59:28,580 It's the most common ones so it feels like oh yeah, like every one of them works but I've got a stack of them that just don't work. 805 00:59:28,580 --> 00:59:30,480 So there's a very limited driver set. 806 00:59:30,480 --> 00:59:35,680 You're not going to plug a Wi -Fi card into your OTG cable and use it on stock Android. 807 00:59:35,680 --> 00:59:47,900 There are products like NetHunter and the Pony Express products that have completely customized the kernel , the operating system to give you those extra drivers that are not available on like stock Android. 808 00:59:47,900 --> 00:59:59,120 But you can get like, you can plug an RTL-SDR into your phone and you can use RF analyzer and that absolutely works because it's a nice user space driver and somebody ported the RTL libs to Android. 809 00:59:59,260 --> 01:00:03,040 So there is a lot of capabilities but don't think it's a Linux computer. 810 01:00:03,040 --> 01:00:04,040 It's not. 811 01:00:05,360 --> 01:00:09,260 Alright, so the sweet spot of where most people do their work. 812 01:00:09,260 --> 01:00:11,640 Wi-Fi 2.4 and 5 GHz. 813 01:00:11,640 --> 01:00:19,240 Who here, especially you people over there, only has 2.4 GHz stuff with them? 814 01:00:20,440 --> 01:00:21,740 It's okay. 815 01:00:21,740 --> 01:00:22,800 Yeah, it's okay. 816 01:00:22,800 --> 01:00:24,900 You don't have to admit it because we all know. 817 01:00:24,900 --> 01:00:29,200 The truth is nobody only has 2.4 GHz stuff with them. 818 01:00:29,200 --> 01:00:35,660 Your phone, your laptop, everything that you're not using for hacking is dual band. 819 01:00:35,800 --> 01:00:46,020 All of the stuff that people are using for hacking, like the sweet deauthing wristband on one of our contestants over there is 2.4 GHz only garbage. 820 01:00:46,480 --> 01:00:58,000 And the truth is 5 GHz is very, very well utilized here at DEF CON because every schmuck with 50 cents is deauthing Wi-Fi right now but all their stuff is 2.4 GHz only. 821 01:00:59,420 --> 01:01:04,920 It's shocking that people are actually going around and not sniffing 5 GHz. 822 01:01:05,480 --> 01:01:10,420 This has been a big complaint of mine for years, especially with AC. 823 01:01:10,420 --> 01:01:12,940 AC is only 5 GHz. 824 01:01:12,940 --> 01:01:21,380 There wasn't any enhancement to 2.4 for AC so all of these laptops for several years are predominantly using 5 GHz. 825 01:01:21,380 --> 01:01:24,780 Even the cheaper devices are now mostly dual band. 826 01:01:24,780 --> 01:01:28,260 And truthfully, if it's not dual band, stop buying it. 827 01:01:28,660 --> 01:01:29,960 It's garbage. 828 01:01:29,960 --> 01:01:37,500 It is the most overused spectrum we have in the world and it's overlapping with your microwave. 829 01:01:38,160 --> 01:01:40,280 It's the worst spectrum on the planet. 830 01:01:40,280 --> 01:01:40,960 Stop using it. 831 01:01:40,960 --> 01:01:42,020 5 GHz is great. 832 01:01:42,020 --> 01:01:42,960 Oh my god. 833 01:01:43,300 --> 01:01:45,760 Talk about Wi-Fi testing for now. 834 01:01:46,280 --> 01:01:47,620 Talk about Wi-Fi testing? 835 01:01:47,620 --> 01:01:49,360 What kind of Wi-Fi testing should we talk about? 836 01:01:49,360 --> 01:01:50,420 Oh boy. 837 01:01:51,700 --> 01:01:53,960 So, Ted, you still here? 838 01:01:53,960 --> 01:01:54,800 Teddy? 839 01:01:54,800 --> 01:01:56,580 Ted, no last name? 840 01:01:56,980 --> 01:01:57,700 Ted! 841 01:01:57,980 --> 01:01:59,340 Ted, wave hi. 842 01:01:59,540 --> 01:02:00,320 Thanks. 843 01:02:00,320 --> 01:02:04,260 So Ted gave a talk earlier called Are You Interested in Kismet? 844 01:02:04,260 --> 01:02:05,460 It was a great pun. 845 01:02:05,560 --> 01:02:11,940 But the truth is, Kismet has a wonderful API that gives you all of its information and allows you to kind of poke at it. 846 01:02:12,000 --> 01:02:14,740 So we used Kismet, mostly him. 847 01:02:14,740 --> 01:02:17,720 I had the idea and begged for somebody else to write it for me. 848 01:02:18,040 --> 01:02:28,220 He rewrote my Kismet shootout into a REST API call to the new Kismet and it allows you to test competitively those cards against each other. 849 01:02:28,220 --> 01:02:32,380 And that is , again, one of my primary ways of testing Wi-Fi cards. 850 01:02:32,380 --> 01:02:37,140 In addition, testing things very fairly is almost impossible. 851 01:02:37,140 --> 01:02:40,500 I have a large baggie of really, really crappy antennas. 852 01:02:40,500 --> 01:02:46,440 Not because I use crappy antennas, but because they're all exactly the same crappy antennas. 853 01:02:46,440 --> 01:02:52,760 Mostly, I use the little zero DBI ones that come off the Centidongles because I have a bag of like 20 of them. 854 01:02:52,760 --> 01:03:00,440 And that allows me to test like 10 or 15 cards with exactly identical antennas at once to see what really is what. 855 01:03:00,440 --> 01:03:03,120 So we spend a lot of time testing with things like that. 856 01:03:05,180 --> 01:03:07,980 I just feel like this slide is inappropriate. 857 01:03:07,980 --> 01:03:09,620 I want this one. 858 01:03:09,620 --> 01:03:10,500 It feels better. 859 01:03:10,500 --> 01:03:11,800 Talk about Wi-Fi. 860 01:03:12,420 --> 01:03:18,720 So yeah, testing with things like the new Kismet shootout and testing with especially AirReplayNG. 861 01:03:19,180 --> 01:03:23,380 AirReplayNG is the primary tool that everyone uses to inject packets. 862 01:03:23,380 --> 01:03:31,400 It's also the best tested because people complain immediately if something doesn't work with AirCrack because it is kind of the gold standard. 863 01:03:31,460 --> 01:03:37,380 So the AirCrack guys get all of these bugs, they fix all of these bugs, and they generally have a nice working product. 864 01:03:37,380 --> 01:03:50,980 So if you test it with Kismet Shootout and it looks like it receives more packets than most of your other cards and you test it with AirReplayNG and it looks like it reasonably high percentage of successful transmissions, that is a damn fine Wi-Fi card. 865 01:03:51,060 --> 01:03:55,680 If you run one of those tests and it doesn't work out for you, that sucks. 866 01:03:56,320 --> 01:03:58,860 Also run a lot of connected tests. 867 01:03:58,860 --> 01:04:03,460 I know it sounds weird because, you know, what does a hacker need to connect to a Wi-Fi network from? 868 01:04:03,460 --> 01:04:19,360 But the number one thing I used to see, which was the funniest thing on the planet, we were running a Capture the Flag and everybody had those 802.11g only alpha cards that were so popular for so long, the 036H's that everyone loved so much, the 1 watt alphas. 869 01:04:19,720 --> 01:04:32,380 And they would buy these things and they would crack the web and it would be two minutes later because the thing has great injection support and then they'd try to connect to the network and they couldn't do it because that card's firmware was so light. 870 01:04:32,520 --> 01:04:34,820 You could do basically anything you wanted with it. 871 01:04:34,820 --> 01:04:40,780 You could eject raw frames, you could capture raw frames, but man if you tried to connect to the Wi-Fi network, the thing sucked. 872 01:04:41,060 --> 01:04:44,940 You had to be within like six inches of the access point for them to reliably connect. 873 01:04:45,020 --> 01:04:47,340 One watt, it was not. 874 01:04:47,580 --> 01:04:49,620 Successful at connecting, it was not. 875 01:04:49,620 --> 01:04:55,540 I love the Realtek ones for connecting to be quite honest because they actually have enough firmware on them to do the job correctly. 876 01:04:55,760 --> 01:04:58,880 So testing things when you're connecting is actually a big deal. 877 01:04:59,820 --> 01:05:02,300 Do you have any Wi-Fi testing stuff you want to talk about? 878 01:05:02,300 --> 01:05:06,880 I talked about Shootout, Air Replay and just actually using it as a Wi-Fi card. 879 01:05:06,980 --> 01:05:08,340 Oh wow, that's crazy. 880 01:05:08,340 --> 01:05:08,720 I know , right? 881 01:05:08,720 --> 01:05:10,140 That is absolutely crazy. 882 01:05:10,140 --> 01:05:15,800 No, I think the biggest thing you've got to look at is what are you trying to do when you're trying to do it? 883 01:05:15,800 --> 01:05:22,180 If you're trying to hit channels 1, 6, 11 and A-band, you can do that with one radio. 884 01:05:22,260 --> 01:05:25,560 But you're going to miss handshakes, you're going to miss data, you're going to miss packets. 885 01:05:25,860 --> 01:05:31,140 Data loss on these radios added to the fact that it's channel hopping is going to give you a hard time. 886 01:05:31,140 --> 01:05:36,300 So again, testing the best you can to do what you're trying to do. 887 01:05:36,300 --> 01:05:37,900 Who's ever war driven? 888 01:05:38,360 --> 01:05:38,920 Who? 889 01:05:39,540 --> 01:05:43,480 Wiggle's back in the back usually, they left for the day but Wiggle's been here. 890 01:05:43,480 --> 01:05:46,160 Wiggle's been doing this stuff for like 20... 891 01:05:46,160 --> 01:05:47,180 17 years? 892 01:05:47,180 --> 01:05:47,880 18 years? 893 01:05:47,880 --> 01:05:56,760 As long as like the IPAC and the Proxmark Gold existed, Wiggle's been capturing data all over the world. 894 01:05:57,120 --> 01:06:04,360 If you've war driven before, or if you just want to guess, what's the optimal speed to drive while war driving? 895 01:06:04,760 --> 01:06:05,960 90. 896 01:06:06,920 --> 01:06:08,060 With your rig? 897 01:06:08,060 --> 01:06:08,880 Yes. 898 01:06:08,880 --> 01:06:10,400 What is the optimal speed? 899 01:06:10,400 --> 01:06:11,160 Yeah. 900 01:06:13,040 --> 01:06:14,740 Zero, park outside. 901 01:06:14,740 --> 01:06:17,000 Your GPS is going to suck. 902 01:06:17,380 --> 01:06:19,820 And you'll get like, you know, a couple. 903 01:06:19,840 --> 01:06:25,820 Seriously, if you're war driving, if you're driving around trying to get access points, you want to be as efficient as possible, what's the speed you drive? 904 01:06:25,960 --> 01:06:27,780 How many Wi-Fi cards do I have? 905 01:06:27,780 --> 01:06:29,040 What's the speed? 906 01:06:29,220 --> 01:06:30,080 5. 907 01:06:30,400 --> 01:06:31,920 Okay, that's a thing. 908 01:06:32,520 --> 01:06:33,560 Anyone else? 909 01:06:33,820 --> 01:06:35,400 Can you drive 10 on most roads? 910 01:06:35,400 --> 01:06:36,760 Can you drive 5 on most roads? 911 01:06:37,340 --> 01:06:39,820 5 minutes over the speed limit. 912 01:06:40,300 --> 01:06:48,120 So, what you read if you Google it, and I've done this before, is 35 miles per hour is the optimal speed to war drive. 913 01:06:49,180 --> 01:06:54,460 How many channels are you getting in that 35 miles per hour as you're passing? 914 01:06:54,920 --> 01:06:57,680 If you don't test your equipment, Rick said 90. 915 01:06:57,680 --> 01:07:00,960 With some of the rigs he uses, he could drive 90 miles an hour. 916 01:07:01,380 --> 01:07:06,000 There's 1, 2, 3, 4, 5, 6, 7, 14 plus 37... 917 01:07:06,600 --> 01:07:08,600 220 if you unlock the firmware. 918 01:07:10,220 --> 01:07:13,820 There's what, 60 channels roughly right now? 919 01:07:13,820 --> 01:07:14,920 In the U.S., like 44. 920 01:07:14,920 --> 01:07:15,940 44, okay. 921 01:07:15,940 --> 01:07:17,280 44 channels. 922 01:07:17,620 --> 01:07:32,020 If you're driving 35 miles an hour down the road, this is not the algebra train question, if you're driving 35 miles per hour down the road and you have 44 channels to hit, and you don't know how many channels you're going to hit as you're driving, did you get all the Wi-Fi? 923 01:07:32,280 --> 01:07:33,580 No, you didn't. 924 01:07:33,580 --> 01:07:44,920 But if you know that you can drive this fast with these 12 radios, 6 radios, 5 radios, and they're locked on channels and not channel hopping, then you can come up with an optimal speed. 925 01:07:44,920 --> 01:07:49,780 So when you're trying to do the collection and you're trying to do your testing, do that testing. 926 01:07:49,960 --> 01:07:55,440 Keep this kind of theme coming back, test your stuff before you go out. 927 01:07:55,440 --> 01:08:05,560 If you just want to collect data, I mean, Aardvark gave a talk on a panel, semi-sober, well, he gave a talk for about 10 minutes and then he just started, you know, being Aardvark. 928 01:08:06,520 --> 01:08:18,000 He runs around with like 15 Android devices, he drops them onto Ubers, he does all kinds of work to get things up to wiggle, and he does a good job of it because he's dispersed what he's trying to do. 929 01:08:18,040 --> 01:08:28,700 But if he was trying to drive around with Ellen, Jimmy, Johnny, Jen, and, I don't know, whatever other names he's named his access points, he's not getting the same amount of data that he's trying to get. 930 01:08:29,600 --> 01:08:33,980 Does anybody here know how many Wi-Fi cards you can channel hop with in Linux at once? 931 01:08:34,200 --> 01:08:35,840 I found this one out. 932 01:08:35,840 --> 01:08:36,560 No one? 933 01:08:36,560 --> 01:08:37,600 Got any guesses? 934 01:08:37,780 --> 01:08:39,320 How many can you channel hop at once? 935 01:08:39,320 --> 01:08:39,820 Two? 936 01:08:39,820 --> 01:08:40,680 That's a guess. 937 01:08:40,680 --> 01:08:42,000 That's a good guess. 938 01:08:42,320 --> 01:08:45,000 She's got eight fingers up, I couldn't even tell. 939 01:08:45,620 --> 01:08:46,580 One. 940 01:08:47,720 --> 01:08:50,920 One card at a time can channel hop. 941 01:08:51,020 --> 01:08:56,060 You can only issue a command to one Wi-Fi card at a time in Linux. 942 01:08:56,060 --> 01:08:58,400 So if you have 30 of them, you have to queue. 943 01:08:58,700 --> 01:09:01,080 The queuing system is not even fair. 944 01:09:01,300 --> 01:09:04,320 It's just whoever takes the lock first wins. 945 01:09:04,720 --> 01:09:13,860 So when you put a bunch of stuff together and you say, well, you know, there's 44 channels and I'm just going to channel hop at five a second and I'm going to put nine cards in there and I'll be great. 946 01:09:13,960 --> 01:09:15,740 Except you can't actually do that. 947 01:09:15,880 --> 01:09:24,660 You end up with wonderful setups like my Kismet box where the load average is 12 because all of the cards are stuck in D state waiting to channel change one at a time. 948 01:09:25,760 --> 01:09:29,300 It's a really interesting feature of Linux that we're currently working on fixing. 949 01:09:29,640 --> 01:09:45,700 Well, by we, I mean Johannes Burke, who's actually a god and writes most of the Linux stuff, but he's been helping me through fixing this problem and I've been testing for him to actually allow you to channel hop with more than one card at a time because welcome to 2019 people have more than one Wi-Fi card now. 950 01:09:46,160 --> 01:09:47,620 So testing's important. 951 01:09:47,920 --> 01:09:52,220 So understanding how your stuff works matters a lot. 952 01:09:52,300 --> 01:09:57,480 And if you don't understand it, you can't use it properly, you shouldn't be getting paid to do what you're doing. 953 01:09:57,480 --> 01:10:00,960 And I am calling everyone out that's getting paid to do this type of work. 954 01:10:00,980 --> 01:10:04,060 If you don't know how... we don't normally give two hour talks. 955 01:10:04,060 --> 01:10:08,840 We can talk for like eight or ten hours at a time, but we're never closing. 956 01:10:09,680 --> 01:10:12,360 But we run the village so we can keep it open as long as we want. 957 01:10:12,740 --> 01:10:16,240 So you guys can ask as many questions as you feel free to ask. 958 01:10:17,160 --> 01:10:22,340 With this testing though, understanding where your devices work and how they work is going to be critical. 959 01:10:22,900 --> 01:10:29,680 The best way that I've found to do testing and it's really, really stupid and it's really basic, get an access point. 960 01:10:29,680 --> 01:10:32,960 Whether it's your phone, your device, your laptop, whatever it is. 961 01:10:32,960 --> 01:10:43,840 And go out to a soccer field or a football field or somewhere outside where that big yellow thing is in the sky that burns you and set up that access point at like the zero yard line. 962 01:10:43,840 --> 01:10:48,240 For those that are, you know, happy with sports ball, that's where the big lines are. 963 01:10:48,940 --> 01:10:52,480 Put that access point there and walk out a hundred yards. 964 01:10:52,480 --> 01:10:55,480 And it's nice on a football field because it's already marked for you. 965 01:10:55,480 --> 01:11:01,280 And stand there and get a reading from your device and see what reading that is. 966 01:11:01,280 --> 01:11:06,100 Then move to 90, 80, 70, I don't think I have to go all the way down for you. 967 01:11:06,100 --> 01:11:09,300 And write down what those ranges are. 968 01:11:09,300 --> 01:11:16,640 At that point, you know that at this distance on a perfect day, my radio works at this efficiency. 969 01:11:16,640 --> 01:11:24,580 And when you have that ability to have that knowledge, you can move forward with the way you're working because you know exactly what your devices are going to do. 970 01:11:24,800 --> 01:11:32,820 Now, caveat that with, we're manipulating physics when we're dealing with wireless devices, whether they're RF of any sort. 971 01:11:33,260 --> 01:11:35,240 It's not going to be perfect. 972 01:11:35,240 --> 01:11:45,600 But if you compare two or three devices to each other, you have the ability to say, my empirical data says this device is better than this because of this. 973 01:11:45,940 --> 01:11:49,680 Understanding how that works is critical when you're doing your testing. 974 01:11:49,680 --> 01:11:51,680 If you're standing, please feel free to sit down. 975 01:11:51,680 --> 01:11:53,140 We've got lots of seats. 976 01:11:54,340 --> 01:11:55,420 Bluetooth. 977 01:11:55,620 --> 01:11:57,660 Some of you said you work with Bluetooth. 978 01:11:58,720 --> 01:12:01,300 Who has the ability to de-auth Bluetooth? 979 01:12:01,300 --> 01:12:02,180 Anyone? 980 01:12:02,820 --> 01:12:04,680 Because if you do, I want to talk to you. 981 01:12:04,680 --> 01:12:09,900 Bluetooth is a really , really cool capability within the 2.4 GHz spectrum. 982 01:12:10,460 --> 01:12:17,000 Bluetooth , by design, frequency hops as it goes from connection to connection. 983 01:12:17,000 --> 01:12:25,540 As it frequency hops, in order to de-auth Bluetooth, you have to jam the 2.4 GHz frequency. 984 01:12:26,100 --> 01:12:33,320 Who's allowed to jam in any country in the world the entire 2.4 GHz frequency? 985 01:12:34,260 --> 01:12:35,640 Oh, no Feds here. 986 01:12:35,640 --> 01:12:36,760 Okay, cool. 987 01:12:37,800 --> 01:12:48,860 When you have that ability, the reason that they've stopped it, the reason the FCC has gone really strong on it is 2.4 GHz is what also allows you to make cell phone calls over Wi-Fi. 988 01:12:48,860 --> 01:12:52,760 Who's ever seen, you know, do you want to call over Wi-Fi instead of using cellular? 989 01:12:52,820 --> 01:13:05,100 If you block 2.4 GHz and you block the ability to get across those signals, you can't call E911, which means you are doing a public safety disservice, and therefore you're breaking rules. 990 01:13:05,740 --> 01:13:14,140 That being said, Bluetooth will de-auth, it will disconnect, if you jam the entire 2.4 GHz frequency set. 991 01:13:14,180 --> 01:13:16,240 But it's smart enough to not do that. 992 01:13:16,240 --> 01:13:21,020 So a lot of the work that we do in Bluetooth has changed over the years. 993 01:13:21,240 --> 01:13:22,020 Yes? 994 01:13:41,150 --> 01:13:41,950 Yup. 995 01:13:42,250 --> 01:13:45,110 Those black helicopters do not joke. 996 01:13:45,110 --> 01:13:49,630 They are 100% legit 100% of the time. 997 01:13:50,090 --> 01:13:51,790 Messing with this stuff is really bad. 998 01:13:51,790 --> 01:13:52,710 It's bad for reasons. 999 01:13:52,710 --> 01:13:53,230 Yeah? 1000 01:13:55,410 --> 01:13:56,350 Oh, I'm sorry. 1001 01:13:56,350 --> 01:14:05,990 So what he said was, and I'm going to paraphrase a little bit, but there was a guy in California that was taking I-70, I-71, the 71, right? 1002 01:14:05,990 --> 01:14:07,850 The 71 in California. 1003 01:14:07,930 --> 01:14:12,770 And he was jamming Bluetooth because he was sick of people talking on their... 1004 01:14:12,770 --> 01:14:14,690 Oh, GSM. 1005 01:14:14,690 --> 01:14:20,670 He was jamming cell phones from working because he didn't want them to function while they were going forward. 1006 01:14:20,830 --> 01:14:27,870 That being said, he got fined $30,000 and had jail time simply because he was jamming. 1007 01:14:27,870 --> 01:14:29,710 The FCC eventually found him. 1008 01:14:30,550 --> 01:14:32,070 They don't mess around. 1009 01:14:32,070 --> 01:14:32,570 They don't. 1010 01:14:32,570 --> 01:14:34,210 And they don't for a lot of reasons. 1011 01:14:34,210 --> 01:14:35,890 Hey, hack the planet. 1012 01:14:35,910 --> 01:14:37,170 Rock on. 1013 01:14:37,630 --> 01:14:39,550 Some of this stuff is for our own good. 1014 01:14:39,550 --> 01:14:41,310 I mean, it's not all bad. 1015 01:14:41,310 --> 01:14:42,550 Some of it really sucks. 1016 01:14:42,930 --> 01:14:51,550 Legally, in this district, within the United States, because of Google, thank you Google, we can't sniff Wi-Fi outside of a place where you have rules of engagement. 1017 01:14:51,550 --> 01:14:56,190 Which, by the way, because this is on record, we've given a rule of engagement for our wireless capture of the flag. 1018 01:14:56,190 --> 01:15:01,430 Feel free, if it says WCTF in all caps, to beat the living poo out of it. 1019 01:15:02,390 --> 01:15:05,770 But other than that, you're not supposed to do any sniffing within the state of... 1020 01:15:06,930 --> 01:15:08,790 Rick, is it the 9th district? 1021 01:15:09,370 --> 01:15:10,490 Where are we? 1022 01:15:10,930 --> 01:15:13,090 What district are we in in California? 1023 01:15:13,510 --> 01:15:14,530 9th, yeah. 1024 01:15:14,690 --> 01:15:18,650 Within the 9th district, not a... 1025 01:15:20,170 --> 01:15:29,310 not to say that you can't do it with rules, but by legal you are not allowed to sniff traffic within that space because Google did all their Google driving and everything else. 1026 01:15:29,310 --> 01:15:29,790 Yeah. 1027 01:15:32,900 --> 01:15:36,400 How would you catch somebody driving down the highway with a jammer? 1028 01:15:36,400 --> 01:15:40,160 We're going to move on to SDR for a second, which is later in this. 1029 01:15:41,040 --> 01:15:42,360 To jam. 1030 01:15:42,720 --> 01:15:48,760 In order to do broad spectrum jamming, you have to send... let him run, Piero, it's okay. 1031 01:15:49,140 --> 01:15:50,120 That's not Piero. 1032 01:15:50,120 --> 01:15:51,380 Wow, he looks like Piero. 1033 01:15:52,920 --> 01:15:59,280 In order to do broad spectrum jamming or wideband jamming, you have to send out a ton of energy. 1034 01:15:59,560 --> 01:16:02,240 The emission of that energy is a very 1035 01:16:08,660 --> 01:16:09,100 specific... 1036 01:16:09,100 --> 01:16:10,940 There's a word I'm trying to come up with. 1037 01:16:10,940 --> 01:16:10,940 Signature. 1038 01:16:11,060 --> 01:16:12,180 Signature, thank you. 1039 01:16:12,180 --> 01:16:16,640 It's a very specific signature that is very, very easy to find . 1040 01:16:16,820 --> 01:16:20,940 I've done some FCC fox hunting before where we go out and look for jammers. 1041 01:16:21,140 --> 01:16:28,580 Two years ago, we actually put out a request to our wireless people over radio and a bunch of other communications . 1042 01:16:28,800 --> 01:16:34,480 There was a group that was jamming out the ham radio devices that Teleprig was trying to run. 1043 01:16:34,480 --> 01:16:37,100 And we went out into the hotels and found the jammers. 1044 01:16:37,120 --> 01:16:41,620 But we put out enough information that they got scared that we were looking for them that they stopped. 1045 01:16:41,900 --> 01:16:44,860 Finding jammers is really, really easy. 1046 01:16:45,040 --> 01:16:47,080 We're going to get into SDR in a second. 1047 01:16:47,080 --> 01:16:51,160 Thank you to those of you that have walked through this marathon with us. 1048 01:16:51,320 --> 01:16:56,980 That type of testing is really important because you have to find those rogue signals that are giving you a problem. 1049 01:16:57,000 --> 01:16:59,960 And you have to find those devices that are talking too loud. 1050 01:16:59,960 --> 01:17:01,260 And that's how you start to look for them. 1051 01:17:01,260 --> 01:17:05,420 Yeah, we actually got a report of somebody jamming our ham radio repeater just yesterday. 1052 01:17:05,680 --> 01:17:13,680 And we spent a little bit of time looking for the jammer and it turns out that my $40 amplifier had shorted itself and really, really needed a reboot. 1053 01:17:13,880 --> 01:17:17,120 We were jamming ourselves very effectively. 1054 01:17:18,360 --> 01:17:19,780 Pack yourself! 1055 01:17:19,780 --> 01:17:22,860 Did you know that 5 watts reaches the flamingo clearly? 1056 01:17:22,860 --> 01:17:23,840 I didn't. 1057 01:17:23,840 --> 01:17:27,420 But it turns out it does and the amps heatsink works great. 1058 01:17:27,420 --> 01:17:29,700 Yeah, it was really hot. 1059 01:17:30,700 --> 01:17:32,760 Yeah, question in the back. 1060 01:17:53,280 --> 01:17:56,700 Alright, so the question is, what about jammers? 1061 01:17:57,300 --> 01:18:01,860 Yeah, what do we do about jammers for like a home alarm system or whatnot? 1062 01:18:01,860 --> 01:18:06,600 And the truth is if it's wireless, it's not an alarm system, it's not a security system. 1063 01:18:06,600 --> 01:18:14,860 If your cameras are wireless, especially if they're WiFi, if your door sensors are wireless, if your only way to get out is cellular, it's not a security system. 1064 01:18:14,860 --> 01:18:23,020 So I'm not giving up my personal protection, but to be fair, I use one of those devices and they will remain nameless. 1065 01:18:23,180 --> 01:18:28,860 The one I chose has Zigbee, WiFi and hardwired Ethernet. 1066 01:18:29,420 --> 01:18:38,600 If you're that good, you're throwing something through my window or cutting the glass and coming in and then you've got to deal with my dog and guns and a whole lot of other things. 1067 01:18:38,740 --> 01:18:45,820 But your personal protection and how you deal with that, you have to understand what those risks are and you have to be comfortable with them. 1068 01:18:45,820 --> 01:18:52,520 So if you don't want to get jammed in 2.4 and then you jump 2.4 and 9 GHz, cool. 1069 01:18:52,580 --> 01:19:02,260 Then you've got something that's hard-lined in over coax and then you've got Cat5 or Cat6 or whatever it is, you can't do a lot more. 1070 01:19:02,260 --> 01:19:14,460 To be fair, there's probably microwave or satellite technology you could use, but if you've got a triple backup on three different frequencies or four different frequencies, I don't know how much better you can do. 1071 01:19:14,460 --> 01:19:20,480 The truth is, if I cut your phone line and jam cellular, your alarm system is not going to alert nobody. 1072 01:19:21,120 --> 01:19:22,920 But yeah, there's always a risk. 1073 01:19:22,920 --> 01:19:24,780 You have to decide what the risk is. 1074 01:19:24,780 --> 01:19:30,860 But truthfully, the really garbage door sensors are really, really garbage. 1075 01:19:31,320 --> 01:19:32,740 RTL433 decodes a few of them. 1076 01:19:32,740 --> 01:19:33,640 It's pretty funny. 1077 01:19:33,640 --> 01:19:38,160 You watch your neighbor's door bell get rang or their doors open and close or their windows open and close. 1078 01:19:39,000 --> 01:19:42,980 At one of the companies I formerly worked for, they told me everything was wired. 1079 01:19:43,380 --> 01:19:44,340 They were wrong. 1080 01:19:44,340 --> 01:19:50,360 So I wrote a little script that replays door open, door closed, door open, door closed, just in a loop. 1081 01:19:50,480 --> 01:19:51,740 And it turns out you can't arm the security system like that. 1082 01:19:51,740 --> 01:19:53,180 But you're an asshole. 1083 01:19:53,500 --> 01:19:54,060 I am. 1084 01:19:54,060 --> 01:19:56,580 But it turns out you can't arm the security system like that. 1085 01:19:56,580 --> 01:19:58,500 But it does blink like it's party mode. 1086 01:19:58,500 --> 01:19:59,920 So it was fun for one of us. 1087 01:20:00,560 --> 01:20:02,840 So within Bluetooth, there's a couple different things. 1088 01:20:02,840 --> 01:20:04,760 You can have your internal Bluetooth radio. 1089 01:20:04,800 --> 01:20:07,240 If you've got a laptop, this is what it looks like. 1090 01:20:07,240 --> 01:20:08,680 It's the first one on the left. 1091 01:20:08,920 --> 01:20:12,620 We look at, currently, the one that we're using is the Sena UD100. 1092 01:20:12,620 --> 01:20:16,140 It does a really good job for decent distance Bluetooth. 1093 01:20:16,380 --> 01:20:17,920 And then we've got an Ubertooth One. 1094 01:20:17,960 --> 01:20:20,460 Ubertooth One is not a Bluetooth radio at all. 1095 01:20:20,460 --> 01:20:22,900 It's a 2.4 GHz spectrum analyzer. 1096 01:20:22,900 --> 01:20:26,320 But it does an amazing job decoding Bluetooth data. 1097 01:20:26,400 --> 01:20:33,680 So when you start to pair these together and use specific tools that give you the ability to change these, you get good data. 1098 01:20:33,680 --> 01:20:44,300 Now, that being said, that first radio, who takes the radio out of their laptop as soon as they buy it and replaces it with something else that they buy online because they've researched them? 1099 01:20:44,780 --> 01:20:48,060 Man, those new Intels, and the answer is not which model. 1100 01:20:48,060 --> 01:20:49,400 It's literally all of them. 1101 01:20:49,400 --> 01:20:55,200 Like, you can buy new Intel WiFi chips for like $30 usually on Amazon or eBay. 1102 01:20:55,200 --> 01:20:58,680 And you can get the latest wireless card that everybody wants to support. 1103 01:20:58,740 --> 01:21:01,000 And they're really cheap. 1104 01:21:01,000 --> 01:21:07,220 Like, I remember buying $200 WiFi cards, and now I buy stacks of $30 WiFi cards that are way better. 1105 01:21:12,140 --> 01:21:14,360 Could you clear the door, sir? 1106 01:21:14,360 --> 01:21:16,280 You've got to keep the door clear for fire code. 1107 01:21:16,280 --> 01:21:17,260 Thank you, janitor. 1108 01:21:17,260 --> 01:21:22,400 For those that have not been to any con ever before, janitor is usually the loudest voice in the room. 1109 01:21:22,400 --> 01:21:26,260 So the fact that I have 2400 watts to speak into... 1110 01:21:27,100 --> 01:21:27,980 Sorry. 1111 01:21:27,980 --> 01:21:29,740 Yeah, you're a delicate flower and so is Quad. 1112 01:21:29,740 --> 01:21:31,480 Delicate flower, yes , yes. 1113 01:21:31,480 --> 01:21:33,040 Why don't the two of you talk to each other? 1114 01:21:33,040 --> 01:21:34,260 I think he's in Paris right now. 1115 01:21:34,260 --> 01:21:35,500 Just point and talk. 1116 01:21:35,500 --> 01:21:41,880 So, I'm going to jump over a couple slides so we can come back to Bluetooth, but is Iceman still here? 1117 01:21:42,100 --> 01:21:44,320 Is Iceman still here? 1118 01:21:45,500 --> 01:21:46,220 No . 1119 01:21:46,220 --> 01:21:48,740 No , he literally a second ago was here. 1120 01:21:50,140 --> 01:21:51,020 Nope. 1121 01:21:51,360 --> 01:21:51,960 No. 1122 01:21:51,960 --> 01:21:53,040 Okay, we're not going to jump. 1123 01:21:53,040 --> 01:21:57,200 I was going to jump over to RFID, but I think he walked out because we've been talking too long. 1124 01:21:57,200 --> 01:21:57,500 That's fine. 1125 01:21:57,500 --> 01:21:58,660 Let's talk about mouse jacking. 1126 01:21:58,820 --> 01:22:00,400 Mouse jacking is funny as hell. 1127 01:22:00,400 --> 01:22:03,740 Who knows about mouse jacking or lodge attacking? 1128 01:22:04,220 --> 01:22:05,100 Yep. 1129 01:22:05,440 --> 01:22:06,080 No? 1130 01:22:06,120 --> 01:22:06,600 Yes? 1131 01:22:06,600 --> 01:22:07,120 Some? 1132 01:22:07,120 --> 01:22:07,820 Maybe? 1133 01:22:08,000 --> 01:22:13,240 Okay, we're going to give a little bit of teaching here, not a lot, because we are talking about testing. 1134 01:22:13,420 --> 01:22:16,160 Mouse jack, they even have a really cool logo. 1135 01:22:16,160 --> 01:22:17,600 Thank you, Castile. 1136 01:22:17,600 --> 01:22:19,140 Cool logo. 1137 01:22:19,200 --> 01:22:22,640 There is a device that you can buy called a Crazy PA Radio. 1138 01:22:23,180 --> 01:22:24,580 Crazy Radio PA. 1139 01:22:24,580 --> 01:22:25,980 Crazy Radio PA. 1140 01:22:25,980 --> 01:22:26,780 Whatever. 1141 01:22:26,780 --> 01:22:29,140 If you Google it, you'll find it. 1142 01:22:29,140 --> 01:22:40,480 The Crazy Radio has the ability to find and inject into Logitech, Dell, Microsoft, and Amazon wireless mouse and keyboards. 1143 01:22:40,480 --> 01:22:47,500 If somebody can come up off the top of their head with another company that does wireless mice and keyboards, I'd be happy to hear it. 1144 01:22:47,880 --> 01:22:48,580 Anyone? 1145 01:22:48,580 --> 01:22:52,520 It's pretty much every 2.4 gigahertz receiver. 1146 01:22:52,520 --> 01:22:57,100 They're encrypted receivers, which is nice, because they're safe. 1147 01:22:57,160 --> 01:23:10,400 By the way, we gave this talk at B-Sides DC, and Osaka was still running her wireless mouse and may or may not have had her laptop rebooted during a CTF while she's gabbing at the mouth over there and not paying any attention yet again. 1148 01:23:10,880 --> 01:23:12,260 Hi, Osaka. 1149 01:23:13,280 --> 01:23:14,400 Wow. 1150 01:23:14,440 --> 01:23:15,860 It's funny, she's right in front of us. 1151 01:23:15,860 --> 01:23:16,660 She really is. 1152 01:23:16,660 --> 01:23:19,780 Anyway, we tell people this and they still don't listen. 1153 01:23:19,780 --> 01:23:34,100 What I can tell you 100% is this attack allows key injection, code injection, redirection, manipulation into devices that are running these mouse and keyboards. 1154 01:23:34,540 --> 01:23:42,680 For $20, you can check to see if you're a problem or anybody you work with is a problem or anybody you're working for is a problem. 1155 01:23:42,780 --> 01:23:43,880 Forget $20. 1156 01:23:43,880 --> 01:23:46,700 Who here follows Mame82 on Twitter? 1157 01:23:47,360 --> 01:23:49,860 Yeah, I'm pretty sure it's Mame82. 1158 01:23:49,860 --> 01:23:53,740 And if you follow this guy, he's come out with the Logitacker attacks. 1159 01:23:53,740 --> 01:23:58,160 He's been teasing about it for weeks and just really killing all of us. 1160 01:23:58,160 --> 01:24:02,080 He found a way to extract the keys by plugging the receiver in. 1161 01:24:02,080 --> 01:24:07,140 He found a way to inject keystrokes past the whitelisting feature of the clickers. 1162 01:24:07,140 --> 01:24:10,200 So clickers normally can't have keys. 1163 01:24:10,220 --> 01:24:14,660 And he found a way to bypass that and actually inject keys into the new clickers that have the protection. 1164 01:24:14,660 --> 01:24:24,700 He found ways to force pair to the dongle so even if you don't have the keys for something that they're actually using, you can add your own keys and use those. 1165 01:24:24,700 --> 01:24:29,340 I mean, literally every way you could break it, dude found a way to break it. 1166 01:24:29,340 --> 01:24:32,120 And then he released what's called the Logitech unifying... 1167 01:24:33,320 --> 01:24:34,420 Unifying dongle. 1168 01:24:34,440 --> 01:24:35,580 Unifying stuff . 1169 01:24:35,580 --> 01:24:42,640 And he's got another dongle of which he lists a number that he likes that have a newer chipset than the Crazy Radio PA. 1170 01:24:42,760 --> 01:24:47,240 And those are as low as like $9 on Alibaba. 1171 01:24:47,500 --> 01:24:49,580 So you just have to wait six weeks to play with them. 1172 01:24:49,580 --> 01:24:54,100 I was really mad because mine showed up three hours after my flight to Las Vegas. 1173 01:24:54,100 --> 01:24:56,760 But yeah, these things are really awesome . 1174 01:24:56,760 --> 01:24:58,560 The attacks are really legitimate. 1175 01:24:58,640 --> 01:25:04,880 We like this one because it is supported by Kismet and it will find all of the vulnerable devices. 1176 01:25:04,880 --> 01:25:09,060 The newer attacks do require the newer dongles to run some of the stuff. 1177 01:25:09,060 --> 01:25:09,780 Not all of it. 1178 01:25:09,780 --> 01:25:12,720 You can actually run some of the attacks with the Crazy Radio. 1179 01:25:12,720 --> 01:25:21,080 But this one works with Kismet which means I can just walk around and find vulnerable devices or, you know, park in your parking lot and find vulnerable devices and then go to town. 1180 01:25:21,080 --> 01:25:26,320 So funny story, I was working with a client which obviously is going to remain nameless. 1181 01:25:26,800 --> 01:25:30,160 They had pretty decent security. 1182 01:25:30,500 --> 01:25:32,620 They had triple authentication. 1183 01:25:32,620 --> 01:25:36,120 Somehow I don't know how they did triple, but triple authentication to the Amazon cloud. 1184 01:25:36,120 --> 01:25:37,620 They were jumping through VMs. 1185 01:25:37,620 --> 01:25:39,400 They weren't working off their main desktop. 1186 01:25:39,400 --> 01:25:40,660 They were using VDI. 1187 01:25:40,760 --> 01:25:46,720 If you have a buzzword that exists over at Black Hat, they were using it to get into the Amazon cloud. 1188 01:25:47,080 --> 01:25:48,940 They were using GovCloud. 1189 01:25:48,940 --> 01:25:51,820 Even though they weren't a government agency, they were able to get in. 1190 01:25:51,960 --> 01:25:55,260 So literally as secure as they could possibly be. 1191 01:25:55,700 --> 01:26:01,900 Well, except for the fact that they were using a Logitech mouse and keyboard to do all the work that they were doing. 1192 01:26:01,900 --> 01:26:12,980 From the parking lot, and we measured because they really wanted to know in the op brief how far it was, it was 126 meters away from where the keyboard and mouse were sitting. 1193 01:26:13,240 --> 01:26:18,220 The rated distance on the Logitech mouse and keyboard is 10 meters. 1194 01:26:18,460 --> 01:26:28,360 I was injecting keystrokes into their development cycle into the Amazon cloud from the parking lot well over standard. 1195 01:26:28,360 --> 01:26:30,960 Wasn't it through three VMs? 1196 01:26:30,960 --> 01:26:33,520 Yeah, it was a ridiculous set of connections. 1197 01:26:33,520 --> 01:26:35,260 All kinds of dual authentication. 1198 01:26:35,680 --> 01:26:43,800 The basic bottom line here is whatever your mouse and keyboard have contacts with on your screen is where this will start injecting. 1199 01:26:43,840 --> 01:26:53,420 So when I pulled back my reverse shell, my reverse shell was not within the rules of engagement, was not within the client site, was not even an IP address I recognized. 1200 01:26:53,420 --> 01:26:56,820 So I stopped everything, called them up and said, hey, what's this? 1201 01:26:56,820 --> 01:27:02,940 And they're like, um, um, that's our cloud instance on our secure side. 1202 01:27:03,020 --> 01:27:03,760 Huh. 1203 01:27:03,900 --> 01:27:09,600 So just wanted to let you know, if you look at the netstat on that box, you'll see this IP address. 1204 01:27:09,600 --> 01:27:12,060 And they're like, yeah, what's that? 1205 01:27:12,060 --> 01:27:14,360 I said, okay, watch your screen for a second. 1206 01:27:14,360 --> 01:27:15,600 Click, click, click, click. 1207 01:27:15,640 --> 01:27:16,860 Oh, shit. 1208 01:27:18,080 --> 01:27:22,980 So this attack, even though it's a localized attack, is mitigatable. 1209 01:27:22,980 --> 01:27:28,640 You can actually do a really good job of updating the firmware and making a whole bunch of changes. 1210 01:27:28,640 --> 01:27:31,400 But this attack isn't just an RF attack. 1211 01:27:31,400 --> 01:27:36,540 This is bordering and going across boundaries that should not be crossed with RF. 1212 01:27:39,100 --> 01:27:40,220 Questions? 1213 01:27:42,000 --> 01:27:54,080 So the guys at Simple Wi-Fi, Wireless World, and whatever else they're going to be going by this week, Raul, who's an amazing dude, created antennas a couple years ago that we really, really like. 1214 01:27:54,080 --> 01:28:00,380 It's a 12 dB, dual polarized , four port antenna that's dual band. 1215 01:28:00,380 --> 01:28:03,040 So it's 2.4 and 5 GHz dual polarized. 1216 01:28:03,100 --> 01:28:04,280 Four inputs. 1217 01:28:04,640 --> 01:28:08,500 I've never not been able to get onto a client site with that antenna. 1218 01:28:09,020 --> 01:28:11,060 It's absolutely phenomenal. 1219 01:28:11,180 --> 01:28:12,620 But it gives you a lot of distance. 1220 01:28:12,620 --> 01:28:18,320 12 dB, so it's 12 dBi increase off of this little radio because it's 2.4. 1221 01:28:18,320 --> 01:28:20,320 No, no , it's... 1222 01:28:20,320 --> 01:28:23,660 We call it the Ukrainian EasyPass because that's pretty much what it looks like. 1223 01:28:23,660 --> 01:28:26,160 It's just like it's like this big and white. 1224 01:28:26,700 --> 01:28:30,740 We had one of those amplified log periodics with like a pistol grip. 1225 01:28:30,740 --> 01:28:31,800 Would that have been convenient? 1226 01:28:31,800 --> 01:28:32,760 That might have been convenient. 1227 01:28:32,760 --> 01:28:33,800 You know anybody that makes them? 1228 01:28:33,840 --> 01:28:37,320 I don't know anyone who makes them, but I think Alex might. 1229 01:28:37,320 --> 01:28:42,300 So there's a lot of antennas you can use, but from that distance I was able to hit it really clearly. 1230 01:28:42,680 --> 01:28:44,160 Really cleanly. 1231 01:28:44,740 --> 01:28:46,220 So, alright. 1232 01:28:46,220 --> 01:28:47,660 Software defined radio. 1233 01:28:47,680 --> 01:28:50,660 So we've talked about hardware defined radios. 1234 01:28:51,440 --> 01:28:57,060 Software defined radios give you the ability to, if you can program it, you are that radio. 1235 01:28:57,120 --> 01:29:01,560 So if I want to be a 133 MHz radio, I'm a 133 MHz radio. 1236 01:29:01,560 --> 01:29:04,140 If I want to be a repeater , I'm going to be a repeater. 1237 01:29:04,140 --> 01:29:10,500 If I want to be a GSM cell tower, I'm going to break a billion laws, but I can be a GSM cell repeater. 1238 01:29:10,900 --> 01:29:13,540 And there's all kinds of YouTube videos on... 1239 01:29:13,540 --> 01:29:15,140 Oh, what's he doing? 1240 01:29:15,140 --> 01:29:17,000 Oh, okay. 1241 01:29:17,000 --> 01:29:22,000 On Raspberry Pi with Blade RF becoming a cell repeater. 1242 01:29:22,360 --> 01:29:26,980 Software defined radios are absolutely amazing and game changing. 1243 01:29:27,020 --> 01:29:38,960 Years ago there was a discussion that we had in Wireless Village that we talked about why Bluetooth was not economical to break into because to do the type of work we needed to do, it was way too expensive. 1244 01:29:39,180 --> 01:29:49,680 Well now we can break into anything with an RF signature that is within the oscillating power of that radio just by making some GNU radio blocks and making it do what we want it to do. 1245 01:29:50,500 --> 01:29:55,480 So, if you guys look up front, up on this screen that's been behind us the entire time. 1246 01:29:56,040 --> 01:29:57,500 Do you want to play with the knob? 1247 01:29:57,760 --> 01:29:59,960 Oh yeah, I want to play with the knob. 1248 01:29:59,960 --> 01:30:08,200 So, that is an Edis I don't even know what because none of us can afford it except for people that are buying it with major... How much does that cost? 1249 01:30:09,780 --> 01:30:12,180 How much does the Edis cost? 1250 01:30:12,960 --> 01:30:17,020 To the muggles in the room, how much does the Edis radio that we're using cost? 1251 01:30:17,020 --> 01:30:18,220 How much does this thing cost? 1252 01:30:19,020 --> 01:30:20,380 How much does this cost? 1253 01:30:20,380 --> 01:30:21,520 Can I afford it? 1254 01:30:22,680 --> 01:30:23,560 $10,000. 1255 01:30:23,560 --> 01:30:27,000 So, that $10,000 software-defined radio... 1256 01:30:27,000 --> 01:30:28,020 He's a nice guy. 1257 01:30:28,020 --> 01:30:30,440 Everybody clap for Nate for letting us borrow this. 1258 01:30:30,680 --> 01:30:33,580 He even set it up to print our logo in the screen. 1259 01:30:33,580 --> 01:30:34,600 It's awesome. 1260 01:30:34,660 --> 01:30:38,060 That is pushing... Is it 200 MHz of bandwidth? 1261 01:30:38,060 --> 01:30:38,800 What? 1262 01:30:39,560 --> 01:30:40,940 Oh, it's only 100 today? 1263 01:30:40,940 --> 01:30:42,320 Oh, you cut it in half. 1264 01:30:42,320 --> 01:30:43,500 Nice man, you came back. 1265 01:30:43,500 --> 01:30:44,180 Thank you. 1266 01:30:44,180 --> 01:30:45,500 We're almost there. 1267 01:30:45,820 --> 01:30:56,860 So, that is pushing across 100 MHz of bandwidth simultaneously, allowing us to see everything going on in the space that that screen is showing us. 1268 01:30:58,440 --> 01:31:05,500 If we wanted to program that radio to then inject into those streams using those protocols, we can do that. 1269 01:31:05,500 --> 01:31:11,940 So, this can be a Wi-Fi radio, this can be a Bluetooth radio, a Zigbee radio, this can be all kinds of stuff. 1270 01:31:11,940 --> 01:31:13,560 Nate's going to play with his radio a little bit. 1271 01:31:13,560 --> 01:31:14,700 You want to show us Wi-Fi? 1272 01:31:15,120 --> 01:31:16,920 How about if you show us all of Wi-Fi? 1273 01:31:16,920 --> 01:31:17,940 Oh, you did already. 1274 01:31:18,840 --> 01:31:21,220 So, remember when we were talking about jamming Bluetooth? 1275 01:31:21,720 --> 01:31:23,400 Don't do it, but he could. 1276 01:31:23,700 --> 01:31:24,900 Please don't do it. 1277 01:31:25,660 --> 01:31:29,620 But we have the ability to get all of that spectrum in one spot. 1278 01:31:29,820 --> 01:31:35,520 Software-defined radios, even, I'll be honest, $10,000 is cheap for what this is capable of doing. 1279 01:31:35,520 --> 01:31:40,300 Give us the ability to manipulate RF in a way that we've never been able to in the past. 1280 01:31:40,300 --> 01:31:48,180 Yeah, I really can't stress it enough that, like, most of these software-defined radios we love, the answer is only what makes sense for what you're doing. 1281 01:31:48,180 --> 01:31:59,380 Like I said earlier, we're using the tiny little cheap Wi-Fi dongles that don't go 25 feet because we only need them to go 20 feet and that was the best thing for us, right? 1282 01:31:59,660 --> 01:32:03,700 Edis owns the entire top end of the SDR market. 1283 01:32:03,700 --> 01:32:07,020 There is not a competitor, there is not anything else you want to buy. 1284 01:32:07,020 --> 01:32:08,820 They make all of the good stuff. 1285 01:32:08,820 --> 01:32:13,640 As far as I'm concerned, I'm not you, you don't have to worry, you're not going to get in trouble for this. 1286 01:32:13,640 --> 01:32:15,480 Edis makes all of the good shit. 1287 01:32:15,480 --> 01:32:16,940 Okay, I'll make him feel better. 1288 01:32:16,940 --> 01:32:26,180 So there are other companies out there that are spectrum analyzers that do a really good job, like in Ritsu and others, but they are not software-defined radios and they do not do what this stuff does. 1289 01:32:26,180 --> 01:32:27,060 There, is that good? 1290 01:32:28,620 --> 01:32:31,160 And they go for like $100,000. 1291 01:32:31,280 --> 01:32:34,120 Edis doesn't go for... I'm sorry, what are we calling you now? 1292 01:32:36,480 --> 01:32:36,960 Edis... 1293 01:32:36,960 --> 01:32:37,780 Edis... 1294 01:32:37,780 --> 01:32:40,940 Does that sound familiar to anyone? 1295 01:32:40,940 --> 01:32:41,580 Yeah, that sounds right. 1296 01:32:41,580 --> 01:32:49,380 The point is, if you have never done software-defined radio stuff, go over to the vendor area, buy a $12 RTL-SDR. 1297 01:32:49,380 --> 01:32:54,520 So, that radio in the middle, the one that says NexSmart , I think. 1298 01:32:54,520 --> 01:33:00,640 N-E , that's Nolac, S-D -U-L-A-C S-M-A, that's the connector. 1299 01:33:00,640 --> 01:33:02,540 R-T, that's the Realtek chipset. 1300 01:33:02,540 --> 01:33:03,560 They made a pun. 1301 01:33:03,560 --> 01:33:05,040 They did, they're punny. 1302 01:33:05,160 --> 01:33:07,360 That goes for like $15-$20. 1303 01:33:07,760 --> 01:33:10,820 It does not transmit, it receives only. 1304 01:33:10,860 --> 01:33:17,280 It receives from, if I remember correctly, $300 to $1.1? 1305 01:33:17,280 --> 01:33:20,480 No, I think it's like $50 to $1.7. 1306 01:33:20,480 --> 01:33:28,180 They also have new ones, but the point is, I have like 15 of them, because they are cheap and they are great, and you can always find an excuse to buy one more. 1307 01:33:28,180 --> 01:33:30,120 I only have the one Edis board. 1308 01:33:30,560 --> 01:33:32,440 If you burn it up, it's not a big deal. 1309 01:33:32,440 --> 01:33:34,700 You can test things, you can receive things. 1310 01:33:34,840 --> 01:33:39,640 Most of what we're talking about that's not 2.4 or 5 GHz, you can see with this. 1311 01:33:39,640 --> 01:33:47,320 You can see GSM, you can see ADSP, you can see airplanes flying in the air, you can see seafaring objects going out into the water. 1312 01:33:47,320 --> 01:33:50,500 You can decode the P-25 radios the goons are using right now. 1313 01:33:50,500 --> 01:33:51,920 Yes, you can. 1314 01:33:51,920 --> 01:33:53,480 We tried to help them, too. 1315 01:33:53,560 --> 01:33:57,020 Anyway, moving on to the left is the Edis P-205. 1316 01:33:57,080 --> 01:34:00,420 That is another software defined radio that we use very heavily. 1317 01:34:00,600 --> 01:34:03,920 It's about that big, if you can see that. 1318 01:34:04,080 --> 01:34:08,480 Very small, easy portable, extremely powerful, great fidelity. 1319 01:34:08,480 --> 01:34:13,340 But again, I don't know, what are they, $700-$800 set more? 1320 01:34:13,340 --> 01:34:13,740 Yeah. 1321 01:34:14,080 --> 01:34:17,280 One more time with real fingers. 1322 01:34:17,280 --> 01:34:20,620 Oh, nine, eight, two, really two fours? 1323 01:34:21,560 --> 01:34:24,400 Here, I think that was $11. 1324 01:34:24,400 --> 01:34:25,280 He said it was $11. 1325 01:34:25,820 --> 01:34:27,580 Buy them all now. 1326 01:34:27,580 --> 01:34:29,200 I saw two fingers, that's what I saw. 1327 01:34:29,200 --> 01:34:30,200 So they're like $800. 1328 01:34:30,480 --> 01:34:35,660 Coming down from there, you've got the Nuon Blade RF, Blade RF Micro. 1329 01:34:35,760 --> 01:34:39,760 Does an amazing job for about $500 or $600. 1330 01:34:39,780 --> 01:34:44,400 It does dual band, it does transmit and receive, it has transceive capabilities. 1331 01:34:44,980 --> 01:34:46,720 It's another good radio. 1332 01:34:46,720 --> 01:34:47,980 Below that's the Hack RF. 1333 01:34:47,980 --> 01:34:50,280 It's about, what, $200, $300? 1334 01:34:50,280 --> 01:34:55,800 Hack RFs are a little less than $300, and they have our favorite add-on on the planet, which is the Portapak. 1335 01:34:55,960 --> 01:35:03,680 It's a software-defined radio with basically a Game Boy on it, and you can decode all kinds of things, you can send all kinds of things. 1336 01:35:03,680 --> 01:35:06,060 It's just a really , really useful thing. 1337 01:35:06,080 --> 01:35:09,560 Truthfully, it is one of the lower end of the software-defined radios. 1338 01:35:09,560 --> 01:35:18,280 It's one of the older models of software-defined radios, but the usefulness of an add-on like the Portapak is absolutely groundbreakingly amazing still. 1339 01:35:18,280 --> 01:35:24,640 And of all of these, I mean, Nuon and Great Scott Gadgets do an amazing job working with the open-source community. 1340 01:35:25,000 --> 01:35:29,960 Thank God we know the guys that we know at Edist, because they work amazing with the open-source community, too. 1341 01:35:29,960 --> 01:35:31,700 They happen to all be standing over there. 1342 01:35:32,080 --> 01:35:34,980 But, if they're in a green shirt, say hi to them. 1343 01:35:35,500 --> 01:35:36,400 Hi, guys. 1344 01:35:38,840 --> 01:35:45,360 You've got to find something that's not only supportive, but also easy to use, and has the drivers that you want to work with. 1345 01:35:45,360 --> 01:35:48,820 So, depending on your need, all three of those might be good. 1346 01:35:48,820 --> 01:35:55,580 Some of the work we do, we have no problem using yardsticks and other devices that work for specific frequencies. 1347 01:35:55,580 --> 01:36:02,960 If you're trying to scan this much data, then you're looking at a much different form factor, much different product. 1348 01:36:03,740 --> 01:36:08,660 I'm going to jump over the next one real quick, because I really want to talk about these. 1349 01:36:08,660 --> 01:36:10,420 And we're going to talk about some RFID stuff. 1350 01:36:10,480 --> 01:36:11,480 Here you go. 1351 01:36:11,480 --> 01:36:12,300 You can talk. 1352 01:36:12,300 --> 01:36:15,840 Who has a badge at work Don't raise your hand if you don't feel like it. 1353 01:36:15,840 --> 01:36:17,920 That lets you into the building you're going into. 1354 01:36:17,920 --> 01:36:19,360 It's pretty common, right? 1355 01:36:19,460 --> 01:36:22,160 Most of them have these three weird letters on them. 1356 01:36:22,160 --> 01:36:24,020 H, then I, then D. 1357 01:36:24,840 --> 01:36:31,940 So, HID has some very strict rules on what we can talk about out loud, versus what we can't talk about out loud. 1358 01:36:31,960 --> 01:36:35,360 So, we'll be happy to talk to you about things that can be done. 1359 01:36:35,500 --> 01:36:38,780 But, there's a really cool tool called Approxmark 3. 1360 01:36:39,020 --> 01:36:47,900 There's a branch of development called the Iceman branch, which has been just completely abominated and gotten rid of. 1361 01:36:47,960 --> 01:36:50,900 And now there's an Iceman RRG, correct? 1362 01:36:50,900 --> 01:36:51,680 Oh, yeah. 1363 01:36:51,680 --> 01:36:54,180 Well, guys, this is Iceman. 1364 01:36:54,180 --> 01:36:55,280 Say hi, Iceman. 1365 01:36:55,840 --> 01:36:56,800 Hi! 1366 01:36:57,120 --> 01:37:07,460 So, we figured we would bring up our Swedish friend to help us with this talk, because when it comes to dealing with RFID stuff, this is the guy that's writing the software that you hate right now. 1367 01:37:08,200 --> 01:37:09,140 For sure. 1368 01:37:09,140 --> 01:37:15,960 What are some thoughts you have on product testing, software testing... I'm doing a panel of one. 1369 01:37:15,960 --> 01:37:16,780 This is really fun. 1370 01:37:17,120 --> 01:37:23,100 Product testing and product development when it comes to RFID, as well as access control. 1371 01:37:23,360 --> 01:37:24,100 Oh. 1372 01:37:24,320 --> 01:37:25,000 Wow. 1373 01:37:25,000 --> 01:37:26,460 You weren't prepared for that one, were you? 1374 01:37:26,460 --> 01:37:26,920 No, no. 1375 01:37:26,920 --> 01:37:28,020 I wasn't prepared for that one. 1376 01:37:28,140 --> 01:37:38,740 What I think about that would say that people who are doing that, those companies are doing it quite well, but they do not have a hacker mindset. 1377 01:37:38,740 --> 01:37:43,620 They don't see it in a cloner's way of wanting to do it. 1378 01:37:44,300 --> 01:38:03,120 So they would like to say that, oh, we have a safe cryptology, and they build up the readers and source for it , and then they will have someone to try to hack with crypto , and oh no, we use AS , we use triple DES, and that's safe. 1379 01:38:03,120 --> 01:38:05,120 And they all feel good about it. 1380 01:38:05,120 --> 01:38:21,360 And then comes little people around and goes like, oh yeah, I put your reader in acetone, and I melted out the PCB, and I extracted the firmware from your PIC, and then we decompiled that, and we analyzed that, and we found all your key generation algorithms, 1381 01:38:21,720 --> 01:38:29,160 and then we took that idea and implemented it in the Proxmox source code, and boom goes your cards. 1382 01:38:29,680 --> 01:38:31,360 They don't think like that. 1383 01:38:31,860 --> 01:38:33,560 And that's what I think about that. 1384 01:38:33,560 --> 01:38:43,000 So, the Proxmox is pretty much, if you're doing this professionally, the defacto standard device that you're going to buy to start doing this testing. 1385 01:38:43,000 --> 01:38:46,160 It handles most devices pretty well. 1386 01:38:46,260 --> 01:38:50,380 It does receive and transmit pretty well. 1387 01:38:50,380 --> 01:39:04,100 It's got a really cool new sexy super, which I still need one, Bluetooth add-on with a battery that allows us to go in your pocket and pick up stuff in an elevator, and being realistic, what, from three to five inches? 1388 01:39:04,120 --> 01:39:04,700 Oh, yeah. 1389 01:39:05,700 --> 01:39:07,640 Imperial system, we got that. 1390 01:39:08,440 --> 01:39:09,400 I'm sorry. 1391 01:39:09,740 --> 01:39:11,920 17 to 20 centimeters? 1392 01:39:11,920 --> 01:39:12,920 Oh, no. 1393 01:39:12,920 --> 01:39:13,740 Now, let's see. 1394 01:39:13,740 --> 01:39:16,560 With a large antenna, you would go 14 centimeters. 1395 01:39:16,560 --> 01:39:16,720 14 ? 1396 01:39:16,720 --> 01:39:17,340 Okay. 1397 01:39:17,340 --> 01:39:19,200 So I think I was within that superset. 1398 01:39:19,600 --> 01:39:21,760 Yeah, you have better antennas, I guess. 1399 01:39:22,880 --> 01:39:39,260 That's not the biggest issue, because if you see it as a part of things, if you... other people who do RFID hacking used to combine things, so hardware hackers combine things with other hardware and make something even more worse, or more effective. 1400 01:39:39,320 --> 01:39:47,120 So we take one of those HID readers you see there, and we put a Proxmark in behind of it, so all of a sudden we're reading. 1401 01:39:47,120 --> 01:39:58,600 Because these companies who do these products does a really good well of making a coupling and antenna design, so we have a really long reading range, because that's in the natural habitat of their systems should do. 1402 01:39:58,800 --> 01:40:08,420 But if a weaponizer has a Proxmark in the behind of it, you do that, and you give a possibility of a Proxmark even further, which makes it kind of nasty. 1403 01:40:08,420 --> 01:40:11,700 So that HID reader isn't the one you're used to seeing. 1404 01:40:11,700 --> 01:40:18,600 It's about this size, and it's what you typically see when you're going through like a parking garage, or an easy pass, or something like that. 1405 01:40:18,600 --> 01:40:20,500 It's a big energizing unit. 1406 01:40:20,500 --> 01:40:36,500 If you ever open one of those up, there's like, I don't even, I've never actually measured it, but I'm thinking like 40 feet of copper wrapped around that thing, with a decent power supply that enables that RFID card to get energized, and hand out it's Wigan data, 1407 01:40:36,500 --> 01:40:45,000 which is these ones and zeros that make it all work, which is a different talk that's going to happen tomorrow by Babic, talking about how that Wigan data actually gets translated. 1408 01:40:45,180 --> 01:40:54,040 But when you take something like the Prox, or the ESP keys, or something behind that big reader, again, we're getting into antennas now. 1409 01:40:54,040 --> 01:41:01,260 If you're testing your equipment, if I only need to be this far from zero, that's fine. 1410 01:41:01,340 --> 01:41:05,720 But if I need to be from me to Iceman, I need something that's going to give me that distance. 1411 01:41:05,720 --> 01:41:11,380 The tool itself might do the hardware or the work you need, but it may not have that reach that you need. 1412 01:41:11,380 --> 01:41:26,680 So again, when you're getting into testing, you need to verify your distances, and if you're doing a pen test, or you're trying to steal credentials, or if you're just a really bad guy and you're here to learn how to break into buildings, if you can get onto an elevator and get all the credentials in the elevator, 1413 01:41:26,680 --> 01:41:31,500 versus walking into the elevator, and I've done this, unfortunately, and walk up to each person... 1414 01:41:31,500 --> 01:41:32,240 Oh , excuse me. 1415 01:41:32,240 --> 01:41:33,560 Oh, oh, excuse me. 1416 01:41:33,560 --> 01:41:34,460 Oh, sorry. 1417 01:41:34,460 --> 01:41:35,120 Let me stand over... 1418 01:41:35,120 --> 01:41:36,640 No, I must stand over here. 1419 01:41:36,780 --> 01:41:37,120 Okay. 1420 01:41:37,120 --> 01:41:43,880 Now I've hit everybody, but I look like an absolute fool, and it makes you look like, you know, you start to become a little more obvious. 1421 01:41:43,880 --> 01:41:53,280 Versus sitting there with that big reader inside of a backpack or a side satchel, which is the typical Tiger Team way of doing it, with a satchel, to get that data. 1422 01:41:53,360 --> 01:41:56,140 European carry-all, not a perk. 1423 01:41:56,140 --> 01:41:57,700 Isn't it a fanny pack? 1424 01:41:58,340 --> 01:41:59,440 It's a fanny pack. 1425 01:41:59,440 --> 01:42:01,200 C'est très bien, ma mère. 1426 01:42:01,780 --> 01:42:03,280 It's very beautiful. 1427 01:42:03,280 --> 01:42:04,320 Hey, Babik. 1428 01:42:04,620 --> 01:42:05,740 Come here. 1429 01:42:06,480 --> 01:42:14,900 So, the other person that we were going to bring up on stage for RFID, and I think they went to dinner, because, you know, they've been working like 600 hours straight in all this. 1430 01:42:17,300 --> 01:42:18,160 I'm here, bro. 1431 01:42:18,160 --> 01:42:20,640 Give him a round of applause. 1432 01:42:23,980 --> 01:42:28,500 So, I'm going to be honest about this, and I said this the other night, and I'll repeat it again. 1433 01:42:28,560 --> 01:42:34,340 When it comes to RFID work, the world would end if this stage collapsed right now. 1434 01:42:34,640 --> 01:42:35,920 Or that half of it collapsed. 1435 01:42:35,920 --> 01:42:36,880 Right, right, that half. 1436 01:42:38,400 --> 01:42:55,580 You've got the developer of the tool that almost everybody uses, and one of the best operators and instructors in the business of RFID, when you put those two together, this is why we do testing, because we're trying to beat, as the good guy, them from breaking into our shit. 1437 01:42:55,600 --> 01:43:03,720 If we're the bad guy or being the adversary or putting on the hat of being the adversary, we're using standing on their shoulders to do the shit that we're trying to do. 1438 01:43:03,740 --> 01:43:05,060 Can I add on? 1439 01:43:05,060 --> 01:43:05,860 Yeah, go ahead. 1440 01:43:05,860 --> 01:43:07,600 I brought you on stage for a reason. 1441 01:43:07,600 --> 01:43:15,880 So, spoiler, I don't do testing for the... I have a philosophy thing that I rant on sometimes, but I'm going to keep it really short. 1442 01:43:15,880 --> 01:43:16,480 Go ahead and rant. 1443 01:43:16,480 --> 01:43:16,920 It's okay. 1444 01:43:16,920 --> 01:43:18,140 This is a two-hour talk. 1445 01:43:18,140 --> 01:43:19,020 They've got time. 1446 01:43:19,020 --> 01:43:23,100 In my opinion, DEF CON is not a security conference. 1447 01:43:23,100 --> 01:43:24,860 This is a hacker conference. 1448 01:43:24,960 --> 01:43:27,940 We hack because it's fucking fun and it's fucking cool. 1449 01:43:28,620 --> 01:43:35,860 If we can do it in a way that doesn't harm and creates good, then that's really wonderful, but I don't do it for that. 1450 01:43:35,860 --> 01:43:37,200 I do it for the hack. 1451 01:43:37,200 --> 01:43:37,340 Right ? 1452 01:43:37,400 --> 01:43:39,640 That's why I really enjoy it. 1453 01:43:40,600 --> 01:43:45,160 I do it because... for the sake of the hack, for the love of the hack. 1454 01:43:45,180 --> 01:43:57,860 If I can do it in a way that benefits security in a positive way, then that's really wonderful, but I found years ago that if I focused... It's a little white lie that we came up with. 1455 01:43:57,860 --> 01:43:58,340 That's okay. 1456 01:43:58,340 --> 01:44:00,500 This is the fifth soapbox of the night, so this is awesome. 1457 01:44:00,500 --> 01:44:06,300 It's a little white lie that we came up with to make it easier to talk to other people who don't get us. 1458 01:44:06,300 --> 01:44:08,300 Like, oh my god, why do you do that stuff ? 1459 01:44:08,300 --> 01:44:09,140 Why are you on computers? 1460 01:44:09,140 --> 01:44:10,480 Why are you picking locks? 1461 01:44:10,880 --> 01:44:14,020 And just to get them to shut up, you're like, oh, it's for security. 1462 01:44:14,020 --> 01:44:16,160 We find security problems, and that's why I do it. 1463 01:44:16,160 --> 01:44:17,600 No, you do it because it's fun. 1464 01:44:18,300 --> 01:44:19,740 Like, they don't get it. 1465 01:44:19,820 --> 01:44:23,180 They don't get it, but you do it because it's fun. 1466 01:44:23,400 --> 01:44:24,000 Right? 1467 01:44:28,380 --> 01:44:29,680 So that's it. 1468 01:44:29,720 --> 01:44:33,240 I wasn't going to speak for you, but that's pretty much what we've been saying all night. 1469 01:44:33,340 --> 01:44:35,180 I enjoy it because it's fun. 1470 01:44:35,180 --> 01:44:36,580 I enjoy teaching. 1471 01:44:36,680 --> 01:44:43,660 I enjoy the process of learning that that moment where things begin to click in your brain is really addictive. 1472 01:44:43,940 --> 01:44:48,320 So I like to inspire that and create that as much as possible for other people. 1473 01:44:48,680 --> 01:44:56,260 And that's one of the reasons why we've trained for so many years is because I like doing that and if I can get paid to do it, then yay, right? 1474 01:44:56,980 --> 01:44:58,460 But yeah, that's it. 1475 01:44:58,520 --> 01:45:00,260 So when it comes to... 1476 01:45:00,260 --> 01:45:01,520 I don't do this for security. 1477 01:45:01,520 --> 01:45:02,640 Security is a byproduct. 1478 01:45:02,640 --> 01:45:03,880 I do it for the hack. 1479 01:45:03,880 --> 01:45:05,220 So we'll get back to real then. 1480 01:45:05,220 --> 01:45:11,740 So when you're breaking shit and you're doing your testing, what process do you use? 1481 01:45:11,820 --> 01:45:13,620 Same question I posed to Iceman. 1482 01:45:13,620 --> 01:45:19,860 What process do you use to test that this is better than that and I make this new hardware and this is better than that? 1483 01:45:19,860 --> 01:45:21,120 What am I testing? 1484 01:45:21,420 --> 01:45:22,920 Breaking into a building . 1485 01:45:22,920 --> 01:45:23,960 RFID testing. 1486 01:45:23,960 --> 01:45:24,600 Okay. 1487 01:45:24,600 --> 01:45:28,400 And so the question is, how do I know what type of platform is better? 1488 01:45:28,400 --> 01:45:30,440 What is your process on testing? 1489 01:45:31,320 --> 01:45:32,180 Oh , shit. 1490 01:45:32,180 --> 01:45:35,420 I don't want to buy just because somebody said to buy it. 1491 01:45:35,420 --> 01:45:38,140 I'm going to buy three or four and test them and see which one works best. 1492 01:45:38,140 --> 01:45:46,080 Oh, I look for little hallmarks of how something might be designed, right? 1493 01:45:46,360 --> 01:45:53,300 Like, for example, if I'm comparing... if I'm looking for a box to put stuff in, right? 1494 01:45:53,300 --> 01:45:55,580 I'm like, man, I need something to carry things around. 1495 01:45:55,620 --> 01:45:56,700 I need to buy a box. 1496 01:45:56,700 --> 01:45:57,560 How do I know? 1497 01:45:57,560 --> 01:45:58,800 I don't know a lot about boxes. 1498 01:45:58,800 --> 01:46:00,680 How do I know if one is better than another? 1499 01:46:00,880 --> 01:46:04,500 I'm going to grab a box and I'm going to start looking at it. 1500 01:46:04,520 --> 01:46:06,240 And I'm going to be like, oh, interesting. 1501 01:46:06,240 --> 01:46:08,940 How do they attach the sides together? 1502 01:46:08,940 --> 01:46:10,700 Oh, look, they used adhesive. 1503 01:46:11,100 --> 01:46:13,860 Well, they probably did it this way because it's a little bit cheaper. 1504 01:46:14,000 --> 01:46:15,740 And this looks kind of sloppy. 1505 01:46:15,960 --> 01:46:18,980 So, like, they made a box, but they don't care about boxes. 1506 01:46:19,280 --> 01:46:19,880 Right? 1507 01:46:20,060 --> 01:46:26,440 So now I haven't... I don't know everything that went into it, but I have an idea of the design intent, right? 1508 01:46:26,480 --> 01:46:30,980 But I might look at something else and I go, like, oh, man, look at this. 1509 01:46:30,980 --> 01:46:35,920 This edge is rounded and they, like, did this thing over here that's so interesting. 1510 01:46:35,920 --> 01:46:41,240 Like, look at all the extra work they went through on stuff that doesn't matter to anyone else. 1511 01:46:41,240 --> 01:46:46,900 That tells me that this is a passionate design and engineering team and there was a lot more thought behind it. 1512 01:46:46,900 --> 01:46:50,940 And I applied that same basic idea... I don't know what he's looking at anymore. 1513 01:46:51,100 --> 01:46:55,980 Oh, I applied that same basic idea to evaluating things for security. 1514 01:46:55,980 --> 01:46:59,020 So I don't have to understand how everything is designed. 1515 01:46:59,020 --> 01:47:05,320 I pick the things that I do understand and that I can compare to other things and I go, okay, how well did you do this thing? 1516 01:47:06,000 --> 01:47:12,140 And that, while it's not 100%, there is generally a correlation. 1517 01:47:12,460 --> 01:47:17,260 People who care about one part a lot tend to care about all the other parts as well. 1518 01:47:17,260 --> 01:47:20,700 Because you don't make something beautiful and then put it inside something ugly. 1519 01:47:20,900 --> 01:47:25,400 Like, you want the whole thing to be really holistic and work well together. 1520 01:47:25,400 --> 01:47:26,740 I don't know if that's a good answer. 1521 01:47:26,740 --> 01:47:27,340 No, that's great. 1522 01:47:27,740 --> 01:47:33,320 Because, frankly, a lot of us buy a lot of stuff because people say, hey, go buy this. 1523 01:47:33,320 --> 01:47:46,460 But if you don't have a methodology or a process, whether it's good or bad, it's your process to test what it is you're trying to fix or test what it is you're trying to break, you're just throwing shit at the wall until it sticks. 1524 01:47:46,740 --> 01:48:04,060 I would love it if this industry started to actually take on the corporate mindset of just this, I promise I'm not going to say corporate mindset, but of having a way of doing things that repeats so that you know that you're not wasting your time when you're doing your research. 1525 01:48:04,060 --> 01:48:05,360 Oh, this radio sucks. 1526 01:48:05,360 --> 01:48:09,700 Oh, wait a minute, I'm not using the right driver, the right kernel, or the right tool. 1527 01:48:10,500 --> 01:48:14,140 Versus, oh shit, this works really well because I'm doing what I need to do. 1528 01:48:14,240 --> 01:48:15,800 I'm going to give you a for instance. 1529 01:48:15,800 --> 01:48:16,460 Go ahead. 1530 01:48:16,460 --> 01:48:21,200 For instance, I was looking at recently Cookies? 1531 01:48:21,600 --> 01:48:26,920 A physical token management device. 1532 01:48:27,620 --> 01:48:29,380 Commonly referred to as a key box. 1533 01:48:29,380 --> 01:48:31,380 I was about to say, can you be a little more English? 1534 01:48:31,380 --> 01:48:32,040 Yes, yes. 1535 01:48:32,100 --> 01:48:37,560 I was looking at a key box and I'm like, okay, how do they set this up? 1536 01:48:37,920 --> 01:48:45,960 How do I know how much thought and effort went into the overall architecture behind everything, all the guts inside? 1537 01:48:46,000 --> 01:48:58,220 And I start looking at the instructions and within the first three pages it's talking about how you need to know how to use Telnet because everything is configured using Telnet. 1538 01:48:59,940 --> 01:49:12,820 And so that for me was kind of a red flag because Telnet as a basis for configuring a security device, is that a good best practice? 1539 01:49:13,040 --> 01:49:15,260 Is that what you start with? 1540 01:49:15,440 --> 01:49:15,880 No. 1541 01:49:15,880 --> 01:49:17,020 Thank you, Ross. 1542 01:49:17,020 --> 01:49:24,300 So the fact that even before I looked at anything else, the fact that they started with that was a red flag to me. 1543 01:49:24,300 --> 01:49:30,280 I knew that immediately my level of trust for that product has gone down. 1544 01:49:30,580 --> 01:49:35,100 I was doing an evaluation for something completely different at another project. 1545 01:49:35,140 --> 01:49:43,940 There was some, there was a physical locking device that had an electronic element to it and they were talking about how wonderful and secure it was. 1546 01:49:43,940 --> 01:49:52,560 They were really, really proud of it and how it revoked credentials and how if someone lost the fob, then it would die after a certain amount of time. 1547 01:49:52,560 --> 01:49:58,840 And we started looking at the communication between this very special fob and some thing that it talked to. 1548 01:49:58,840 --> 01:50:00,300 And I have to be vague, unfortunately. 1549 01:50:00,300 --> 01:50:01,280 I apologize. 1550 01:50:01,660 --> 01:50:08,720 And immediately it was unencrypted serial with no replay protection. 1551 01:50:08,720 --> 01:50:12,080 You sound very security-minded right now and not hacker-minded. 1552 01:50:12,080 --> 01:50:13,240 How would you break that? 1553 01:50:16,100 --> 01:50:18,100 How would you break into that? 1554 01:50:18,380 --> 01:50:22,120 Let's break into that device that you saw that you thought was really cool. 1555 01:50:23,500 --> 01:50:24,340 Which device? 1556 01:50:24,340 --> 01:50:24,900 I don't know. 1557 01:50:24,900 --> 01:50:28,520 The one with serial and unencrypted reads. 1558 01:50:28,520 --> 01:50:30,060 What would you do to break that? 1559 01:50:30,060 --> 01:50:32,920 Because this is all part of our testing as a security hacker. 1560 01:50:33,440 --> 01:50:35,060 Wow, we're now security hackers. 1561 01:50:35,060 --> 01:50:36,200 I just made that up. 1562 01:50:36,200 --> 01:50:42,020 I would start recording things and playing them back and see what happens. 1563 01:50:42,240 --> 01:50:42,940 That's it. 1564 01:50:42,940 --> 01:50:44,900 You just start trying things. 1565 01:50:44,900 --> 01:50:48,500 Most of the stuff that I do is just seeing what sticks. 1566 01:50:48,500 --> 01:50:50,000 It's the same stuff that you guys do. 1567 01:50:50,000 --> 01:50:51,480 There's no special sauce. 1568 01:50:51,480 --> 01:50:53,180 I can't stress that enough. 1569 01:50:53,260 --> 01:50:57,860 The whole lot of us are up here and we're clearly a bunch of incompetent jackasses. 1570 01:50:57,960 --> 01:51:02,740 Yet, for some reason, people look up to us and the reason is because we decided we don't know what to do. 1571 01:51:02,740 --> 01:51:04,820 I'm just going to start trying shit. 1572 01:51:04,980 --> 01:51:08,340 And that's literally the entire thing about being a hacker. 1573 01:51:08,360 --> 01:51:11,600 You can't get distracted by the fact that you have no clue what you're doing. 1574 01:51:11,600 --> 01:51:15,900 You just need to start grabbing data that you can read and replaying it to see what happens. 1575 01:51:15,900 --> 01:51:18,620 I didn't hack a security system at my office. 1576 01:51:18,620 --> 01:51:23,120 I replayed the packets that I captured in the air and made a light blink. 1577 01:51:23,120 --> 01:51:24,980 I am a monkey. 1578 01:51:24,980 --> 01:51:28,860 I am a very easily entertained monkey and that was fun. 1579 01:51:28,860 --> 01:51:35,300 It happened to break the security system but I did it for the blinking light and that's what's important. 1580 01:51:35,300 --> 01:51:36,960 You gotta just do it. 1581 01:51:36,960 --> 01:51:39,620 Just jump in and have fun and learn. 1582 01:51:40,240 --> 01:51:42,800 Yeah, I wanted to just flick in, you know. 1583 01:51:43,340 --> 01:51:45,220 Wow, you got... 1584 01:51:45,220 --> 01:51:48,020 My soapbox is the best soapbox. 1585 01:51:48,900 --> 01:51:55,260 Well, I come from the land of IKEA, so when you're assembling things, it's like everything is one page. 1586 01:51:55,260 --> 01:51:58,040 65 pages and some little pieces of wood. 1587 01:51:58,040 --> 01:52:00,740 And then a picture of saying you're missing or something. 1588 01:52:01,020 --> 01:52:06,760 But it comes down to hacking things and the mindset of solving bugs or finding a bug. 1589 01:52:06,760 --> 01:52:11,180 I can just mention as a quick anecdote that... 1590 01:52:11,180 --> 01:52:14,460 You know about the Mifer Darkside attack? 1591 01:52:15,520 --> 01:52:21,640 You know that one where you find the key for Mifer Classic cards? 1592 01:52:22,120 --> 01:52:23,360 Called Darkside? 1593 01:52:23,360 --> 01:52:24,460 Okay, whatever. 1594 01:52:25,080 --> 01:52:27,100 No, if you know the Darkside attack. 1595 01:52:27,960 --> 01:52:29,460 The Darkside attack. 1596 01:52:29,460 --> 01:52:30,840 Does anybody know the Darkside attack? 1597 01:52:30,840 --> 01:52:32,560 I will be the interpreter. 1598 01:52:32,700 --> 01:52:34,200 Yep, let's try another. 1599 01:52:34,200 --> 01:52:35,200 Use your British accent. 1600 01:52:35,200 --> 01:52:40,200 When most people talk about cracking the Mifer key, they're actually referring to the Darkside attack. 1601 01:52:40,200 --> 01:52:42,940 It refers to a very specific type of brute forcing. 1602 01:52:43,000 --> 01:52:44,920 It was the original oldest attack. 1603 01:52:44,920 --> 01:52:46,840 It was kind of a big fucking deal when it came out. 1604 01:52:46,840 --> 01:52:48,300 About 10 years ago. 1605 01:52:48,760 --> 01:52:50,440 We have RFID. 1606 01:52:50,440 --> 01:52:52,820 There is a box of cookies between them too. 1607 01:52:52,820 --> 01:52:55,000 Come to the Darkside, we have cookies. 1608 01:52:55,040 --> 01:52:56,100 Yes, we do. 1609 01:52:56,520 --> 01:53:02,740 And the thing is, on the box market, it triggered... 1610 01:53:02,740 --> 01:53:06,320 You could run an attack, it's in two parts. 1611 01:53:06,320 --> 01:53:12,660 You have a nonce collecting part on the device, and then you have an offline brute force attack on the client. 1612 01:53:13,260 --> 01:53:22,680 And somewhere, sometimes, there was a problem on the device when you're trying to collect the right nonces and trigger the knack bug, and it reset the device. 1613 01:53:22,680 --> 01:53:26,220 You trigger the VTF, the watchdog trigger, and it goes like... 1614 01:53:26,740 --> 01:53:27,460 all the time. 1615 01:53:27,460 --> 01:53:30,100 So people were running an attack and it was like... 1616 01:53:30,100 --> 01:53:37,440 And people were going, I can't hack that key, I can't crack it, I can't run my scripts, whatever. 1617 01:53:38,500 --> 01:53:45,760 So we've hit just about every device type that we're talking about, and we finished each one with... 1618 01:53:45,760 --> 01:53:47,680 What questions do you guys have? 1619 01:53:47,680 --> 01:53:55,700 If you have specific questions about this, and I'm cutting it because I'm a little bit worried about your guys' time, I really don't care that much because we can keep this place open all night. 1620 01:53:56,040 --> 01:54:04,520 But what questions do you have about RFID hacking and testing that basically the heads of state can answer for you? 1621 01:54:08,600 --> 01:54:12,440 The question is, how easy is it to replicate RFID? 1622 01:54:13,000 --> 01:54:14,660 Very easy. 1623 01:54:15,640 --> 01:54:20,480 laughter That is an incomplete answer. 1624 01:54:22,540 --> 01:54:24,260 Homework and stuff. 1625 01:54:24,260 --> 01:54:27,840 So RFID really just refers to a couple of things. 1626 01:54:27,840 --> 01:54:40,600 It refers to the idea of using a very specific physical kind of token that traditionally uses coils for communication as a means of identification. 1627 01:54:40,600 --> 01:54:41,820 That's it, right? 1628 01:54:41,820 --> 01:54:46,940 But there is a billion and one ways that you can create such a platform. 1629 01:54:46,940 --> 01:54:57,100 So the second part of that answer is it depends on what type of RFID you're talking about and how that system was designed. 1630 01:54:57,100 --> 01:55:08,480 The most popular one in the world which is currently referred to as HIDprox that is extremely easy because of the tools that exist today. 1631 01:55:09,060 --> 01:55:09,400 But 1632 01:55:16,510 --> 01:55:19,670 is it one swipe for accessing doors? 1633 01:55:21,990 --> 01:55:23,190 Right? 1634 01:55:26,760 --> 01:55:31,500 Yeah, you're asking me about credentials that you use to get through a door. 1635 01:55:31,540 --> 01:55:36,040 Right, but there's many different kinds of those credentials is what I'm talking about. 1636 01:55:36,200 --> 01:55:43,900 So it is... I can understand why how easy is it to clone RFID sounds like a very simple question. 1637 01:55:44,140 --> 01:55:50,840 And on its face it is, but it doesn't cover all the different possibilities. 1638 01:55:50,840 --> 01:55:55,680 If you were to ask me how easy is it to clone a prox card, I would say very, very easy. 1639 01:55:55,680 --> 01:56:05,860 But if you were to ask me how easy is it to clone a Desfire Evolution 2 credential, I would say I don't know of any publicly known defeat. 1640 01:56:05,900 --> 01:56:12,840 If you have a method for doing so, let me know because I have some people who will pay you lots and lots of dollars to learn that method. 1641 01:56:12,840 --> 01:56:15,720 So you haven't heard about the attack against them yet, have you? 1642 01:56:15,800 --> 01:56:18,020 It's called a sledgehammer on the window. 1643 01:56:18,020 --> 01:56:18,840 Oh yes. 1644 01:56:19,800 --> 01:56:21,000 Yeah, there you go. 1645 01:56:22,020 --> 01:56:28,000 Another thing about this major RFID brands, people know about HID or MyFair, it's the two largest. 1646 01:56:28,480 --> 01:56:40,580 But we have a list on the forum, I think it's an Excel sheet of all the brands and different kinds of tags that's out there in RFID and that list is about 4,000 items. 1647 01:56:41,080 --> 01:56:46,660 So we cover about 20 to 30 of them in the Proxmod source code. 1648 01:56:47,120 --> 01:56:51,600 But there's a lot of different systems out there. 1649 01:56:52,140 --> 01:56:55,440 And many of them haven't been researched. 1650 01:56:56,000 --> 01:56:58,900 Many of them, not anyone has been looking into it. 1651 01:56:58,900 --> 01:57:10,140 That's why the future of SDR is for this ultra-high frequency cards and tags because there's no really genuine interesting research going on onto it because there's no tool for it. 1652 01:57:10,760 --> 01:57:12,240 And that's something to look forward to. 1653 01:57:12,240 --> 01:57:17,700 The future of hacking is people like you listen to this and go like, oh yeah, nobody did this yet. 1654 01:57:18,360 --> 01:57:19,180 Interesting. 1655 01:57:20,380 --> 01:57:21,780 Was there one more question? 1656 01:57:21,780 --> 01:57:24,740 We're going to take one more RFID and then we're going to move on. 1657 01:57:24,740 --> 01:57:30,560 And I'm only moving on because I know the Encore guys are like, I think they're falling asleep because they've been here longer than they should be. 1658 01:57:30,560 --> 01:57:31,540 Yeah, go ahead. 1659 01:57:42,510 --> 01:57:43,810 Repeat the question. 1660 01:57:43,810 --> 01:57:50,130 The question was if I want to learn more about RFID when I go home, what's a good place to start? 1661 01:57:50,450 --> 01:57:52,110 I'll tell you where I started. 1662 01:57:52,110 --> 01:57:53,870 I don't know if it's the best place. 1663 01:57:53,870 --> 01:57:55,170 It's a place. 1664 01:57:55,850 --> 01:57:58,330 I started at the Proxmod forums. 1665 01:57:58,350 --> 01:57:59,350 Me too . 1666 01:57:59,350 --> 01:58:14,830 Like many hacker forums, the signal to noise ratio is less than ideal, but if you are willing to put in the hours and the time, the information is there. 1667 01:58:14,830 --> 01:58:18,690 Your two best friends are the forums and eBay. 1668 01:58:19,190 --> 01:58:27,410 So if you're like, cool, I don't know what that post is talking about, this Prox or Indala reader. 1669 01:58:27,410 --> 01:58:28,310 I've never seen that. 1670 01:58:28,390 --> 01:58:29,490 It looks easy. 1671 01:58:29,490 --> 01:58:30,770 I wonder if it's easy. 1672 01:58:30,810 --> 01:58:33,170 You know how you can do it without screwing with a real building? 1673 01:58:33,170 --> 01:58:36,230 You go on eBay, you type in Indala, and you start buying some stuff. 1674 01:58:36,630 --> 01:58:40,110 And it'll take some time and a few more dollars, but you will get there. 1675 01:58:40,110 --> 01:58:41,790 That's how most of us started. 1676 01:58:42,190 --> 01:58:45,790 And it will take a little bit of a longer time, but that's your best shot. 1677 01:58:45,890 --> 01:58:47,950 Hey, real quick, let me jump in here. 1678 01:58:48,270 --> 01:58:57,630 At this point, we're going to cut the recording, but because we run the village, we can keep it open as late as we want, and we'll just ask the goons to be really kind to us and not lock the doors yet. 1679 01:58:57,810 --> 01:58:59,090 We're going to cut the recording. 1680 01:58:59,150 --> 01:59:00,290 We're not leaving. 1681 01:59:00,290 --> 01:59:01,870 We'll answer a billion questions. 1682 01:59:01,870 --> 01:59:04,650 We're still going to talk about Hammond, Zigbee, and a couple other things. 1683 01:59:04,870 --> 01:59:06,850 If you want to stay, awesome. 1684 01:59:06,870 --> 01:59:08,830 If you want to go, feel free as well. 1685 01:59:09,150 --> 01:59:14,910 We're going to keep going, but we're going to cut the recording at this point, so if you want to take notes, take better notes. 1686 01:59:15,110 --> 01:59:15,850 Is that cool? 1687 01:59:16,610 --> 01:59:17,250 All right. 1688 01:59:17,550 --> 01:59:18,330 Thank you. 1689 01:59:18,330 --> 01:59:19,410 Any more questions? 1690 01:59:22,240 --> 01:59:22,860 Come on, guys. 1691 01:59:22,860 --> 01:59:25,800 You all have access control somewhere. 1692 01:59:26,060 --> 01:59:28,540 Some of you have questions about something. 1693 01:59:28,600 --> 01:59:29,740 Maybe they don't. 1694 01:59:29,740 --> 01:59:31,020 They might not. 1695 01:59:31,280 --> 01:59:33,080 Maybe they don't have the right tools. 1696 01:59:33,080 --> 01:59:34,200 I have a question. 1697 01:59:34,200 --> 01:59:46,400 If I was trying to set up an access control system that made sense for my organization, what would I do to test it against what could possibly happen? 1698 01:59:48,160 --> 01:59:49,740 That's a good question. 1699 01:59:49,740 --> 01:59:50,440 I know. 1700 01:59:50,840 --> 01:59:52,320 I came up with it. 1701 01:59:52,320 --> 01:59:53,820 You just made it up, did you? 1702 01:59:53,880 --> 01:59:54,880 Yeah, you're right. 1703 01:59:54,880 --> 01:59:56,020 You've done this before. 1704 01:59:56,700 --> 01:59:57,220 Let's see. 1705 01:59:57,220 --> 01:59:58,300 The question was... 1706 01:59:58,300 --> 01:59:59,660 I just said the question. 1707 01:59:59,980 --> 02:00:01,120 We're good. 1708 02:00:02,080 --> 02:00:02,940 Yeah. 1709 02:00:02,940 --> 02:00:03,600 All right. 1710 02:00:04,720 --> 02:00:10,520 You think, and I'll start doing some talking. 1711 02:00:12,980 --> 02:00:13,460 That... 1712 02:00:15,440 --> 02:00:17,360 How do you feel about this? 1713 02:00:18,160 --> 02:00:19,580 They're Argentinian cookies. 1714 02:00:19,580 --> 02:00:20,080 They're really good. 1715 02:00:20,080 --> 02:00:20,700 They're really good. 1716 02:00:20,700 --> 02:00:21,520 They're alfajores. 1717 02:00:21,520 --> 02:00:22,280 They're really good. 1718 02:00:23,140 --> 02:00:25,840 The testing piece is a difficult one. 1719 02:00:25,840 --> 02:00:28,420 It's one that everyone is curious about. 1720 02:00:29,120 --> 02:00:31,560 The first thing is... 1721 02:00:32,000 --> 02:00:35,500 How much do you understand about how that system is designed? 1722 02:00:35,560 --> 02:00:35,980 Right ? 1723 02:00:38,360 --> 02:00:39,760 It's good, right? 1724 02:00:39,760 --> 02:00:44,820 One of the things that we teach is how every component works and how they're all connected. 1725 02:00:44,820 --> 02:00:47,060 That's one of the things that I'm going to be talking about tomorrow. 1726 02:00:47,480 --> 02:00:53,040 This will be an easier question to answer tomorrow if you come to my talk at 4pm. 1727 02:00:53,200 --> 02:01:02,220 I'm going to give you a very abridged, but I feel somewhat comprehensive, overview of how a modern access control system is designed and installed. 1728 02:01:02,240 --> 02:01:06,580 But you're going to... the short answer is you're going to take a look at every link in the chain. 1729 02:01:06,580 --> 02:01:12,680 From the point that you have your card, you start with the card and say, okay, what kind of credential is that? 1730 02:01:12,680 --> 02:01:15,960 What is the means of communication and authentication to the reader? 1731 02:01:16,000 --> 02:01:18,560 Once the reader gets that information, what happens? 1732 02:01:18,780 --> 02:01:20,420 Does the reader send it into Clear? 1733 02:01:20,420 --> 02:01:21,980 Does it send it encrypted? 1734 02:01:22,120 --> 02:01:23,060 Where does it go? 1735 02:01:23,060 --> 02:01:25,520 Okay, it goes to this little door controller. 1736 02:01:25,520 --> 02:01:31,680 That's what you see, the blinky green board in the middle of the bright red readers for the CTF. 1737 02:01:31,680 --> 02:01:33,140 That's called a door controller. 1738 02:01:33,140 --> 02:01:34,860 You're going to learn about that tomorrow. 1739 02:01:34,860 --> 02:01:37,320 The door controller is an embedded Linux computer. 1740 02:01:37,320 --> 02:01:40,880 Usually that's really, really out of date because no one ever updates their firmware. 1741 02:01:41,180 --> 02:01:47,240 So then my question is, how well is that door controller segmented from other parts of the network? 1742 02:01:47,240 --> 02:01:50,740 Had they done something stupid like put it directly on the internet? 1743 02:01:50,740 --> 02:01:51,640 Yes, that happens. 1744 02:01:51,640 --> 02:01:55,520 Yes, you could Google for door controllers that are on the internet directly. 1745 02:01:55,920 --> 02:01:57,720 Show Dan, my friend. 1746 02:01:57,720 --> 02:01:58,500 Show Dan. 1747 02:01:58,500 --> 02:02:04,840 You can find door controllers online today that you can log into with Admin Admin. 1748 02:02:05,400 --> 02:02:12,000 So, and then, you know, that door controller has to be connected to a database of users, right? 1749 02:02:12,000 --> 02:02:15,080 Your users live in an SQL database of some kind. 1750 02:02:15,100 --> 02:02:17,720 So then, how is that database secure? 1751 02:02:17,720 --> 02:02:20,260 Has anyone changed the database credentials? 1752 02:02:20,380 --> 02:02:22,400 Is that database on its own segment? 1753 02:02:22,400 --> 02:02:24,640 Like, all of these things are really, really important. 1754 02:02:24,760 --> 02:02:29,160 And it's a more complex issue to look at. 1755 02:02:29,900 --> 02:02:32,820 So, let me just roll back real quick. 1756 02:02:32,820 --> 02:02:35,340 Because I was listening to Bhavik's process. 1757 02:02:35,620 --> 02:02:40,320 And Bhavik has been doing this probably about as long as I have. 1758 02:02:41,020 --> 02:02:44,400 He just described the process of how he would test that. 1759 02:02:44,440 --> 02:02:53,640 What is different about testing door controller to connection to server to outbound connection to internet connection? 1760 02:02:53,640 --> 02:02:57,120 Sounds a lot like network pen testing, doesn't it? 1761 02:02:57,160 --> 02:03:00,080 Sounds a lot like web app pen testing. 1762 02:03:00,080 --> 02:03:02,500 Sounds a lot like RF pen testing. 1763 02:03:02,560 --> 02:03:05,280 Everything we do is a process. 1764 02:03:05,460 --> 02:03:13,660 So if we're a bad guy, and we want to break into shit, we're going to go through and say, huh, front door's locked, let's look at the side door. 1765 02:03:13,660 --> 02:03:15,380 Side door's locked, that sucks. 1766 02:03:15,380 --> 02:03:16,520 Let's look at a window. 1767 02:03:16,520 --> 02:03:17,840 Huh, window's open. 1768 02:03:17,840 --> 02:03:18,960 Let's go through the window. 1769 02:03:18,960 --> 02:03:21,320 We'll go in the window and we'll unlock the front door. 1770 02:03:21,320 --> 02:03:25,960 Take that front door, now, oh, we've got the car keys, we've got the garage keys. 1771 02:03:25,960 --> 02:03:27,980 Now we've got all the keys. 1772 02:03:28,140 --> 02:03:30,640 It's exactly the same. 1773 02:03:30,800 --> 02:03:38,600 The media that we are going after, whether it's prox, does anybody here build prox marks? 1774 02:03:39,580 --> 02:03:40,620 Hey! 1775 02:03:42,060 --> 02:03:45,920 Guys, now if the room explodes, we're done. 1776 02:03:47,340 --> 02:03:52,460 But it's the exact same process and the exact same testing methodology. 1777 02:03:52,620 --> 02:03:59,680 And I hate using big words that have a whole lot of syllables in a hacker con, and I don't have blue hair and most of it's starting to go away. 1778 02:03:59,700 --> 02:04:14,120 But we do the same shit, whether it's RFID, ZigBee, Z-Wave, SDR, Wi-Fi, Bluetooth, or ham, we're looking for that side window that's open that we can break into and come back through and attack. 1779 02:04:14,260 --> 02:04:16,280 Did I say anything wrong? 1780 02:04:18,200 --> 02:04:20,380 I kind of tuned out a little bit. 1781 02:04:21,460 --> 02:04:22,920 So did I. 1782 02:04:23,860 --> 02:04:26,500 But it generally sounded correct. 1783 02:04:26,620 --> 02:04:32,640 I mean, regardless of what you do, test your shit and make sure it works. 1784 02:04:32,640 --> 02:04:39,120 If you don't test your shit and make sure it works, you're an amateur throwing data bits at a problem. 1785 02:04:39,240 --> 02:04:43,540 If you're a professional, you may or may not have gotten paid to do this. 1786 02:04:43,540 --> 02:04:45,420 I hope you're getting paid if you're a pro. 1787 02:04:45,420 --> 02:04:57,660 But you're throwing shit at a block in sequential order waiting for an answer to come back and answering every one of those negative stimuluses with something that's meaningful to that network. 1788 02:04:57,760 --> 02:05:00,980 The negative stimulus is what makes you better. 1789 02:05:00,980 --> 02:05:01,460 Hey , Woody. 1790 02:05:01,460 --> 02:05:02,780 Come here. 1791 02:05:06,440 --> 02:05:13,300 So, Woody has a different non-IT background. 1792 02:05:13,300 --> 02:05:15,280 Am I wrong so far? 1793 02:05:16,720 --> 02:05:22,700 Woody is a redneck hacker that does some shit really cool. 1794 02:05:22,960 --> 02:05:26,320 And I'm not pimping out talks. 1795 02:05:26,320 --> 02:05:39,120 Woody's the dude that took over all the Fords from like 2012 till now and is giving a talk tomorrow on how Fords get taken over and all the key codes get rolled and a whole bunch of other shit that he's going to discuss in depth. 1796 02:05:39,420 --> 02:05:43,220 But Woody finds this shit by going, huh, that's different. 1797 02:05:43,740 --> 02:05:44,540 Huh. 1798 02:05:44,600 --> 02:05:45,980 That doesn't work that way. 1799 02:05:45,980 --> 02:05:47,100 Let me try this. 1800 02:05:47,100 --> 02:05:47,980 Oh, that failed. 1801 02:05:47,980 --> 02:05:48,640 Shit. 1802 02:05:49,160 --> 02:05:49,920 Am I wrong? 1803 02:05:49,920 --> 02:05:51,080 Is that pretty close? 1804 02:05:51,080 --> 02:05:52,060 Is that your process? 1805 02:05:52,280 --> 02:05:53,120 Pretty much. 1806 02:05:53,120 --> 02:05:58,900 And I just try to use simple tools that make it easy and fast so if it doesn't work, I know and then I move forward. 1807 02:05:58,900 --> 02:06:06,380 So, I guess what we're all boiling down to is, you know, this was starting off as a gear talk and we've got a bunch of other shit to cover if we want to. 1808 02:06:06,480 --> 02:06:27,460 But, every single one of us, whether it's classically trained CS, computer science, security people, versus people that literally came out of another completely other world, like a medic and became a fucking published hacker to do shit that breaks every major device. 1809 02:06:27,460 --> 02:06:30,620 It's like 10,000 10 million devices right now. 1810 02:06:30,620 --> 02:06:32,240 How many did you break? 1811 02:06:33,320 --> 02:06:34,920 There's quite a few right now. 1812 02:06:34,920 --> 02:06:36,420 It's millions, right? 1813 02:06:36,820 --> 02:06:38,460 Lots of millions? 1814 02:06:38,640 --> 02:06:39,760 Ford's pretty big. 1815 02:06:39,760 --> 02:06:41,160 We're not being recorded anymore. 1816 02:06:43,260 --> 02:06:52,660 Every Ford I can lock, unlock, denial of service to the key fob, and then I can get in, plug in and pull the door access code. 1817 02:06:52,660 --> 02:07:00,020 So, that being said, hacking is not hard. 1818 02:07:00,280 --> 02:07:08,100 Hacking does require some sort of process that you can repeat that you can make do what you want it to do. 1819 02:07:08,240 --> 02:07:09,820 This was a gear talk. 1820 02:07:09,820 --> 02:07:24,160 So, just one thing I wanted to say with that, I'll hear me say it again, is because I wasn't formally or traditionally trained, I have friends that are really amazing who teach me how to do stuff, and when I find new stuff, they'll be like, hey, look what I found. 1821 02:07:24,160 --> 02:07:26,180 Why would you even run down that road? 1822 02:07:26,420 --> 02:07:27,880 So, one of the things is this. 1823 02:07:28,100 --> 02:07:33,980 I found my first zero day because someone said, oh, yeah, that attack doesn't work against that kind of equipment. 1824 02:07:33,980 --> 02:07:38,680 So, I was like, well, I should probably figure out what not working looks like because I have no idea. 1825 02:07:38,860 --> 02:07:40,260 And all of a sudden, it did work. 1826 02:07:40,260 --> 02:07:42,460 And they were like, wow, it's not supposed to. 1827 02:07:42,460 --> 02:07:48,640 So, because I'm not formally trained, I try stuff that most guys would be like, I'm not going to waste my time looking at that. 1828 02:07:49,240 --> 02:07:55,160 You'd be amazed how many people use that as a security platform to put those flaws in a system. 1829 02:07:56,240 --> 02:08:00,280 But all of it comes back to doing something that's repeatable. 1830 02:08:00,320 --> 02:08:08,140 I don't give a shit if you're the 500 pound dude in your mother's basement that never sees the light of day that types on computers. 1831 02:08:08,400 --> 02:08:12,240 If anybody saw the tweets like two years ago, that was the big joke. 1832 02:08:12,240 --> 02:08:12,900 400 pounds? 1833 02:08:12,900 --> 02:08:14,160 400 pounds, okay. 1834 02:08:14,160 --> 02:08:15,780 400 pound hackers. 1835 02:08:15,960 --> 02:08:17,860 We're all getting there eventually. 1836 02:08:17,860 --> 02:08:20,720 But, you know, hopefully we can cut it like half of that. 1837 02:08:20,720 --> 02:08:23,460 So try to close it out with something gear-related. 1838 02:08:23,740 --> 02:08:24,760 Gear? 1839 02:08:24,780 --> 02:08:25,820 Yes. 1840 02:08:26,200 --> 02:08:29,860 Your iWatch that's connected not to your phone? 1841 02:08:29,880 --> 02:08:30,920 Maybe. 1842 02:08:31,580 --> 02:08:33,300 We'll check that tomorrow. 1843 02:08:34,620 --> 02:08:45,400 Is there a device that someone has in their mind right now that they saw either on a building or online somewhere where they're like, huh, that looks really interesting. 1844 02:08:45,400 --> 02:08:47,460 I wonder how hard it is to hack that. 1845 02:08:48,100 --> 02:08:48,540 Okay. 1846 02:08:48,540 --> 02:08:50,400 What are you thinking of in your head? 1847 02:08:51,380 --> 02:08:52,600 I'm sorry? 1848 02:08:57,600 --> 02:08:58,560 Okay. 1849 02:08:59,660 --> 02:09:00,780 For emergencies? 1850 02:09:00,780 --> 02:09:06,040 So the emergency sirens that make everybody leave a building very quickly if they go off. 1851 02:09:06,100 --> 02:09:06,200 Yes? 1852 02:09:06,820 --> 02:09:07,780 No? 1853 02:09:09,000 --> 02:09:10,820 Yeah, so emergency sirens. 1854 02:09:10,820 --> 02:09:13,000 Alright, so that's actually a pretty cool example. 1855 02:09:13,000 --> 02:09:13,980 They're serial. 1856 02:09:13,980 --> 02:09:20,920 So my question is, okay, I wonder how hard it would be to mess with that emergency siren. 1857 02:09:20,920 --> 02:09:25,980 So the first thing I would do is I would identify manufacturers who make emergency sirens. 1858 02:09:25,980 --> 02:09:27,740 And I would start reading product pages. 1859 02:09:27,740 --> 02:09:31,120 Would you find maybe the physical rooms that they might hold? 1860 02:09:31,200 --> 02:09:31,800 What's that? 1861 02:09:31,800 --> 02:09:33,960 Would you find the room Really? 1862 02:09:34,800 --> 02:09:42,800 Would you find the rooms that those devices might be in, like something that says electrical data or facilities closet? 1863 02:09:43,220 --> 02:09:48,400 Yes, but I'm talking about as a, like, I just want to learn more, right? 1864 02:09:48,400 --> 02:09:50,240 Are we learning more or are we hacking? 1865 02:09:50,460 --> 02:09:52,360 Well, we're getting to the hacking. 1866 02:09:52,580 --> 02:09:53,580 I'll let you go. 1867 02:09:53,580 --> 02:09:54,100 Go ahead, Babak. 1868 02:09:54,200 --> 02:09:55,520 They're connected, right? 1869 02:09:55,520 --> 02:09:58,660 So I would identify who makes them. 1870 02:09:58,660 --> 02:10:02,440 Then I would say, okay, like, how much information can I find about them? 1871 02:10:02,440 --> 02:10:04,220 Do they post wiring diagrams? 1872 02:10:04,220 --> 02:10:08,880 Do they post information about how this device communicates with other things? 1873 02:10:08,920 --> 02:10:12,840 Are there any part numbers that I can look up and buy used on eBay? 1874 02:10:12,840 --> 02:10:14,820 Can I buy a sample from the manufacturer? 1875 02:10:14,820 --> 02:10:20,120 And then I would just start playing with it and trying to set it up the same way that a building would have it set up. 1876 02:10:20,120 --> 02:10:22,820 And then I would start breaking it or messing with it. 1877 02:10:22,820 --> 02:10:24,500 And that's true for anything. 1878 02:10:24,800 --> 02:10:26,420 You know, same thing for RFID. 1879 02:10:26,420 --> 02:10:36,040 When I started with RFID, I just started buying stuff and trying to get it set up the same way that a manufacturer would have it set up or a company would have it set up. 1880 02:10:36,120 --> 02:10:43,360 And then I'd start looking for things that don't make sense to me, things that I can try to manipulate or have weaknesses in. 1881 02:10:44,680 --> 02:10:46,360 That's really what it comes down to.