WEBVTT

00:00.000 --> 00:00.600
All right.

00:00.600 --> 00:03.020
So I guess I'm ready to get started.

00:03.240 --> 00:14.140
Anybody who attended my presentation yesterday knows that we are off to a terrific start because the actual PowerPoint presentation has come up there, or the open office presentation.

00:14.220 --> 00:16.200
Yesterday I spent ten minutes getting that done.

00:16.200 --> 00:17.060
So, yes.

00:20.380 --> 00:22.140
Yay to not fail.

00:22.320 --> 00:22.720
Okay.

00:22.720 --> 00:27.340
So I am ‑‑ my presentation is breaking Bluetooth by being bored.

00:27.820 --> 00:33.080
My name is Ronan and this is DEF CON 2010‑18.

00:33.280 --> 00:38.000
So the title comes from my research.

00:38.000 --> 00:39.100
I'm a graduate student.

00:39.100 --> 00:40.320
I'll talk about that in just a second .

00:40.320 --> 00:47.460
But the title comes from I feel like my best ideas hacking wise almost always come when I'm incredibly bored.

00:47.460 --> 00:49.820
So like math class is awesome.

00:49.880 --> 00:51.520
Long drives are great.

00:52.620 --> 00:53.880
Airplane rides.

00:53.880 --> 00:58.020
I actually developed one of these tools last year on the flight to DEF CON.

00:58.620 --> 01:00.180
Because what are you going to do in the air?

01:00.300 --> 01:03.600
So that's the reason behind the title.

01:03.960 --> 01:06.680
About me, I'm a graduate student at Virginia Tech.

01:07.120 --> 01:10.620
My thesis is actually on Bluetooth security.

01:10.640 --> 01:14.220
So these are a couple of tools I've developed while doing my research.

01:14.220 --> 01:16.440
But it's a much broader scope of things.

01:16.500 --> 01:21.260
And my website where all this stuff is going to be posted is hack from a cave.com.

01:21.380 --> 01:22.320
I'm graduating soon.

01:22.320 --> 01:23.080
Looking for a job.

01:23.080 --> 01:23.940
I had to do that plug.

01:23.940 --> 01:24.440
I'm sorry.

01:24.440 --> 01:25.500
Shameless plug.

01:25.500 --> 01:30.980
So if this goes well, which already started off well, see me afterward.

01:31.500 --> 01:33.180
Moving on to the important stuff.

01:33.180 --> 01:33.940
Bluetooth.

01:33.940 --> 01:35.740
I'm going to give just a brief over.

01:35.740 --> 01:39.580
I'm sure most people here know if you're in this talk because you're interested in Bluetooth.

01:39.580 --> 01:43.200
But Bluetooth is a short range technology.

01:43.200 --> 01:44.880
So Wi‑Fi generates a lot of power.

01:44.880 --> 01:48.640
Bluetooth is supposed to be basically they call it a cable replacement.

01:48.920 --> 01:50.160
It's low power.

01:50.380 --> 01:55.060
Designed perfectly for smart phones or PDAs.

01:56.360 --> 01:58.580
It creates an ad hoc Pico net.

01:58.820 --> 02:07.160
So while most of us end up pairing just two devices, you can pair more than that in the Pico net and have devices communicate with each other.

02:07.160 --> 02:11.540
But most of the time you're pairing a headset to a smartphone or something like that.

02:11.540 --> 02:12.960
But it can do more.

02:13.400 --> 02:16.820
And it's a very highly growing technology.

02:17.180 --> 02:20.320
The Bluetooth website, and this was a couple years ago actually.

02:20.320 --> 02:26.980
I think 2006 posted that there are over 1 billion Bluetooth devices in the world right now.

02:26.980 --> 02:28.980
Or Bluetooth enabled devices.

02:29.800 --> 02:32.460
So that's a little bit of Bluetooth.

02:32.460 --> 02:34.120
Now we're going to the fun stuff.

02:35.160 --> 02:40.780
So part of how Bluetooth communicates is they have a Bluetooth profile.

02:40.980 --> 02:44.460
You're probably very familiar with it through the access point side of things.

02:44.460 --> 02:51.040
Wi‑Fi access points have a very similar style where you have a device address, which is the Mac address.

02:51.040 --> 02:56.560
You have a device class in this case, which describes what the device is.

02:56.560 --> 03:00.940
So it tells you if it's a phone or if it's a phone slash smartphone.

03:00.940 --> 03:03.300
It gives you a little bit of information about the device.

03:03.300 --> 03:06.160
And the device name can be anything you want it to be.

03:07.720 --> 03:11.960
So cloning that information is doable.

03:12.260 --> 03:13.640
And this isn't something that I created.

03:13.640 --> 03:16.020
This has been done years in the past.

03:16.180 --> 03:20.820
But all you have to do is, you know, the first two, the class and the name, easy to do.

03:20.980 --> 03:24.420
The other one, the device address, you have to have some certain chip sets.

03:24.420 --> 03:26.600
The CSR chip sets are great.

03:26.860 --> 03:29.720
You scan for a device, you get it, you can clone it.

03:30.580 --> 03:33.020
Or you could change your profile.

03:33.020 --> 03:34.820
It's the same as like Mac spoofing.

03:35.060 --> 03:43.440
So if you ever do Mac spoofing, you do the same thing where you generate a new Bluetooth profile and now you've obfuscated who you are or what your device is.

03:44.300 --> 03:48.300
So the previously, the method for doing this was just manual.

03:48.300 --> 03:51.920
I mean, so you'd have to scan for a device, you have to manually change settings.

03:51.920 --> 03:58.620
So I created spoof tooth as a way to automatically do a lot of these things and it does a little bit more.

04:00.420 --> 04:03.900
So it's impersonations.

04:03.920 --> 04:06.660
You can actually pretend to be somebody else.

04:06.660 --> 04:15.780
Or something I didn't really intend when I wrote it was actually to observe devices in range and actually log that.

04:15.840 --> 04:19.500
So I'm going to go through a couple of different modes that spoof tooth has right now.

