WEBVTT

00:00.000 --> 00:10.360
My name is Woody, and I'm going to be giving a presentation on Ford vehicles and some possible vulnerabilities, depending on how you look at it.

00:10.680 --> 00:12.240
I looked at them as vulnerabilities.

00:12.780 --> 00:19.360
Some of the engineers who I talked to from their company said, nope, works fine the way we tested, just don't do what you do.

00:20.720 --> 00:22.560
I wish I was making that up.

00:23.160 --> 00:25.640
So, I'm going to go ahead.

00:25.840 --> 00:28.040
We're getting stuff going right now.

00:28.500 --> 00:42.320
I was going to do some really good slides and put everything together, but when I thought about it, I said, you know, the last thing I want to do is sit through some long, boring process of PowerPoint presentations.

00:42.420 --> 00:44.960
So, I'm just going to do it live.

00:50.150 --> 00:58.890
I'm going to show you the exact steps that I used, how I figured it out, what tools I used, and what I used to try to make things a little easier.

00:59.230 --> 01:07.330
So, that way, you have the ability to go through the steps like I did, so you can find vulnerabilities and exploits as well.

01:07.850 --> 01:13.310
I think the biggest thing about finding exploits is just looking for them, you know?

01:13.310 --> 01:15.310
Too many people overlook stuff.

01:15.630 --> 01:25.990
When I give all the details of how I made this work, some of my buddies that are engineers, that are really good, the guys I go to for advice, they're like, why would you even do that?

01:25.990 --> 01:29.050
That doesn't make sense to even try it, but then it worked.

01:30.510 --> 01:35.470
Don't think that just because something isn't supposed to work, means it won't work, because sometimes it does.

01:35.470 --> 01:37.290
And that's what we're really going to point out here.

01:38.190 --> 01:50.010
So, we, because the way we've got this set up right now, visual, there we go, I might have a little bit of trouble seeing some of the stuff, so be patient with me.

01:50.270 --> 01:57.650
So, the first thing that we're going to talk about is, how do you start looking at and digging into these protocols, right?

01:58.710 --> 02:02.210
Well, the first thing I did was, I bought a new truck.

02:02.270 --> 02:04.710
When I got that truck, it had key fobs.

02:05.830 --> 02:08.170
Like anything, I took it apart.

02:08.530 --> 02:14.230
And when I took the key fob apart, what do you always look for when you want to start doing RF research?

02:15.470 --> 02:17.250
FCC ID.

02:17.350 --> 02:30.910
Not only did the FCC ID tell me a lot about the fob, what it looked like, internal parts, it told me the frequencies, it told me how wide it communicated at, and it made my life a lot easier.

02:31.630 --> 02:32.950
It's documented.

02:32.950 --> 02:34.930
Some of the things will be, some of them won't.

02:34.930 --> 02:36.130
Look for it and see.

02:36.910 --> 02:45.010
So, one of the things... yeah, tell me when I'm on the one that says Ford.

02:49.050 --> 02:49.690
Here?

02:50.570 --> 02:51.290
Yay!

02:51.550 --> 02:53.690
Again, I didn't realize it was going to be this far away.

02:53.690 --> 02:56.270
So, fortunately, we've got some stuff we're going to look at.

02:56.910 --> 03:04.230
So, I'm going to show you some videos real quick of how some of this stuff worked, and then we're going to talk about how it all came out.

03:06.050 --> 03:09.150
So, this is an example of vehicles locked.

03:09.830 --> 03:11.290
This was a rental car.

03:11.890 --> 03:15.590
I leave the keys on there so you know that I'm not doing anything with them.

03:16.210 --> 03:19.170
And now, I walk over to the side of the vehicle.

03:21.610 --> 03:22.330
Unlocked.

03:23.870 --> 03:29.790
So, one of the things that happens when you do this is people are going to say, well, wait a minute, I thought there was rolling code.

03:30.090 --> 03:31.650
There is rolling code.

03:31.690 --> 03:38.730
And what we're going to talk about is why rolling code is great when rolling code works and why it's not great when it doesn't work.

03:39.290 --> 03:46.130
So, we're just going to get into first, I'm going to explain a little bit about rolling code and what we're looking at when we do that.

03:46.270 --> 03:55.150
When I talk about rolling code, what I want you to think about is if I want to make something so that you can't just copy it and replay it.

03:55.350 --> 03:59.150
Because most people in the room I'm sure have heard about the old replay attacks.

04:00.330 --> 04:05.550
Well, the problem that happened is they said, you know what, we need to make it so you can't just replay the same signal.

04:05.550 --> 04:10.950
So, what happens is at the end of the signals, they'll put a code in there that changes.

04:10.950 --> 04:15.630
Now, that code is not supposed to just jump up by one because then you can just guess what the next code is, right?

04:16.390 --> 04:17.630
It's not supposed to.

04:17.630 --> 04:25.730
So, I started looking at that and I started wondering how the car's relationship worked with multiple key fobs.

04:26.510 --> 04:28.650
Well, each key fob has its own count.

04:29.250 --> 04:31.290
Now, I've played with a lot of different vehicles.

04:31.290 --> 04:37.290
The reason that I'm doing this talk on Ford is because I was able to document Ford really well because I owned one.

04:37.290 --> 04:46.450
I've done exploits on some other vehicles and when I talk about that, there's other vehicles that I've been able to own even more than the Ford.

04:52.940 --> 05:05.140
So, the way that I was able to manipulate those, I'm not going to talk about those manufacturers because I haven't been able to document it well enough to give them appropriate time to fix it.

05:05.140 --> 05:06.240
Ford, I did.

05:06.700 --> 05:16.160
So, I take the relationship between two key fobs and what happens is one will be the master, one will have a slave relationship.

05:16.160 --> 05:22.380
Whichever drove it last is typically going to be the master and the other one is going to fall into a subordinate category.

05:22.380 --> 05:40.060
With some manufacturers out there, I found that if I capture a signal from the key fob that is not being used at that time, that hasn't driven it last, it'll accept any of those codes because it doesn't look for rolling codes on the key fob other than the one that drove it last.

05:40.220 --> 05:41.200
Absolutely works.

05:41.200 --> 05:42.580
That's not what we did with Ford.

05:42.740 --> 05:47.240
I was looking for that vulnerability because I found that in other vehicles.

05:48.280 --> 05:53.700
Another trick that I use is I'll replay a whole bunch of lock sequences at a vehicle.

05:53.820 --> 06:08.920
And when you do that, there's some vehicles out there that if you start sending lock sequences to it enough times, it actually goes, hey, I'm not supposed to let people unlock me, but why would I stop someone from locking me?

06:08.920 --> 06:10.260
And then they let the car lock.

06:10.260 --> 06:16.960
And once they do, after that, that manufacturer, while the code still rolls, the car doesn't care.

06:16.960 --> 06:19.000
It'll accept any code after that.

06:19.080 --> 06:20.780
So you have permanent access.

06:21.460 --> 06:23.220
This wasn't that attack.

06:24.120 --> 06:27.840
While I was trying those, I found something strange out.

06:28.860 --> 06:32.140
And this was documented pretty well on the Hack 5 series.

06:33.380 --> 06:36.280
There's a way to do a denial of service on Ford.

06:36.280 --> 06:40.620
I want to note, at no point did I do any jamming techniques.

06:40.920 --> 06:41.700
None.

06:41.700 --> 06:43.060
I don't do jamming.

06:43.400 --> 06:46.240
What I did is I replayed the key fobs.

06:46.580 --> 06:47.440
That's it.

06:47.720 --> 06:55.740
When you replay a key fob against a Ford, Ford decided that they wanted to stop replay attacks.

06:56.660 --> 07:09.700
So if I replay, we'll say key fob A, key fob A, while you can still start the car with it, you can use the manual key, you can use the RFID feature where you walk up and it'll unlock if you have that feature in your car.

07:10.460 --> 07:11.560
That will still work.

07:11.560 --> 07:17.380
However, you won't be able to push any of the buttons because it won't accept any codes from that key fob again until you reset it.

07:17.380 --> 07:19.240
So that's the first thing I realized.

07:19.500 --> 07:25.260
If you replay, you're going to wind up getting a denial of service.

07:25.880 --> 07:31.320
So if I don't want somebody to be able to use their key fob, all I do is catch it, replay it, done.

07:31.320 --> 07:33.500
That key fob will not work again until you reset it.

07:33.500 --> 07:35.640
Don't worry, I'm going to show you how to reset it.

07:36.280 --> 07:51.440
Then I started realizing that if I then took the second key fob and I sent a signal from it, all of the old codes that I had for key fob 1 worked again.

07:52.020 --> 07:54.760
I started looking at this and I figured out what happened.

07:54.900 --> 08:04.180
When Ford deauthorizes a key fob, when you reactivate it, it resets the code count.

08:05.980 --> 08:08.220
So I was like, all right, sounds good.

08:08.340 --> 08:12.280
Now, to do denial of service, I only need one key fob.

