1 00:00:00,000 --> 00:00:07,360 Topic is car infotainment hacking methodology and attack surface scenarios, so it's IVI or in-vehicle 2 00:00:08,540 --> 00:00:20,440 infotainment or ICE also, in-car entertainment. So my name is Jay. That's my Twitter handle. I work as an 3 00:00:20,440 --> 00:00:29,120 application security engineer at BugCrowd. Shout out to my colleagues also. I work as a, that's my 4 00:00:29,120 --> 00:00:36,260 day job, but my, in the Philippines, we organized RootCon, which is the hacker conference in the 5 00:00:36,260 --> 00:00:44,780 Philippines. We also, that also contributed some tools. I love playing games. I'm not the creator of 6 00:00:44,780 --> 00:00:53,440 Torla malware, despite my family name. I'm not, I'm not even Russian, so, you know. Yeah, so I love to 7 00:00:53,440 --> 00:00:58,700 party. Who doesn't, right? In Defcon. Yeah, so. 8 00:00:59,340 --> 00:01:07,420 Yeah, before anything else, we need an inspirational quote or whatever you think about it. It's not about the ride, so it's the 9 00:01:07,420 --> 00:01:16,900 rider. So, yeah. So here's our scope and limitations so that you won't be disappointed with what this topic is all 10 00:01:16,900 --> 00:01:27,240 about. So first of all, IVI or in-vehicle infotainment, infotainment systems, what you call a shortcut, it's what you have in 11 00:01:29,120 --> 00:01:40,180 cars wherein there's, it's anything that you can play with your videos. Also, music. You don't need to touch your phone. You can 12 00:01:40,180 --> 00:01:54,180 connect to your phone with it. And then call using that. So something like that. So it's purely infotainment bugs and it's 13 00:01:59,420 --> 00:02:09,040 not about infotainment. There's no canvas hacking. Sorry for that one. But if you want to learn that, there's also car hacking 14 00:02:09,040 --> 00:02:18,120 village. Yeah. Methodology, security bugs, but not full takeover of the car. Because sometimes infotainments have 15 00:02:19,940 --> 00:02:27,920 limitation. And some, there are some vehicles wherein you can control the steering wheel, but 16 00:02:29,300 --> 00:02:34,340 In some cases, it's in a separate module, so it's on a sandbox. 17 00:02:34,680 --> 00:02:35,360 It's different. 18 00:02:35,580 --> 00:02:42,000 In fact, there are also IVI, which are third-party add-ons for your car. 19 00:02:43,820 --> 00:02:53,300 So it's very inspired with what Jason Haddix wrote in his GitHub and presented at DEF CON. 20 00:02:53,300 --> 00:03:01,280 So it's the bug hunter's methodology, but in my case, it's how to find bugs in an IVI. 21 00:03:03,200 --> 00:03:07,380 So I'm going to probably miss out some attack services. 22 00:03:08,440 --> 00:03:13,160 So if you know anything, let's talk, or maybe you can share it to the audience. 23 00:03:17,340 --> 00:03:21,940 So yeah, for the car hacking handbook by Craig Smith, 24 00:03:22,740 --> 00:03:23,280 I'm going to share it with you. 25 00:03:23,300 --> 00:03:27,360 So these are the common attack services that you have in your car. 26 00:03:28,200 --> 00:03:34,600 Those are the most common, the things that you can do to exploit your car. 27 00:03:34,800 --> 00:03:43,100 I mean, some of these entry points, you can use it to maybe take over the car or play 28 00:03:43,100 --> 00:03:52,080 some videos on it or crash the system, something like that, or install malicious firmware 29 00:03:52,080 --> 00:03:53,280 on the car. 30 00:03:53,280 --> 00:03:54,140 So that's the IVI. 31 00:03:54,660 --> 00:04:00,200 But in this talk, these are the attack services that we have. 32 00:04:00,820 --> 00:04:02,040 We have the Bluetooth. 33 00:04:03,120 --> 00:04:04,660 We have the Wi-Fi. 34 00:04:06,240 --> 00:04:14,500 USB ports, because, you know, that's where you charge your phone or you play your music 35 00:04:14,500 --> 00:04:16,600 sometimes using a USB flash drive. 36 00:04:17,940 --> 00:04:23,200 So SD card ports to update the maps, the GPS. 37 00:04:23,280 --> 00:04:30,420 Or a load something, probably apps, so the CD room or the DVD room. 38 00:04:30,600 --> 00:04:40,120 So that's also where you play some videos or maybe music or your DEF CON CD that you 39 00:04:40,120 --> 00:04:42,060 have to play that music. 40 00:04:43,980 --> 00:04:49,660 And we also have the touch screen, so it's not just, even though you have physical access 41 00:04:49,660 --> 00:04:53,260 to it, it's also OK. 42 00:04:53,260 --> 00:04:53,400 So you can control the console. 43 00:04:53,400 --> 00:04:55,320 So it's not just a, an attack surface. 44 00:04:55,620 --> 00:04:57,280 It's an entry point for hackers. 45 00:04:58,060 --> 00:05:01,020 So it allows you to control the console, of course. 46 00:05:01,200 --> 00:05:07,720 And there are things that you can do by just touching the touch screen of the dashboard. 47 00:05:09,100 --> 00:05:17,740 So audio jack, I don't have any proof of concept for this yet, but probably short out 48 00:05:17,740 --> 00:05:20,720 something for the IVI. 49 00:05:22,060 --> 00:05:23,240 And then we have the audio jack. 50 00:05:23,240 --> 00:05:27,980 We have the cellular connection, the GPS, et cetera. 51 00:05:29,960 --> 00:05:35,620 So for the Bluetooth, they say that everything better, everything's better with Bluetooth. 52 00:05:35,900 --> 00:05:36,660 Not really. 53 00:05:36,840 --> 00:05:38,960 So, but it's a good. 54 00:05:39,080 --> 00:05:45,760 So for cars, for IVI, it's coupled with Bluetooth vulnerabilities, OK? 55 00:05:46,700 --> 00:05:51,360 So like, I think two weeks ago, there was a new Bluetooth vulnerability. 56 00:05:53,240 --> 00:05:53,880 You can jam. 57 00:05:54,060 --> 00:06:03,200 So most of the IVI have Bluetooth, right, to connect your phone to your car, then play 58 00:06:03,200 --> 00:06:07,480 some music or call someone, anything, GPS also. 59 00:06:08,260 --> 00:06:17,100 So you can jam the Bluetooth to render the owner of the car not be able to play his songs 60 00:06:17,580 --> 00:06:18,860 or Justin Bieber songs. 61 00:06:19,480 --> 00:06:19,960 Yeah. 62 00:06:20,080 --> 00:06:21,920 They have one song on his car. 63 00:06:22,080 --> 00:06:22,360 Yeah. 64 00:06:23,240 --> 00:06:25,320 So there's also code execution. 65 00:06:25,540 --> 00:06:32,480 You can execute arbitrary commands on the car on an IVI. 66 00:06:32,860 --> 00:06:37,600 So for Bluetooth, but I haven't seen a PLC for this yet. 67 00:06:38,220 --> 00:06:43,180 Maybe it will come out with other hackers in the car hacking village. 68 00:06:45,000 --> 00:06:48,460 And of course, the default pairing numbers for Bluetooth. 69 00:06:48,540 --> 00:06:52,320 We have the 0011, 1234 or whatever. 70 00:06:52,600 --> 00:06:53,220 So, yeah. 71 00:06:53,240 --> 00:06:56,680 So those are the things that you can do, right? 72 00:06:57,220 --> 00:06:57,860 Pairing numbers. 73 00:06:59,020 --> 00:07:01,600 Or malform or format string vulnerabilities. 74 00:07:02,260 --> 00:07:12,940 With this kind of format, you can actually break the system or crash the system or probably 75 00:07:12,940 --> 00:07:20,280 take you to a desktop mode of the IVI. 76 00:07:20,320 --> 00:07:22,200 For example, if it runs on Windows ME. 77 00:07:22,340 --> 00:07:22,360 Yeah. 78 00:07:22,360 --> 00:07:25,760 Or Windows whatever it runs. 79 00:07:26,140 --> 00:07:32,000 So it could take you to a desktop because, for example, if it's a sandbox app only. 80 00:07:33,920 --> 00:07:41,320 So there's also memory corruption, send malform packages to the head unit so you can crash 81 00:07:41,320 --> 00:07:44,920 also the Bluetooth stack. 82 00:07:46,720 --> 00:07:48,360 So this one. 83 00:07:48,500 --> 00:07:49,320 So yeah. 84 00:07:49,640 --> 00:07:51,720 You can actually send. 85 00:07:51,720 --> 00:07:54,820 You have format string specifiers in a device name. 86 00:07:54,980 --> 00:08:01,320 You can rename your phone with this percentage sign. 87 00:08:01,420 --> 00:08:02,480 It's a format string. 88 00:08:03,240 --> 00:08:04,900 So yeah. 89 00:08:05,940 --> 00:08:17,100 A CV 2017-9212 was assigned to a BMW 330i 2011 car. 90 00:08:18,900 --> 00:08:21,060 The researcher was from IOactive. 91 00:08:22,500 --> 00:08:27,180 So like I said, test at your own risk. 92 00:08:27,580 --> 00:08:33,000 So what if it takes you, like I said, what if it takes you to the desktop environment 93 00:08:33,000 --> 00:08:36,400 or debug options, options of your IVI? 94 00:08:37,800 --> 00:08:40,520 So this guy, he tweeted it in Twitter. 95 00:08:41,220 --> 00:08:49,420 So basically set your smartphone's name to percentage X, percentage H or percentage C, 96 00:08:49,580 --> 00:08:50,360 percentage anything. 97 00:08:50,520 --> 00:08:51,040 Yeah. 98 00:08:51,040 --> 00:08:51,840 Format string. 99 00:08:53,420 --> 00:08:54,700 And connected devices. 100 00:08:54,760 --> 00:08:59,200 So here's a 2011 BMW 330i. 101 00:08:59,680 --> 00:09:08,900 So what it did is that he wasn't able to crash his car and yeah, wreck his system. 102 00:09:09,900 --> 00:09:10,420 Yeah. 103 00:09:11,680 --> 00:09:12,720 So yeah. 104 00:09:12,800 --> 00:09:13,940 You have badges, right? 105 00:09:13,980 --> 00:09:18,940 You can go to the people who are having their cars there right now and connect it to Bluetooth. 106 00:09:19,460 --> 00:09:19,980 Yeah. 107 00:09:21,080 --> 00:09:45,800 And yeah, if you don't know some, you can go to the sec list, which it is a GitHub repo where you can get some payloads, or you can fuzz, you can rename your phone, address book, or the song, the song of your mp3, something like that. 108 00:09:47,040 --> 00:09:51,300 You just need to go to this repo. 109 00:09:51,660 --> 00:09:56,020 So, fuzzing for format string vulnerabilities or strings. 110 00:09:57,200 --> 00:10:00,060 This is by Jason Haddix and Daniel Missler. 111 00:10:02,120 --> 00:10:03,220 Okay, Wi-Fi. 112 00:10:03,340 --> 00:10:06,560 So, after Bluetooth, we have Wi-Fi. 113 00:10:07,700 --> 00:10:10,660 When Wi-Fi is down and all you have is imagination. 114 00:10:11,160 --> 00:10:14,160 So, if there's Wi-Fi, of course. 115 00:10:14,680 --> 00:10:15,620 Come on, Wi-Fi. 116 00:10:15,620 --> 00:10:16,620 Wi-Fi vulnerabilities, right? 117 00:10:16,960 --> 00:10:28,080 So, you can de-auth the device so that he will be able to connect to the Wi-Fi. 118 00:10:28,180 --> 00:10:33,340 For example, if there are some IVI wherein it allows you to connect to your Wi-Fi. 119 00:10:34,200 --> 00:10:36,440 And you know what happens there after. 120 00:10:36,780 --> 00:10:39,840 You will have an IP address. 121 00:10:40,240 --> 00:10:45,500 And this is, you can do something. 122 00:10:45,620 --> 00:10:47,580 And we'll talk about that later. 123 00:10:48,980 --> 00:11:00,080 So, there is also a way for you to update your car wherein it's in one of the settings, update your firmware. 124 00:11:00,280 --> 00:11:00,760 Right. 125 00:11:00,960 --> 00:11:06,220 So, if it's connected to your own network and you press the update. 126 00:11:06,360 --> 00:11:13,920 So, why don't you try to sniff the packet and check the firmware, where the firmware came from. 127 00:11:14,120 --> 00:11:15,200 And, you know. 128 00:11:15,620 --> 00:11:21,360 You can also change the firmware if it doesn't have firmware signature validation. 129 00:11:21,980 --> 00:11:31,020 So, you can reverse the firmware that maybe send a backdoor firmware to someone's car. 130 00:11:32,820 --> 00:11:37,360 So, you can also connect to the Wi-Fi, fetch the IP address. 131 00:11:38,400 --> 00:11:41,840 Then, so if it's in your network now, what are you going to do? 132 00:11:41,980 --> 00:11:44,980 You just need to scan your network or if you own the network. 133 00:11:44,980 --> 00:11:45,300 Right. 134 00:11:45,500 --> 00:11:46,640 You can see it in the router. 135 00:11:46,800 --> 00:11:47,780 The host name. 136 00:11:48,380 --> 00:11:51,860 So, just scan the port of the IP address that you have. 137 00:11:52,180 --> 00:11:54,360 And then, what services does it have? 138 00:11:54,880 --> 00:11:58,360 What services does your car have for the IBI? 139 00:11:58,840 --> 00:12:00,260 Does it have FTP? 140 00:12:01,060 --> 00:12:02,400 Does it have Telnet? 141 00:12:03,120 --> 00:12:04,840 Does it have SSH? 142 00:12:05,000 --> 00:12:05,480 Okay. 143 00:12:06,840 --> 00:12:07,680 So, we have. 144 00:12:08,460 --> 00:12:14,820 If it does have Telnet and the car, the guy that owns the car. 145 00:12:14,820 --> 00:12:17,800 Is also a hacker or maybe a techy person. 146 00:12:18,570 --> 00:12:19,780 But, you know. 147 00:12:19,880 --> 00:12:20,480 He wasn't. 148 00:12:21,760 --> 00:12:23,560 He tried to log in his credentials. 149 00:12:23,680 --> 00:12:26,860 So, you can actually sniff the credentials. 150 00:12:27,860 --> 00:12:29,020 Because it's insecure. 151 00:12:29,380 --> 00:12:30,880 Telnet and FTP, for example. 152 00:12:32,040 --> 00:12:36,200 So, some of these interfaces have no authentication. 153 00:12:36,860 --> 00:12:37,440 Okay. 154 00:12:37,600 --> 00:12:38,860 They don't have authentication. 155 00:12:38,920 --> 00:12:41,360 Some have authentication but have weak passwords. 156 00:12:41,900 --> 00:12:42,700 So, yeah. 157 00:12:42,780 --> 00:12:43,860 Netcat is your friend. 158 00:12:44,820 --> 00:12:45,800 So, exploit. 159 00:12:46,570 --> 00:12:52,480 If there are other services, try to check if it runs on older services. 160 00:12:52,900 --> 00:12:58,540 So, pretty much like the penetration testing methodology that you have. 161 00:12:58,660 --> 00:12:59,180 That you learned. 162 00:13:00,570 --> 00:13:02,500 So, this is from my car. 163 00:13:02,880 --> 00:13:06,000 So, if it has a weak password. 164 00:13:06,320 --> 00:13:09,160 So, try brute forcing the credentials. 165 00:13:09,540 --> 00:13:10,200 Right. 166 00:13:10,510 --> 00:13:12,040 For example, there's SSH. 167 00:13:12,220 --> 00:13:12,640 Okay. 168 00:13:12,640 --> 00:13:14,160 Try to brute force the credentials. 169 00:13:14,440 --> 00:13:17,480 Or if you know the default password, you can try it. 170 00:13:17,820 --> 00:13:20,400 So, get to know the default password of the system. 171 00:13:21,140 --> 00:13:22,420 This is from a Mazda 2. 172 00:13:23,220 --> 00:13:23,740 2017. 173 00:13:24,620 --> 00:13:25,560 And, yeah. 174 00:13:26,600 --> 00:13:30,600 It has a SSH open and that's the default password. 175 00:13:31,380 --> 00:13:33,260 So, there's a video on it. 176 00:13:33,760 --> 00:13:36,080 Just to prove that I'm not. 177 00:13:37,560 --> 00:13:38,360 There is. 178 00:13:38,640 --> 00:13:39,140 So. 179 00:13:41,180 --> 00:13:42,120 It's not complete. 180 00:13:42,120 --> 00:13:42,760 It's just like. 181 00:13:43,500 --> 00:13:44,400 It's just a shell. 182 00:13:44,960 --> 00:13:45,400 Yeah. 183 00:13:47,680 --> 00:13:50,580 So, I'm kind of slow in typing because I was holding my camera. 184 00:13:51,940 --> 00:13:52,380 Yeah. 185 00:13:52,680 --> 00:13:53,540 Friends on Linux. 186 00:13:53,620 --> 00:13:53,940 CMU. 187 00:13:54,920 --> 00:13:55,720 And, yeah. 188 00:13:56,440 --> 00:13:57,880 They didn't continue from there. 189 00:13:58,120 --> 00:14:03,900 Just to let you know that there are things under the JCI. 190 00:14:05,800 --> 00:14:06,900 So, this was reported. 191 00:14:07,060 --> 00:14:10,100 So, if there's people from Mazda, don't sue me anymore. 192 00:14:11,580 --> 00:14:12,020 Yeah. 193 00:14:13,760 --> 00:14:15,280 This is reported already. 194 00:14:16,860 --> 00:14:19,260 I value responsible disclosures. 195 00:14:21,640 --> 00:14:22,320 Yeah. 196 00:14:22,880 --> 00:14:23,560 Right. 197 00:14:23,620 --> 00:14:25,000 So, another case. 198 00:14:25,940 --> 00:14:35,480 Dan Cooper and Tedgist Alchemy from Computex gained access to the IVI's root account for Volkswagen and Audi. 199 00:14:35,660 --> 00:14:37,620 So, this is the link to their report. 200 00:14:38,300 --> 00:14:41,420 They didn't give enough details. 201 00:14:41,420 --> 00:14:42,740 They didn't give enough details or POC for the attack. 202 00:14:43,060 --> 00:14:44,520 But they have an exploit. 203 00:14:45,020 --> 00:14:52,720 So, by just knowing the IP address, connected to the same network they have there, their 204 00:14:52,720 --> 00:14:54,280 own exploit, SH. 205 00:14:54,780 --> 00:15:02,420 So, as you can see, it was able to execute uname space minus A. And it's running on 206 00:15:02,420 --> 00:15:02,960 QNX. 207 00:15:03,520 --> 00:15:05,720 And look at the board. 208 00:15:05,840 --> 00:15:08,480 It's an NVIDIA Tigra 2 boards arm. 209 00:15:10,060 --> 00:15:10,620 Yeah. 210 00:15:10,620 --> 00:15:19,800 And yeah, there's also this one from one of their reports also. 211 00:15:20,220 --> 00:15:24,040 So, Telnet and there's the default password. 212 00:15:24,560 --> 00:15:25,220 So, yeah. 213 00:15:25,320 --> 00:15:32,420 If you also have access to the network, you can also sniff the credentials because it's 214 00:15:32,420 --> 00:15:33,600 Telnet, right? 215 00:15:36,340 --> 00:15:37,600 It's from Audi. 216 00:15:37,820 --> 00:15:38,260 Okay. 217 00:15:38,260 --> 00:15:39,660 Who owns Audi here? 218 00:15:41,100 --> 00:15:41,460 Yeah. 219 00:15:42,240 --> 00:15:47,740 Don't throw away, but just keep away from hackers right now. 220 00:15:49,180 --> 00:15:49,900 Okay. 221 00:15:49,980 --> 00:15:52,240 So, key takeaways from Charlie Miller. 222 00:15:53,520 --> 00:15:56,640 They look at 2015 vehicles. 223 00:15:57,080 --> 00:16:01,800 This is a big difference between car hacking and, say, browser hacking. 224 00:16:02,240 --> 00:16:06,120 So, 2015 is still an old browser. 225 00:16:07,660 --> 00:16:11,340 But 2015 vehicle is still a pretty new car. 226 00:16:11,780 --> 00:16:15,800 In fact, if you own a Mustang 2015, that's still a pretty new car, right? 227 00:16:16,300 --> 00:16:23,760 Or if you own, like, 2010 something and it's a very high-end car or, like, for example, 228 00:16:23,840 --> 00:16:25,280 maybe Mercedes-Benz. 229 00:16:25,620 --> 00:16:26,880 So, it's still a pretty new car. 230 00:16:27,420 --> 00:16:29,400 And for browser, that's very old. 231 00:16:29,540 --> 00:16:35,400 I mean, some of the XSS, for example, for XSS attack in the web. 232 00:16:35,400 --> 00:16:39,620 So, if it's already that kind of browser. 233 00:16:39,820 --> 00:16:42,940 So, some XSS payloads won't work already, right? 234 00:16:45,120 --> 00:16:48,760 So, this is another one from Ian Tabor. 235 00:16:49,280 --> 00:16:57,840 So, he also showed an analysis of the IBI system within the 2015 DS5 1955 limited edition. 236 00:16:58,980 --> 00:17:05,380 So, he was able to connect the device to the device over here. 237 00:17:05,400 --> 00:17:06,540 This is the TCP port 23. 238 00:17:06,780 --> 00:17:07,680 It's still telnet. 239 00:17:08,080 --> 00:17:13,400 So, the problem with this one, it doesn't have any authentication, right? 240 00:17:13,480 --> 00:17:20,280 So, just maybe use netcap or telnet and, yeah, here you go. 241 00:17:20,340 --> 00:17:23,080 You can already access the IBI. 242 00:17:23,400 --> 00:17:30,160 So, the things that you can do there, call logs, data leakage, those are the things that you can do. 243 00:17:31,240 --> 00:17:35,040 What the driver has been. 244 00:17:35,400 --> 00:17:43,980 Doing, like, where did he go because of the GPS navigation and also some call logs that they have. 245 00:17:44,180 --> 00:17:45,300 Pretty much like that. 246 00:17:47,920 --> 00:17:49,040 So, yeah. 247 00:17:49,140 --> 00:17:55,500 Even though it's already 2015, so some manufacturers have this kind of issues. 248 00:17:57,420 --> 00:18:02,440 So, next, we have the USB port or the universal serial box. 249 00:18:03,160 --> 00:18:03,440 Okay. 250 00:18:03,440 --> 00:18:11,340 So, things that you can do, you have the, you can install malicious apps or apps with it. 251 00:18:13,220 --> 00:18:16,180 You can update the firmware via the USB. 252 00:18:17,760 --> 00:18:29,380 And you can do, sorry, you can do RCE or remote code execution if it's vulnerable. 253 00:18:31,000 --> 00:18:32,880 So, killer USB. 254 00:18:32,880 --> 00:18:35,140 Have you heard of this USB? 255 00:18:35,340 --> 00:18:39,340 So, if you plug it to your computer, it, like, destroys your computer. 256 00:18:39,560 --> 00:18:51,180 So, maybe if you do, if you plug it, it's possible that you can crash or maybe, like, erase the data on your IBI. 257 00:18:52,580 --> 00:19:00,180 So, in most, in some cases, if you don't, if your IBI doesn't have Wi-Fi but it has a USB port. 258 00:19:00,180 --> 00:19:05,880 So, you can, you can buy a USB to Ethernet adapters. 259 00:19:07,320 --> 00:19:13,780 So, it's another way for your car to have an IP address if the Wi-Fi is locked down. 260 00:19:16,320 --> 00:19:18,680 So, in my case, this is what I did. 261 00:19:18,900 --> 00:19:26,960 So, owners of Mazda have been modding and installing apps to their infotainment system using the Mazda all-in-one. 262 00:19:27,460 --> 00:19:29,500 So, it's all-in-one tweak. 263 00:19:29,600 --> 00:19:30,160 Tweak. 264 00:19:30,180 --> 00:19:31,980 It's in the Mazda 3 revolution. 265 00:19:32,400 --> 00:19:39,660 So, I tried to check on what's with the app and tried to look at how it's done. 266 00:19:42,460 --> 00:19:45,500 So, putting it all together from the documentation. 267 00:19:47,260 --> 00:19:48,060 Can you hear? 268 00:19:48,140 --> 00:19:48,900 Can you still hear me? 269 00:19:49,100 --> 00:19:49,560 Okay. 270 00:19:49,820 --> 00:20:00,160 Putting it all together in the documentation, there's a documentation that allows you to update the CMU of the car. 271 00:20:00,160 --> 00:20:02,120 So, I tried to read it. 272 00:20:02,220 --> 00:20:04,240 And there's actually a website for it. 273 00:20:05,360 --> 00:20:11,400 And you just need to put what you can download from that website to a USB flash drive. 274 00:20:11,660 --> 00:20:15,380 And you can already retrieve the CMU details. 275 00:20:18,400 --> 00:20:28,900 So, in one of the files of that zip file that you downloaded from their website. 276 00:20:30,520 --> 00:20:34,360 There's actually a text file like this. 277 00:20:34,620 --> 00:20:50,400 So, CMD, as what you can see in the last line, a number, it actually is executing a shell script. 278 00:20:52,540 --> 00:20:53,300 So, yeah. 279 00:20:53,800 --> 00:20:58,260 I put it all together to prove that this is what... 280 00:20:58,260 --> 00:21:02,360 A valet parking can do to you. 281 00:21:02,460 --> 00:21:04,260 Like, hey, can you park my car? 282 00:21:04,460 --> 00:21:06,240 And then the attacker has a USB. 283 00:21:06,380 --> 00:21:08,160 And, yeah. 284 00:21:09,480 --> 00:21:10,620 That's what I did. 285 00:21:11,100 --> 00:21:12,440 So, that's the PLC. 286 00:21:13,920 --> 00:21:17,360 So, I created PLC on the SH file. 287 00:21:19,160 --> 00:21:23,840 So, this is one of the snippets from the shell script. 288 00:21:25,020 --> 00:21:26,400 So, that's what I did. 289 00:21:27,940 --> 00:21:29,640 I executed the you name a. 290 00:21:30,340 --> 00:21:32,300 And there's actually a video of this one. 291 00:21:41,640 --> 00:21:44,200 So, I apologize for the chicken in the video. 292 00:21:46,240 --> 00:21:46,600 Yeah. 293 00:21:47,380 --> 00:21:48,840 This is the one that I did. 294 00:21:48,940 --> 00:21:49,920 So, you can see the files. 295 00:21:53,560 --> 00:21:53,920 Yep. 296 00:21:54,100 --> 00:21:55,460 So, that's what you can see. 297 00:21:55,460 --> 00:21:57,020 There's a USB flash drive. 298 00:22:06,980 --> 00:22:08,200 So, I was playing music. 299 00:22:08,640 --> 00:22:10,440 So, let's just try to fast forward. 300 00:22:13,920 --> 00:22:14,400 Here. 301 00:22:16,920 --> 00:22:17,400 There. 302 00:22:18,420 --> 00:22:19,580 So, I did... 303 00:22:20,400 --> 00:22:22,960 From the shell script, you have the echo command. 304 00:22:23,620 --> 00:22:24,700 So, you have... 305 00:22:26,580 --> 00:22:29,760 I was able to execute the you name space minus A. 306 00:22:29,940 --> 00:22:30,420 Yeah. 307 00:22:30,500 --> 00:22:31,420 It's shown in the screen. 308 00:22:34,080 --> 00:22:36,420 So, those are one of the dangers, you know. 309 00:22:36,520 --> 00:22:43,240 So, aside from you can install apps, you can actually execute some arbitrary commands for your car. 310 00:22:49,440 --> 00:22:50,080 So, yeah. 311 00:22:54,040 --> 00:22:54,700 So, yeah. 312 00:22:54,820 --> 00:22:55,780 That's the code again. 313 00:22:56,100 --> 00:23:00,680 So, from the update file that you can just have on your flash drive. 314 00:23:01,860 --> 00:23:03,180 So, this is the... 315 00:23:03,180 --> 00:23:04,320 Let's go back. 316 00:23:06,940 --> 00:23:08,760 This is one of the text file. 317 00:23:09,140 --> 00:23:10,680 On the text file of the update. 318 00:23:13,080 --> 00:23:15,980 This executes the info.sh. 319 00:23:16,280 --> 00:23:17,760 And this is the... 320 00:23:19,400 --> 00:23:20,060 What's inside the file. 321 00:23:20,060 --> 00:23:21,800 Inside the info.sh or shell script. 322 00:23:22,420 --> 00:23:29,760 So, I'm calling one of the JCI tools that allows you to show to your screen. 323 00:23:31,100 --> 00:23:32,040 And, yeah. 324 00:23:32,800 --> 00:23:33,160 That's it. 325 00:23:33,600 --> 00:23:35,460 Just to prove that there's RCE. 326 00:23:37,200 --> 00:23:37,840 So... 327 00:23:37,840 --> 00:23:39,460 Also, another case. 328 00:23:40,720 --> 00:23:48,640 Researchers from Keen Security Lab also found local code execution via the USB through an update. 329 00:23:49,040 --> 00:23:50,040 They were not... 330 00:23:50,040 --> 00:23:52,140 They were not able to show a PLC for this one. 331 00:23:52,260 --> 00:24:01,100 Maybe because of, like, they don't allow full disclosure but just a PLC that... 332 00:24:01,100 --> 00:24:04,480 Or an evidence of the attack that they did. 333 00:24:06,700 --> 00:24:07,780 There's no PLC. 334 00:24:07,960 --> 00:24:08,840 So, yeah. 335 00:24:09,960 --> 00:24:12,880 So, still the same thing with an SD card slot. 336 00:24:15,680 --> 00:24:17,540 Basically, you load the same thing. 337 00:24:17,540 --> 00:24:27,880 So, if there's an update for your car or you can update the firmware via the CD room or the DVD room, then you can load something. 338 00:24:28,760 --> 00:24:29,280 Right? 339 00:24:31,660 --> 00:24:41,940 So, for Mazda, using this known CMU bug, you can actually deploy apps through the custom Mazda application SDK. 340 00:24:42,580 --> 00:24:43,300 So, yeah. 341 00:24:43,360 --> 00:24:46,120 You can create your own apps with this one. 342 00:24:46,820 --> 00:24:47,500 It's free. 343 00:24:49,140 --> 00:24:50,100 And, yeah. 344 00:24:50,240 --> 00:24:50,700 It's... 345 00:24:51,300 --> 00:24:53,260 You can just test. 346 00:24:53,580 --> 00:24:54,260 Test it. 347 00:24:58,120 --> 00:25:02,920 And, like I said, there's also touchscreen as one of the attack surface. 348 00:25:03,440 --> 00:25:07,380 So, you just need to connect to Wi-Fi to establish IP address. 349 00:25:08,480 --> 00:25:11,060 So, that's for another attack which is the Wi-Fi attack. 350 00:25:11,260 --> 00:25:14,780 But for this one, if you just press anything. 351 00:25:14,780 --> 00:25:21,480 You try to rape the buttons of your car, you can actually cause an overflow with that one. 352 00:25:21,840 --> 00:25:23,860 So, picture below from my uncle. 353 00:25:24,740 --> 00:25:25,880 This is what he got. 354 00:25:26,340 --> 00:25:27,800 And, yeah. 355 00:25:27,920 --> 00:25:30,700 It's the dialog box. 356 00:25:31,040 --> 00:25:32,120 Seems familiar, right? 357 00:25:32,680 --> 00:25:33,240 Yeah. 358 00:25:33,300 --> 00:25:42,400 So, when you try to close that one, what happens is that it takes you to the Windows desktop environment. 359 00:25:42,400 --> 00:25:45,620 And you can actually run CMD from there. 360 00:25:46,340 --> 00:25:46,700 Yeah. 361 00:25:47,060 --> 00:25:54,740 So, one of my friends from RootCon also, he has a third party to his Honda car. 362 00:25:55,940 --> 00:25:58,260 He also, he was not doing anything. 363 00:25:58,360 --> 00:26:00,920 But the application just crashed. 364 00:26:01,280 --> 00:26:07,700 And it also took him to the Windows desktop environment. 365 00:26:07,880 --> 00:26:09,540 And there's a start menu. 366 00:26:10,840 --> 00:26:12,040 Locate CMD. 367 00:26:12,040 --> 00:26:12,660 And, yeah. 368 00:26:13,920 --> 00:26:15,200 Do something like that. 369 00:26:15,460 --> 00:26:22,020 No PLC because during that time, we were not yet interested with cars security during that time. 370 00:26:22,400 --> 00:26:23,260 So, sorry. 371 00:26:23,600 --> 00:26:25,080 No PLC for this one. 372 00:26:25,160 --> 00:26:25,540 But, yeah. 373 00:26:25,560 --> 00:26:25,940 It happens. 374 00:26:28,640 --> 00:26:31,720 So, have you seen this YouTube video? 375 00:26:32,540 --> 00:26:38,380 So, how to mod your Porsche 911 or other car to run Doom in three easy steps. 376 00:26:38,980 --> 00:26:40,220 So, is this true? 377 00:26:42,380 --> 00:26:42,820 Nope. 378 00:26:42,920 --> 00:26:43,620 It's just a joke. 379 00:26:43,740 --> 00:26:45,220 So, he has a lot of videos. 380 00:26:45,480 --> 00:26:53,300 So, what he did is that he just insert a Doom, then the Doom play on his Porsche. 381 00:26:53,540 --> 00:26:54,340 But it's not true. 382 00:26:54,520 --> 00:27:02,400 Because he also has a funny video or a prank video wherein he was able to run Doom on his toaster. 383 00:27:02,780 --> 00:27:03,900 That's the toaster there. 384 00:27:05,800 --> 00:27:08,100 He did a lot of prank videos. 385 00:27:08,540 --> 00:27:10,040 And other... 386 00:27:10,040 --> 00:27:16,580 Other security guys thought that it was true. 387 00:27:16,680 --> 00:27:17,160 But it's not. 388 00:27:20,120 --> 00:27:21,240 So, yeah. 389 00:27:21,820 --> 00:27:28,860 For GSM, cellular connection, phone app, they have an app that connects to your car. 390 00:27:30,880 --> 00:27:34,580 So, it's time for some mobile testing for this one. 391 00:27:34,720 --> 00:27:39,620 So, you're going to try to intercept the request. 392 00:27:39,620 --> 00:27:44,160 Or you can use Burp to test the app and see how it goes from there. 393 00:27:45,680 --> 00:27:53,120 So, there is one finding from this one wherein you can test the URLs you intercepted while testing the app. 394 00:27:53,520 --> 00:27:58,980 And Troy Hunt, he wrote a POC... 395 00:27:58,980 --> 00:28:01,040 No, I mean an article about this. 396 00:28:01,200 --> 00:28:03,520 But he didn't specify the correct... 397 00:28:03,520 --> 00:28:05,140 The exact URL. 398 00:28:05,500 --> 00:28:09,600 So, what it does is that from the mobile app, there's an API. 399 00:28:09,600 --> 00:28:12,960 That allows you to control the steering wheels. 400 00:28:13,220 --> 00:28:16,380 And he was able to intercept that one. 401 00:28:16,640 --> 00:28:25,480 And if you know the VIN number of a certain car from Nissan LEAF, you can actually control the steering wheels of another car. 402 00:28:26,380 --> 00:28:26,580 Okay? 403 00:28:29,020 --> 00:28:30,220 It's Nissan LEAF. 404 00:28:31,680 --> 00:28:34,780 So, you can eavesdrop on the connections. 405 00:28:36,140 --> 00:28:36,720 So... 406 00:28:36,720 --> 00:28:43,100 If you have a mobile app to your car, you can reverse engineer the app. 407 00:28:43,320 --> 00:28:51,980 And if you reverse engineer the app or like view the options there at the source code, you can get the... 408 00:28:51,980 --> 00:28:53,520 Maybe you can get the API key. 409 00:28:53,600 --> 00:28:55,080 So, I don't have POC for this one. 410 00:28:55,160 --> 00:29:02,400 But I was able to look into one of this one to destroy someone. 411 00:29:04,000 --> 00:29:04,480 Yeah. 412 00:29:05,500 --> 00:29:05,980 So... 413 00:29:05,980 --> 00:29:09,440 Like I said, because I promote... 414 00:29:09,440 --> 00:29:12,240 I work in a company that does responsible disclosure. 415 00:29:12,820 --> 00:29:17,520 So, that's why I don't have POC for the other app to your phone. 416 00:29:18,320 --> 00:29:25,540 But here are some of the programs where you can report some issues if you find bugs to your car. 417 00:29:25,680 --> 00:29:26,400 So, yeah. 418 00:29:26,420 --> 00:29:30,060 Earn money on some of the cars that you have there. 419 00:29:30,200 --> 00:29:31,280 So, you have the FCA. 420 00:29:31,520 --> 00:29:32,920 So, buggrad.com. 421 00:29:33,180 --> 00:29:34,440 And you have Tesla Motors. 422 00:29:34,440 --> 00:29:36,540 And also General Motors. 423 00:29:36,600 --> 00:29:37,660 JM from HackerOne. 424 00:29:37,980 --> 00:29:38,840 So, yeah. 425 00:29:39,120 --> 00:29:40,000 So, yeah. 426 00:29:40,080 --> 00:29:44,700 It's not just XSS for reporting bugs. 427 00:29:45,560 --> 00:29:48,680 So, I already did a demo on the car. 428 00:29:50,120 --> 00:29:51,240 So, yeah. 429 00:29:51,760 --> 00:29:55,020 That's from CSI whatever. 430 00:29:56,740 --> 00:29:57,700 CSI whatever. 431 00:29:58,600 --> 00:29:59,380 Oh, yeah. 432 00:29:59,560 --> 00:29:59,680 It's... 433 00:30:01,210 --> 00:30:01,540 Sorry. 434 00:30:02,420 --> 00:30:03,080 Yeah. 435 00:30:03,160 --> 00:30:03,660 Sorry. 436 00:30:05,300 --> 00:30:05,780 Okay. 437 00:30:06,360 --> 00:30:09,600 So, here are my references to the talk that I have. 438 00:30:10,080 --> 00:30:20,220 So, thank you, Google, for the memes for some of the researchers that has POC for the cars. 439 00:30:20,300 --> 00:30:22,520 So, as much as you can see, it's really risky. 440 00:30:24,140 --> 00:30:32,800 Final thoughts on this one is that maybe limit the connectivity and don't just leave your car alone to the one who parks your car. 441 00:30:33,380 --> 00:30:33,780 Yeah. 442 00:30:34,980 --> 00:30:40,780 Maybe there's a vulnerability that allows you to update the firmware and, you know, steal some of the data in your car. 443 00:30:42,980 --> 00:30:44,040 Those are my references. 444 00:30:44,280 --> 00:30:46,100 And that's it. 445 00:30:47,180 --> 00:30:48,380 Just a short talk. 446 00:30:48,560 --> 00:30:51,680 But, you know, if you have any questions, let me know.