04:20.000 --> 04:22.520
The first one is a basic scan.

04:22.520 --> 04:25.340
So what it's doing is it's using the dash I.

04:25.340 --> 04:30.520
The HCI zero is like a WLAN for everybody who's Linux-y and does IF config.

04:30.660 --> 04:33.240
This is HCI config and it's got the same kind of thing.

04:33.240 --> 04:34.480
So that's the interface.

04:34.660 --> 04:36.280
And it's scanning and dumping it to the log.

04:36.280 --> 04:39.820
So basically just scanning the local area and dumping everything to the log.

04:39.820 --> 04:41.160
I should have mentioned this before.

04:41.160 --> 04:42.140
I forgot to.

04:42.500 --> 04:44.240
Bluetooth has two modes.

04:44.360 --> 04:46.340
Discoverable and nondiscoverable mode.

04:46.480 --> 04:48.300
It will function in both.

04:48.640 --> 04:51.420
And this is the key for securing it.

04:51.720 --> 04:54.100
You want to have it in nondiscoverable mode.

04:54.100 --> 04:57.620
The only reason to have it in discoverable is for initial pairing.

04:57.860 --> 05:02.100
So you want the two devices to connect and once they know about each other, they have the information.

05:02.100 --> 05:05.460
They don't need to scan for each other after that.

05:05.480 --> 05:07.880
So then you turn the device into nondiscoverable.

05:07.880 --> 05:11.600
So this only finds devices in discoverable mode.

05:11.640 --> 05:18.920
It's not like you might be familiar with the tool red thing if you're a big Bluetooth hacker which tries to find devices that are in nondiscoverable mode.

05:18.920 --> 05:21.100
This is only for discoverable mode devices.

05:21.580 --> 05:21.920
Okay.

05:21.920 --> 05:22.980
So moving on to mode 2.

05:22.980 --> 05:25.880
Mode 2 is actually just a randomly generated profile.

05:26.280 --> 05:29.880
So you really want to obfuscate and you don't want to actually have to think about anything.

05:29.980 --> 05:34.800
You just type the dash R flag and it creates you an entirely new profile for your device.

05:36.360 --> 05:41.980
An Easter egg that I didn't actually put in the documentation kind of on purpose because I wanted to release something at DEF CON.

05:42.380 --> 05:51.100
If you change from the dash lowercase R to dash uppercase R, I have a list of all kinds of science fiction names instead of normal names.

05:51.100 --> 05:58.300
The previous one took the common most, the top 100 first and last names and generates it from that.

05:58.300 --> 06:08.420
This will take your favorite science fiction characters so you can be Yoda's phone or Malcolm Reynolds peripheral or Bender bending Rodriguez's audio video device.

06:09.380 --> 06:10.480
So now you know.

06:10.860 --> 06:12.740
Mode 3.

06:15.820 --> 06:22.900
Oh, this mode is where you actually get to specify the information you want to change your device information to.

06:23.100 --> 06:25.420
So this is a little more of the manual side of things.

06:25.420 --> 06:29.360
So new name, the device address and the device class.

06:29.460 --> 06:32.280
Not all, you can't just put anything for the device class.

06:32.280 --> 06:34.400
I mean, you could and it will just say unknown.

06:34.800 --> 06:41.920
So if you are going to put something in there, you know a little bit how the device class works, which I'm not going to really go into too much today.

06:42.740 --> 06:50.140
Mode 4 is, oh, it's a load, previously a log scan.

06:50.140 --> 06:58.260
So if you want to scan, save for later, log it in, make one of the selections and clone that device later on, you can do that.

06:58.420 --> 07:02.520
And the last one is for, is the incognito mode.

07:02.940 --> 07:06.680
You can have spoof to randomly generate a profile every X number of seconds.

07:06.780 --> 07:11.900
So if you don't want to be seen, you can keep changing your profile.

07:11.900 --> 07:14.240
This will mess up persistent connections.

07:14.320 --> 07:16.760
So don't think you're going to be connected to something and keep changing that.

07:16.760 --> 07:17.680
It will mess it up.

07:17.680 --> 07:22.200
But if you're just running these scans or whatever, it will change your information.

07:23.320 --> 07:26.300
Yeah, every, this one is set to 10, every 10 seconds.

07:27.060 --> 07:29.220
So this is what the interface looks like.

07:30.640 --> 07:32.060
Pretty straightforward.

07:32.060 --> 07:36.020
It will, you run the scan, it pops up with this menu.

07:36.020 --> 07:38.100
It will list all the devices there.

07:38.380 --> 07:41.960
I'm not that great with the interface programming so far.

07:41.960 --> 07:48.780
So instead of having nice little, it's similar to how Kismet, the menu interface is for Kismet, except I know a lot less.

07:48.940 --> 07:52.380
So instead of having nice little arrows and stuff, you have to type in characters.

07:52.380 --> 07:53.180
So sorry about that.

07:53.180 --> 07:57.080
Maybe in a future version it will be a little more slicker interface.

07:57.540 --> 08:00.660
So yeah, that's showing you four of the scans.

08:00.660 --> 08:02.620
You can see there's a couple pages at the bottom.

08:02.740 --> 08:04.560
So you just previous, next.

08:04.560 --> 08:14.260
And it will show the rest of the scans, which I have obfuscated people's names and the classes, sorry, the address in this slide.

08:14.720 --> 08:21.980
But we'll show you real quick a live demo of who's in this room.

08:24.540 --> 08:25.380
All right.

08:27.480 --> 08:28.720
Can you guys hear me clicking?

08:28.720 --> 08:29.760
Is that really loud out there?

08:29.760 --> 08:30.680
It sounds really loud.

08:30.680 --> 08:31.160
Here.

08:34.310 --> 08:35.070
Okay.

08:35.590 --> 08:39.170
This is actually, I don't know if it's going to pick up, it might pick up stuff up here.

08:39.550 --> 08:42.090
Because actually I'm not hooking it up to a long range device.

