1 00:00:00,000 --> 00:00:00,620 All right. 2 00:00:00,620 --> 00:00:01,680 Good afternoon, everyone. 3 00:00:01,960 --> 00:00:05,860 My name is Colin, and I'm here to talk about modern odometer manipulation. 4 00:00:06,300 --> 00:00:09,240 So, unfortunately, they told me that the slides aren't going to be working today. 5 00:00:09,620 --> 00:00:11,880 They should be sharing them in the recording after this. 6 00:00:11,880 --> 00:00:17,740 So, there is some good stuff in the slides I'll try to talk through, but it might be difficult to follow a bit of the attack path and such. 7 00:00:18,720 --> 00:00:19,640 Not right now. 8 00:00:19,800 --> 00:00:20,880 DEF CON will give them out. 9 00:00:21,540 --> 00:00:21,940 All right. 10 00:00:21,940 --> 00:00:25,980 So, the agenda for today, I'm going to tell everyone a little bit about me and how I got to be here. 11 00:00:25,980 --> 00:00:40,580 I'll talk a presentation, which is reverse engineering a device I found online that claims to be able to manipulate the odometer of various models of cars across 53 different makes. 12 00:00:40,660 --> 00:00:42,840 So, pretty much every car I could think of. 13 00:00:43,060 --> 00:00:49,300 And finally, we'll conclude with who cares and a little bit of why this matters, as well as how we can maybe look for it when we're buying a car. 14 00:00:50,800 --> 00:00:55,360 So, before I get into it, disclaimer, odometer fraud is a federal crime. 15 00:00:55,500 --> 00:01:01,380 You are not allowed to advertise, sell, or use any odometer manipulation devices. 16 00:01:01,380 --> 00:01:04,540 So, this presentation is just to be educational on how they work. 17 00:01:04,540 --> 00:01:05,720 Do not do this. 18 00:01:06,800 --> 00:01:08,360 A little bit about me. 19 00:01:08,520 --> 00:01:12,180 So, I've always liked to make things work the way that I want them to. 20 00:01:12,460 --> 00:01:14,640 This means manipulating things. 21 00:01:14,640 --> 00:01:16,920 I started off with iOS jailbreaking. 22 00:01:16,920 --> 00:01:23,060 I wanted my iPod touch to look a little different, wanted to kind of cheat in some of the games, and had a lot of fun with that. 23 00:01:23,060 --> 00:01:27,460 Moved into hacking some AAA video games and reverse engineering anti-cheats. 24 00:01:27,480 --> 00:01:32,620 And after that, I got into the field of cybersecurity because I found I loved reverse engineering and exploitation. 25 00:01:33,480 --> 00:01:40,120 In the field of cybersecurity, I started with voltage fault injection, looking to extract firmware from flash-protected chips. 26 00:01:40,280 --> 00:01:47,520 And lately, I've been working on MCU emulation in order to help understand a little bit of the firmware I've extracted, as well as do some exploitation. 27 00:01:49,580 --> 00:01:49,880 All right. 28 00:01:49,880 --> 00:01:51,660 So, getting into odometers. 29 00:01:52,100 --> 00:01:54,200 Imagine two identical cars. 30 00:01:54,200 --> 00:01:55,160 They're on the lot. 31 00:01:55,160 --> 00:01:58,080 They're the same year, the same make, and the same model. 32 00:01:58,080 --> 00:02:00,440 How can you tell which one is worth more? 33 00:02:02,660 --> 00:02:05,060 Typically, the odometer drives the value. 34 00:02:05,100 --> 00:02:09,940 So, the odometer on a car represents the wear and tear that a car has been through. 35 00:02:09,940 --> 00:02:13,860 It's made of a bunch of consumable parts , and over time, those parts are worth less. 36 00:02:14,100 --> 00:02:19,860 So, it's very important that the odometer should only ever increment as it's a proxy for wear and tear. 37 00:02:19,860 --> 00:02:22,840 It should never reset to zero and should never decrease. 38 00:02:24,360 --> 00:02:29,720 So, my understanding was that you cannot easily roll back an odometer on modern cars. 39 00:02:29,720 --> 00:02:40,860 Until I came across an interesting discussion on an automotive forum, where a couple users were talking about a device that doesn't say it can roll back an odometer, but it can manipulate the odometer in a different way. 40 00:02:41,020 --> 00:02:46,400 Instead of rolling it back, it would prevent the odometer value from ever increasing in the first place. 41 00:02:46,460 --> 00:02:48,200 And this was a new idea to me. 42 00:02:48,440 --> 00:02:54,080 So, I started digging into it, and I found that there's a web store online where they're advertising these devices. 43 00:02:54,720 --> 00:02:59,540 And like I mentioned, they're covering 53 different makes and countless models of vehicles. 44 00:02:59,540 --> 00:03:16,300 They offer some advanced features like configurable modes, meaning you can have it prevent any miles from being added to the odometer, turn that off and have all miles show up on the odometer, or even have a fractional amount of the miles that you drive register on the odometer, 45 00:03:16,300 --> 00:03:18,520 which is really quite a fraudulent feature. 46 00:03:18,520 --> 00:03:22,060 It would help get around our Carfax checks every time you do an oil change. 47 00:03:22,720 --> 00:03:26,580 They also had a Bluetooth app control feature, which I thought was funny. 48 00:03:26,580 --> 00:03:28,660 It was just clearly a large operation. 49 00:03:28,820 --> 00:03:32,780 And they sell these devices for anywhere between 300 and 600 euros. 50 00:03:33,080 --> 00:03:38,740 So, that price makes me think there's money or value to be had by committing this fraud for sure. 51 00:03:38,740 --> 00:03:44,860 When I go to get a lease, if I want to upgrade my miles by 2,000, it's probably going to cost me just as much, if not more. 52 00:03:45,220 --> 00:03:48,780 And that concerns me about how widespread the use of these devices might be. 53 00:03:49,540 --> 00:03:53,620 So, the other thing to mention is that this web store was a European website. 54 00:03:53,860 --> 00:03:58,760 They were completely open about what this device was and the pricing and exactly how it worked. 55 00:03:58,760 --> 00:04:03,260 They had videos of demos on all sorts of different cars, but they did not ship to the U.S. 56 00:04:03,260 --> 00:04:05,460 and I presume that's because of the laws here. 57 00:04:05,940 --> 00:04:20,520 But they did have a kind of shadow sister site, where they used the same web infrastructure and the same pictures, but just changed all the text descriptions and made up some bogus functionality that it doesn't have in order to sell these devices in the U.S. 58 00:04:21,280 --> 00:04:24,520 So, my curiosity got the best of me and I bought one of these devices. 59 00:04:24,520 --> 00:04:33,240 And unfortunately, you can't see it, but what it looks like is a tiny PCB that is wired into a nice harness that has two ends of the same connector on it. 60 00:04:33,520 --> 00:04:38,860 And so, from that, you can probably guess that the device is intended to be used in a man-in-the-middle configuration. 61 00:04:39,020 --> 00:04:47,380 They advise on their website that you plug it into the back of your instrument panel cluster, where you unplugged the original connection, and plug that into this device. 62 00:04:48,880 --> 00:05:01,140 So, having a man-in-the-middle position here gives the device full control of messages flowing in either direction, whether that's to the instrument panel cluster from the rest of the car, or back out to the rest of the car from the instrument panel cluster. 63 00:05:02,140 --> 00:05:10,380 The PCB on the device connects to both power and ground on either side of the connector, as well as has a CAN bus pair that goes to either side. 64 00:05:13,460 --> 00:05:15,160 Components of the device are pretty simple. 65 00:05:15,160 --> 00:05:25,280 It was an STM32 microcontroller, some power circuitry to step 15 volts down to 5, and then regulated to 3.3, and two CAN transceivers for either end of the connector. 66 00:05:27,020 --> 00:05:33,320 So, with my goal being to understand how this device works, I wanted to obtain the code from inside the STM32. 67 00:05:33,440 --> 00:05:35,900 I figure the firmware is where the logic will be. 68 00:05:36,220 --> 00:05:45,500 And whenever I want to interface with a microcontroller, the first place that I look is for the debug protocol, like SWD, JTAG, DAP, BDM, for two reasons. 69 00:05:45,500 --> 00:05:50,060 The first is that that protocol is almost always available somewhere on hardware. 70 00:05:50,300 --> 00:05:57,300 If you think about it, when the manufacturer builds the board, they're going to do that through the debugging protocol. 71 00:05:57,620 --> 00:06:01,520 And then the second reason is that that interface gives you such high level of access. 72 00:06:01,520 --> 00:06:05,880 You're going to be able to read and write all the flash and do everything that I want to do. 73 00:06:06,560 --> 00:06:12,520 So, being an STM32, this is an ARM microcontroller that has SWD or single-wire debug. 74 00:06:13,100 --> 00:06:16,620 And there was an unpopulated three-pin header on this device. 75 00:06:16,620 --> 00:06:31,980 So, I got my multimeter out and traced a bunch of connections and pretty quickly realized that that unpopulated header provided SWD access, and hooked up to the device using a cheap ST debugger, and hooked up some power to the device. 76 00:06:31,980 --> 00:06:36,740 And I just want to mention something I've recently been doing for powering automotive components. 77 00:06:36,740 --> 00:06:49,660 I don't know if you guys have heard of these USB-C power delivery decoy modules, but they're tiny little chips that have a USB-C port and you can use them with any of your typical USB-C chargers to get a set DC voltage out. 78 00:06:49,900 --> 00:06:51,200 And so, I love these things. 79 00:06:51,200 --> 00:07:01,900 They're tiny and I just solder a little thing to say give me 15 volts and then I solder them up to my ECUs and I can take my ECUs or other automotive parts with me anywhere and just plug in a typical laptop charger to power them on. 80 00:07:01,900 --> 00:07:06,100 So, really, really nice class of device if you're powering a lot of these things. 81 00:07:06,700 --> 00:07:14,720 So, after soldering that up to provide 15 volts to our target device, I ran OpenOCD and everything looked great at the start. 82 00:07:14,720 --> 00:07:25,520 I was able to connect, read the registers, I saw that the program counter was in flash, it all looked right, but upon trying to read the flash, I was getting all zeros back. 83 00:07:25,520 --> 00:07:36,080 And I hadn't worked with a ton of STM32s, so I had to do some research and found that this STM32 product had flash read protection enabled. 84 00:07:37,060 --> 00:07:53,200 So, doing some research, I googled STM32 F1 flash readout bypass vulnerability just to get all the keywords in there and actually found a very promising result, an attack detailed in a paper called one exploit to rule them all. 85 00:07:53,420 --> 00:08:05,320 And this paper was really interesting because it didn't just have one attack, as the name kind of suggests, but it actually covered, I think, five or six different attacks, all based on extracting protected flash from microcontrollers. 86 00:08:05,500 --> 00:08:14,880 And what was really cool about this paper is as you read through the attacks, you can kind of see how flash protection evolved over time and how the exploits evolved over time to counteract that. 87 00:08:15,180 --> 00:08:19,020 And so, I really enjoyed reading that and seeing the game of cat and mouse go by. 88 00:08:19,300 --> 00:08:25,540 But the attack we'll talk about here today is called shellcode execution via glitch and flash patch block. 89 00:08:26,040 --> 00:08:29,600 And I will try to detail it without the slide, but we'll see how that goes. 90 00:08:29,860 --> 00:08:34,320 Before I do that, I want to just talk a little bit about flash protection, what we're up against here. 91 00:08:34,540 --> 00:08:42,340 So, on STM32 microcontrollers, flash protection will prevent any reads from flash by just returning zeros instead of the actual data. 92 00:08:42,440 --> 00:08:44,880 And it will be enabled in three different conditions. 93 00:08:44,920 --> 00:08:47,660 The first condition is if a debugger is connected. 94 00:08:47,940 --> 00:08:52,380 And then the other two conditions are if you boot to the bootloader or boot to SRAM. 95 00:08:53,040 --> 00:08:56,860 So, those latter two conditions can be cleared by a simple reset. 96 00:08:56,860 --> 00:09:01,840 But the first condition of having a debugger connected can only be cleared on a full power cycle. 97 00:09:05,170 --> 00:09:06,310 All right. 98 00:09:06,310 --> 00:09:14,070 So, to explain how this attack works, I'm just going to start here with the steps and we'll see how this goes. 99 00:09:14,410 --> 00:09:18,590 The first step is to prepare SRAM with a two-stage payload. 100 00:09:19,030 --> 00:09:21,990 You put those two pieces of code into RAM. 101 00:09:21,990 --> 00:09:27,090 And at that time, since the debugger has been connected, the flash is protected until the power cycle occurs. 102 00:09:27,590 --> 00:09:39,210 The trick, the first trick of this attack is to do a power cycle very, very quickly and abuse SRAM data retention in order to keep our payloads in SRAM while clearing the lock. 103 00:09:40,090 --> 00:09:48,630 After that, we can boot to SRAM and our flash protection lock from the debugger connected is cleared, but we now have a lock from booting to SRAM. 104 00:09:48,630 --> 00:09:52,910 And our second trick occurs here in stage one of our SRAM payload. 105 00:09:53,090 --> 00:09:57,450 The first thing we'll do is set up what's called a flash patch block. 106 00:09:57,450 --> 00:10:00,670 And this is a debugging feature on STM32s. 107 00:10:00,670 --> 00:10:06,770 It's really interesting because what it does is it has two registers, a comparator and an override value. 108 00:10:06,770 --> 00:10:17,870 You give it an address and when the microcontroller attempts to read flash and it matches the address you set up in the flash patch block, it will return your override value instead of what's actually in flash. 109 00:10:18,010 --> 00:10:22,130 And since this is a debugging feature, it will actually persist across resets. 110 00:10:22,830 --> 00:10:33,810 So, by setting up a flash patch block on the flash entry point to point to our stage two payload in RAM, we can then reboot to flash, which will clear our lock. 111 00:10:34,210 --> 00:10:44,390 And because we have the flash patch block set up, when it boots, execution will be redirected to our code in RAM stage two, which just transmits the contents back to us over UART. 112 00:10:46,130 --> 00:10:49,230 So, luckily, this attack was implemented on GitHub already. 113 00:10:49,230 --> 00:10:55,070 There's a nice repo by CTXZ that explains it all and uses a PyPICO , making it really easy. 114 00:10:55,710 --> 00:11:00,430 But in order to actually do this attack, we're going to need to modify the hardware we have. 115 00:11:00,430 --> 00:11:09,170 To do that really quick power cycle, we're going to need to have tight control over the VCC pin and we're also going to need to be able to react very quickly to changes in NReset. 116 00:11:09,510 --> 00:11:15,510 And so, to do that, we're going to remove the capacitors on those two lines as the capacitors there will resist changes in voltage. 117 00:11:16,250 --> 00:11:24,010 We're also going to remove some resistors on the boot config pins, boot zero and boot one, so that our Pico can control the boot mode throughout the attack. 118 00:11:25,730 --> 00:11:28,810 After that, we can connect the target device to our Pico. 119 00:11:28,810 --> 00:11:37,930 Again, the Pico is providing power, watching NReset, controlling the boot configs and listening to UART for when our stage two payload finally starts sending out the flash contents. 120 00:11:41,160 --> 00:11:54,240 So, when we run the attack, I have a saley screenshot that you can't see of the power glitch, but what it shows is that VCC begins dropping and NReset follows it down. 121 00:11:54,240 --> 00:12:00,980 As VCC and NReset drop, eventually NReset hits what the Pico will consider logic level low. 122 00:12:01,020 --> 00:12:04,980 And when it does that, the Pico immediately restores power to VCC. 123 00:12:05,240 --> 00:12:11,940 And so, by doing this, the STM32 really only loses power for about two microseconds. 124 00:12:11,940 --> 00:12:18,060 A very, very short amount of time, enabling SRAM to retain its data at room temperature without much issue. 125 00:12:18,240 --> 00:12:22,760 Meanwhile, though, NReset will continue all the way down and perform that full power cycle. 126 00:12:25,500 --> 00:12:34,120 And here, this screenshot for the recording, this shows the full attack where the power cycle that we just talked about is this little dip here. 127 00:12:35,300 --> 00:12:39,440 So, finally, we have the code, we have the flash, we can begin reverse engineering this. 128 00:12:39,440 --> 00:12:40,720 Let's get into Ghidra. 129 00:12:41,340 --> 00:12:49,940 From looking at the datasheet, we can see where RAM goes, where flash goes, and that this STM32 mirrors flash at the zero address. 130 00:12:52,140 --> 00:12:56,420 So, we can set up those sections in Ghidra and select Cortex Little Endian. 131 00:12:57,060 --> 00:13:03,100 And the next tip that I want to explain is using SVD loader when you're reverse engineering ARM firmware. 132 00:13:03,180 --> 00:13:14,080 So, if you're unfamiliar with SVD loader, it is a fantastic Ghidra script by LevelDown Security, which will save you a ton of time in setting up both the memory regions and the peripheral labels in Ghidra. 133 00:13:14,300 --> 00:13:24,720 So, all the different peripherals, timers, watchdogs, the SPI, the CAN controllers, everything will be labeled automatically by this SVD loader script. 134 00:13:24,720 --> 00:13:30,500 And the reason that's so easy is because ARM provides SVD files for the chips that contain this information. 135 00:13:31,860 --> 00:13:37,220 So, by doing that, a bunch of information which was completely unlabeled before gets labeled. 136 00:13:37,220 --> 00:13:45,060 So, all these properties on a CAN register, for example, will be labeled, and it really facilitates reverse engineering, makes it much quicker to go through. 137 00:13:46,660 --> 00:13:51,320 So, in ARM, to get to the meat of this program, we have to start at the entry point. 138 00:13:51,340 --> 00:13:53,100 And luckily, that's well defined. 139 00:13:53,400 --> 00:14:00,260 So, Ghidra even knows that at address zero, we'll have the stack pointer, and at address four, the reset interrupt pointer. 140 00:14:00,760 --> 00:14:04,400 So, if we follow that, we see the entry point function. 141 00:14:04,500 --> 00:14:11,200 And I've had great success when reverse engineering embedded firmware by just following the last call of each function until I hit a loop. 142 00:14:11,200 --> 00:14:13,940 And very often, that's where most of the functionality is. 143 00:14:14,160 --> 00:14:19,680 So, by doing that here, we get to a do while loop and the full app loop functionality. 144 00:14:19,760 --> 00:14:33,120 I spent some time to reverse engineer all of this, but the real meat is in two functions, which are hooks that intercept CAN messages coming in from either direction and forward them out the other direction. 145 00:14:36,810 --> 00:14:42,070 So, this is where the actual odometer manipulation is taking place. 146 00:14:42,910 --> 00:14:47,390 Kama AI's open DBC project on GitHub was a huge help to me in doing this. 147 00:14:47,390 --> 00:14:53,430 I did not hook this up to a real car, but used their message definitions to see what was actually being modified. 148 00:14:53,950 --> 00:14:59,470 And I'll explain the code that is actually in the function modifying the odometer now here. 149 00:14:59,990 --> 00:15:04,850 So, the device is looking for a specific arbitration ID and a specific DLC. 150 00:15:05,110 --> 00:15:09,610 If it sees that, it iterates, checks through which mode it's in. 151 00:15:09,610 --> 00:15:15,390 Again, that's whether it's going to add all the miles to the odometer, none of them to the odometer, or some fraction in between. 152 00:15:15,470 --> 00:15:20,450 And then it just modifies one byte of the message before forwarding it. 153 00:15:20,810 --> 00:15:22,450 And that is all it does. 154 00:15:22,450 --> 00:15:30,290 The sixth byte in the message, Kama AI open DBC labeled as odo count, seems awfully related to the odometer. 155 00:15:30,570 --> 00:15:32,530 And in mode one, they're just zeroing it out. 156 00:15:32,530 --> 00:15:35,330 And in other modes, dividing it by a divisor. 157 00:15:36,370 --> 00:15:38,550 So, that seemed really, really simple. 158 00:15:38,550 --> 00:15:42,430 I expected there to be a little more logic, something else going on. 159 00:15:42,710 --> 00:15:46,430 So, I kept digging through the firmware, and I found some other interesting functionality. 160 00:15:46,750 --> 00:15:55,450 I found that in order to change modes on this device, if you didn't buy the Bluetooth adapter, they were actually also listening to buttons on the steering wheel, which is pretty cool. 161 00:15:55,450 --> 00:16:01,790 So, by holding down the up or down buttons on the steering wheel, you could change your mode, and it would toggle through. 162 00:16:01,970 --> 00:16:10,190 It would also give you feedback to let you know what mode you're in by sending a hard-coded message to the instrument panel cluster that would completely blink it on and off. 163 00:16:11,090 --> 00:16:14,930 But I didn't see anything else that had to do with the odometer. 164 00:16:15,350 --> 00:16:17,150 I was really, really surprised by this. 165 00:16:17,150 --> 00:16:26,570 So, my overall analysis is that the device simply modifies one specific message before it reaches the instrument panel cluster to achieve odometer manipulation. 166 00:16:28,090 --> 00:16:32,390 So, this got me wondering, who cares if odometers are manipulated? 167 00:16:33,210 --> 00:16:36,510 Obviously, people buying used cars, which includes me. 168 00:16:36,510 --> 00:16:37,650 We care a lot. 169 00:16:37,730 --> 00:16:39,710 But also, warranty providers. 170 00:16:39,710 --> 00:16:44,470 When they provide a warranty, it's often for a certain number of miles based on the odometer. 171 00:16:44,710 --> 00:16:52,270 And lease providers also, when they calculate the residual value, what a car is going to be worth when they get it back, they are counting on the odometer. 172 00:16:52,570 --> 00:16:54,970 So, in both of those scenarios, OEMs are involved. 173 00:16:54,970 --> 00:16:59,050 OEMs are obviously big warranty providers, but in some cases, they're also lease providers. 174 00:16:59,330 --> 00:17:01,010 And I just thought that was pretty interesting. 175 00:17:02,410 --> 00:17:12,290 So, maybe the threat model was to prevent rolling back, to prevent being able to just rewrite the value, and never increasing was just not considered. 176 00:17:15,640 --> 00:17:18,580 So, I have a little bit of advice for buyers here. 177 00:17:20,300 --> 00:17:22,280 Obviously, do a pre-purchase inspection. 178 00:17:22,280 --> 00:17:24,720 The service techs and service advisors will know best. 179 00:17:25,620 --> 00:17:30,600 And then, beyond that, looking at the wear of consumables can help tell if an odometer is manipulated. 180 00:17:31,040 --> 00:17:34,820 But I think the main area that I want to focus in is the diagnostic reporting. 181 00:17:35,060 --> 00:17:36,460 And I didn't get as far as I wanted to. 182 00:17:36,460 --> 00:17:43,880 I wanted to find a couple of indicators to be able to say, hey, you can check for these things on your car, and this will tell you if this device has probably been used or not. 183 00:17:43,900 --> 00:17:46,680 But I'm still working on that, so I hope to release something soon. 184 00:17:47,200 --> 00:17:50,260 But I have noticed a couple cases, and I'll talk about those. 185 00:17:50,260 --> 00:17:57,080 So, looking at a diagnostic report, I've seen that a lot of cars will track the odometer value on multiple ECUs. 186 00:17:57,140 --> 00:18:01,660 That might be, like, the gateway or the transmission, other modules as well. 187 00:18:01,660 --> 00:18:06,160 But if you pull a full diagnostic report and compare those values, they should be pretty darn similar. 188 00:18:06,180 --> 00:18:07,980 And if they're not, something's up. 189 00:18:08,080 --> 00:18:15,440 But you can also look for engine hours or other diagnostic attributes that may relate to how much a vehicle's been used. 190 00:18:16,680 --> 00:18:25,380 So, one example, I found a Jeep Grand Cherokee 2018, where the odometer showed 19,000 miles on the dash, and all looked great. 191 00:18:25,380 --> 00:18:29,800 But when I read from the secure gateway, it told me that the vehicle had over 30,000 miles. 192 00:18:29,800 --> 00:18:33,440 So, I'm not 100% sure that that means this device has been used. 193 00:18:33,440 --> 00:18:35,840 It certainly is an indicator of something, though. 194 00:18:39,100 --> 00:18:40,120 All right. 195 00:18:40,120 --> 00:18:41,720 And that brings me to the end. 196 00:18:41,720 --> 00:18:43,100 What questions do you have? 197 00:18:53,810 --> 00:18:58,130 It's in the manipulation device is an STM32. 198 00:18:58,630 --> 00:19:00,170 I'm not sure about the cluster. 199 00:19:08,580 --> 00:19:10,000 I'm sorry, can you repeat that? 200 00:19:16,970 --> 00:19:17,810 That's correct. 201 00:19:17,810 --> 00:19:22,190 I believe in the future STM32s, they've patched it by zeroing RAM when it boots. 202 00:19:23,650 --> 00:19:24,550 Yes? 203 00:19:24,550 --> 00:19:35,190 The location of the data within the messages varies between manufacturers and even sometimes within a particular vehicle for a single manufacturer. 204 00:19:35,190 --> 00:19:38,390 How did this device support multiple manufacturers? 205 00:19:38,390 --> 00:19:39,250 Well, that's a great question. 206 00:19:39,250 --> 00:19:44,850 So, this device, to be very clear, this device supports one specific manufacturer and one specific vehicle. 207 00:19:44,930 --> 00:19:49,090 But the site advertises these devices for many, many different ones. 208 00:19:49,090 --> 00:19:51,490 Of course, you'd have to buy a different one for each vehicle. 209 00:19:51,490 --> 00:19:52,530 Great question. 210 00:19:53,310 --> 00:19:54,210 Yes? 211 00:19:55,730 --> 00:19:56,930 I would love to. 212 00:19:56,930 --> 00:20:00,590 I certainly want to see if other brands are as simple as this. 213 00:20:00,670 --> 00:20:03,210 I think it would be a really interesting investigation. 214 00:20:03,210 --> 00:20:05,710 I want to find some indicators first, but that's a great idea. 215 00:20:05,890 --> 00:20:06,370 Yes? 216 00:20:08,390 --> 00:20:09,390 Unfortunately, not. 217 00:20:09,390 --> 00:20:11,390 It's illegal to advertise these devices. 218 00:20:12,670 --> 00:20:14,170 I would love to. 219 00:20:15,910 --> 00:20:17,210 Anything else? 220 00:20:22,430 --> 00:20:31,510 After you register the device, does the device block some of the messages or is it sent to the developer? 221 00:20:31,970 --> 00:20:37,010 It just changes one field in one specific message headed towards that instrument panel cluster. 222 00:20:37,270 --> 00:20:39,800 Absolutely. 223 00:20:42,300 --> 00:20:45,460 And so that's an interesting area of thought as well, right? 224 00:20:45,460 --> 00:20:57,660 They could compare these things while the vehicle is running, but with this position where the device is man-in-the-middle between the instrument panel cluster and the vehicle, it really has so much power that that's a difficult strategy. 225 00:20:57,820 --> 00:21:12,780 For example, if you wanted to compare the two values, the odometer blocking device could just lie and say, I'm showing the right mileage on the odometer, or when you go to set the malfunction indicator lamp, it could ignore that as well, so the user never knows that the comparison failed. 226 00:21:12,780 --> 00:21:14,700 But it certainly is an area of thought. 227 00:21:15,540 --> 00:21:21,120 Checking on signal makers, so you're doing this mechanism of checking only one time, but you have to go to the whole algorithm? 228 00:21:21,680 --> 00:21:25,560 I believe so, but yes, I've only reverse-engineered one of these devices. 229 00:21:27,620 --> 00:21:28,100 Yes? 230 00:21:47,280 --> 00:21:50,860 Right, it's only more effort, so it is a cat and mouse thing. 231 00:21:51,220 --> 00:21:54,720 I think there are probably better ways to solve it, but I don't have any to recommend today. 232 00:21:55,160 --> 00:21:55,880 Yes? 233 00:22:00,540 --> 00:22:04,700 I, you know, I saw a bunch of light-duty vehicles. 234 00:22:04,700 --> 00:22:08,460 I don't know if I saw heavy duties on there, so I'd have to check that. 235 00:22:08,980 --> 00:22:12,360 Yeah, I'm not sure if they were making devices for those vehicles at all. 236 00:22:12,380 --> 00:22:12,740 Yeah. 237 00:22:13,760 --> 00:22:14,480 Yes? 238 00:22:25,870 --> 00:22:29,210 At least on this device that I saw, it was not doing any of that. 239 00:22:29,210 --> 00:22:31,970 So it was not doing anything with the oil life indicator. 240 00:22:31,970 --> 00:22:33,550 That could be another thing to check. 241 00:22:34,050 --> 00:22:34,850 Right. 242 00:22:40,940 --> 00:22:42,220 Oh, that's a great question. 243 00:22:42,220 --> 00:22:47,860 Yeah, that was an indicator I haven't thought of before, because yeah, how many times that's reset would certainly be a great thing to look for. 244 00:22:49,340 --> 00:22:52,940 And it's a set number of miles about every time, so that's a great idea. 245 00:22:53,720 --> 00:22:54,740 Thank you. 246 00:22:55,440 --> 00:22:56,380 Yes, sir? 247 00:23:06,480 --> 00:23:09,280 Yeah, my confidence is very, very high. 248 00:23:09,360 --> 00:23:10,700 Very, very, very high. 249 00:23:10,760 --> 00:23:14,840 And I believe this does work, but yes, that's all I'll say. 250 00:23:26,150 --> 00:23:32,590 It's very uncommon that a software update will change the CAN bus specification as those messages are processed by so many ECUs. 251 00:23:32,730 --> 00:23:35,330 And that's possible that they could do some prevention. 252 00:23:35,330 --> 00:23:35,570 Yes? 253 00:23:35,590 --> 00:23:36,770 So that's true, but 254 00:23:41,600 --> 00:23:49,820 you can't tell at the database level the same, but there are other factors and other communications they make that may change. 255 00:23:50,060 --> 00:23:52,840 So especially in like the industry. 256 00:23:53,920 --> 00:23:56,240 So I guess that would be my question. 257 00:23:56,500 --> 00:24:00,760 It sounds like you think that it would be viable to look to your function. 258 00:24:00,760 --> 00:24:03,060 Well, yeah, I think it depends how much they change. 259 00:24:03,060 --> 00:24:06,260 I think it's possible somebody could make an update that makes these stop working. 260 00:24:06,260 --> 00:24:07,080 Absolutely. 261 00:24:07,160 --> 00:24:10,420 But I don't think that's, you know, something they commonly do. 262 00:24:10,800 --> 00:24:11,300 Yeah. 263 00:24:20,880 --> 00:24:23,600 So I can, there's no security involved. 264 00:24:23,600 --> 00:24:25,060 This is just a normal message. 265 00:24:25,060 --> 00:24:26,140 It's not UDS or anything. 266 00:24:26,140 --> 00:24:27,720 It's just normal CAN protocol. 267 00:24:27,860 --> 00:24:31,780 So the, in the slides, I do show the message arbitration ID and definition. 268 00:24:31,780 --> 00:24:36,320 So you can look at the whole definition in Kama AI's OpenDBC as well. 269 00:24:39,400 --> 00:24:43,080 And that's one of the ideas that, you know, maybe that is a solution here, right? 270 00:24:43,080 --> 00:24:45,380 Maybe that this is a great use case of SECOC. 271 00:24:45,380 --> 00:24:48,440 It's kind of crazy that this is so unprotected, in my opinion. 272 00:24:49,500 --> 00:24:50,260 Yes, sir. 273 00:24:56,690 --> 00:25:00,770 I mean, honestly, I dumped the firmware and reverse engineered most of it in a day. 274 00:25:00,770 --> 00:25:02,290 I did this last fall. 275 00:25:02,290 --> 00:25:05,550 It took a while to get the actual device once I ordered it online. 276 00:25:05,570 --> 00:25:09,630 But yeah, I just reverse engineered it statically. 277 00:25:09,630 --> 00:25:10,730 So it was pretty quick. 278 00:25:14,920 --> 00:25:15,660 Yes. 279 00:25:20,580 --> 00:25:26,980 So I haven't seen any, but that certainly could be an option that someone could use to defend against this. 280 00:25:26,980 --> 00:25:28,300 I just haven't seen it yet. 281 00:25:31,110 --> 00:25:32,030 Yes. 282 00:25:49,060 --> 00:25:50,840 That is a great question. 283 00:25:51,100 --> 00:25:59,380 I can tell you Kama AI labeled the field as unsigned, but I don't know, you know, in practice, I would assume it's unsigned, but that is a funny question. 284 00:25:59,380 --> 00:26:00,520 I haven't tested. 285 00:26:02,700 --> 00:26:03,960 Dangerous one to test. 286 00:26:05,340 --> 00:26:05,800 Cool. 287 00:26:05,800 --> 00:26:06,620 Anything else? 288 00:26:10,190 --> 00:26:11,610 Well, thank you all for sticking with me. 289 00:26:11,610 --> 00:26:13,290 Sorry that the slides weren't there.