08:12.280 --> 08:16.400
To be able to do this, I need two key fobs.

08:17.380 --> 08:18.680
Man, that's a little tougher.

08:18.680 --> 08:20.080
But I think we can work with this.

08:20.080 --> 08:21.160
We'll make it happen.

08:21.780 --> 08:24.220
So there's a couple ways to look at that.

08:24.220 --> 08:27.380
Most people have at least two keys for their vehicle, right?

08:27.540 --> 08:38.500
So if I go and drive my vehicle and then I come home and I have a spouse , they go and drive the vehicle, there's a good chance we're each going to have our own key fob.

08:38.520 --> 08:49.520
So if you live in an apartment complex or a housing area or anything else, it's not hard for people to be able to just catch the signals because I'm going to show you how I fingerprint which one comes from each.

08:50.160 --> 08:51.560
So that's not too hard.

08:52.060 --> 09:18.040
Then the other thing we realized was that as you start doing these attacks, once I catch key fob A and key fob B and I have codes from both of them and I'm going to release this weekend all the code that you're going to see up here because we made an automatic key fob grabber that you run through GNU radio so any time you hit a forward,

09:18.040 --> 09:21.200
it just records it for you and writes it out.

09:21.660 --> 09:29.560
So when we started going through and looking at it, one of the cool aspects was that now I could have either one.

09:29.560 --> 09:34.140
So hey, if I see that person A drove, now I use person B's signal.

09:34.140 --> 09:35.340
Now how do I do that?

09:35.380 --> 09:42.100
When I see person A coming out to do something, I just replay any old signal from key fob B.

09:42.100 --> 09:43.860
Key fob B is now disabled.

09:44.440 --> 09:46.700
Person B is not driving the car, person A is.

09:46.700 --> 10:06.020
So when they get to their car and they unlock it, the moment that I see the car do anything or have it automated, the moment that I see key fob 1 fire a signal, I have to make sure that within, we'll say roughly 29-ish seconds, if I hit within that window,

10:06.020 --> 10:08.340
key fob B, it's reactivated.

10:08.340 --> 10:09.460
That's how you reactivate it.

10:09.460 --> 10:13.200
You have to hit it within a certain amount of seconds of key fob 1 being hit.

10:13.200 --> 10:16.060
Once I do that, I've reset the code to zero.

10:17.000 --> 10:19.740
Every code I've caught up to that point now works.

10:20.680 --> 10:24.260
So, once we did that, I wanted to be able to automate it.

10:24.260 --> 10:25.860
I wanted to be able to see how it works.

10:26.280 --> 10:28.880
And people are like, yeah, so you can do this attack from fairly far, right?

10:28.880 --> 10:32.100
If you have key fobs, you know, you can be fairly close.

10:32.520 --> 10:43.640
Interesting thing, my Raptor, when I looked up that FCC code, it's not 315, it's not 433, it's 902 and 903.

10:43.640 --> 10:44.640
It actually broadcasts on 32.

10:44.640 --> 10:45.300
So 32 channels.

10:45.300 --> 10:49.420
We'll talk about that because that can be a little confusing at first when you're trying to demodulate.

10:50.000 --> 10:54.480
So, that means that the range is now ridiculous.

10:54.980 --> 11:00.940
The reason they do that, they want you to be able to be in the store or anything else and just be anywhere near your vehicle.

11:00.980 --> 11:04.860
You can hit the lock button twice and then hold down on remote start.

11:07.100 --> 11:10.820
Which, by the way, I capture and replay and now I start your vehicle.

11:12.120 --> 11:14.900
Don't worry, we're going to dig into some stuff funner than that.

11:15.080 --> 11:18.440
So, I was like, okay, how bad could this be?

11:18.760 --> 11:20.660
Well, my Raptor is the only one that did.

11:20.660 --> 11:23.960
I said, well, maybe this is a new feature with the cars that use the 900 band.

11:24.320 --> 11:28.280
Nope, started testing on the ones with 315, still worked.

11:28.280 --> 11:35.920
I was able to get back to about 2017 for vehicles that I tested against and every time this worked, Raptor Captor worked.

11:37.160 --> 11:42.140
Yesterday, went to the car hacking village and they have a mock-up of a 2012.

11:43.540 --> 11:45.180
So, I said, well, let's try it.

11:45.300 --> 11:57.620
Yep, all the way back to 2012, I can do a deauthorization attack to your key fob and I can replay old codes by resetting your rolling code count.

11:58.220 --> 12:02.700
So, we thought that was pretty interesting and we wanted to keep moving with it.

12:02.700 --> 12:08.800
So, when you find something like this, you got a couple roads you can go down.

12:09.180 --> 12:11.980
You can just sell it to someone, use it as an exploit.

12:12.800 --> 12:19.500
I'm a big fan of freedom and I like being able to do stuff outside of a cage, so I decided not to run down that route.

12:19.580 --> 12:20.900
So, I got a hold of Ford.

12:21.420 --> 12:35.280
Now, it was interesting when I got a hold of Ford because for almost a month, I reached out, I emailed, I sent them videos of me starting my truck remotely with a Portapak, a hack RF radio and the Portapak.

12:35.680 --> 12:36.800
This is all I needed.

12:36.800 --> 12:38.100
I didn't even need a computer.

12:38.100 --> 12:42.140
I could catch, boom, replay, done, whole thing.

12:43.780 --> 12:45.920
Finally nobody reached out to me.

12:45.920 --> 12:47.380
And I get it, they're busy.

12:47.400 --> 12:51.180
I tried going to Hacker 1, but they only had software exploits.

12:51.180 --> 12:53.880
There was nothing for hardware exploits.

12:54.200 --> 12:59.920
So, I teach open source and I'm decent at finding stuff online.

13:00.120 --> 13:01.920
So, I just found Mr.

13:02.020 --> 13:10.040
Ford's email address by some Google searches for at Ford.com and documents and sure enough, found it and I emailed him.

13:10.360 --> 13:15.540
A couple hours later, I got a phone call from an assistant who said, our cyber department will be getting a hold of you.

13:16.140 --> 13:16.960
There we go.

13:17.660 --> 13:26.420
So, when I talked to them, we finally talk and I get the engineer on the phone and I'm like, hey, here's the thing, I want to have responsible disclosure.

13:27.100 --> 13:30.520
He said, well, the first thing we're going to need you to do is to run the test like this.

13:30.520 --> 13:35.540
And he gave me the parameters, exact parameters and times of how he wanted me to test and I did it.

13:36.880 --> 13:39.640
And I said, yeah, it doesn't work if I do it like that.

13:39.640 --> 13:41.720
He goes, all right, the protocol sound.

13:44.080 --> 13:46.520
I said, yeah, but I got a lot of other ways I could do this, right?

13:46.520 --> 13:52.060
And he's like, yeah, but if you do it the way I said, it doesn't work and nobody else is going to go through the steps that you're doing.

13:52.160 --> 13:55.360
No one else is going to push two buttons in under 30 seconds.

13:55.420 --> 13:56.360
It's ridiculous.

13:57.260 --> 14:03.380
I said, okay, now I will say, everyone else at Ford was, once we started talking, they were really good to deal with.

14:03.380 --> 14:04.580
I like my vehicle.

14:04.780 --> 14:11.300
And I don't believe that Ford was being irresponsible in the way they did this.

14:11.300 --> 14:14.760
I think they were being aggressive and trying to stop replay attacks.

14:14.760 --> 14:15.960
I really do.

14:16.200 --> 14:19.900
The only negative impact I had with any of them was the one individual.

14:19.900 --> 14:24.440
And it's probably because within the first five minutes of our conversation, he goes, hey, I don't want you to get this wrong.

14:24.440 --> 14:26.900
I'm impressed a guy like you could even figure this out.

14:30.270 --> 14:37.650
But everyone else, and I mean this, everyone else from Ford was actually really good to talk to, very nice to deal with and it was a good thing.

14:37.650 --> 14:39.790
I recommend if you find something, go to them.

14:41.230 --> 14:43.510
I did get a type of bug bounty.

14:43.510 --> 14:46.990
I got a $500 gift card for key chains and hats on their website.

14:51.000 --> 14:56.160
But the bigger thing is I'm able to get the word out about the safety of this and what you need.

14:56.760 --> 15:04.560
Because if you don't know how to take that little piece of metal out that's in your little key fob and open your door, and they're all a little different in how you do it.

15:04.560 --> 15:07.480
Some of them you have to break a piece of plastic off.

15:07.540 --> 15:11.780
Some of them you have to, I mean it's just ridiculous some of the different ways you have to do it.

15:11.780 --> 15:17.380
You have to pull the handle out, put the key in, turn it to unlock, pull the key out, push the handle in, then pull it back open again.

15:17.680 --> 15:21.540
So when you do that, it starts getting ridiculous.

15:22.620 --> 15:27.680
But you need to understand that it is extremely important that you learn how to do that.

15:27.700 --> 15:31.740
You also, if you have a Ford, need to learn your door access code.