08:42.090 --> 08:45.310
So Bluetooth has three different classes.

08:45.730 --> 08:46.410
Yeah.

08:46.410 --> 08:46.950
Okay.

08:47.250 --> 08:47.790
Popped up.

08:47.790 --> 08:48.350
Done.

08:48.790 --> 08:51.710
One thing to note, so I'll go for the class first.

08:51.710 --> 08:54.970
The class of devices, there's three different ones, 1 meter, 10 meter, 100 meter.

08:55.250 --> 08:57.270
Those are somewhat accurate numbers.

08:57.670 --> 09:02.970
So if you're looking to do anything with Bluetooth, you want to get a class one because that's the longer range.

09:03.210 --> 09:09.870
So Bluetooth scanning for this, you see that the, actually no, all of these have got their names.

09:09.890 --> 09:15.030
Sometimes the scans, they have an initial scan and then a follow-up.

09:15.190 --> 09:17.590
So you can see under, I think it's four.

09:17.890 --> 09:18.110
Yeah.

09:18.110 --> 09:18.690
Device four.

09:18.690 --> 09:19.330
It says unknown.

09:19.330 --> 09:19.790
What?

09:21.610 --> 09:22.190
Oh.

09:24.330 --> 09:25.010
Sorry.

09:30.820 --> 09:31.360
Yeah.

09:31.360 --> 09:31.720
Sorry.

09:31.720 --> 09:33.700
That's going to, is that a little better?

09:34.180 --> 09:36.280
I know it's all blur and it's hard to see.

09:36.460 --> 09:40.040
I mean, it's not, it's going to mess up the menu if I do it any bigger.

09:40.040 --> 09:41.060
So sorry about that.

09:42.040 --> 09:44.460
You can kind of see it's mostly a blur.

09:44.460 --> 09:47.500
But if you notice, is it gone now?

09:47.500 --> 09:48.260
It was.

09:48.540 --> 09:53.760
Number four changed, the name changed from unknown to red team.

09:54.120 --> 09:55.160
Man, I'm getting a lot of stuff in here.

09:55.160 --> 09:57.060
I figured there would be more paranoid people.

09:57.780 --> 09:59.780
It doesn't, it isn't picking up very far.

10:00.720 --> 10:09.180
So the device, the scanning for Bluetooth, the initial scan detects the device based on the MAC address and then does a follow-up scan for the name.

10:09.480 --> 10:21.280
So some of the times if you're, you know, if you're using this to do something like war driving, you will need to be in an area where you're actually going to have a persistent amount of time with the device that you're scanning.

10:21.360 --> 10:24.020
You can, if you want to capture that information.

10:24.040 --> 10:31.100
Because it takes ten seconds to a minute to complete a scan.

10:31.240 --> 10:33.480
The initial scan is actually very, very quick.

10:33.480 --> 10:36.380
But the follow-up scan for the name takes a long time.

10:36.420 --> 10:41.940
So if you notice that things change on there or that you're not getting the name, that's the reason why.

10:42.620 --> 10:48.730
So it's just this, this only works with discoverable devices.

10:48.730 --> 10:51.470
Sorry, he asked if it was just with discoverable devices.

10:51.470 --> 10:53.690
This only works with discoverable devices.

11:00.760 --> 11:06.080
Through this, I've actually started another project called the Bluetooth profiling project.

11:06.900 --> 11:15.220
I don't, it's similar to, if anyone is familiar with Josh Wright, he's doing a very similar project collecting a lot more information on specific devices.

11:15.220 --> 11:16.860
I'm only looking at a little bit.

11:17.580 --> 11:24.960
So what this project is, it's trying to map the MAC address range of Bluetooth devices.

11:25.380 --> 11:34.100
So for those who aren't familiar, each type of device, every manufacturer gets their own, I thought I had it in the slide.

11:34.100 --> 11:35.080
I forget exactly what it's called.

11:35.080 --> 11:42.220
But basically it's the first six characters in the MAC address are manufacturer specific.

11:42.580 --> 11:45.900
And then the rest of them are randomly given to the devices.

11:46.220 --> 11:52.220
So if you can figure out, and that range is the same on all devices of a particular type.

11:52.460 --> 12:01.200
So if you can get the range of those by, you know, you keep scanning and you find that whatever type of phone and you see, oh, well, there's a pattern here.

12:01.200 --> 12:04.480
I see that all these types of phones have, you know, between this and this.

12:04.480 --> 12:05.820
Then you can use something else

12:09.000 --> 12:11.520
to, oh, it will help out with other projects.

12:11.520 --> 12:13.020
Actually I'll talk about that in just a minute.

12:13.240 --> 12:19.440
So right now I've collected about 1,500 devices, which is surprising.

12:19.440 --> 12:23.640
It really is surprising how many devices are out there in discover mode because they really shouldn't be.

12:23.980 --> 12:26.460
I listed about 1,000 of them on my website right now.

12:26.460 --> 12:27.580
I'll try to get more.

12:30.020 --> 12:30.560
Yeah.

12:30.560 --> 12:35.260
So actually I just went into this a little bit more than on the previous slide.

12:35.660 --> 12:43.840
So, yeah, using Red Fang, as I mentioned, Red Fang finds devices in non-discoverable mode by attempting connections essentially.

12:44.780 --> 12:48.100
So it has to run through the entire list and it takes forever.

12:48.100 --> 12:53.980
Like you couldn't actually run the whole gambit in, I don't know what the number is, I don't want to quote it, but it's, you know, years and years and years and years.

12:54.180 --> 12:55.740
So this will help narrow that down.

12:55.740 --> 13:06.980
If a device, if only, you know, 1,000 models of a certain device are made and you can get that range, well, then you have a lot higher than whatever the MAC range, the possibility of MAC ranges is.

13:07.320 --> 13:13.560
The other thing is to match the model with the address.

13:15.400 --> 13:15.800
Yeah.

13:15.800 --> 13:17.540
We'll talk about more of the research.

