1 00:00:00,400 --> 00:00:02,340 Good afternoon, ladies and gentlemen. 2 00:00:02,340 --> 00:00:03,580 I'm Ian Tabor. 3 00:00:03,580 --> 00:00:09,980 I'm here to do my talk on how an automotive researcher had his car stolen by a can injection. 4 00:00:10,080 --> 00:00:12,600 That's the official title of this talk. 5 00:00:12,620 --> 00:00:22,120 The unofficial title of this talk is the irony of how an automotive security researcher had his car stolen by a method he found on another vehicle. 6 00:00:22,280 --> 00:00:23,620 Yeah, great. 7 00:00:23,620 --> 00:00:28,160 My colleague who did the research with me, Dr. 8 00:00:28,160 --> 00:00:32,220 Ken Tindall, isn't present, but he has recorded some of the slides here. 9 00:00:32,480 --> 00:00:37,160 So I will be introducing him now, and I'll introduce myself after. 10 00:00:42,330 --> 00:00:43,490 There should be audio. 11 00:00:52,560 --> 00:00:53,840 That should be on now. 12 00:01:22,470 --> 00:01:23,830 I'm Ken Tindall , the CAN bus guru. 13 00:01:24,370 --> 00:01:28,370 And it's true, I've been working with CAN in the car industry for a long time. 14 00:01:28,370 --> 00:01:29,610 I'm an industry veteran. 15 00:01:29,610 --> 00:01:35,470 Started in 1995 with Volvo's P2X, a large platform project. 16 00:01:35,490 --> 00:01:40,470 And that was back when CAN was a shiny new thing, and this was their first major CAN platform. 17 00:01:40,530 --> 00:01:49,110 I helped Motorola design the first real-time CAN controller, and I sold my startup back then to DeBosch, so I'm an industry veteran. 18 00:01:49,170 --> 00:01:53,990 I'm the CTO of CANIS Labs, and that's a CAN bus security company. 19 00:01:54,530 --> 00:01:57,350 And I have quite a few roles there. 20 00:01:57,350 --> 00:02:08,490 I've been a hardware IP designer, so I designed CANHG, the protocol for speeding up CAN by inserting extra fast data inside a slow CAN bit. 21 00:02:08,490 --> 00:02:17,650 And I've been an embedded real-time hardware software designer, and I designed the CryptoCAN system for encrypting any CAN frame. 22 00:02:17,650 --> 00:02:24,610 And today I'm working on the CANon Automation CANSEC working group for CANXL security. 23 00:02:25,750 --> 00:02:28,490 So now I'll introduce who I am. 24 00:02:28,670 --> 00:02:30,810 You could say I'm the ultimate car hacker. 25 00:02:30,890 --> 00:02:33,090 I built this vehicle 18 years ago now. 26 00:02:33,090 --> 00:02:38,290 It's based on the Ford Sierra rear wheel drive platform from around the 1990s. 27 00:02:38,430 --> 00:02:40,930 It's got a Ford-focused two-liter engine in. 28 00:02:40,990 --> 00:02:51,150 It does actually have three CUs, and it includes CAN, but if you want to try and hack it, I think you would be sitting on my lap, because the CAN wires are out that long. 29 00:02:51,330 --> 00:02:52,610 So good luck. 30 00:02:52,710 --> 00:02:54,870 There's a little disclaimer down at the bottom there. 31 00:02:54,950 --> 00:03:03,390 This work was carried out on my own money, on my own time, and nothing to do with any current or previous employers, just to get that clear. 32 00:03:03,390 --> 00:03:07,370 So a little bit of a history about my car hacking in the past. 33 00:03:07,770 --> 00:03:20,290 In 2015, I bought this Citroen DS5, and you could tether your phone to the head unit and surf the internet from the phone, from the car, why you'd want to, I don't know, whatever. 34 00:03:20,870 --> 00:03:26,150 But if you did an NMAP scan in the other direction, you could find four ports open. 35 00:03:26,310 --> 00:03:30,450 23, 111, 3333, and 20,000. 36 00:03:30,870 --> 00:03:33,270 23 is telnet, like everyone knows. 37 00:03:33,270 --> 00:03:33,810 Guess what? 38 00:03:33,810 --> 00:03:36,470 No credentials, straight in root access. 39 00:03:36,590 --> 00:03:43,890 You could then extricate any of the data via the USB or via FTP server mapped as a path. 40 00:03:44,870 --> 00:03:46,790 Yeah, so great. 41 00:03:46,810 --> 00:03:58,750 I wrote up my findings, sent them over to Citroen in France, and said, by the way, is this not a matter of French national security because the French president gets driven around in one of these things? 42 00:03:59,290 --> 00:04:01,670 And they were like, meh, I don't care. 43 00:04:01,930 --> 00:04:11,690 One of my most popular tweets, or one of my most personal highlighted tweets is from Charlie Miller himself saying, yep, good find. 44 00:04:11,750 --> 00:04:12,510 Great. 45 00:04:13,090 --> 00:04:14,990 That was in 2017. 46 00:04:16,730 --> 00:04:31,210 August 2018, I spoke at Defcon Car Hacking Village, Defcon 26 now, about the entire findings and what I found, how I found it, the disclosure process and how they fixed it. 47 00:04:31,290 --> 00:04:31,810 Guess what? 48 00:04:31,810 --> 00:04:33,050 They disabled the Wi-Fi. 49 00:04:33,470 --> 00:04:36,190 They didn't actually disable the telnet daemon. 50 00:04:36,290 --> 00:04:43,230 You could still go back in over the Bluetooth and turn it back on by modifying those SQLite databases that just happened to be in there. 51 00:04:43,310 --> 00:04:44,630 So, great, wonderful. 52 00:04:46,070 --> 00:04:56,210 Eventually, they did actually disable the telnet daemon in about three versions of software later, but no one actually ever got a recall to actually say, here's a security update to your head unit. 53 00:04:56,410 --> 00:04:57,530 So, good luck. 54 00:04:57,530 --> 00:05:00,510 If you've got one of them there, it's probably still vulnerable. 55 00:05:02,770 --> 00:05:06,250 In September 18, I went to the bug crowd bug bash. 56 00:05:06,250 --> 00:05:11,210 I was one of 12 global researchers at the event in Louisville, Kentucky. 57 00:05:12,290 --> 00:05:16,130 And the vehicles there all had radar-guided cruise control. 58 00:05:16,470 --> 00:05:23,230 If you look around the radar-guided cruise control sensor, which is that one there, there's a little plastic shroud. 59 00:05:23,230 --> 00:05:28,970 Pop that out with a screwdriver, take two bolts out, sensors out, you're on the CAN bus wiring. 60 00:05:29,390 --> 00:05:31,490 Guess what that CAN bus wiring can do? 61 00:05:31,930 --> 00:05:37,910 Start, stop the car, unlock the vehicle, disarm, unarm the alarm, open the trunk. 62 00:05:38,310 --> 00:05:48,810 We weren't actually allowed to test whether we could actually do any hacks on a moving vehicle, but yes, we did get a payout between myself, Spectres, and RQU of a five-figure sum. 63 00:05:49,270 --> 00:05:50,990 So, thank you very much, bug crowd. 64 00:05:51,310 --> 00:05:52,090 Hell yeah. 65 00:05:52,690 --> 00:06:00,850 After I did that, there's a picture of me, slightly slimmer, slightly younger version of doing a, ha-ha, what's this? 66 00:06:00,850 --> 00:06:02,690 Tap, tap, tap, unlock. 67 00:06:02,730 --> 00:06:04,530 Tap, tap, tap, fast started. 68 00:06:05,070 --> 00:06:05,670 Yeah. 69 00:06:05,910 --> 00:06:12,770 I can steal a vehicle, that vehicle, I can't tell you which, because an NDA in under 90 seconds from a virgin vehicle. 70 00:06:13,510 --> 00:06:16,690 And the car is still vulnerable today, one generation later. 71 00:06:17,070 --> 00:06:18,510 So, great. 72 00:06:19,130 --> 00:06:21,270 Security really works, doesn't it? 73 00:06:22,210 --> 00:06:28,450 Since then, using that money from that bounty, I built my own car in a box called PD0. 74 00:06:28,990 --> 00:06:34,450 PD0 is a Peugeot 208, P for Peugeot, and D0 is 208 in hex. 75 00:06:34,610 --> 00:06:41,610 It's basically most of the electronics from that vehicle, except for the airbag ECU, and it thinks it's a fully working car. 76 00:06:41,830 --> 00:06:56,510 The inspiration was 3P over there, but as you can see on the left there, there's an ABS simulator for the wheel speed sensors, there's a crank and cam sensor simulator for the speed, for the engine speed, et cetera. 77 00:06:56,510 --> 00:06:59,210 There's some O2 simulators as well. 78 00:06:59,350 --> 00:07:02,230 If you want any of the hardware to do that, contact me. 79 00:07:02,230 --> 00:07:06,450 I have spares of those things, and I have instructions on how to do it. 80 00:07:06,450 --> 00:07:07,770 It's up on my GitHub. 81 00:07:08,350 --> 00:07:13,270 But I now take this around the UK and Europe as part of the Car Hacking Village Europe. 82 00:07:13,270 --> 00:07:22,230 I've actually been requested to take it to Australia, Brazil, America, Singapore, Philippines, amongst other places. 83 00:07:22,850 --> 00:07:25,370 I took it to Amsterdam once, and that was fun. 84 00:07:25,870 --> 00:07:26,970 What's in the box? 85 00:07:26,970 --> 00:07:27,810 A car. 86 00:07:27,810 --> 00:07:28,710 Well, a model car? 87 00:07:28,710 --> 00:07:29,810 No, a whole car. 88 00:07:30,530 --> 00:07:32,670 Security man didn't find it funny. 89 00:07:32,730 --> 00:07:34,730 It was like, yeah, what did you do that for? 90 00:07:35,090 --> 00:07:38,170 It was like, on your way. 91 00:07:38,170 --> 00:07:39,590 I don't want to fill that for me. 92 00:07:39,750 --> 00:07:40,610 So great. 93 00:07:42,030 --> 00:07:49,250 In October 2019, I again went to the bug bash in the global headquarters of the same OEM up in Detroit. 94 00:07:49,250 --> 00:07:51,930 Again, can't mention it, but it's in Detroit. 95 00:07:52,150 --> 00:07:53,490 There's one of a few. 96 00:07:54,310 --> 00:07:56,370 And there was radar hack version two. 97 00:07:56,670 --> 00:07:59,690 This little device here is based on an ESP32. 98 00:07:59,850 --> 00:08:04,290 It has Bluetooth and Wi-Fi, and it also has an infrared receiver. 99 00:08:04,570 --> 00:08:07,530 At the bottom there is a little remote control. 100 00:08:07,530 --> 00:08:16,770 If I put that device between the radar and the radar wiring and go the other side of the car park, press the button, the trunk opens. 101 00:08:17,250 --> 00:08:19,490 There's nothing you can do about it. 102 00:08:19,490 --> 00:08:24,990 Yes, it's a targeted hack against a single vehicle, but you could have some fun with your mate's car. 103 00:08:25,850 --> 00:08:39,250 You could also possibly test it on a moving vehicle because the Bluetooth actually is, Bluetooth can, but they wouldn't allow us to test it on a moving vehicle because that would be dangerous and we might do something stupid. 104 00:08:39,510 --> 00:08:40,610 So, yeah. 105 00:08:40,770 --> 00:08:51,530 In October 2019, I also went to the auto Isaac over in Texas for hacker one at Toyota's headquarters. 106 00:08:52,250 --> 00:08:54,690 That will come pertinent later. 107 00:08:54,970 --> 00:09:15,370 Myself, Spectres, and Mutley did a talk about vulnerability disclosure program and how that's actually valuable to the automotive industry and how researchers like myself and others can help the automotive industry and you need to have this program in place so that we can get you that information and you can start to fix things. 108 00:09:16,290 --> 00:09:17,930 Some vendors do have it. 109 00:09:17,930 --> 00:09:18,970 Some vendors do it well. 110 00:09:18,970 --> 00:09:20,390 Some vendors don't. 111 00:09:20,590 --> 00:09:21,710 But, yep. 112 00:09:23,310 --> 00:09:27,690 2020, or the COVID year as you call it, I made this little box here. 113 00:09:30,590 --> 00:09:35,430 It's what I call the real version of Toyota passes over there somewhere on the PWC stand. 114 00:09:35,510 --> 00:09:37,810 Their version costs you $30,000. 115 00:09:37,950 --> 00:09:39,730 That's a car. 116 00:09:39,850 --> 00:09:42,590 That version cost me $800 to build. 117 00:09:42,590 --> 00:09:59,470 It does almost exactly the same thing and I've actually retrofitted it with RFID based ignition and the JBL speaker thing I'm talking about is actually possible to plug it in and basically use this to start the ignition on the car and the case. 118 00:10:00,030 --> 00:10:06,810 So, none of that code is in the code that is on GitHub because I'm not going to release that because I'm not stupid. 119 00:10:07,090 --> 00:10:10,990 It's actually stored in the E prom and no one's ever going to get that other than me. 120 00:10:11,230 --> 00:10:12,470 But it is actually vulnerable. 121 00:10:12,470 --> 00:10:15,810 I was going to bring it but I didn't have enough space in my hand luggage. 122 00:10:16,150 --> 00:10:17,050 So, yep. 123 00:10:17,870 --> 00:10:20,330 Onto the actual theft itself. 124 00:10:20,990 --> 00:10:33,690 April last year, I came out on a Sunday morning, found my bumper hanging off and the headlight was unplugged and I'm thinking, that's on the curb side. 125 00:10:34,050 --> 00:10:35,210 No one's hit it. 126 00:10:35,210 --> 00:10:36,710 That looks like vandalism. 127 00:10:37,290 --> 00:10:38,650 Looks a bit dodgy. 128 00:10:38,790 --> 00:10:41,510 I didn't even think it was trying to steal my car. 129 00:10:41,910 --> 00:10:48,670 And then a friend of mine who's another security researcher got in contact and said, by the way, they might be trying to nick it. 130 00:10:48,670 --> 00:10:50,710 I was like, oh, for fuck's sake. 131 00:10:50,910 --> 00:10:54,410 I actually tested the radar sensor on the Toyota. 132 00:10:54,690 --> 00:10:55,990 It's on a different network. 133 00:10:55,990 --> 00:10:57,670 You can't do it by the radar sensor. 134 00:10:58,010 --> 00:10:59,530 You can do it by the headlight, though. 135 00:10:59,630 --> 00:11:00,610 Thank you. 136 00:11:00,930 --> 00:11:01,510 Great. 137 00:11:01,510 --> 00:11:02,250 Wonderful. 138 00:11:03,430 --> 00:11:08,050 So, at that point, I bought myself a dash cam, installed it front and rear. 139 00:11:09,070 --> 00:11:10,610 Come back to that in a second. 140 00:11:11,430 --> 00:11:15,470 In July, I started a new job up the other end of the country. 141 00:11:15,470 --> 00:11:17,210 I had to leave at sort of 5 o'clock in the morning. 142 00:11:17,210 --> 00:11:19,290 Came out, found the same thing again. 143 00:11:19,390 --> 00:11:21,570 Bumper hanging off, headlight not working. 144 00:11:21,830 --> 00:11:24,910 So I drove to work with one headlight in the dark. 145 00:11:24,910 --> 00:11:25,930 Not a good idea. 146 00:11:25,990 --> 00:11:26,490 Whatever. 147 00:11:27,950 --> 00:11:29,350 Not quite the dark, but yeah. 148 00:11:30,030 --> 00:11:32,470 So when I got to work, I put it all back together. 149 00:11:32,470 --> 00:11:33,270 Plugged it all in. 150 00:11:33,270 --> 00:11:34,630 Everything's all hunky dory. 151 00:11:35,090 --> 00:11:36,270 Came back home. 152 00:11:36,930 --> 00:11:39,610 Next day, everything was fine with work. 153 00:11:40,890 --> 00:11:42,770 Go to bed Wednesday night. 154 00:11:43,090 --> 00:11:46,190 Get a nudge from the missus at half past 2 in the morning. 155 00:11:46,970 --> 00:11:49,070 Where did you park the car last night? 156 00:11:50,010 --> 00:11:51,830 Same place I usually park it. 157 00:11:54,270 --> 00:11:56,030 Oh crap, it's not there. 158 00:11:56,810 --> 00:11:58,190 So look out the window. 159 00:11:58,650 --> 00:12:01,150 Big space, no car, shit. 160 00:12:01,670 --> 00:12:02,910 So what do I do? 161 00:12:03,030 --> 00:12:05,350 Get onto the old my Toyota app. 162 00:12:06,650 --> 00:12:23,510 You may or may not be able to see this, but the my Toyota app says it's got 100% fuel, 11,463 miles, and at the bottom there, if you see just where it's got the icons, it says vehicle in motion. 163 00:12:24,230 --> 00:12:26,010 So the car was currently in motion. 164 00:12:27,010 --> 00:12:29,830 It doesn't track a vehicle that has been stolen. 165 00:12:29,830 --> 00:12:32,050 There is no way to track a vehicle that has been stolen. 166 00:12:32,410 --> 00:12:41,650 Because there is the issue of say there was a domestic violence case and someone wanted to get away from their other half, someone might have access to the app so they know where you are. 167 00:12:41,650 --> 00:12:47,210 So the only time that actually updates is when it actually stops at the other end, which is great. 168 00:12:47,270 --> 00:12:50,990 That comes on to my next thing from the my Toyota app. 169 00:12:51,390 --> 00:12:53,910 I got an update saying the fuel gauge is down at 50%. 170 00:12:53,910 --> 00:12:58,270 Where was it when the fuel gauge was down at 50%? 171 00:12:58,590 --> 00:12:59,570 I don't know. 172 00:12:59,630 --> 00:13:01,550 It must have known somewhere where it was. 173 00:13:01,890 --> 00:13:02,870 But yeah, great. 174 00:13:02,930 --> 00:13:05,970 I'm not going to dox myself because I don't actually live there anymore. 175 00:13:06,770 --> 00:13:07,910 So don't worry. 176 00:13:09,210 --> 00:13:12,770 So in the my Toyota app, you get notifications. 177 00:13:13,470 --> 00:13:18,890 As you can see, those big orange alerts are like, oh bugger, something bad has happened. 178 00:13:19,470 --> 00:13:24,170 The one at the top says hybrid system, major malfunction, take it to a dealer immediately. 179 00:13:24,490 --> 00:13:28,750 The one below it says sonar system, again, take it to the dealer immediately. 180 00:13:29,370 --> 00:13:31,550 So they basically screwed the car. 181 00:13:31,930 --> 00:13:32,650 Bugger. 182 00:13:33,070 --> 00:13:34,850 So I couldn't track where it was. 183 00:13:35,230 --> 00:13:37,330 It didn't then appear ever again. 184 00:13:37,950 --> 00:13:38,670 I phoned the police. 185 00:13:38,670 --> 00:13:39,810 They couldn't do anything. 186 00:13:40,310 --> 00:13:42,490 Tried to contact Toyota online. 187 00:13:42,830 --> 00:13:48,430 They wouldn't do anything because they don't have stolen vehicle tracking in the country, which is a bit shit, really. 188 00:13:50,130 --> 00:13:56,770 Actually a friend of mine, Ken, actually thought it was a targeted hack because I did the radar hack and someone thought, oh, it must be another car hacker. 189 00:13:56,770 --> 00:14:00,430 They nicked the car for a couple of days and it would reappear in three days' time. 190 00:14:00,890 --> 00:14:01,830 It didn't. 191 00:14:03,130 --> 00:14:08,830 A couple of weeks later, my neighbor has a land cruiser, or shall we say had a land cruiser. 192 00:14:08,990 --> 00:14:13,850 First time they tried to nick it, the alarm went off and they run off, the three little scrotes. 193 00:14:14,970 --> 00:14:19,390 A couple of weeks later, he left it out on the road around the front. 194 00:14:19,470 --> 00:14:22,290 We went in for half an hour, came back out, it was gone. 195 00:14:22,730 --> 00:14:24,480 So it wasn't a targeted hack. 196 00:14:24,720 --> 00:14:35,900 There was two vehicles from my block stolen and also there are a couple of RAV4s around the area where I used to live that I used to see around and about that aren't there anymore either. 197 00:14:35,920 --> 00:14:38,620 So there are quite a few that were stolen from that area. 198 00:14:39,100 --> 00:14:44,120 And looking on Reddit and things, there are also quite a few in the north London area that have also been stolen. 199 00:14:44,920 --> 00:14:47,360 So on to my initial investigations. 200 00:14:47,980 --> 00:14:52,520 I'm not going to play this video because it's a bit dark and a bit rubbish and you can't really see it. 201 00:14:52,520 --> 00:14:59,320 But if you take a look at the video there, QR code, this video is linked in the blog post. 202 00:14:59,320 --> 00:15:02,280 When we first linked it, it had 20,000 views on it. 203 00:15:02,800 --> 00:15:06,620 It now currently has about 330,000 views on it. 204 00:15:06,900 --> 00:15:10,300 I think they've made some money out of us linking to their video. 205 00:15:10,720 --> 00:15:13,880 Good luck to them because they had their car nicked as well. 206 00:15:14,080 --> 00:15:15,220 So that's great. 207 00:15:15,840 --> 00:15:17,380 On to another vehicle. 208 00:15:17,580 --> 00:15:19,300 This one was from Twitter. 209 00:15:19,300 --> 00:15:25,820 This is slightly sped up and takes about 90 seconds in total. 210 00:15:25,820 --> 00:15:28,880 So playing around in the corner by the bumper. 211 00:15:29,420 --> 00:15:31,180 Mate comes along with a torch. 212 00:15:31,360 --> 00:15:32,740 See the lights come on. 213 00:15:33,360 --> 00:15:34,500 Doors are open. 214 00:15:34,720 --> 00:15:35,460 Jobs are done. 215 00:15:35,460 --> 00:15:36,440 Car is gone. 216 00:15:37,060 --> 00:15:39,200 That's literally 90 seconds. 217 00:15:39,460 --> 00:15:40,700 Oh, bugger. 218 00:15:42,640 --> 00:15:44,920 So I did a bit of an investigation. 219 00:15:45,520 --> 00:15:49,060 I spoke to a friend of mine who works in vehicle system forensics. 220 00:15:49,540 --> 00:16:06,920 He used to be an ex-police traffic cop and he said he'd come across some of these things with his colleagues that he used to work with and they are basically a little Bluetooth speaker that has some extra electronics inside it that you plug into the CAN bus in the back of the headlight wiring. 221 00:16:07,520 --> 00:16:10,020 The giveaway is the two pins here. 222 00:16:10,220 --> 00:16:11,640 So USB-C cable. 223 00:16:11,660 --> 00:16:12,720 So yeah, great. 224 00:16:13,180 --> 00:16:15,580 But this is used for plausible deniability. 225 00:16:15,780 --> 00:16:17,340 They get stopped in the street. 226 00:16:17,420 --> 00:16:18,240 It's a speaker. 227 00:16:18,240 --> 00:16:18,900 It's broken. 228 00:16:18,900 --> 00:16:19,900 It doesn't work. 229 00:16:20,100 --> 00:16:23,580 If they were clever, they could actually put a slightly smaller speaker in and still work. 230 00:16:23,600 --> 00:16:24,340 But whatever. 231 00:16:24,620 --> 00:16:27,460 But they're sold as emergency start devices. 232 00:16:28,080 --> 00:16:33,940 Why would a locksmith want something that looks vaguely like a USB speaker to go and open cars? 233 00:16:34,800 --> 00:16:35,840 Yeah, not good. 234 00:16:35,840 --> 00:16:40,700 When I first found out about it, the price of this device was 1,500 euros. 235 00:16:41,540 --> 00:16:47,700 When I actually eventually got around to buying it in February this year, the price had gone up to 2,500 euros. 236 00:16:48,320 --> 00:16:53,340 I'm not going to give any details of where I purchased it from because they actually don't sell it anymore. 237 00:16:53,880 --> 00:16:58,740 But if you Google emergency start device JBL, you'll find it. 238 00:16:58,740 --> 00:17:10,280 And there are shops across Europe and in Eastern Europe, in America, other places that now sell it for nearly 4, 5,000 euros or 5,000 dollars. 239 00:17:10,340 --> 00:17:13,320 So the price is going up because they're obviously in demand. 240 00:17:14,060 --> 00:17:14,920 But yeah. 241 00:17:16,220 --> 00:17:21,000 Here's a list of the actually claimed devices it actually believes it works on. 242 00:17:21,160 --> 00:17:33,000 So you've got the Toyota Supra, Prius, CHR, F4, Highlander, Land Cruiser, Proace, and the majority of the Lexus range. 243 00:17:33,200 --> 00:17:34,900 So that's quite a widespread . 244 00:17:35,400 --> 00:17:36,360 So yeah. 245 00:17:37,000 --> 00:17:40,380 You can nick quite a few different cars quite easily. 246 00:17:40,560 --> 00:17:41,720 Very cheap. 247 00:17:42,400 --> 00:17:45,020 So what is actually in this device? 248 00:17:45,360 --> 00:17:49,160 You've got externally, it just looks like a JBL speaker. 249 00:17:49,460 --> 00:17:53,720 Internally , there's the electronics from the speaker, the blue PCB. 250 00:17:53,820 --> 00:17:57,500 The black blob is the electronics for the actual device itself. 251 00:17:57,680 --> 00:18:03,260 I can't give you the details of the underneath the black blob because that gives away what it actually is. 252 00:18:03,580 --> 00:18:11,220 But basically there's a PIC18F25K80 and a modified can transceiver. 253 00:18:11,740 --> 00:18:18,100 I can't go into details on how that modified can transceiver works or what it does. 254 00:18:18,240 --> 00:18:19,960 Ken's going to go through that in a minute. 255 00:18:21,160 --> 00:18:24,480 So yes, it is modified. 256 00:18:24,480 --> 00:18:26,100 That details will never get out. 257 00:18:26,400 --> 00:18:36,320 I tried to do a bit of reverse engineering with my old picket thing, but there's no one amongst thieves and the bastard had locked down the firmware so you couldn't read it out. 258 00:18:37,300 --> 00:18:40,920 But there is a heart of darkness attract that you can do on that chip. 259 00:18:42,240 --> 00:18:52,120 But you potentially need two of those chips because you have to read it out half of the chip at a time, which is, I'm not buying another one, especially as it's four and a half thousand euros now. 260 00:18:52,380 --> 00:19:03,160 There is possibly a few other ways to glitch it and get access to the firmware as well, but we believe we've actually got the data out anyway by just what it does on the canvas. 261 00:19:04,000 --> 00:19:06,220 I'm now going to hand back to Ken. 262 00:19:07,360 --> 00:19:13,280 So let's look at some bench testing that they did to investigate how this device works. 263 00:19:13,320 --> 00:19:17,140 First point I want to make out is this is using fake data. 264 00:19:17,220 --> 00:19:24,740 So we renamed the CAN analyzer and payloads because we're not here to help people make devices to steal Toyota cars. 265 00:19:25,440 --> 00:19:36,600 So this is a logic analyzer trace and we've got some CAN data here from various ECU traces and the theft device. 266 00:19:36,600 --> 00:19:40,680 And there's a signal here called inject JIT select. 267 00:19:40,740 --> 00:19:45,840 So that enables the override transceiver, which we'll talk about in a moment. 268 00:19:46,680 --> 00:19:53,740 And then this is the TX line for the injector, the theft device that's injecting CAN frames. 269 00:19:53,960 --> 00:19:57,620 And then we can see here all the other ECUs. 270 00:19:57,620 --> 00:20:03,000 Here's a transmit line from one of the ECUs and then various CAN high and low signals on the bus. 271 00:20:03,000 --> 00:20:09,120 And then we have another receive pin on the CAN transceiver so we can see what comes through. 272 00:20:09,540 --> 00:20:12,180 So this is a standard CAN frame so it's not very nice. 273 00:20:12,260 --> 00:20:14,820 So here's the visual line as it goes through. 274 00:20:14,820 --> 00:20:16,080 Here's what's transmitted. 275 00:20:16,440 --> 00:20:18,360 Here's the CAN high and low. 276 00:20:18,360 --> 00:20:20,900 Lines are pulled apart when we have a dominant bit. 277 00:20:21,820 --> 00:20:24,020 And that all comes through just fine here. 278 00:20:24,020 --> 00:20:25,940 So this is a perfectly fine CAN frame. 279 00:20:27,500 --> 00:20:33,100 Now let's have a look when we turn on the inject JIT select line. 280 00:20:33,100 --> 00:20:38,340 So this turns on the transceiver and that forces a recessive state onto the bus. 281 00:20:38,340 --> 00:20:44,860 So here we're injecting a one bit onto the CAN line so we're injecting a recessive state. 282 00:20:44,860 --> 00:20:49,500 And here's an ECU trying to transmit and it goes through this very very funny pattern here. 283 00:20:49,600 --> 00:21:03,620 Trying to insert a dominant state and you can see it's trying to pull these CAN high and low lines apart but it doesn't really succeed so what the other ECU see on their CAN receive pins is just a recessive which is the same as the transmitted signal. 284 00:21:04,060 --> 00:21:12,300 If you want to know why this pattern is like it is, this is one of my CAN quiz questions on my blog post which we'll point you at. 285 00:21:14,360 --> 00:21:20,680 So you can see here when we're actually trying to transmit a frame. 286 00:21:20,880 --> 00:21:27,200 So here is a spoof frame being transmitted and here the ECU is receiving that. 287 00:21:27,440 --> 00:21:37,380 Now one of the interesting things about CAN is the sender transmits a recessive bit for the acknowledgement slot and then all the ECUs respond with a dominant bit. 288 00:21:37,380 --> 00:21:45,540 Now normally this override transceiver would cause that to fail and there would be an error because you wouldn't get an acknowledgement back. 289 00:21:45,560 --> 00:22:01,980 But when all of the ECUs are all pulling together they can drive enough voltage onto the bus through the combined transceivers and that's just enough to push CAN high and low apart enough to then come through as a dominant bit. 290 00:22:02,080 --> 00:22:04,420 So everyone sees that as a valid CAN frame. 291 00:22:04,420 --> 00:22:07,660 So that's one of the nice properties of the way this transceiver works. 292 00:22:08,020 --> 00:22:12,180 Nice as in it works, is it allows all the ECUs to pull together. 293 00:22:12,180 --> 00:22:16,640 So you have one ECU on the bus that's not strong enough to drive an acknowledgement bit. 294 00:22:17,380 --> 00:22:20,920 So I've been talking about that custom CAN transceiver circuit. 295 00:22:21,040 --> 00:22:23,940 It's inside that resin blob. 296 00:22:24,120 --> 00:22:29,640 It's not a proper CAN transceiver of course because criminals don't care about CAN standards. 297 00:22:29,640 --> 00:22:39,260 So it's designed to break all the protocols to push weird voltages onto the bus and that's enough to spoof all the CAN transceiver circuits for all the real ECUs. 298 00:22:39,260 --> 00:22:49,140 So it can push any CAN bus traffic onto the bus that other transceivers will see as proper CAN frames and most importantly it can't be stopped. 299 00:22:49,140 --> 00:22:56,160 You can't, other ECUs cannot drive a dominant bit onto the CAN bus unless they're all acting at exactly the same time. 300 00:22:56,320 --> 00:23:06,580 So this means hardware security approaches like NXP Stinger transceiver which has a kind of blacklist white list for destroying CAN frames and it knows it spoofs. 301 00:23:06,580 --> 00:23:24,280 That won't work because it can't send an error frame onto the bus because it can't drive a dominant state and the CANHG protocol I mentioned earlier also uses the same technique to destroy frames and it knows are bad in some way and again it can't do that if this transceiver circuit is driving a recessive state from the bus. 302 00:23:25,800 --> 00:23:30,240 So let's have a look briefly how this works in a bit more detail. 303 00:23:30,800 --> 00:23:35,380 This is a network topology diagram for the Toyota RAV4. 304 00:23:35,380 --> 00:23:46,780 It's very very simplified just for clarity so the actual wiring diagrams are complicated with an awful lot more ECUs in it and many more CAN buses but this is the rough schematic. 305 00:23:46,780 --> 00:23:55,360 So up here we have the left headlight where the themes break in the connector so they can access the CAN high load on this red bus. 306 00:23:55,600 --> 00:23:58,240 Also on this bus is the smart key ECU. 307 00:23:58,240 --> 00:24:26,760 So this is the ECU that enters into a nice dialogue with the driver's keys, it uses asymmetric encryption certificates and things so it must be secure and the driver's keys can be authenticated and then once it's been authenticated it sends a message over CAN bus to the door ECUs to unlock the doors and to this gateway ECU which is forwarded on to the engine management system on a CAN bus that disables the immobilizer. 308 00:24:28,240 --> 00:24:52,220 And so the thieves basically disable this whole bus and inject CAN frames that spoof the smart keys CAN frames to say that everything is fine so all these ECUs see everything, see the smart key frames and act on them so the door module is open, the gateway sees a valid frame and turns it on and the engine management system obviously just operates on that. 309 00:24:52,420 --> 00:24:56,000 So that's how the CAN injection works. 310 00:24:58,920 --> 00:25:12,960 There's a blog post I wrote up on this and it's been very well received and it's in fact used for the CV that's been awarded for this vulnerability and it generated an awful lot of comments. 311 00:25:13,580 --> 00:25:26,480 So we thought we'd do a top three frequently asked questions here except they're not frequently asked questions, they're car security mansplanations from people who don't understand how cars work. 312 00:25:26,480 --> 00:25:33,460 So I thought I would give the top three why your mansplanation of how easy it is is not actually true. 313 00:25:34,140 --> 00:25:44,820 So coming in at number three is just add a firewall to isolate the headlights so but unfortunately a firewall costs money. 314 00:25:44,820 --> 00:25:52,120 It's a PCB, power, metal case, connectors, a couple of CAN buses, all kinds of stuff like that and some more connectors on the other side. 315 00:25:52,620 --> 00:26:07,020 Even if it costs ten dollars, which it won't, it's more than that, but even if it costs ten dollars multiply that by 50 million cars, which is what Toyota made in the last few years, that is a half a billion dollars. 316 00:26:07,040 --> 00:26:14,500 So this is a brilliant security solution and about as smart as Elon Musk because you've wasted about the same amount of money he's just wasted on Twitter. 317 00:26:15,280 --> 00:26:19,360 Number two, just use TLS and WireGuard to encrypt all the messages. 318 00:26:20,240 --> 00:26:28,840 Well, CAN messages are eight bytes long and CAN messages contain small sensor and actuator data like turn the main beam on. 319 00:26:28,840 --> 00:26:34,120 This is not the sort of thing that you throw huge overheads of mainstream IT solutions for. 320 00:26:34,120 --> 00:26:40,760 Car electronics is a distributed, real-time, embedded, safety critical, mechatronic system controlling wheels. 321 00:26:40,760 --> 00:26:47,220 It is not a phone on wheels, it's not a computer on wheels, it's a distributed control system. 322 00:26:47,220 --> 00:26:51,060 And it's all about short, worst case latencies, not about bandwidth. 323 00:26:51,060 --> 00:26:58,000 So even though CAN is relatively slow, because the data is relatively small, this is a perfect solution for it. 324 00:26:58,000 --> 00:27:04,320 A car isn't this data center on wheels and all these mainstream IT solutions, they're solving a completely different set of problems. 325 00:27:04,700 --> 00:27:07,660 And so those solutions are not appropriate for real-time control. 326 00:27:08,980 --> 00:27:12,260 And number one, just use a relay to turn the headlights on. 327 00:27:12,260 --> 00:27:13,900 Why do you need a CAN bus in headlights? 328 00:27:14,540 --> 00:27:18,620 Well, first of all, it's not called a headlight cluster for nothing. 329 00:27:19,080 --> 00:27:33,080 Inside that are the main beam, the low beam, side lights, the indicator lights, the daylight running lights, different lighting modes, washer pump motors, wiper motors, LED projector lights, and then there are multiple ECUs that want to control all of this stuff. 330 00:27:33,800 --> 00:27:36,600 And some cars, of course, even have motors for steering the headlights. 331 00:27:37,040 --> 00:27:42,000 The idea that you can just turn it on and off with a switch is simply not workable. 332 00:27:43,460 --> 00:27:47,240 But a superlative suggestion and one that we'll bear in mind. 333 00:27:49,320 --> 00:27:51,300 No , we're not going to do that. 334 00:27:51,520 --> 00:27:53,540 Can't just chuck it back to a relay. 335 00:27:53,580 --> 00:27:55,220 So on to media coverage. 336 00:27:55,220 --> 00:28:00,740 Here is a sample of the different reports about what happened after the blog post was released. 337 00:28:00,900 --> 00:28:03,880 Most of them come out with, oh, headlight hacking. 338 00:28:04,040 --> 00:28:05,700 It's not the effing headlight. 339 00:28:05,700 --> 00:28:07,680 It's the effing headlight wire. 340 00:28:08,300 --> 00:28:10,100 Yeah, you unplug the headlight. 341 00:28:10,100 --> 00:28:12,440 The headlight is now nothing to do with it. 342 00:28:12,580 --> 00:28:14,180 But life happens. 343 00:28:14,620 --> 00:28:16,080 They make up the stories. 344 00:28:16,440 --> 00:28:17,440 It's quite interesting. 345 00:28:17,440 --> 00:28:29,320 There was a story in Sweden about a shed load of RAV4s and RX450s being found in a container warehouse which were allegedly stolen for payment for drugs to be shipped abroad. 346 00:28:29,940 --> 00:28:43,060 So they sort of pinned it together that it was actually done by can injection after we published our details on our blog post because they actually thought it was done by a relay attack because both of them look exactly the same. 347 00:28:44,060 --> 00:28:47,080 I will go on to another bit in the press. 348 00:28:47,140 --> 00:29:03,980 If you know of the AA in the UK, Automobile Association, the chairman Sir Edmund King had his wife's Lexus stolen and he then published a post saying, by the way, put your keys in the microwave because that's a Faraday cage. 349 00:29:03,980 --> 00:29:05,080 Yep, great. 350 00:29:05,180 --> 00:29:09,160 He then said his keys were actually in the microwave. 351 00:29:09,660 --> 00:29:11,400 So how did they steal it? 352 00:29:11,400 --> 00:29:13,220 Probably can injection. 353 00:29:14,300 --> 00:29:16,020 Didn't go anywhere near his keys. 354 00:29:16,400 --> 00:29:20,080 So I did send him the details and he is going to have a look at it and get back to me. 355 00:29:20,080 --> 00:29:22,340 But he was busy with some smart motorway stuff. 356 00:29:23,160 --> 00:29:30,440 So that's an interesting story that the man in charge of AA had his Lexus nicked and he still doesn't know how it was nicked. 357 00:29:30,980 --> 00:29:32,740 He does now, but whatever. 358 00:29:33,520 --> 00:29:35,320 On to a bit more media coverage. 359 00:29:35,440 --> 00:29:38,140 Vice.com did this video. 360 00:29:38,960 --> 00:29:40,520 Try the door handle. 361 00:29:40,980 --> 00:29:44,400 Cable is already plugged into the back of the headlight under the wheel arch. 362 00:29:44,700 --> 00:29:45,980 Plug the thing in. 363 00:29:46,740 --> 00:29:48,260 It's doing some messages. 364 00:29:49,080 --> 00:29:50,840 He now tries the door handle again. 365 00:29:50,840 --> 00:29:52,220 Oh no, it's still locked. 366 00:29:52,220 --> 00:29:52,920 Whoops. 367 00:29:53,680 --> 00:29:55,560 Press the play button on the side. 368 00:29:56,120 --> 00:29:57,600 That triggers the locks. 369 00:29:58,720 --> 00:30:01,780 Now we just unplug the thing because you don't need it anymore. 370 00:30:01,780 --> 00:30:04,220 Wander around to the side of the vehicle. 371 00:30:05,080 --> 00:30:06,280 Open the door. 372 00:30:07,480 --> 00:30:09,000 Press your foot on the brake. 373 00:30:09,000 --> 00:30:14,080 And if you look carefully, the rev counter now shows 1,000 RPM. 374 00:30:15,440 --> 00:30:17,680 That again, less than two minutes. 375 00:30:17,900 --> 00:30:29,220 There is a Vice video with the same story showing the older 3210 Nokia version which will steal 2012 to 2015 type varieties. 376 00:30:29,880 --> 00:30:34,440 So there are links on my website to all these stories and things and videos. 377 00:30:34,580 --> 00:30:37,740 So if you want to have a look later, my website is at the end. 378 00:30:38,660 --> 00:30:41,120 There's also been quite a lot of industry coverage. 379 00:30:41,220 --> 00:30:46,840 Upstream producer, half year 2023 auto cyber trend report. 380 00:30:47,220 --> 00:30:50,420 Our research got mentioned and our blog post was linked. 381 00:30:50,840 --> 00:30:52,440 Oh no, can injection. 382 00:30:52,620 --> 00:30:53,320 Yep. 383 00:30:53,500 --> 00:30:54,980 It's been around for years. 384 00:30:54,980 --> 00:30:56,740 Just no one speaks about it. 385 00:30:57,500 --> 00:30:59,040 They think things are secure. 386 00:30:59,040 --> 00:30:59,980 It's not. 387 00:31:00,000 --> 00:31:06,640 C2A also published this other one, can injection, a rising threat to the auto security. 388 00:31:07,300 --> 00:31:07,980 Yep. 389 00:31:08,100 --> 00:31:12,180 Again, links are on there to my website, on my website to those. 390 00:31:13,120 --> 00:31:21,380 So we actually got the CV issued by ASRG and we did that so that other manufacturers can be made aware. 391 00:31:21,740 --> 00:31:25,500 That website, I bought the device for Toyota and Lexus. 392 00:31:25,500 --> 00:31:30,620 Sell devices for every make that is available at the moment. 393 00:31:30,620 --> 00:31:36,200 Ranging from a few hundred dollars to $25,000-ish. 394 00:31:36,600 --> 00:31:40,540 So no manufacturer is immune. 395 00:31:41,340 --> 00:31:44,160 And yep, I'll go on to some of that later. 396 00:31:45,020 --> 00:31:52,620 I did actually log the name of the CVE as can injection with the emojis. 397 00:31:53,040 --> 00:31:53,800 That's the U.K. 398 00:31:53,800 --> 00:31:57,480 spec emojis because we drive on the correct side of the road. 399 00:31:57,780 --> 00:32:03,840 That's the American spec emojis because you drive on the wrong side of the road or the right, whichever you want to say. 400 00:32:04,100 --> 00:32:05,400 But I'm English. 401 00:32:05,400 --> 00:32:06,240 I'm right. 402 00:32:07,160 --> 00:32:12,900 Currently the CV is only listed against my 2021 RAV4 because that's my car. 403 00:32:13,320 --> 00:32:18,200 I'd like to get it updated with the other ones when we confirm which ones actually do work. 404 00:32:18,520 --> 00:32:20,400 But that may take time. 405 00:32:20,980 --> 00:32:22,740 So on to actual numbers. 406 00:32:23,540 --> 00:32:29,220 So in the last six years, the RAV4 has sold just over 5 million vehicles. 407 00:32:29,440 --> 00:32:31,260 The Prius, about half a million. 408 00:32:31,440 --> 00:32:32,940 CHR, about 4 million. 409 00:32:32,940 --> 00:32:34,840 Land cruiser, 100,000. 410 00:32:35,100 --> 00:32:37,160 Highlander, 2 million-ish. 411 00:32:37,380 --> 00:32:41,480 Lexus, I couldn't find individual details of all the different models. 412 00:32:41,600 --> 00:32:46,180 But over that five, six years, 4.2 million vehicles. 413 00:32:46,660 --> 00:32:55,520 So potentially across the globe, there's at least 15 and a half million cars that can be stolen by this $20 worth of electronics. 414 00:32:56,420 --> 00:32:57,040 Yeah. 415 00:32:57,040 --> 00:32:57,780 Great. 416 00:32:57,780 --> 00:32:58,540 Wonderful. 417 00:32:59,600 --> 00:33:07,460 And going back to that number of 50 million-ish cars, over the last six years, they sold 56 and a half million cars. 418 00:33:07,740 --> 00:33:11,200 Again, times that by $10, that's half a billion dollars. 419 00:33:12,160 --> 00:33:13,940 Security ain't that cheap. 420 00:33:14,100 --> 00:33:19,380 All these figures were taken from either Wikipedia or Google or Toyota's website themselves. 421 00:33:20,220 --> 00:33:26,140 So when we actually bought this device, I did some testing on a friend of mine's car. 422 00:33:26,840 --> 00:33:29,060 Lexus NS300H. 423 00:33:29,300 --> 00:33:31,020 I made a device here. 424 00:33:31,360 --> 00:33:33,900 As you can see, it's got a little missile switch. 425 00:33:34,060 --> 00:33:35,340 That does the unlock. 426 00:33:35,340 --> 00:33:40,660 The other switch here turns off and on the additional transceiver component. 427 00:33:41,280 --> 00:33:54,820 I went over to see my and we tried it without the additional transceiver because I didn't want to break his car because I know when my car was stolen, it threw 26 DTCs and probably had to be reset. 428 00:33:54,820 --> 00:33:56,100 So I was a bit cautious. 429 00:33:56,420 --> 00:33:57,720 Check the one for unlock. 430 00:33:57,720 --> 00:33:58,680 That worked. 431 00:33:58,720 --> 00:34:02,100 Check the one for start the engine without the additional transceiver. 432 00:34:02,100 --> 00:34:03,200 Didn't work. 433 00:34:03,940 --> 00:34:11,280 After I left, curiosity got the better of him and he used my version of this and had a little play himself. 434 00:34:11,280 --> 00:34:12,360 No keys in the car. 435 00:34:12,360 --> 00:34:13,220 Nowhere near. 436 00:34:13,740 --> 00:34:15,280 Plugged it into the headlight. 437 00:34:16,340 --> 00:34:17,760 Let it do its thing. 438 00:34:18,280 --> 00:34:19,400 Pop the thing up. 439 00:34:19,560 --> 00:34:20,440 Press the button. 440 00:34:20,440 --> 00:34:21,420 Car unlocked. 441 00:34:21,600 --> 00:34:23,580 Drove it around the car park a couple of times. 442 00:34:24,700 --> 00:34:25,380 Yeah. 443 00:34:25,520 --> 00:34:26,280 Oops. 444 00:34:26,820 --> 00:34:31,300 He then put it all back together, started the car with a key properly, with a key present, et cetera. 445 00:34:31,940 --> 00:34:36,860 And the rotating headlight on the left-hand side of the vehicle stopped working. 446 00:34:37,240 --> 00:34:41,300 So he had to take it back to the dealer and say, ooh, my headlight stopped working. 447 00:34:41,320 --> 00:34:43,220 I haven't been playing around with it. 448 00:34:44,060 --> 00:34:49,740 Luckily it didn't cost him anything because I feel a bit guilty that he broke his car for me. 449 00:34:49,980 --> 00:34:51,680 So, yep, thank you very much. 450 00:34:51,980 --> 00:34:52,900 Yep, cheers. 451 00:34:53,080 --> 00:35:11,900 I'd like to actually get access to all of the different models that are actually claimed to be used and then have the full Toyota diagnostic tool with the cooperation of Toyota to then reset them and then update the list on the CVE to then actually see which ones are and are not possible. 452 00:35:12,360 --> 00:35:19,540 The interesting one is, though, if you know anything about the Toyota Supra, that may or may not be a BMW Z4. 453 00:35:21,140 --> 00:35:25,460 So is the BMW Z4 also vulnerable to the same thing? 454 00:35:25,460 --> 00:35:26,420 I don't know. 455 00:35:26,420 --> 00:35:27,800 I would like to check it. 456 00:35:27,820 --> 00:35:31,620 If you have a Z4 in the car park, hit me up later. 457 00:35:32,320 --> 00:35:33,260 We'll have a go. 458 00:35:33,800 --> 00:35:34,820 No, don't, please. 459 00:35:34,820 --> 00:35:38,040 I don't want to get done doing anything stupid. 460 00:35:38,500 --> 00:35:44,540 And the Toyota Proace van, if you know anything about that one, that's based on the Peugeot Citroen platform in Europe. 461 00:35:44,820 --> 00:35:50,260 So, again, there are other vehicles also based on that platform that could potentially be vulnerable. 462 00:35:51,240 --> 00:35:52,980 Onto the disclosure process. 463 00:35:52,980 --> 00:35:54,040 This was fun. 464 00:35:54,820 --> 00:36:03,000 In March earlier this year, I put a tweet out, does anyone have a contact in Toyota, either Japan or U.S. 465 00:36:03,000 --> 00:36:06,700 or anywhere, to help us with the disclosure. 466 00:36:06,700 --> 00:36:09,500 I've got this thing that's used to steal cars. 467 00:36:10,040 --> 00:36:11,240 I got nothing. 468 00:36:11,460 --> 00:36:12,240 I said, okay. 469 00:36:12,980 --> 00:36:14,160 I rang my local dealer. 470 00:36:14,160 --> 00:36:20,060 I nearly bought the car off and said, by the way, have you had any issues with cars being stolen? 471 00:36:20,460 --> 00:36:24,920 And the receptionist was really helpful and said, no, but I'll get the service manager to ring you back. 472 00:36:25,680 --> 00:36:39,020 About a half hour later, the service manager rang me back and went, actually, yeah, one of my demonstrators, I was out for a night a couple of weeks back or a couple of months back, parked it up, went home, came back the next morning, it wasn't there. 473 00:36:39,700 --> 00:36:45,240 He did a bit of an investigation and then found out, yep, they've been nicking it by the headlights. 474 00:36:45,860 --> 00:37:00,260 I spoke to him and he said, at one point late in last year, there was his garage alone that he worked at was getting three instances a week of vehicles either being stolen or being potentially stolen. 475 00:37:00,620 --> 00:37:12,160 There was a memo put out by someone somewhere in Toyota UK or Europe or something saying, by the way, make sure you lock your vehicles up behind the bars and things because they will go walkies off your forecourt. 476 00:37:12,380 --> 00:37:14,680 So, yes, they are aware of it. 477 00:37:14,680 --> 00:37:16,000 They've known about it. 478 00:37:16,000 --> 00:37:16,720 Great. 479 00:37:17,360 --> 00:37:20,520 I then sent some details to him about what we found out. 480 00:37:20,520 --> 00:37:36,920 He then sent them off to somewhere who he was dealing with and then a few days later I got a direct email from someone from Toyota Japan copied into quite a few people in Toyota Europe and it basically said, use hacker one vulnerability disclosure program. 481 00:37:37,800 --> 00:37:45,140 So, yeah, that one that I went to in 2019 to talk about vulnerability disclosure, that was at Toyota's headquarters. 482 00:37:45,140 --> 00:37:45,820 Great. 483 00:37:46,980 --> 00:37:49,880 Their vulnerability disclosure program has a couple of caveats. 484 00:37:49,880 --> 00:37:52,500 There's a restriction to modifications to the vehicle. 485 00:37:53,020 --> 00:37:57,180 Tell that to the criminal, rip the bumper off to actually get to the headlight. 486 00:37:57,440 --> 00:37:59,920 So, yeah, you can't do that to steal my car. 487 00:37:59,920 --> 00:38:01,520 Yeah, no, you're not allowed to do that. 488 00:38:01,520 --> 00:38:02,460 So, yeah, great. 489 00:38:02,600 --> 00:38:04,360 And there's an implied NDA. 490 00:38:05,160 --> 00:38:13,080 And then implied NDA says when you tell hacker one something about it, basically you then can't tell anyone else about it. 491 00:38:13,340 --> 00:38:17,860 So, you can't warn anyone that you've actually told Toyota via hacker one. 492 00:38:18,580 --> 00:38:19,160 So, great. 493 00:38:19,160 --> 00:38:19,820 Wonderful. 494 00:38:20,800 --> 00:38:26,860 I did actually get an email back from Toyota Japan saying, by the way, we're going to waive that NDA. 495 00:38:27,700 --> 00:38:43,020 But a few weeks later I got someone I know was on the auto Isaac panel and they were discussing our vulnerability in one of their meetings and the discussion basically went along the lines of how can we shut these people up? 496 00:38:43,740 --> 00:38:47,960 Because it's cheaper to silence them to actually then fix the problem. 497 00:38:48,340 --> 00:38:56,480 So, someone sends me a random NDA disclaimer thingy that may or may not be on an email that I can't guarantee is genuine. 498 00:38:56,660 --> 00:38:58,260 You think I'm going to trust that? 499 00:38:59,460 --> 00:39:01,740 Do anyone see what happened to Carlos Ghosn? 500 00:39:02,500 --> 00:39:03,140 Yeah? 501 00:39:03,140 --> 00:39:03,780 Great. 502 00:39:03,780 --> 00:39:04,480 No. 503 00:39:04,740 --> 00:39:05,680 Got done for fraud. 504 00:39:05,680 --> 00:39:08,140 Had to be smuggled out of Japan in a flight box. 505 00:39:09,220 --> 00:39:22,100 So, currently we're in the process of disclosing via ASRG, automotive security research group, and they are, again, getting exactly the same response from Toyota and the response is report it by hacker one. 506 00:39:22,740 --> 00:39:38,280 This morning I actually had a meeting with someone from Toyota USA and basically told them some of the details of my findings and they basically said it needs to go via hacker one because we need to track things, which I understand. 507 00:39:38,280 --> 00:39:39,060 That's fine. 508 00:39:39,580 --> 00:39:47,300 And I said to him, as long as you get me a piece of paper that is a signed proper piece of paper on Toyota headed paper, we will do it. 509 00:39:47,300 --> 00:39:48,800 We will share some information. 510 00:39:49,040 --> 00:40:01,380 There may have to be an NDA in one direction because you might tell me some stuff that you don't want getting out, which is fine, but anything that is currently out isn't dangerous because I'm not going to tell you all the secrets. 511 00:40:01,480 --> 00:40:04,760 And I can't tell you all the secrets because it's how to steal a bloody car. 512 00:40:05,220 --> 00:40:06,140 So, yeah. 513 00:40:07,420 --> 00:40:17,760 After that thing, I did actually put a LinkedIn post with a bit of tongue in cheek thing that basically said, by the way, if you want some information on this stuff, hit us up. 514 00:40:18,040 --> 00:40:26,560 We can have a private meeting without too many people around so that we can discuss it with other OEMs, et cetera. 515 00:40:27,140 --> 00:40:32,560 So back on to my colleague, Ken, with some potential fixes. 516 00:40:32,600 --> 00:40:47,600 So we've talked a lot about how this theft device works and how it uses a transceiver to bust through all kinds of defenses and we've talked about all the things that won't work like relays to headlights and $50 billion of money spent on electronics. 517 00:40:47,660 --> 00:40:49,780 What fixes are there? 518 00:40:49,980 --> 00:40:51,780 So we offered two. 519 00:40:52,460 --> 00:40:56,180 One of them is to do a quick and dirty short-term fix. 520 00:40:56,660 --> 00:41:01,220 So make the gateway paranoid about CAN bus errors at startup. 521 00:41:01,320 --> 00:41:15,540 So when the vehicle is first being started up and this theft device is working, it's a very crude device so it blasts its frames onto the CAN bus and everyone else's frames don't turn up so there are heartbeat messages missing and stuff like that. 522 00:41:15,540 --> 00:41:28,600 So if the gateway device is a bit paranoid and sees a bunch of errors on the CAN bus, its own frames are not being sent, it's on, it can basically say I'm not going to forward any messages until that happens, until it's all gone away. 523 00:41:29,000 --> 00:41:32,660 And if there was a false positive on that, you would just try your smart key again. 524 00:41:33,240 --> 00:41:35,160 So this is a quick and dirty hack. 525 00:41:35,260 --> 00:41:44,520 The theft device vendors, I won't explain how, but they could work around this after a while with a bit more work and effort or maybe just move on to someone else's car. 526 00:41:44,580 --> 00:41:46,840 But either way, it's a short -term fix. 527 00:41:48,080 --> 00:42:04,760 A permanent fix to this is to use cryptographic messaging between the smart key, up here, smart key, see you, and the doors, and the smart key, and the engine management, or possibly just the gateway. 528 00:42:06,100 --> 00:42:20,320 And you can use solutions like CryptoCAN, which I developed, CanisLabs, or you could use SecoC, which is Autosar's secure on-board communication, to secure those messages against spoofing. 529 00:42:20,320 --> 00:42:28,520 There's no need to encrypt everything, of course, you don't need to encrypt everything, because thieves are not going to get by with some of the boring sensor messages. 530 00:42:29,100 --> 00:42:35,420 It's important, it's the smart key, traffic to the immobilizer and the doors are the things to encrypt. 531 00:42:37,660 --> 00:42:39,520 Just a couple of slides left. 532 00:42:39,520 --> 00:42:40,820 This one's quite funny. 533 00:42:41,040 --> 00:42:43,100 I think Toyota might be trolling me. 534 00:42:43,820 --> 00:42:49,260 2024 Toyota Tacoma gets a JBL speaker that has a nifty removable speaker. 535 00:42:50,760 --> 00:42:52,280 Looks a bit like this. 536 00:42:52,740 --> 00:42:55,620 Is this just in case you lose the keys out on the trail? 537 00:42:55,880 --> 00:43:01,160 It's got the hardware in it, a little extra wire, poke it underneath the wheel arch, job's a good'un. 538 00:43:02,380 --> 00:43:06,720 I don't think it does, but it would be bloody hilarious if you could retrofit it. 539 00:43:07,940 --> 00:43:08,960 I could do that. 540 00:43:08,960 --> 00:43:13,160 I'm not going to, because we don't get the Tacoma in the UK, but it would be funny. 541 00:43:14,060 --> 00:43:17,800 This is potentially my last slide with any sort of information. 542 00:43:18,260 --> 00:43:26,960 The fallout of our findings, a friend of mine, David Rogers, found this article about Jaguar Land Rover. 543 00:43:27,520 --> 00:43:36,540 Insurance companies in the UK are not insuring them anymore, because they are so easy to be stolen, or they're basically pricing it out of the market. 544 00:43:36,800 --> 00:43:52,220 So car makers need to get their finger out their ass and fix it, because cars are going to be either uninsurable, or no one's going to want them, because no one's going to be able to afford a few grand a year to actually insure their car. 545 00:43:52,820 --> 00:43:56,200 But the problem is, they will fix it going forward. 546 00:43:56,600 --> 00:44:01,500 They won't fix it going back, so all those cars that are previously made are still vulnerable. 547 00:44:01,960 --> 00:44:06,160 So yeah, not much more , but on to my final slide. 548 00:44:06,500 --> 00:44:08,360 I'd just like to say thank yous. 549 00:44:08,640 --> 00:44:19,280 First to the ASRG, to specifically John Hildreth, he's been helping us with the disclosure process to OTA Japan. 550 00:44:19,460 --> 00:44:28,360 We are doing this, this is exactly the same talk at the ASRG SOS conference next month in September, so look it up. 551 00:44:29,080 --> 00:44:39,440 I'd also like to say thank you to Bug Crowd and all the team of car hackers that were there in the 2018 and 2019 events. 552 00:44:39,440 --> 00:44:41,100 Wave if you're in the audience. 553 00:44:42,000 --> 00:44:44,440 There's some down at the front, there's some at the back, yep. 554 00:44:45,340 --> 00:44:54,400 Noel Loudon, my colleague, my friend that's an incident investigation chap, ex-policeman, he's the one that pointed me in the direction. 555 00:44:55,140 --> 00:44:59,360 Zoltan may or may not be the crazy bugger that broke his own car for me. 556 00:44:59,860 --> 00:45:00,960 Thank you very much. 557 00:45:00,960 --> 00:45:04,020 I didn't ask you to do that, you idiot. 558 00:45:05,260 --> 00:45:10,980 Finally I'd like to say thank you to Car Hacking Village for allowing me to be here and share this story. 559 00:45:11,400 --> 00:45:20,700 I don't have time for questions because cock ups with audio and I can't give you any more information than has already been given, so don't ask. 560 00:45:20,960 --> 00:45:21,480 Yeah? 561 00:45:21,480 --> 00:45:22,860 I can't give it. 562 00:45:23,080 --> 00:45:27,240 I cannot tell you anything about how it was made, the messages or anything. 563 00:45:27,520 --> 00:45:28,960 So thank you very much.