15:31.740 --> 15:46.460
Because if you're someone and you get targeted, they can do a denial of service on your key fob and if you don't have the RFID feature where the door automatically unlocks when you're within a certain range, you're going to have to manually open your car now.

15:46.480 --> 15:47.760
There's no way around it.

15:47.760 --> 15:52.420
You'll still be able to start it, but you're going to have to manually restart your car.

15:52.420 --> 15:56.060
Now, there's a second way that you can reactivate your key fob.

15:58.020 --> 16:03.280
Ford has an amazing policy where you can program your own key fobs if you get them.

16:03.420 --> 16:07.680
So the cup holder, typically, if you open the cup holders up, there'll be a little slot in there.

16:07.680 --> 16:11.740
You put your key in there, you turn the car on, and that key is now reset.

16:12.580 --> 16:13.820
So you can do it either way.

16:13.820 --> 16:22.580
You can have two key fobs, so you reset one that's been denial of service, or once you do get in your car, you put it in the center console, you start your car, you're going to be good.

16:22.580 --> 16:23.580
It'll be reset.

16:23.740 --> 16:29.300
It'll be reset at count zero, but it'll be reset.

16:29.500 --> 16:39.000
So we start going along and we start digging into this and we wanted to see what else we could do.

16:39.200 --> 16:45.600
So when we were looking at a couple other things, we found something real interesting.

16:47.180 --> 16:50.700
Do you see the one, it's a CAN bus video?

16:50.700 --> 16:53.520
I apologize, I didn't realize it was going to be that far.

16:54.200 --> 16:55.360
What's it say?

16:56.540 --> 16:57.240
What?

17:00.790 --> 17:02.570
So you see that right there?

17:02.750 --> 17:04.770
That's the code to my door panel.

17:04.930 --> 17:06.150
You know how I got it?

17:07.070 --> 17:25.390
I simulated a lock sequence, simulated the start the truck sequence, rolled an old unlock code, got in the car, plugged in the OBD2 port, and queried it using force scan for the door access code.

17:25.390 --> 17:28.810
So now I have permanent access without having to do another replay attack.

17:29.470 --> 17:33.010
Oh, you can change this, but the master will always work.

17:33.030 --> 17:34.590
This is the master code.

17:36.170 --> 17:37.690
It happens.

17:38.070 --> 17:45.050
So let's get into it and just kind of show some of the stuff that we can do because I think it will be fun.

17:45.650 --> 17:50.490
So I want this talk to get people to realize that you don't need super expensive equipment.

17:50.490 --> 17:53.250
You don't need thousands of dollars of equipment to start doing this.

17:53.930 --> 17:55.070
RTLSDR is right here.

17:55.070 --> 17:55.610
That's it.

17:55.610 --> 17:58.350
This is how you start into these worlds.

17:59.350 --> 18:02.230
And then as you move up, you get the PortaPak.

18:02.230 --> 18:04.850
I'm running the PortaPak with the Havok firmware.

18:05.090 --> 18:06.450
It is awesome.

18:06.450 --> 18:07.690
I love it.

18:08.690 --> 18:10.530
I use it all the time.

18:12.790 --> 18:18.510
So what we're going to look at is how did I start figuring out what was going on.

18:18.970 --> 18:26.070
One of the challenges right now in the capture the flag is actually to recreate what I did and figure out what the coding sequence is.

18:26.890 --> 18:34.270
Because then you may not need to capture both key fobs if you know what the key fob identifier is for the other vehicle.

18:34.270 --> 18:36.110
And if you know what the lock sequence is.

18:36.110 --> 18:38.650
So I wanted to run down that and see how hard it would be.

18:39.050 --> 18:40.590
So,

18:44.450 --> 18:52.190
most people in the software defined radio world are fairly familiar with a program called Osmicon, FFT.

18:52.250 --> 18:54.610
This is a cool little program.

18:54.730 --> 18:56.670
So, what does this program do?

18:56.670 --> 18:58.290
Well, I'm going to show you.

18:58.610 --> 19:08.010
I know that these key fobs, because I looked at the FCC site, work around 90, we'll say 902.

19:08.270 --> 19:09.010
Right?

19:09.110 --> 19:11.310
So, now I'm listening to 902.

19:11.330 --> 19:15.070
Now, one of the things that I want to do is I want to listen to enough information.

19:17.170 --> 19:17.830
Alright?

19:18.270 --> 19:29.750
So, when I'm listening now, what's going to happen is I can just look, I can just start looking around to see if there's any key fob activity around me.

19:31.430 --> 19:34.410
Hit here, hit average, not too bad.

19:34.910 --> 19:39.450
So, whenever somebody hits their key fob, oh, I get a bump.

19:39.450 --> 19:43.710
Now, that bump with two spikes lets me know that this is FSK, Frequency Shift Keying.

19:43.710 --> 19:47.890
So, that means that it sends a zero on one frequency and a one on the other.

19:47.890 --> 19:53.030
It's a little harder to demodulate than on-off keying and it's a little tougher to retransmit.

19:53.030 --> 19:56.530
But we're going to show you the tricks to that and you'll be able to do it in minutes.

19:56.930 --> 20:04.770
The other thing when you start looking at this is every time I hit it, I'm able to see this code.

20:04.770 --> 20:06.650
That makes life really easy.

20:06.650 --> 20:20.520
Now, if I listen at 903, oh, I've got two signals.

20:20.520 --> 20:23.040
Now, I know this because I looked at the FCC site.

20:23.040 --> 20:26.120
But if I hadn't, this might surprise me.

20:26.120 --> 20:34.040
This might also throw you for a loop and you might think that it's a very wide FSK and think that you have to work those two signals together.

20:34.040 --> 20:39.360
They're the exact same signal being broadcast simultaneously on separate frequencies.

20:39.800 --> 20:41.480
So, I only need one of them.

20:42.420 --> 20:45.360
So, that took me a little while to figure out.

20:45.360 --> 20:48.660
So, I'm going to give you a little hint if you're trying to recreate this.

20:49.040 --> 20:50.560
You only need one side.

20:50.560 --> 20:55.700
That's why I make sure that what I listen to, I'm only going to catch one of them.

20:55.700 --> 20:56.720
So, that's what I did.

20:56.720 --> 20:58.120
I just narrowed it down.

20:58.120 --> 21:06.260
I know that 902 will put me pretty close to where I want to be and I'll push in there and get it.

21:06.260 --> 21:08.180
So, that's how I use the first tool.

21:08.180 --> 21:11.340
Now, I can hit record and now I have a copy of this file.

21:11.440 --> 21:14.420
That means I have a copy that I can use to replay, do whatever I want.

21:14.420 --> 21:15.880
And this is a raw catch.

21:15.980 --> 21:17.680
This is the exact same signal.

21:17.680 --> 21:22.440
So, if I replay that same signal, it's just like hitting the key fob.

21:22.860 --> 21:23.440
It's great.

21:23.440 --> 21:24.680
You just have to make sure that you got all.

21:24.680 --> 21:30.880
The other problem I had is because it was so wide, I was worried I couldn't catch both of them wide enough and play them right.

21:30.880 --> 21:31.620
I don't need to.

21:31.620 --> 21:37.980
You only need to catch about if you do one meg wide sample, you're going to be fine.

21:37.980 --> 21:40.180
If you do two megs wide, no problem.

21:40.180 --> 21:50.940
But make sure you shift either to the left to get the 902 or you shift to the right to get the 903 because it's 903.6 and 902.37.

21:51.440 --> 21:54.640
Don't try to catch them both because it'll make it harder for the next step.

21:54.700 --> 21:58.740
So, then I'm like, okay, what's a cool tool that I could use to start working with this?

21:58.740 --> 22:05.800
Those of you that have seen the stuff that I did with Iris and with some infrared stuff in Gotenna know that I'm a big fan of Audacity.

22:05.800 --> 22:09.500
Well, this is Frequency Shift Keen and I have a harder time using that with Audacity.

22:09.500 --> 22:11.420
For me, it's just, it's not as clean.

22:11.500 --> 22:12.700
So, I was like, you know what?

22:12.700 --> 22:15.420
I really like the guys who make InSpectrum, right?

22:15.540 --> 22:17.060
It's a great little tool.

22:17.220 --> 22:18.780
So, I'm like, all right, well, that'll work.

22:23.790 --> 22:32.890
So, now when I'm here, all I have, all I have to do is, whoop, yeah, sorry about that.

22:32.890 --> 22:33.910
Control C.

22:34.130 --> 22:35.410
There we are.

22:36.790 --> 22:37.510
All right.

22:37.510 --> 22:41.850
So, now all I have to do is record a signal.

22:41.850 --> 22:47.010
If I record a signal and I put it in here, InSpectrum is going to show me how to crack this symbol.

22:47.010 --> 22:48.210
It works really well.

22:48.210 --> 22:50.870
It works really, really nice, okay?

22:50.870 --> 22:53.330
So, we're going to grab a sample.

22:53.330 --> 22:55.990
We'll put it in here just to kind of show you how easy it is to do.