13:18.240 --> 13:22.820
A big part of it that I've discovered is actually the disclosure of sensitive information.

13:23.160 --> 13:31.500
I feel like a lot of these, a lot of people don't realize what's being disclosed by the name of their Bluetooth-enabled device.

13:35.260 --> 13:36.460
Sorry.

13:38.060 --> 13:39.160
Yeah.

13:39.280 --> 13:41.980
So we went through this just a minute ago.

13:42.380 --> 13:45.120
The OUI, that was the number I was looking for.

13:46.120 --> 13:48.040
This is the sensitive one.

13:48.040 --> 13:56.140
So a lot of them are giving out things like the first name, the nickname, location, device model.

13:56.140 --> 14:03.480
I've seen things like URLs actually in the name because people name the computer the same name as its URL.

14:03.780 --> 14:05.720
So then you can see it that way.

14:05.840 --> 14:12.320
All kinds of stuff that, you know, I'm sure they don't know that that's the name of it or that anybody walking by can just get that information.

14:13.140 --> 14:22.000
But my findings are about 30% of Bluetooth devices that I scanned gave away an individual's first name.

14:22.020 --> 14:24.500
And that's just me scanning through them.

14:24.500 --> 14:26.500
I might not recognize a name off the bat.

14:26.500 --> 14:28.580
But that's roughly it.

14:28.580 --> 14:33.460
About 20% give out last names, locations.

14:33.460 --> 14:39.320
The device model, I consider that sensitive information only for exploitation purposes.

14:39.420 --> 14:43.920
So if you know what the device is, then you can target your attacks.

14:44.560 --> 14:47.620
So that's, you know, but I understand naming it that way.

14:47.620 --> 14:50.000
I'm not saying don't name the device whatever.

14:50.100 --> 14:55.000
But it is possibly sensitive information if people are going to try to exploit a particular device.

14:55.000 --> 14:59.700
You change the name to something else other than, as I said, the Mac range figuring out that way.

14:59.700 --> 15:03.220
It makes it very difficult to determine what the device is right off the bat.

15:06.380 --> 15:07.040
Contributing.

15:07.040 --> 15:09.900
I'd love to have an enormous list of profiles.

15:09.900 --> 15:13.720
The more people contribute, the better, the better, the more accurate things will be.

15:15.300 --> 15:17.440
There's a couple caveats to that.

15:17.780 --> 15:20.360
So I wanted the name, the address in the class.

15:20.360 --> 15:21.240
No more or less.

15:21.240 --> 15:22.420
I don't care where you got it.

15:22.420 --> 15:23.620
I don't care how you got it.

15:23.700 --> 15:26.200
Just as long as you post those three things.

15:26.320 --> 15:28.240
I want to sanitize the information.

15:28.520 --> 15:30.440
It is publicly available information.

15:30.440 --> 15:32.320
So there should be no problem with it.

15:32.320 --> 15:40.220
But just to be nice, sanitizing things like the name, anything that looks like a name, replace it.

15:40.460 --> 15:49.200
The place information or other is a category that if you're like, this might be sensitive, I wonder if I could ask him, just replace it with other.

15:49.200 --> 15:55.140
It's not that important to have the name for everything except for, as I said, the statistics earlier.

15:55.140 --> 15:58.120
That's most of the reason why I don't just replace the name right off the bat.

15:58.120 --> 16:01.380
It could help with some other research down the road.

16:01.520 --> 16:07.620
So I've created a forum on my website where people can just post the logs that they find.

16:07.620 --> 16:13.460
And I will update the full list as I get more posts.

16:14.640 --> 16:17.060
So here's my nice little DEF CON list.

16:18.260 --> 16:21.060
I thought this would bring the home.

16:21.060 --> 16:23.300
I phrased that completely wrong.

16:24.420 --> 16:26.260
So this is just a couple of them.

16:26.260 --> 16:28.120
I've been scanning all of DEF CON.

16:28.180 --> 16:31.360
Congratulations, people do actually do hacking stuff at DEF CON.

16:31.760 --> 16:41.860
And if you thought you turned off your Bluetooth device, I see some people in the audience right now that are like, yeah, wait, I think my phone's Bluetooth is off, but, you know.

16:42.140 --> 16:44.660
Yeah, I don't know how many clicks, I didn't get a list.

16:44.900 --> 16:48.440
I'm going to go with about 250 different profiles that I found here.

16:48.700 --> 16:50.800
And I wasn't even, this wasn't like an effort I made.

16:50.800 --> 16:53.240
I didn't try to get every room or go all around.

16:53.240 --> 16:55.680
It's mostly been sitting in the hackers or charity booth.

16:55.880 --> 17:01.800
So if you went to the vendor area, you probably got scanned there or walking around a little bit.

17:01.800 --> 17:03.560
So this is just a couple of them.

17:03.680 --> 17:06.240
I like fail phone.

17:07.100 --> 17:07.820
Clever naming.

17:07.820 --> 17:10.960
I removed the star, star, star is actually people's real names.

17:11.540 --> 17:14.520
And you can see what devices give those out.

17:15.040 --> 17:16.860
This is, yeah, as I said, just a couple.

17:16.860 --> 17:23.400
So, you know, be aware that whatever you name it, if you don't know what you've named it, it's probably giving something out.

17:24.480 --> 17:31.900
I mean, if it, you know, if you rename it to fail phone, okay, well, obviously you took the effort and you know it's going to be named.

17:31.900 --> 17:35.140
But if you don't know what it's named, you might want to check that out.

17:37.900 --> 17:42.620
And I meant to say this list was inspired by the wall of sheep guys.

17:42.620 --> 17:45.500
So I'm going to be posting some of this stuff with them later on.

17:45.620 --> 17:46.960
So this is a short list.

17:46.960 --> 17:51.120
If you want to see that you were scanned, you might want to check out the wall of sheep a little later.

17:52.180 --> 17:54.040
So that's the obfuscation side.

17:54.160 --> 17:57.860
That's the, you know, data collection and everything like that.

17:57.860 --> 18:01.560
Now we'll get into the offensive side of things.

