1 00:00:00,000 --> 00:00:04,720 For staying late, this is the latest talk this year at Packet Hacking Village of any day. 2 00:00:05,280 --> 00:00:07,240 So, appreciate sticking around. 3 00:00:07,820 --> 00:00:09,720 Oh yeah, presentation mode. 4 00:00:12,340 --> 00:00:21,100 So, in case you don't know, we're talking about mapping Wi-Fi networks and triggering with interesting traffic patterns 5 00:00:21,100 --> 00:00:24,320 using a new tool called TrackerJacker. 6 00:00:24,580 --> 00:00:26,820 So, a little bit about myself. 7 00:00:26,820 --> 00:00:38,720 I, by day, I work for FireEye on the Mandiant side, basically doing kind of like R&D for our consultants and that kind of stuff. 8 00:00:39,460 --> 00:00:44,420 I've been programming for about 18 years, so I come from more of a software engineering background 9 00:00:44,420 --> 00:00:47,720 and I kind of pivoted into cybersecurity like three and a half years ago. 10 00:00:49,420 --> 00:00:51,060 But I definitely enjoy it. 11 00:00:52,860 --> 00:00:56,080 And I typically enjoy, so programming stuff. 12 00:00:56,080 --> 00:00:59,660 But also like hacking stuff and then math-y kind of stuff. 13 00:01:01,480 --> 00:01:07,500 So, things like radio are really interesting to me because you kind of have to use mathematics to pull the signal out of the air and that kind of stuff. 14 00:01:10,740 --> 00:01:17,260 And ontologically, I describe myself as a Christian mystic, which is like a weird term you can ask me about later if you want. 15 00:01:17,460 --> 00:01:24,400 So anyway, Mandiant consultants are like ninjas and the team I work on is kind of like the sword makers, basically. 16 00:01:26,080 --> 00:01:36,360 I like fuzzy things like this dog and also things like fuzzy signals because, yeah, like I said, I think it's really cool trying to pull the signal out of the air. 17 00:01:36,840 --> 00:01:39,220 Or the signal out of the noise. 18 00:01:41,720 --> 00:01:46,360 So, you know, programming is cool and it's cool to move things around on the screen and that kind of thing. 19 00:01:47,580 --> 00:01:52,720 But if you want to move things in the real world, you kind of have to get out into the real world. 20 00:01:52,980 --> 00:01:55,280 Your programming needs to get out into the real world. 21 00:01:56,080 --> 00:02:08,200 And every time you need to do that, you know, whether it's image recognition, you know, radio stuff, text or voice, you've got to deal with the fuzziness. 22 00:02:08,500 --> 00:02:10,240 And so that's kind of where I'm coming from. 23 00:02:11,320 --> 00:02:13,660 I've been into the IoT stuff before I knew it was called IoT. 24 00:02:14,800 --> 00:02:18,700 And I kind of come in from that direction, like doing kind of like IoT things. 25 00:02:18,780 --> 00:02:24,860 I did a Raspberry Pi security system because I find the IoT stuff cool. 26 00:02:24,920 --> 00:02:25,980 And that was actually part of what... 27 00:02:26,080 --> 00:02:28,000 That drove this tool being created. 28 00:02:28,600 --> 00:02:30,060 Let me make the text bigger. 29 00:02:33,440 --> 00:02:34,840 So wireless hacking is cool. 30 00:02:34,900 --> 00:02:35,840 I've been into it for a while. 31 00:02:36,020 --> 00:02:38,720 And I've kind of worked at a lot of the different layers. 32 00:02:39,280 --> 00:02:42,160 Back in the day, I did a good bit at layer four and three. 33 00:02:42,820 --> 00:02:46,080 But, you know, with things like encryption, sometimes that's less fun. 34 00:02:46,780 --> 00:02:49,480 I've also kind of dropped down into the physical layer. 35 00:02:49,860 --> 00:02:54,360 I did a talk here at DEF CON last year with software-defined radio. 36 00:02:55,240 --> 00:02:55,640 And... 37 00:02:56,300 --> 00:02:57,820 Crafting signals and that kind of stuff. 38 00:02:58,480 --> 00:03:02,580 But this talk, you know, we're going back up to layer two, the physical layer. 39 00:03:02,800 --> 00:03:04,940 Or not the physical, the data frame layer. 40 00:03:06,880 --> 00:03:10,920 And, you know, for a while, I kind of felt like this layer was a little bit boring. 41 00:03:11,300 --> 00:03:16,780 Because ultimately, at this layer, almost every Wi-Fi is encrypted. 42 00:03:17,080 --> 00:03:18,740 And so the data is encrypted. 43 00:03:18,960 --> 00:03:20,920 So what is interesting there? 44 00:03:22,300 --> 00:03:25,340 And, well, you know, you can basically look at the data in the frame. 45 00:03:25,640 --> 00:03:27,240 You've got the source MAC address. 46 00:03:27,500 --> 00:03:30,660 So some of this stuff, systemically, they cannot encrypt. 47 00:03:30,840 --> 00:03:34,820 Because they need that data for the wireless communication to happen, right? 48 00:03:35,140 --> 00:03:39,540 So things like the source MAC address and destination MAC address have to be there. 49 00:03:41,100 --> 00:03:48,780 Things like the network SSID, the BSSID, the type of frame that it is. 50 00:03:48,820 --> 00:03:50,440 And then you have just a bunch of encrypted data. 51 00:03:51,420 --> 00:03:53,860 So it's not super exciting just looking at that. 52 00:03:54,420 --> 00:03:54,900 But... 53 00:03:55,640 --> 00:03:58,500 Let's add on the inferred data that we can ascertain. 54 00:03:59,120 --> 00:04:03,320 So, you know, we can also get things like power level implicitly based on the signal strength. 55 00:04:04,480 --> 00:04:05,560 We can get time. 56 00:04:05,700 --> 00:04:10,620 We can get the manufacturer of each device from the IEEE database. 57 00:04:11,660 --> 00:04:17,220 And we can also keep track of things like the network that each device is connected to. 58 00:04:17,380 --> 00:04:25,040 So if you look at any given frame, by the way, in 802.11, they don't all say I'm from this to this and I have this SSID. 59 00:04:25,640 --> 00:04:33,180 If you want to keep track of that, you need to actually be keeping an internal database of this is all the devices on this network and that kind of stuff. 60 00:04:33,500 --> 00:04:35,540 And that's kind of what we are going to get into. 61 00:04:35,720 --> 00:04:37,740 So this was kind of my problem. 62 00:04:37,940 --> 00:04:40,500 Like I said, I kind of am into IoT kind of stuff. 63 00:04:42,140 --> 00:04:50,560 And, you know, everyone's just going crazy making all these new IoT home automation systems. 64 00:04:50,920 --> 00:04:53,600 And they don't all talk together very well. 65 00:04:54,540 --> 00:04:55,620 And so I have... 66 00:04:55,620 --> 00:05:02,500 I had a Canary, which is like a IP camera, and it never ended up wanting to talk to my Wink security system. 67 00:05:02,740 --> 00:05:07,900 And so with the Wink, you know, I have like an alarm, like sirens and lights and that kind of stuff. 68 00:05:08,060 --> 00:05:14,740 And I was like, well, I would like if the camera sees motion and it's armed, turn on the sirens. 69 00:05:15,820 --> 00:05:20,720 So, you know, I thought, well, I could like try to root the device or something crazy like that. 70 00:05:21,020 --> 00:05:25,300 And I thought, well, what if I... 71 00:05:25,620 --> 00:05:27,100 What if I just look at... 72 00:05:27,960 --> 00:05:29,260 So it's a cloud-based camera. 73 00:05:29,560 --> 00:05:33,100 So it's going to want to upload the video to the cloud as fast as possible. 74 00:05:33,260 --> 00:05:35,960 If someone breaks in, they're going to take the camera and crush it. 75 00:05:36,020 --> 00:05:38,100 So ASAP, let's upload that video. 76 00:05:39,280 --> 00:05:45,000 So basically what I did is I just said, well, if I can look at the data and look at how... 77 00:05:45,000 --> 00:05:45,740 The threshold. 78 00:05:45,940 --> 00:05:51,760 Look at some threshold and say if it's above this threshold of data coming from the MAC address of the camera in some period of time, 79 00:05:51,840 --> 00:05:54,960 consider that motion was detected because it's uploading a video. 80 00:05:55,620 --> 00:05:56,940 And so that was kind of the approach. 81 00:05:57,120 --> 00:05:59,340 And that kind of created the whole TrackerJacker program. 82 00:06:00,680 --> 00:06:01,680 You know, there is... 83 00:06:01,680 --> 00:06:02,700 I'm a Python programmer. 84 00:06:02,760 --> 00:06:08,960 And so I have these problems where, you know, I have some problem and it's very much in quotations. 85 00:06:08,960 --> 00:06:11,980 And I end up writing a program to do it. 86 00:06:12,080 --> 00:06:13,780 So the solution was TrackerJacker. 87 00:06:15,580 --> 00:06:17,160 So TrackerJacker is... 88 00:06:17,160 --> 00:06:18,600 So I want to talk about... 89 00:06:19,120 --> 00:06:22,020 I want to show you briefly a little bit, a little demo of TrackerJacker. 90 00:06:22,200 --> 00:06:24,940 And then I want to jump over to some radio theory. 91 00:06:25,620 --> 00:06:26,480 Very light radio theory. 92 00:06:26,760 --> 00:06:30,300 And then I'll show a few more examples of using TrackerJacker. 93 00:06:30,600 --> 00:06:32,740 So it is open source. 94 00:06:32,840 --> 00:06:33,400 It's on GitHub. 95 00:06:33,600 --> 00:06:36,400 It's on PyPy, the Python index. 96 00:06:36,680 --> 00:06:37,540 And you can just... 97 00:06:37,540 --> 00:06:38,120 It's a single... 98 00:06:38,120 --> 00:06:40,740 In theory, it's a single command to install it. 99 00:06:40,840 --> 00:06:42,060 You can pip install. 100 00:06:43,440 --> 00:06:46,800 So the first demo that I want to do... 101 00:06:48,700 --> 00:06:54,660 So the thing is I didn't really want to bring my camera and connect it to DEF CON Wi-Fi. 102 00:06:55,620 --> 00:06:58,580 So I recorded this demo at home. 103 00:06:58,720 --> 00:07:01,140 So I'll go ahead and play this demo. 104 00:07:01,220 --> 00:07:07,440 And basically, I'll skip ahead because I think I have a little introduction. 105 00:07:07,860 --> 00:07:08,820 Now I'll just... 106 00:07:09,700 --> 00:07:10,760 I'll talk over it. 107 00:07:10,840 --> 00:07:12,820 Here we have a setup, test setup. 108 00:07:13,060 --> 00:07:15,300 So basically, you know, I've got this... 109 00:07:16,020 --> 00:07:17,360 This is a... 110 00:07:17,360 --> 00:07:18,240 Let me mute myself. 111 00:07:18,380 --> 00:07:19,040 So I've got... 112 00:07:19,040 --> 00:07:20,560 This is the siren right there. 113 00:07:20,720 --> 00:07:22,600 I've got TrackerJacker running on the laptop. 114 00:07:24,400 --> 00:07:25,600 And what's going to happen is... 115 00:07:25,600 --> 00:07:27,940 What's going to happen is the canary cameras face the other direction. 116 00:07:28,200 --> 00:07:33,900 And when I move over there, it should pick up motion and try to upload the video. 117 00:07:33,960 --> 00:07:34,500 So I'll show... 118 00:07:36,380 --> 00:07:42,180 It should try to upload video, which TrackerJacker will then see. 119 00:07:43,440 --> 00:07:44,720 Repeating ritual Caleb. 120 00:07:44,900 --> 00:07:45,560 Sorry about that. 121 00:07:46,400 --> 00:07:48,700 Cause TrackerJacker to run the script, which... 122 00:07:56,180 --> 00:07:57,720 It should take just a second. 123 00:07:57,780 --> 00:07:58,460 Ah, there it is. 124 00:07:58,500 --> 00:08:00,120 You can see something print out on the screen. 125 00:08:04,520 --> 00:08:05,900 So that's kind of the idea. 126 00:08:06,140 --> 00:08:07,280 And I cut the video right after that. 127 00:08:07,480 --> 00:08:10,380 So do you guys kind of see what happened? 128 00:08:10,500 --> 00:08:12,220 I mean, basically, the camera saw motion. 129 00:08:13,540 --> 00:08:15,600 TrackerJacker saw that motion detection. 130 00:08:15,820 --> 00:08:16,640 It hit the threshold. 131 00:08:16,980 --> 00:08:18,340 And behind the scenes... 132 00:08:18,340 --> 00:08:23,380 So TrackerJacker, it has two main ways of doing an action. 133 00:08:23,500 --> 00:08:24,800 You can either have it call a script. 134 00:08:24,800 --> 00:08:26,180 Like I did in this example. 135 00:08:26,600 --> 00:08:27,880 Or you can write a plug-in. 136 00:08:28,180 --> 00:08:30,940 And so I simply had a script that could turn on the sirens. 137 00:08:31,040 --> 00:08:32,620 And that's how that connection was made. 138 00:08:34,700 --> 00:08:38,540 The other demo I'll show you right off the bat is this one. 139 00:08:39,360 --> 00:08:40,400 So I always... 140 00:08:41,080 --> 00:08:41,500 Whenever... 141 00:08:42,260 --> 00:08:44,940 Not whenever, but often it ends up being the case 142 00:08:44,940 --> 00:08:46,660 when I'm doing a wireless hacking thing. 143 00:08:46,900 --> 00:08:48,960 And they ask me if there's audience participation. 144 00:08:49,320 --> 00:08:51,360 I always say, yes, there is audience participation. 145 00:08:51,740 --> 00:08:52,900 But it may not be voluntary. 146 00:08:54,000 --> 00:08:54,780 So I've just... 147 00:08:54,800 --> 00:08:55,360 I've just been running... 148 00:08:56,160 --> 00:09:01,000 I've been running TrackerJacker in the background last hour or whatever. 149 00:09:01,360 --> 00:09:05,200 So, you know, it's basically just picking up all of the Wi-Fi devices 150 00:09:05,200 --> 00:09:06,100 and it's building a map. 151 00:09:06,600 --> 00:09:08,840 And so I'll go ahead and show you what that looks like. 152 00:09:09,420 --> 00:09:10,980 So as you can see, it's just scanning. 153 00:09:11,080 --> 00:09:12,740 And you can see here it's channel hopping. 154 00:09:12,940 --> 00:09:15,200 So it's automatically cycling through the channels. 155 00:09:15,320 --> 00:09:18,660 It supports whatever channels your Wi-Fi adapter supports. 156 00:09:20,640 --> 00:09:23,640 And what it does then is... 157 00:09:24,240 --> 00:09:24,780 Packet has a lot of channels. 158 00:09:24,780 --> 00:09:25,160 Packing Village. 159 00:09:26,160 --> 00:09:31,740 It outputs it in this YAML file where it's... 160 00:09:32,460 --> 00:09:35,060 So I chose YAML because it's human readable. 161 00:09:35,260 --> 00:09:37,780 But if you want to write a program to parse it yourself, you can. 162 00:09:37,960 --> 00:09:40,620 And so it's kind of cool because it's both the output in a file, 163 00:09:40,780 --> 00:09:43,720 nice, clean, simple file, as well as the database. 164 00:09:43,880 --> 00:09:45,500 So ultimately, to be keeping... 165 00:09:45,500 --> 00:09:46,820 To do really interesting stuff, 166 00:09:46,900 --> 00:09:48,820 you need to keep track of all these relationships. 167 00:09:49,080 --> 00:09:51,480 And so internally, TrackerJacker keeps them in memory 168 00:09:51,480 --> 00:09:53,820 and then it serializes to this file from time to time. 169 00:09:53,960 --> 00:09:54,580 And so... 170 00:09:54,580 --> 00:09:57,780 So what you have is at the top level here, each SSID. 171 00:09:58,320 --> 00:10:00,900 And then underneath that, you have each BSSID. 172 00:10:01,360 --> 00:10:04,960 Or basically the nodes of that network. 173 00:10:05,240 --> 00:10:06,400 And then underneath that. 174 00:10:06,460 --> 00:10:07,860 And you can see things like the signal, 175 00:10:08,540 --> 00:10:10,640 channels it's on, the vendor. 176 00:10:11,120 --> 00:10:13,540 Let's find one that has some actual clients connected. 177 00:10:14,040 --> 00:10:16,840 Because there's a lot of noise apparently around here. 178 00:10:18,020 --> 00:10:20,900 Who would have thought in the Packet Hacking Village? 179 00:10:21,280 --> 00:10:23,140 So a lot of these are... 180 00:10:27,060 --> 00:10:29,760 Let's go down to one that's going to have people on it. 181 00:10:31,820 --> 00:10:34,960 So right here, you can see this node of the Caesars Villa. 182 00:10:35,080 --> 00:10:36,000 It has these devices. 183 00:10:36,860 --> 00:10:38,440 And so it's just got the MAC address, 184 00:10:38,920 --> 00:10:41,360 the bytes it's seen send recently, 185 00:10:42,660 --> 00:10:45,040 the signal strength, the manufacturer. 186 00:10:46,160 --> 00:10:51,600 And it has that then for every Wi-Fi device that's within range. 187 00:10:52,620 --> 00:10:53,100 And... 188 00:10:54,080 --> 00:10:54,560 And... 189 00:10:56,800 --> 00:10:57,340 Let's see. 190 00:10:58,260 --> 00:11:01,180 And so I want to just briefly show how that works. 191 00:11:01,960 --> 00:11:06,460 So I want to look at how Wi-Fi works from a radio perspective. 192 00:11:06,680 --> 00:11:08,920 So by the way, I should mention, I come from kind of a, 193 00:11:09,620 --> 00:11:13,640 like I said, software-defined radio slash ham radio world. 194 00:11:13,860 --> 00:11:17,520 So I kind of stepped away from the higher levels. 195 00:11:17,580 --> 00:11:20,640 And then I stepped back to them kind of from the radio perspective. 196 00:11:20,660 --> 00:11:23,940 So I kind of was thinking about a lot of this stuff from the radio perspective. 197 00:11:24,560 --> 00:11:29,660 So really briefly, you know, there's the two bands, 2.4 and 5 gigahertz. 198 00:11:30,880 --> 00:11:33,160 Now, you know, ultimately, these are channel numbers. 199 00:11:33,580 --> 00:11:37,480 But those are just standard abbreviations for the actual frequency. 200 00:11:37,680 --> 00:11:42,400 So ultimately, TrackerJacker is hopping between all these frequencies slash channels over time. 201 00:11:44,160 --> 00:11:45,420 There's 5 gigahertz channel. 202 00:11:47,020 --> 00:11:49,100 You know, ultimately, the data is modulated. 203 00:11:49,480 --> 00:11:52,500 The Wi-Fi card at layer 2 will demodulate that for you. 204 00:11:54,560 --> 00:11:55,300 Nothing too fancy there. 205 00:11:55,340 --> 00:11:57,020 This is kind of an important part, though, I think. 206 00:11:57,200 --> 00:12:00,740 So most of you are probably familiar with promiscuous mode. 207 00:12:01,080 --> 00:12:04,840 And that's kind of where if you're on a Wi-Fi or Ethernet network, 208 00:12:04,980 --> 00:12:09,200 you can just say, I don't want you to only give me the packets destined for my MAC address. 209 00:12:09,300 --> 00:12:14,500 I want you to give me all the packets, whether they're for someone else's MAC address or not. 210 00:12:14,800 --> 00:12:16,580 Well, there's this other thing called monitor mode. 211 00:12:16,700 --> 00:12:18,460 I mean, if you probably already know about it. 212 00:12:19,040 --> 00:12:21,800 But basically, it's where you don't connect to any network. 213 00:12:23,060 --> 00:12:24,500 And instead, you... 214 00:12:24,560 --> 00:12:29,840 You put your Wi-Fi adapter into more of a pure radio receiver and demodulation mode. 215 00:12:30,620 --> 00:12:32,280 And that's what this is using. 216 00:12:32,400 --> 00:12:33,540 This is using monitor mode. 217 00:12:34,140 --> 00:12:37,820 And so you're not connected to any network. 218 00:12:38,220 --> 00:12:42,320 But you can then receive the packets from every single network within range. 219 00:12:43,000 --> 00:12:43,980 That's how that works. 220 00:12:46,480 --> 00:12:51,160 And so that's kind of then what is being exploited by TrackerJacker. 221 00:12:52,040 --> 00:12:54,360 Okay, so I talked about the mapping functionality. 222 00:12:54,560 --> 00:12:59,760 And I showed you briefly in the video the tracking-slash-triggering functionality. 223 00:13:00,000 --> 00:13:03,180 But I want to show a few more examples of what it looks like. 224 00:13:08,120 --> 00:13:11,060 So, like I said, there's a really nice plug-in system. 225 00:13:12,240 --> 00:13:14,020 Let me show you what a plug-in looks like. 226 00:13:15,860 --> 00:13:16,520 How many... 227 00:13:16,520 --> 00:13:19,720 Actually, out of curiosity, how many people know how to program in Python, 228 00:13:19,920 --> 00:13:21,420 have rudimentary Python programming skills? 229 00:13:21,860 --> 00:13:24,360 Okay, maybe 30%, 40%. 230 00:13:24,560 --> 00:13:30,720 And like I said, basically, you can either call out to a script 231 00:13:30,720 --> 00:13:33,680 or you can call out a plug-in you want to run. 232 00:13:34,140 --> 00:13:35,160 Plug-ins look like this. 233 00:13:35,280 --> 00:13:39,320 This is a simple plug-in that just counts every Apple device within range. 234 00:13:40,120 --> 00:13:42,700 The plug-in API is very simple. 235 00:13:43,280 --> 00:13:45,380 There's no subclassing or anything like that. 236 00:13:45,440 --> 00:13:47,680 You just create a Python class called trigger 237 00:13:47,680 --> 00:13:50,880 and make sure it has an init method and a call method. 238 00:13:51,200 --> 00:13:53,300 And then there's these various... 239 00:13:56,060 --> 00:13:57,780 keyword arguments that get passed in. 240 00:13:57,980 --> 00:14:00,120 And you can just take any of those that you want 241 00:14:00,120 --> 00:14:01,460 and do whatever you want with them. 242 00:14:02,240 --> 00:14:05,180 And so, basically, I kind of look at TrackerJacker 243 00:14:05,180 --> 00:14:08,160 as it provides some basic mapping functionality 244 00:14:09,960 --> 00:14:15,520 and some basic responding to patterns and calling scripts kind of functionality 245 00:14:15,520 --> 00:14:16,920 as well as a few built-in plug-ins. 246 00:14:17,000 --> 00:14:19,180 But in some ways, it can also be seen as a platform. 247 00:14:20,700 --> 00:14:24,240 So, there's a lot of annoying things if you're trying to do this kind of tracking. 248 00:14:26,700 --> 00:14:30,800 So, you've got to be hopping between channels. 249 00:14:31,620 --> 00:14:32,720 You've got to be... 250 00:14:33,260 --> 00:14:36,460 Things like the frames, what's the source and what's the destination, 251 00:14:36,760 --> 00:14:38,800 those are different depending on the type of frame. 252 00:14:39,240 --> 00:14:43,560 And so, TrackerJacker does a lot of normalization and that kind of stuff. 253 00:14:43,700 --> 00:14:46,720 And it gives you all the data you would probably want 254 00:14:49,260 --> 00:14:51,360 within these calls to your functions. 255 00:14:51,700 --> 00:14:53,480 I have this one that kind of shows... 256 00:14:54,560 --> 00:14:56,000 Let me show what it looks like to run a plug-in. 257 00:14:57,740 --> 00:15:08,100 So, I'm going to go track mode, plug-in, plug-in example slash plug-in template. 258 00:15:11,240 --> 00:15:13,040 So, yeah, way too much data to see. 259 00:15:13,200 --> 00:15:16,360 But you can see it's just printing out all the data it's getting passed in. 260 00:15:16,460 --> 00:15:21,040 The device ID is the MAC or the SSID or the BSSID depending on the context. 261 00:15:21,460 --> 00:15:23,240 It tells you this is a BSSID. 262 00:15:24,060 --> 00:15:24,540 It tells you... 263 00:15:24,560 --> 00:15:26,880 It tells you how many bytes it's seen from that. 264 00:15:27,940 --> 00:15:29,200 It tells you the vendor. 265 00:15:29,440 --> 00:15:31,140 So, you can do like regexes on that. 266 00:15:31,320 --> 00:15:32,840 It gives you the power level. 267 00:15:34,160 --> 00:15:35,460 It gives you... 268 00:15:35,460 --> 00:15:37,980 It also gives you the SSID it's part of, 269 00:15:38,640 --> 00:15:40,480 the interface you're on, the channel, 270 00:15:41,100 --> 00:15:42,340 and then it also... 271 00:15:42,340 --> 00:15:43,000 The frame type. 272 00:15:43,620 --> 00:15:45,560 And then it also gives you the raw frame data 273 00:15:45,560 --> 00:15:48,720 in case you want to really drop down and do something else that is not provided. 274 00:15:49,100 --> 00:15:53,680 So, that's kind of there in the code as a example. 275 00:15:54,660 --> 00:15:55,060 Template. 276 00:15:55,060 --> 00:15:56,140 And there are several others. 277 00:15:57,580 --> 00:16:02,140 Let's go ahead and do another example template. 278 00:16:02,420 --> 00:16:07,800 So, you know, I did a simple Foxhunt plug-in. 279 00:16:14,860 --> 00:16:16,660 This is like what you get in Aircrack, right? 280 00:16:16,740 --> 00:16:19,520 It just shows you the top closest devices by power, 281 00:16:19,620 --> 00:16:20,840 and it just recycles that. 282 00:16:22,840 --> 00:16:24,540 So, you know, that's kind of... 283 00:16:24,540 --> 00:16:25,620 It's kind of a built-in plug-in, 284 00:16:25,720 --> 00:16:28,540 but that's an example of, you know, almost any... 285 00:16:28,540 --> 00:16:31,720 I think of it as almost any kind of thing you might want to do 286 00:16:31,720 --> 00:16:35,740 where you want to look at some traffic patterns of Wi-Fi at Layer 2 287 00:16:35,740 --> 00:16:36,720 and do something. 288 00:16:36,900 --> 00:16:37,960 Call it script, whatever. 289 00:16:38,580 --> 00:16:39,520 Keep track of it. 290 00:16:39,720 --> 00:16:41,360 So, that's another one that actually I wrote. 291 00:16:41,780 --> 00:16:43,220 So, I was talking to someone, 292 00:16:44,040 --> 00:16:44,920 Lori over there, 293 00:16:45,040 --> 00:16:46,000 and we were like, 294 00:16:46,180 --> 00:16:51,240 I wonder how many different types of devices there are at DEF CON. 295 00:16:51,400 --> 00:16:54,420 Like, what's the biggest, you know, player? 296 00:16:54,880 --> 00:16:56,780 So, I wrote this little plug-in. 297 00:16:56,820 --> 00:16:58,200 Let's see if I have it loaded up here. 298 00:17:07,180 --> 00:17:09,000 Literally, I wrote this today. 299 00:17:11,060 --> 00:17:12,840 It was kind of fun trying to, you know, 300 00:17:12,840 --> 00:17:16,700 commit to source and all of that right before the talk 301 00:17:16,700 --> 00:17:18,000 and try not to break anything. 302 00:17:19,600 --> 00:17:20,960 So, this is the plug-in. 303 00:17:21,020 --> 00:17:24,200 It's a little more, you know, it's like 50-some lines of code. 304 00:17:25,160 --> 00:17:26,880 But then, with this, you can output, 305 00:17:29,760 --> 00:17:32,260 this is what I've seen so far at DEF CON. 306 00:17:32,480 --> 00:17:35,580 So, Zebra is actually the most popular, 307 00:17:35,640 --> 00:17:36,640 which is kind of a surprise. 308 00:17:37,740 --> 00:17:38,800 Apple is close behind. 309 00:17:38,980 --> 00:17:41,400 I don't even know what this Murata is, Broadcom, obviously. 310 00:17:42,660 --> 00:17:44,900 So, you know, it's just a pattern I wanted to look for, 311 00:17:45,000 --> 00:17:46,840 and it saw, like, 2,800 devices 312 00:17:47,900 --> 00:17:50,880 in maybe 30 minutes or something like that. 313 00:17:54,260 --> 00:17:57,060 And, yeah, so that's a few plug-in examples. 314 00:17:57,460 --> 00:17:58,440 Oh, let's do another one. 315 00:17:59,120 --> 00:18:02,160 So, all right, just to give you an idea of the flexibility 316 00:18:02,160 --> 00:18:03,480 and kinds of things you could do. 317 00:18:05,140 --> 00:18:06,860 So, you could... 318 00:18:10,280 --> 00:18:13,820 Let's say that you really hate some particular manufacturer of device, 319 00:18:14,100 --> 00:18:15,920 maybe Apple or something like that, 320 00:18:16,020 --> 00:18:17,820 and you're like, I really hate Apple, 321 00:18:17,860 --> 00:18:20,680 and I want to de-auth every Apple device that gets close to my house. 322 00:18:20,880 --> 00:18:22,040 For example. 323 00:18:22,200 --> 00:18:23,920 Now, I mean, maybe it'd be a drone. 324 00:18:23,960 --> 00:18:25,540 Maybe a drone, you don't like drones, right? 325 00:18:25,660 --> 00:18:27,440 Or maybe you're in an Airbnb, 326 00:18:27,580 --> 00:18:30,460 and you don't want your Nest Cam spying on you. 327 00:18:30,640 --> 00:18:36,460 So, there's actually some semi-non-malicious use cases for this. 328 00:18:38,400 --> 00:18:38,880 But... 329 00:18:38,880 --> 00:18:40,980 So, let me show you what the... 330 00:18:42,100 --> 00:18:43,340 Let's go down. 331 00:18:46,860 --> 00:18:47,820 History vendors. 332 00:18:54,540 --> 00:18:56,520 Oh, I've got to copy and paste it. 333 00:19:08,720 --> 00:19:11,100 All right, let's see if this works. 334 00:19:11,220 --> 00:19:12,920 So, this plug-in actually... 335 00:19:12,920 --> 00:19:15,160 There's also a plug-in config parameter. 336 00:19:15,340 --> 00:19:17,640 So, if you create a plug-in that itself, 337 00:19:17,840 --> 00:19:20,620 you would like to be able to pass parameters to. 338 00:19:20,880 --> 00:19:21,660 So, in this case, 339 00:19:22,680 --> 00:19:24,060 vendors to de-auth, 340 00:19:24,280 --> 00:19:24,760 that's... 341 00:19:26,000 --> 00:19:29,120 You could pass in multiple vendors to de-auth. 342 00:19:29,340 --> 00:19:31,520 You could also pass in particular Macs. 343 00:19:32,100 --> 00:19:33,200 And let's see if that works. 344 00:19:35,060 --> 00:19:35,760 All right. 345 00:19:36,180 --> 00:19:37,040 So, I think... 346 00:19:37,040 --> 00:19:39,240 Yep, so it's looking and finding devices. 347 00:19:39,320 --> 00:19:40,880 It has enough data to de-auth. 348 00:19:41,560 --> 00:19:43,980 And for this functionality, by the way, 349 00:19:44,040 --> 00:19:46,880 it's calling out to Aircrack. 350 00:19:47,540 --> 00:19:48,720 So, right now... 351 00:19:48,720 --> 00:19:49,620 Oh, there we go. 352 00:19:49,680 --> 00:19:50,420 We're killing... 353 00:19:51,200 --> 00:19:51,960 We're killing some. 354 00:19:54,380 --> 00:19:55,200 Now, this is... 355 00:19:55,200 --> 00:19:56,460 So, this is actually kind of cool, though. 356 00:19:56,480 --> 00:19:56,900 Okay, so... 357 00:19:58,020 --> 00:19:59,380 Right now, a TrackerJacker, like I said, 358 00:19:59,420 --> 00:20:01,180 it's just passive, but it can call things. 359 00:20:01,480 --> 00:20:03,140 So, you know, it can call Aircrack. 360 00:20:04,000 --> 00:20:06,360 But how many people have tried to de-auth with Aircrack before? 361 00:20:07,480 --> 00:20:07,760 Okay. 362 00:20:08,100 --> 00:20:09,900 So, one annoying thing, for those of you who know, 363 00:20:10,020 --> 00:20:11,640 if you try to de-auth, you need to know, like, 364 00:20:11,660 --> 00:20:14,540 the BSS ID and the MAC address and all that kind of stuff. 365 00:20:14,700 --> 00:20:15,740 Now, one problem, though... 366 00:20:15,740 --> 00:20:17,320 Like, let's say you're on a big network and it's got, 367 00:20:17,380 --> 00:20:19,040 let's just say, 20 nodes, like here. 368 00:20:19,040 --> 00:20:22,820 And if I de-auth you on one of the nodes, 369 00:20:23,060 --> 00:20:23,900 what's going to happen? 370 00:20:23,980 --> 00:20:25,620 Well, it's just going to jump over to the next node, right? 371 00:20:25,820 --> 00:20:26,420 And connect. 372 00:20:26,600 --> 00:20:28,080 And you're going to have to then do another scan 373 00:20:29,340 --> 00:20:30,680 and do another de-auth. 374 00:20:30,820 --> 00:20:31,600 Well, so this is going to... 375 00:20:31,600 --> 00:20:33,320 This is actually, behind the scenes, 376 00:20:33,340 --> 00:20:34,620 automatically doing that for you. 377 00:20:34,720 --> 00:20:35,760 Because it's really just... 378 00:20:35,760 --> 00:20:37,220 It's just whack-a-mole. 379 00:20:37,360 --> 00:20:38,600 Like, it will just... 380 00:20:38,600 --> 00:20:39,840 It's just reacting. 381 00:20:39,980 --> 00:20:42,700 So, every time it sees this particular, you know, 382 00:20:42,700 --> 00:20:43,600 something from this vendor, 383 00:20:43,720 --> 00:20:46,520 or if it's a MAC address that you really hate, 384 00:20:47,820 --> 00:20:48,700 it whacks it. 385 00:20:48,700 --> 00:20:50,880 And it automatically fills in all those parameters for you. 386 00:20:51,800 --> 00:20:52,660 And that's just... 387 00:20:52,660 --> 00:20:53,820 It was kind of like... 388 00:20:53,820 --> 00:20:54,400 It was... 389 00:20:54,400 --> 00:20:55,100 Oh, we'll go ahead and stop that. 390 00:20:57,320 --> 00:20:58,060 But, come on. 391 00:20:58,080 --> 00:20:58,560 People are like, 392 00:20:58,600 --> 00:21:00,460 you've got to expect that at DEF CON, right? 393 00:21:00,680 --> 00:21:01,380 But, anyway. 394 00:21:03,000 --> 00:21:04,740 But it was kind of like an afterthought, though. 395 00:21:04,820 --> 00:21:06,420 I was like, oh, it would be cool to be able to do this. 396 00:21:06,520 --> 00:21:09,380 And the cool thing is, again, it's just a plug-in. 397 00:21:09,420 --> 00:21:11,580 So, the core I actually kept kind of small. 398 00:21:11,780 --> 00:21:14,880 And the plug-in functionality is pretty powerful. 399 00:21:15,060 --> 00:21:16,240 So, I ended up writing a lot of stuff 400 00:21:16,240 --> 00:21:17,320 I thought I was going to write in the core 401 00:21:17,320 --> 00:21:18,340 into the plug-in system. 402 00:21:18,700 --> 00:21:20,000 So, that made me... 403 00:21:20,000 --> 00:21:21,940 That forced me into making the plug-in system 404 00:21:21,940 --> 00:21:23,440 very much a first-class citizen. 405 00:21:24,100 --> 00:21:24,760 So, it's... 406 00:21:24,760 --> 00:21:29,120 I think it's reasonably flexible at this point. 407 00:21:31,840 --> 00:21:33,560 And let's see. 408 00:21:38,600 --> 00:21:40,680 Some other things I want to note. 409 00:21:41,760 --> 00:21:43,900 So, TrackerJacker is... 410 00:21:46,080 --> 00:21:48,640 It's mostly been developed... 411 00:21:48,640 --> 00:21:49,780 Developed for and tested in Linux. 412 00:21:50,320 --> 00:21:53,000 So, Kali, Ubuntu, any of that kind of stuff. 413 00:21:53,360 --> 00:21:55,340 Like, what I'm doing is I'm running it in a VM. 414 00:21:56,200 --> 00:21:57,600 Obviously, if you're at the top level, 415 00:21:57,680 --> 00:21:58,160 that's even better. 416 00:22:00,360 --> 00:22:04,400 But I do have some preliminary Mac support as well. 417 00:22:04,920 --> 00:22:09,000 I can try to demo that. 418 00:22:14,240 --> 00:22:16,400 Also, TrackerJacker requires root privileges 419 00:22:16,400 --> 00:22:18,140 because it's doing the PCAP. 420 00:22:18,640 --> 00:22:21,020 So, that's one possible downside, I guess you might say. 421 00:22:23,580 --> 00:22:24,560 Let's see if this works. 422 00:22:24,660 --> 00:22:26,280 It's going to kill my Wi-Fi. 423 00:22:31,880 --> 00:22:32,540 And there... 424 00:22:32,540 --> 00:22:33,460 Yeah, so there it's running. 425 00:22:33,560 --> 00:22:34,440 Basic scan. 426 00:22:36,440 --> 00:22:39,120 By the way, TrackerJacker is built on Scapey. 427 00:22:39,920 --> 00:22:41,880 Now, how many of you guys are familiar with Scapey? 428 00:22:42,580 --> 00:22:43,380 Okay, cool. 429 00:22:43,760 --> 00:22:46,380 So, Scapey, it's this really sweet Python library 430 00:22:46,380 --> 00:22:47,760 that lets you do packet crafting, 431 00:22:47,940 --> 00:22:48,620 but also sniffing around. 432 00:22:48,640 --> 00:22:49,320 And that kind of stuff. 433 00:22:49,540 --> 00:22:51,520 And so, this is a layer over that, 434 00:22:51,640 --> 00:22:52,780 pretty extensive layer over that. 435 00:22:53,180 --> 00:22:55,320 I'm working with the Scapey team, kind of. 436 00:22:55,360 --> 00:22:57,480 I was trying to get them to push out some new functionality 437 00:22:57,480 --> 00:22:58,520 to make the Mac version better. 438 00:22:58,660 --> 00:23:00,760 So, I'm kind of pending on that. 439 00:23:02,540 --> 00:23:05,720 So, there'll be more Mac support forthcoming 440 00:23:05,720 --> 00:23:07,600 when some of that other stuff is ready. 441 00:23:11,320 --> 00:23:13,080 And further other features as well. 442 00:23:13,380 --> 00:23:15,340 If anyone wants to help port it to Windows, 443 00:23:16,200 --> 00:23:17,100 that would be... 444 00:23:18,640 --> 00:23:20,300 Someone else, other than myself. 445 00:23:22,020 --> 00:23:23,400 I have no promises on that. 446 00:23:24,820 --> 00:23:26,180 As far as Wi-Fi devices, 447 00:23:26,300 --> 00:23:27,460 I thought I would make a note. 448 00:23:28,200 --> 00:23:29,800 So, I really like these. 449 00:23:30,720 --> 00:23:32,200 I've never heard anyone talk about them, 450 00:23:32,240 --> 00:23:34,520 but the Panda brand, 451 00:23:35,480 --> 00:23:36,960 they have these really nice devices. 452 00:23:37,040 --> 00:23:38,060 Like this little one right here. 453 00:23:39,460 --> 00:23:40,620 It's a dual band. 454 00:23:41,840 --> 00:23:44,340 It runs on Linux right out of the box. 455 00:23:44,680 --> 00:23:47,020 And it supports monitor mode and injection. 456 00:23:47,380 --> 00:23:48,620 So, pretty cool. 457 00:23:48,640 --> 00:23:48,720 It's really sweet. 458 00:23:49,120 --> 00:23:51,400 That's the kind I've been using for most of my testing. 459 00:23:51,960 --> 00:23:55,520 The Alpha, there's some Alpha ones that work for it. 460 00:23:55,620 --> 00:23:56,500 The TP-Link. 461 00:23:57,400 --> 00:23:59,160 I have a few notes on that. 462 00:24:01,020 --> 00:24:03,720 And a few major takeaways. 463 00:24:06,460 --> 00:24:08,340 So, at the physical layer, 464 00:24:09,000 --> 00:24:10,860 Wi-Fi is just radio, right? 465 00:24:11,000 --> 00:24:13,480 And so, there's only so much you can do 466 00:24:13,480 --> 00:24:15,080 to prevent these kinds of attacks. 467 00:24:15,640 --> 00:24:16,160 So, 468 00:24:18,640 --> 00:24:21,680 a few more expoundings 469 00:24:21,680 --> 00:24:24,120 on some of the testing that I did. 470 00:24:24,840 --> 00:24:27,420 So, with the security system, 471 00:24:27,600 --> 00:24:28,340 with the camera, 472 00:24:28,620 --> 00:24:31,500 one of the things I realized after I wrote it is, 473 00:24:31,660 --> 00:24:34,880 oh, wait, I'm not even connected to my Wi-Fi network. 474 00:24:34,960 --> 00:24:36,640 I don't need to be connected to my Wi-Fi network. 475 00:24:37,980 --> 00:24:39,740 So, you can actually scan 476 00:24:39,740 --> 00:24:44,220 and find all the vendors of IP cameras near you. 477 00:24:44,340 --> 00:24:46,480 And you can see when they're detecting motion or not. 478 00:24:46,860 --> 00:24:47,900 Actually, a funny side note. 479 00:24:48,580 --> 00:24:50,540 Canary, so I was testing this stuff, 480 00:24:50,660 --> 00:24:52,400 and I have this Canary camera. 481 00:24:52,820 --> 00:24:54,440 And, you know, I would arm it 482 00:24:54,440 --> 00:24:56,000 and make sure it went off, 483 00:24:56,000 --> 00:24:57,120 and then I'd disarm it. 484 00:24:57,300 --> 00:24:59,740 And then it was going off while it was disarmed. 485 00:25:00,700 --> 00:25:02,760 And I was like, that's kind of weird. 486 00:25:03,340 --> 00:25:04,880 And it turns out they were uploading video 487 00:25:05,300 --> 00:25:07,100 even when it was not in the armed mode, 488 00:25:07,220 --> 00:25:08,760 which, now there was a setting 489 00:25:08,760 --> 00:25:10,420 kind of hidden away you could turn off, 490 00:25:10,500 --> 00:25:11,940 but it was kind of a weird, oh, wow, 491 00:25:11,980 --> 00:25:14,620 I saw that I did not think it was recording video 492 00:25:14,620 --> 00:25:15,260 during that time. 493 00:25:15,620 --> 00:25:17,520 So, it could also be useful for testing that kind of stuff. 494 00:25:17,520 --> 00:25:19,120 But it's also kind of scary because, yeah, 495 00:25:19,200 --> 00:25:21,380 I mean, it could be an IP camera 496 00:25:21,380 --> 00:25:23,020 in a neighboring house or building, 497 00:25:23,570 --> 00:25:25,280 and you could detect when there's motion, right? 498 00:25:26,420 --> 00:25:30,440 One of the other very obvious use cases 499 00:25:30,440 --> 00:25:33,160 would be tracking people with smartphones, right? 500 00:25:33,220 --> 00:25:34,880 And that's kind of what I was doing here, you know, so. 501 00:25:39,200 --> 00:25:39,960 But that's, 502 00:25:41,240 --> 00:25:43,740 there's only so much you can do to prevent that, right? 503 00:25:43,940 --> 00:25:46,900 Because, so there's some things like, you know, 504 00:25:46,940 --> 00:25:47,480 Apple devices, 505 00:25:47,520 --> 00:25:48,600 Apple devices do Mac randomization. 506 00:25:48,840 --> 00:25:50,580 So, if you're not connected to any network, 507 00:25:51,260 --> 00:25:53,400 they'll be not sending out their actual Mac 508 00:25:53,400 --> 00:25:55,520 when they're, like, probing for Wi-Fi networks 509 00:25:55,520 --> 00:25:56,140 and all of that. 510 00:25:57,080 --> 00:25:58,380 But if you ever connect, 511 00:25:58,660 --> 00:26:00,820 it basically has to use your Mac. 512 00:26:01,360 --> 00:26:04,080 And so, for example, if you're at your house 513 00:26:04,080 --> 00:26:05,720 and you're connected to your home Wi-Fi network, 514 00:26:08,080 --> 00:26:09,240 someone could just go and look 515 00:26:09,240 --> 00:26:10,300 and see if you're connected or not 516 00:26:10,300 --> 00:26:11,760 and basically know if you're home or not. 517 00:26:12,300 --> 00:26:16,400 That's kind of, you know, that's a little bit worrisome. 518 00:26:17,520 --> 00:26:20,080 And there's really not a lot you can do. 519 00:26:20,840 --> 00:26:22,780 Like I said, you can turn off Wi-Fi 520 00:26:22,780 --> 00:26:24,440 when you're traveling around 521 00:26:24,440 --> 00:26:26,840 so that at least while you're out and about, 522 00:26:26,980 --> 00:26:28,760 they're not going to be tracking your physical location, 523 00:26:29,040 --> 00:26:30,380 whoever they are is. 524 00:26:31,040 --> 00:26:33,440 And I believe I saw some report that, from Snowden, 525 00:26:33,460 --> 00:26:35,820 that the government is using this kind of tracking 526 00:26:36,280 --> 00:26:37,560 in addition to other kinds. 527 00:26:40,440 --> 00:26:43,200 It's also another funny testing thing I realized. 528 00:26:43,400 --> 00:26:46,520 So, my network at home, it has several repeaters. 529 00:26:46,520 --> 00:26:49,140 And I could notice from TrackerJacker 530 00:26:49,140 --> 00:26:51,060 when I was, like, upstairs versus downstairs 531 00:26:51,060 --> 00:26:54,460 based on which node I was connected to. 532 00:26:54,760 --> 00:26:56,580 There's all kinds of crazy things you can do like that. 533 00:26:57,880 --> 00:27:00,160 Another fun plug-in was... 534 00:27:02,560 --> 00:27:05,140 I'm not going to demo it for time's sake, 535 00:27:05,240 --> 00:27:07,700 but it'll just look and see who all is around 536 00:27:07,700 --> 00:27:09,040 and it'll show anomalies. 537 00:27:09,520 --> 00:27:11,420 So, that's another very simple plug-in to write. 538 00:27:12,460 --> 00:27:14,760 If you want to, you know, you can set a threshold. 539 00:27:14,880 --> 00:27:16,060 Like, if I see... 540 00:27:16,540 --> 00:27:19,180 Power level greater than negative 50 dBm 541 00:27:19,180 --> 00:27:22,560 and I haven't seen this MAC address before, 542 00:27:23,280 --> 00:27:24,760 then do an alert, right? 543 00:27:24,980 --> 00:27:28,140 And you wouldn't want to do that without any kind of power filter 544 00:27:28,140 --> 00:27:29,920 because people passing by in the street, right? 545 00:27:30,020 --> 00:27:32,580 But if you have a power level, that's really quickly 546 00:27:32,580 --> 00:27:37,480 a really interesting program to detect potential invaders. 547 00:27:38,020 --> 00:27:39,680 I could see that being useful for companies, 548 00:27:39,920 --> 00:27:41,820 you know, kind of a basic... 549 00:27:42,640 --> 00:27:44,320 That would be an interesting piece of data 550 00:27:44,320 --> 00:27:46,120 if there was someone who broke in 551 00:27:46,120 --> 00:27:46,860 and stole stuff, right? 552 00:27:48,560 --> 00:27:51,980 It's trivial to track in Wi-Fi monitor mode. 553 00:27:53,300 --> 00:27:55,000 Like I said, I was a little bit surprised 554 00:27:55,000 --> 00:27:56,820 by the kind of information that you can get 555 00:27:56,820 --> 00:28:00,700 out of the raw 802.11 mode. 556 00:28:00,960 --> 00:28:01,680 I kind of... 557 00:28:01,680 --> 00:28:03,120 For a while, I guess I thought, 558 00:28:03,200 --> 00:28:04,040 well, it's all encrypted 559 00:28:04,040 --> 00:28:06,040 and so there's not a lot of interesting stuff. 560 00:28:06,220 --> 00:28:08,760 But if you're tracking stuff over time 561 00:28:09,940 --> 00:28:10,820 and keeping track, 562 00:28:10,980 --> 00:28:14,460 then that's where the kind of creepy data gets leaked from. 563 00:28:16,200 --> 00:28:18,440 As I said, you know, I have this new tool, 564 00:28:18,600 --> 00:28:19,240 TrackerJacker, 565 00:28:20,700 --> 00:28:23,040 and I think that's the main takeaways. 566 00:28:24,660 --> 00:28:26,880 So I'll call that the end. 567 00:28:27,020 --> 00:28:29,740 And if any of you guys have any questions, 568 00:28:30,400 --> 00:28:31,260 let me know. 569 00:28:31,820 --> 00:28:32,500 Thank you. 570 00:28:33,080 --> 00:28:33,920 Thank you. 571 00:28:40,880 --> 00:28:41,400 Yes? 572 00:28:41,840 --> 00:28:44,800 What's been your experience with contact devices 573 00:28:44,800 --> 00:28:45,820 that do broadcast? 574 00:28:48,060 --> 00:28:50,280 As in, do they do randomization or not? 575 00:29:00,020 --> 00:29:02,660 I mean, they all send out their MAC address. 576 00:29:02,820 --> 00:29:04,980 Like, you know, almost every Wi-Fi device 577 00:29:04,980 --> 00:29:06,340 will do its probes 578 00:29:06,340 --> 00:29:07,680 and it'll send out data 579 00:29:07,680 --> 00:29:10,240 when it's trying to look for Wi-Fi to connect to, right? 580 00:29:10,700 --> 00:29:12,260 And so those are all kind of the same. 581 00:29:12,580 --> 00:29:15,320 There is probably some active scans you could do 582 00:29:15,320 --> 00:29:16,100 to track your data. 583 00:29:16,120 --> 00:29:18,140 Try to fingerprint more, right? 584 00:29:18,800 --> 00:29:20,340 I haven't got into any of that yet, 585 00:29:20,380 --> 00:29:22,820 but there's definitely stuff you could do, I think. 586 00:29:26,000 --> 00:29:26,380 Yes? 587 00:29:31,860 --> 00:29:32,240 Yes? 588 00:29:38,360 --> 00:29:40,240 No, not at this point. 589 00:29:40,540 --> 00:29:43,340 For that, you would need some kind of more active probing into it. 590 00:29:44,220 --> 00:29:46,060 Now, you can differentiate in location, 591 00:29:46,060 --> 00:29:47,020 and stuff like that, 592 00:29:47,060 --> 00:29:49,140 but that's not going to help with that, I don't think. 593 00:29:49,440 --> 00:29:49,920 Yes? 594 00:29:51,040 --> 00:29:53,500 Can this tool help me find these trends 595 00:29:53,500 --> 00:29:55,000 that the old thing might find? 596 00:29:56,940 --> 00:29:58,040 I don't know. 597 00:29:58,220 --> 00:29:59,280 It might be able to. 598 00:30:01,580 --> 00:30:02,060 Yes? 599 00:30:02,420 --> 00:30:04,540 Can this do the ARP spoofing? 600 00:30:04,920 --> 00:30:05,860 ARP spoofing? 601 00:30:08,740 --> 00:30:14,820 Not directly, but you could definitely use it as a trigger 602 00:30:14,820 --> 00:30:16,040 to call something that does ARP spoofing. 603 00:30:16,040 --> 00:30:16,660 ARP spoofing. 604 00:30:17,100 --> 00:30:19,460 So, like, let's say it has Skapy, 605 00:30:19,460 --> 00:30:20,440 it could go to Skapy. 606 00:30:21,620 --> 00:30:23,180 It uses Skapy, 607 00:30:23,220 --> 00:30:25,480 and you could definitely write a plug-in 608 00:30:25,480 --> 00:30:26,400 that would then call Skapy. 609 00:30:26,520 --> 00:30:27,000 Yeah. 610 00:30:27,220 --> 00:30:27,740 Yeah. 611 00:30:28,540 --> 00:30:29,060 Yes? 612 00:30:29,500 --> 00:30:30,720 So, just to be clear, 613 00:30:32,340 --> 00:30:32,860 there's... 614 00:30:33,540 --> 00:30:36,380 Do you normally pick up this information 615 00:30:36,380 --> 00:30:38,160 if the device is activated 616 00:30:38,160 --> 00:30:39,940 by transmitting data 617 00:30:39,940 --> 00:30:42,840 from one, let's say, node 618 00:30:42,840 --> 00:30:44,220 to another device? 619 00:30:44,660 --> 00:30:45,060 Mm-hmm. 620 00:30:49,060 --> 00:30:50,260 Yes, kind of. 621 00:30:50,280 --> 00:30:50,660 Yes and no. 622 00:30:50,800 --> 00:30:52,980 So, it doesn't have to be transmitting... 623 00:30:52,980 --> 00:30:54,400 It depends on what you mean by data. 624 00:30:54,700 --> 00:30:56,160 It could be not connected 625 00:30:56,160 --> 00:30:57,600 and just looking for networks to connect to, 626 00:30:57,740 --> 00:30:58,400 and it will be found. 627 00:30:58,500 --> 00:30:59,340 But it's transmitting data. 628 00:31:00,000 --> 00:31:01,200 But it's purely passive. 629 00:31:01,820 --> 00:31:03,380 So, it's only going to pick up 630 00:31:03,380 --> 00:31:04,620 on what's in the air. 631 00:31:04,820 --> 00:31:06,520 But if your Wi-Fi device 632 00:31:06,520 --> 00:31:08,640 is actually sending a signal over the air, 633 00:31:08,800 --> 00:31:10,280 whether it's a control frame 634 00:31:10,280 --> 00:31:12,400 or a data frame or management frame, 635 00:31:13,460 --> 00:31:14,680 that'll get picked up. 636 00:31:14,980 --> 00:31:15,380 Okay. 637 00:31:16,040 --> 00:31:17,260 So, the device is just scanning 638 00:31:17,260 --> 00:31:19,320 or, like, my iPod is just scanning 639 00:31:19,320 --> 00:31:19,800 for networks. 640 00:31:20,000 --> 00:31:21,440 You said there's back-randomization. 641 00:31:21,920 --> 00:31:23,540 So, it, like... 642 00:31:23,940 --> 00:31:25,960 Or, like, TrackerJagger will pick up 643 00:31:25,960 --> 00:31:27,380 my public key, 644 00:31:27,420 --> 00:31:28,720 the randomized back-randomization. 645 00:31:28,720 --> 00:31:29,040 Yeah. 646 00:31:29,140 --> 00:31:30,080 Oh, actually... 647 00:31:30,080 --> 00:31:30,460 Yes? 648 00:31:30,980 --> 00:31:33,600 So, that's the question here. 649 00:31:33,660 --> 00:31:35,140 Like, do you know it's the same 650 00:31:35,740 --> 00:31:37,400 app that I put in my iPod 651 00:31:37,400 --> 00:31:37,920 that I'm seeing 652 00:31:37,920 --> 00:31:40,060 that random back-address 653 00:31:40,060 --> 00:31:41,340 when it's standard 654 00:31:41,340 --> 00:31:42,620 or is it a new random back-address? 655 00:31:42,620 --> 00:31:44,720 It seems to be randomized 656 00:31:44,720 --> 00:31:45,460 from what I've seen. 657 00:31:46,320 --> 00:31:47,340 By the way, actually, 658 00:31:47,440 --> 00:31:48,440 since you brought that up, 659 00:31:48,760 --> 00:31:49,340 have you guys... 660 00:31:49,340 --> 00:31:50,420 Is Marv here? 661 00:31:51,860 --> 00:31:52,260 Okay. 662 00:31:53,160 --> 00:31:54,700 Because, like, I was scanning around 663 00:31:54,700 --> 00:31:55,460 the Hacking Village 664 00:31:56,320 --> 00:31:58,100 and I noticed, like, 665 00:31:58,240 --> 00:31:59,480 this Marv guy 666 00:32:01,300 --> 00:32:01,700 everywhere. 667 00:32:05,520 --> 00:32:06,620 So, yeah, I... 668 00:32:06,620 --> 00:32:07,560 It was kind of funny. 669 00:32:07,640 --> 00:32:08,760 Like, let me see if I can print this out. 670 00:32:08,820 --> 00:32:11,320 Python 3 filter Marv. 671 00:32:12,520 --> 00:32:14,440 I wrote a little script. 672 00:32:18,320 --> 00:32:19,240 Let's see if this works. 673 00:32:23,760 --> 00:32:26,860 So, Marv had 50 SSIDs. 674 00:32:27,960 --> 00:32:29,200 So, oh, by the way, 675 00:32:29,220 --> 00:32:30,820 so at the Packet Hacking Village, 676 00:32:31,700 --> 00:32:33,460 here, just in the last hour, 677 00:32:33,520 --> 00:32:35,340 it found 631 devices, 678 00:32:37,660 --> 00:32:38,540 270 SSIDs, 679 00:32:38,540 --> 00:32:40,660 50, not including the 50 680 00:32:40,660 --> 00:32:41,360 that Marv made. 681 00:32:42,980 --> 00:32:44,240 So, just to show you 682 00:32:44,240 --> 00:32:44,940 what that looks like. 683 00:32:53,900 --> 00:32:54,680 I don't care. 684 00:32:55,420 --> 00:32:55,760 Marv. 685 00:32:58,240 --> 00:32:59,520 So, you can see what he was doing. 686 00:32:59,680 --> 00:33:00,540 He had, like, all these... 687 00:33:00,540 --> 00:33:01,860 So, kudos to Marv. 688 00:33:01,940 --> 00:33:03,660 Oh, actually, a funny other little thing. 689 00:33:03,760 --> 00:33:04,680 Just a funny DEF CON. 690 00:33:04,920 --> 00:33:06,640 This was, like, a great DEF CON moment. 691 00:33:06,820 --> 00:33:07,040 Okay? 692 00:33:07,380 --> 00:33:09,760 So, I was running Tracker Jacker 693 00:33:09,760 --> 00:33:10,620 in one of the Chill Out Lounges, 694 00:33:10,660 --> 00:33:14,140 like, three hours ago. 695 00:33:16,620 --> 00:33:18,920 And I got this exception thrown. 696 00:33:19,660 --> 00:33:21,860 And it was, like, this recursion error. 697 00:33:21,980 --> 00:33:23,240 And someone had crafted a packet 698 00:33:23,240 --> 00:33:24,600 so deep 699 00:33:24,600 --> 00:33:26,080 that it blew up 700 00:33:26,080 --> 00:33:27,160 Skapie's decoding. 701 00:33:27,720 --> 00:33:28,880 So, I actually created 702 00:33:28,880 --> 00:33:30,780 a new ticket for them. 703 00:33:31,220 --> 00:33:33,520 And I put my call to Skapie 704 00:33:33,520 --> 00:33:34,420 in an exception handler. 705 00:33:34,560 --> 00:33:35,460 So, I thought that was, like, 706 00:33:35,460 --> 00:33:37,280 a really cool DEF CON moment. 707 00:33:37,880 --> 00:33:39,580 In the code, I actually have 708 00:33:41,800 --> 00:33:43,940 a thank you DEF CON. 709 00:33:44,940 --> 00:33:45,280 Comment. 710 00:33:46,360 --> 00:33:47,020 Let me see. 711 00:33:51,460 --> 00:33:52,700 There it is. 712 00:33:53,560 --> 00:33:54,860 Thank you, DEF CON. 713 00:33:57,080 --> 00:33:58,120 All right. 714 00:33:58,440 --> 00:33:59,020 Let's see. 715 00:33:59,060 --> 00:33:59,340 Any others? 716 00:33:59,500 --> 00:33:59,740 Yes? 717 00:34:02,380 --> 00:34:02,900 Yes. 718 00:34:05,520 --> 00:34:06,240 Yes, it will. 719 00:34:06,760 --> 00:34:08,860 Actually, I've tried this 720 00:34:08,860 --> 00:34:10,080 on a couple airlines. 721 00:34:11,080 --> 00:34:13,200 And you see the guest one, usually. 722 00:34:13,280 --> 00:34:14,920 But the other ones also show up. 723 00:34:16,040 --> 00:34:16,940 And that's because 724 00:34:16,940 --> 00:34:18,820 some of the management type frames, 725 00:34:19,920 --> 00:34:21,000 so they're not sending out 726 00:34:21,000 --> 00:34:23,320 the beacons, right? 727 00:34:23,440 --> 00:34:24,780 If they're not, if they're hidden. 728 00:34:25,800 --> 00:34:27,820 But the SSID still shows up 729 00:34:27,820 --> 00:34:28,380 in other packets. 730 00:34:29,140 --> 00:34:30,660 And basically, any type of packet 731 00:34:30,660 --> 00:34:31,280 where it has that, 732 00:34:31,380 --> 00:34:33,200 if it has it, Skapie will grab it. 733 00:34:33,920 --> 00:34:35,280 And actually, I don't even know 734 00:34:35,280 --> 00:34:36,320 what all those type of packets are. 735 00:34:36,400 --> 00:34:37,380 I just know I look for it 736 00:34:37,380 --> 00:34:38,300 in every type. 737 00:34:38,620 --> 00:34:39,180 So, yeah. 738 00:34:39,660 --> 00:34:40,020 Yeah. 739 00:34:45,700 --> 00:34:46,960 Yeah, I think you can. 740 00:34:47,260 --> 00:34:48,040 I think you can. 741 00:34:48,160 --> 00:34:49,860 Because the same... 742 00:34:50,400 --> 00:34:51,800 So, Bluetooth does a little bit more 743 00:34:51,800 --> 00:34:53,060 to try to hide its MAC address, 744 00:34:53,360 --> 00:34:53,840 for example. 745 00:34:54,160 --> 00:34:55,320 But, yeah. 746 00:34:55,500 --> 00:34:56,460 You could, I think. 747 00:34:58,240 --> 00:34:58,640 Yes? 748 00:34:58,860 --> 00:34:59,700 Do you have any plans 749 00:34:59,700 --> 00:35:00,740 for equalization? 750 00:35:01,100 --> 00:35:01,840 And it's still 751 00:35:01,840 --> 00:35:02,940 in the calculation 752 00:35:02,940 --> 00:35:03,540 of the packets? 753 00:35:04,280 --> 00:35:05,660 I have thought about that, yeah. 754 00:35:07,500 --> 00:35:08,860 One of the other roadmap things 755 00:35:08,860 --> 00:35:10,000 is to have support 756 00:35:10,020 --> 00:35:12,080 for a couple Wi-Fi adapters 757 00:35:12,080 --> 00:35:13,100 simultaneously as well, 758 00:35:13,200 --> 00:35:13,900 which would help 759 00:35:13,900 --> 00:35:14,500 with that kind of thing. 760 00:35:16,000 --> 00:35:16,440 Yeah. 761 00:35:16,800 --> 00:35:17,380 Let's see. 762 00:35:18,120 --> 00:35:19,800 Any other questions? 763 00:35:21,640 --> 00:35:22,420 All right. 764 00:35:22,520 --> 00:35:23,040 Well, thank you. 765 00:35:24,140 --> 00:35:25,180 Thank you. 766 00:35:25,540 --> 00:35:26,260 Thank you. 767 00:35:26,400 --> 00:35:26,780 Thank you. 768 00:35:27,140 --> 00:35:27,720 Thank you.