22:57.230 --> 23:02.610
This is going to help me break out 1s and 0s and give myself a sanity check to be able to figure out what it is.

23:02.610 --> 23:07.170
If you're doing FSK stuff, this makes it really, really nice, okay?

23:07.490 --> 23:15.330
So, the next step after I use InSpectrum is I say, all right, what else is out there?

23:16.910 --> 23:20.350
There's a program out there called Universal Radio Hacker.

23:23.600 --> 23:25.280
This is a great tool.

23:26.340 --> 23:29.900
So, when I'm using this tool, the first thing it says is, well, what do you want to do?

23:29.900 --> 23:34.440
Do you want to record a signal, spoof it, or do you just want to see what's going on out there?

23:34.440 --> 23:36.580
Well, I just want to see what's going on out there.

23:37.480 --> 23:42.700
So, first thing I'm going to do is go to the frequency where I think this is going to be, right?

23:42.700 --> 23:44.620
Oh, also make sure I say U.S.

23:44.660 --> 23:45.540
RTL.

23:45.760 --> 23:46.540
Which one?

23:46.780 --> 23:47.660
Wasabi.

23:48.780 --> 23:49.460
There?

23:50.420 --> 23:51.220
All right.

23:51.220 --> 24:00.160
Now, come over here and I'm going to put 902.3.

24:02.600 --> 24:03.480
All right.

24:03.480 --> 24:06.900
Now that I do that, how wide is my sample?

24:07.380 --> 24:08.120
One meg?

24:08.460 --> 24:11.140
Good enough for me because I don't want to catch too much.

24:11.660 --> 24:12.980
And I start.

24:13.600 --> 24:20.080
Now, what we're going to do, it's like, wow, there's a lot of noise, right?

24:20.080 --> 24:22.600
Because we have this up here, right?

24:22.600 --> 24:24.000
So, man.

24:24.080 --> 24:24.980
Well, that's okay.

24:24.980 --> 24:26.540
We can still work with this.

24:26.540 --> 24:29.860
We're just going to clean some stuff up.

24:29.860 --> 24:30.580
There we go.

24:30.580 --> 24:31.620
Adjust it a little bit.

24:31.620 --> 24:34.640
Now, a little bit cleaner, right?

24:34.660 --> 24:38.600
So, even with all this noise going on out here, I'm still able to clean this up.

24:38.600 --> 24:40.120
But am I going to be able to get a catch?

24:40.380 --> 24:40.880
Huh.

24:40.900 --> 24:42.060
I guess we're going to have to see.

24:42.340 --> 24:48.000
So, the nice thing about it is... Oh, yep.

24:48.000 --> 24:49.120
I can get a catch.

24:51.060 --> 24:53.360
So, what do I want to do with this catch?

24:53.360 --> 24:55.620
Well, the first thing I do is I want to center my frequency.

24:55.620 --> 24:57.300
So, I bring this right to the center.

24:59.580 --> 25:00.680
I click it.

25:01.300 --> 25:02.540
I hit it again.

25:04.400 --> 25:05.160
There we go.

25:05.160 --> 25:07.540
Now, I've got that pretty well centered.

25:08.220 --> 25:10.540
And the nice thing is, this is going to hold it for me.

25:10.540 --> 25:12.320
This is going to store that position.

25:12.540 --> 25:14.580
So, I'm like, okay, well, let's make this happen.

25:14.620 --> 25:18.160
So, I'm just going to go ahead and close this now.

25:18.500 --> 25:22.560
Now, when I close it, I come back over and I say, hey, now I'm ready to record.

25:23.040 --> 25:24.200
This one's record, right?

25:24.540 --> 25:25.260
Okay.

25:26.420 --> 25:28.200
So, what does all this say up here?

25:28.480 --> 25:30.000
It saved all my settings, right?

25:30.220 --> 25:31.540
That makes it really nice.

25:31.540 --> 25:34.020
It's also going to label my file with these settings.

25:34.100 --> 25:36.040
I recommend you leave that in the name.

25:36.140 --> 25:44.700
You'd be amazed how easy it is to forget what you actually recorded at or, like, I don't know, your sample rate, which sometimes can be an issue if you're trying to do a replay and you don't remember it.

25:45.000 --> 25:48.520
So, now I'm like, okay, I'm ready.

25:48.520 --> 25:49.900
So, I just hit record.

25:50.060 --> 25:54.440
Now, once this starts recording, I'm just going to drop a couple samples and see what we can do.

25:55.100 --> 25:55.460
Okay.

25:55.680 --> 25:59.620
So, boom, boom.

25:59.860 --> 26:03.840
Now, these aren't real huge, but we'll see if it's good enough to do what we need to.

26:07.170 --> 26:08.570
So, I'm going to save them.

26:09.850 --> 26:10.270
Okay.

26:10.270 --> 26:13.830
Now, I'm just going to go ahead and leave this right here.

26:13.970 --> 26:14.530
Save.

26:14.530 --> 26:21.830
And it automatically opens them for me when I close this in a place that I can try to work with them.

26:21.830 --> 26:24.370
Now, we got a lot of noise, so I might have to do another catch.

26:24.370 --> 26:25.650
We'll see if I can clean it up.

26:25.650 --> 26:28.550
The first thing I do is I come right here and I hit this little filter button.

26:30.070 --> 26:31.650
Oh, that's a little better.

26:31.650 --> 26:33.030
I can probably work with that.

26:33.330 --> 26:39.390
Now, I'm going to come down here and tell it, hey, can you guess what protocol you think this is?

26:39.390 --> 26:40.670
And it's going to try.

26:40.830 --> 26:44.570
Now, with all the noise we had, I may have to clean this up a little more.

26:44.570 --> 26:45.590
So, we'll see.

26:47.030 --> 26:48.210
There we go.

26:48.770 --> 26:50.570
Nope, so it's not going to clean it up much more.

26:50.570 --> 26:53.010
So, this is the noise button right here, right?

26:53.710 --> 26:54.350
Okay.

26:54.530 --> 26:58.430
So, what I'm going to do to the noise button is... what number is in there right now?

26:59.750 --> 27:00.390
110.

27:00.810 --> 27:01.610
All right.

27:04.450 --> 27:10.250
See if we can clean it up a little bit.

27:17.370 --> 27:18.970
Did it change it to 10?

27:18.970 --> 27:20.330
All right.

27:20.970 --> 27:23.430
So, yeah, it's still got a little bit of noise.

27:23.430 --> 27:27.090
So, it's just straight 10 right now?

27:28.930 --> 27:29.530
0010?

27:29.530 --> 27:30.290
Okay.

27:31.130 --> 27:34.250
So, that noise is still pretty high, right?

27:37.070 --> 27:37.970
Is it?

27:39.050 --> 27:40.130
All right.

27:41.910 --> 27:43.370
So, what's the number?

27:45.670 --> 27:47.170
All right.

27:47.170 --> 27:48.730
What's that?

27:49.250 --> 27:50.430
Yeah.

27:53.120 --> 27:54.480
Yay.

27:54.780 --> 27:56.400
Live brick, you got to love it.

27:57.200 --> 27:58.360
Yay.

27:58.360 --> 27:59.600
All right.

28:01.620 --> 28:03.900
All right.

28:04.100 --> 28:05.740
There's a way around that.

28:06.880 --> 28:08.020
Okay.

28:09.000 --> 28:10.960
Here we go.

28:13.160 --> 28:14.020
There we are.

28:14.020 --> 28:14.620
Good.

28:14.820 --> 28:16.140
We'll just hit it again.

28:16.860 --> 28:17.940
No scared.

28:18.100 --> 28:18.460
All right.

28:18.460 --> 28:26.340
So, now, if you already have a file, the nice thing about it is, you can actually just come down here and open a pre -existing file, right?

28:26.400 --> 28:29.300
So, I can come through here and I can look.

28:37.480 --> 28:42.480
So, here's what it looks like if you just open a file that you've been working on trying to save.

28:42.480 --> 28:43.820
So, I'm going to open it up.

28:45.080 --> 28:45.760
All right.

28:45.760 --> 28:47.480
So, I do the same thing.

28:47.660 --> 28:49.320
Let's clean it up a little bit.

28:51.180 --> 28:52.700
Says, hey, I can't see the protocol.

28:52.700 --> 28:54.640
Well, let's go ahead and do our filter again.

28:55.320 --> 28:58.460
The filter is going to try to get rid of all this extra noise.

28:58.460 --> 28:59.660
Now, here's the other kicker.

28:59.660 --> 29:01.180
I don't need this, right?

29:01.820 --> 29:03.180
Well, let's just get rid of it.

29:04.120 --> 29:05.040
Delete, correct?

29:06.200 --> 29:07.740
Now, I don't have to deal with it.

29:08.840 --> 29:13.040
So, if you've dealt much with radios, man, that's a nice feature.

29:13.600 --> 29:15.860
I can just come in here and get rid of it.

29:16.020 --> 29:19.100
Now, I still need to adjust this noise.

29:19.100 --> 29:20.120
It's way too much.