18:02.940 --> 18:03.960
So a V card.

18:03.960 --> 18:07.400
So this is one of the tools that I'm working on called V card blaster.

18:07.620 --> 18:11.400
A V card is a virtual business card, essentially.

18:11.460 --> 18:13.040
You probably have used them before.

18:13.040 --> 18:17.120
A lot of places have them for download or information on people.

18:17.360 --> 18:19.380
It works, syncs up with like Outlook.

18:19.380 --> 18:20.640
It creates the profile.

18:20.640 --> 18:22.640
So if you, for your contact list.

18:22.820 --> 18:24.580
And it's heavily used in Bluetooth.

18:24.740 --> 18:32.160
A lot of the Bluetooth enabled phones will be able to share things over V cards, which makes things a lot easier instead of all the business cards going around.

18:32.160 --> 18:36.520
You just sync up your devices, send it over, and life is good.

18:37.760 --> 18:46.400
But some of them that allow it, sometimes it will come up with a prompt that says, would you like to allow this V card?

18:46.400 --> 18:48.400
And you're like, oh, yeah, sure, I just met that guy.

18:48.540 --> 18:51.580
Or we need to pair before you can send that over.

18:51.700 --> 18:55.120
Some of them, however, don't do that for this particular feature.

18:55.480 --> 19:02.100
And I can understand why in the development of it, they decided, oh, well, obviously, if you're just going to send a V card over, there's nothing bad about it.

19:02.680 --> 19:04.620
But there could be.

19:04.760 --> 19:14.500
What V card blaster does is it allows you to send a constant stream of V cards to a particular device.

19:14.500 --> 19:16.820
Or to all devices in range.

19:17.680 --> 19:20.480
One, a couple different things, let's see.

19:21.240 --> 19:21.720
Yeah.

19:22.620 --> 19:24.980
A couple different things this can do.

19:25.320 --> 19:28.260
One is potentially fill up the disk drive.

19:28.260 --> 19:36.200
V cards, while they can just contain e-mail or your name or your phone number, they can actually contain a lot more than that, like images.

19:36.700 --> 19:50.440
So if you could send a constant stream of V cards with very large file types, you could potentially fill up the disk of something that's a very small PDA or a PDA with a very low amount of memory or if it's partitioned memory.

19:51.280 --> 19:55.680
The other thing is you can add contacts to people's devices.

19:56.280 --> 19:59.400
So that could be interesting just to see what you want to add.

19:59.400 --> 20:13.900
The other thing is actually if you want to add a ton of random names in there, you've officially made it very hard for them to make a phone call because if the contact list had 100 people and now it's got 10,000 people in it, they're never going to find mom.

20:13.900 --> 20:15.240
Mom, mom, mom, mom.

20:15.240 --> 20:16.540
Where is it down there?

20:16.660 --> 20:21.480
And I don't know of any quick way to remove new contacts most of the time.

20:21.480 --> 20:23.660
I'm pretty sure it's a manual process.

20:23.840 --> 20:30.920
So unless they have some sort of backup of their contact list, they have to go in and manually remove all of it.

20:31.200 --> 20:35.180
Something I'm going to be working on is actually the random name generation.

20:35.180 --> 20:39.660
So that's not in there right now, but I'm going to be adding that so it will randomly generate a name.

20:40.080 --> 20:42.980
You can't have the same name on the contact list.

20:42.980 --> 20:46.600
A lot of times they'll get angry about that and say are you sure you want to replace this?

20:46.600 --> 20:49.280
And you don't want to make the user aware that this attack is going on.

20:49.540 --> 20:56.460
So I will have it so it randomly generates and doesn't double up on the name so you can fill it up that way and they look like legitimate ones.

20:56.460 --> 21:02.300
Because right now I just have a random character of strings so they can pretty much tell that it's not legit.

21:03.640 --> 21:05.500
So this is what the attack looks like.

21:06.680 --> 21:10.340
I can demo it.

21:10.360 --> 21:11.800
No, I don't have the demo one.

21:11.800 --> 21:12.700
Sorry, it's dead.

21:12.700 --> 21:13.120
My bad.

21:13.120 --> 21:15.000
But this is exactly what it would look like.

21:15.440 --> 21:18.300
So the flag's up there.

21:18.780 --> 21:21.280
Can you guys, you can't really see it that well.

21:21.280 --> 21:23.080
So I'll describe what it is.

21:23.200 --> 21:31.100
It has a JASG flag for generating dash I 20 to say run it 20 times instead of 10,000 times.

21:33.260 --> 21:38.080
The dash T, it's running, it has to do with the threading to see if it times out.

21:38.080 --> 21:41.020
A lot of these things will continue to work so it will freeze up.

21:41.360 --> 21:44.520
So you want to add a timeout option in there.

21:44.640 --> 21:53.540
And then just the director, you can either select a specific V card or V card blaster will generate one for you and then send that information on .

21:53.540 --> 21:55.500
So that's pretty much what's going on here.

21:55.760 --> 22:05.200
I have a string that I gave it, big brother , and it's randomly generating text after that so that it won't prompt the user to replace the current contact.

22:05.680 --> 22:09.520
So this one, I wish I could show how quick it runs.

22:09.520 --> 22:14.360
And once they initially connect, it's, you know, milliseconds to copy these over.

22:14.360 --> 22:17.660
So you can fill up a contact list pretty darn quick.

22:19.060 --> 22:21.940
Yeah, live demo thing, not going to happen.

22:22.240 --> 22:27.640
Blooper is actually a very similar type of program.

22:27.680 --> 22:32.420
It's exactly the same except for it's not V cards, it's any type of other file.

22:32.640 --> 22:35.900
So the process for sending these files is exactly the same.

22:36.120 --> 22:45.800
However, when it gets on the PDA side, they know that V cards are supposed to be interpreted this way and possibly other files are interpreted certain other ways and then the rest of them are like for download.

22:46.140 --> 22:47.680
So it's basically the same principle

22:53.600 --> 22:54.040
except...

