1 00:00:00,000 --> 00:00:01,440 Should we start the talk now? 2 00:00:01,660 --> 00:00:02,040 Yeah, sure. 3 00:00:02,340 --> 00:00:02,600 Okay. 4 00:00:02,940 --> 00:00:03,560 Go ahead. 5 00:00:04,960 --> 00:00:06,520 One, two, three. 6 00:00:06,620 --> 00:00:06,900 Not it. 7 00:00:07,060 --> 00:00:07,580 Damn it. 8 00:00:07,620 --> 00:00:07,940 All right. 9 00:00:08,200 --> 00:00:10,300 Good morning, evening, afternoon. 10 00:00:10,500 --> 00:00:12,140 I don't even know what freaking day it is. 11 00:00:12,380 --> 00:00:13,140 Happy Tuesday. 12 00:00:13,780 --> 00:00:14,180 Yes. 13 00:00:14,320 --> 00:00:15,180 Welcome to Saturday. 14 00:00:15,440 --> 00:00:15,740 Oh. 15 00:00:16,240 --> 00:00:16,800 All right. 16 00:00:16,820 --> 00:00:17,880 We are the Wireless Village. 17 00:00:19,100 --> 00:00:19,500 Literally. 18 00:00:19,800 --> 00:00:22,500 I am Rick, and he is Rick, so we are Rick. 19 00:00:23,120 --> 00:00:25,420 And we do shit and have fun with it. 20 00:00:25,680 --> 00:00:29,160 We love to give you guys the capability to play this game, 21 00:00:29,160 --> 00:00:33,220 to listen to the talks, and we love the fact that you guys come back every year and listen to us. 22 00:00:33,620 --> 00:00:36,480 I wouldn't listen to us this long, so I don't know why the hell you guys have, 23 00:00:36,600 --> 00:00:37,700 but thank you very much for it. 24 00:00:38,540 --> 00:00:42,780 Today we have a little bit something special, I guess we could say, special, maybe. 25 00:00:43,180 --> 00:00:44,220 I feel special. 26 00:00:44,420 --> 00:00:45,200 I feel special, too. 27 00:00:45,380 --> 00:00:47,800 This is a tool that has not been released yet. 28 00:00:47,920 --> 00:00:51,680 This is a tool that is doing things that other tools can't do, 29 00:00:51,800 --> 00:00:55,820 and it kind of came up under a funny story, which you'll have to endure, so I'm sorry about that. 30 00:00:56,220 --> 00:00:56,680 You're not. 31 00:00:57,000 --> 00:00:57,980 So, Rick, go ahead. 32 00:00:58,580 --> 00:00:59,080 What's this? 33 00:00:59,160 --> 00:01:02,660 Bluetooth stuff, other than, like, you know, pardon anybody from Kentucky. 34 00:01:02,940 --> 00:01:03,660 I don't mean to be totally rude, but... 35 00:01:03,660 --> 00:01:08,280 Named after King Harold the Bluetooth, who ate lots of blueberries, apparently. 36 00:01:09,940 --> 00:01:14,600 Bluetooth is a ubiquitous networking technology for people too lazy to plug in cables. 37 00:01:16,040 --> 00:01:17,600 Is that the whole slide? 38 00:01:17,860 --> 00:01:18,700 Pan, yep. 39 00:01:18,920 --> 00:01:19,520 Yeah, that's it. 40 00:01:19,740 --> 00:01:20,400 That's it. 41 00:01:20,580 --> 00:01:24,700 Hey, it is fancy IEEE 802.11, 802.15.1. 42 00:01:24,800 --> 00:01:26,000 Yeah, yeah. 43 00:01:26,260 --> 00:01:27,780 And there is no oversight. 44 00:01:28,420 --> 00:01:30,160 There is a guidance group. 45 00:01:30,540 --> 00:01:30,940 Cool. 46 00:01:30,980 --> 00:01:31,880 You missed a bunch of shit. 47 00:01:32,280 --> 00:01:32,680 Anyway. 48 00:01:32,920 --> 00:01:33,520 People can read. 49 00:01:33,860 --> 00:01:34,660 Can you all read? 50 00:01:34,920 --> 00:01:35,280 Cool. 51 00:01:35,420 --> 00:01:36,220 I'm not reading the slides. 52 00:01:36,420 --> 00:01:37,880 Here's why we care about Bluetooth, though. 53 00:01:38,120 --> 00:01:42,220 Who has, on or off, a Bluetooth device on you right now? 54 00:01:43,120 --> 00:01:45,060 If there's anybody with your hand down, you're a liar. 55 00:01:45,900 --> 00:01:47,100 And if you're not, prove it. 56 00:01:47,320 --> 00:01:47,880 Strip search. 57 00:01:48,440 --> 00:01:49,140 Where's TSA? 58 00:01:49,420 --> 00:01:50,060 In their house? 59 00:01:50,220 --> 00:01:50,400 Okay. 60 00:01:51,080 --> 00:01:52,040 Bluetooth is everywhere. 61 00:01:52,480 --> 00:01:53,440 It's on your watch. 62 00:01:53,560 --> 00:01:54,300 It's on your phone. 63 00:01:54,460 --> 00:01:56,340 It's on your headsets. 64 00:01:56,480 --> 00:01:57,360 It's on your laptops. 65 00:01:57,360 --> 00:01:59,020 And it's on a lot of your laptops. 66 00:01:59,380 --> 00:02:02,360 I mean, Jan, Joe, Bob, Jimmy, we see you. 67 00:02:02,460 --> 00:02:02,920 We do. 68 00:02:03,120 --> 00:02:06,280 And we see you from, like, the time you walk down the steps to the time you get here. 69 00:02:06,720 --> 00:02:10,840 So we like playing with Bluetooth, but we like playing with Bluetooth for really, really, really good reasons. 70 00:02:11,740 --> 00:02:13,960 It's everywhere, and it's exploitable. 71 00:02:15,380 --> 00:02:17,100 And then comes along this crazy thing. 72 00:02:17,260 --> 00:02:20,580 But you can challenge your friends to see who gets the highest step count at DEF CON. 73 00:02:21,680 --> 00:02:22,400 Yay, Fitbit. 74 00:02:24,780 --> 00:02:25,620 Bluetooth, low energy. 75 00:02:25,800 --> 00:02:26,080 Come on. 76 00:02:26,140 --> 00:02:26,660 Be technical. 77 00:02:27,360 --> 00:02:32,080 Bluetooth, low energy is a low energy protocol for people too lazy to plug in cables. 78 00:02:32,700 --> 00:02:40,340 But seriously, Bluetooth, low energy has the same transmit power as regular Bluetooth, which, you know, you'd think low energy. 79 00:02:40,400 --> 00:02:42,500 Obviously, it's going to be weak and go less distance. 80 00:02:42,840 --> 00:02:44,020 Actually, that's not true at all. 81 00:02:44,060 --> 00:02:46,880 It just has to do with how deep the power saving cycles are. 82 00:02:46,980 --> 00:02:56,000 So it'll basically turn completely off, do absolutely nothing, and then wake up and send, like, a packet and then shut up for, like, a quarter of a second, which is a really long time when you're a radio. 83 00:02:56,120 --> 00:02:56,980 Trust me, it is. 84 00:02:57,360 --> 00:03:00,840 So, like, four wake-ups a second is really, really, really good power saving. 85 00:03:02,100 --> 00:03:04,180 It's like keeping Rick quiet for, like, five minutes. 86 00:03:04,300 --> 00:03:05,040 It doesn't happen. 87 00:03:05,120 --> 00:03:07,440 Yeah, Fitbits are, you know, a couple of days of battery life. 88 00:03:07,540 --> 00:03:14,100 But when you're talking about some of these Bluetooth beacons and things like that, they're actually sending out, like, a signal every couple of, you know, four times a second. 89 00:03:14,160 --> 00:03:19,220 And these batteries on, you know, AA's are, like, two years to have a Bluetooth beacon for your marketing project. 90 00:03:19,380 --> 00:03:21,360 So it really is pretty low energy. 91 00:03:23,600 --> 00:03:25,620 So last year, was it last year? 92 00:03:25,680 --> 00:03:26,280 It was last year. 93 00:03:26,280 --> 00:03:27,360 Two years. 94 00:03:27,460 --> 00:03:27,920 Two years ago. 95 00:03:28,080 --> 00:03:28,340 Yeah. 96 00:03:28,680 --> 00:03:32,280 Rick was up on stage on a delayed talk because of dongles. 97 00:03:32,660 --> 00:03:33,340 Dongles suck. 98 00:03:33,640 --> 00:03:34,500 God, dongles suck. 99 00:03:35,300 --> 00:03:39,600 But they released a tool called Blue Hydra, and we all thought, wow, Blue Hydra is absolutely awesome. 100 00:03:39,780 --> 00:03:41,280 Who in the room has heard of Blue Hydra? 101 00:03:42,440 --> 00:03:43,240 Oh, awesome. 102 00:03:43,340 --> 00:03:46,460 Wow, there's, like, wireless people here in the wireless village. 103 00:03:46,620 --> 00:03:46,980 That's neat. 104 00:03:47,220 --> 00:03:47,780 That is neat. 105 00:03:48,120 --> 00:03:51,260 Blue Hydra tells you what's in the airspace like Aerodump does. 106 00:03:51,440 --> 00:03:54,500 And Blue Hydra does a really, really good job of enumerating out things. 107 00:03:54,500 --> 00:03:59,440 It does such a good job that it tells you the difference between Bluetooth low energy and Bluetooth classic. 108 00:03:59,700 --> 00:04:01,440 We'll get to that in a minute while that's super important. 109 00:04:01,800 --> 00:04:05,240 But the amount of data that comes out of that is phenomenal, and they did a great job on this. 110 00:04:05,560 --> 00:04:09,080 Now, that being said, Bluetooth has some weird quirks to it. 111 00:04:09,860 --> 00:04:10,740 Masters and slaves. 112 00:04:11,220 --> 00:04:14,140 So masters and slaves, discoverable and not discoverable. 113 00:04:15,040 --> 00:04:16,900 Bluetooth is a really, really weird thing. 114 00:04:17,320 --> 00:04:22,400 I see a lot of, you know, Bluetooth security requirements, which are literally Wi-Fi security requirements. 115 00:04:22,640 --> 00:04:24,480 But some jerk did a fine interruption. 116 00:04:24,500 --> 00:04:26,280 He replaced on Wi-Fi and changed it to Bluetooth. 117 00:04:26,580 --> 00:04:29,940 I've also seen the same with WiMAX and all kinds of other crap. 118 00:04:30,120 --> 00:04:31,860 But that's just not how things work. 119 00:04:32,300 --> 00:04:37,000 For instance, Bluetooth doesn't even transmit the whole MAC address in the air. 120 00:04:37,400 --> 00:04:40,920 It only transmits the last three octets of the MAC address. 121 00:04:41,020 --> 00:04:41,860 That's the last half. 122 00:04:42,280 --> 00:04:47,940 And when you have Wi-Fi, for example, you have a BSSID for the access point. 123 00:04:48,100 --> 00:04:54,480 You have the transmitting MAC address, which is, you know, either the client or the access point. 124 00:04:54,500 --> 00:04:55,200 Depending on direction. 125 00:04:55,340 --> 00:04:58,920 And then you have the receiver, which again, client or access point, depending on direction. 126 00:04:59,000 --> 00:05:02,400 You have three MAC addresses, at least, in every single packet. 127 00:05:02,520 --> 00:05:04,680 Full MAC addresses, unencrypted, all the time. 128 00:05:04,940 --> 00:05:10,860 Bluetooth, there's one half of one MAC address for a communications group. 129 00:05:11,140 --> 00:05:18,060 So you can have multiple devices talking to your phone, and they'll all basically share half of a MAC address. 130 00:05:18,320 --> 00:05:22,620 And the only way they know who's talking to who is because they're not the one transmitting. 131 00:05:22,640 --> 00:05:23,760 So it must be to them. 132 00:05:24,600 --> 00:05:27,920 It's a really, really frustrating protocol because of things like that. 133 00:05:28,140 --> 00:05:34,700 So building BlueHydra was entertaining when you're looking for raw monitoring of things. 134 00:05:35,060 --> 00:05:40,600 Ubertooth is a really great tool, but there are limitations to Bluetooth that a lot of people just don't know about. 135 00:05:40,740 --> 00:05:42,080 So that's my favorite one. 136 00:05:42,400 --> 00:05:43,380 It's lots of fun. 137 00:05:43,640 --> 00:05:45,200 So we asked the question last year. 138 00:05:45,320 --> 00:05:52,000 How many people in the room do RF or wireless pen testing as all of or part of their daily job? 139 00:05:54,780 --> 00:05:57,980 Okay, seven people out of, I can't count that high. 140 00:05:58,600 --> 00:05:59,580 That's not very many. 141 00:05:59,940 --> 00:06:06,580 But the people that do that, Bluetooth is a pain in the ass because you can't track things as properly as you'd like to. 142 00:06:07,260 --> 00:06:13,100 Because if I'm trying to follow the CEO home, and I want to know where he lives or what he's doing or how he's doing it, 143 00:06:13,280 --> 00:06:19,560 I have massive options of doing it, except his phone's not pairing, his phone's not trying to pair, 144 00:06:19,740 --> 00:06:23,380 and all I have is a master or a slave, I don't know which it is, I don't know if it's him or her. 145 00:06:24,500 --> 00:06:25,360 So that's a big problem. 146 00:06:25,680 --> 00:06:27,220 So flip that to security. 147 00:06:28,180 --> 00:06:36,600 From defense, you have a better opportunity of not getting caught with Bluetooth prior to today than you would with your wireless radios. 148 00:06:36,740 --> 00:06:38,700 And everybody knows, I should turn my wireless off. 149 00:06:39,020 --> 00:06:44,700 But as soon as you get on a plane, get on a train, get in a cab, you turn on your Bluetooth, you put your headphones in your ears, 150 00:06:44,780 --> 00:06:48,400 you start talking to somebody because, you know, wires are so, you know, 2017. 151 00:06:49,320 --> 00:06:50,420 It gets tangled. 152 00:06:50,820 --> 00:06:52,140 I don't like it. 153 00:06:52,720 --> 00:06:54,360 You need to have the ability. 154 00:06:54,360 --> 00:06:58,360 You need the ability to be, you know, mobile and walking around or just, you know, looking cool. 155 00:06:58,400 --> 00:07:01,340 Walk through San Francisco, everybody has these weird earrings. 156 00:07:01,500 --> 00:07:03,760 They're white, they kind of stick down a little bit, they kind of dangle. 157 00:07:04,060 --> 00:07:04,820 They're really cute. 158 00:07:05,080 --> 00:07:07,060 But they're also Bluetooth. 159 00:07:07,600 --> 00:07:10,900 And Bluetooth is very difficult to track, sort of. 160 00:07:11,980 --> 00:07:13,220 Talk about the different hardware. 161 00:07:13,380 --> 00:07:14,340 Was very difficult to track. 162 00:07:14,360 --> 00:07:15,080 Talk about different hardware. 163 00:07:16,700 --> 00:07:17,580 Yeah, cool. 164 00:07:18,900 --> 00:07:20,280 So Bluetooth is great. 165 00:07:20,800 --> 00:07:22,360 Again, comparing it to Wi-Fi. 166 00:07:22,500 --> 00:07:24,340 With Wi-Fi, you just take a card. 167 00:07:24,340 --> 00:07:26,380 And you get a good driver. 168 00:07:26,640 --> 00:07:28,240 And then you flip it in monitor mode. 169 00:07:28,360 --> 00:07:29,200 And you monitor everything. 170 00:07:29,600 --> 00:07:32,080 And it gives you full packet headers that are unencrypted all the time. 171 00:07:32,160 --> 00:07:32,680 And that's awesome. 172 00:07:33,620 --> 00:07:36,820 The target price for a Bluetooth radio is $0.05. 173 00:07:37,660 --> 00:07:40,700 And because of that, they're very, very, very minimal. 174 00:07:40,920 --> 00:07:41,920 They're very low power. 175 00:07:42,020 --> 00:07:42,600 They're very weak. 176 00:07:42,720 --> 00:07:43,340 They're very crappy. 177 00:07:43,520 --> 00:07:46,120 And things like monitor mode just basically don't exist. 178 00:07:46,740 --> 00:07:49,700 So you end up getting a Bluetooth sniffer. 179 00:07:50,300 --> 00:07:54,180 In this case, this is an Ubertooth 1 from Great Scott Gadgets. 180 00:07:54,180 --> 00:07:54,320 It's a Bluetooth speaker. 181 00:07:54,340 --> 00:07:57,020 It's a great little device for finding classic mode devices. 182 00:07:57,180 --> 00:08:01,540 And a whole bunch of Bluetooth low energy stuff in the latest release has been vastly improved. 183 00:08:02,040 --> 00:08:05,420 So these are really great for monitor mode. 184 00:08:05,660 --> 00:08:09,220 But as it turns out, they're not Bluetooth dongles at all. 185 00:08:09,380 --> 00:08:13,700 They don't actually support using them as regular Bluetooth devices. 186 00:08:14,140 --> 00:08:18,280 So to interact with a Bluetooth device, you still need a Bluetooth device. 187 00:08:18,560 --> 00:08:21,220 So if you want to poll something and say, what's your name? 188 00:08:21,280 --> 00:08:22,620 Or tell me about yourself. 189 00:08:22,720 --> 00:08:24,180 What firmware revision are you? 190 00:08:24,340 --> 00:08:26,160 You still need a real Bluetooth dongle. 191 00:08:26,320 --> 00:08:35,020 So Blue Hydra specifically pairs these two things together to find the most devices and to extract the most information from those devices. 192 00:08:35,360 --> 00:08:37,000 How much do those two devices cost? 193 00:08:37,360 --> 00:08:37,460 Yeah. 194 00:08:37,500 --> 00:08:42,820 So this not being $0.05 like the one built into most laptops, this is a Sena UD100. 195 00:08:43,000 --> 00:08:46,160 And these are about $50 or $60 depending on where you buy them. 196 00:08:47,160 --> 00:08:50,220 The Ubertooth 1s I think are like $100 or something. 197 00:08:50,380 --> 00:08:52,840 Yeah, something in that general vicinity, $100, $120. 198 00:08:52,840 --> 00:08:56,320 These are definitely available in the vendor area. 199 00:08:56,440 --> 00:08:57,540 I have no idea if the Senas are. 200 00:08:57,760 --> 00:08:59,580 But these are really decent devices. 201 00:08:59,940 --> 00:09:02,060 And again, they're like $100-ish. 202 00:09:02,460 --> 00:09:03,680 But that's expensive. 203 00:09:04,000 --> 00:09:04,420 Yes. 204 00:09:04,460 --> 00:09:08,100 And not everybody has a budget for $100 pieces of equipment that sit on your shelf. 205 00:09:08,480 --> 00:09:11,360 So again, real quick, for those that have it, Blue Hydra. 206 00:09:11,460 --> 00:09:16,680 You type in Blue Hydra into Pentoo or another device that you have added Blue Hydra onto. 207 00:09:16,860 --> 00:09:18,680 Which I think there's good instructions for Kali. 208 00:09:18,820 --> 00:09:19,980 Yeah, there are. 209 00:09:19,980 --> 00:09:22,780 There are good install instructions for Kali because the developer is a nice guy. 210 00:09:23,080 --> 00:09:24,760 And it breaks it down for you. 211 00:09:24,820 --> 00:09:29,640 So it gives you Classic, it gives you Classic 4.0, Bluetooth Low Energy and Low Energy 4.1. 212 00:09:29,760 --> 00:09:34,380 It gives you the ability to see the difference between the types of radios that you're dealing with. 213 00:09:34,800 --> 00:09:35,580 Blue Hydra is cool. 214 00:09:35,700 --> 00:09:38,420 And it's cool enough that we're going to say, hey, let's show you guys. 215 00:09:38,660 --> 00:09:43,780 So those of you who haven't seen Blue Hydra yet, I love live demos because they always fail. 216 00:09:57,100 --> 00:09:58,140 Yeah, speaker sucks. 217 00:09:58,400 --> 00:09:59,160 Get them out of the way. 218 00:09:59,660 --> 00:10:00,780 This is always fun too. 219 00:10:00,920 --> 00:10:01,160 Let's see. 220 00:10:04,160 --> 00:10:11,540 Did I type it right? 221 00:10:11,720 --> 00:10:12,000 Yay. 222 00:10:12,300 --> 00:10:12,660 Okay. 223 00:10:12,760 --> 00:10:14,200 So there's that screen you just saw. 224 00:10:14,340 --> 00:10:15,560 They give you a really nice output. 225 00:10:15,920 --> 00:10:16,640 Here's how it works. 226 00:10:16,700 --> 00:10:17,260 Here's what it does. 227 00:10:17,360 --> 00:10:18,700 Here's what's important about it. 228 00:10:19,160 --> 00:10:20,160 And you run it. 229 00:10:20,380 --> 00:10:24,760 And when you run it, it starts to enumerate all of the Bluetooth that you're going to see. 230 00:10:25,020 --> 00:10:26,000 It also gives names. 231 00:10:26,080 --> 00:10:27,420 Anybody see their device up there? 232 00:10:28,060 --> 00:10:28,780 Don't be embarrassed. 233 00:10:28,900 --> 00:10:29,420 They're all up there. 234 00:10:29,620 --> 00:10:30,140 It's okay. 235 00:10:30,280 --> 00:10:31,060 It really is. 236 00:10:31,160 --> 00:10:31,360 Yeah. 237 00:10:31,700 --> 00:10:32,740 And it just shows you. 238 00:10:32,840 --> 00:10:37,240 Now, what's really cool, if we watch this for a second or two, and I'm trying to see it from here. 239 00:10:37,900 --> 00:10:40,900 When an Apple device shows up, it actually enumerates the host name. 240 00:10:45,560 --> 00:10:47,600 It gives us a little bit of a distance vector. 241 00:10:47,720 --> 00:10:49,660 It gives us a little bit of a power vector. 242 00:10:50,120 --> 00:10:51,340 Rick, why don't you explain RSSI? 243 00:10:53,720 --> 00:10:55,220 Received signal strength indicator? 244 00:10:55,720 --> 00:10:56,340 Yes, that one. 245 00:10:56,520 --> 00:11:01,380 This is actually more like signal level kind of, yeah. 246 00:11:01,780 --> 00:11:05,860 So this is basically telling you about how far away something is based on the signal strength. 247 00:11:06,080 --> 00:11:12,460 So the signal strength is a typically negative number, which is going to tell you how strong it is coming in. 248 00:11:12,560 --> 00:11:15,040 So negative 100 being really, really weak. 249 00:11:15,040 --> 00:11:17,280 Negative 40 being pretty decent. 250 00:11:17,620 --> 00:11:19,200 And everywhere in between. 251 00:11:19,300 --> 00:11:24,060 Negative numbers work exactly the way they should when you learn them in, like, second grade math class. 252 00:11:24,340 --> 00:11:25,880 So negative 40 is good. 253 00:11:25,960 --> 00:11:26,940 Negative 100 is bad. 254 00:11:27,660 --> 00:11:28,480 It's not hard. 255 00:11:28,740 --> 00:11:29,360 All right. 256 00:11:29,400 --> 00:11:31,120 So we've got some capabilities here. 257 00:11:31,220 --> 00:11:31,920 We have some enumeration. 258 00:11:32,120 --> 00:11:33,160 We have the ability to see things. 259 00:11:33,560 --> 00:11:36,040 Problem is, I'm wearing a Bluetooth device. 260 00:11:36,400 --> 00:11:37,120 Apple Watch. 261 00:11:37,620 --> 00:11:41,880 Happens to be one of the least talkative devices that exist out there. 262 00:11:42,060 --> 00:11:45,020 So when I hold this near where the Bluetooth is, it's not working. 263 00:11:45,040 --> 00:11:45,520 It's not popping up. 264 00:11:45,600 --> 00:11:46,800 It's not showing you anything on the screen. 265 00:11:47,380 --> 00:11:49,680 So I was, let's see if this works. 266 00:11:50,020 --> 00:11:50,740 Yay, it worked. 267 00:11:52,300 --> 00:11:56,680 So Blue Hydra with the Fox, we have the ability to speed that system up a little bit. 268 00:11:56,880 --> 00:12:05,280 So those of you that are playing, Blue Hydra, tac, tac, no info, no tac info, gives you the ability to see things with a much faster refresh rate. 269 00:12:05,420 --> 00:12:09,120 That faster refresh rate gives you better fidelity on the targets you're looking for. 270 00:12:09,320 --> 00:12:14,760 It also gives you better signal-to-noise ratio in terms of what you see on the screen versus what you're seeing on the screen. 271 00:12:14,760 --> 00:12:15,020 It also gives you better signal-to-noise ratio in terms of what you see on the screen versus what you're seeing on the screen. 272 00:12:15,040 --> 00:12:15,640 What you're in bounds of. 273 00:12:15,780 --> 00:12:19,100 In most cases, it's 300 seconds timeout. 274 00:12:19,840 --> 00:12:25,260 In most cases the problem is that it goes and it takes time out to interrogate each device that it sees. 275 00:12:25,680 --> 00:12:28,220 So let's say you're running through the casino chasing people. 276 00:12:28,500 --> 00:12:37,220 You're going to pick up a bunch of devices, be nowhere near them, and then try to info scan all of them, which takes huge amounts of time out of your discovery window. 277 00:12:37,560 --> 00:12:42,520 So no info just says, don't info scan anybody, just keep discovering all the time. 278 00:12:42,680 --> 00:12:43,960 Gives you much better fidelity. 279 00:12:44,240 --> 00:12:44,840 So we do that. 280 00:12:51,100 --> 00:12:52,520 Can I type blind? 281 00:12:53,760 --> 00:12:54,240 Maybe? 282 00:12:54,620 --> 00:12:55,100 Yes! 283 00:12:57,920 --> 00:12:59,600 Much, much, much faster scanning. 284 00:12:59,920 --> 00:13:02,380 They stay green longer because they've been seen sooner, 285 00:13:02,460 --> 00:13:03,760 and it keeps rolling through. 286 00:13:04,060 --> 00:13:05,220 Now, as you watch through this, 287 00:13:05,340 --> 00:13:07,840 this is literally the Bluetooth devices that are in this area 288 00:13:07,840 --> 00:13:11,860 that this internal radio inside my laptop is looking for. 289 00:13:12,140 --> 00:13:13,320 Not using the UD100, 290 00:13:13,320 --> 00:13:16,060 not using the Ubertooth, 291 00:13:16,200 --> 00:13:17,660 which, by the way, is an amazing tool. 292 00:13:17,780 --> 00:13:18,780 It does give you better fidelity. 293 00:13:19,040 --> 00:13:23,040 But I can do all this sitting down with my laptop, nothing else. 294 00:13:23,420 --> 00:13:26,680 This is the crappy XPS 13 that Rick was talking about 295 00:13:26,680 --> 00:13:28,980 with the Qualcomm chip burned into it. 296 00:13:29,120 --> 00:13:32,600 This is the internal radio on a regular Dell XPS. 297 00:13:32,880 --> 00:13:35,340 So it's not giving you amazing performance, 298 00:13:35,700 --> 00:13:37,800 but it is giving you some really interesting information. 299 00:13:38,800 --> 00:13:41,580 Now, occasionally, if you watch this range, 300 00:13:41,700 --> 00:13:42,620 and I saw one come through, 301 00:13:42,620 --> 00:13:43,580 so maybe it'll come back again, 302 00:13:43,920 --> 00:13:46,020 it's going to give range of a device 303 00:13:46,020 --> 00:13:48,320 based on how far it thinks it is 304 00:13:48,320 --> 00:13:50,640 based on a predefined OUI. 305 00:13:52,020 --> 00:13:53,700 Brilliance on developer's part, 306 00:13:53,980 --> 00:13:55,100 Rick in Grimlock? 307 00:13:56,540 --> 00:13:57,020 Ranolox. 308 00:13:57,340 --> 00:13:57,680 Whatever. 309 00:13:58,040 --> 00:13:58,800 Weird name. 310 00:13:59,200 --> 00:13:59,680 Noob. 311 00:14:00,420 --> 00:14:01,220 Anyway, there you go. 312 00:14:01,280 --> 00:14:03,560 0.89 meters, 15.85 meters. 313 00:14:03,800 --> 00:14:06,280 Who is Blue Iniga? 314 00:14:07,920 --> 00:14:08,940 That's not the name, is it? 315 00:14:08,960 --> 00:14:09,340 Blue Giga. 316 00:14:09,380 --> 00:14:11,360 That's the test flag. 317 00:14:11,720 --> 00:14:12,540 Oh, that's wonderful. 318 00:14:12,620 --> 00:14:14,340 And the Amacor is one of ours, too, 319 00:14:14,380 --> 00:14:15,420 and it's 15 meters away. 320 00:14:15,700 --> 00:14:17,060 See, Eric, raise your hand. 321 00:14:17,880 --> 00:14:19,540 15.85 meters, wow. 322 00:14:19,740 --> 00:14:20,940 It's sitting where Eric's sitting. 323 00:14:21,240 --> 00:14:22,420 That's about 45 feet. 324 00:14:22,620 --> 00:14:22,980 Yeah. 325 00:14:23,020 --> 00:14:23,640 Eh, give or take. 326 00:14:23,860 --> 00:14:24,540 Not too bad. 327 00:14:24,640 --> 00:14:26,360 So it does a really good job of that. 328 00:14:26,440 --> 00:14:29,740 Now, this is helpful, but it's not quick fidelity. 329 00:14:30,100 --> 00:14:32,200 It's not, I want to track you. 330 00:14:32,320 --> 00:14:33,060 I want to track you. 331 00:14:33,340 --> 00:14:35,600 This gives us the ability to just kind of see things. 332 00:14:36,840 --> 00:14:38,280 Let me kill that first. 333 00:14:40,520 --> 00:14:41,960 That'll screw it up for the next time. 334 00:14:42,620 --> 00:14:48,240 We do have the ability with that to, eh, woo-hoo, hox mode. 335 00:14:49,280 --> 00:14:50,040 Are you there yet? 336 00:14:50,540 --> 00:14:51,480 Find your hox mode. 337 00:14:51,620 --> 00:14:52,440 Oh, there we go. 338 00:14:54,700 --> 00:14:56,240 Change your own damn slides. 339 00:14:58,280 --> 00:14:58,980 There you go. 340 00:14:59,100 --> 00:14:59,460 There you go. 341 00:14:59,580 --> 00:15:00,520 So, filters. 342 00:15:00,980 --> 00:15:03,220 All right, so, neat idea. 343 00:15:04,140 --> 00:15:08,980 Yeah, we started running Blue Hydra in Wireless Village Capture the Flag, 344 00:15:09,180 --> 00:15:11,240 and the real problem is, 345 00:15:11,240 --> 00:15:14,200 is most people were actually building, like, little Raspberry Pis 346 00:15:14,200 --> 00:15:16,640 with, like, five-inch screens and battery packs, 347 00:15:16,920 --> 00:15:21,500 and nine lines of text or ten lines of text on their display. 348 00:15:21,560 --> 00:15:22,680 Otherwise, it was unreadable. 349 00:15:22,800 --> 00:15:27,800 And we realized that it sees an enormous number of devices 350 00:15:27,800 --> 00:15:30,840 because everyone turns on their Bluetooth and nobody turns it off, 351 00:15:30,880 --> 00:15:32,340 and thanks, Apple. 352 00:15:34,000 --> 00:15:37,720 So, when you're trying to track a specific device, it became nearly worthless. 353 00:15:38,080 --> 00:15:40,840 So, I added in the filtering ability. 354 00:15:41,240 --> 00:15:44,060 So, that you could, just on the UI side, filter out. 355 00:15:44,140 --> 00:15:45,540 So, it's still tracking everything in the background. 356 00:15:45,660 --> 00:15:47,160 But you could say, I want to filter for this device. 357 00:15:47,480 --> 00:15:48,640 It has a couple of modes. 358 00:15:48,700 --> 00:15:51,240 One mode is called Highlight, where it'll just highlight it on the screen. 359 00:15:51,480 --> 00:15:55,700 The other mode is called Exclusive, where it's only going to show you the things that you're filtering for. 360 00:15:56,420 --> 00:15:58,480 There's an example of filtering my MAC address here. 361 00:15:58,740 --> 00:16:02,640 There's an example of filtering for proximity, UUID, major and minor number, 362 00:16:02,780 --> 00:16:05,800 which are Bluetooth low energy, iBeacon. 363 00:16:05,860 --> 00:16:08,320 That would be helpful for the hide-and-seek, I think. 364 00:16:08,380 --> 00:16:09,380 For the Bluetooth hide-and-seek. 365 00:16:09,380 --> 00:16:11,220 That might be helpful for the hard hide-and-seek. 366 00:16:11,220 --> 00:16:11,800 The hard hide-and-seek, especially. 367 00:16:11,960 --> 00:16:14,000 The hard hide-and-seek that hasn't been found yet? 368 00:16:14,220 --> 00:16:16,200 That's correct, yes, the one that hasn't been found yet. 369 00:16:16,300 --> 00:16:16,860 Okay, just checking. 370 00:16:17,000 --> 00:16:19,980 So, those features, yes, probably a lot of points, too. 371 00:16:20,360 --> 00:16:23,760 Those features were built specifically for fox hunting and finding things. 372 00:16:24,000 --> 00:16:26,020 Or, if you wanted to track. 373 00:16:26,360 --> 00:16:30,820 For example, I know every time my mother-in-law pulls into the driveway, 374 00:16:31,440 --> 00:16:35,740 because I've got a little screen running Blue Hydra, and she's set in the filter list. 375 00:16:35,960 --> 00:16:38,800 And before she knocks on the door, I know that I'm not home. 376 00:16:41,220 --> 00:16:43,460 All right, so, now you have the back story. 377 00:16:44,340 --> 00:16:48,060 So, I was driving down the road, because my kids swim, and I drive down the road a lot. 378 00:16:49,200 --> 00:16:50,640 He's a nice car, though, so it's okay. 379 00:16:50,740 --> 00:16:54,380 Yeah, and I was thinking of things, and, you know, as you do when you're driving down the road. 380 00:16:55,100 --> 00:16:59,260 And I called Rick, and I said, hey, listen, I'm going to train some folks that need to find people. 381 00:16:59,960 --> 00:17:03,840 And they're going to track things, and they're going to do things, and it's really, really neat, blah, blah, blah. 382 00:17:04,660 --> 00:17:11,200 What if we were able to say, hmm, track a Bluetooth device that was not accurate, 383 00:17:11,220 --> 00:17:13,280 that was just sitting in somebody's pocket? 384 00:17:14,320 --> 00:17:17,600 That's like crazy talk, because, you know, if Bluetooth isn't connecting, it's not beaking. 385 00:17:17,720 --> 00:17:18,940 It's not trying to talk to anybody. 386 00:17:19,340 --> 00:17:20,280 It's not being loud. 387 00:17:20,440 --> 00:17:21,700 It's just sitting there on the device. 388 00:17:22,280 --> 00:17:25,400 Most people are pretty okay with their Bluetooth device in their pocket. 389 00:17:25,580 --> 00:17:27,900 Who turns Bluetooth off when they leave their house? 390 00:17:29,820 --> 00:17:30,400 For real? 391 00:17:30,480 --> 00:17:32,480 Every time you leave your house, you turn Bluetooth off. 392 00:17:32,720 --> 00:17:33,400 No, no, hold on. 393 00:17:33,480 --> 00:17:33,620 Wait. 394 00:17:33,700 --> 00:17:34,700 Ask this question in reverse. 395 00:17:34,920 --> 00:17:37,140 What the hell do you use Bluetooth for at your house? 396 00:17:39,300 --> 00:17:39,680 Seriously. 397 00:17:39,940 --> 00:17:41,200 I mean, I use my hands. 398 00:17:41,220 --> 00:17:43,700 I use my headset when I'm on the road, not when I'm sitting at my desk. 399 00:17:44,020 --> 00:17:48,300 I use my watch that I don't miss phone calls when I'm, like, out and about doing things like this. 400 00:17:48,340 --> 00:17:49,680 Going to be like, oh, that one's not important. 401 00:17:49,960 --> 00:17:52,320 Like, what do you use Bluetooth for at home? 402 00:17:53,400 --> 00:17:53,880 No one. 403 00:17:53,920 --> 00:17:54,400 Okay, cool. 404 00:17:54,460 --> 00:17:54,920 That's what I thought. 405 00:17:55,960 --> 00:17:56,280 Speakers. 406 00:17:56,500 --> 00:17:56,820 Speakers. 407 00:17:57,140 --> 00:17:58,620 Get wired speakers at home. 408 00:17:58,620 --> 00:17:59,120 They sound better. 409 00:17:59,120 --> 00:18:00,120 You don't bring the speakers with you? 410 00:18:00,240 --> 00:18:00,700 Oh, man. 411 00:18:01,100 --> 00:18:01,520 All right. 412 00:18:01,600 --> 00:18:03,420 So I'm driving down the road, and I said, hey, can we do this? 413 00:18:03,540 --> 00:18:04,100 He goes, nope. 414 00:18:04,440 --> 00:18:04,760 Yup. 415 00:18:04,980 --> 00:18:06,040 Well, halt. 416 00:18:06,500 --> 00:18:07,520 It was a weird conversation. 417 00:18:07,560 --> 00:18:09,680 It was a whole lot of us both saying, like, one word. 418 00:18:10,000 --> 00:18:10,320 Maybe. 419 00:18:11,800 --> 00:18:12,200 Why? 420 00:18:12,480 --> 00:18:15,400 So there's this thing called Layer 2. 421 00:18:15,880 --> 00:18:18,380 Layer 2 is an interesting protocol set. 422 00:18:18,580 --> 00:18:18,940 Go ahead. 423 00:18:19,740 --> 00:18:21,460 Layer 2 is all I'm good at. 424 00:18:22,220 --> 00:18:23,460 Definitely read my code. 425 00:18:23,600 --> 00:18:24,900 You'll know that I'm telling the truth. 426 00:18:25,240 --> 00:18:26,300 I can't do that. 427 00:18:26,540 --> 00:18:27,800 But Layer 2, I understand. 428 00:18:28,000 --> 00:18:29,960 So Bluetooth is a really fabulous spec. 429 00:18:32,060 --> 00:18:33,900 Yeah, Layer 2 is really, really open. 430 00:18:34,020 --> 00:18:40,540 So there's this thing called an L2 ping, which is basically like ARP ping would be, which is, you know, here's a MAC address. 431 00:18:41,220 --> 00:18:46,480 Ping it, and it just responds to anybody all the time, no matter what. 432 00:18:47,660 --> 00:18:54,380 So once you know somebody's Bluetooth MAC address, you can just kind of ping it, and they will respond to you all the time. 433 00:18:54,540 --> 00:18:58,040 Or ping flood them and slowly drain their battery. 434 00:18:58,780 --> 00:19:03,120 So the very last line on this, BD address, BD underscore adder. 435 00:19:03,740 --> 00:19:05,560 L2 ping is on most of your Linux boxes. 436 00:19:05,760 --> 00:19:06,840 You can run L2 ping. 437 00:19:06,920 --> 00:19:07,520 You can ping things. 438 00:19:07,740 --> 00:19:08,320 Okay, neat. 439 00:19:08,400 --> 00:19:09,420 So now we can ping something. 440 00:19:09,420 --> 00:19:09,980 Cool. 441 00:19:10,520 --> 00:19:11,120 Big deal. 442 00:19:11,440 --> 00:19:14,100 So we decided to use Layer 2 to our advantage. 443 00:19:14,280 --> 00:19:16,200 And I said, Rick, you can do something with this. 444 00:19:16,400 --> 00:19:18,300 And about an hour and a half later, he called me back. 445 00:19:18,780 --> 00:19:19,180 Yeah. 446 00:19:19,300 --> 00:19:22,600 So Bluetooth is special in a lot of ways. 447 00:19:23,000 --> 00:19:28,180 The MAC address method, the MAC address issues I was talking about earlier come into full force here. 448 00:19:28,380 --> 00:19:32,340 If you're sniffing and you catch a Bluetooth address, you only get the last three octets. 449 00:19:34,580 --> 00:19:39,400 Ubertooth tools have the ability to discover the four, I don't know, three octets. 450 00:19:39,400 --> 00:19:42,700 So the Bluetooth address is divided up into three sections. 451 00:19:43,060 --> 00:19:47,760 Network address part, which is the first two, which are used for crypto exclusively. 452 00:19:48,640 --> 00:19:51,940 Then there's the upper address part, which is one octet. 453 00:19:52,040 --> 00:19:55,300 And then there's the last three octets, which is called the lower address part. 454 00:19:55,500 --> 00:19:57,180 The lower address part is what you get for free. 455 00:19:57,820 --> 00:20:01,140 Ubertooth tools actually can recover if there's a decent amount of data. 456 00:20:01,200 --> 00:20:02,200 The upper address part. 457 00:20:02,420 --> 00:20:05,480 What's really cool is that is all the device cares about. 458 00:20:05,940 --> 00:20:07,400 You can ping ZZZZ. 459 00:20:08,280 --> 00:20:09,260 Correct MAC address. 460 00:20:09,260 --> 00:20:10,180 And it will respond. 461 00:20:10,500 --> 00:20:12,180 You can ping FFFF. 462 00:20:12,340 --> 00:20:13,040 Correct MAC address. 463 00:20:13,180 --> 00:20:13,660 And it will respond. 464 00:20:13,940 --> 00:20:16,700 It does not care at all about those first two. 465 00:20:16,860 --> 00:20:19,960 They are not used in any communications that aren't encrypted. 466 00:20:20,440 --> 00:20:22,520 L2 pings being completely unencrypted. 467 00:20:22,780 --> 00:20:29,480 So with the Ubertooth or with device that is once in discoverable mode that we have caught and captured that MAC address, 468 00:20:29,680 --> 00:20:35,200 we have enough of the MAC address to ping you forever and we'll be able to tell if you come back in range. 469 00:20:35,600 --> 00:20:39,080 The most fun part of that is I can say something silly like, 470 00:20:39,080 --> 00:20:41,200 do you know what your Bluetooth MAC address is? 471 00:20:41,360 --> 00:20:44,840 And half the people here in the next hour are going to look at their phone and try to figure that out. 472 00:20:44,980 --> 00:20:48,420 And when you open up the Bluetooth menu, you're discoverable that whole time. 473 00:20:48,800 --> 00:20:51,980 You know, because what would you do if you couldn't get a device to pair? 474 00:20:52,080 --> 00:20:53,300 You'd open the Bluetooth settings. 475 00:20:53,480 --> 00:20:56,260 So it's going to automatically set it to discoverable mode for you. 476 00:20:56,780 --> 00:21:01,980 Or maybe you're just going to reboot your phone because it's like Windows 95 and reboots fix everything. 477 00:21:02,400 --> 00:21:05,240 Well, that turns your Bluetooth into discoverable mode as well. 478 00:21:05,700 --> 00:21:08,820 What about when you're on the airplane and you turn it off because, well, 479 00:21:08,820 --> 00:21:11,480 I guess you're living two years ago when they told you you had to turn it off. 480 00:21:11,660 --> 00:21:16,080 But when you turn it back on, you're in discoverable mode again because, you know, 481 00:21:16,460 --> 00:21:17,440 that's when things pair. 482 00:21:17,680 --> 00:21:21,240 So obviously you need to be in discoverable mode because you turned on your Bluetooth. 483 00:21:21,660 --> 00:21:24,000 So it's pretty easy to capture it once you capture it. 484 00:21:24,020 --> 00:21:25,640 Oh, my God, don't touch that. Thank you. 485 00:21:27,620 --> 00:21:30,120 It was humming really bad. You didn't hear that? You're old. 486 00:21:31,260 --> 00:21:34,180 All right. So, again, I'm driving down the road, get to where I'm going. 487 00:21:34,220 --> 00:21:36,040 He calls me up. He goes, hey, try this. 488 00:21:36,300 --> 00:21:37,520 So I said, huh, okay. 489 00:21:37,520 --> 00:21:40,700 I'll try the code you just sent me just blindly because that's fun. 490 00:21:41,940 --> 00:21:45,720 So we have the old version of Bluetooth. 491 00:21:47,200 --> 00:21:50,620 This is pinging a watch that happens to be on my wrist. 492 00:21:51,040 --> 00:21:54,260 So if I put it close, you notice if you look really, really, really closely, 493 00:21:54,400 --> 00:21:55,740 the RSSI return value is zero. 494 00:21:57,000 --> 00:21:58,560 Yeah. It's not on the screen. 495 00:21:58,700 --> 00:21:59,740 It's on my screen. I can see. 496 00:22:00,420 --> 00:22:02,300 You can't see his screen? Come on. 497 00:22:02,300 --> 00:22:03,660 Come up here. That's even funnier. 498 00:22:05,180 --> 00:22:06,200 Where's my damn mouse? 499 00:22:06,200 --> 00:22:08,000 Sorry. It's his first time presenting. 500 00:22:08,140 --> 00:22:08,720 It is. 501 00:22:10,000 --> 00:22:10,780 This hour. 502 00:22:12,140 --> 00:22:14,080 There we go. All right. Cool. 503 00:22:14,260 --> 00:22:17,580 So see that RSSI return value? It's like zero. 504 00:22:18,460 --> 00:22:22,980 Now it's like 7, 10, 21 as it's moving away. 505 00:22:23,300 --> 00:22:25,920 Okay. We are now tracking a non-beaconing device. 506 00:22:26,880 --> 00:22:32,080 But that view sucks and it's really slow and we don't really like it. 507 00:22:32,240 --> 00:22:33,700 But I wrote it in like 20 minutes. 508 00:22:34,840 --> 00:22:35,780 Which isn't bad. 509 00:22:36,200 --> 00:22:37,340 But, you know, it could be better. 510 00:22:38,220 --> 00:22:38,900 Proved it worked. 511 00:22:39,180 --> 00:22:41,740 So it was tough to read. 512 00:22:42,040 --> 00:22:43,040 It was hard to track. 513 00:22:43,420 --> 00:22:45,840 So therefore I said, hey, let's do some other shit. 514 00:22:46,220 --> 00:22:48,700 Russ jumped in and said, hey, what if you do this? 515 00:22:48,960 --> 00:22:49,760 I get this. 516 00:22:49,820 --> 00:22:51,680 Hey, call me back in 20 minutes. 517 00:22:51,940 --> 00:22:52,340 Cool. 518 00:22:55,080 --> 00:22:55,480 So. 519 00:22:56,060 --> 00:22:56,820 Stop the one. 520 00:22:57,080 --> 00:22:57,300 Yeah. 521 00:22:59,360 --> 00:23:00,460 Mounting sideways sucks. 522 00:23:00,920 --> 00:23:01,320 Yeah. 523 00:23:03,820 --> 00:23:05,000 Mirrored screens are nice. 524 00:23:05,000 --> 00:23:05,860 They are. 525 00:23:06,140 --> 00:23:07,060 Should try it sometime. 526 00:23:07,420 --> 00:23:07,640 Should. 527 00:23:08,520 --> 00:23:09,160 All right. 528 00:23:09,220 --> 00:23:11,220 So in comes new version. 529 00:23:12,060 --> 00:23:12,960 Oh, look at that. 530 00:23:13,740 --> 00:23:14,260 Wee. 531 00:23:14,680 --> 00:23:15,640 Come back. 532 00:23:15,840 --> 00:23:16,560 Moves away. 533 00:23:17,120 --> 00:23:18,300 Red line gets bigger. 534 00:23:18,580 --> 00:23:19,720 Red line gets smaller. 535 00:23:20,460 --> 00:23:21,440 If I get rid of this one. 536 00:23:21,440 --> 00:23:22,420 Make the window full screen. 537 00:23:22,480 --> 00:23:22,820 I am. 538 00:23:23,140 --> 00:23:23,660 Yeah. 539 00:23:25,480 --> 00:23:26,300 Projector resolution. 540 00:23:26,640 --> 00:23:26,780 Woo. 541 00:23:28,340 --> 00:23:29,420 Let me get bigger. 542 00:23:29,600 --> 00:23:30,140 Close this. 543 00:23:30,480 --> 00:23:31,700 Does that say close somewhere? 544 00:23:32,820 --> 00:23:33,340 No. 545 00:23:34,240 --> 00:23:34,840 I am. 546 00:23:34,840 --> 00:23:35,640 I can't see upside down. 547 00:23:36,120 --> 00:23:37,200 I can close the window from here. 548 00:23:38,520 --> 00:23:39,180 There we go. 549 00:23:39,880 --> 00:23:40,240 Wee. 550 00:23:40,400 --> 00:23:40,720 There you go. 551 00:23:48,420 --> 00:23:49,080 There we go. 552 00:23:49,880 --> 00:23:52,180 So my watch is close to where my Bluetooth radio is. 553 00:23:52,900 --> 00:23:53,920 And when it moves away. 554 00:23:54,680 --> 00:23:55,840 And when it gets closer. 555 00:23:56,620 --> 00:23:57,440 It moves away. 556 00:23:57,540 --> 00:23:59,880 This is the peak of my graphical user development. 557 00:24:00,540 --> 00:24:02,320 I hope you all like this GUI. 558 00:24:03,340 --> 00:24:08,880 what we see with this is very important. And I would like to put Majestic 12 on the spot 559 00:24:09,420 --> 00:24:15,720 because they actually were the first to use this tool and in about, what, 3 or 4 hours, they 560 00:24:15,720 --> 00:24:25,640 found a completely standard Samsung Galaxy S, I don't know, 7 or something, not connected, not 561 00:24:25,640 --> 00:24:30,960 open, locked, sitting on a desk. Or was it on somebody? I don't even know where it was. What? 562 00:24:31,400 --> 00:24:37,080 It was at the info booth. Oh, there we go. So Movix didn't go very far. Good for him. They 563 00:24:37,080 --> 00:24:42,100 were able to track this in all of this space by bottlenecking and or doing whatever tactics they 564 00:24:42,100 --> 00:24:44,720 do because they're actually really good at fox hunting and we applaud them and they'll probably 565 00:24:44,720 --> 00:24:49,920 give a talk next year on it. But that being said, think about the possibilities of sitting 566 00:24:49,920 --> 00:24:55,220 outside of a parking lot, sitting outside of a building, sitting near a neighborhood and 567 00:24:55,220 --> 00:25:00,660 waiting for something or someone to come into play. Now, by saying something, this is a car's 568 00:25:00,660 --> 00:25:00,940 Bluetooth. This is a car's Bluetooth. This is a car's Bluetooth. This is a car's Bluetooth. 569 00:25:00,960 --> 00:25:03,840 This is a car's Bluetooth. This is a car's Bluetooth. This is a watch. This is a phone. This 570 00:25:03,840 --> 00:25:12,440 is roughly what we've been seeing roughly 15, 20 to 30 meters with internal radios. So completely 571 00:25:12,440 --> 00:25:16,800 not looking like a hacker with wires and antennas and all that crap. Literally the internal 572 00:25:16,800 --> 00:25:22,900 radio on these devices beaconing this information back to you. Now, how do you get the Mac address, 573 00:25:23,060 --> 00:25:28,260 you say? Huh, interesting. Was anybody here for Wasabi and Rick's talk earlier where they 574 00:25:28,260 --> 00:25:30,680 talked about enumeration, discovery and all that kind of fun stuff? 575 00:25:30,960 --> 00:25:36,660 Like the building blocks of what we actually do? I was here too. I listened, it was good. But 576 00:25:36,660 --> 00:25:40,660 when you do discovery, when do you do discovery? You do it in the morning, you do it at night, you do it 577 00:25:40,660 --> 00:25:44,880 at lunch, you do it at the coffee shop, you do it at the airplane, you do it at the train. All 578 00:25:44,880 --> 00:25:49,360 places where people are connecting and disconnecting from things and looking at their phones. Who 579 00:25:49,360 --> 00:25:55,700 rides a train occasionally? Subway or train? Do you ever see anybody's face? You see tops of their 580 00:25:55,700 --> 00:25:59,920 heads. They're on their phones, right? They're listening to headphones, they're on their phones. Most 581 00:25:59,920 --> 00:26:05,400 people nowadays, it's cool to not have wires coming out of their headphones. Well, because of that, at 582 00:26:05,400 --> 00:26:10,880 some point they have to pair. At some point they have to open things. I pick up so many things. The 583 00:26:10,880 --> 00:26:16,060 reason that I asked for this tool to exist, I was sitting in a coffee shop waiting for my wife to 584 00:26:16,060 --> 00:26:20,720 get finished doing something, you know, the owner of my company, so it was probably important. 585 00:26:20,980 --> 00:26:27,500 Your boss. Let's just go with your boss. My boss. There we go. And this guy walks in. Well, the 586 00:26:27,500 --> 00:26:29,900 guy happened to be the guy running for governor for the first time in a long time. And he was like, 587 00:26:29,920 --> 00:26:33,580 I'm going to be the governor for the state of Maryland. He happened to have a Tesla. How do I 588 00:26:33,580 --> 00:26:39,060 know this? Because he was beaconing blah blah's Tesla. He had a Bluetooth device that was called 589 00:26:39,060 --> 00:26:45,680 blah blah's iPhone and he had on that laptop with him that was called blah blah's Mac or blah 590 00:26:45,680 --> 00:26:51,300 blah's whatever. That being said, I went up to him and I said, sir, you realize I know who you are, 591 00:26:51,320 --> 00:26:55,580 where you are, when you are and why you are and what you're doing. And he looked at me kind of 592 00:26:55,580 --> 00:26:59,760 cock-eyed and I was like, here's this, here's this, here's this, and I'm guessing you're licensed 593 00:26:59,920 --> 00:27:04,560 place is this. And he goes, are you stalking me? I said, no. You just gave me all that 594 00:27:04,560 --> 00:27:08,680 information by walking into Starbucks. I happened to look outside. There were two Teslas in the 595 00:27:09,180 --> 00:27:14,860 parking lot. One happened to say blah blah for governor. Tough guess, right? And after all 596 00:27:14,860 --> 00:27:21,500 this, all he got was a button that says vote blah blah. I did. I got the button. And I didn't. 597 00:27:21,640 --> 00:27:28,980 But anyway, there's a real problem here, folks. And the real problem is the fact that all these 598 00:27:28,980 --> 00:27:29,900 devices are made for a government. They're made for a government. They're made for a government. 599 00:27:29,920 --> 00:27:32,100 They're made for our convenience. But they're all beaconing, they're all yelling, they're all 600 00:27:32,100 --> 00:27:38,220 screaming. For years, the wireless village, prior known as the Wi-Fi village, thank you, Mr. Kelly, 601 00:27:38,420 --> 00:27:43,540 in the back. By the way, John Kelly, raise your hand. John actually started this shit like a 602 00:27:43,540 --> 00:27:48,220 billion years ago and I took it from him because he got too lazy to run it anymore or too 603 00:27:48,220 --> 00:27:52,680 successful, I'm not sure which. Too smart. He was too smart to run it anymore. Too smart to run 604 00:27:52,680 --> 00:27:58,520 it anymore. But this all kind of started with him. So, you know, hey. Thanks. Thanks, John. 605 00:28:03,320 --> 00:28:08,200 He slowly backs out the door. But we were all worried about Wi-Fi. Turn off your Wi-Fi 606 00:28:08,200 --> 00:28:12,900 radios, turn off this. Turn off this. Well, I'm here to say, guys, if you have Bluetooth, it 607 00:28:12,900 --> 00:28:18,000 exists and we can find it. So, you're saying, hey, this sucks. I have to turn all my shit off. 608 00:28:18,480 --> 00:28:26,600 No, you don't. Because we're the wireless village and we care. So the defense against this and 609 00:28:26,600 --> 00:28:29,900 we're still working on it a little bit. But the defense against this is we're trying to keep it 610 00:28:29,900 --> 00:28:35,220 is to actually attack yourself with the same attack. If you've got enough devices pinging 611 00:28:35,220 --> 00:28:40,860 your device, it doesn't allow other devices to ping it. Now, I have some ideas why. 612 00:28:41,040 --> 00:28:45,020 I actually can explain this one now finally. Yes. Good. I've been waiting for this. 613 00:28:45,020 --> 00:28:49,720 So he posited this to me like three days ago and I'm like, fuck, I don't know. And yeah, 614 00:28:49,780 --> 00:28:55,360 turns out Android specifically I know has a default now where it can only connect to 615 00:28:55,360 --> 00:29:02,960 five devices at once. But you can change that default to only connect to four, three, two, 616 00:29:03,080 --> 00:29:09,700 or one. So if, for example, I'm the kind of idiot that has to have a watch and extra radios 617 00:29:09,700 --> 00:29:15,140 that connect via radio to me, I can set my phone to only connect to two Bluetooth devices 618 00:29:15,140 --> 00:29:19,460 at once and then as long as I turn off my Gotenna before I try to use my headset, I'm 619 00:29:19,460 --> 00:29:23,440 good to go and I'm completely immune to somebody pinging me to death. 620 00:29:24,460 --> 00:29:25,340 So yes. 621 00:29:25,340 --> 00:29:29,600 Okay. Thanks for adding that in Android 9, Google, or Alphabet Corp, or whoever you 622 00:29:29,600 --> 00:29:35,020 are now. But thank you. Again, this isn't an ideal situation, but neither is being able 623 00:29:35,020 --> 00:29:39,600 to be tracked. So if you've got clients that you don't want to be tracked, building a little 624 00:29:39,600 --> 00:29:44,620 Raspberry Pi set up, PiW even, that just runs a script when it boots that pings their 625 00:29:44,620 --> 00:29:49,080 phone with two or three terminals, one or two radios, you're actually doing okay to 626 00:29:49,080 --> 00:29:54,520 block against this. It's not ideal. But again, like I said, neither is this attack and neither 627 00:29:54,520 --> 00:29:55,280 is this tracking. 628 00:29:55,340 --> 00:30:00,540 You see how effective it is. It is within feet that you can get to someone if you're 629 00:30:00,540 --> 00:30:06,240 really looking hard. That's kind of creepy. Now, let's write security because, you know, 630 00:30:06,260 --> 00:30:10,600 we have to write slides. But let's talk real world here. Let's say you've got a target, 631 00:30:10,800 --> 00:30:15,920 pen test, you're an assassin, I don't care what you do, but you've got a target inside 632 00:30:15,920 --> 00:30:19,760 of a building. And you know that you don't know who that target is, but you know that 633 00:30:19,760 --> 00:30:24,260 they have a phone. And you get 15 or 20 phones. You've got a picture and that's all you got. 634 00:30:24,260 --> 00:30:29,000 Well, you wait until they come out. You wait for that to start pinging. You've got a, you 635 00:30:29,000 --> 00:30:32,780 know, four or five different people that may have come out at the same time to know who 636 00:30:32,780 --> 00:30:38,260 that is. You can then pick up additional digital information about these people. Law 637 00:30:38,260 --> 00:30:43,760 enforcement, military, counter surveillance, any type of security work. Who does security 638 00:30:44,160 --> 00:30:49,900 work in here? Which means you're probably protecting something. Or you're the adversary 639 00:30:49,900 --> 00:30:54,240 and you're attacking something. There's two sides to this story. We want to make sure 640 00:30:54,260 --> 00:30:57,480 we're covering both because, shit, we do both things. We're in the black world, we're in the 641 00:30:57,480 --> 00:31:02,000 white world, we're in both. But in doing so, we want to make sure everybody's well aware. This 642 00:31:02,000 --> 00:31:06,040 sucks. This really sucks. I was thrilled that he wrote it. But then when it started, it's 643 00:31:06,040 --> 00:31:10,140 like, shit. Now we've got to figure out a way to talk to people about how this works. So 644 00:31:10,140 --> 00:31:16,540 finding and tracking is a big deal. When it makes sense. You know, they already did it. These 645 00:31:16,540 --> 00:31:21,460 folks literally, we told them there was a tool called Blue Sonar. They used it. They found that 646 00:31:21,460 --> 00:31:24,240 phone relatively quickly. So tomorrow's the good news. 647 00:31:24,260 --> 00:31:27,040 You can go to GitHub and install it on Kali all by themselves, too. That was pretty 648 00:31:27,040 --> 00:31:32,380 impressive. Yeah. Now, plug, quick plug. It's already in Pentoo. If you download Pentoo, it's 649 00:31:32,380 --> 00:31:37,340 already there. You type sudo blue sonar. You've got it. All you need is the Mac address. Mac 650 00:31:37,340 --> 00:31:42,580 address is the harder thing. But we showed with Hydra and with other Bluetooth tools, you can get 651 00:31:42,580 --> 00:31:47,040 that data. Wireshark will get that data with Ubertooth beautifully with a socket. There's a lot 652 00:31:47,040 --> 00:31:52,400 of ways to get this data. But understand, you're very vulnerable to it. For the fox hunters out 653 00:31:52,400 --> 00:31:54,240 there, this is a really cool tool. You can get this data with a socket. You can get this data with 654 00:31:54,240 --> 00:31:56,580 a socket. This is a tool that could get you a lot of points this weekend. For those of you that 655 00:31:56,580 --> 00:32:02,320 are doing security, this is a tool that could go a long way at a minimum in showing the people 656 00:32:02,320 --> 00:32:06,060 that you're trying to protect, hey, turn your shit off if you don't need it. We've been 657 00:32:06,060 --> 00:32:10,220 talking about turning stuff off if you don't need it for years. Here's another good reason to 658 00:32:10,220 --> 00:32:19,680 show why. I want to do another plug. This is not even a pet project. This is some garbage BS 659 00:32:19,680 --> 00:32:24,220 that I wrote as a pock because Rick said, I wonder if this is possible. And I said, well, 660 00:32:24,220 --> 00:32:31,360 I'm pretty sure it is. Let's find out together. Try things. Try things and then put them up places 661 00:32:31,360 --> 00:32:36,520 for other people to try them and be entertained by it. I maintain that my code is good enough that a 662 00:32:36,520 --> 00:32:41,020 real coder can look at it and say, oh, is that what you wanted? And then they go in there, take 663 00:32:41,020 --> 00:32:45,200 the tool, and they rewrite it, and they make it way better than I ever could. But the point is this 664 00:32:45,800 --> 00:32:52,680 stuff's not hard. L2 ping is just built into Linux, and I've got a shitty shell script that's parsing 665 00:32:52,680 --> 00:32:53,760 the output from it. 666 00:32:53,760 --> 00:33:02,540 And polling for RSSI. Like, yay, threaded bash scripts. This is not impressive. This is not 667 00:33:02,540 --> 00:33:08,740 cool. The impressive part is that it actually worked. And it's kind of neat because nobody else 668 00:33:09,900 --> 00:33:15,280 wrote like 20 minutes worth of shell to do this particular thing before. And so it turns out to be 669 00:33:15,280 --> 00:33:22,340 really useful. But these are the kinds of things that you do for fun, and you check to see if it 670 00:33:22,340 --> 00:33:23,400 worked, and then it works. 671 00:33:23,760 --> 00:33:31,380 And then you talk about it on stage. But really, I want to stress just how silly this was. I mean, this 672 00:33:31,380 --> 00:33:36,600 was literally a phone call between him and I after my kids went to bed while he was driving home from 673 00:33:36,600 --> 00:33:41,960 swim meet. Like, this is, okay, I guess we're weird, but this is what we discuss when we're on the 674 00:33:41,960 --> 00:33:47,200 phone. And, you know, yeah, then I wrote 20 minutes of shell script and made the first version of 675 00:33:47,200 --> 00:33:53,560 this. So please, do things, try them, put them on GitHub even if you think they suck. My code, 676 00:33:53,760 --> 00:33:58,640 all sucks. Lots of it's on GitHub. Like, half, maybe more of those people are running a bunch of my 677 00:33:58,640 --> 00:34:04,440 code as root. I don't know why, but they are, and they all trust me. So you know. At least 678 00:34:04,440 --> 00:34:08,600 if you're on my distro, you trust me. But like, the guys installing my shit on Cali, I'm 679 00:34:08,600 --> 00:34:13,200 going to add a U name check in there next. I didn't say that. Anyway, thanks for coming. 680 00:34:13,200 --> 00:34:14,920 So if you have any questions. Yeah. 681 00:34:15,760 --> 00:34:16,120 . 682 00:34:18,060 --> 00:34:18,420 . 683 00:34:18,420 --> 00:34:18,660 . 684 00:34:23,760 --> 00:34:28,860 Android 9, the question was where is the setting to limit the number of Bluetooth devices. 685 00:34:29,260 --> 00:34:34,020 In Android 9 it is an option under developer settings, just regular developer settings, 686 00:34:34,180 --> 00:34:46,440 no like rooting or anything weird like that. Yeah. So the question is what about privacy 687 00:34:46,440 --> 00:34:50,680 when the MAC address is constantly changing? And the answer is what world do you live in? 688 00:34:52,720 --> 00:34:58,040 LE privacy extensions are a bitch and this is a classic mode tool where none of the MAC 689 00:34:58,040 --> 00:35:02,160 addresses ever change like that because the protocols don't support it. Bluetooth low 690 00:35:02,160 --> 00:35:08,520 energy for the most part also doesn't implement that yet. A lot of tools, headphones and things 691 00:35:08,520 --> 00:35:14,900 like that don't implement the MAC address privacy. Very, very, very few devices do. One 692 00:35:14,900 --> 00:35:19,020 of the exceptions being the Bluetooth low energy on Apple watches actually seems to 693 00:35:19,020 --> 00:35:19,600 implement it. 694 00:35:19,600 --> 00:35:24,920 And a couple of the marketing beacons that I've seen implement it. Basically so you can't 695 00:35:24,920 --> 00:35:28,960 spoof their marketing campaign which is like the coolest thing I've ever seen come out of a 696 00:35:28,960 --> 00:35:34,580 marketing product. Random MAC addresses four times a second. Not that we would be using anything 697 00:35:34,580 --> 00:35:42,320 like that for our challenges. But that being said, there are the prox UUID doesn't change. So 698 00:35:42,320 --> 00:35:46,420 in a lot of cases there are other things that are there. MAC address doesn't but other things 699 00:35:46,420 --> 00:35:49,580 don't. Blue Hydra implements all that and it pulls it all out for you. So that's the question. 700 00:35:49,600 --> 00:35:56,280 So even if it is changing hint, hint on the hide and seek Bluetooth you can find it by prox UUID. 701 00:36:06,020 --> 00:36:11,340 So the question is what are the packets. And the answer is it's a packet literally called L2 ping 702 00:36:11,340 --> 00:36:17,200 for Bluetooth. So it would be equivalent to an ARP ping if you're talking about like a TCP IP 703 00:36:17,200 --> 00:36:19,580 network. It's just a layer 2 ping and 704 00:36:19,600 --> 00:36:24,760 mac address to mac address. And that's all it does. It's just really, really simple. It 705 00:36:24,760 --> 00:36:29,140 literally creates an unencrypted connection between you and the device. It says yo and you 706 00:36:29,140 --> 00:36:34,380 say yo and I say cool, RSSI. And it's phenomenal security on Bluetooth because there's 707 00:36:34,380 --> 00:36:41,240 all kinds of Bluetooth IDSs and Bluetooth monitors and Bluetooth, you know, SIM. You've been 708 00:36:41,240 --> 00:36:48,640 drinking too much. I have. Yes? Oh, question. Sorry. Next question. Go ahead, Woody. 709 00:36:57,420 --> 00:37:02,960 Yeah. So the question is when you're using Blue Sonar, are you passive or active? Active. You 710 00:37:02,960 --> 00:37:09,240 are totally active. You are sending a ping. You are getting a response. Again, who here has a 711 00:37:09,240 --> 00:37:14,620 Bluetooth IDS? Yep. That's the number of hands that should go up. This is not something that's 712 00:37:14,620 --> 00:37:19,580 reported to you by the phone. If you remember, like, a million years ago when they were 713 00:37:19,580 --> 00:37:24,300 first started implementing, like, the really nasty harassment over Bluetooth in, like, football 714 00:37:24,300 --> 00:37:29,400 stadiums and stuff, you'd get, like, a pairing request. You don't get any of that. It's 715 00:37:29,400 --> 00:37:35,060 completely invisible to the user. It's an unencrypted connection, no pairing, and it just 716 00:37:35,060 --> 00:37:39,540 sends a ping back and forth and then disconnects or, in my case, I keep the connection open. 717 00:37:39,860 --> 00:37:45,560 But it's dead silent to the user, but it is absolutely being transmitted. And we haven't 718 00:37:45,560 --> 00:37:49,360 noticed a whole lot of battery degradation on it either unless you totally flood it. 719 00:37:49,580 --> 00:37:49,960 Second row. 720 00:37:50,280 --> 00:37:54,800 Are there legitimate devices that are using, like, a constant ping over Bluetooth? 721 00:37:55,220 --> 00:37:59,940 Are there legitimate devices that are using a constant ping over Bluetooth? Lacking a 722 00:37:59,940 --> 00:38:06,520 Bluetooth IDS system of my own, I legitimately have no idea. I don't think that makes any 723 00:38:06,520 --> 00:38:11,120 sense. I think that this is, you know, there are uses for this, but I don't think anything 724 00:38:11,120 --> 00:38:15,700 would be doing, like, a constant ping like I'm doing. So, yeah, like, three or four 725 00:38:15,700 --> 00:38:19,400 pings inside of a minute would probably be a dead giveaway for a tool. 726 00:38:19,580 --> 00:38:24,400 So, if anyone's writing a Bluetooth IDS, there's your first rule. First rule. 727 00:38:24,680 --> 00:38:28,340 How fast can you send those packets? Can you scan them? 728 00:38:29,540 --> 00:38:36,140 So, how fast can you send the packets is the question. I've got a, basically, a sleep in 729 00:38:36,140 --> 00:38:40,700 there to control, like, okay, I want to do four a second or I want to do one a second or 730 00:38:40,700 --> 00:38:46,380 whatever. L2 ping has a dash F flood ping option, which will send them really, really fast. 731 00:38:46,720 --> 00:38:49,300 There you go. The difference being, you know, if you're using a Bluetooth IDS system, if you're 732 00:38:49,300 --> 00:38:52,860 using a Bluetooth IDS system, that's going to hit one MAC address at a time. The MAC address 733 00:38:52,860 --> 00:38:59,040 space is huge. So, if you were to rewrite that tool to ping a different MAC address every 734 00:38:59,040 --> 00:39:03,440 time in flood mode, I, slow. Really slow. 735 00:39:13,000 --> 00:39:17,680 You could legitimately ping every address in the airspace. The problem is it would take years. 736 00:39:19,300 --> 00:39:23,360 There's actually a tool out there called Red Fang, I believe, that does brute forcing 737 00:39:23,360 --> 00:39:28,560 of Bluetooth MAC addresses, and the chances of finding one is approximately winning the 738 00:39:28,560 --> 00:39:28,800 lottery. 739 00:39:29,480 --> 00:39:29,960 Yeah. 740 00:39:30,020 --> 00:39:35,200 Yeah. Finding something with an uber tooth or whatnot is much more reliable. Much 741 00:39:35,200 --> 00:39:35,820 more reliable. 742 00:39:41,140 --> 00:39:44,320 It's four bytes that you have to find to successfully ping something. 743 00:39:44,960 --> 00:39:46,340 What if you know the . 744 00:39:47,160 --> 00:39:49,280 You know the . So, what if you know the . 745 00:39:49,300 --> 00:39:52,720 The manufacturer. So, trying to limit the space, the manufacturer is actually the part 746 00:39:52,720 --> 00:39:56,160 that's cut off and doesn't matter for the most part. So, limiting the address space 747 00:39:56,160 --> 00:40:00,720 is really, really hard. Yeah. It's definitely a tough thing. 748 00:40:00,920 --> 00:40:01,760 In the back. 749 00:40:02,300 --> 00:40:07,800 What does the specification say about L2 ping handling? Is it a plus, but should 750 00:40:07,800 --> 00:40:08,340 ? 751 00:40:09,160 --> 00:40:15,860 What does the specification say about L2 ping handling? I have no idea. We have tested 752 00:40:15,860 --> 00:40:19,280 this against any number of phones, watches, headsets. 753 00:40:19,280 --> 00:40:22,560 And the reliability seems extremely high. 754 00:40:23,600 --> 00:40:28,840 Some things do go to sleep after a while, having nothing to do with this. Like if it's 755 00:40:28,840 --> 00:40:33,260 a pair of cheap headphones or good headphones, sometimes they'll say, I'm not connected to 756 00:40:33,260 --> 00:40:37,420 a phone, and they'll kind of go into a really low power mode where they don't respond to 757 00:40:37,420 --> 00:40:38,060 these pings. 758 00:40:38,500 --> 00:40:41,020 iPhone 4s go to sleep in about 20 minutes. 759 00:40:41,320 --> 00:40:44,980 Yeah. By and large, they will respond, assuming they're responding to anything. 760 00:40:45,200 --> 00:40:47,960 And everything new stays up forever. 761 00:40:48,200 --> 00:40:48,580 Yeah. 762 00:40:49,720 --> 00:40:55,080 Have you used Blue Hydra with BLE what? 763 00:40:58,080 --> 00:40:59,140 With the Adafruit tool. 764 00:40:59,480 --> 00:41:01,760 Oh, with the Adafruit tool. No. No, I have not. 765 00:41:01,980 --> 00:41:04,240 And it wasn't really written to do that, was it? 766 00:41:04,440 --> 00:41:09,400 Well, so the Adafruit Bluetooth sniffer is a Bluetooth low energy sniffer similar to 767 00:41:09,400 --> 00:41:14,740 an Ubertooth one. I have an Ubertooth one, quite a few of them, honestly. And so I used 768 00:41:14,740 --> 00:41:19,260 what I had sitting at my desk. We also, I was developing it for a customer who wanted 769 00:41:19,280 --> 00:41:24,180 to use Ubertooth one, so that that's what I did. There's no reason that it couldn't 770 00:41:24,180 --> 00:41:29,920 be added to Blue Hydra to support an Adafruit tool. Right now, I'm actually not doing any 771 00:41:29,920 --> 00:41:36,820 passive Bluetooth low energy stuff at all in Blue Hydra, because BLE is pretty chatty 772 00:41:36,820 --> 00:41:43,400 to start with. I want to add that, but then I go and write 20 line shell scripts that 773 00:41:43,400 --> 00:41:47,560 turn into talks at DEF CON, so I'll get there, honest, or I will accept your pull request. 774 00:41:47,780 --> 00:41:48,660 One of those two. 775 00:41:48,660 --> 00:41:49,400 Yeah. 776 00:41:51,420 --> 00:41:51,920 Glasses. 777 00:41:52,720 --> 00:41:57,800 So you're saying that the low power, is that like Bluetooth LE, or is that something 778 00:41:57,800 --> 00:41:58,740 different with the low power? 779 00:42:00,080 --> 00:42:07,640 So Bluetooth low energy isn't, it's low power as in the CPU can power down for long 780 00:42:07,640 --> 00:42:12,040 periods of time, the radio can power down for long periods of time without, you know, 781 00:42:12,040 --> 00:42:16,460 breaking the connection or breaking whatever it's doing. The actual, like, transmit power 782 00:42:16,460 --> 00:42:18,400 is roughly the same. 783 00:42:18,660 --> 00:42:23,680 It's class 1, class 2, class 3. They're not like weaker, they're not shorter range. It's 784 00:42:23,680 --> 00:42:28,660 talking about the sleep cycles and the power down states that they're able to maintain, and that's 785 00:42:28,660 --> 00:42:32,900 what makes it Bluetooth smart, or Bluetooth low energy. 786 00:42:33,220 --> 00:42:33,620 I will tell you. 787 00:42:33,620 --> 00:42:34,500 Or just Bluetooth 4. 788 00:42:34,660 --> 00:42:38,600 The one thing that scares me a bit about Bluetooth, and I just threw this back up. If I 789 00:42:38,600 --> 00:42:39,860 get your BSS ID. 790 00:42:40,180 --> 00:42:41,640 This is the number of you that didn't turn off your Bluetooth. 791 00:42:41,760 --> 00:42:48,320 Yeah. If I get your wireless BSS ID, your MAC address, I have a MAC address. I know by OUI look 792 00:42:48,320 --> 00:42:54,180 up that it might be a Dell or an Apple or a, you know, Huawei. With this, I'm looking at you guys. 793 00:42:54,480 --> 00:42:59,780 I mean, I'm literally pulling your name, your phone, your Fitbit, your information. And 794 00:42:59,780 --> 00:43:03,840 unfortunately, I haven't found a way, and I'm sure there may be a way in the underlying 795 00:43:05,200 --> 00:43:09,640 capabilities, but watches, I have a Samsung S3, I've got the Apple watch, I've got a couple. 796 00:43:09,740 --> 00:43:15,040 You can't change the name. It's based on the user name of the account that you set it up with. 797 00:43:15,040 --> 00:43:21,020 So Rick's Apple watch comes up whenever Rick's Apple watch is around. And that bugs the crap out of 798 00:43:21,020 --> 00:43:26,080 me because of exactly this screen. This is a security conference. Now, granted, I don't think 799 00:43:26,080 --> 00:43:29,720 we're supposed to use the term muggles anymore. But there's a lot of muggles here that have no 800 00:43:29,720 --> 00:43:32,940 idea what security is, and they're here because it's really cool to be at DEF CON. 801 00:43:33,300 --> 00:43:33,720 Tourists. 802 00:43:34,200 --> 00:43:38,780 Tourists, muggles, whatever you want to call them. But that being said, there's a lot of shit 803 00:43:38,780 --> 00:43:45,020 going up on the, oh, going up on that screen that's extremely personal in terms of security. 804 00:43:45,040 --> 00:43:49,720 Information. That scares me a hell of a lot more than a BSS ID of you knowing I have a Dell 805 00:43:49,720 --> 00:43:52,340 laptop. Yeah, me and 45 other people in the room. 806 00:43:53,220 --> 00:43:57,020 Yeah, the database on this tool is pretty fun, too, but this isn't a Blue Hydra talk. 807 00:43:58,820 --> 00:43:59,220 Yeah? 808 00:44:00,880 --> 00:44:06,340 So you said that you have to have four of the pairs there. Since most people's Mac address, 809 00:44:06,560 --> 00:44:11,720 their Bluetooth and their Mac are almost the same except for the last character, did you have 810 00:44:12,160 --> 00:44:13,820 four sets that aren't the last character? 811 00:44:14,180 --> 00:44:14,580 Right. 812 00:44:15,040 --> 00:44:20,580 So the question is, because a lot of phones have sequential Mac addresses across Bluetooth 813 00:44:20,580 --> 00:44:26,680 and Wi-Fi, could you use that to figure out things? And the answer is, hell yes. And the 814 00:44:26,680 --> 00:44:30,740 answer is, I've been begging for somebody who can actually code to make that a Kismet 815 00:44:30,740 --> 00:44:35,940 plug-in for a long time, because Kismet actually can see the Wi-Fi stuff, and then it can see 816 00:44:35,940 --> 00:44:39,300 the Bluetooth stuff, but it's only going to see, like, what's in discoverable mode and 817 00:44:39,300 --> 00:44:44,940 whatnot. But if you wrote a tool that literally saw, okay, Wi-Fi Mac address, this is a client 818 00:44:44,940 --> 00:44:49,500 device, I'm going to ping one up and one down just for the sake of argument and see if I find a 819 00:44:49,500 --> 00:44:56,620 Bluetooth device, that's a totally legitimate thing to do, and it's great. The one caveat there is 820 00:44:56,620 --> 00:45:02,080 the Mac addresses for Wi-Fi are kind of starting to get random. This isn't a Wi-Fi talk, but that 821 00:45:02,080 --> 00:45:07,580 is a thing. Right now, everyone, everyone, everyone, I don't care what your marketing department 822 00:45:07,580 --> 00:45:13,980 says, crapple, is bad at this. Okay? Apple specifically adds an extra element to each one of 823 00:45:13,980 --> 00:45:17,100 their packets that has a randomized Mac address that tells you what the original Mac address 824 00:45:17,100 --> 00:45:24,320 was. Good fucking design. And Android has this supported, except for it also has to be supported 825 00:45:24,320 --> 00:45:28,220 by the chipset, and almost none of them are. I think last time somebody did a poll of which 826 00:45:28,220 --> 00:45:33,500 Android phone support it was, the answer was, like, one. So we're slowly moving towards that. 827 00:45:33,600 --> 00:45:40,140 Actually, if you want it, Windows 10 and Network Manager in Linux do a great job of randomizing 828 00:45:40,140 --> 00:45:43,960 the Mac address, and that is the exhaustive list. So be embarrassed, but you're going to be 829 00:45:43,980 --> 00:45:48,520 surprised because Windows beat us to the punch on good security. Actually, seriously, that's 830 00:45:48,520 --> 00:45:55,560 pretty cool. But yeah, you can, if you catch a legitimate Mac address, do the one up, one down 831 00:45:55,560 --> 00:45:59,700 thing. It's getting harder, but it is definitely still a thing. Second row. Is that the last 832 00:45:59,700 --> 00:46:07,860 octet? Usually the last octet is the one that is changing. Again, not every phone has 833 00:46:07,860 --> 00:46:13,900 exactly serialized Mac addresses. Some of them have completely different ones. A lot of companies 834 00:46:13,980 --> 00:46:18,300 just don't re-burn the Mac addresses. Apple for a long time was famous for re-burning them 835 00:46:18,300 --> 00:46:24,600 to be serialized, and apparently the new ones aren't. No, they're not. So what you're going to get 836 00:46:24,600 --> 00:46:29,520 out of that may or may not be amazing, but it's still a whole lot better than not trying, as this 837 00:46:29,520 --> 00:46:34,320 tool proves. Try. Don't just say it's not possible. Try. Sometimes you come up with something 838 00:46:34,320 --> 00:46:40,900 that's crap and it's funny. There is no try. There is no try. Do. Do and see if it works. 839 00:46:41,580 --> 00:46:43,640 If you want to play with these tools. 840 00:46:43,980 --> 00:46:49,920 Please feel free to do so. Install Pentoo. Install Pentoo. Hey, what's the passphrase to the 841 00:46:49,920 --> 00:46:57,260 open network for the CTF? It's down. If it were up, what would it be? Install Pentoo. 842 00:46:59,540 --> 00:47:05,480 It's down. It's down. The passphrase is install Pentoo. Maybe the knock team can help me set it 843 00:47:05,480 --> 00:47:12,380 up again. I don't know. I'm pretty stupid. Yeah, he is. I am. It's true. Well, thank you 844 00:47:12,380 --> 00:47:13,960 for sitting through our dravel. Thank you. Thank you for sitting through our dravel. 845 00:47:13,980 --> 00:47:14,600 Appreciate it.