[00:00.000 --> 00:06.520] My name is Woody, and I'm going to be giving a presentation on Ford vehicles and some [00:07.780 --> 00:12.240] possible vulnerabilities, depending on how you look at it. I looked at them as vulnerabilities. [00:12.780 --> 00:17.500] Some of the engineers who I talked to from their company said, nope, works fine the way [00:17.500 --> 00:24.840] we tested, just don't do what you do. I wish I was making that up. So, I'm going to go [00:24.840 --> 00:30.720] ahead. We're getting stuff going right now. I was going to do some really good slides [00:30.720 --> 00:36.760] and put everything together, but when I thought about it, I said, you know, the last thing [00:36.760 --> 00:43.580] I want to do is sit through some long, boring process of PowerPoint presentations. So, I'm [00:43.580 --> 00:53.670] just going to do it live. I'm going to show you the exact steps that I used, how I figured [00:53.670 --> 00:59.590] it out, what tools I used, and what I used to try to make things a little easier. So, [01:00.110 --> 01:05.870] that way, you have the ability to go through the steps like I did, so you can find vulnerabilities [01:05.870 --> 01:12.090] and exploits as well. I think the biggest thing about finding exploits is just looking [01:12.090 --> 01:17.350] for them, you know? Too many people overlook stuff. When I give all the details of how [01:17.350 --> 01:22.690] I made this work, some of my buddies that are engineers, that are really good, the guys [01:22.690 --> 01:26.850] I go to for advice, they're like, why would you even do that? That doesn't make sense [01:26.850 --> 01:32.370] to even try it, but then it worked. Don't think that just because something isn't supposed [01:32.370 --> 01:36.310] to work, means it won't work, because sometimes it does. And that's what we're really going [01:36.310 --> 01:45.810] to point out here. So, we, because the way we've got this set up right now, visual, there [01:45.810 --> 01:49.450] we go, I might have a little bit of trouble seeing some of the stuff, so be patient with [01:49.450 --> 01:53.970] me. So, the first thing that we're going to talk about is, how do you start looking [01:53.970 --> 02:01.190] at and digging into these protocols, right? Well, the first thing I did was, I bought [02:01.290 --> 02:08.170] a new truck. When I got that truck, it had key fobs. Like anything, I took it apart. [02:08.530 --> 02:12.650] And when I took the key fob apart, what do you always look for when you want to start [02:12.650 --> 02:20.970] doing RF research? FCC ID. Not only did the FCC ID tell me a lot about the fob, what it [02:20.970 --> 02:28.690] looked like, internal parts, it told me the frequencies, it told me how wide it communicated [02:28.690 --> 02:34.290] at, and it made my life a lot easier. It's documented. Some of the things will be, some [02:34.290 --> 02:43.670] of them won't. Look for it and see. So, one of the things... yeah, tell me when I'm on [02:43.670 --> 02:53.270] the one that says Ford. Here? Yay! Again, I didn't realize it was going to be this far [02:53.270 --> 02:58.290] away. So, fortunately, we've got some stuff we're going to look at. So, I'm going to show [02:58.290 --> 03:02.090] you some videos real quick of how some of this stuff worked, and then we're going to [03:02.090 --> 03:10.610] talk about how it all came out. So, this is an example of vehicles locked. This was a [03:10.610 --> 03:16.310] rental car. I leave the keys on there so you know that I'm not doing anything with them. [03:16.310 --> 03:26.410] And now, I walk over to the side of the vehicle. Unlocked. So, one of the things that happens [03:26.410 --> 03:29.250] when you do this is people are going to say, well, wait a minute, I thought there was rolling [03:29.250 --> 03:34.110] code. There is rolling code. And what we're going to talk about is why rolling code is [03:34.110 --> 03:40.290] great when rolling code works and why it's not great when it doesn't work. So, we're [03:40.290 --> 03:44.470] just going to get into first, I'm going to explain a little bit about rolling code and [03:44.470 --> 03:49.270] what we're looking at when we do that. When I talk about rolling code, what I want you [03:49.270 --> 03:54.610] to think about is if I want to make something so that you can't just copy it and replay [03:54.610 --> 04:00.470] it. Because most people in the room I'm sure have heard about the old replay attacks. Well, [04:00.470 --> 04:04.290] the problem that happened is they said, you know what, we need to make it so you can't [04:04.290 --> 04:10.130] just replay the same signal. So, what happens is at the end of the signals, they'll put a [04:10.130 --> 04:13.250] code in there that changes. Now, that code is not supposed to just jump up by one because [04:13.250 --> 04:19.890] then you can just guess what the next code is, right? It's not supposed to. So, I started [04:19.890 --> 04:24.670] looking at that and I started wondering how the car's relationship worked with multiple [04:24.670 --> 04:30.490] key fobs. Well, each key fob has its own count. Now, I've played with a lot of different [04:30.490 --> 04:34.930] vehicles. The reason that I'm doing this talk on Ford is because I was able to document [04:34.930 --> 04:40.210] Ford really well because I owned one. I've done exploits on some other vehicles and when [04:40.210 --> 04:46.450] I talk about that, there's other vehicles that I've been able to own even more than the Ford. [04:52.940 --> 04:59.060] So, the way that I was able to manipulate those, I'm not going to talk about those [04:59.060 --> 05:04.160] manufacturers because I haven't been able to document it well enough to give them appropriate [05:04.160 --> 05:10.960] time to fix it. Ford, I did. So, I take the relationship between two key fobs and what [05:10.960 --> 05:16.680] happens is one will be the master, one will have a slave relationship. Whichever drove [05:16.680 --> 05:21.420] it last is typically going to be the master and the other one is going to fall into a [05:21.420 --> 05:28.680] subordinate category. With some manufacturers out there, I found that if I capture a signal [05:28.680 --> 05:34.360] from the key fob that is not being used at that time, that hasn't driven it last, it'll [05:34.360 --> 05:38.600] accept any of those codes because it doesn't look for rolling codes on the key fob other [05:38.600 --> 05:43.220] than the one that drove it last. Absolutely works. That's not what we did with Ford. I [05:43.220 --> 05:48.860] was looking for that vulnerability because I found that in other vehicles. Another trick [05:48.860 --> 05:54.180] that I use is I'll replay a whole bunch of lock sequences at a vehicle. And when you [05:54.180 --> 06:00.060] do that, there's some vehicles out there that if you start sending lock sequences to it [06:00.060 --> 06:06.900] enough times, it actually goes, hey, I'm not supposed to let people unlock me, but why [06:06.900 --> 06:10.660] would I stop someone from locking me? And then they let the car lock. And once they [06:10.660 --> 06:16.960] do, after that, that manufacturer, while the code still rolls, the car doesn't care. [06:16.960 --> 06:23.220] It'll accept any code after that. So you have permanent access. This wasn't that attack. [06:24.120 --> 06:30.240] While I was trying those, I found something strange out. And this was documented pretty [06:30.240 --> 06:36.700] well on the Hack 5 series. There's a way to do a denial of service on Ford. I want to [06:36.700 --> 06:44.480] note, at no point did I do any jamming techniques. None. I don't do jamming. What I did is I [06:44.480 --> 06:53.240] replayed the key fobs. That's it. When you replay a key fob against a Ford, Ford decided [06:53.240 --> 07:00.340] that they wanted to stop replay attacks. So if I replay, we'll say key fob A, key fob [07:00.340 --> 07:05.440] A, while you can still start the car with it, you can use the manual key, you can use [07:05.440 --> 07:09.700] the RFID feature where you walk up and it'll unlock if you have that feature in your car. [07:10.460 --> 07:13.960] That will still work. However, you won't be able to push any of the buttons because it [07:13.960 --> 07:18.220] won't accept any codes from that key fob again until you reset it. So that's the first thing [07:18.220 --> 07:26.180] I realized. If you replay, you're going to wind up getting a denial of service. So if [07:26.180 --> 07:30.680] I don't want somebody to be able to use their key fob, all I do is catch it, replay it, [07:30.680 --> 07:34.340] done. That key fob will not work again until you reset it. Don't worry, I'm going to show [07:34.340 --> 07:43.280] you how to reset it. Then I started realizing that if I then took the second key fob and [07:43.280 --> 07:52.620] I sent a signal from it, all of the old codes that I had for key fob 1 worked again. I started [07:52.620 --> 07:59.540] looking at this and I figured out what happened. When Ford deauthorizes a key fob, when you [07:59.540 --> 08:09.420] reactivate it, it resets the code count. So I was like, all right, sounds good. Now, to [08:09.420 --> 08:15.600] do denial of service, I only need one key fob. To be able to do this, I need two key [08:15.600 --> 08:20.460] fobs. Man, that's a little tougher. But I think we can work with this. We'll make it [08:20.460 --> 08:26.240] happen. So there's a couple ways to look at that. Most people have at least two keys for [08:26.240 --> 08:33.240] their vehicle, right? So if I go and drive my vehicle and then I come home and I have a [08:33.240 --> 08:37.660] spouse, they go and drive the vehicle, there's a good chance we're each going to have our [08:37.660 --> 08:43.020] own key fob. So if you live in an apartment complex or a housing area or anything else, it's [08:43.020 --> 08:47.400] not hard for people to be able to just catch the signals because I'm going to show you how I [08:47.400 --> 08:52.820] fingerprint which one comes from each. So that's not too hard. Then the other thing we [08:52.820 --> 09:06.280] realized was that as you start doing these attacks, once I catch key fob A and key fob B and [09:06.280 --> 09:11.900] I have codes from both of them and I'm going to release this weekend all the code that [09:11.900 --> 09:15.340] you're going to see up here because we made an automatic key fob grabber that you run [09:15.340 --> 09:20.580] through GNU radio so any time you hit a forward, it just records it for you and writes it [09:20.580 --> 09:27.380] out. So when we started going through and looking at it, one of the cool aspects was that [09:27.380 --> 09:33.820] now I could have either one. So hey, if I see that person A drove, now I use person B's [09:33.820 --> 09:38.940] signal. Now how do I do that? When I see person A coming out to do something, I just [09:38.940 --> 09:45.560] replay any old signal from key fob B. Key fob B is now disabled. Person B is not driving [09:45.560 --> 09:49.880] the car, person A is. So when they get to their car and they unlock it, the moment that I [09:49.880 --> 09:55.500] see the car do anything or have it automated, the moment that I see key fob 1 fire a signal, [09:55.500 --> 10:03.860] I have to make sure that within, we'll say roughly 29-ish seconds, if I hit within that [10:03.860 --> 10:10.180] window, key fob B, it's reactivated. That's how you reactivate it. You have to hit it [10:10.180 --> 10:14.660] within a certain amount of seconds of key fob 1 being hit. Once I do that, I've reset [10:14.660 --> 10:23.080] the code to zero. Every code I've caught up to that point now works. So, once we did that, [10:23.080 --> 10:26.540] I wanted to be able to automate it. I wanted to be able to see how it works. And people [10:26.540 --> 10:29.840] are like, yeah, so you can do this attack from fairly far, right? If you have key fobs, [10:29.840 --> 10:36.300] you know, you can be fairly close. Interesting thing, my Raptor, when I looked up that FCC [10:36.300 --> 10:44.640] code, it's not 315, it's not 433, it's 902 and 903. It actually broadcasts on 32. So [10:44.660 --> 10:47.680] 32 channels. We'll talk about that because that can be a little confusing at first when [10:47.680 --> 10:55.400] you're trying to demodulate. So, that means that the range is now ridiculous. The reason [10:55.400 --> 10:58.900] they do that, they want you to be able to be in the store or anything else and just [10:58.900 --> 11:03.760] be anywhere near your vehicle. You can hit the lock button twice and then hold down on [11:03.760 --> 11:12.500] remote start. Which, by the way, I capture and replay and now I start your vehicle. Don't [11:12.500 --> 11:17.280] worry, we're going to dig into some stuff funner than that. So, I was like, okay, how [11:17.280 --> 11:21.280] bad could this be? Well, my Raptor is the only one that did. I said, well, maybe this [11:21.280 --> 11:25.660] is a new feature with the cars that use the 900 band. Nope, started testing on the ones [11:25.660 --> 11:32.300] with 315, still worked. I was able to get back to about 2017 for vehicles that I tested [11:32.300 --> 11:39.000] against and every time this worked, Raptor Captor worked. Yesterday, went to the car [11:39.000 --> 11:46.120] hacking village and they have a mock-up of a 2012. So, I said, well, let's try it. Yep, [11:46.540 --> 11:54.980] all the way back to 2012, I can do a deauthorization attack to your key fob and I can replay old [11:54.980 --> 12:01.520] codes by resetting your rolling code count. So, we thought that was pretty interesting [12:01.520 --> 12:07.240] and we wanted to keep moving with it. So, when you find something like this, you got [12:07.340 --> 12:11.980] a couple roads you can go down. You can just sell it to someone, use it as an exploit. [12:12.800 --> 12:18.140] I'm a big fan of freedom and I like being able to do stuff outside of a cage, so I decided [12:18.140 --> 12:22.660] not to run down that route. So, I got a hold of Ford. Now, it was interesting when I got [12:22.760 --> 12:27.740] a hold of Ford because for almost a month, I reached out, I emailed, I sent them videos [12:27.740 --> 12:36.180] of me starting my truck remotely with a Portapak, a hack RF radio and the Portapak. This is [12:36.180 --> 12:42.140] all I needed. I didn't even need a computer. I could catch, boom, replay, done, whole thing. [12:43.780 --> 12:48.800] Finally nobody reached out to me. And I get it, they're busy. I tried going to Hacker [12:48.800 --> 12:56.340] 1, but they only had software exploits. There was nothing for hardware exploits. So, I teach [12:56.340 --> 13:03.520] open source and I'm decent at finding stuff online. So, I just found Mr. Ford's email [13:03.520 --> 13:09.140] address by some Google searches for at Ford.com and documents and sure enough, found it and [13:09.140 --> 13:13.620] I emailed him. A couple hours later, I got a phone call from an assistant who said, our [13:13.620 --> 13:18.680] cyber department will be getting a hold of you. There we go. So, when I talked to them, [13:18.680 --> 13:23.460] we finally talk and I get the engineer on the phone and I'm like, hey, here's the thing, [13:23.460 --> 13:28.360] I want to have responsible disclosure. He said, well, the first thing we're going to [13:28.360 --> 13:32.460] need you to do is to run the test like this. And he gave me the parameters, exact parameters [13:32.460 --> 13:38.880] and times of how he wanted me to test and I did it. And I said, yeah, it doesn't work [13:38.880 --> 13:44.980] if I do it like that. He goes, all right, the protocol sound. I said, yeah, but I got [13:45.080 --> 13:48.120] a lot of other ways I could do this, right? And he's like, yeah, but if you do it the [13:48.120 --> 13:51.200] way I said, it doesn't work and nobody else is going to go through the steps that you're [13:51.600 --> 13:57.740] doing. No one else is going to push two buttons in under 30 seconds. It's ridiculous. I said, [13:57.740 --> 14:01.980] okay, now I will say, everyone else at Ford was, once we started talking, they were really [14:01.980 --> 14:10.140] good to deal with. I like my vehicle. And I don't believe that Ford was being irresponsible [14:10.140 --> 14:13.940] in the way they did this. I think they were being aggressive and trying to stop replay [14:13.940 --> 14:19.900] attacks. I really do. The only negative impact I had with any of them was the one individual. [14:19.900 --> 14:22.940] And it's probably because within the first five minutes of our conversation, he goes, [14:22.940 --> 14:26.060] hey, I don't want you to get this wrong. I'm impressed a guy like you could even figure [14:26.060 --> 14:33.290] this out. But everyone else, and I mean this, everyone else from Ford was actually really [14:33.290 --> 14:38.550] good to talk to, very nice to deal with and it was a good thing. I recommend if you find [14:38.550 --> 14:45.310] something, go to them. I did get a type of bug bounty. I got a $500 gift card for key [14:45.310 --> 14:53.900] chains and hats on their website. But the bigger thing is I'm able to get the word out [14:53.900 --> 14:58.800] about the safety of this and what you need. Because if you don't know how to take that [14:58.800 --> 15:03.260] little piece of metal out that's in your little key fob and open your door, and they're all [15:03.380 --> 15:06.700] a little different in how you do it. Some of them you have to break a piece of plastic [15:06.700 --> 15:11.400] off. Some of them you have to, I mean it's just ridiculous some of the different ways [15:11.400 --> 15:14.660] you have to do it. You have to pull the handle out, put the key in, turn it to unlock, pull [15:14.660 --> 15:20.260] the key out, push the handle in, then pull it back open again. So when you do that, it [15:20.260 --> 15:25.980] starts getting ridiculous. But you need to understand that it is extremely important [15:25.980 --> 15:30.960] that you learn how to do that. You also, if you have a Ford, need to learn your door access [15:30.960 --> 15:36.440] code. Because if you're someone and you get targeted, they can do a denial of service [15:36.440 --> 15:40.220] on your key fob and if you don't have the RFID feature where the door automatically [15:40.220 --> 15:44.920] unlocks when you're within a certain range, you're going to have to manually open your [15:45.360 --> 15:50.540] car now. There's no way around it. You'll still be able to start it, but you're going [15:50.540 --> 15:54.940] to have to manually restart your car. Now, there's a second way that you can reactivate [15:54.940 --> 16:02.560] your key fob. Ford has an amazing policy where you can program your own key fobs if [16:02.560 --> 16:06.800] you get them. So the cup holder, typically, if you open the cup holders up, there'll be [16:06.920 --> 16:10.760] a little slot in there. You put your key in there, you turn the car on, and that key is [16:10.760 --> 16:15.980] now reset. So you can do it either way. You can have two key fobs, so you reset one that's [16:15.980 --> 16:20.280] been denial of service, or once you do get in your car, you put it in the center console, [16:20.280 --> 16:26.600] you start your car, you're going to be good. It'll be reset. It'll be reset at count zero, [16:27.680 --> 16:35.200] but it'll be reset. So we start going along and we start digging into this and we wanted [16:36.720 --> 16:43.640] to see what else we could do. So when we were looking at a couple other things, we found [16:43.640 --> 16:51.480] something real interesting. Do you see the one, it's a CAN bus video? I apologize, I [16:51.480 --> 17:01.910] didn't realize it was going to be that far. What's it say? What? So you see that right [17:01.910 --> 17:11.330] there? That's the code to my door panel. You know how I got it? I simulated a lock sequence, [17:11.330 --> 17:18.530] simulated the start the truck sequence, rolled an old unlock code, got in the car, plugged [17:18.530 --> 17:25.910] in the OBD2 port, and queried it using force scan for the door access code. So now I have [17:25.910 --> 17:31.190] permanent access without having to do another replay attack. Oh, you can change this, but [17:31.190 --> 17:41.050] the master will always work. This is the master code. It happens. So let's get into it and [17:41.050 --> 17:45.890] just kind of show some of the stuff that we can do because I think it will be fun. So [17:45.890 --> 17:50.490] I want this talk to get people to realize that you don't need super expensive equipment. [17:50.490 --> 17:55.070] You don't need thousands of dollars of equipment to start doing this. RTLSDR is right here. [17:55.070 --> 18:01.390] That's it. This is how you start into these worlds. And then as you move up, you get the [18:01.390 --> 18:07.690] PortaPak. I'm running the PortaPak with the Havok firmware. It is awesome. I love it. [18:08.690 --> 18:17.250] I use it all the time. So what we're going to look at is how did I start figuring out [18:17.250 --> 18:22.050] what was going on. One of the challenges right now in the capture the flag is actually to [18:22.050 --> 18:28.570] recreate what I did and figure out what the coding sequence is. Because then you may not [18:28.570 --> 18:33.590] need to capture both key fobs if you know what the key fob identifier is for the other [18:33.590 --> 18:37.470] vehicle. And if you know what the lock sequence is. So I wanted to run down that and see how [18:37.470 --> 18:48.330] hard it would be. So, most people in the software defined radio world are fairly familiar [18:48.330 --> 18:55.750] with a program called Osmicon, FFT. This is a cool little program. So, what does this [18:55.750 --> 19:02.590] program do? Well, I'm going to show you. I know that these key fobs, because I looked [19:02.590 --> 19:11.310] at the FCC site, work around 90, we'll say 902. Right? So, now I'm listening to 902. [19:11.330 --> 19:17.830] Now, one of the things that I want to do is I want to listen to enough information. Alright? [19:18.270 --> 19:25.790] So, when I'm listening now, what's going to happen is I can just look, I can just start [19:25.790 --> 19:33.250] looking around to see if there's any key fob activity around me. Hit here, hit average, [19:33.250 --> 19:40.070] not too bad. So, whenever somebody hits their key fob, oh, I get a bump. Now, that bump [19:40.070 --> 19:44.250] with two spikes lets me know that this is FSK, Frequency Shift Keying. So, that means [19:44.250 --> 19:48.930] that it sends a zero on one frequency and a one on the other. It's a little harder to [19:48.930 --> 19:53.430] demodulate than on-off keying and it's a little tougher to retransmit. But we're going to [19:53.430 --> 19:58.030] show you the tricks to that and you'll be able to do it in minutes. The other thing [19:58.030 --> 20:05.070] when you start looking at this is every time I hit it, I'm able to see this code. That [20:05.070 --> 20:21.040] makes life really easy. Now, if I listen at 903, oh, I've got two signals. Now, I know [20:21.040 --> 20:26.300] this because I looked at the FCC site. But if I hadn't, this might surprise me. This [20:26.300 --> 20:31.480] might also throw you for a loop and you might think that it's a very wide FSK and think [20:31.480 --> 20:36.000] that you have to work those two signals together. They're the exact same signal being [20:36.000 --> 20:43.980] broadcast simultaneously on separate frequencies. So, I only need one of them. So, that took [20:43.980 --> 20:47.220] me a little while to figure out. So, I'm going to give you a little hint if you're trying [20:47.220 --> 20:53.660] to recreate this. You only need one side. That's why I make sure that what I listen [20:53.660 --> 20:58.120] to, I'm only going to catch one of them. So, that's what I did. I just narrowed it down. [20:58.120 --> 21:05.620] I know that 902 will put me pretty close to where I want to be and I'll push in there [21:05.620 --> 21:09.900] and get it. So, that's how I use the first tool. Now, I can hit record and now I have [21:10.040 --> 21:14.420] a copy of this file. That means I have a copy that I can use to replay, do whatever I want. [21:14.420 --> 21:20.560] And this is a raw catch. This is the exact same signal. So, if I replay that same signal, [21:20.560 --> 21:24.680] it's just like hitting the key fob. It's great. You just have to make sure that you got all. [21:24.680 --> 21:28.960] The other problem I had is because it was so wide, I was worried I couldn't catch both [21:28.960 --> 21:33.500] of them wide enough and play them right. I don't need to. You only need to catch about [21:34.160 --> 21:40.180] if you do one meg wide sample, you're going to be fine. If you do two megs wide, no problem. [21:40.180 --> 21:46.360] But make sure you shift either to the left to get the 902 or you shift to the right to get the 903 [21:46.720 --> 21:53.520] because it's 903.6 and 902.37. Don't try to catch them both because it'll make it harder [21:53.520 --> 21:57.920] for the next step. So, then I'm like, okay, what's a cool tool that I could use to start [21:57.920 --> 22:01.180] working with this? Those of you that have seen the stuff that I did with Iris and with some [22:01.180 --> 22:06.520] infrared stuff in Gotenna know that I'm a big fan of Audacity. Well, this is Frequency [22:06.520 --> 22:10.440] Shift Keen and I have a harder time using that with Audacity. For me, it's just, it's [22:10.440 --> 22:15.020] not as clean. So, I was like, you know what? I really like the guys who make InSpectrum, [22:15.020 --> 22:24.990] right? It's a great little tool. So, I'm like, all right, well, that'll work. So, now when [22:24.990 --> 22:33.910] I'm here, all I have, all I have to do is, whoop, yeah, sorry about that. Control C. [22:34.130 --> 22:42.910] There we are. All right. So, now all I have to do is record a signal. If I record a signal [22:42.910 --> 22:47.430] and I put it in here, InSpectrum is going to show me how to crack this symbol. It works [22:47.430 --> 22:53.410] really well. It works really, really nice, okay? So, we're going to grab a sample. We'll [22:53.410 --> 22:58.230] put it in here just to kind of show you how easy it is to do. This is going to help me [22:58.230 --> 23:02.610] break out 1s and 0s and give myself a sanity check to be able to figure out what it is. [23:02.610 --> 23:11.510] If you're doing FSK stuff, this makes it really, really nice, okay? So, the next step after [23:11.510 --> 23:18.090] I use InSpectrum is I say, all right, what else is out there? There's a program out there [23:18.090 --> 23:27.980] called Universal Radio Hacker. This is a great tool. So, when I'm using this tool, [23:27.980 --> 23:31.260] the first thing it says is, well, what do you want to do? Do you want to record a signal, [23:31.260 --> 23:35.140] spoof it, or do you just want to see what's going on out there? Well, I just want to see [23:35.140 --> 23:41.120] what's going on out there. So, first thing I'm going to do is go to the frequency where [23:41.120 --> 23:47.660] I think this is going to be, right? Oh, also make sure I say U.S. RTL. Which one? Wasabi. [23:48.780 --> 24:03.980] There? All right. Now, come over here and I'm going to put 902.3. All right. Now that [24:03.980 --> 24:10.100] I do that, how wide is my sample? One meg? Good enough for me because I don't want to [24:10.100 --> 24:19.300] catch too much. And I start. Now, what we're going to do, it's like, wow, there's a lot [24:19.300 --> 24:25.440] of noise, right? Because we have this up here, right? So, man. Well, that's okay. We can [24:25.440 --> 24:31.120] still work with this. We're just going to clean some stuff up. There we go. Adjust it [24:31.220 --> 24:36.840] a little bit. Now, a little bit cleaner, right? So, even with all this noise going on out [24:36.840 --> 24:40.880] here, I'm still able to clean this up. But am I going to be able to get a catch? Huh. [24:40.900 --> 24:48.400] I guess we're going to have to see. So, the nice thing about it is... Oh, yep. I can get [24:48.520 --> 24:54.480] a catch. So, what do I want to do with this catch? Well, the first thing I do is I want [24:54.480 --> 25:02.540] to center my frequency. So, I bring this right to the center. I click it. I hit it again. [25:04.400 --> 25:09.820] There we go. Now, I've got that pretty well centered. And the nice thing is, this is going [25:09.820 --> 25:13.540] to hold it for me. This is going to store that position. So, I'm like, okay, well, let's [25:13.540 --> 25:19.280] make this happen. So, I'm just going to go ahead and close this now. Now, when I close [25:19.280 --> 25:24.200] it, I come back over and I say, hey, now I'm ready to record. This one's record, right? [25:24.540 --> 25:30.760] Okay. So, what does all this say up here? It saved all my settings, right? That makes [25:30.760 --> 25:34.540] it really nice. It's also going to label my file with these settings. I recommend [25:34.540 --> 25:38.160] you leave that in the name. You'd be amazed how easy it is to forget what you actually [25:38.160 --> 25:42.640] recorded at or, like, I don't know, your sample rate, which sometimes can be an issue if you're [25:42.640 --> 25:48.740] trying to do a replay and you don't remember it. So, now I'm like, okay, I'm ready. So, [25:48.740 --> 25:53.300] I just hit record. Now, once this starts recording, I'm just going to drop a couple samples and [25:53.300 --> 26:01.840] see what we can do. Okay. So, boom, boom. Now, these aren't real huge, but we'll see [26:01.840 --> 26:11.730] if it's good enough to do what we need to. So, I'm going to save them. Okay. Now, I'm [26:11.730 --> 26:16.310] just going to go ahead and leave this right here. Save. And it automatically opens them [26:16.310 --> 26:22.410] for me when I close this in a place that I can try to work with them. Now, we got a lot [26:22.410 --> 26:25.950] of noise, so I might have to do another catch. We'll see if I can clean it up. The first [26:25.950 --> 26:31.210] thing I do is I come right here and I hit this little filter button. Oh, that's a little [26:31.210 --> 26:36.470] better. I can probably work with that. Now, I'm going to come down here and tell it, hey, [26:36.470 --> 26:41.530] can you guess what protocol you think this is? And it's going to try. Now, with all the [26:41.530 --> 26:48.210] noise we had, I may have to clean this up a little more. So, we'll see. There we go. [26:48.770 --> 26:52.530] Nope, so it's not going to clean it up much more. So, this is the noise button right here, [26:52.530 --> 26:57.690] right? Okay. So, what I'm going to do to the noise button is... what number is in there [26:57.690 --> 27:18.970] right now? 110. All right. See if we can clean it up a little bit. Did it change it to 10? [27:18.970 --> 27:27.090] All right. So, yeah, it's still got a little bit of noise. So, it's just straight 10 right now? [27:28.930 --> 27:34.250] 0010? Okay. So, that noise is still pretty high, right? [27:37.070 --> 27:43.370] Is it? All right. So, what's the number? [27:45.670 --> 27:59.600] All right. What's that? Yeah. Yay. Live brick, you got to love it. Yay. All right. [28:01.620 --> 28:10.960] All right. There's a way around that. Okay. Here we go. [28:13.160 --> 28:19.940] There we are. Good. We'll just hit it again. No scared. All right. So, now, if you already [28:19.940 --> 28:23.860] have a file, the nice thing about it is, you can actually just come down here and open a [28:23.860 --> 28:38.840] pre-existing file, right? So, I can come through here and I can look. So, here's what it looks [28:39.340 --> 28:43.100] like if you just open a file that you've been working on trying to save. So, I'm going to open [28:43.100 --> 28:49.320] it up. All right. So, I do the same thing. Let's clean it up a little bit. [28:51.180 --> 28:54.640] Says, hey, I can't see the protocol. Well, let's go ahead and do our filter again. [28:55.320 --> 28:59.660] The filter is going to try to get rid of all this extra noise. Now, here's the other kicker. [28:59.660 --> 29:05.040] I don't need this, right? Well, let's just get rid of it. Delete, correct? [29:06.200 --> 29:11.260] Now, I don't have to deal with it. So, if you've dealt much with radios, [29:11.260 --> 29:17.180] man, that's a nice feature. I can just come in here and get rid of it. Now, [29:17.180 --> 29:26.060] I still need to adjust this noise. It's way too much. What's the number there? Okay. So, [29:30.880 --> 29:38.320] 080? Oh, now we're getting some stuff we can see, right? Let's go a little bit further. [29:39.720 --> 29:52.750] What's it saying? Okay. Here we go. Now, I can probably work with this. This is looking a little [29:52.750 --> 29:58.510] better. So, my data down here doesn't look horrible, but if I want to see what's going on a [29:58.510 --> 30:03.010] little more, it's going to give me a couple of ways of viewing it. So, when I click here, I can [30:03.010 --> 30:07.790] come to the demodulation view, and now this gives me the ability to actually look at this FSK [30:07.790 --> 30:13.050] signal. Okay. And that's what we want to do. We want to be able to actually come in here and look [30:13.050 --> 30:20.770] at it. So, I can start drilling in, and now I can see, hey, you know what? Let's clean this up just [30:20.970 --> 30:29.130] a little bit more. Now, this is going to let us come in and be able to see more stuff. Now, [30:29.130 --> 30:36.450] I can actually see those ones and zeros. And now, if I say, hey, can you find this protocol? What [30:36.450 --> 30:41.990] says, okay, I think we figured this out, and it's able to come in and start looking at this. [30:42.610 --> 30:48.330] If I want to change it on my own, I can come in there and adjust it out. Gives you a nice [30:48.330 --> 30:54.110] feature over here so that you can make it a little bigger, figure it out, drop it in. [30:54.550 --> 31:02.550] There we are. This makes life really, really simple. It's really easy to do this. So, [31:02.550 --> 31:06.970] that's one of the ones that I like digging into and looking at. Now, I'm going to go ahead and [31:06.970 --> 31:16.450] close this one. Okay. Let's go ahead and, yep. We're going to open a file now. So, let me know [31:16.450 --> 31:36.000] when it's down at the one that says Ford. Does that lock lock? So, now let's see what this code [31:36.000 --> 31:43.260] looks like. So, let's say that we've spent about an hour digging into this. Wow. So, once I get [31:43.260 --> 31:49.320] that cleaned up, this starts spitting this information out for me. So, what I've done is, [31:50.320 --> 31:54.780] Tim Kerster, for those of you that know him, he's a great guy. Those of you that don't, [31:54.780 --> 31:58.420] when it comes to software-defined radios, he's like the guy I go to. He's helped teach me from [31:58.420 --> 32:04.720] the very beginning. He's just a really amazing guy. He helped me actually break this protocol [32:04.720 --> 32:09.540] out. So, now when we get in here, we already have these labeled into what they do. Hey, there's a [32:09.540 --> 32:15.720] unique identifier. Hey, here's this. Oh, wait a minute. Right here, this is the key fob identifier. [32:15.720 --> 32:21.300] These are actually different for the two key fobs. So, I know if key fob A or key fob B was used. [32:21.300 --> 32:25.860] That makes it really nice. Now, over here, I'm able to see the lock and unlock sequence. Now, [32:25.860 --> 32:31.060] how do I know this? I know this because I caught some lock sequences from one key fob. Then I caught [32:31.060 --> 32:36.040] some unlock sequences from the same key fob and I saw which bits changed. Then I did the same thing [32:36.040 --> 32:43.860] with the other key fob. But this can get really tough to look at, right? So, the nice thing with [32:43.860 --> 32:48.540] this program is it will actually come in and change stuff around for you. So, you can say, [32:48.540 --> 32:52.480] hey, I want to look at everything in hex. So, it'll come in here and it'll let you look at [32:52.480 --> 33:13.310] stuff in hex. Usually. All right. What's that? I'm sorry, I can't hear. [33:14.990 --> 33:26.170] Yeah. Now, I just, yeah. Shit the bed. All right. Pop it up again. We're good. Here we go. [33:26.170 --> 33:37.100] Nice and fast. Got it. All right. So, now we're in here. Drop it to hex. There we are. Now, [33:37.100 --> 33:41.740] I've got hex. That's a lot easier to look at than ones and zeros, isn't it? And now when we come [33:41.740 --> 33:47.640] over, do you see how these start changing? So, guess what? I know that this is the key fob [33:47.640 --> 33:53.940] identifier. This is the unique key identifier. But here's the problem. I can replay stuff I've [33:53.940 --> 34:00.120] already caught. But what if I figure out that if a lock sequence is this and I want to play an [34:00.120 --> 34:05.280] unlock sequence from the other key fob, how am I going to figure that out? Because [34:06.440 --> 34:12.540] if anything's off, if any of the way that I send the signals is off, encoding everything else, [34:12.540 --> 34:16.800] I'm going to have a problem. Well, I did some work with TPMS and I figured out that they use [34:16.800 --> 34:25.980] Manchester encoding. Manchester 2 encoding. Yeah. Threw me off too. I was like, no. So, [34:25.980 --> 34:30.840] all I do, if I want to see how this is going to be affected, I just go ahead and highlight [34:30.840 --> 34:39.700] everything I want. I come down here. Now, Manchester 2 encoding. So, let's look at this now. [34:41.300 --> 34:46.560] A little easier. So, now when we look at this, what it's actually doing is [34:46.800 --> 34:52.480] we're able to come in here, see what's going on, and it's just a lot cleaner. And that was one of [34:52.480 --> 34:59.900] the issues that we had initially. And now, what do they have here? We can actually look. [35:03.490 --> 35:08.710] Oh, instead of using a bunch of crazy characters that might be hard to read or maybe make it more [35:08.710 --> 35:15.350] difficult for somebody to figure out the protocol, one is lock, two is unlock. Basically, it goes [35:15.950 --> 35:21.550] right down the key fob, six is panic. So, you're able to put this in here. So, now, [35:21.550 --> 35:28.290] I could get the code from figure out what the sequence is for key fob two, and I could just [35:28.290 --> 35:35.370] flip a bit and have it now say unlock instead of lock. Now, where it got really funny was when we [35:35.370 --> 35:42.650] started coming over towards the end. Because when we start looking at this protocol, anyone see any [35:42.650 --> 36:07.850] funky counts? Rick, is there any sequencing it looks like? So, what I'm going to do is show you [36:07.850 --> 36:15.370] what happens when you catch like 25 of them. All the way up to this point, they count by one. [36:15.370 --> 36:29.230] Literally, one, two, three, four, five, six, seven, eight, nine, zero, A, B, C, D. One, two, [36:29.230 --> 36:30.350] three, four, five, six, seven, eight, nine, zero, A, B, C, D. So, I know what the higher [36:30.350 --> 36:35.210] rolling code would be, I just need to flip the bit to the left because I know there will be one [36:35.210 --> 36:43.730] complete cycle away from it. Yeah. So, that's a recent find that we were just able to be able to [36:43.730 --> 36:50.390] get into and start figuring out. So, when we do this and we start looking at it, it started [36:50.390 --> 36:56.290] becoming very evident that there's some flaws with this protocol. But the other thing is, [36:56.290 --> 37:01.270] there's some amazing tools out there for us to use. In Spectrum, you get in there, [37:01.270 --> 37:06.550] you break the code out, you can tell FSK very simply. You get into this, you're able to find [37:06.550 --> 37:12.070] some really, really cool stuff that you can play with. Now, once you get these codes and you get [37:12.070 --> 37:30.700] them working, here we go. I'll show you the kind of thing you can do. So, I don't think we have [37:30.700 --> 37:45.050] volume. So, Portapak, I fired up. Now, you'll see the lights. I unlock it. Now I start it [37:47.780 --> 37:56.440] remotely. 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:22.800] This is just another one. This is... Here we go. This is how, after I unlock your car, [38:22.800 --> 38:26.900] well, I start it, then I unlock it. This is how I get permanent access. [38:29.440 --> 38:35.660] Okay. Doing the same thing. I unlock it. 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:50.900] So, now I get in. The reason I videotaped the entire process was because I wanted to make sure [38:50.900 --> 38:54.840] that that engineer who I met wasn't going to say, well, I think you might have skipped a step. So, [38:54.840 --> 39:01.400] I plug in. I use a program called 4Scan. Now, it's pretty expensive. $75 for a lifetime license. [39:03.180 --> 39:09.380] So, again, you know, boundary set pretty high. Now, all I do is... This gives me the ability to [39:09.380 --> 39:16.640] do some great stuff. I don't like having the volume control on the right-hand side of my [39:16.640 --> 39:21.520] steering wheel because I typically drive my left hand. So, I just switch the controls all through [39:21.520 --> 39:32.800] this. I hate the door chime. Got rid of it. Seat belt alarm. So, and then... [39:36.560 --> 39:42.960] So, then I come into this and I don't want... I don't show the whole thing because I don't want [39:42.960 --> 39:48.380] you to have the full code to it, but I showed you a screenshot of part of it. Go ahead. [39:50.780 --> 39:56.880] I can. It sounds like a bad word. It's not. So, the question was, [39:56.880 --> 40:09.440] can I tell you what the software is again? It's 4Scan. S-C-A-N. Yeah. Yeah. I know. [40:12.620 --> 40:17.460] So, it's just an Elcam that you can buy. If you look up anything about 4Scan, [40:17.460 --> 40:23.840] they'll tell you about it. It's about a $15 to $20 device. And if you have a Ford, a Mazda, [40:23.840 --> 40:27.760] there's several other vehicles, you can now go over the OBD2 port and you can actually set a [40:27.760 --> 40:32.360] whole bunch of your own features. It's a pretty cool little device. But it also gives me the [40:32.360 --> 40:38.060] ability to get permanent access, as you're seeing here, to your door code, which means you can never [40:38.060 --> 40:44.580] keep me out at that point. So, when we did this, I had no idea it was going to lead all the way to [40:44.580 --> 40:48.540] the point where I could get permanent access to the door code on the side. I also hadn't thought [40:48.540 --> 40:54.040] of the dangers of the denial of service part until later on. And then I realized how easy it would be [40:54.040 --> 40:57.940] for somebody to do that. So, one of the things we really want to come out of this talk is we want [40:57.940 --> 41:03.020] people to know how to get into your car if your key fob doesn't work. If your key fob just quits [41:03.020 --> 41:09.660] working, have a high index of suspicion that maybe somebody's tried a replay attack. How can you [41:09.660 --> 41:15.600] reset it? You take the key fob that works, you hit any button on it, and then you hit the other [41:15.600 --> 41:21.600] one within about half a minute. It has to be pretty quick. And once you do that, the other key [41:21.600 --> 41:27.560] fob works. Now, one of the kickers with this was you're like, well, okay, yeah, you make the other [41:27.560 --> 41:30.540] key fob work again, but like you have to be right there. How are you actually going to be able to [41:30.540 --> 41:39.480] use it? So, here's what I do. I can catch any code. So, what I do is key fob A, I catch a whole [41:39.480 --> 41:43.180] bunch of codes because I haven't shown you the sniffer yet. We're getting ready to turn that on [41:43.180 --> 41:51.720] because it's automated because I'm lazy. So, once I have those codes, when you drive your vehicle [41:51.720 --> 41:58.060] and then you come back and then I see person B drive the vehicle, the moment that I D off your [41:58.060 --> 42:07.380] key fob, as long as I play my codes in order and you don't use your key fob, it's indefinite how [42:07.380 --> 42:13.600] long I have access. Until you use your key fob again and I play my codes in order, they're [42:13.600 --> 42:19.300] valid. There's no time limit to use them. There's only a time limit for that reset factor. That was [42:19.300 --> 42:23.060] another thing. He's like, well, yeah, you got to be there within 30 seconds. I said, no, I just have [42:23.060 --> 42:28.660] to fire one message. Well, they'd see that something happened. No, not if one of the messages [42:29.100 --> 42:32.880] is, oh, I don't know, the double press you use when you start the vehicle and I only send one of [42:32.880 --> 42:38.460] them, doesn't matter. If it catches one symbol that it knows, key fob reactivated. So, we set [42:38.460 --> 42:44.740] that up, tested it, it works great. So, how do we automate this and make it a little bit easier? [42:44.740 --> 42:50.120] This is where Tim comes in. Why? Well, because I can lift heavy things, but I can't always spell [42:50.120 --> 42:59.740] them. So, I call Tim. So, we use another really fun program. This is a program that if you have [42:59.740 --> 43:06.200] not used it, you definitely should. All right. It is called GNU Radio Companion. All right. How [43:06.200 --> 43:11.380] many people in the room have used GNU Radio Companion? This, yeah, this thing's awesome. So, [43:11.380 --> 43:16.460] we're going to release this code for everyone this weekend and you're going to be able to have [43:16.460 --> 43:22.700] Raptor Captor, which this is an automated system. It uses a module that Tim wrote that he calls [43:22.700 --> 43:29.620] GR Revenge. So, it's designed to actually go out there and be able to sniff packets [43:29.620 --> 43:35.360] and you set triggers. So, oh, if I have this preamble and then I see this sequence, [43:35.360 --> 43:40.180] write it and it just writes it for you. We're going to turn it on. We're going to try it because [43:40.180 --> 43:49.700] I could be lying. So, let me open. So, Rick, can I, or Rasabi, I'm going to need some eyes again. [43:49.700 --> 44:02.980] So, where does it say open? There we go. Nope. And Raptor Captor, is that Raptor Captor lower? [44:04.560 --> 44:11.960] Is it lower? Okay. So, we'll pop this one in real quick, see what happens. [44:13.680 --> 44:19.780] So, yeah, make sure it's assembled. We'll go, there's two of them, so we'll see how this one [44:19.780 --> 44:31.390] runs. All right. So, it's looking okay. We're getting some signals. But when we're getting [44:31.390 --> 44:37.270] signals, we're not getting anything to write. So, it's like, oh, man. Well, if you listen to the, [44:37.270 --> 44:41.010] remember I said you have to pick which side you're going to listen to? If you try to listen [44:41.010 --> 44:46.770] to too much, you aren't going to get anything. So, let's go back here. [44:49.330 --> 45:04.850] Open. File. Okay. Now, where's the other Raptor? Okay. What's it say? Which one says lower? [45:05.470 --> 45:12.010] This one? Yeah. So, let's see what happens if we try to do this and we actually pick like [45:12.010 --> 45:16.510] just one side of the spectrum instead of both. Because remember, it's kicking out of both, right? [45:24.030 --> 45:51.810] And what did it say? Compiler. Yeah. Oh, it takes a minute for it to, okay. So, [45:51.810 --> 45:54.810] oh, wait a minute. What's that? [45:55.550 --> 46:01.690] Zero. Yeah. So, what happens is we're actually, we're probably getting some interference because [46:01.690 --> 46:07.310] all this is at right at 902 as well. But now, because I picked one side of the spectrum, oh, [46:07.310 --> 46:14.410] now I have a counter. This immediately spits out whatever code they hit. So, if I automate this, [46:14.410 --> 46:20.830] it writes to a file, hey, I got unlock for key fob one. I got three locks for key fob one. I got [46:20.830 --> 46:26.890] two locks for key fob B. I got a start for key fob B. I know how to categorize all of them because [46:26.890 --> 46:32.950] they follow the same code. It's that simple. As long as you know the number, one, two, six, [46:32.950 --> 46:38.830] whatever it is, you know it's either lock, unlock, panic, start. And you can now recreate, [46:38.830 --> 46:44.270] use this and build your own captor and auto replay to be able to manually do this without [46:44.270 --> 46:49.350] having to sit there and watch somebody. Which is what I was told by the engineer, well, nobody's [46:49.350 --> 46:58.220] going to do that, so he's obviously never been divorced. So, now it's automated. I can put this [46:58.220 --> 47:05.060] on anything. What makes this possible and very easy is that block that I told you about. There [47:05.060 --> 47:12.900] we go. Catch. Catch. Now, it makes it easy because there's triggers set in. It's a great module. I [47:12.900 --> 47:19.900] recommend if you use GNU radio, look up GR revenge. It is amazing how well, because you can [47:19.900 --> 47:25.420] set these triggers to be able to do it. So, from start to finish, how did we work it? We were able [47:25.420 --> 47:32.560] to come in here and get into a vehicle by watching someone else. We denied their access if we wanted [47:32.560 --> 47:38.740] to or we just shut their key fob off when it was a key fob that wasn't being used and replayed all [47:38.740 --> 47:44.160] the codes that we already had. Once we replay them, we can do anything we want. Then we can get inside [47:44.160 --> 47:48.880] the car. Once we're inside the car, we plug into the OBD2 port. Once we plug into the OBD2 port, [47:49.920 --> 47:53.980] now there's a lot we can do. But I'm just going to talk about the simple ability to pull the door [47:53.980 --> 48:01.410] access code. We tried to take this and not be limited by one set of factors. I didn't want to [48:01.410 --> 48:06.670] say, oh, hey, yeah, I can do an RF attack. Well, let's demodulate it. Let's see if maybe we can [48:06.670 --> 48:10.950] work on this. So, the next step is we're going to start flipping bits. Because now that we figured [48:10.950 --> 48:15.270] out what the coding was, because before when we were trying that, it wasn't working. Well, now I [48:15.270 --> 48:20.910] know after doing some TPMS stuff that it actually had to be flipped to Manchester 2, which I never [48:20.910 --> 48:25.670] expected. I was using Manchester 1. So, when I get home, I'm going to be out there trying to flip [48:25.670 --> 48:33.090] bits and see, can I send a replay or a lock sequence from key fob 2? Can I jump by one [48:33.090 --> 48:37.810] increment in that category that we saw and be able to make things happen? I don't know, but [48:37.810 --> 48:42.210] it's worth trying. You're all going to have the tools to be able to try it as well, which means [48:42.210 --> 48:48.350] you can give feedback and maybe figure out more than I did, hopefully. But all the tools are going [48:48.350 --> 48:54.190] to be available to you. Inspectrum is out there. Universal Radio Hacker makes this so simple [48:54.190 --> 48:58.770] to be able to. All you have to do is use the self-filter. Don't push it more than two or three [48:58.770 --> 49:06.010] times. Use the self-filter. Adjust your noise levels. It makes FSK easy. Because FSK is not [49:06.010 --> 49:11.370] always easy. Inspectrum does the same thing. I was going to do an Inspectrum demo, but from this [49:11.370 --> 49:14.710] far away, it would be a waste of your time because it would take so long being able to see it. But [49:14.710 --> 49:20.830] all you do is you put it in there. You say, hey, I'm doing some frequency sampling. And you just [49:20.830 --> 49:26.790] drop it right in the center of the code that you can see or the signal that you see. And it helps [49:26.790 --> 49:30.970] adjust all that for you. That way, you have multiple reasons. And the reason that I want [49:30.970 --> 49:34.850] you to use more than one tool when you do this, if you use one tool and you're wrong, you don't [49:34.850 --> 49:40.030] know you're wrong until you just start beating your head against the wall. I always compare, [49:40.030 --> 49:44.210] especially if I'm pulling ones and zeros out of a signal, with multiple things. I'll use Universal [49:44.210 --> 49:49.390] Radio Hacker. I'll use Audacity. I'll use Inspectrum. I'll use Raptor Captor. But what I [49:49.390 --> 49:54.150] do is I put it all together and I see, was there a big difference? 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:04.230] And then you're going to use a default two meg for your sample rate. And when you try to replay, [50:04.230 --> 50:09.610] you might have some issues. Make sure you remember that sample rate because you'd be [50:09.610 --> 50:14.610] amazed how many times you're like, wow, this was just working. It was, but you didn't readjust [50:14.610 --> 50:19.210] your sample rate. That's probably the easiest, fastest one that I've seen people make mistakes [50:19.210 --> 50:24.370] with. And the other thing is just to have fun with it and try it. You know, I didn't dig into [50:24.370 --> 50:30.870] the chip set. I didn't start going crazy doing a bunch of funky stuff. I started with the basics. [50:30.870 --> 50:36.730] Can I get a one and zero out of this? 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:53.230] And it's not just with RF. Light does the same thing. Vehicles use a lot of light. The LIDAR [50:53.230 --> 51:02.230] system to tell how far away you are. That's a designated coded laser. Yeah. Things can be done [51:02.230 --> 51:08.350] there. TPMS. 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:23.750] It's a fox this year. They had to break the TPMS protocol and then be able to figure out the full [51:23.750 --> 51:30.210] ones and zeros out of that. Jared, thank you for driving that research that got a lot of us [51:30.210 --> 51:36.610] involved. Now, that's a capture the flag event. So, I mean, that's the thing. If you don't know Jared [51:36.610 --> 51:41.190] and the stuff he's, it's amazing. Thank you very much. Please. He's the person who invented the [51:41.190 --> 52:00.520] Portapak that goes on your hack RF. Oh, really? I didn't. Yeah. Those. Oh, yeah. Please. I'm sorry. [52:00.520 --> 52:05.220] I didn't see you there. Yeah. Stand up. This is in spectrum right here. That tool, like I said, [52:05.220 --> 52:11.120] I wish I had a monitor right in front of me, is amazing. And as a cross reference piece, that tool [52:11.120 --> 52:16.480] is simply incredible. And if you're doing FSK, I can't imagine doing it without having that tool [52:16.480 --> 52:25.760] as a backup. It's incredible. Thank you for making that. So, the big thing with this talk is I wanted [52:25.760 --> 52:30.700] to make it where people could walk out of here with at least a little extra knowledge of how to [52:30.700 --> 52:34.220] either do something or figure it out. And I also want you to have the safety feature. I'm not saying [52:34.220 --> 52:40.800] Ford's bad. Trust me. Most manufacturers have errors in what they're doing. It just is. No one's [52:40.800 --> 52:45.760] hack proof. I was just able to document this well enough to do a talk. There's other vehicles that [52:45.760 --> 52:50.020] I'm able to lock and unlock. And some of them, I destroy the rolling code protocol altogether. [52:51.040 --> 52:56.840] Test it. Try it out. Know what you have. But I'm going to go ahead and open up for questions and [52:58.060 --> 53:10.140] anything. So, he asked, well, hey, you know, you're hitting your key fob a whole bunch. Is [53:10.140 --> 53:16.820] that going to unsync your key fob? That I found because there used to be ‑‑ please correct me, [53:16.820 --> 53:20.300] those of you that have done it, because I wasn't doing this when they were using the [53:20.300 --> 53:28.480] first edition of rolling code. But it was only like 250‑some rolls. Now it's around 63,000. [53:29.000 --> 53:37.160] So, you're good. So, yeah. I do these demos and talks and I've never had an issue. But it's a [53:37.160 --> 53:40.540] good question. Something definitely to think of. But now you know how to reset it if it does get [53:40.540 --> 53:53.800] out of sync. So, the question was, do these attacks work if the vehicle is moving? Only if [53:53.800 --> 53:58.300] that vehicle allows the person with their key fob to do these. It depends on the protocol that [53:58.300 --> 54:03.400] that vehicle has. Most vehicles won't let you do most of these things while the vehicle is engaged. [54:03.700 --> 54:09.200] So, it would depend on what the protocol is. You're following their exact protocol. In fact, [54:09.200 --> 54:18.330] you're following it the exact way the guy told me he wrote it. So, what? I did not test while [54:18.330 --> 54:32.440] driving if the key fob will engage. But it's an area to look at. I did not try those. I'm not [54:32.440 --> 54:35.300] sure what they would do, but it's definitely something that I think we could start running [54:35.300 --> 54:40.740] down and working with. There's some great ‑‑ there's a lot of opportunities here. Flipping [54:40.740 --> 54:46.500] bits. I'm excited for people to get this and start practicing flipping bits to see, can we make [54:46.500 --> 54:52.380] it take a lock instead of an unlock? Can we make the other key fob the master? How does it work? [54:52.380 --> 54:58.320] Let's see. You're going to be able to see the sequencing of counts up to a certain point. [54:59.300 --> 55:04.280] Just back off one and move up. I don't know for sure. I just figured that piece out literally [55:04.280 --> 55:10.200] in the last 48 hours. Just like I just found out that at least all the way back to 2012, [55:10.200 --> 55:17.560] this works. So seven years' worth of vehicles, you can do this, too. At least. Go ahead. [55:19.880 --> 55:25.360] Question was, is there a fix? I don't know if this can be fixed in software or if this would [55:25.360 --> 55:38.220] have to be done at the body control module. So he asked if the door access code can be [55:38.220 --> 55:42.540] reprogrammed through the CAN bus. Not that I know ‑‑ I don't know the code to do it. I'm [55:42.540 --> 55:49.120] not saying it can't be. You can change it yourself. It's a feature you can do. However, [55:49.120 --> 55:57.340] if you change it, the master code will still stay the master code. Yes, sir? [56:06.000 --> 56:09.920] Looking to see whether it's encrypted or not. That's one of the things I'm looking at to check [56:09.920 --> 56:15.880] because when you do the FCC search, it actually tells you which encryption protocol they're [56:15.880 --> 56:26.480] using, which I apologize, off the top of my head, I can't ‑‑ yep, however, [56:27.000 --> 56:31.040] if those products are sold in America, they've got to use the FCC. [56:33.240 --> 56:41.920] So you can use our FCC. And it's a simple Google search. I just do FCC ID and whatever I'm working [56:41.920 --> 56:47.840] on or looking at will have, it will say FCC ID, I just type it right in, put it in quotes, [56:47.840 --> 57:08.370] do Uncle Google's thing and done. Any other questions? Oh. So he asked how long the packet [57:08.370 --> 57:19.110] is and the other question is the sample rate. I'm sorry, symbol rate, but what was the second [57:19.110 --> 57:27.230] part of it? Oh, a checksum. So we were looking at that and everything we found makes it look [57:27.230 --> 57:33.970] like ‑‑ we ran checksum, in fact, Universal Radio Hacker will do a checksum check for you. [57:34.070 --> 57:41.290] And each time it never matched up, so it ‑‑ I can't say it doesn't, but everything we found [57:41.290 --> 57:47.050] looks like there's not a checksum. I can't say with 100% certainty, but we've looked and we [57:47.050 --> 57:52.170] haven't been able to prove it is a checksum and we tried. We thought for sure it was. [57:54.030 --> 58:00.710] Definitely, let's talk. Anything else? I appreciate your time. Thank you for coming to [58:00.710 --> 58:15.220] the talk. Also, we did this entire talk on a CompuStick. I did all the processing, all the [58:15.220 --> 58:21.220] data rates, all the collection, CompuStick, that's it. Didn't need any big crazy computers, [58:21.220 --> 58:26.200] something I can put in my pocket, take anywhere and the presentation all off this. So you don't [58:26.200 --> 58:29.480] need a bunch of crazy equipment to be able to make fun things happen.