22:54.040 --> 22:56.020
not to single you out or anything.

22:56.020 --> 22:57.620
I'll just hold on here.

22:58.100 --> 23:03.240
Yes, so it's the same principle, but it has a different kind of denial of service.

23:03.320 --> 23:06.080
Well, I guess it's similar as the first one I mentioned.

23:07.300 --> 23:24.720
What it does is I found on specific devices, actually this specific device, that what happened is normally when you want to transfer a file, and some of you might have done this through Bluetooth before, you say you either need to make a connection , so somebody wants to connect and then you connect and then it says,

23:24.720 --> 23:26.240
okay, now I want to transfer a file.

23:26.240 --> 23:28.640
Or it says, you know, Bob is transferring a file to you.

23:28.660 --> 23:29.420
Do you accept?

23:29.420 --> 23:31.840
When you click accept, it starts downloading it.

23:31.840 --> 23:39.820
I found on a particular device that what it actually did was it would cache the file and then prompt the user for the download.

23:40.160 --> 23:52.200
I don't know where it would cache because forensics on PDAs is very difficult and I haven't actually found how it caches it or where it caches it, but it caches it nonetheless and that's before it prompts the user that the interaction is going on.

23:52.320 --> 23:55.460
That's assuming a couple of things like it allows anonymous connections.

23:55.760 --> 23:59.180
So this is only one specific device that I've tested it on.

23:59.180 --> 24:00.460
It might work on a lot of others.

24:00.460 --> 24:07.540
I really just haven't had any funding to test a whole list of things and people don't like giving me their phones anymore for some reason.

24:08.080 --> 24:22.820
So, yeah, so what you can do is, as I mentioned before, you can fill up a disk of a device with a low disk space and this one works a lot better because the V card one, you know, you might have 20 lines of text you're sending.

24:22.820 --> 24:31.200
This one you can actually generate, yeah, you can generate a file of whatever size you want and send that.

24:31.780 --> 24:44.020
So you can send a specific file if you want, which is fine by me, but I thought I would just offer to randomly generate a file because what's important here isn't the file, it's that it's causing, it's to fill up the disk space.

24:44.100 --> 24:49.740
So you can generate a file of 10 kilobytes or, you know, 5 gig if you really wanted to.

24:49.740 --> 24:53.240
Of course, 5 gig over Bluetooth would take forever and ever and ever.

24:53.240 --> 24:55.760
Bluetooth is not designed for heavy use.

24:55.760 --> 24:58.000
You don't want to pass an ISO over Bluetooth.

24:58.140 --> 25:00.340
That generally will not go very well.

25:00.360 --> 25:04.060
It's a very low data rate compared to Wi-Fi.

25:04.060 --> 25:10.440
It's 2 megabits slash 3-ish megabits and that's, you know, like theoretical max stuff.

25:10.440 --> 25:12.320
So it does take a while.

25:12.320 --> 25:18.980
That's the one caveat of this thing, of this attack, is you really have to be next to somebody for a very, very long time.

25:19.000 --> 25:21.940
It's not going to, this isn't going to be very effective at a coffee shop.

25:22.160 --> 25:35.940
You're going to have to, if you're going to be performing this attack, it's got to be a device that's around for an extended period of time, hours, maybe a day, depending on how much disk space there is and if the attack is effective.

25:37.820 --> 25:40.680
Oh, yeah, I put that it can cause it to crash.

25:40.680 --> 25:47.940
So when I was testing this, once I accidentally hit okay, or, so it, it, it, it crashed.

25:47.960 --> 25:49.620
I sent a bunch of files at once.

25:49.620 --> 25:51.620
You can send one file or a lot of files.

25:51.720 --> 25:54.800
However, you know, if you want to test it with the device to see what's more effective.

25:55.260 --> 25:59.680
So I started, you know, caching the files and then it says, you know, do you want to reject them?

25:59.680 --> 26:03.080
Do you want to say okay for this file or do you want to download them all?

26:03.160 --> 26:08.220
And I just happened to actually, I accidentally clicked accept all.

26:08.880 --> 26:16.620
And so, long story short, it took what was in this memory, which was almost full, and it tried to write it over into the real file system.

26:17.220 --> 26:19.500
So we completely ran out of disk space.

26:20.380 --> 26:31.840
And I don't know if it ran into the memory because a lot of these devices actually, you know, their hard drive space and their RAM are actually, you know, the same actual physical chip or chip flash or something like that.

26:32.080 --> 26:38.700
So what happened is it actually completely fried the device and I had to do a factory reset, which was fun.

26:38.700 --> 26:40.880
It took me forever to figure out, you know, what was going on.

26:40.880 --> 26:42.140
It died.

26:42.200 --> 26:44.040
And then bringing it back up, it would not boot.

26:44.040 --> 26:44.980
It would not boot.

26:44.980 --> 26:48.760
So I actually had to do the manual, like, factory reset to get that to work.

26:48.760 --> 26:54.140
So that's a nice little attack when you completely break the system and it has to do a total factory reset.

26:55.180 --> 26:57.440
So this is what it looks like.

26:58.980 --> 27:01.960
I can attempt a demo over here.

27:03.160 --> 27:03.600
Yeah.

27:03.600 --> 27:06.940
Actually, I'll do the demo and then come back to see what this looks like.

27:13.660 --> 27:22.580
So to scan for a Bluetooth device in Linux, HCI tool, scan, you could use Spoof Toof.

27:22.580 --> 27:25.500
This is just quick and easy.

27:25.860 --> 27:32.460
So Spoof Toof, the advantage over just running, like, a script that will do this is that Spoof Toof only logs it once.

27:32.460 --> 27:36.440
So if you're doing a... thank you.

27:36.440 --> 27:37.640
Thank you to whoever out there.

27:37.640 --> 27:38.300
It's hard to see.

27:38.300 --> 27:39.500
It says Ronan's mom.

27:41.820 --> 27:43.340
Fan boy, thank you.

27:43.960 --> 27:44.620
Okay.