29:20.120 --> 29:21.080
What's the number there?

29:22.040 --> 29:22.920
Okay.

29:24.940 --> 29:26.060
So,

29:30.880 --> 29:31.760
080?

29:33.600 --> 29:36.340
Oh, now we're getting some stuff we can see, right?

29:36.360 --> 29:38.320
Let's go a little bit further.

29:39.720 --> 29:40.860
What's it saying?

29:43.520 --> 29:43.920
Okay.

29:44.460 --> 29:45.620
Here we go.

29:49.730 --> 29:51.850
Now, I can probably work with this.

29:51.850 --> 29:53.330
This is looking a little better.

29:53.330 --> 30:01.250
So, my data down here doesn't look horrible, but if I want to see what's going on a little more, it's going to give me a couple of ways of viewing it.

30:01.250 --> 30:08.570
So, when I click here, I can come to the demodulation view, and now this gives me the ability to actually look at this FSK signal.

30:08.930 --> 30:09.150
Okay.

30:09.150 --> 30:10.550
And that's what we want to do.

30:10.910 --> 30:13.970
We want to be able to actually come in here and look at it.

30:14.590 --> 30:19.810
So, I can start drilling in, and now I can see, hey, you know what?

30:19.810 --> 30:22.130
Let's clean this up just a little bit more.

30:25.090 --> 30:28.870
Now, this is going to let us come in and be able to see more stuff.

30:28.870 --> 30:30.670
Now, I can actually see those ones and zeros.

30:30.670 --> 30:33.250
And now, if I say, hey, can you find this protocol?

30:36.090 --> 30:41.990
What says, okay, I think we figured this out, and it's able to come in and start looking at this.

30:42.610 --> 30:47.650
If I want to change it on my own, I can come in there and adjust it out.

30:47.730 --> 30:54.110
Gives you a nice feature over here so that you can make it a little bigger, figure it out, drop it in.

30:54.550 --> 30:55.670
There we are.

30:55.750 --> 30:59.350
This makes life really, really simple.

30:59.390 --> 31:01.450
It's really easy to do this.

31:01.450 --> 31:05.670
So, that's one of the ones that I like digging into and looking at.

31:06.030 --> 31:08.690
Now, I'm going to go ahead and close this one.

31:09.710 --> 31:10.210
Okay.

31:10.210 --> 31:13.590
Let's go ahead and, yep.

31:14.050 --> 31:15.830
We're going to open a file now.

31:15.830 --> 31:19.610
So, let me know when it's down at the one that says Ford.

31:21.030 --> 31:24.490
Does that lock lock?

31:33.280 --> 31:36.740
So, now let's see what this code looks like.

31:36.740 --> 31:39.740
So, let's say that we've spent about an hour digging into this.

31:41.360 --> 31:42.160
Wow.

31:42.320 --> 31:47.280
So, once I get that cleaned up, this starts spitting this information out for me.

31:47.460 --> 31:53.740
So, what I've done is, Tim Kerster, for those of you that know him, he's a great guy.

31:53.740 --> 31:57.400
Those of you that don't, when it comes to software-defined radios, he's like the guy I go to.

31:57.400 --> 31:59.440
He's helped teach me from the very beginning.

31:59.740 --> 32:01.560
He's just a really amazing guy.

32:01.560 --> 32:05.180
He helped me actually break this protocol out.

32:05.180 --> 32:08.660
So, now when we get in here, we already have these labeled into what they do.

32:08.660 --> 32:10.240
Hey, there's a unique identifier.

32:10.240 --> 32:11.040
Hey, here's this.

32:11.040 --> 32:12.120
Oh, wait a minute.

32:12.260 --> 32:15.300
Right here, this is the key fob identifier.

32:15.460 --> 32:18.120
These are actually different for the two key fobs.

32:18.120 --> 32:21.080
So, I know if key fob A or key fob B was used.

32:21.080 --> 32:22.760
That makes it really nice.

32:22.940 --> 32:25.620
Now, over here, I'm able to see the lock and unlock sequence.

32:25.620 --> 32:26.820
Now, how do I know this?

32:26.820 --> 32:30.420
I know this because I caught some lock sequences from one key fob.

32:30.420 --> 32:35.160
Then I caught some unlock sequences from the same key fob and I saw which bits changed.

32:35.160 --> 32:37.340
Then I did the same thing with the other key fob.

32:37.740 --> 32:41.300
But this can get really tough to look at, right?

32:42.940 --> 32:48.000
So, the nice thing with this program is it will actually come in and change stuff around for you.

32:48.000 --> 32:50.320
So, you can say, hey, I want to look at everything in hex.

32:50.460 --> 32:53.680
So, it'll come in here and it'll let you look at stuff in hex.

32:54.720 --> 32:55.600
Usually.

32:59.100 --> 33:02.340
All right.

33:06.790 --> 33:07.910
What's that?

33:11.590 --> 33:13.310
I'm sorry, I can't hear.

33:14.990 --> 33:15.910
Yeah.

33:17.550 --> 33:18.850
Now, I just, yeah.

33:20.070 --> 33:21.350
Shit the bed.

33:21.690 --> 33:22.570
All right.

33:23.090 --> 33:24.670
Pop it up again.

33:24.670 --> 33:25.130
We're good.

33:25.130 --> 33:26.170
Here we go.

33:26.170 --> 33:27.730
Nice and fast.

33:27.730 --> 33:28.570
Got it.

33:28.570 --> 33:28.970
All right.

33:28.970 --> 33:31.490
So, now we're in here.

33:34.460 --> 33:35.740
Drop it to hex.

33:35.760 --> 33:36.740
There we are.

33:36.740 --> 33:37.860
Now, I've got hex.

33:37.860 --> 33:40.500
That's a lot easier to look at than ones and zeros, isn't it?

33:40.800 --> 33:45.000
And now when we come over, do you see how these start changing?

33:45.480 --> 33:46.300
So, guess what?

33:46.300 --> 33:48.440
I know that this is the key fob identifier.

33:48.440 --> 33:50.420
This is the unique key identifier.

33:50.440 --> 33:51.880
But here's the problem.

33:52.360 --> 33:54.860
I can replay stuff I've already caught.

33:54.900 --> 34:04.840
But what if I figure out that if a lock sequence is this and I want to play an unlock sequence from the other key fob, how am I going to figure that out?

34:04.880 --> 34:13.760
Because if anything's off, if any of the way that I send the signals is off, encoding everything else, I'm going to have a problem.

34:13.860 --> 34:18.360
Well, I did some work with TPMS and I figured out that they use Manchester encoding.

34:19.220 --> 34:21.660
Manchester 2 encoding.

34:22.240 --> 34:22.940
Yeah.

34:22.940 --> 34:23.820
Threw me off too.

34:23.820 --> 34:25.180
I was like, no.

34:25.360 --> 34:32.180
So, all I do, if I want to see how this is going to be affected, I just go ahead and highlight everything I want.

34:32.280 --> 34:33.760
I come down here.

34:35.160 --> 34:37.840
Now, Manchester 2 encoding.

34:37.880 --> 34:39.700
So, let's look at this now.

34:41.300 --> 34:42.660
A little easier.

34:43.360 --> 34:51.720
So, now when we look at this, what it's actually doing is we're able to come in here, see what's going on, and it's just a lot cleaner.

34:51.720 --> 34:54.760
And that was one of the issues that we had initially.

34:54.860 --> 34:58.160
And now, what do they have here?

34:58.360 --> 34:59.900
We can actually look.

35:03.490 --> 35:14.310
Oh, instead of using a bunch of crazy characters that might be hard to read or maybe make it more difficult for somebody to figure out the protocol, one is lock, two is unlock.

35:14.730 --> 35:18.950
Basically, it goes right down the key fob, six is panic.

35:19.250 --> 35:20.830
So, you're able to put this in here.

35:20.830 --> 35:32.450
So, now, I could get the code from figure out what the sequence is for key fob two, and I could just flip a bit and have it now say unlock instead of lock.

35:33.070 --> 35:37.390
Now, where it got really funny was when we started coming over towards the end.

35:37.770 --> 35:44.030
Because when we start looking at this protocol, anyone see any funky counts?

35:44.350 --> 35:48.250
Rick, is there any sequencing it looks like?

36:06.570 --> 36:10.450
So, what I'm going to do is show you what happens when you catch like 25 of them.

36:10.830 --> 36:15.370
All the way up to this point, they count by one.

36:15.370 --> 36:20.450
Literally, one, two, three, four, five, six, seven, eight, nine, zero, A, B, C, D.

36:28.450 --> 36:29.470
One, two, three, four, five, six, seven, eight, nine, zero, A, B, C, D.

36:29.470 --> 36:37.850
So, I know what the higher rolling code would be, I just need to flip the bit to the left because I know there will be one complete cycle away from it.

36:38.670 --> 36:39.510
Yeah.

36:39.510 --> 36:45.530
So, that's a recent find that we were just able to be able to get into and start figuring out.

