1 00:00:00,000 --> 00:00:02,420 All right, so I guess I'm ready to get started. 2 00:00:02,860 --> 00:00:04,920 Anybody who attended my presentation yesterday 3 00:00:04,920 --> 00:00:07,520 knows that we are off to a terrific start 4 00:00:08,080 --> 00:00:10,660 because the actual PowerPoint presentation 5 00:00:10,660 --> 00:00:13,420 has come up there, or the open office presentation. 6 00:00:14,020 --> 00:00:16,360 Yesterday I spent 10 minutes getting that done, so yes. 7 00:00:20,180 --> 00:00:21,480 Yay to not fail. 8 00:00:21,920 --> 00:00:24,660 Okay, so I am, my presentation is 9 00:00:24,660 --> 00:00:26,660 Breaking Bluetooth by Being Bored. 10 00:00:26,660 --> 00:00:32,280 My name is Ronan, and this is DEF CON 2010 slash 18. 11 00:00:32,780 --> 00:00:37,480 So the title comes from, my research, 12 00:00:37,720 --> 00:00:39,960 I'm a graduate student, I'll talk about that in just a second, 13 00:00:40,220 --> 00:00:42,860 but the title comes from, I feel like my best ideas, 14 00:00:43,640 --> 00:00:46,960 hacking-wise, almost always come when I'm incredibly bored. 15 00:00:47,120 --> 00:00:50,720 So like, math class is awesome, long drives are great, 16 00:00:52,320 --> 00:00:55,020 airplane rides, I actually developed one of these tools 17 00:00:55,020 --> 00:00:56,420 last year on the flight. 18 00:00:56,660 --> 00:00:59,600 It's called 2DEFCON, because what are you going to do in the air? 19 00:01:00,220 --> 00:01:03,040 So, yeah, so that's the reason behind the title. 20 00:01:03,800 --> 00:01:06,040 About me, I'm a graduate student at Virginia Tech. 21 00:01:07,080 --> 00:01:09,880 My thesis is actually on Bluetooth security. 22 00:01:10,260 --> 00:01:11,920 So these are a couple tools I've developed 23 00:01:11,920 --> 00:01:15,820 while doing my research, but it's a much broader scope of things. 24 00:01:16,160 --> 00:01:18,700 And my website, where all this stuff is going to be posted, 25 00:01:18,880 --> 00:01:20,640 is hackfromacave.com. 26 00:01:20,980 --> 00:01:22,920 I'm graduating soon, looking for a job, 27 00:01:22,960 --> 00:01:24,960 I had to do that plug, I'm sorry, shameless plug. 28 00:01:25,120 --> 00:01:26,520 So, if this, 29 00:01:26,660 --> 00:01:29,180 if this goes well, which I already started off well, 30 00:01:29,340 --> 00:01:30,380 see me afterward. 31 00:01:31,320 --> 00:01:32,720 Moving on to the important stuff. 32 00:01:32,980 --> 00:01:33,360 Bluetooth. 33 00:01:33,720 --> 00:01:35,600 I'm going to give just a brief overview. 34 00:01:35,720 --> 00:01:38,120 I'm sure most people here know if you're in this talk 35 00:01:38,120 --> 00:01:39,120 because you're interested in Bluetooth. 36 00:01:39,420 --> 00:01:42,460 But, Bluetooth is a short-range technology, 37 00:01:42,840 --> 00:01:44,560 so Wi-Fi generates a lot of power. 38 00:01:44,720 --> 00:01:45,920 Bluetooth is supposed to be, 39 00:01:46,080 --> 00:01:47,980 basically they call it a cable replacement. 40 00:01:48,480 --> 00:01:52,260 It's low power, designed perfectly for smart, 41 00:01:52,340 --> 00:01:54,520 for like smartphones or PDAs. 42 00:01:55,940 --> 00:01:56,640 It creates a lot of power. 43 00:01:56,640 --> 00:01:57,940 It creates an ad hoc PicoNet. 44 00:01:58,260 --> 00:02:01,220 So, while most of us end up pairing just two devices, 45 00:02:01,360 --> 00:02:04,260 you can actually pair more than that in the little PicoNet 46 00:02:04,260 --> 00:02:06,660 and have devices communicate with each other. 47 00:02:06,820 --> 00:02:09,180 But most of the time you're pairing a headset to a single, 48 00:02:09,300 --> 00:02:11,020 like a smartphone or something like that. 49 00:02:11,200 --> 00:02:12,260 But it can do more. 50 00:02:12,820 --> 00:02:15,960 And it's a very highly growing technology. 51 00:02:17,080 --> 00:02:18,360 The Bluetooth website, 52 00:02:18,660 --> 00:02:20,120 and this was a couple of years ago actually, 53 00:02:20,240 --> 00:02:23,060 I think 2006, posted that there are over 54 00:02:23,060 --> 00:02:26,620 one billion Bluetooth devices in the world right now. 55 00:02:26,640 --> 00:02:28,280 Or Bluetooth-enabled devices. 56 00:02:29,900 --> 00:02:32,100 So, that's a little bit of Bluetooth. 57 00:02:32,360 --> 00:02:33,360 Now we're going to the fun stuff. 58 00:02:34,880 --> 00:02:37,840 So, part of how Bluetooth communicates 59 00:02:37,840 --> 00:02:40,000 is they have a Bluetooth profile. 60 00:02:40,500 --> 00:02:42,160 You're probably very familiar with it 61 00:02:42,160 --> 00:02:44,260 through the access point side of things. 62 00:02:44,420 --> 00:02:46,780 Wi-Fi access points have a very similar style 63 00:02:46,780 --> 00:02:48,800 where you have a device address, 64 00:02:49,060 --> 00:02:50,380 which is the Mac address. 65 00:02:50,640 --> 00:02:53,000 You have a device class, in this case, 66 00:02:53,060 --> 00:02:55,980 which describes what the device is. 67 00:02:56,100 --> 00:02:56,620 So, you have a device class, 68 00:02:56,640 --> 00:02:58,600 so it tells you if it's a phone, 69 00:02:58,700 --> 00:03:00,300 or if it's a phone slash smartphone. 70 00:03:00,700 --> 00:03:02,780 It gives you a little bit of information about the device. 71 00:03:03,000 --> 00:03:05,660 And the device name can be anything you want it to be. 72 00:03:07,500 --> 00:03:11,340 So, cloning that information is doable. 73 00:03:11,740 --> 00:03:13,480 And this isn't something that I created. 74 00:03:13,560 --> 00:03:15,440 This has been done years in the past. 75 00:03:15,860 --> 00:03:17,480 But all you have to do is, 76 00:03:17,700 --> 00:03:20,320 the first two, the class and the name, easy to do. 77 00:03:20,840 --> 00:03:22,560 The other one, the device address, 78 00:03:22,740 --> 00:03:24,160 you have to have some certain chipsets. 79 00:03:24,220 --> 00:03:26,060 The CSR chipsets are great. 80 00:03:26,640 --> 00:03:28,520 You scan for a device, you get it, 81 00:03:28,560 --> 00:03:29,160 you can clone it. 82 00:03:30,820 --> 00:03:32,700 Or you could change your profile. 83 00:03:32,980 --> 00:03:34,360 It's the same as, like, Mac spoofing. 84 00:03:34,620 --> 00:03:36,100 So, if you ever do Mac spoofing, 85 00:03:36,100 --> 00:03:37,280 you do the same thing where you generate 86 00:03:37,280 --> 00:03:38,400 a new Bluetooth profile, 87 00:03:38,720 --> 00:03:41,880 and now you've obfuscated who you are 88 00:03:41,880 --> 00:03:42,840 or what your device is. 89 00:03:44,220 --> 00:03:47,020 So, previously, the method for doing this 90 00:03:47,020 --> 00:03:47,920 was just manual. 91 00:03:48,620 --> 00:03:50,340 So, you'd have to scan for a device, 92 00:03:50,400 --> 00:03:51,560 you'd have to manually change settings. 93 00:03:51,660 --> 00:03:53,760 So, I'd created SpoofTube as a way 94 00:03:53,760 --> 00:03:55,880 to automatically do a lot of these things. 95 00:03:56,640 --> 00:03:58,100 And it does a little bit more. 96 00:03:58,560 --> 00:03:59,780 So, it's great for obfuscation. 97 00:04:02,260 --> 00:04:03,220 Or impersonations. 98 00:04:03,400 --> 00:04:05,120 You can actually pretend 99 00:04:05,120 --> 00:04:05,980 to be somebody else. 100 00:04:06,220 --> 00:04:08,060 Or something I didn't really intend 101 00:04:08,060 --> 00:04:10,280 when I wrote it was actually 102 00:04:10,280 --> 00:04:13,960 to observe devices in range 103 00:04:13,960 --> 00:04:15,020 and actually log that. 104 00:04:15,420 --> 00:04:16,320 So, I'm going to go through 105 00:04:16,320 --> 00:04:17,280 a couple of different modes 106 00:04:17,280 --> 00:04:18,780 that SpoofTube has right now. 107 00:04:19,920 --> 00:04:21,780 The first one is a basic scan. 108 00:04:22,080 --> 00:04:23,160 So, what it's doing is 109 00:04:23,160 --> 00:04:24,720 it's using the dash eye. 110 00:04:26,640 --> 00:04:28,100 It's like a WLAN for everybody 111 00:04:28,100 --> 00:04:29,820 who's Linux-y and does IF config. 112 00:04:30,220 --> 00:04:33,060 This is HCI config and it's got the same kind of thing. 113 00:04:33,180 --> 00:04:33,740 So, that's the interface. 114 00:04:34,220 --> 00:04:35,980 And it's scanning and dumping it to the log. 115 00:04:36,140 --> 00:04:37,560 So, basically just scanning the local area 116 00:04:37,560 --> 00:04:39,300 and dumping everything to the log. 117 00:04:39,500 --> 00:04:40,760 I should have mentioned this before. 118 00:04:41,000 --> 00:04:41,560 I forgot to. 119 00:04:42,300 --> 00:04:43,660 Bluetooth has two modes. 120 00:04:44,280 --> 00:04:45,720 Discoverable and non-discoverable mode. 121 00:04:46,360 --> 00:04:47,680 It will function in both. 122 00:04:48,240 --> 00:04:50,880 And this is the key for securing it. 123 00:04:51,580 --> 00:04:53,800 You want to have it in non-discoverable mode. 124 00:04:53,800 --> 00:04:55,900 The only reason to have it in discoverable 125 00:04:55,900 --> 00:04:56,960 is for initial pairing. 126 00:04:57,360 --> 00:04:59,120 So, you want the two devices to connect 127 00:04:59,120 --> 00:05:00,300 and once they know about each other 128 00:05:00,300 --> 00:05:01,700 they have the information. 129 00:05:01,900 --> 00:05:04,840 They don't need to scan for each other after that. 130 00:05:05,060 --> 00:05:07,400 So, then you turn the device into non-discoverable. 131 00:05:07,600 --> 00:05:11,000 So, this only finds devices in discoverable mode. 132 00:05:11,240 --> 00:05:12,640 It's not like if you might be familiar 133 00:05:12,640 --> 00:05:13,540 with the tool Red Fang 134 00:05:13,540 --> 00:05:15,280 if you're a big Bluetooth hacker 135 00:05:15,780 --> 00:05:16,960 which tries to find devices 136 00:05:16,960 --> 00:05:18,440 that are in non-discoverable mode. 137 00:05:18,580 --> 00:05:20,320 This is only for discoverable mode devices. 138 00:05:21,260 --> 00:05:22,820 Okay, so moving on to mode two. 139 00:05:23,800 --> 00:05:25,300 This is actually just a randomly generated profile. 140 00:05:25,780 --> 00:05:27,620 So, you really want to obfuscate 141 00:05:27,620 --> 00:05:29,220 and you don't want to actually have to think about anything. 142 00:05:29,580 --> 00:05:31,040 You just type the dash R flag 143 00:05:31,040 --> 00:05:33,240 and it creates you an entirely new profile 144 00:05:33,240 --> 00:05:34,140 for your device. 145 00:05:36,100 --> 00:05:37,600 An Easter egg that I didn't actually 146 00:05:37,600 --> 00:05:39,600 put in the documentation kind of on purpose 147 00:05:39,600 --> 00:05:41,420 because I wanted to release something at DEF CON. 148 00:05:41,940 --> 00:05:44,640 If you change from the dash lower case R 149 00:05:44,640 --> 00:05:45,940 to dash upper case R 150 00:05:45,940 --> 00:05:48,360 I have a list of all kinds of 151 00:05:48,360 --> 00:05:49,800 science fiction names 152 00:05:49,800 --> 00:05:50,760 instead of normal names. 153 00:05:50,900 --> 00:05:53,280 The previous one took the common 154 00:05:53,800 --> 00:05:56,280 the top 100 first and last names 155 00:05:56,280 --> 00:05:57,520 and generates it from that. 156 00:05:57,780 --> 00:05:59,720 This will take your favorite 157 00:05:59,720 --> 00:06:00,540 science fiction characters 158 00:06:00,540 --> 00:06:02,500 so you can be Yoda's phone 159 00:06:02,500 --> 00:06:04,200 or Malcolm Reynolds peripheral 160 00:06:04,200 --> 00:06:06,420 or Bender bending Rodriguez's 161 00:06:06,420 --> 00:06:07,520 audio video device. 162 00:06:08,640 --> 00:06:09,700 So now you know. 163 00:06:10,660 --> 00:06:11,800 Mode three. 164 00:06:15,080 --> 00:06:17,380 Oh, this mode 165 00:06:17,380 --> 00:06:19,340 is where you actually get to specify 166 00:06:19,340 --> 00:06:21,260 the information you want to change 167 00:06:21,260 --> 00:06:22,320 your device information to. 168 00:06:23,800 --> 00:06:24,920 Mode four is more the manual side of things. 169 00:06:25,060 --> 00:06:27,580 So new name, the device address 170 00:06:27,580 --> 00:06:28,660 and the device class. 171 00:06:29,080 --> 00:06:31,200 Not all, you can't just put anything 172 00:06:31,200 --> 00:06:31,980 for the device class. 173 00:06:32,220 --> 00:06:33,720 I mean you could and it will just say unknown. 174 00:06:34,260 --> 00:06:36,200 So if you're going to put something in there 175 00:06:36,200 --> 00:06:39,140 you know a little bit how the device class works 176 00:06:39,140 --> 00:06:41,320 which I'm not really going to go into too much today. 177 00:06:42,440 --> 00:06:43,980 Mode four is 178 00:06:46,780 --> 00:06:49,500 Oh, it's a load previously logged scan. 179 00:06:49,820 --> 00:06:50,980 So if you want to scan 180 00:06:50,980 --> 00:06:53,120 save for later, log it in 181 00:06:53,800 --> 00:06:55,080 make one of the selections 182 00:06:55,080 --> 00:06:56,700 and then clone that device later on 183 00:06:56,700 --> 00:06:57,600 you can do that. 184 00:06:57,940 --> 00:06:59,980 And the last one is for 185 00:06:59,980 --> 00:07:01,800 is the incognito mode. 186 00:07:02,400 --> 00:07:04,320 You can have a spoof to randomly generate 187 00:07:04,320 --> 00:07:06,020 a profile every X number of seconds. 188 00:07:06,360 --> 00:07:08,880 So if you don't want to be seen 189 00:07:09,600 --> 00:07:11,360 you can keep changing your profile. 190 00:07:11,600 --> 00:07:13,520 This will mess up persistent connections. 191 00:07:13,880 --> 00:07:15,500 So don't think you're going to be connected to something 192 00:07:15,500 --> 00:07:16,340 and keep changing that. 193 00:07:16,440 --> 00:07:17,420 It will mess it up. 194 00:07:17,500 --> 00:07:19,400 But if you're just running these scans 195 00:07:19,400 --> 00:07:21,520 or whatever it will change your information. 196 00:07:22,980 --> 00:07:23,840 Yeah, every 197 00:07:23,840 --> 00:07:25,620 this one is set to 10 every 10 seconds. 198 00:07:26,860 --> 00:07:28,540 So this is what the interface looks like. 199 00:07:30,380 --> 00:07:31,480 Pretty straight forward. 200 00:07:31,820 --> 00:07:32,300 It will 201 00:07:32,900 --> 00:07:33,820 run the scan 202 00:07:33,820 --> 00:07:35,440 it pops up with this menu. 203 00:07:35,660 --> 00:07:37,440 It will list all the devices there. 204 00:07:37,940 --> 00:07:40,020 I'm not that great with the interface 205 00:07:40,020 --> 00:07:41,460 programming so far. 206 00:07:41,720 --> 00:07:42,900 So instead of having nice little 207 00:07:43,340 --> 00:07:45,060 it's similar to how Kismet 208 00:07:45,060 --> 00:07:46,620 the menu interface is for Kismet 209 00:07:46,620 --> 00:07:48,140 except I know a lot less. 210 00:07:49,400 --> 00:07:50,400 Nice little arrows and stuff. 211 00:07:50,540 --> 00:07:53,000 You have to type in characters so sorry about that. 212 00:07:53,100 --> 00:07:54,600 Maybe in a future version it will 213 00:07:54,600 --> 00:07:56,340 be a little more slicker interface. 214 00:07:57,240 --> 00:07:59,220 So yeah, that's showing you 215 00:07:59,220 --> 00:08:00,260 four of the scans. 216 00:08:00,620 --> 00:08:02,100 You can see there's a couple pages at the bottom. 217 00:08:02,280 --> 00:08:04,120 So you just previous, next 218 00:08:04,120 --> 00:08:05,840 and it will show the rest of the scans 219 00:08:05,840 --> 00:08:08,820 which I have obfuscated people's names 220 00:08:08,820 --> 00:08:11,060 and the classes 221 00:08:11,060 --> 00:08:12,300 or sorry the address 222 00:08:12,300 --> 00:08:13,640 in this slide. 223 00:08:14,460 --> 00:08:16,220 But we'll show you real quick 224 00:08:16,220 --> 00:08:18,120 a live demo of 225 00:08:20,260 --> 00:08:21,340 who's in this room. 226 00:08:24,220 --> 00:08:24,820 All right. 227 00:08:27,320 --> 00:08:28,520 Can you guys hear me clicking? 228 00:08:28,680 --> 00:08:29,600 Is that really loud out there? 229 00:08:29,720 --> 00:08:30,660 It sounds really loud up here. 230 00:08:34,160 --> 00:08:34,560 Okay. 231 00:08:35,360 --> 00:08:36,000 This is actually 232 00:08:36,000 --> 00:08:37,040 I don't know if it's going to pick up 233 00:08:37,040 --> 00:08:38,680 it might pick up stuff up here. 234 00:08:39,180 --> 00:08:40,660 Because actually I'm not hooking it up 235 00:08:40,660 --> 00:08:41,520 to a long range device. 236 00:08:41,760 --> 00:08:43,160 So Bluetooth has 237 00:08:43,160 --> 00:08:44,820 three different classes. 238 00:08:45,720 --> 00:08:46,420 Yeah, okay. 239 00:08:47,080 --> 00:08:47,760 Popped up, done. 240 00:08:49,540 --> 00:08:51,260 So I'll go for the class first. 241 00:08:51,460 --> 00:08:53,040 The class of devices, there's three different ones. 242 00:08:53,140 --> 00:08:54,460 One meter, 10 meter, 100 meter. 243 00:08:54,920 --> 00:08:56,660 Those are somewhat accurate numbers. 244 00:08:57,240 --> 00:08:59,240 So if you're looking to do anything with Bluetooth 245 00:08:59,240 --> 00:09:00,800 you want to get class one 246 00:09:01,200 --> 00:09:02,400 because that's the longer range. 247 00:09:02,820 --> 00:09:05,260 So Bluetooth scanning for this 248 00:09:05,260 --> 00:09:06,440 you see that the 249 00:09:08,160 --> 00:09:08,840 actually no 250 00:09:08,840 --> 00:09:09,740 all these got their names. 251 00:09:09,800 --> 00:09:11,560 Sometimes the scans 252 00:09:11,560 --> 00:09:14,580 they have an initial scan and then a follow up. 253 00:09:14,760 --> 00:09:15,860 So you can see under 254 00:09:15,860 --> 00:09:18,980 I think it's four. Yeah, device four. It says unknown. 255 00:09:21,340 --> 00:09:21,700 Oh. 256 00:09:24,200 --> 00:09:24,560 Sorry. 257 00:09:30,220 --> 00:09:31,440 Yeah, sorry. 258 00:09:31,620 --> 00:09:32,060 That's going to 259 00:09:32,420 --> 00:09:33,300 Is that a little better? 260 00:09:33,900 --> 00:09:35,840 I know it's all blur and it's hard to see. 261 00:09:36,140 --> 00:09:36,740 I mean it's not 262 00:09:38,020 --> 00:09:39,860 It's going to mess up the menu if I do it any bigger. 263 00:09:39,960 --> 00:09:40,640 So sorry about that. 264 00:09:41,920 --> 00:09:44,020 You can kind of see it's mostly a blur. 265 00:09:44,220 --> 00:09:46,260 But if you notice 266 00:09:46,260 --> 00:09:47,740 Is it gone now? It was. 267 00:09:49,740 --> 00:09:50,180 So you can see the 268 00:09:50,180 --> 00:09:53,280 change, the name change from unknown to red team. 269 00:09:53,840 --> 00:09:55,020 Man, I'm getting a lot of stuff in here. 270 00:09:55,100 --> 00:09:56,540 I figured there'd be more paranoid people. 271 00:09:57,840 --> 00:09:59,300 This isn't picking up very far. 272 00:10:00,420 --> 00:10:01,580 So the device 273 00:10:01,580 --> 00:10:02,700 the scanning for Bluetooth 274 00:10:02,700 --> 00:10:04,080 the initial scan 275 00:10:05,400 --> 00:10:06,880 detects the device based on the MAC address 276 00:10:06,880 --> 00:10:08,660 and then does a follow up scan for the name. 277 00:10:09,140 --> 00:10:10,960 So some of the times if you're 278 00:10:10,960 --> 00:10:13,220 if you're using this to do something like war driving 279 00:10:14,420 --> 00:10:16,340 you will need to be in an area 280 00:10:16,340 --> 00:10:17,280 where you're actually going to have 281 00:10:17,280 --> 00:10:18,800 a persistent amount of time 282 00:10:18,800 --> 00:10:20,900 with the device that you're scanning 283 00:10:20,900 --> 00:10:23,500 if you want to capture that information. 284 00:10:23,880 --> 00:10:25,040 Because it takes 285 00:10:27,660 --> 00:10:29,360 10 seconds to a minute 286 00:10:29,360 --> 00:10:30,500 to complete a scan. 287 00:10:30,940 --> 00:10:33,280 The initial scan is actually very, very quick 288 00:10:33,280 --> 00:10:34,680 but the follow up scan for the name 289 00:10:34,680 --> 00:10:35,840 takes a long time. 290 00:10:36,100 --> 00:10:38,220 So if you notice that things change on there 291 00:10:38,220 --> 00:10:39,880 or that you're not getting the name 292 00:10:39,880 --> 00:10:41,300 that's the reason why. 293 00:10:41,720 --> 00:10:42,220 So 294 00:10:45,700 --> 00:10:46,360 It's just 295 00:10:47,280 --> 00:10:48,540 it only works with discoverable devices. 296 00:10:48,680 --> 00:10:50,800 Sorry, he asked if it was just with discoverable devices. 297 00:10:51,220 --> 00:10:53,020 This only works with discoverable devices. 298 00:11:00,500 --> 00:11:01,400 Through this 299 00:11:01,400 --> 00:11:03,700 I've actually started another project 300 00:11:03,700 --> 00:11:05,240 called the Bluetooth Profiling Project. 301 00:11:07,040 --> 00:11:08,140 It's similar to 302 00:11:08,140 --> 00:11:09,600 if anybody's familiar with Josh Wright 303 00:11:09,600 --> 00:11:11,800 he's doing a very similar project 304 00:11:11,800 --> 00:11:13,420 collecting a lot more information 305 00:11:13,420 --> 00:11:14,840 on specific devices 306 00:11:14,840 --> 00:11:16,220 I'm only looking at a little bit. 307 00:11:17,280 --> 00:11:19,040 So what this project is 308 00:11:19,040 --> 00:11:20,420 it's trying to map 309 00:11:20,420 --> 00:11:22,040 the MAC address range 310 00:11:23,070 --> 00:11:24,240 of Bluetooth devices. 311 00:11:25,070 --> 00:11:27,220 So for those who aren't familiar 312 00:11:28,020 --> 00:11:29,920 each type of device 313 00:11:29,920 --> 00:11:30,680 every manufacturer 314 00:11:31,700 --> 00:11:32,860 gets their own 315 00:11:32,860 --> 00:11:34,940 I forgot exactly what it's called 316 00:11:34,940 --> 00:11:36,800 but basically it's the first six 317 00:11:36,800 --> 00:11:38,900 characters in the MAC address 318 00:11:38,900 --> 00:11:41,480 are manufacturer specific. 319 00:11:41,920 --> 00:11:43,240 And then the rest of them 320 00:11:43,240 --> 00:11:45,360 are randomly given to the devices. 321 00:11:45,700 --> 00:11:46,620 So if you can 322 00:11:47,280 --> 00:11:47,600 figure out 323 00:11:47,600 --> 00:11:49,480 and that range is the same 324 00:11:49,480 --> 00:11:51,660 on all devices of a particular type 325 00:11:51,660 --> 00:11:54,120 so if you can get the range of those 326 00:11:54,120 --> 00:11:55,440 by you know 327 00:11:55,440 --> 00:11:56,720 you keep scanning and you find 328 00:11:56,720 --> 00:11:58,680 that whatever type of phone 329 00:11:58,680 --> 00:12:00,940 and you see oh well there's a pattern here 330 00:12:00,940 --> 00:12:02,360 I see that all these types of phones 331 00:12:02,360 --> 00:12:03,920 have between this and this 332 00:12:03,920 --> 00:12:05,580 then you can use something else 333 00:12:06,620 --> 00:12:07,060 to 334 00:12:09,700 --> 00:12:11,180 it'll help out with other projects 335 00:12:11,180 --> 00:12:12,580 actually I'll talk about that in just a minute. 336 00:12:12,580 --> 00:12:14,280 So right now I've collected about 337 00:12:14,280 --> 00:12:16,160 1500 devices 338 00:12:16,860 --> 00:12:18,580 which is surprising 339 00:12:19,120 --> 00:12:20,540 it really is surprising how many devices 340 00:12:20,540 --> 00:12:21,640 are out there in discoverable mode 341 00:12:21,640 --> 00:12:23,180 because they really shouldn't be. 342 00:12:23,780 --> 00:12:25,460 I listed about a thousand of them 343 00:12:25,460 --> 00:12:26,220 on my website right now 344 00:12:26,220 --> 00:12:27,080 I'll try to get more 345 00:12:29,660 --> 00:12:31,880 yeah so actually I just went into this 346 00:12:31,880 --> 00:12:32,960 a little bit more than 347 00:12:32,960 --> 00:12:34,700 on the previous slide 348 00:12:34,700 --> 00:12:37,060 so yeah using Red Fang 349 00:12:37,060 --> 00:12:37,760 as I mentioned 350 00:12:37,760 --> 00:12:40,780 Red Fang finds devices in non discoverable mode 351 00:12:44,220 --> 00:12:46,400 so it has to run through the entire list 352 00:12:46,400 --> 00:12:47,680 and it takes forever 353 00:12:47,680 --> 00:12:49,720 like you couldn't actually run the whole gambit 354 00:12:49,720 --> 00:12:51,240 and I don't know what the number is 355 00:12:51,240 --> 00:12:51,860 I don't want to quote it 356 00:12:51,860 --> 00:12:53,400 but it's years and years and years 357 00:12:53,400 --> 00:12:55,520 so this will help narrow that down 358 00:12:55,520 --> 00:12:58,860 if only a thousand models of a certain device 359 00:12:58,860 --> 00:13:00,820 are made and you can get that range 360 00:13:00,820 --> 00:13:02,220 well then you have a lot higher 361 00:13:02,220 --> 00:13:04,500 than whatever the MAC range 362 00:13:04,500 --> 00:13:06,380 the possibility of MAC ranges is 363 00:13:07,000 --> 00:13:08,480 the other thing is to 364 00:13:09,440 --> 00:13:10,420 match the model 365 00:13:11,280 --> 00:13:12,560 with the device 366 00:13:12,580 --> 00:13:12,900 the address 367 00:13:14,900 --> 00:13:16,160 yeah we'll talk about 368 00:13:16,160 --> 00:13:16,960 a little more of the research 369 00:13:17,680 --> 00:13:19,780 a big part of it that I've discovered 370 00:13:19,780 --> 00:13:22,140 is actually the disclosure of sensitive information 371 00:13:22,140 --> 00:13:24,160 I feel like a lot of these 372 00:13:24,160 --> 00:13:25,380 a lot of people don't realize 373 00:13:25,380 --> 00:13:28,160 what's being disclosed by the name 374 00:13:28,160 --> 00:13:30,560 of their bluetooth enabled device 375 00:13:34,680 --> 00:13:35,760 oh sorry 376 00:13:38,340 --> 00:13:40,140 yeah so we went through this 377 00:13:40,140 --> 00:13:41,180 just a minute ago 378 00:13:42,580 --> 00:13:43,020 the OUI 379 00:13:43,020 --> 00:13:44,380 that was the number I was looking for 380 00:13:45,880 --> 00:13:47,480 this is the sensitive one 381 00:13:47,480 --> 00:13:49,500 so a lot of them are giving out things 382 00:13:49,500 --> 00:13:50,900 like the first name 383 00:13:50,900 --> 00:13:52,140 the nickname 384 00:13:54,100 --> 00:13:55,520 location, device model 385 00:13:55,520 --> 00:13:57,360 I've seen things like 386 00:13:57,360 --> 00:13:59,660 URLs actually in the name 387 00:13:59,660 --> 00:14:01,380 because people name the computer 388 00:14:01,380 --> 00:14:02,820 the same name as it's URL 389 00:14:02,820 --> 00:14:05,100 so then you can see it that way 390 00:14:05,100 --> 00:14:06,800 all kinds of stuff that 391 00:14:06,800 --> 00:14:09,320 I'm sure they don't know that that's the name of it 392 00:14:09,320 --> 00:14:11,480 or that anybody walking by can just get that information 393 00:14:12,580 --> 00:14:14,400 but my findings 394 00:14:14,400 --> 00:14:16,020 are about 395 00:14:16,560 --> 00:14:18,440 30% of bluetooth devices 396 00:14:18,440 --> 00:14:20,740 that I scanned gave away an individual's 397 00:14:20,740 --> 00:14:21,220 first name 398 00:14:21,220 --> 00:14:23,860 that's just me scanning through them 399 00:14:23,860 --> 00:14:26,060 I might not recognize a name off the bat 400 00:14:26,060 --> 00:14:27,820 but that's roughly it 401 00:14:28,320 --> 00:14:29,980 about 20% 402 00:14:29,980 --> 00:14:31,160 give out last names 403 00:14:32,100 --> 00:14:34,100 locations, the device model 404 00:14:34,100 --> 00:14:35,620 I consider that sensitive information 405 00:14:35,620 --> 00:14:38,500 only for exploitation purposes 406 00:14:38,500 --> 00:14:40,100 so if you 407 00:14:40,100 --> 00:14:42,460 know what the device is then you can 408 00:14:42,580 --> 00:14:43,200 target your attacks 409 00:14:44,480 --> 00:14:45,360 so that's 410 00:14:45,360 --> 00:14:47,480 but I understand naming it that way 411 00:14:47,480 --> 00:14:49,400 I'm not saying don't name the device whatever 412 00:14:49,400 --> 00:14:51,840 but it is possibly sensitive information 413 00:14:51,840 --> 00:14:53,540 if people are going to try to exploit 414 00:14:53,540 --> 00:14:54,600 a particular device 415 00:14:54,600 --> 00:14:56,180 you change the name to something else 416 00:14:56,640 --> 00:14:58,600 other than as I said the Mac range 417 00:14:58,600 --> 00:14:59,480 figuring out that way 418 00:14:59,480 --> 00:15:01,020 it makes it very difficult to determine 419 00:15:01,020 --> 00:15:02,660 what the device is right off the bat 420 00:15:05,980 --> 00:15:06,420 contributing 421 00:15:06,420 --> 00:15:09,500 I'd love to have an enormous list of profiles 422 00:15:09,500 --> 00:15:11,280 the more people contribute the better 423 00:15:12,580 --> 00:15:13,140 things will be 424 00:15:15,160 --> 00:15:16,840 there's a couple of caveats to that 425 00:15:16,840 --> 00:15:18,620 so I wanted the name 426 00:15:18,620 --> 00:15:19,860 the address and the class 427 00:15:19,860 --> 00:15:21,040 no more no less 428 00:15:21,040 --> 00:15:22,280 I don't care where you got it 429 00:15:22,280 --> 00:15:23,100 I don't care how you got it 430 00:15:23,100 --> 00:15:25,680 just as long as you post those three things 431 00:15:25,680 --> 00:15:27,580 I want to sanitize the information 432 00:15:27,580 --> 00:15:29,980 it is publicly available information 433 00:15:29,980 --> 00:15:31,760 so there should be no problem with it 434 00:15:31,760 --> 00:15:34,280 but just to be nice 435 00:15:35,260 --> 00:15:36,800 sanitizing things like the name 436 00:15:36,800 --> 00:15:38,440 anything that looks like a name 437 00:15:38,440 --> 00:15:39,680 replace it 438 00:15:42,580 --> 00:15:43,440 other is for the category 439 00:15:43,440 --> 00:15:45,540 this might be sensitive 440 00:15:45,540 --> 00:15:46,880 I wonder if I could ask him 441 00:15:46,880 --> 00:15:48,700 just replace it with other 442 00:15:48,700 --> 00:15:50,140 it's not that important 443 00:15:50,140 --> 00:15:52,160 to have the name for everything 444 00:15:52,160 --> 00:15:54,500 except for as I said the statistics earlier 445 00:15:54,500 --> 00:15:55,980 that's most of the reason why 446 00:15:55,980 --> 00:15:57,640 I don't just replace the name right off the bat 447 00:15:57,640 --> 00:15:59,640 it could help with some other research 448 00:15:59,640 --> 00:16:00,880 down the road 449 00:16:00,880 --> 00:16:04,120 so I've created a forum on my website 450 00:16:04,120 --> 00:16:06,460 where people can just post the logs 451 00:16:06,460 --> 00:16:07,100 that they find 452 00:16:08,080 --> 00:16:11,080 and I will update the full list 453 00:16:12,580 --> 00:16:12,700 of posts 454 00:16:14,420 --> 00:16:16,440 so here's my nice little DEF CON list 455 00:16:17,600 --> 00:16:19,620 I thought this would bring point 456 00:16:19,620 --> 00:16:20,600 the home 457 00:16:20,600 --> 00:16:22,760 I phrased that completely wrong 458 00:16:24,140 --> 00:16:25,840 so this is just a couple of them 459 00:16:25,840 --> 00:16:27,760 I've been scanning all of DEF CON 460 00:16:27,760 --> 00:16:28,360 congratulations 461 00:16:28,360 --> 00:16:30,740 people do actually do hacking stuff at DEF CON 462 00:16:31,360 --> 00:16:32,260 and if you 463 00:16:32,900 --> 00:16:34,400 thought you would turn off your Bluetooth device 464 00:16:34,400 --> 00:16:36,200 I see some people in the audience right now 465 00:16:36,200 --> 00:16:37,720 that are like yeah wait 466 00:16:37,720 --> 00:16:40,200 I think my phone's Bluetooth is off 467 00:16:40,200 --> 00:16:41,420 but you know 468 00:16:42,580 --> 00:16:43,420 I don't know how many collected 469 00:16:43,420 --> 00:16:44,140 I didn't get a list 470 00:16:44,760 --> 00:16:45,940 I'm gonna go with about 250 471 00:16:46,360 --> 00:16:47,940 different profiles that I found here 472 00:16:49,020 --> 00:16:50,580 this wasn't like an effort I made 473 00:16:50,580 --> 00:16:51,840 I didn't try to get every room 474 00:16:51,840 --> 00:16:52,960 or go all around 475 00:16:52,960 --> 00:16:55,140 it's mostly been sitting in the hackers or charity booth 476 00:16:55,600 --> 00:16:57,620 so if you went to the vendor area 477 00:16:57,620 --> 00:16:59,960 you probably got scanned there 478 00:16:59,960 --> 00:17:01,380 or walking around a little bit 479 00:17:01,380 --> 00:17:03,080 so this is just a couple of them 480 00:17:03,080 --> 00:17:05,620 I liked fail phone 481 00:17:06,660 --> 00:17:07,340 clever naming 482 00:17:07,340 --> 00:17:10,480 I removed the star star star is actually people's real names 483 00:17:12,900 --> 00:17:14,020 give those out 484 00:17:14,560 --> 00:17:16,460 this is yeah as I said just a couple 485 00:17:16,460 --> 00:17:17,580 so you know 486 00:17:17,580 --> 00:17:19,560 be aware that whatever you name it 487 00:17:20,000 --> 00:17:21,740 if you don't know what you've named it 488 00:17:21,740 --> 00:17:22,940 it's probably giving something out 489 00:17:22,940 --> 00:17:25,880 I mean if it you know 490 00:17:25,880 --> 00:17:28,860 if you rename it to fail phone 491 00:17:28,860 --> 00:17:30,040 then you're like okay well obviously 492 00:17:30,040 --> 00:17:31,760 you took the effort and you know it's gonna be named 493 00:17:31,760 --> 00:17:32,960 if you don't know what it's named 494 00:17:32,960 --> 00:17:34,640 you might want to check that out 495 00:17:37,520 --> 00:17:37,960 and 496 00:17:37,960 --> 00:17:40,000 I meant to say this list was 497 00:17:40,400 --> 00:17:42,160 inspired by the wall of sheep guys 498 00:17:42,580 --> 00:17:45,000 so I'm gonna be posting some of this stuff with them later on 499 00:17:45,000 --> 00:17:46,700 so this is a short list 500 00:17:46,700 --> 00:17:48,200 if you want to see that you were scanned 501 00:17:48,200 --> 00:17:50,640 you might want to check out the wall of sheep a little later 502 00:17:51,940 --> 00:17:52,760 so that's the 503 00:17:52,760 --> 00:17:53,580 obfuscation side 504 00:17:53,580 --> 00:17:56,280 that's the you know data collection 505 00:17:56,280 --> 00:17:57,240 and everything like that 506 00:17:58,240 --> 00:18:00,300 now we'll get into the offensive side 507 00:18:00,300 --> 00:18:00,860 of things 508 00:18:02,480 --> 00:18:03,500 so a vcard 509 00:18:03,500 --> 00:18:05,720 so this is one of the tools that I've been working on 510 00:18:05,720 --> 00:18:06,880 called vcard blaster 511 00:18:06,880 --> 00:18:09,620 a vcard is a virtual business card 512 00:18:10,540 --> 00:18:12,440 essentially you probably have used them 513 00:18:12,580 --> 00:18:14,180 before a lot of places have them for 514 00:18:14,180 --> 00:18:16,460 download or information on people 515 00:18:16,460 --> 00:18:18,380 it syncs up with like 516 00:18:18,380 --> 00:18:20,240 outlook it creates the profile 517 00:18:20,240 --> 00:18:22,020 for your contact list 518 00:18:22,410 --> 00:18:24,040 and it's heavily used in bluetooth 519 00:18:24,470 --> 00:18:26,220 a lot of the bluetooth enabled phones 520 00:18:26,220 --> 00:18:28,220 will be able to share things over 521 00:18:28,220 --> 00:18:30,520 vcards which makes things a lot easier 522 00:18:30,520 --> 00:18:31,960 instead of all the business cards going around 523 00:18:31,960 --> 00:18:33,800 you just sync up your devices 524 00:18:33,800 --> 00:18:36,040 send it over and life is good 525 00:18:37,240 --> 00:18:37,740 but 526 00:18:39,560 --> 00:18:40,580 some of them 527 00:18:40,580 --> 00:18:42,020 that allow it 528 00:18:42,580 --> 00:18:44,320 sometimes it'll come up with a prompt 529 00:18:44,320 --> 00:18:46,100 that says would you like to allow this vcard 530 00:18:46,100 --> 00:18:47,920 and you're like oh yeah sure I just met that guy 531 00:18:48,380 --> 00:18:51,120 or we need to pair before you can send that over 532 00:18:51,120 --> 00:18:52,320 some of them however 533 00:18:52,320 --> 00:18:54,500 don't do that for this particular feature 534 00:18:54,500 --> 00:18:56,200 and I can understand why 535 00:18:56,200 --> 00:18:57,760 in the development of it they decided 536 00:18:57,760 --> 00:19:00,000 oh well obviously if you're just going to send a vcard over 537 00:19:00,000 --> 00:19:01,500 there's nothing bad about it 538 00:19:02,680 --> 00:19:04,000 but there could be 539 00:19:04,540 --> 00:19:06,440 what vcard blaster does 540 00:19:07,300 --> 00:19:08,640 is it allows 541 00:19:08,640 --> 00:19:10,560 you to send a constant stream 542 00:19:10,560 --> 00:19:12,420 of vcards to a particular 543 00:19:12,580 --> 00:19:13,540 device 544 00:19:13,540 --> 00:19:16,140 or to all devices in range 545 00:19:16,860 --> 00:19:17,440 one 546 00:19:17,440 --> 00:19:19,280 a couple of different things 547 00:19:19,280 --> 00:19:19,840 yeah 548 00:19:22,310 --> 00:19:24,300 a couple of different things this can do 549 00:19:24,880 --> 00:19:26,340 one is potentially 550 00:19:26,340 --> 00:19:27,620 fill up the disk drive 551 00:19:28,310 --> 00:19:30,240 vcards while they can just contain email 552 00:19:30,240 --> 00:19:31,840 or your name 553 00:19:31,840 --> 00:19:32,820 or your phone number 554 00:19:32,820 --> 00:19:35,060 they can actually contain a lot more than that 555 00:19:35,060 --> 00:19:35,640 like images 556 00:19:35,640 --> 00:19:39,060 so if you could send a constant stream of vcards 557 00:19:39,060 --> 00:19:41,220 with very large file types 558 00:19:42,580 --> 00:19:43,620 you could fill up the disk of something 559 00:19:43,620 --> 00:19:45,080 that's a very small 560 00:19:45,080 --> 00:19:47,900 PDA with a very low amount of memory 561 00:19:47,900 --> 00:19:49,740 or if it's partition memory 562 00:19:50,560 --> 00:19:52,420 the other thing is you can add 563 00:19:52,420 --> 00:19:54,140 contacts to people's 564 00:19:54,140 --> 00:19:54,980 devices 565 00:19:55,680 --> 00:19:57,040 so that could be interesting 566 00:19:57,040 --> 00:19:58,900 just to see what you want to add 567 00:19:58,900 --> 00:20:01,300 the other thing is actually if you want to add 568 00:20:01,300 --> 00:20:03,060 a ton of random names in there 569 00:20:03,060 --> 00:20:05,640 you've officially made it very hard for them 570 00:20:05,640 --> 00:20:06,500 to make a phone call 571 00:20:06,500 --> 00:20:08,860 because if the contact list had 100 people 572 00:20:08,860 --> 00:20:10,940 and now it's got 10,000 people in it 573 00:20:12,580 --> 00:20:13,460 you're never going to find mom 574 00:20:14,660 --> 00:20:16,020 where is it down there 575 00:20:16,020 --> 00:20:18,340 and I don't know of any quick way 576 00:20:18,340 --> 00:20:20,080 to remove new contacts 577 00:20:20,080 --> 00:20:21,040 most of the time 578 00:20:21,040 --> 00:20:22,980 I'm pretty sure it's a manual process 579 00:20:22,980 --> 00:20:25,240 so unless they have some sort of backup 580 00:20:25,240 --> 00:20:27,000 of their contact list 581 00:20:27,000 --> 00:20:30,460 they have to go in and manually remove all of it 582 00:20:30,960 --> 00:20:32,460 something I'm going to be working on 583 00:20:32,460 --> 00:20:34,780 is actually the random name generation 584 00:20:34,780 --> 00:20:36,180 so that's not in there right now 585 00:20:36,180 --> 00:20:37,520 but I'm going to be adding that 586 00:20:37,520 --> 00:20:39,120 so it will randomly generate a name 587 00:20:39,780 --> 00:20:41,360 you can't have the same name 588 00:20:42,580 --> 00:20:44,660 because a lot of times they'll get angry about that 589 00:20:44,660 --> 00:20:46,140 and say are you sure you want to replace this 590 00:20:46,140 --> 00:20:47,500 and you don't want to make the user aware 591 00:20:47,500 --> 00:20:48,780 that this attack is going on 592 00:20:48,780 --> 00:20:52,120 so I will have it so it randomly generates 593 00:20:52,120 --> 00:20:53,540 and doesn't double up on the name 594 00:20:53,540 --> 00:20:54,920 so you can fill it up that way 595 00:20:54,920 --> 00:20:56,180 and they look like legitimate ones 596 00:20:56,180 --> 00:20:58,720 because right now I just have a random character 597 00:20:58,720 --> 00:21:01,060 of strings so they can pretty much tell 598 00:21:01,060 --> 00:21:01,820 that it's not legit 599 00:21:03,260 --> 00:21:05,020 so this is what the attack looks like 600 00:21:08,260 --> 00:21:09,800 I can demo it 601 00:21:09,800 --> 00:21:11,420 no I don't have the demo one 602 00:21:11,420 --> 00:21:12,180 sorry it's dead 603 00:21:12,580 --> 00:21:12,760 my bad 604 00:21:12,760 --> 00:21:14,440 but this is exactly what it would look like 605 00:21:14,440 --> 00:21:17,620 so the flags up there 606 00:21:18,380 --> 00:21:19,460 can you guys 607 00:21:19,460 --> 00:21:20,980 you can't really see it that well 608 00:21:20,980 --> 00:21:22,580 so I'll describe what it is 609 00:21:22,580 --> 00:21:25,460 it has a JASG flag for generating 610 00:21:25,460 --> 00:21:27,300 a dash I 20 611 00:21:27,300 --> 00:21:28,880 to say run it 20 times 612 00:21:28,880 --> 00:21:30,460 instead of 10,000 times 613 00:21:33,060 --> 00:21:34,440 the dash T 614 00:21:34,440 --> 00:21:35,380 it's running 615 00:21:35,380 --> 00:21:36,800 it has to do with the threading 616 00:21:36,800 --> 00:21:37,720 to see if it times out 617 00:21:37,720 --> 00:21:39,560 a lot of these things will just continue to work 618 00:21:42,580 --> 00:21:43,900 there's a time out option in there 619 00:21:43,900 --> 00:21:45,860 and then just the director 620 00:21:45,860 --> 00:21:48,440 you can either select a specific vCard 621 00:21:48,440 --> 00:21:50,920 or vCard Blaster will generate one for you 622 00:21:50,920 --> 00:21:53,080 and then send that information on 623 00:21:53,080 --> 00:21:54,880 so that's pretty much what's going on here 624 00:21:54,880 --> 00:21:57,440 I have a string that I gave it 625 00:21:57,440 --> 00:21:58,000 big brother 626 00:21:58,580 --> 00:22:01,120 and it's randomly generating text after that 627 00:22:01,120 --> 00:22:02,660 so that it won't prompt the user 628 00:22:02,660 --> 00:22:04,500 to replace the current contact 629 00:22:04,500 --> 00:22:06,080 so this one 630 00:22:06,080 --> 00:22:08,900 I wish I could show how quick it runs 631 00:22:08,900 --> 00:22:10,760 once they initially connect 632 00:22:10,760 --> 00:22:12,160 it's you know 633 00:22:12,580 --> 00:22:14,080 milliseconds to copy these over 634 00:22:14,080 --> 00:22:15,640 so you can fill up a contact list 635 00:22:15,640 --> 00:22:16,880 pretty darn quick 636 00:22:18,520 --> 00:22:20,160 yeah the live demo thing 637 00:22:20,160 --> 00:22:21,320 not going to happen 638 00:22:22,160 --> 00:22:24,720 Blooper is actually a very similar 639 00:22:25,840 --> 00:22:26,940 type of program 640 00:22:26,940 --> 00:22:28,700 it's exactly the same 641 00:22:28,700 --> 00:22:30,320 except for it's not vCards 642 00:22:30,320 --> 00:22:31,820 it's any type of other file 643 00:22:32,360 --> 00:22:34,160 so the process for sending these files 644 00:22:34,160 --> 00:22:35,320 is exactly the same 645 00:22:35,320 --> 00:22:38,120 however when it gets on the PDA side 646 00:22:38,120 --> 00:22:39,480 they know that vCards 647 00:22:39,480 --> 00:22:40,900 are supposed to be interpreted this way 648 00:22:42,900 --> 00:22:44,420 and the rest of them 649 00:22:44,420 --> 00:22:45,200 are like for download 650 00:22:45,200 --> 00:22:47,580 so it's basically the same principle 651 00:22:47,580 --> 00:22:47,880 except 652 00:22:53,800 --> 00:22:55,640 not to single you out or anything 653 00:22:55,640 --> 00:22:57,100 I'll just hold on here 654 00:22:57,700 --> 00:22:59,320 so it's the same principle 655 00:22:59,320 --> 00:23:02,720 but it has a different kind of denial of service 656 00:23:02,720 --> 00:23:04,320 well I guess it's similar 657 00:23:04,320 --> 00:23:05,540 as the first one I mentioned 658 00:23:07,000 --> 00:23:08,020 what it does 659 00:23:08,020 --> 00:23:10,760 is I found on specific devices 660 00:23:10,760 --> 00:23:11,380 um 661 00:23:12,580 --> 00:23:13,540 actually this specific device 662 00:23:13,540 --> 00:23:16,080 that what happened is normally 663 00:23:16,080 --> 00:23:17,580 when you want to transfer a file 664 00:23:17,580 --> 00:23:18,720 and some of you might have done this 665 00:23:18,720 --> 00:23:19,500 through Bluetooth before 666 00:23:19,500 --> 00:23:22,200 you say you either need to make a connection 667 00:23:22,200 --> 00:23:23,220 so somebody wants to connect 668 00:23:23,220 --> 00:23:24,440 and then you connect and then it says 669 00:23:24,440 --> 00:23:25,860 okay now I want to transfer a file 670 00:23:25,860 --> 00:23:28,160 or it says you know Bob is transferring a file to you 671 00:23:28,160 --> 00:23:29,080 do you accept? 672 00:23:29,300 --> 00:23:31,400 when you click accept it starts downloading it 673 00:23:31,400 --> 00:23:33,360 I found on a particular device 674 00:23:33,360 --> 00:23:36,860 that what it actually did was it would cache the file 675 00:23:36,860 --> 00:23:39,180 and then prompt the user for the download 676 00:23:42,580 --> 00:23:43,220 which is very difficult 677 00:23:43,220 --> 00:23:45,500 and I haven't actually found how it caches it 678 00:23:45,500 --> 00:23:46,640 or where it caches it 679 00:23:46,640 --> 00:23:47,960 but it caches it nonetheless 680 00:23:47,960 --> 00:23:50,120 and that's before it prompts the user 681 00:23:50,120 --> 00:23:51,580 that the interaction is going on 682 00:23:51,580 --> 00:23:53,220 that's assuming a couple things 683 00:23:53,220 --> 00:23:54,760 like it allows anonymous connections 684 00:23:54,760 --> 00:23:57,660 so this is only one specific device 685 00:23:57,660 --> 00:23:58,740 that I've tested it on 686 00:23:58,740 --> 00:24:00,120 it might work on a lot of others 687 00:24:00,120 --> 00:24:02,040 I really just haven't had any funding 688 00:24:02,040 --> 00:24:03,920 to test a whole list of things 689 00:24:03,920 --> 00:24:05,880 and people don't like giving me their phones anymore 690 00:24:05,880 --> 00:24:07,040 for some reason 691 00:24:12,580 --> 00:24:14,340 you can fill up a disk of a device 692 00:24:14,340 --> 00:24:16,440 with a low disk space 693 00:24:16,440 --> 00:24:19,120 and this one works a lot better 694 00:24:19,120 --> 00:24:19,920 because the vCard one 695 00:24:19,920 --> 00:24:22,340 you might have 20 lines of text you're sending 696 00:24:22,340 --> 00:24:24,060 this one you can actually 697 00:24:24,760 --> 00:24:25,200 generate 698 00:24:25,200 --> 00:24:28,000 you can generate 699 00:24:28,000 --> 00:24:30,020 a file of whatever size you want 700 00:24:30,020 --> 00:24:30,600 and send that 701 00:24:31,360 --> 00:24:33,460 so you can send a specific file if you want 702 00:24:33,460 --> 00:24:34,320 which is fine by me 703 00:24:34,320 --> 00:24:36,140 but I thought I would just offer 704 00:24:36,140 --> 00:24:38,060 to randomly generate a file 705 00:24:38,060 --> 00:24:39,740 because what's important here isn't the file 706 00:24:42,580 --> 00:24:43,380 but the disk space 707 00:24:43,380 --> 00:24:46,940 so you can generate a file of 10 kilobytes 708 00:24:46,940 --> 00:24:48,700 or 5 gig 709 00:24:48,700 --> 00:24:49,560 if you really wanted to 710 00:24:49,560 --> 00:24:52,100 5 gig over bluetooth would take forever 711 00:24:52,100 --> 00:24:54,200 bluetooth is not designed 712 00:24:54,200 --> 00:24:55,520 for heavy use 713 00:24:55,520 --> 00:24:57,300 you don't want to pass an ISO over bluetooth 714 00:24:57,300 --> 00:24:59,700 that generally would not go very well 715 00:24:59,700 --> 00:25:02,260 it's a very low data rate compared to 716 00:25:03,060 --> 00:25:03,640 wifi 717 00:25:03,640 --> 00:25:06,680 it's 2 megabits slash 3ish megabits 718 00:25:07,500 --> 00:25:08,400 and that's 719 00:25:08,400 --> 00:25:09,900 theoretical max stuff 720 00:25:09,900 --> 00:25:12,020 so it does take a while 721 00:25:12,580 --> 00:25:13,480 but one caveat of this thing 722 00:25:13,480 --> 00:25:14,820 of this attack is 723 00:25:14,820 --> 00:25:17,040 you really have to be next to somebody 724 00:25:17,040 --> 00:25:18,440 for a very very long time 725 00:25:18,440 --> 00:25:21,360 this isn't going to be very effective at a coffee shop 726 00:25:21,360 --> 00:25:22,640 you're going to have to 727 00:25:22,640 --> 00:25:24,480 if you're going to be performing this attack 728 00:25:24,480 --> 00:25:26,960 it's got to be a device that's around 729 00:25:26,960 --> 00:25:29,280 for an extended period of time 730 00:25:29,280 --> 00:25:31,220 hours, maybe a day 731 00:25:32,260 --> 00:25:34,280 depending on how much disk space there is 732 00:25:34,280 --> 00:25:35,440 and if the attack is effective 733 00:25:37,400 --> 00:25:38,180 oh yeah 734 00:25:38,180 --> 00:25:40,160 I put that it can cause it to crash 735 00:25:40,160 --> 00:25:41,980 so when I was testing this 736 00:25:43,340 --> 00:25:44,840 once I accidentally 737 00:25:44,840 --> 00:25:46,200 hit ok 738 00:25:46,200 --> 00:25:49,460 I sent a bunch of files at once 739 00:25:49,460 --> 00:25:51,160 you can send one file or a lot of files 740 00:25:51,160 --> 00:25:53,240 however if you want to test it with the device 741 00:25:53,240 --> 00:25:54,380 to see what's more effective 742 00:25:54,380 --> 00:25:57,000 so I started caching the files 743 00:25:57,000 --> 00:25:57,800 and then it says 744 00:25:57,800 --> 00:25:59,220 do you want to reject them 745 00:25:59,220 --> 00:26:01,220 do you want to say ok for this file 746 00:26:01,220 --> 00:26:02,600 or do you want to download them all 747 00:26:02,600 --> 00:26:05,520 and I just happened to accidentally 748 00:26:06,440 --> 00:26:07,740 click accept all 749 00:26:08,420 --> 00:26:10,800 and so long story short 750 00:26:10,800 --> 00:26:12,500 it took what was in this memory 751 00:26:12,580 --> 00:26:13,820 which was almost full 752 00:26:13,820 --> 00:26:15,020 and it tried to write it over 753 00:26:15,020 --> 00:26:16,000 into the real file system 754 00:26:16,520 --> 00:26:18,940 so we completely ran out of disk space 755 00:26:18,940 --> 00:26:21,880 and I don't know if it ran into the memory 756 00:26:21,880 --> 00:26:22,800 because a lot of these devices 757 00:26:22,800 --> 00:26:24,620 actually their hard drive space 758 00:26:24,620 --> 00:26:26,140 and their RAM are actually 759 00:26:26,140 --> 00:26:28,420 the same actual physical chip 760 00:26:29,660 --> 00:26:31,320 flash or something like that 761 00:26:31,320 --> 00:26:33,040 so what happened is 762 00:26:33,040 --> 00:26:35,360 it actually completely fried the device 763 00:26:35,360 --> 00:26:36,780 and I had to do a factory reset 764 00:26:37,600 --> 00:26:38,500 which was fun 765 00:26:38,500 --> 00:26:40,620 it took me forever to figure out what was going on 766 00:26:42,580 --> 00:26:43,100 and bringing it back up 767 00:26:43,100 --> 00:26:43,920 it would not boot 768 00:26:44,380 --> 00:26:47,060 so I actually had to do the manual factory reset 769 00:26:47,060 --> 00:26:48,280 to get that to work 770 00:26:48,280 --> 00:26:49,880 so that's a nice little attack 771 00:26:49,880 --> 00:26:51,460 when you completely break the system 772 00:26:51,460 --> 00:26:53,600 and it has to do a total factory reset 773 00:26:55,040 --> 00:26:56,920 so this is what it looks like 774 00:26:58,900 --> 00:27:01,480 I can attempt a demo over here 775 00:27:03,000 --> 00:27:03,800 yeah actually 776 00:27:03,800 --> 00:27:04,540 I'll do the demo 777 00:27:04,540 --> 00:27:05,500 and then come back 778 00:27:05,500 --> 00:27:06,480 to see what this looks like 779 00:27:07,320 --> 00:27:07,720 ... 780 00:27:08,620 --> 00:27:09,020 ... 781 00:27:12,580 --> 00:27:12,940 ... 782 00:27:15,080 --> 00:27:16,480 ... 783 00:27:19,420 --> 00:27:20,820 ... 784 00:27:23,480 --> 00:27:24,880 ... 785 00:27:24,880 --> 00:27:27,200 ... 786 00:27:30,400 --> 00:27:31,800 ... 787 00:27:31,800 --> 00:27:33,000 ... 788 00:27:35,480 --> 00:27:42,300 Thank you. Thank you, whoever out there. It's hard to see. It says Ronan's mom. Fanboy. 789 00:27:42,400 --> 00:27:46,880 Thank you. Okay. So I'm sure people have been pounding on this thing because it's a Bluetooth 790 00:27:46,880 --> 00:28:01,420 lock and I enabled Bluetooth on this. So we're going to try to run this. Let's see. So let's 791 00:28:01,420 --> 00:28:12,980 see if I can boost this up a little bit. That didn't do anything. It's a little better. 792 00:28:15,240 --> 00:28:25,340 One more. Yeah, okay. So that's the command I'm going to run against my Dell Axiom up 793 00:28:25,340 --> 00:28:30,860 here. And should have just copied and pasted that. 794 00:28:30,920 --> 00:28:31,400 I could just do that. 795 00:28:31,420 --> 00:28:33,060 If I had just copied and pasted, it would have been faster. 796 00:28:39,460 --> 00:28:54,160 No. Oh. I should. I'm actually trying to upload a file that doesn't exist. Evil file. Wait. 797 00:29:02,280 --> 00:29:10,200 Oh. That's not good. Okay. Well, that didn't work at all. I don't know. I know why I haven't 798 00:29:10,200 --> 00:29:15,760 updated this system. I apologize for that. But the attack would have looked exactly like 799 00:29:15,760 --> 00:29:20,940 this. So that's actually the system's fault. The program should work fine. I guess I should 800 00:29:20,940 --> 00:29:24,700 mention that a lot of these are actually generating a script internally. So that's 801 00:29:24,700 --> 00:29:27,520 why actually that failed because I didn't include some of the code. I actually just 802 00:29:27,520 --> 00:29:31,400 ended up bundling it into a script. The new versions that I'm working on right now will 803 00:29:31,420 --> 00:29:35,960 have everything in it so you don't have to install some of these tools, some of these 804 00:29:35,960 --> 00:29:39,800 additional packages. And that's the reason that failed right now. But anyway, so what 805 00:29:39,800 --> 00:29:46,800 I have here that's hard to see is it's going through 500 iterations and it's using a file 806 00:29:47,380 --> 00:29:53,860 that I'm generating of size 10,000. And you can select the file name, the current file 807 00:29:53,860 --> 00:29:59,480 name, and you can ‑‑ oh, wait. Oh, yeah. Then you can tell it what the file name should 808 00:29:59,480 --> 00:30:01,400 be on the other end. Yeah. You adding a new one. You're not going to have to use the same 809 00:30:01,400 --> 00:30:03,120 So it doesn't have to be the same. 810 00:30:03,240 --> 00:30:07,360 So you just have to say that this is some sort of whatever file, maybe someone would 811 00:30:07,360 --> 00:30:10,280 accept it, actually, or something that looks nonchalant. 812 00:30:10,940 --> 00:30:15,980 And then target the device and you can kind of see the iterations, it's like five lines 813 00:30:15,980 --> 00:30:16,640 each of it. 814 00:30:16,740 --> 00:30:19,100 It finds the device, it's sending the file, and then it's done. 815 00:30:19,320 --> 00:30:21,500 But it does take quite a while for a size. 816 00:30:21,640 --> 00:30:26,780 This probably took ten minutes to send the size of a 10,000K. 817 00:30:27,900 --> 00:30:30,020 So yeah, it will take a little bit of time. 818 00:30:30,020 --> 00:30:32,900 And then on the other end, you can kind of see it has a little popup. 819 00:30:33,120 --> 00:30:38,740 That popup, you can either save all in the bottom left, that's what I clicked, and that 820 00:30:38,740 --> 00:30:40,260 was the downfall of the device. 821 00:30:40,980 --> 00:30:46,700 So this pops up there, and I imagine a user would probably notice if I send a file that 822 00:30:46,700 --> 00:30:47,640 says evil file. 823 00:30:48,880 --> 00:30:51,880 So it actually generates a counter, too, you have that option. 824 00:30:52,180 --> 00:30:55,260 So the files can look differently, and that's just how I knew how many were up there. 825 00:30:55,360 --> 00:30:56,660 If you're testing, it makes it a lot easier. 826 00:30:58,180 --> 00:30:59,880 Because another sort of denial. 827 00:30:59,880 --> 00:31:03,080 Denial of service in this, and this kind of falls into both of them. 828 00:31:03,560 --> 00:31:04,900 Popup menu, denial of service. 829 00:31:05,720 --> 00:31:09,540 If you're sending a constant stream of files that are very small, this is another option, 830 00:31:09,720 --> 00:31:11,620 and they click no, it pops right back up. 831 00:31:11,780 --> 00:31:13,180 You click no, it pops right back up. 832 00:31:13,500 --> 00:31:17,520 So unless they get away from you, they can't actually disable Bluetooth unless there's 833 00:31:17,520 --> 00:31:20,700 some hardware setting, because they can't get the start menu, because they click start 834 00:31:20,700 --> 00:31:25,760 menu and that popup is, you know, a higher priority than the start menu. 835 00:31:25,960 --> 00:31:28,720 So all you do, and this happened to me, and I was like, no, stop, no. 836 00:31:28,720 --> 00:31:32,620 Crap, I got to go to the other side, because it kept popping up, and I couldn't actually 837 00:31:32,620 --> 00:31:35,280 do anything on the device because of the popup menus. 838 00:31:35,740 --> 00:31:38,680 So I'm sure there's all kinds of other things that can utilize that sort of an attack. 839 00:31:38,880 --> 00:31:44,060 But that did happen, and so if you really want to just annoy somebody, that's a good 840 00:31:44,060 --> 00:31:44,640 way to do it. 841 00:31:46,440 --> 00:31:49,220 Another tool I've been working on is Pwn Tooth. 842 00:31:49,900 --> 00:31:52,100 This is an attack suite, essentially. 843 00:31:52,820 --> 00:31:58,560 I've tried to bundle together some common Bluetooth attacks, other than the ones I mentioned here 844 00:31:58,720 --> 00:31:58,760 here. 845 00:31:58,800 --> 00:31:59,560 None of these are mine. 846 00:31:59,760 --> 00:32:04,260 But I figured I'd make a little bit of an easier way for certain people to do pen testing. 847 00:32:05,100 --> 00:32:12,360 There's a really good actual suite in Backtrack that's, you know, if you're a first-time user, 848 00:32:12,520 --> 00:32:13,600 you want to go that route. 849 00:32:13,920 --> 00:32:15,960 It steps you through things. 850 00:32:16,280 --> 00:32:17,580 Mine does not do a step through. 851 00:32:18,960 --> 00:32:25,120 What this is is it basically allows you to run a script, and it will scan for everything 852 00:32:25,740 --> 00:32:27,740 and only run the attacks once against it. 853 00:32:27,740 --> 00:32:30,680 So it's a binary file, but it could have been a script file. 854 00:32:31,360 --> 00:32:33,180 But it only runs the attack list once. 855 00:32:33,400 --> 00:32:37,280 You provide the list of attacks you want to launch through the tools. 856 00:32:37,660 --> 00:32:41,260 So there's no point in click or anything, or you're not just selection. 857 00:32:41,380 --> 00:32:46,480 You make this config file whatever you want, and, you know, you run those attacks against 858 00:32:46,480 --> 00:32:46,960 the devices. 859 00:32:47,100 --> 00:32:48,820 You can say one specific device. 860 00:32:48,980 --> 00:32:52,700 You can say all devices in range, and it will run all of those against it at a time. 861 00:32:52,980 --> 00:32:54,520 I don't do any report generation. 862 00:32:55,180 --> 00:32:57,260 I probably won't do any report generation. 863 00:32:57,320 --> 00:32:57,720 I'm not sure. 864 00:32:57,740 --> 00:32:58,160 Maybe. 865 00:32:58,820 --> 00:32:59,180 Possibly. 866 00:32:59,340 --> 00:33:02,160 So all you get is the output of the actual attack. 867 00:33:02,300 --> 00:33:02,940 It's not going to tell you. 868 00:33:03,140 --> 00:33:08,680 I'm not going to provide the information that says this succeeded, this failed, whatever. 869 00:33:09,400 --> 00:33:13,680 But it's mostly there to make ‑‑ I worked on a project where I had to run a lot of 870 00:33:13,680 --> 00:33:17,820 attacks ‑‑ excuse me ‑‑ I had to run attacks a lot of times against a device, 871 00:33:18,020 --> 00:33:21,780 and then have to type in the Mac every time, and it got to be a little bit of a pain. 872 00:33:22,000 --> 00:33:24,600 So this is more just the automatic way to do things. 873 00:33:26,040 --> 00:33:26,400 Yeah. 874 00:33:26,400 --> 00:33:27,620 So here's the config file. 875 00:33:27,980 --> 00:33:32,480 The configuration file uses a star as a wild card, and that's where it inserts the Mac 876 00:33:32,480 --> 00:33:32,700 address. 877 00:33:33,160 --> 00:33:36,940 So a lot of them will tell you this is where, you know, the Mac address should be when you're 878 00:33:36,940 --> 00:33:37,700 running the command. 879 00:33:38,060 --> 00:33:41,260 That's basically all it really does, other than it could just be a bash script except 880 00:33:41,260 --> 00:33:43,500 for that it scans and only runs it once. 881 00:33:45,580 --> 00:33:53,500 This is the default area where the file is installed, and it will ‑‑ you can run 882 00:33:53,500 --> 00:33:55,020 it multiple times through. 883 00:33:55,120 --> 00:33:56,380 So you can say I want to actually run it multiple times. 884 00:33:56,380 --> 00:33:59,520 If you want to actually run this script as many times as you want, then it will do the 885 00:33:59,520 --> 00:34:00,220 attacks for you. 886 00:34:00,740 --> 00:34:06,280 And that's just an example of the specific log file that you want to log the information 887 00:34:06,280 --> 00:34:09,540 out to, and just scanning it ten times. 888 00:34:09,800 --> 00:34:12,300 So you can specify a different configuration file if you want. 889 00:34:12,500 --> 00:34:17,260 But this just makes your life a little bit easier if you're going to be running lots 890 00:34:17,260 --> 00:34:21,520 of attacks against a single device or in an area of devices, if you're going to be pen 891 00:34:21,520 --> 00:34:25,400 testing at your business and you want to see what vulnerabilities are out there and you're 892 00:34:25,400 --> 00:34:26,100 walking around with it. 893 00:34:26,380 --> 00:34:28,020 This might help you out a little bit. 894 00:34:30,520 --> 00:34:30,960 Example. 895 00:34:31,740 --> 00:34:35,220 So pound is to keep it from being read in. 896 00:34:35,600 --> 00:34:37,560 So the list comes with examples. 897 00:34:38,940 --> 00:34:40,280 It's got some default ones. 898 00:34:40,740 --> 00:34:44,440 And I tried to put some in there, some of the commands, because I know some of these 899 00:34:44,440 --> 00:34:50,780 tools, while awesome, are not as widely used, so there's not a whole lot of documentation 900 00:34:50,780 --> 00:34:55,960 and examples of things, so I tried to include examples of how to use them in a way that 901 00:34:55,960 --> 00:34:57,060 I would normally use them. 902 00:34:57,420 --> 00:35:02,280 So that should help you out if you are new to this in getting started. 903 00:35:02,540 --> 00:35:03,760 So I provided a couple of examples. 904 00:35:03,960 --> 00:35:07,840 You can add whatever you want, Bluetooth related, as long as you use the wild card, it will 905 00:35:07,840 --> 00:35:10,440 insert the address in there and run whatever you want. 906 00:35:13,160 --> 00:35:16,740 Here's a couple of project pages for the different things. 907 00:35:19,120 --> 00:35:20,740 And I'm up for Q&A. 908 00:35:23,260 --> 00:35:24,140 So anybody? 909 00:35:24,580 --> 00:35:24,860 Yeah. 910 00:35:25,960 --> 00:35:26,860 This is something I started years ago. 911 00:35:27,140 --> 00:35:31,820 I just decided to put it up there and ever since every presentation I do has a bunny. 912 00:35:32,780 --> 00:35:33,860 So yeah. 913 00:35:34,280 --> 00:35:35,540 We have any questions? 914 00:35:36,560 --> 00:35:38,700 You know what time it is. 915 00:35:38,900 --> 00:35:39,320 Good. 916 00:35:42,500 --> 00:35:43,300 Any questions? 917 00:35:43,780 --> 00:35:44,640 Nobody cares? 918 00:35:45,780 --> 00:35:46,520 All right. 919 00:35:47,240 --> 00:35:47,780 . 920 00:35:51,940 --> 00:35:55,020 So I can take that back. 921 00:35:55,160 --> 00:35:55,240 Yeah. 922 00:35:55,740 --> 00:35:59,640 You have to find it when it's non-discoverable and that's a big pain. 923 00:36:00,220 --> 00:36:04,860 There is actually some presentations, I think they did a presentation last year at DEF CON 924 00:36:04,860 --> 00:36:12,020 and then at SMUCON using a US SRP to monitor the bandwidth ‑‑ sorry, monitor the frequencies 925 00:36:12,700 --> 00:36:14,180 and getting it that way. 926 00:36:14,340 --> 00:36:15,700 But that's frequency analysis. 927 00:36:16,220 --> 00:36:19,040 So you can discover devices there and you might be able to pull out the Mac and it's 928 00:36:19,040 --> 00:36:20,360 very complicated and long. 929 00:36:21,560 --> 00:36:27,800 But Red Fang is a great option to find non‑discoverable devices but it takes so long it's not terribly 930 00:36:27,800 --> 00:36:28,240 practical. 931 00:36:29,280 --> 00:36:33,960 Yeah, actually we've got some Hackers for Charity free swag here if anybody wants it. 932 00:36:34,040 --> 00:36:35,120 You can come on up and throw some, too. 933 00:36:35,500 --> 00:36:36,560 People want this stuff? 934 00:36:36,960 --> 00:36:38,600 All right, I'm going to see how far I can get out. 935 00:36:42,140 --> 00:36:43,260 Almost to the back. 936 00:36:44,060 --> 00:36:44,460 Deflected. 937 00:36:47,020 --> 00:36:49,060 All right, I'm going to be in room 114. 938 00:36:49,080 --> 00:36:50,340 If you have questions about that. 939 00:36:50,340 --> 00:36:51,460 Or maybe about this.