27:44.620 --> 27:49.160
So I'm sure people have been pounding on this thing because it's a Bluetooth lock and I enabled Bluetooth on this.

27:50.000 --> 27:52.520
So we're going to try to run this.

27:52.520 --> 27:53.100
Let's see.

27:59.190 --> 28:04.530
So let's see if I can boost this up a little bit.

28:05.050 --> 28:06.710
That didn't do anything.

28:11.720 --> 28:13.780
A little better.

28:15.220 --> 28:16.720
One more.

28:16.760 --> 28:17.980
Yeah, okay.

28:18.260 --> 28:26.340
So that's the command I'm going to run against my Dell Axum up here.

28:29.180 --> 28:32.240
Should have just copied and pasted that like I just did.

28:32.280 --> 28:33.720
It would have been faster.

28:40.140 --> 28:51.360
Oh, I should... I'm actually trying to upload a file that doesn't exist.

28:51.360 --> 28:53.520
Evil file.

28:54.040 --> 28:54.680
Wait.

29:02.020 --> 29:04.060
Oh, that's not good.

29:04.180 --> 29:04.440
Okay.

29:04.440 --> 29:05.540
Well, that didn't work at all.

29:07.300 --> 29:08.480
I don't know.

29:08.480 --> 29:11.160
I know why I haven't updated this system.

29:11.160 --> 29:12.560
I apologize for that.

29:13.780 --> 29:16.600
But the attack would have looked exactly like this.

29:17.020 --> 29:18.840
So that's actually the system's fault.

29:18.840 --> 29:20.420
The program should work fine.

29:20.420 --> 29:24.200
I guess I should mention that a lot of these are actually generating a script internally.

29:24.520 --> 29:25.780
So that's why that failed.

29:25.780 --> 29:27.220
I didn't include some of the code.

29:27.220 --> 29:29.560
I actually just ended up bundling into a script.

29:29.560 --> 29:37.240
The new versions I'm working on right now will have everything in it so you don't have to install some of these tools, some of these additional packages.

29:37.340 --> 29:38.940
And that's the reason that failed right now.

29:38.940 --> 29:50.840
But anyway, so what I have here that's hard to see is it's going through 500 iterations and it's using a file that I'm generating of size 10,000.

29:51.180 --> 29:56.980
And you can select the file name, the current file name, and you can ‑‑ oh, wait.

29:56.980 --> 29:57.480
Oh, yeah.

29:57.480 --> 30:01.640
And then you can tell it what the file name should be on the other end.

30:01.720 --> 30:03.320
So it doesn't have to be the same.

30:03.320 --> 30:07.020
So you just have to say that this is some sort of whatever file.

30:07.020 --> 30:10.900
Maybe someone would accept it actually or something that looks nonchalant.

30:11.020 --> 30:12.920
And then target the device.

30:12.920 --> 30:15.240
And you can kind of see the iterations.

30:15.240 --> 30:16.940
It's like five lines each of it.

30:16.940 --> 30:19.600
It finds the device, it's sending the file, and then it's done.

30:19.600 --> 30:21.740
But it does take quite a while for a size.

30:21.740 --> 30:27.360
This probably took ten minutes to send the size of a 10,000K.

30:27.760 --> 30:30.460
So, yeah, it will take a little bit of time.

30:30.460 --> 30:33.360
And then on the other end, you can kind of see it has a little pop‑up.

30:33.360 --> 30:37.920
That pop‑up, you can either save all in the bottom left.

30:37.920 --> 30:38.660
That's what I clicked.

30:38.660 --> 30:40.840
And that was the downfall of the device.

30:41.340 --> 30:42.720
So this pops up there.

30:43.060 --> 30:48.260
And I imagine a user would probably notice if I send a file that says evil file.

30:49.040 --> 30:51.380
So it actually ‑‑ it generates a counter, too.

30:51.380 --> 30:52.420
You have that option.

30:52.560 --> 30:53.820
So the files can look differently.

30:53.820 --> 30:55.500
And that's just how I knew how many were up there.

30:55.500 --> 30:57.160
If you're testing, it makes it a lot easier.

30:57.460 --> 31:05.420
Because another sort of denial of service in this, and this kind of falls into both of them, pop‑up menu denial of service.

31:05.420 --> 31:12.080
If you're sending a constant stream of files that are very small, this is another option, and they click no, it pops right back up.

31:13.620 --> 31:18.860
So unless they get away from you, they can't actually disable Bluetooth unless there's some hardware setting.

31:19.040 --> 31:20.340
Because they can't get the start menu.

31:20.340 --> 31:26.280
Because they click start menu and that pop‑up is, you know, a higher priority than the start menu.

31:26.280 --> 31:27.960
So all you do, and this happened to me.

31:27.960 --> 31:30.660
I was like, no, stop, no, crap, I got to go to the other side.

31:30.660 --> 31:35.920
Because it kept popping up and I couldn't do anything on the device because of the pop‑up menus.

31:36.020 --> 31:39.240
So I'm sure there's all kinds of other things that can utilize that sort of an attack.

31:39.260 --> 31:40.740
But that did happen.

31:40.760 --> 31:45.120
And so if you really want to just annoy somebody, that's a good way to do it.

31:46.600 --> 31:49.740
Another tool I've been working on is Pwntooth.

31:50.020 --> 31:52.640
This is an attack suite, essentially.

31:53.100 --> 31:57.160
I've tried to bundle together some common Bluetooth attacks.

31:57.260 --> 32:00.120
Other than the ones I mentioned here, none of these are mine.

32:00.120 --> 32:04.980
But I figured I'd make a little bit of an easier way for certain people to do pin testing.

32:05.480 --> 32:14.220
There's a really good actual suite in backtrack that's, you know, if you're a first‑time user, you want to go that route.

32:14.420 --> 32:16.440
It's a very ‑‑ it steps you through things.

32:16.440 --> 32:18.140
Mine does not do a step through.

32:19.100 --> 32:22.920
What this is, is it basically allows you to run a script.