36:45.650 --> 36:54.950
So, when we do this and we start looking at it, it started becoming very evident that there's some flaws with this protocol.

36:55.150 --> 36:59.110
But the other thing is, there's some amazing tools out there for us to use.

36:59.110 --> 37:04.930
In Spectrum, you get in there, you break the code out, you can tell FSK very simply.

37:04.930 --> 37:09.790
You get into this, you're able to find some really, really cool stuff that you can play with.

37:09.890 --> 37:14.490
Now, once you get these codes and you get them working,

37:17.580 --> 37:18.900
here we go.

37:20.620 --> 37:22.920
I'll show you the kind of thing you can do.

37:28.820 --> 37:31.640
So, I don't think we have volume.

37:33.120 --> 37:37.620
So, Portapak, I fired up.

37:37.620 --> 37:40.100
Now, you'll see the lights.

37:40.880 --> 37:42.580
I unlock it.

37:43.740 --> 37:48.940
Now I start it remotely.

37:49.720 --> 37:56.440
So, any thing you want to do that the key fob can do, you now have the ability to do.

37:59.790 --> 38:04.770
Then, once you start it and then you unlock it, one of the next steps that you can do...

38:08.750 --> 38:11.270
This is just another one.

38:13.110 --> 38:19.700
This is... Here we go.

38:19.700 --> 38:24.740
This is how, after I unlock your car, well, I start it, then I unlock it.

38:24.740 --> 38:26.900
This is how I get permanent access.

38:29.440 --> 38:30.240
Okay.

38:30.440 --> 38:32.000
Doing the same thing.

38:32.100 --> 38:33.300
I unlock it.

38:33.300 --> 38:35.660
I'm walking to the vehicle and I get in.

38:40.300 --> 38:41.940
Trucks are supposed to be dirty.

38:44.860 --> 38:46.280
So, now I get in.

38:46.280 --> 38:54.600
The reason I videotaped the entire process was because I wanted to make sure that that engineer who I met wasn't going to say, well, I think you might have skipped a step.

38:54.600 --> 38:55.680
So, I plug in.

38:55.680 --> 38:57.680
I use a program called 4Scan.

38:57.680 --> 38:58.820
Now, it's pretty expensive.

38:58.820 --> 39:01.400
$75 for a lifetime license.

39:03.180 --> 39:06.340
So, again, you know, boundary set pretty high.

39:06.540 --> 39:10.740
Now, all I do is... This gives me the ability to do some great stuff.

39:11.260 --> 39:18.880
I don't like having the volume control on the right-hand side of my steering wheel because I typically drive my left hand.

39:18.880 --> 39:22.220
So, I just switch the controls all through this.

39:22.300 --> 39:24.020
I hate the door chime.

39:24.080 --> 39:24.980
Got rid of it.

39:24.980 --> 39:26.280
Seat belt alarm.

39:30.180 --> 39:32.800
So, and then...

39:36.560 --> 39:47.560
So, then I come into this and I don't want... I don't show the whole thing because I don't want you to have the full code to it, but I showed you a screenshot of part of it.

39:47.580 --> 39:48.380
Go ahead.

39:50.780 --> 39:51.860
I can.

39:51.860 --> 39:53.460
It sounds like a bad word.

39:53.460 --> 39:54.140
It's not.

39:54.780 --> 39:59.240
So, the question was, can I tell you what the software is again?

39:59.240 --> 40:01.880
It's 4Scan.

40:02.580 --> 40:04.860
S-C-A-N.

40:06.200 --> 40:07.020
Yeah.

40:07.600 --> 40:08.500
Yeah.

40:08.500 --> 40:09.440
I know.

40:12.620 --> 40:15.660
So, it's just an Elcam that you can buy.

40:15.660 --> 40:18.540
If you look up anything about 4Scan, they'll tell you about it.

40:18.540 --> 40:21.360
It's about a $15 to $20 device.

40:21.400 --> 40:28.860
And if you have a Ford, a Mazda, there's several other vehicles, you can now go over the OBD2 port and you can actually set a whole bunch of your own features.

40:28.860 --> 40:30.960
It's a pretty cool little device.

40:30.960 --> 40:39.280
But it also gives me the ability to get permanent access, as you're seeing here, to your door code, which means you can never keep me out at that point.

40:39.640 --> 40:47.680
So, when we did this, I had no idea it was going to lead all the way to the point where I could get permanent access to the door code on the side.

40:47.680 --> 40:52.200
I also hadn't thought of the dangers of the denial of service part until later on.

40:52.320 --> 40:55.460
And then I realized how easy it would be for somebody to do that.

40:55.480 --> 41:01.760
So, one of the things we really want to come out of this talk is we want people to know how to get into your car if your key fob doesn't work.

41:01.760 --> 41:08.680
If your key fob just quits working, have a high index of suspicion that maybe somebody's tried a replay attack.

41:09.160 --> 41:10.360
How can you reset it?

41:10.360 --> 41:18.520
You take the key fob that works, you hit any button on it, and then you hit the other one within about half a minute.

41:18.520 --> 41:19.960
It has to be pretty quick.

41:20.080 --> 41:22.540
And once you do that, the other key fob works.

41:22.540 --> 41:29.680
Now, one of the kickers with this was you're like, well, okay, yeah, you make the other key fob work again, but like you have to be right there.

41:29.680 --> 41:31.120
How are you actually going to be able to use it?

41:31.120 --> 41:32.480
So, here's what I do.

41:33.800 --> 41:35.960
I can catch any code.

41:36.840 --> 41:42.080
So, what I do is key fob A, I catch a whole bunch of codes because I haven't shown you the sniffer yet.

41:42.080 --> 41:45.940
We're getting ready to turn that on because it's automated because I'm lazy.

41:46.200 --> 42:08.400
So, once I have those codes, when you drive your vehicle and then you come back and then I see person B drive the vehicle, the moment that I D off your key fob, as long as I play my codes in order and you don't use your key fob, it's indefinite how long I have access.

42:08.400 --> 42:14.020
Until you use your key fob again and I play my codes in order, they're valid.

42:14.020 --> 42:15.300
There's no time limit to use them.

42:15.300 --> 42:18.020
There's only a time limit for that reset factor.

42:19.060 --> 42:19.720
That was another thing.

42:19.720 --> 42:21.640
He's like, well, yeah, you got to be there within 30 seconds.

42:21.640 --> 42:24.540
I said, no, I just have to fire one message.

42:25.140 --> 42:26.960
Well, they'd see that something happened.

42:26.960 --> 42:33.960
No, not if one of the messages is, oh, I don't know, the double press you use when you start the vehicle and I only send one of them, doesn't matter.

42:33.960 --> 42:37.780
If it catches one symbol that it knows, key fob reactivated.

42:37.780 --> 42:40.760
So, we set that up, tested it, it works great.

42:41.040 --> 42:44.740
So, how do we automate this and make it a little bit easier?

42:44.740 --> 42:46.380
This is where Tim comes in.

42:46.820 --> 42:47.560
Why?

42:47.620 --> 42:50.620
Well, because I can lift heavy things, but I can't always spell them.

42:50.620 --> 42:51.800
So, I call Tim.

42:53.700 --> 42:57.720
So, we use another really fun program.

42:57.900 --> 43:02.720
This is a program that if you have not used it, you definitely should.

43:02.720 --> 43:02.980
All right.

43:02.980 --> 43:05.600
It is called GNU Radio Companion.

43:05.820 --> 43:06.080
All right.

43:06.080 --> 43:08.500
How many people in the room have used GNU Radio Companion?

43:08.700 --> 43:11.000
This, yeah, this thing's awesome.

43:11.000 --> 43:19.740
So, we're going to release this code for everyone this weekend and you're going to be able to have Raptor Captor, which this is an automated system.

43:19.740 --> 43:24.200
It uses a module that Tim wrote that he calls GR Revenge.

43:24.800 --> 43:31.480
So, it's designed to actually go out there and be able to sniff packets and you set triggers.

43:31.480 --> 43:38.100
So, oh, if I have this preamble and then I see this sequence, write it and it just writes it for you.

43:38.460 --> 43:39.340
We're going to turn it on.

43:39.340 --> 43:41.320
We're going to try it because I could be lying.

43:42.780 --> 43:46.160
So, let me open.

43:46.700 --> 43:49.700
So, Rick, can I, or Rasabi, I'm going to need some eyes again.

43:49.700 --> 43:51.260
So, where does it say open?

43:56.940 --> 43:58.480
There we go.

43:59.060 --> 43:59.680
Nope.

44:00.240 --> 44:02.980
And Raptor Captor, is that Raptor Captor lower?

44:04.560 --> 44:05.740
Is it lower?

44:07.980 --> 44:08.780
Okay.

44:08.820 --> 44:11.960
So, we'll pop this one in real quick, see what happens.

44:13.680 --> 44:17.300
So, yeah, make sure it's assembled.

44:17.560 --> 44:20.520
We'll go, there's two of them, so we'll see how this one runs.

44:22.080 --> 44:22.980
All right.

