[00:00.000 --> 00:07.100] Hey, thank you for coming. I want to do a really short talk today about some aftermarket vehicle [00:07.100 --> 00:12.000] accessories we've been looking at. Now I'm going to start by looking at some aftermarket alarms, [00:12.000 --> 00:17.560] which was research we published back in February this year. And then I want to move on to some new [00:17.560 --> 00:23.640] stuff, which I wasn't going to be able to talk about, but responsible disclosure, you've got [00:23.640 --> 00:27.900] to follow it. The vulnerabilities were fixed yesterday. So I'm quite pleased we can actually [00:27.900 --> 00:33.640] talk about some of these live now. Now, I want to go back to look at what we looked at before. [00:33.640 --> 00:40.860] I want to look at some smart car alarms. And what got us interested in the smart car alarms was the [00:40.860 --> 00:47.780] vendor advertised themselves as unhackable. And I'm thinking, wow, that's got to be really [00:47.780 --> 00:56.980] interesting. Unhackable. You might remember some work our team did about a year ago on a certain [00:56.980 --> 01:02.620] cryptocurrency wallet called the BitFi. The cryptocurrency wallet marketed by John McAfee [01:02.620 --> 01:09.860] as unhackable. And about two days later, the team had routed it. And yeah, that went well. [01:09.860 --> 01:14.640] We got a pony for the second time, a black hat on Tuesday this week, which we're really happy about. [01:14.640 --> 01:20.480] Anyway, let's move on to it. We're going to look at a Russian alarm vendor called Pandora. Anyone [01:20.480 --> 01:26.100] heard of Pandora? One or two of you. Okay, they're big. They've got 2 million customers with these [01:26.100 --> 01:31.800] devices installed. And they advertise themselves as unhackable. We started looking at it, looked at [01:31.800 --> 01:36.720] all the words they were marketing. And I don't know about you, that means nothing to me. It's a [01:36.720 --> 01:42.320] waste of time. We looked at their mobile app, looks very much like the classic mobile app you'd get [01:42.580 --> 01:47.220] with a smart vehicle. So you had a telematics interface, you could identify the vehicle, you [01:47.220 --> 01:51.820] could find it in real time, you could check that your vehicle was locked, you could pop the trunk, [01:51.820 --> 01:56.460] you could also start and stop the vehicle. I'm getting interested in this, right? [01:56.500 --> 02:03.440] The problem being, is if you have keyless entry vehicle, some of them are becoming hard to insure [02:03.440 --> 02:08.240] now. So manufacturers are, sorry, insurers are insisting on aftermarket alarms. We started [02:08.240 --> 02:12.960] looking at them. And I'd like to introduce a colleague of mine who sat over there, Vangelis, [02:12.960 --> 02:17.980] very clever guy. He doesn't always dress like that. We were doing some TV work for the BBC, [02:17.980 --> 02:21.680] and they said, can you put on a black hoodie and some dark glasses? [02:22.880 --> 02:29.200] So he doesn't always come on out like that. Within moments, he'd found vulnerabilities in [02:29.200 --> 02:33.660] the mobile app API. He found an insecure direct object reference. Remember those vulnerabilities [02:33.660 --> 02:39.480] that like we knew about 10, 15 years ago, that keep popping up again? He found a vulnerability [02:39.480 --> 02:45.620] in the JSON parameter, and the one that allowed you to reset the email address when you've forgotten [02:45.620 --> 02:51.580] your password. So we could change the email address without authorization, trigger a password [02:51.580 --> 02:56.640] reset, receive the password reset, and take over the mobile app account. So we're now in quite a [02:56.640 --> 03:01.000] good place. We've now got all the functionality of the alarm, which is nuts. You could just trigger [03:01.000 --> 03:06.260] it. They didn't authorize it correctly. Now, we thought it'd be really interesting. We wanted to [03:06.260 --> 03:11.340] see what else we could do. So we spent a lot of money on car alarms. And I had a very difficult [03:11.340 --> 03:15.220] conversation with a colleague of mine who owns a Range Rover and said, what we want to do is fit [03:15.220 --> 03:21.080] an alarm to your car that makes it easier to steal. Is that okay? Okay, that's fine. So we [03:21.080 --> 03:26.920] did that. That's his Range Rover. The API is screwed. You can enumerate the vehicle type [03:27.960 --> 03:34.100] through here. So if you want to steal all the Range Rovers, the Lamborghinis, the Ferraris, [03:34.100 --> 03:37.860] you can just go and find them all. You can geolocate them in real time. So that's his [03:37.860 --> 03:42.140] car parked in our office. It's got the map, so we know what the vehicle is we want to steal. [03:42.140 --> 03:47.180] And then you can unlock it. You can also track the driver in real time wherever they are. [03:47.180 --> 03:50.260] So you can see if you've been speeding. I think that's quite creepy, right? [03:51.220 --> 03:57.100] You can also do some other stuff. You can also stop it. You can stop the engine of the vehicle [03:57.100 --> 04:02.100] by enabling the immobilizer remotely. Now, it won't cut the engine out immediately. But as soon [04:02.100 --> 04:06.500] as you come to a stop, if you turn the engine off, you're out. If you've got stop start, you pull up [04:06.500 --> 04:12.900] the lights, you aren't going anywhere again. And this actually happened. So my colleague forgot to [04:14.040 --> 04:18.260] demobilize Mark's Range Rover one morning, and he woke up at 5.30am to go to the airport to get his [04:18.800 --> 04:26.060] mother-in-law. His car wasn't going anywhere. Oops, that got fixed. So just to recap, [04:26.060 --> 04:29.640] it affected two million vehicles. You can geolocate any vehicle in real time. You can [04:29.640 --> 04:33.840] select the brands you want to go for, and you can unlock it to order as well as immobilize it. [04:33.840 --> 04:38.460] We then started looking at the manual, and something really freaky we found bottom right [04:38.460 --> 04:44.080] there in the installer's guide is a microphone. We're thinking, okay, this is kind of interesting. [04:44.200 --> 04:49.860] Why is there a microphone? Turns out it's for the European EECL directive. So if you have a high [04:49.860 --> 04:54.500] G impact, it can automatically dial the emergency services. What we found is you could remotely turn [04:54.500 --> 04:59.320] the microphone on on the vehicle through one of the insecure direct object references in the API. [04:59.320 --> 05:04.760] So you could listen to two million people's cars. I don't know about you. I say stuff in my car that [05:04.760 --> 05:08.960] I don't want anybody else to hear. But hey, it's just fine. We can just listen to you. [05:09.260 --> 05:17.840] Next one. Anyone here heard of Viper? Big brand. Right. Guess what? I do. And we found a vulnerability [05:17.840 --> 05:23.700] in the API for Viper as well. It was very similar. We could change the user password directly. We [05:23.700 --> 05:27.460] could then hijack the account. So we're thinking, right, it's time to do responsible disclosure, [05:27.460 --> 05:32.980] we've got three million vulnerable vehicles right now. And we thought that Viper, being a US [05:32.980 --> 05:37.520] operation, really cool. They actually thought we'd get there first. Pandora, a Russian operation, [05:37.520 --> 05:42.720] thought they'd be difficult to work with. Viper, responsible disclosure, nearly a train wreck, [05:42.720 --> 05:48.680] but not quite. We didn't reply to any of our emails, but we found a VP of connected [05:50.360 --> 05:55.980] stuff on LinkedIn. I dropped him an intro line and he accepted straight away. And instantly, [05:55.980 --> 06:00.060] we had a communication interface and we got it fixed in three days, which was, I thought, [06:00.060 --> 06:04.700] quite impressive actually. I wish all vulnerability disclosure was like that. Pandora, I thought [06:04.700 --> 06:11.440] we're going to be a train wreck. We got no response to any of our disclosure attempts. I phoned up [06:11.440 --> 06:16.700] the UK agent and they didn't reply to return my call. But I did get a call back at the weekend [06:16.700 --> 06:20.780] and to be honest, the guy was a bit pissy with me. So I thought we're about to see a real train [06:20.780 --> 06:24.720] wreck of disclosure again. But he phoned me back the next morning and said, yeah, we fixed it. [06:24.720 --> 06:28.580] Wow. And they're all cool. They said, hey, we'd like to really thank you for all the [06:28.580 --> 06:31.760] work you've done. We'd like to offer you a free alarm. It's okay. Don't worry. [06:31.760 --> 06:35.960] You can keep your alarm. That's fine. So let's move on to some new research. [06:37.140 --> 06:43.440] Who's had a low jack? Okay. I didn't realize it's actually an urban dictionary term as well. [06:43.440 --> 06:48.400] Being low jacked is also a term used for being fitted with a criminal ankle bracelet. I'll tell [06:48.400 --> 06:51.100] you a story about the security of those as well, but we won't go there because I might get in [06:51.100 --> 06:59.940] trouble with the cops. Right. In the UK and Europe, low jack is a different brand name. It's [06:59.940 --> 07:03.980] the same operation, but it's called tracker. So I'm going to use the words low jack and tracker [07:03.980 --> 07:09.700] interchangeably. So bear with me if I get one wrong. The idea being is if your vehicle is stolen, [07:10.420 --> 07:18.500] you get an alert, you tell the contact center and they set up a report with the cops. The [07:18.500 --> 07:24.480] find your vehicle and they get 90% of their stolen vehicles back again. That's great for [07:24.480 --> 07:29.120] the insurer. Although if I've had my car stolen and someone's driven it hard, I don't know if I [07:29.120 --> 07:34.560] want it back or not. Thank you. But anyway, it reduces your insurance premium, certainly in [07:34.560 --> 07:39.460] Europe. They'll give you a discount if you have a tracker or low jack fitted because the losses to [07:39.460 --> 07:47.340] insurer are fewer. The way it works is a web app, a mobile app. You set up a geofence. If the GPS [07:47.900 --> 07:54.200] on the vehicle, a little module that you fix. I've got one out there. If it senses it's gone [07:54.200 --> 07:58.840] outside the geofence, it alerts. You get an alert on your mobile app. You get an alert from the [07:58.840 --> 08:03.940] contact center. You get an automated call. And if you don't reply, it's fine. It's not been stolen. [08:04.540 --> 08:12.260] They'll inform the cops. That's great because you get your car back. Guess what? We'll come to this. [08:14.360 --> 08:23.200] In the UK, we have a body called Faction Research who are owned by a consortium of insurers and they [08:23.200 --> 08:30.240] carry out some really good work. So they do crash testing. They certify vehicles for being safe and [08:30.240 --> 08:35.000] secure and they have saved lives, undoubtedly. Really good operation. They also look at the [08:35.000 --> 08:40.300] physical security of vehicles. So how easy is it to pick the lock? How is it to steal the vehicle? [08:40.300 --> 08:45.980] More recently, they started getting into key relay evaluations and in the last few months started [08:45.980 --> 08:52.260] doing vehicle cybersecurity evaluations. That includes certifying and accrediting [08:52.860 --> 09:00.080] vehicle tracking devices like Lojack and Tracker. They credit them. They credit them so the insurance [09:00.080 --> 09:04.500] industry can go, yeah, that's great. So we have a keyless entry problem. It's okay. The vehicle's [09:04.500 --> 09:08.080] still got a tracker fitted. We still get the car back. We're in a good place, right? [09:09.000 --> 09:13.060] They've also recently started doing vehicle security ratings in general. [09:13.160 --> 09:19.000] And so I'm sure many auto OEMs would be very upset to receive a rating of poor security, [09:19.000 --> 09:22.520] although I'm sure Audi are pretty happy. Actually, I just ordered an Audi e-tron by complete coincidence. [09:22.520 --> 09:28.000] I really want to have a look at that. So they're putting, they're staking the reputations of many [09:28.000 --> 09:32.140] of our auto manufacturers on their security ratings. So you'd really want to know that [09:32.140 --> 09:37.120] their rating process, their accreditation process was really robust, right? You'd expect if they're [09:37.120 --> 09:41.540] saying a vehicle is not secure, that it's poor security, that it's a really good accreditation [09:41.540 --> 09:47.440] process, right? That you can stand by and defend. So let's look at the accreditation process for the [09:47.440 --> 09:52.840] immobilizer. So it's an S5 accredited tracker. So low jack and tracker is S5 accredited. [09:53.660 --> 09:59.120] In some cases, it's actually mandatory. So your insurer will not insure some vehicles unless you [09:59.120 --> 10:05.320] have a tracking device fitted. Why did I do this? Fundamentally, so I could steal a friend of mine's [10:05.320 --> 10:11.760] car. We'll come back to him in a bit. There are currently seven accredited tracking devices in the [10:11.760 --> 10:17.000] UK, accredited by Faction. So we spend a load of cash, and we have them fitted to a bunch of our [10:17.000 --> 10:20.700] vehicles. We've gone for three, because I think they're quite representative. Tracker low jack, [10:20.700 --> 10:25.040] by far the best known brand. Trackstar, which is approved by several OEMs for fitting to their [10:25.040 --> 10:29.160] vehicles. So they're dealer fits. So you pay the dealer, they fit it. And also another one, [10:29.160 --> 10:34.440] so called Smart Track, which is not dealer fit. But we looked at the API and code and thought, [10:34.440 --> 10:38.160] that looks a bit screwy. We need to have a bit of a play with this one. [10:38.400 --> 10:44.360] So, too long? Didn't read? Summary, we could defeat the theft alerts. So we could make the [10:44.360 --> 10:51.240] stolen car appear like it wasn't stolen. We could remotely immobilise thousands and thousands of [10:51.240 --> 10:57.440] vehicles without authorisation or authentication. And our conclusion was, is the accreditation [10:57.440 --> 11:01.300] process that we're having carried out on our vehicles and on our aftermarket products is [11:01.300 --> 11:05.500] not fit for purpose. Let's look at the detail. Let's start with a big brand. So how does it [11:05.500 --> 11:10.860] work? You have a mobile app. You have a web app. You have a geofence you set. So that's a geofence [11:10.860 --> 11:15.060] set around the vehicle at our office. If the geofence is busted, you get a text or a call. [11:15.080 --> 11:20.200] In that case, it wasn't stolen. So we said, yes, all fine. No further action. We're good. [11:21.340 --> 11:27.060] Guess what? Found an insecure direct object reference. You could change that forgotten [11:27.060 --> 11:33.320] password email address just like you could with Viper. We looked into it, trying to work out why [11:33.320 --> 11:38.980] they had the same problem. Turns out the same firm, the same back-end telematics operation, [11:39.040 --> 11:45.660] a business called Calamp, who provided the telematics platform into Viper, had exactly [11:45.660 --> 11:50.360] the same telematics platform for their own Lojack service. When we reported the vulnerability in [11:50.360 --> 11:55.180] Viper, they unintentionally fixed the vulnerability in Lojack back in February. [11:55.180 --> 11:59.140] They fixed the vulnerability they didn't know about by accident. That was kind of cool. [11:59.640 --> 12:02.540] But the EU infrastructure is on a separate environment. [12:03.260 --> 12:08.080] And so that didn't get fixed, which is why vulnerabilities for Tracker are across Europe. [12:08.080 --> 12:10.960] So we found exactly the same bug. Could take the control of the account. [12:11.180 --> 12:15.080] Except there were more. We found another one. You could delete the theft alerts. So your thief [12:15.080 --> 12:20.020] comes along, got a little bit savvy. Before they steal the car, they delete the theft alert. So [12:20.020 --> 12:26.060] your car, hey, it's just fine, right? And we could also directly and indirectly delete the [12:26.060 --> 12:30.840] geofences around the vehicle. So if you wanted to go steal your high-end vehicle, you go and [12:31.420 --> 12:37.760] compromise the mobile app API. You find the car in real time. You then delete the geofence, [12:37.760 --> 12:41.960] go and steal the vehicle, and off you go. Happy, hey? Great. You can just delete it. [12:42.380 --> 12:46.460] Let's look at TrackStar. That's one of the next biggest brands approved by several OEMs for [12:46.460 --> 12:52.700] And actually, they just had one IDOR. Wow. We should have none, but they just have one. [12:52.720 --> 12:59.200] And that's actually fitted to my car. That's my vehicle sat at my house. And yeah, you could [12:59.200 --> 13:03.800] compromise the accounts with one IDOR, take it over, delete the geofences, off you go. [13:03.800 --> 13:08.040] Great. Fantastic. Let's look at SmartTrack because this is the fun one. [13:10.500 --> 13:15.140] So more IDORs. You could take control of the account in pretty much the same way as you [13:15.140 --> 13:19.900] the others. That's one of our vehicles at our office there. But then we discovered you didn't [13:19.900 --> 13:23.780] actually need insecure direct object references. We found a backup site that was published the [13:23.780 --> 13:28.000] internet and realized that it wasn't interpreting SQL requests correctly. They were going back [13:28.000 --> 13:33.060] completely unsanitized, the backend database. Now, we didn't do this, but apostrophe or one [13:33.060 --> 13:37.840] equals one. We're pretty confident that would have worked. Oh, it's like 2003 all over again, [13:37.840 --> 13:42.640] right? Surely we forgot about this, right? No, we didn't exploit it. As a result of that, [13:42.640 --> 13:47.640] we didn't even need the IDOR. They weren't actually correctly authorizing requests from [13:47.640 --> 13:53.620] the contact center to immobilize the vehicles. So when you report a theft, it's not you that's [13:53.620 --> 13:57.900] supposed to immobilize the vehicle or report it to the cops. It's supposed to be the contact center. [13:58.360 --> 14:05.620] And somehow, for some reason, they've made the API request, sorry, the request from the contact [14:05.620 --> 14:11.740] center, so they report it as stolen, world readable, which is a really weird thing to do, [14:11.740 --> 14:16.660] right? They didn't check authorization correctly. So you could now instantly immobilize every single [14:16.660 --> 14:21.580] one of their vehicles. And we had a bit of fun. So this is my colleague, Phil, who I don't think's [14:21.580 --> 14:29.120] here. And we fitted the smart track to his vehicle. And he went on holiday, but I went around [14:29.120 --> 14:33.340] to his house because he was going to a wedding. And we had one hour to complete this piece of [14:33.340 --> 14:37.320] research to prove whether it works or not. And what we showed in less than a second, [14:37.320 --> 14:42.260] his engine's going, he switches it off, he switches it back on again, and his car's now [14:42.260 --> 14:46.360] immobilized. It took less than a second to immobilize potentially 25,000 vehicles. I [14:46.360 --> 14:52.200] loved his hamming up there. That was great. That's crazy. Poor Phil. We got it going again, [14:52.200 --> 14:56.180] but everything was fine. I want to tell the story of disclosure net because I think [14:57.080 --> 15:03.020] it's okay to have vulnerabilities. That's fine. I think the bit that sets one firm away from [15:03.020 --> 15:09.680] another is how you handle a disclosure. Do you embrace, respond, take action? Or do you [15:09.680 --> 15:14.740] threaten the researcher with legal action? Cease and desist? Yeah, it's a badge of honor, right? [15:15.100 --> 15:22.020] So we thought people would respond. So TrackStar were actually really good. They didn't reply [15:22.700 --> 15:29.460] to any of our emails. In the end, after trying their call center and failing to get through, [15:29.460 --> 15:36.820] I tweeted them publicly. And yeah, we'll talk about that in a minute. But when they made a [15:36.820 --> 15:41.540] connection with us, they fixed that API in 30 minutes. And I think that's phenomenal. [15:41.540 --> 15:47.480] That's really, really impressive, right? LoJack and Tracker, I thought given that we disclosed [15:47.480 --> 15:52.240] stuff to CalAmp before, I thought we'd have a really seamless straight there, get it fixed [15:52.240 --> 15:58.800] straight away. And they didn't actually. It took a bit of time. And I finally managed to get hold [15:58.800 --> 16:03.120] of the UK office. And whilst they were a bit slow to get fixed, they actually fixed it two days [16:03.120 --> 16:09.440] ago. So that's cool. Once we got through to the right person, they took action fast. SmartTrack [16:09.440 --> 16:16.460] were interesting, actually. The customer services, they took my email and said that they passed it [16:16.460 --> 16:21.960] on to the right team and they may contact me with me if they're interested. Like what? Okay, [16:21.960 --> 16:28.000] that's fine. So I tweeted them publicly on social media as well. And actually, in fairness, [16:28.000 --> 16:35.020] they fixed all the SQL injection and all the IDORs across an entire application [16:35.020 --> 16:41.880] in 48 hours. So actually, I thought they did quite a good job, really. I think TrackStar best, [16:41.880 --> 16:46.740] LoJack second, SmartTrack third, but they recovered it well. But this is what I find [16:46.740 --> 16:52.900] really frustrating, is why do I have to tweet someone publicly to ask where I report a vulnerability [16:52.900 --> 16:57.620] to? It shouldn't have to result in this. Because the problem is, is that I don't know about you, [16:57.620 --> 17:02.900] but when I tweet something like this, people start paying attention. A lot of infosec cyber [17:02.900 --> 17:07.520] journalists follow me, and stuff goes long. And I don't want that to happen. I just want them to [17:07.520 --> 17:12.540] talk to me so I can tell them about the vulnerability. And same with SmartTrack. [17:12.660 --> 17:18.060] I took it to them. Why did it have to happen like that? Why couldn't it just be a straightforward, [17:18.060 --> 17:21.260] quick engagement? Here's the vulnerability. Get it fixed. Thanks, guys. Here's a little credit for [17:21.260 --> 17:28.340] it. Cool. Yeah, wouldn't that be great? However, that's not my story. Those are vulnerabilities. [17:28.340 --> 17:35.660] The problem I have, the thing that really bothers about me is Thatcham. The guys who are putting [17:35.660 --> 17:43.400] the badge of approval on these products, so that we as consumers buy them, confidently thinking [17:43.400 --> 17:48.100] they improve the security of our car. Now I went to Thatcham, and I got hold of their press office [17:48.100 --> 17:52.420] and said, guys, we found some vulnerabilities in products that you've accredited. Tell me about [17:52.420 --> 17:56.520] your accreditation process. So I want to understand it, because I want to make sure I'm being fair [17:56.520 --> 18:03.820] with you. And they said, fundamentally, they check that it works. So we're buying a product [18:03.820 --> 18:10.320] with a stamp of approval on it that fundamentally works. They also said they checked that physically [18:10.320 --> 18:16.760] it was secure. It had to resist an attack for up to two minutes, a physical going for the wiring [18:16.760 --> 18:22.840] attack. And I don't think that's good enough. I really don't. I then started digging deeper, and I [18:22.840 --> 18:28.840] found their detail. And this I found really shocking, is that they used to take six to [18:28.840 --> 18:33.080] eight weeks to accredit these devices, which suggests to me they were doing more, right? [18:33.240 --> 18:37.700] But they've cut their cost, and they've cut their certification process to down to as little as one [18:37.700 --> 18:43.240] week. And I think that's unacceptable. I really do. Remember, this is an operation that's assessing [18:43.240 --> 18:47.920] the security of our vehicles. They've moved into assessing the cyber security of our vehicles as [18:47.920 --> 18:54.520] well. This really worries me. Who do we put faith in if the organizations we rely on to give us [18:54.520 --> 19:00.940] confidence aren't fit for purpose? That bothers me intensely. So that's kind of the end of my talk. [19:00.940 --> 19:05.620] There are some more things we're working on right now. We're also looking at the integration [19:05.620 --> 19:12.060] of the alarms and immobilizers directly onto the CAN. In order to immobilize that vehicle, it has [19:12.060 --> 19:16.760] CAN wiring. In order to speed the installation process for that alarm, it has CAN wiring so it [19:16.760 --> 19:21.100] can detect the CAN type it's working and customize itself so it can get the right messages. [19:22.860 --> 19:26.840] Some of those vulnerabilities that I've showed you, we believe there is exploitation [19:27.520 --> 19:34.480] direct onto the CAN via the vulnerable APIs. And that bit is quite scary. So I think what [19:34.480 --> 19:40.720] we concluded from this talk was that we found a whole new way of injecting CAN data remotely [19:40.720 --> 19:47.040] over the public internet. So that's us. There's a whole load of research on there, [19:47.040 --> 19:51.380] tells you about what we do, a lot of other car security testing and advice, [19:51.380 --> 19:54.340] but with a complete write-up of everything I've shown you here. Thanks very much.