32:23.300 --> 32:27.860
And it will scan for everything and only run the attacks once against it.

32:27.860 --> 32:31.260
So it's a binary file, but it could have been a script file.

32:31.420 --> 32:33.820
But it only runs the attack list once.

32:33.820 --> 32:37.920
You provide the list of attacks you want to launch through the tools.

32:38.240 --> 32:40.780
So I'm ‑‑ there's no point and click or anything.

32:41.060 --> 32:43.940
You make this config file, whatever you want.

32:44.840 --> 32:47.400
And you run those attacks against the devices.

32:47.400 --> 32:49.120
You can say one specific device.

32:49.120 --> 32:50.840
You can say all devices in range.

32:50.840 --> 32:53.240
And it will run all those against it at a time.

32:53.240 --> 32:55.280
I don't do any report generation.

32:55.500 --> 32:59.560
I probably won't do any report generation, maybe, possibly.

32:59.560 --> 33:02.360
So all you get is the output of the actual attack.

33:02.360 --> 33:09.220
It's not going to tell you ‑‑ I'm not going to provide the information that says this succeeded, this failed, whatever.

33:09.660 --> 33:18.360
But it's mostly there to make ‑‑ I worked on a project where I had to run a lot of attacks ‑‑ excuse me, I had to run attacks a lot of times against a device.

33:18.720 --> 33:22.240
And then they have to type in the Mac every time and it got to be a little bit of a pain.

33:22.320 --> 33:25.140
So this is more just the automatic way to do things.

33:26.200 --> 33:28.180
Yeah, so there's the config file.

33:28.380 --> 33:33.360
The configuration file uses a star as a wild card and that's where it inserts the Mac address.

33:33.780 --> 33:38.320
So a lot of them will tell you this is where the Mac address should be when you're running the command.

33:38.380 --> 33:39.620
That's basically all it really does.

33:39.620 --> 33:44.100
Other than it could just be a bash script except for that it scans and only runs it once.

33:45.720 --> 33:49.160
This is the default area where the file is installed.

33:49.760 --> 33:55.300
And it will ‑‑ you can run it multiple times through.

33:55.300 --> 34:00.780
So you can say I want to actually run this script as many times as you want and it will do the attacks for you.

34:01.040 --> 34:10.120
And that's just an example of the specific log file that you want to log the information out to and the scanning at ten times.

34:10.120 --> 34:12.860
So you can specify a different configuration file if you want.

34:12.860 --> 34:21.040
But this just makes your life a little bit easier if you're going to be running lots of attacks against a single device or in an area of devices.

34:21.040 --> 34:28.580
If you're going to be pin testing at your business and you want to see what vulnerabilities are out there and you're walking around with it, this might help you out a little bit.

34:30.560 --> 34:31.440
Example.

34:31.880 --> 34:35.800
So pound is to keep it from being read in.

34:36.020 --> 34:38.320
So the list comes with examples.

34:39.260 --> 34:40.980
It's got some default ones.

34:41.280 --> 34:49.800
And I tried to put some in there, some of the commands because I know some of these tools while awesome are not as, you know, widely used.

34:49.800 --> 34:52.360
So there's not a whole lot of documentation and examples of things.

34:52.360 --> 34:57.620
So I tried to include examples of how to use them in a way that I would normally use them.

34:57.760 --> 35:02.860
So that should help you out if you are new to this in getting started.

35:02.860 --> 35:04.060
So I provided a couple of examples.

35:04.060 --> 35:05.420
You can add whatever you want.

35:05.420 --> 35:06.340
Bluetooth related.

35:06.340 --> 35:11.000
As long as you use the wild card, it will insert the address in there and run whatever you want.

35:13.280 --> 35:17.480
Here's a couple of project pages for the different things.

35:18.300 --> 35:21.300
And I'm up for Q&A.

35:22.540 --> 35:23.640
So I'm going to go ahead and run this.

35:23.660 --> 35:24.720
Anybody?

35:24.740 --> 35:25.400
Yeah.

35:25.540 --> 35:27.320
It's something I started years ago.

35:27.320 --> 35:28.560
I just decided to put it up there.

35:28.560 --> 35:32.340
And then like ever since, every presentation I do has a bunny.

35:33.000 --> 35:34.460
So, yeah.

35:34.520 --> 35:36.180
We have any questions?

35:36.960 --> 35:39.180
You know what time it is?

35:39.180 --> 35:39.880
Good.

35:42.710 --> 35:43.990
Any questions?

35:44.130 --> 35:45.250
Nobody cares?

35:46.270 --> 35:46.910
All right.

35:55.830 --> 35:58.870
The problem with the, you have to find it when it's non-discoverable.

35:58.870 --> 36:00.210
And that's a big pain.

36:00.430 --> 36:02.710
There is actually some presentations.

36:02.710 --> 36:08.550
I think they did a presentation last year at DEF CON and then at SHMOO CON using a U.S.S.R.P.

36:08.570 --> 36:14.530
to monitor the bandwidth, sorry, monitor the frequencies and getting it that way.

36:14.530 --> 36:16.430
But that's frequency analysis.

36:16.590 --> 36:21.030
So you can discover devices there and you might be able to pull up the Mac and it's very complicated and long.

36:21.890 --> 36:25.710
But Red Fang is a great option to finding non-discoverable devices.

36:25.730 --> 36:28.690
But it takes so long, it's not terribly practical.

36:29.590 --> 36:33.150
Yeah, actually we've got some Hackers for Charity free swag here.

36:33.330 --> 36:35.410
If anybody wants it, you can come on up and throw some to.

36:35.690 --> 36:37.010
People want this stuff?

36:37.170 --> 36:37.690
All right.

36:37.690 --> 36:39.090
I'm going to see how far I can get out.

36:42.410 --> 36:43.790
Almost to the back.

36:44.170 --> 36:44.930
Deflected.

36:47.190 --> 36:47.610
All right.

36:47.610 --> 36:51.870
I'm going to be in room 114 if you have questions about that or maybe about this.