44:22.980 --> 44:24.600
So, it's looking okay.

44:25.580 --> 44:27.300
We're getting some signals.

44:30.710 --> 44:33.410
But when we're getting signals, we're not getting anything to write.

44:33.410 --> 44:34.830
So, it's like, oh, man.

44:35.290 --> 44:39.950
Well, if you listen to the, remember I said you have to pick which side you're going to listen to?

44:39.970 --> 44:43.310
If you try to listen to too much, you aren't going to get anything.

44:43.630 --> 44:46.770
So, let's go back here.

44:49.330 --> 44:50.110
Open.

44:51.250 --> 44:52.210
File.

44:53.130 --> 44:54.070
Okay.

44:54.510 --> 44:56.590
Now, where's the other Raptor?

44:57.490 --> 44:58.270
Okay.

44:58.970 --> 45:03.610
What's it say?

45:03.610 --> 45:04.850
Which one says lower?

45:05.470 --> 45:06.370
This one?

45:06.890 --> 45:07.850
Yeah.

45:07.910 --> 45:14.490
So, let's see what happens if we try to do this and we actually pick like just one side of the spectrum instead of both.

45:14.490 --> 45:16.510
Because remember, it's kicking out of both, right?

45:24.030 --> 45:26.290
And what did it say?

45:27.850 --> 45:29.090
Compiler.

45:30.190 --> 45:31.350
Yeah.

45:33.410 --> 45:37.770
Oh, it takes a minute for it to, okay.

45:49.170 --> 45:53.650
So, oh, wait a minute.

45:53.650 --> 45:54.810
What's that?

45:55.550 --> 45:56.430
Zero.

45:57.070 --> 45:57.410
Yeah.

45:57.410 --> 46:03.610
So, what happens is we're actually, we're probably getting some interference because all this is at right at 902 as well.

46:03.610 --> 46:08.550
But now, because I picked one side of the spectrum, oh, now I have a counter.

46:08.550 --> 46:12.490
This immediately spits out whatever code they hit.

46:12.650 --> 46:18.630
So, if I automate this, it writes to a file, hey, I got unlock for key fob one.

46:18.630 --> 46:20.530
I got three locks for key fob one.

46:20.530 --> 46:23.130
I got two locks for key fob B.

46:23.130 --> 46:25.010
I got a start for key fob B.

46:25.210 --> 46:28.590
I know how to categorize all of them because they follow the same code.

46:28.870 --> 46:29.710
It's that simple.

46:29.710 --> 46:36.870
As long as you know the number, one, two, six, whatever it is, you know it's either lock, unlock, panic, start.

46:37.030 --> 46:46.210
And you can now recreate, use this and build your own captor and auto replay to be able to manually do this without having to sit there and watch somebody.

46:46.250 --> 46:52.190
Which is what I was told by the engineer, well, nobody's going to do that, so he's obviously never been divorced.

46:54.720 --> 46:57.440
So, now it's automated.

46:57.480 --> 46:59.220
I can put this on anything.

46:59.300 --> 47:04.940
What makes this possible and very easy is that block that I told you about.

47:04.940 --> 47:05.700
There we go.

47:05.700 --> 47:06.380
Catch.

47:06.380 --> 47:07.220
Catch.

47:07.440 --> 47:11.880
Now, it makes it easy because there's triggers set in.

47:11.880 --> 47:12.860
It's a great module.

47:12.860 --> 47:17.340
I recommend if you use GNU radio, look up GR revenge.

47:17.340 --> 47:21.860
It is amazing how well, because you can set these triggers to be able to do it.

47:22.320 --> 47:24.980
So, from start to finish, how did we work it?

47:24.980 --> 47:30.620
We were able to come in here and get into a vehicle by watching someone else.

47:30.620 --> 47:40.380
We denied their access if we wanted to or we just shut their key fob off when it was a key fob that wasn't being used and replayed all the codes that we already had.

47:41.040 --> 47:43.180
Once we replay them, we can do anything we want.

47:43.220 --> 47:44.600
Then we can get inside the car.

47:44.600 --> 47:47.080
Once we're inside the car, we plug into the OBD2 port.

47:47.080 --> 47:51.220
Once we plug into the OBD2 port, now there's a lot we can do.

47:51.220 --> 47:55.100
But I'm just going to talk about the simple ability to pull the door access code.

47:57.690 --> 48:00.990
We tried to take this and not be limited by one set of factors.

48:00.990 --> 48:04.710
I didn't want to say, oh, hey, yeah, I can do an RF attack.

48:04.710 --> 48:05.750
Well, let's demodulate it.

48:05.750 --> 48:07.130
Let's see if maybe we can work on this.

48:07.130 --> 48:09.610
So, the next step is we're going to start flipping bits.

48:09.870 --> 48:14.490
Because now that we figured out what the coding was, because before when we were trying that, it wasn't working.

48:14.790 --> 48:21.890
Well, now I know after doing some TPMS stuff that it actually had to be flipped to Manchester 2, which I never expected.

48:21.950 --> 48:23.230
I was using Manchester 1.

48:23.230 --> 48:31.390
So, when I get home, I'm going to be out there trying to flip bits and see, can I send a replay or a lock sequence from key fob 2?

48:31.390 --> 48:36.930
Can I jump by one increment in that category that we saw and be able to make things happen?

48:36.930 --> 48:38.990
I don't know, but it's worth trying.

48:38.990 --> 48:46.430
You're all going to have the tools to be able to try it as well, which means you can give feedback and maybe figure out more than I did, hopefully.

48:47.130 --> 48:49.750
But all the tools are going to be available to you.

48:49.910 --> 48:51.230
Inspectrum is out there.

48:51.550 --> 48:54.810
Universal Radio Hacker makes this so simple to be able to.

48:54.810 --> 48:57.590
All you have to do is use the self-filter.

48:57.590 --> 48:59.590
Don't push it more than two or three times.

49:00.010 --> 49:01.230
Use the self-filter.

49:01.230 --> 49:02.750
Adjust your noise levels.

49:02.830 --> 49:05.030
It makes FSK easy.

49:05.030 --> 49:06.990
Because FSK is not always easy.

49:07.150 --> 49:08.810
Inspectrum does the same thing.

49:09.350 --> 49:14.570
I was going to do an Inspectrum demo, but from this far away, it would be a waste of your time because it would take so long being able to see it.

49:14.570 --> 49:16.510
But all you do is you put it in there.

49:16.510 --> 49:20.410
You say, hey, I'm doing some frequency sampling.

49:20.430 --> 49:25.830
And you just drop it right in the center of the code that you can see or the signal that you see.

49:25.950 --> 49:28.650
And it helps adjust all that for you.

49:28.770 --> 49:30.250
That way, you have multiple reasons.

49:30.250 --> 49:38.670
And the reason that I want you to use more than one tool when you do this, if you use one tool and you're wrong, you don't know you're wrong until you just start beating your head against the wall.

49:38.710 --> 49:43.530
I always compare, especially if I'm pulling ones and zeros out of a signal, with multiple things.

49:43.530 --> 49:45.210
I'll use Universal Radio Hacker.

49:45.210 --> 49:46.390
I'll use Audacity.

49:46.390 --> 49:47.850
I'll use Inspectrum.

49:47.850 --> 49:48.970
I'll use Raptor Captor.

49:48.970 --> 49:52.870
But what I do is I put it all together and I see, was there a big difference?

49:52.870 --> 49:54.150
Was there something wrong?

49:54.750 --> 49:58.830
One of the biggest things you're going to do wrong is you're going to record it at one meg.

49:59.310 --> 50:02.990
And then you're going to use a default two meg for your sample rate.

50:02.990 --> 50:05.790
And when you try to replay, you might have some issues.

50:07.210 --> 50:12.810
Make sure you remember that sample rate because you'd be amazed how many times you're like, wow, this was just working.

50:12.810 --> 50:15.310
It was, but you didn't readjust your sample rate.

50:15.350 --> 50:19.890
That's probably the easiest, fastest one that I've seen people make mistakes with.

50:19.910 --> 50:22.470
And the other thing is just to have fun with it and try it.

50:22.690 --> 50:25.230
You know, I didn't dig into the chip set.

50:25.230 --> 50:28.290
I didn't start going crazy doing a bunch of funky stuff.

50:28.870 --> 50:30.870
I started with the basics.

50:30.870 --> 50:33.170
Can I get a one and zero out of this?

50:33.310 --> 50:36.730
From there, it just took off and it was great.

50:36.730 --> 50:42.290
So the only way that we're going to get better at this stuff is if everybody tries doing it.

50:42.290 --> 50:46.490
And that's what I want everyone here to do is just keep working at this and try and do stuff.

50:46.690 --> 50:48.150
And it's not just with RF.

50:48.230 --> 50:50.010
Light does the same thing.

50:51.370 --> 50:52.790
Vehicles use a lot of light.

50:52.790 --> 50:55.330
The LIDAR system to tell how far away you are.

50:55.490 --> 50:57.970
That's a designated coded laser.

50:59.730 --> 51:00.530
Yeah.

51:01.470 --> 51:02.810
Things can be done there.

51:02.910 --> 51:03.770
TPMS.

51:03.770 --> 51:08.350
One of the challenges we have them doing over here is I set a TPMS challenge up.

51:08.690 --> 51:16.210
We have a TPMS fox right now that's walking around that's broadcasting an actual Ford tire sequence.

51:17.250 --> 51:18.870
It's a fox this year.

51:19.470 --> 51:25.730
They had to break the TPMS protocol and then be able to figure out the full ones and zeros out of that.

51:26.270 --> 51:30.810
Jared, thank you for driving that research that got a lot of us involved.

51:30.810 --> 51:33.110
Now, that's a capture the flag event.

51:34.030 --> 51:35.930
So, I mean, that's the thing.

51:35.930 --> 51:37.990
If you don't know Jared and the stuff he's, it's amazing.

51:37.990 --> 51:39.030
Thank you very much.

51:39.050 --> 51:39.610
Please.

51:39.690 --> 51:43.410
He's the person who invented the Portapak that goes on your hack RF.

51:52.960 --> 51:54.100
Oh, really?

51:54.160 --> 51:54.960
I didn't.

51:56.500 --> 51:57.220
Yeah.

51:57.460 --> 51:58.180
Those.

51:58.700 --> 52:00.020
Oh, yeah.

52:00.020 --> 52:00.220
Please.

52:00.220 --> 52:00.520
I'm sorry.

52:00.520 --> 52:01.160
I didn't see you there.

52:01.160 --> 52:01.360
Yeah.

52:01.360 --> 52:01.860
Stand up.

52:01.860 --> 52:03.320
This is in spectrum right here.

52:03.360 --> 52:07.980
That tool, like I said, I wish I had a monitor right in front of me, is amazing.

52:08.340 --> 52:13.080
And as a cross reference piece, that tool is simply incredible.

52:13.080 --> 52:17.060
And if you're doing FSK, I can't imagine doing it without having that tool as a backup.

52:17.060 --> 52:17.680
It's incredible.

52:17.680 --> 52:18.920
Thank you for making that.

52:20.620 --> 52:32.080
So, the big thing with this talk is I wanted to make it where people could walk out of here with at least a little extra knowledge of how to either do something or figure it out.

52:32.080 --> 52:33.640
And I also want you to have the safety feature.

52:33.640 --> 52:35.160
I'm not saying Ford's bad.

52:35.160 --> 52:35.960
Trust me.

52:36.000 --> 52:39.020
Most manufacturers have errors in what they're doing.

52:39.020 --> 52:40.440
It just is.

52:40.440 --> 52:41.720
No one's hack proof.

52:41.860 --> 52:44.680
I was just able to document this well enough to do a talk.

52:44.680 --> 52:47.040
There's other vehicles that I'm able to lock and unlock.

52:47.040 --> 52:50.020
And some of them, I destroy the rolling code protocol altogether.

52:51.040 --> 52:51.680
Test it.

52:51.680 --> 52:52.260
Try it out.

52:52.260 --> 52:53.540
Know what you have.

52:53.740 --> 52:58.860
But I'm going to go ahead and open up for questions and anything.

53:07.460 --> 53:10.060
So, he asked, well, hey, you know, you're hitting your key fob a whole bunch.

53:10.060 --> 53:12.020
Is that going to unsync your key fob?

53:12.200 --> 53:22.380
That I found because there used to be ‑‑ please correct me, those of you that have done it, because I wasn't doing this when they were using the first edition of rolling code.

53:22.380 --> 53:26.040
But it was only like 250‑some rolls.

53:26.040 --> 53:28.480
Now it's around 63,000.

53:29.000 --> 53:31.260
So, you're good.

53:32.300 --> 53:33.360
So, yeah.

53:33.380 --> 53:36.360
I do these demos and talks and I've never had an issue.

53:36.700 --> 53:37.720
But it's a good question.

53:37.720 --> 53:38.820
Something definitely to think of.

53:38.820 --> 53:41.440
But now you know how to reset it if it does get out of sync.

53:49.200 --> 53:52.940
So, the question was, do these attacks work if the vehicle is moving?

53:53.160 --> 53:57.060
Only if that vehicle allows the person with their key fob to do these.

53:57.060 --> 53:59.120
It depends on the protocol that that vehicle has.

53:59.120 --> 54:03.400
Most vehicles won't let you do most of these things while the vehicle is engaged.

54:03.700 --> 54:06.180
So, it would depend on what the protocol is.

54:06.620 --> 54:08.680
You're following their exact protocol.

54:08.840 --> 54:12.120
In fact, you're following it the exact way the guy told me he wrote it.

54:12.120 --> 54:16.450
So, what?

54:16.450 --> 54:20.530
I did not test while driving if the key fob will engage.

54:21.010 --> 54:23.690
But it's an area to look at.

54:28.120 --> 54:31.680
I did not try those.

54:32.020 --> 54:36.600
I'm not sure what they would do, but it's definitely something that I think we could start running down and working with.

54:37.220 --> 54:40.340
There's some great ‑‑ there's a lot of opportunities here.

54:40.340 --> 54:41.360
Flipping bits.

54:41.360 --> 54:48.300
I'm excited for people to get this and start practicing flipping bits to see, can we make it take a lock instead of an unlock?

54:48.300 --> 54:51.420
Can we make the other key fob the master?

54:51.420 --> 54:52.380
How does it work?

54:52.380 --> 54:53.360
Let's see.

54:53.440 --> 54:58.320
You're going to be able to see the sequencing of counts up to a certain point.

54:59.300 --> 55:01.340
Just back off one and move up.

55:01.340 --> 55:02.420
I don't know for sure.

55:02.420 --> 55:05.820
I just figured that piece out literally in the last 48 hours.

55:05.820 --> 55:11.480
Just like I just found out that at least all the way back to 2012, this works.

55:13.540 --> 55:15.880
So seven years' worth of vehicles, you can do this, too.

55:15.880 --> 55:16.720
At least.

55:16.720 --> 55:17.560
Go ahead.

55:19.880 --> 55:21.580
Question was, is there a fix?

55:22.780 --> 55:29.320
I don't know if this can be fixed in software or if this would have to be done at the body control module.

55:35.760 --> 55:40.120
So he asked if the door access code can be reprogrammed through the CAN bus.

55:40.280 --> 55:42.440
Not that I know ‑‑ I don't know the code to do it.

55:42.440 --> 55:44.260
I'm not saying it can't be.

55:44.700 --> 55:47.220
You can change it yourself.

55:47.420 --> 55:48.740
It's a feature you can do.

55:48.740 --> 55:52.740
However, if you change it, the master code will still stay the master code.

55:54.440 --> 55:57.340
Yes, sir?

56:06.000 --> 56:07.640
Looking to see whether it's encrypted or not.

56:07.640 --> 56:19.700
That's one of the things I'm looking at to check because when you do the FCC search, it actually tells you which encryption protocol they're using, which I apologize, off the top of my head, I can't ‑‑

56:24.420 --> 56:31.040
yep, however, if those products are sold in America, they've got to use the FCC.

56:33.240 --> 56:35.340
So you can use our FCC.

56:36.900 --> 56:38.560
And it's a simple Google search.

56:38.560 --> 56:50.860
I just do FCC ID and whatever I'm working on or looking at will have, it will say FCC ID, I just type it right in, put it in quotes, do Uncle Google's thing and done.

56:52.400 --> 56:53.960
Any other questions?

56:53.960 --> 56:54.500
Oh.

57:06.650 --> 57:16.550
So he asked how long the packet is and the other question is the sample rate.

57:16.990 --> 57:19.990
I'm sorry, symbol rate, but what was the second part of it?

57:21.650 --> 57:23.130
Oh, a checksum.

57:23.130 --> 57:33.970
So we were looking at that and everything we found makes it look like ‑‑ we ran checksum, in fact, Universal Radio Hacker will do a checksum check for you.

57:34.070 --> 57:43.610
And each time it never matched up, so it ‑‑ I can't say it doesn't, but everything we found looks like there's not a checksum.

57:44.290 --> 57:50.150
I can't say with 100% certainty, but we've looked and we haven't been able to prove it is a checksum and we tried.

57:50.150 --> 57:52.170
We thought for sure it was.

57:54.030 --> 57:55.590
Definitely, let's talk.

57:56.010 --> 57:57.350
Anything else?

57:58.510 --> 57:59.930
I appreciate your time.

57:59.930 --> 58:01.650
Thank you for coming to the talk.

58:09.240 --> 58:13.520
Also, we did this entire talk on a CompuStick.

58:13.520 --> 58:19.320
I did all the processing, all the data rates, all the collection, CompuStick, that's it.

58:19.320 --> 58:25.560
Didn't need any big crazy computers, something I can put in my pocket, take anywhere and the presentation all off this.

58:25.560 --> 58:29.480
So you don't need a bunch of crazy equipment to be able to make fun things happen.

