1 00:00:00,000 --> 00:00:06,330 My talk is a bit about hacking into clouds, but more into the automotive area. 2 00:00:06,840 --> 00:00:13,720 So, my expertise, I come from more hacking into different factories, different suppliers, different areas. 3 00:00:13,760 --> 00:00:23,240 I have my, if you can see, my job, I work for a company called Simotive, it's a company owned by Volkswagen, partially. 4 00:00:23,420 --> 00:00:34,660 And what we do, usually we do lots of end-to-end security testing, breaking into clouds, breaking into different infrastructures of the different OEMs that we are working with. 5 00:00:34,660 --> 00:00:44,060 We are also creating and bypassing ECU protections and showing how we can hack into the ECUs and also building different security products. 6 00:00:44,140 --> 00:00:52,540 So, in the last year, I've been defining and helping with building different security products with my knowledge of how to hack into stuff. 7 00:00:53,240 --> 00:00:55,860 So, about myself, a bit. 8 00:00:55,860 --> 00:01:00,800 So, I was playing a lot with robotics in the past. 9 00:01:01,400 --> 00:01:13,820 From high school, I won different awards from the FRC, FIRST Robotics Competition, it's a NASA competition, and the Trinity Firefighting Competition. 10 00:01:14,120 --> 00:01:18,480 I won the most bugs awarded in a car hacking event, that was last year. 11 00:01:19,780 --> 00:01:24,020 And last year, two years ago, I was traveling with my daughter and wife. 12 00:01:24,020 --> 00:01:30,740 We were just taking a year off life and traveling Southeast Asia with Switzerland and stuff like that. 13 00:01:31,060 --> 00:01:36,120 So, about a bit about what I will talk about and what I won't talk about. 14 00:01:36,180 --> 00:01:45,940 So, because I'm working with all these OEMs and different companies, and they have very strict NDAs and they don't allow me to expose nothing. 15 00:01:46,260 --> 00:01:50,560 So, I did want to expose a few stuff. 16 00:01:50,840 --> 00:01:54,340 And what I decided to do, I don't put any names of any of my clients. 17 00:01:54,340 --> 00:01:57,920 I don't put any knowledge of what's happening. 18 00:01:57,920 --> 00:02:03,700 And they played around a bit with the vulnerabilities in order to not to have a full chain of exploit. 19 00:02:04,720 --> 00:02:10,600 So, but first, I think you, anybody here knows about the automotive industry? 20 00:02:11,160 --> 00:02:12,620 Like a bit? 21 00:02:12,620 --> 00:02:13,200 Okay. 22 00:02:13,200 --> 00:02:14,480 So, most don't. 23 00:02:14,480 --> 00:02:23,600 So, I want a bit to talk about more about what is inside the automotive industry and what changes, what changed in the different evolutions that we're having. 24 00:02:24,140 --> 00:02:27,820 So, the first evolution, we are using the key. 25 00:02:27,920 --> 00:02:34,720 So, the key in the past, it was like a very low-tech key that is very easy to hack. 26 00:02:35,120 --> 00:02:42,520 And what happened is that it became a requirement to have more security and more integration into the key. 27 00:02:42,520 --> 00:02:54,580 And we got this key that has RFID and it has different kind of connections with the systems in order to make sure that nobody can steal a key. 28 00:02:54,660 --> 00:02:58,680 And we have like now keyless systems and different systems like that. 29 00:02:58,680 --> 00:03:02,320 But for this, the automotive industry isn't working by itself. 30 00:03:02,320 --> 00:03:04,860 The OEMs are working with different suppliers. 31 00:03:04,860 --> 00:03:10,680 So, every supplier, so every technology that we are using, we are using a different supplier. 32 00:03:10,680 --> 00:03:15,740 Over here, I saw some Siemens and some Lear and we have Continental and we have Bosch. 33 00:03:15,740 --> 00:03:19,520 And we have lots of different ECU suppliers that are going into the car. 34 00:03:19,620 --> 00:03:24,340 And this means that we also need to connect to different suppliers and need to connect to everything. 35 00:03:24,580 --> 00:03:30,320 But if we are looking in the future, now we are planning putting keys inside our mobile phones. 36 00:03:30,400 --> 00:03:37,280 And in order to have keys inside the mobile phones, we have to have a way to download it to the mobile phone. 37 00:03:37,280 --> 00:03:46,460 So, we have to have trust anchors with Apple and with Google and with the different like Verizon, the cellular providers. 38 00:03:46,460 --> 00:03:59,020 So, we are now getting connectivity not only to the suppliers of the keys of the physical like Siemens and Lear, we are also having connections to the different mobile providers. 39 00:03:59,580 --> 00:04:01,960 Again, the same thing is happening with gas. 40 00:04:02,040 --> 00:04:08,540 So, with gas in the past, like this was from Thailand, I saw lots of gasoline bottles. 41 00:04:08,560 --> 00:04:10,060 This was very low tech. 42 00:04:10,060 --> 00:04:13,140 You just filled in your vehicle, nothing happened. 43 00:04:13,140 --> 00:04:16,120 But then we are going into charging the pumps. 44 00:04:16,260 --> 00:04:18,280 So, I have a fuel pump. 45 00:04:18,280 --> 00:04:25,340 I want to have Payless like plug-in charge and plug-in fuel devices. 46 00:04:25,340 --> 00:04:31,000 So, I have usually they sell some kind of fuel payment IDs that I can pay with. 47 00:04:31,200 --> 00:04:35,740 And now in the future, we are also looking at the full electricity charging. 48 00:04:35,740 --> 00:04:44,460 So, we have connectivity to the different back end, the third party vendors that know how to charge me and know how much power I consumed. 49 00:04:44,480 --> 00:04:48,500 So, I'm having all these connections to the different OEMs, to the different suppliers. 50 00:04:49,960 --> 00:04:52,560 With diagnostics, the same happened. 51 00:04:52,700 --> 00:04:57,720 So, the automotive industry is using lots and lots of diagnostics capabilities. 52 00:04:57,720 --> 00:05:06,900 You always want to make sure that your car is running up and you want to even give access to third parties like the right to repair. 53 00:05:07,040 --> 00:05:10,540 And every garage has diagnostics. 54 00:05:10,540 --> 00:05:14,520 Over here, we can see in the past, we have all the diagnostics. 55 00:05:14,520 --> 00:05:17,180 But then we went into the new kind. 56 00:05:17,180 --> 00:05:20,680 This is the regular garage diagnostics. 57 00:05:20,680 --> 00:05:22,660 They connect to an OBD port. 58 00:05:24,120 --> 00:05:29,600 Every car has an OBD port usually under the steering wheel. 59 00:05:29,640 --> 00:05:32,760 And you can just connect to it and get diagnostic data from the car. 60 00:05:32,760 --> 00:05:34,160 But you can also upload data. 61 00:05:34,160 --> 00:05:35,440 You can download data from the car. 62 00:05:35,440 --> 00:05:37,140 You can do different stuff. 63 00:05:37,280 --> 00:05:41,660 And this is the garage that usually have it in order to support and in order to software upgrade. 64 00:05:42,320 --> 00:05:50,400 So, these devices are in order to work, they have to be connected to the different to get downloaded data. 65 00:05:50,400 --> 00:05:53,240 So, in the middle, you can see it's already connected. 66 00:05:53,260 --> 00:05:56,340 It's connected to the internet or through Wi-Fi or through whatever. 67 00:05:56,400 --> 00:05:59,300 And it does open me a connection to the car. 68 00:05:59,300 --> 00:06:07,920 There's also OBD dongles that the insurance companies give me that they are getting me a direct connection from the internet to the car. 69 00:06:07,920 --> 00:06:10,180 So, we have all these different connections. 70 00:06:10,300 --> 00:06:15,460 And when we are looking in the future, under the future design, we have like diagnostic over IP. 71 00:06:15,540 --> 00:06:20,300 And we have different capabilities inside the car that it's always diagnosed. 72 00:06:20,300 --> 00:06:29,000 So, when I will want to diagnose a car, I will just need to request access from the provider or from the OEM or from the supplier. 73 00:06:29,000 --> 00:06:37,780 He will open the access and I will be able to send diagnostic messages through the cellular connections. 74 00:06:38,240 --> 00:06:42,140 So, in order to bypass all the connecting stuff. 75 00:06:42,140 --> 00:06:50,120 And so, this is a bit of a map of how connected the vehicle cloud looks like. 76 00:06:50,360 --> 00:06:55,200 So, we are going into a way that everything is starting to be connected more and more. 77 00:06:55,200 --> 00:07:19,480 We have media agencies, we have insurance companies, we have content providers that have different applications and different mobile apps and service apps that I want to use even for mapping functionalities, but also for buying stuff and for consuming and making my car a bit more faster for the weekend if I want. 78 00:07:19,480 --> 00:07:21,640 So, there's different capabilities. 79 00:07:21,800 --> 00:07:24,880 We have support centers, we have a repair shop connected. 80 00:07:24,880 --> 00:07:27,820 So, when someone wants to fix my car. 81 00:07:27,840 --> 00:07:36,500 And we have fleet companies that have Uber and Lyft and other types of fleet management so they can manage my fleet. 82 00:07:36,500 --> 00:07:38,300 So, everything is starting to be connected. 83 00:07:38,300 --> 00:07:45,720 And this is how we are giving access to all of these different players to my car, to my vehicle. 84 00:07:45,720 --> 00:07:46,900 And this is a bit scary. 85 00:07:47,240 --> 00:07:50,460 And we need to understand what's the meaning of all this. 86 00:07:50,460 --> 00:07:56,380 And the other side, we have V2V and V2I and V2X, different communication between vehicles. 87 00:07:56,820 --> 00:08:10,100 But what I'm looking at now, I made a simplified view of what I look at what is the car industry and how just inserting a key into a car affects everything over here. 88 00:08:10,100 --> 00:08:15,140 So, we have a key and we have the mobile phone. 89 00:08:15,140 --> 00:08:17,360 It's connected to the TSM enrollment. 90 00:08:17,360 --> 00:08:18,840 So, I can enroll a key. 91 00:08:18,840 --> 00:08:21,480 I can enroll keys whenever I want. 92 00:08:21,480 --> 00:08:27,840 But in order to do this, I have to have a connection between the OEM cloud and the mobile provider. 93 00:08:27,900 --> 00:08:29,920 I have third parties also. 94 00:08:29,920 --> 00:08:33,020 Because I'm the OEM, I don't do everything by myself. 95 00:08:33,100 --> 00:08:35,720 I have third parties like rental platforms and fleet platforms. 96 00:08:35,720 --> 00:08:41,680 So, when I rent a car, he will need to give access to the OEM cloud to open the key. 97 00:08:41,680 --> 00:08:47,860 The OEM cloud will give access to the TSM enrollment, will download a key to my car and then give me access to the key. 98 00:08:47,860 --> 00:08:49,800 Everything is starting to be connected. 99 00:08:50,100 --> 00:08:59,900 But in order for everything to work, we also need connections to the production plants and to the OEM IT and different suppliers that are giving the physical key, the transponders. 100 00:09:00,060 --> 00:09:06,280 So, this is a map showing that everything over here is connected and now my mission is to try to hack it. 101 00:09:07,680 --> 00:09:16,000 So, about technologies, we have lots of MQTT and AMQP and HTTP requests like REST APIs to the cloud. 102 00:09:16,000 --> 00:09:20,280 We have propriety protocols between the key and the car. 103 00:09:20,280 --> 00:09:24,300 We have also between the key and the mobile phone. 104 00:09:24,540 --> 00:09:28,140 And we have different like VNC, even sometimes through suppliers. 105 00:09:28,140 --> 00:09:28,820 We have Citrix. 106 00:09:28,820 --> 00:09:35,740 We have just-in-time debugging usually to scatter devices in the production plants. 107 00:09:35,740 --> 00:09:40,960 We have SOCKS proxies between the OEM parties so they can access different resources. 108 00:09:40,960 --> 00:09:44,620 And this is how stuff works. 109 00:09:46,440 --> 00:09:57,220 But my thesis, I'm looking at if we see this is a way, a very simplified way of the cloud connecting to all of these cars, these vehicles. 110 00:09:57,600 --> 00:10:08,360 And I'm looking at if I would be able to hack into the car and I would send over the updates to the different vehicles, then the next day, I would have something like this. 111 00:10:08,680 --> 00:10:11,200 And this is very bad for me. 112 00:10:11,280 --> 00:10:13,060 Because when I... 113 00:10:15,040 --> 00:10:19,900 when this will happen, then all the cars will start talking with me. 114 00:10:19,900 --> 00:10:23,920 And the only way to go back from this, it's just total recall. 115 00:10:24,000 --> 00:10:33,020 So, there's other ways maybe like to send... I know in the Jeep Cherokee, they send the USB keys to people. 116 00:10:33,780 --> 00:10:36,720 And you can do different types of recalls. 117 00:10:36,720 --> 00:10:39,680 But it's a very hard way. 118 00:10:39,680 --> 00:10:48,880 And because you have... if you will have connection to the cloud itself, you can just impact 10 million cars, 20 million cars, just like that. 119 00:10:49,280 --> 00:10:51,260 So, I'm a hunter. 120 00:10:51,260 --> 00:10:53,300 I like to hack stuff. 121 00:10:53,300 --> 00:10:55,600 So, let's start hacking. 122 00:10:55,760 --> 00:10:59,100 So, in order to start hacking, I'm a bit searching for clues. 123 00:10:59,240 --> 00:11:01,840 So, I like to look at embedded areas. 124 00:11:01,840 --> 00:11:08,040 I like to look at applications on the internet and also different automotive resources like NASDF. 125 00:11:08,760 --> 00:11:17,620 So, but to start, I usually go to the easiest place for me and the hardest place for the automotive industry. 126 00:11:17,900 --> 00:11:23,620 So, if I go to the low-level collection, I go to... I can buy ECU on eBay. 127 00:11:23,620 --> 00:11:31,920 I can buy different types of components from the black market or after-sales market. 128 00:11:31,980 --> 00:11:40,740 And when I go over there and I find chips and I download the memory, I can download memory from them. 129 00:11:40,740 --> 00:11:51,310 And if I'm able to download the memory for JTAG and different kinds of exploits I find, I can find the secrets itself of how is the chip communicating with the backend. 130 00:11:51,990 --> 00:12:02,750 When I will see this, I will find different URLs, different secrets, different types of information because the vehicle is connecting and talking with the backend. 131 00:12:02,750 --> 00:12:10,910 And usually it has single static keys for all of the components because it's very hard in production to make different keys. 132 00:12:11,070 --> 00:12:23,990 And because of this, when I will have access to some kind of memory and get access to the URLs, I find attack points that are not checked, not verified. 133 00:12:24,250 --> 00:12:27,470 Nobody believed I would be able to get access to this. 134 00:12:27,470 --> 00:12:29,230 And this is very interesting. 135 00:12:30,630 --> 00:12:37,290 Furthermore, if I want to go and I don't have the hardware capabilities and I want to go for the net, then I have APK. 136 00:12:37,530 --> 00:12:38,490 So, I have... 137 00:12:38,970 --> 00:12:44,990 I can go to APK Pure or I don't like to go to Google Play Store or iOS. 138 00:12:45,090 --> 00:12:50,210 Google is easier because of Java and it's just much more easier to decode stuff. 139 00:12:50,390 --> 00:12:53,310 But then I can find different secret keys. 140 00:12:53,310 --> 00:12:56,790 And I started doing one app and another app and a third app. 141 00:12:56,790 --> 00:12:59,850 And then I decided I want to do them all. 142 00:13:00,130 --> 00:13:02,910 So, what I did, I wrote a kind of a lib search. 143 00:13:02,910 --> 00:13:04,450 It's a program of mine. 144 00:13:04,450 --> 00:13:05,690 I open sourced it. 145 00:13:05,690 --> 00:13:08,810 What it does, it downloads all the APKs I want. 146 00:13:09,150 --> 00:13:21,310 It downloads everything and it extracts all the resources, all the metadata, all the keys, everything I can find from it and just dumps it into Elasticsearch so I can search it much easier. 147 00:13:22,090 --> 00:13:34,750 And what I did, what I found over there, I found lots of back-end URLs and PHP and ASP and lots of stuff that are connected to these OBD apps. 148 00:13:34,910 --> 00:13:38,690 To these OBD apps, to these fleet management apps, to everything. 149 00:13:38,950 --> 00:13:47,310 And over here, this is a good attack service because, again, it gets you in into a way that usually people don't want you to go in. 150 00:13:47,490 --> 00:13:49,190 I found some secrets. 151 00:13:49,530 --> 00:13:55,710 So, just by secrets in clear text, I connected to one of them. 152 00:13:55,710 --> 00:13:57,170 It was valid. 153 00:13:57,430 --> 00:14:01,190 WeChat API is very nice because you have also payment APIs. 154 00:14:01,190 --> 00:14:04,830 It's not only chat and you can access different stuff. 155 00:14:04,830 --> 00:14:09,130 But I wanted to continue and I wanted to go in further more. 156 00:14:09,130 --> 00:14:12,470 So, there's a tool called DNS dumpster. 157 00:14:12,470 --> 00:14:16,990 You can also find it just manually subdomains. 158 00:14:16,990 --> 00:14:20,350 And I just looked for all the subdomains of different car companies. 159 00:14:20,430 --> 00:14:23,670 And I found so many, it's like, I didn't know what to do. 160 00:14:23,670 --> 00:14:26,010 So, I can now start scanning them all. 161 00:14:26,010 --> 00:14:30,770 Or I can start, like, there's different HTTP requests over here. 162 00:14:30,770 --> 00:14:34,630 I can start scanning and finding my endpoints and where do I want to go. 163 00:14:35,210 --> 00:14:38,010 So, I can also use Shodan. 164 00:14:38,010 --> 00:14:43,550 Shodan is just a scanner of the internet that looks for other stuff. 165 00:14:43,550 --> 00:14:45,170 And I'm looking for different stuff. 166 00:14:45,470 --> 00:14:48,910 Not even the OEMs, I'm looking for the suppliers themselves. 167 00:14:48,910 --> 00:14:52,790 So, if I look for Continental, I can find, like, an FTP of Continental. 168 00:14:52,850 --> 00:14:56,170 Usually they host software for the OEMs. 169 00:14:56,170 --> 00:14:59,270 Or this is a way that they are giving them software. 170 00:15:01,550 --> 00:15:05,750 It's kind of a requirement in vehicles. 171 00:15:06,370 --> 00:15:07,610 Vehicle development. 172 00:15:08,050 --> 00:15:09,490 So, I'm looking at all of these. 173 00:15:09,490 --> 00:15:13,510 But then if I want to go deeper and I want to go to the automotive area. 174 00:15:13,830 --> 00:15:15,310 So, I have NASDF. 175 00:15:15,670 --> 00:15:26,570 NASDF is they concentrated all the tool set that I want that I can have to access different diagnostics software. 176 00:15:26,950 --> 00:15:33,990 So, over here there's a list of all of the OEMs, all of the car companies and all of the software that you can download. 177 00:15:33,990 --> 00:15:37,390 But usually it's sometimes it's paywalled. 178 00:15:37,450 --> 00:15:42,950 So, sometimes when I want to access some software update, I can download it. 179 00:15:42,950 --> 00:15:46,090 So, I can have download updates for the software. 180 00:15:46,090 --> 00:15:48,350 But sometimes it just costs me money. 181 00:15:48,350 --> 00:15:49,670 So, it's easy. 182 00:15:49,670 --> 00:15:56,070 You go to some forums for car hacking forums or some more car repair forums. 183 00:15:56,070 --> 00:15:56,790 It's much better. 184 00:15:56,790 --> 00:15:59,810 Because these guys were doing it already 20, 30 years. 185 00:15:59,810 --> 00:16:01,050 They know all the software. 186 00:16:01,050 --> 00:16:03,950 They have the right to repair. 187 00:16:03,950 --> 00:16:12,110 So, they just and you can find over lots of software over there that is connecting also to the OEM cloud. 188 00:16:12,110 --> 00:16:15,170 And it does also connecting to the vehicle itself. 189 00:16:15,570 --> 00:16:16,290 And this is interesting. 190 00:16:16,290 --> 00:16:20,990 Because when you extract data from there, you can find different back-end URLs, different access points. 191 00:16:21,050 --> 00:16:22,310 I found some stuff. 192 00:16:22,310 --> 00:16:30,050 I have a P1 with bug bounty and one of the suppliers just waiting. 193 00:16:30,050 --> 00:16:31,530 They didn't fix it. 194 00:16:31,530 --> 00:16:35,910 So, I'm waiting for them to fix it in order to properly disclose. 195 00:16:36,190 --> 00:16:41,690 But then we have so much information over here that you can download. 196 00:16:41,690 --> 00:16:43,370 Just look at the NISTF. 197 00:16:43,370 --> 00:16:46,350 You can find lots of back-end endpoints and lots of stuff. 198 00:16:46,350 --> 00:16:55,690 What I did, I took a list of all the keywords I could find from these websites. 199 00:16:55,690 --> 00:17:01,890 And I just created a dictionary so I can search for interesting data and interesting stuff inside. 200 00:17:01,890 --> 00:17:06,530 So, you see like CV tech info and OEM software and OEM repair info. 201 00:17:06,530 --> 00:17:09,670 And they see a list of all of the OEMs itself. 202 00:17:09,670 --> 00:17:14,050 And I started searching like GitHub and different other areas. 203 00:17:14,270 --> 00:17:19,250 And what I love to do is like people don't know usually how to use GitHub. 204 00:17:19,570 --> 00:17:23,810 They don't know that when you delete stuff from GitHub, it doesn't get deleted. 205 00:17:23,950 --> 00:17:27,910 So, I'm just searching in the comments. 206 00:17:27,910 --> 00:17:32,330 I searched in the comments for deleted secret keys and what I want. 207 00:17:33,150 --> 00:17:36,750 And then you can find, yeah, he deleted secret keys. 208 00:17:36,750 --> 00:17:39,870 He did a push and then he... sorry. 209 00:17:39,870 --> 00:17:42,770 But GitHub shows you what was previously. 210 00:17:42,770 --> 00:17:48,670 And it shows you very nice in red exactly what was previously, what keys were used. 211 00:17:48,670 --> 00:17:50,390 So, you can just connect. 212 00:17:50,390 --> 00:17:52,130 I found some different keys. 213 00:17:52,130 --> 00:17:53,310 Some worked, some didn't. 214 00:17:53,310 --> 00:17:55,890 Some do change it after they understand. 215 00:17:55,890 --> 00:17:58,090 They, by mistake, publish the keys. 216 00:17:58,090 --> 00:17:59,550 Some don't. 217 00:17:59,790 --> 00:18:04,170 But I did find from one of the suppliers that I wanted to target. 218 00:18:04,310 --> 00:18:07,730 So, I found like a Terraform configuration. 219 00:18:08,150 --> 00:18:11,630 And from this configuration, you can do a lot of stuff. 220 00:18:11,630 --> 00:18:14,790 I found the keys and the secrets. 221 00:18:15,190 --> 00:18:21,150 And next thing you know after I understood what is Terraform and how do I use it. 222 00:18:21,150 --> 00:18:28,170 So, I just ran access keys and I got about full control of about 100 servers in production. 223 00:18:28,390 --> 00:18:33,130 So, it's like a production of one type of supplier. 224 00:18:33,170 --> 00:18:35,810 So, one supplier, so many servers. 225 00:18:35,810 --> 00:18:36,930 We have test servers. 226 00:18:36,930 --> 00:18:38,170 We have production servers. 227 00:18:38,170 --> 00:18:40,930 We have different stuff over here. 228 00:18:41,350 --> 00:18:43,730 And this is a good point I want to go into. 229 00:18:43,730 --> 00:18:44,930 And this is my starting point. 230 00:18:44,930 --> 00:18:50,250 So, until now, I just like did recon and I found different areas. 231 00:18:50,250 --> 00:18:52,890 And I have different areas to go over to get over here. 232 00:18:52,890 --> 00:18:55,350 But this is the way place I want to be. 233 00:18:55,350 --> 00:18:58,270 I want to be inside some kind of third party. 234 00:18:59,030 --> 00:19:00,550 Just not in the OEM cloud. 235 00:19:00,550 --> 00:19:02,510 No, not connected into nothing. 236 00:19:02,510 --> 00:19:03,830 But just outside. 237 00:19:03,830 --> 00:19:05,430 So, it's out of their comfort zone. 238 00:19:05,430 --> 00:19:07,110 They don't secure it properly. 239 00:19:07,230 --> 00:19:12,330 The OEMs don't have they're not able to secure it because it's not theirs. 240 00:19:12,330 --> 00:19:14,210 So, this is a good place to be. 241 00:19:14,670 --> 00:19:23,210 And now the game is to start moving and lateral movement from third party to OEM cloud and to other places. 242 00:19:23,410 --> 00:19:29,570 So, if I'm looking at the third party and OEM clouds, they're usually working with FTP. 243 00:19:29,670 --> 00:19:31,850 And they are moving files from each other. 244 00:19:31,850 --> 00:19:33,970 They have different types of vulnerabilities. 245 00:19:34,630 --> 00:19:39,310 But what I did find eventually, I found one FTP open. 246 00:19:40,210 --> 00:19:41,350 Very basic. 247 00:19:41,350 --> 00:19:42,350 It was a dump server. 248 00:19:42,350 --> 00:19:48,110 They just dump different configurations, different softwares over there from the third party to the OEM. 249 00:19:48,990 --> 00:19:58,630 And after boot forcing a bit, the FTP, I found the name, the username and password was the same name of the supplier. 250 00:19:59,290 --> 00:20:02,550 So, 50% of this, it works. 251 00:20:02,550 --> 00:20:06,850 The other 50%, you need to add 1, 2, 3, 4, or something else. 252 00:20:07,250 --> 00:20:13,370 Instead, sometimes it's a bit more complicated, but usually not much more. 253 00:20:13,410 --> 00:20:15,130 And you can just play with it. 254 00:20:15,270 --> 00:20:20,150 So, over here, I got FTP access because the FTP was also open with HTTP server. 255 00:20:20,170 --> 00:20:25,570 I uploaded a PHP file and got shared access to the other cloud. 256 00:20:25,570 --> 00:20:32,790 So, now I have access to the cloud, but it's like an FTP server that's not really connected to nothing. 257 00:20:32,790 --> 00:20:34,250 It's not connected to anything. 258 00:20:34,250 --> 00:20:37,530 I don't have any connections at all from it. 259 00:20:37,810 --> 00:20:40,830 They tried to think what I can do with this. 260 00:20:41,130 --> 00:20:44,590 And then I understood there's a monitoring server. 261 00:20:44,590 --> 00:20:54,830 So, after playing with the server a lot, I found out that every midnight, there's a monitoring server that connects to my server. 262 00:20:54,970 --> 00:20:56,950 And it does the following stuff. 263 00:20:56,950 --> 00:21:07,790 It logs in, it runs code, it gets the result of the code, and then uses it in order to show the whole OEM IT what's the status of all the servers. 264 00:21:07,930 --> 00:21:09,430 So, it's a pretty basic thing. 265 00:21:09,430 --> 00:21:12,170 The problem is, how does it log in? 266 00:21:12,170 --> 00:21:14,090 So, there are different ways to log in. 267 00:21:14,110 --> 00:21:18,330 Usually, I would want everybody to log in with an SSH certificate. 268 00:21:18,670 --> 00:21:22,450 But in this case, they logged in with a username and password. 269 00:21:22,750 --> 00:21:27,070 So, I ran strace on myself, on my SSH server. 270 00:21:27,070 --> 00:21:31,350 I waited until midnight, and I just saw the password. 271 00:21:31,670 --> 00:21:42,570 So, after seeing this password, I was just... I looked and I found out I got into the monitoring server, because the monitoring server was also monitoring itself. 272 00:21:42,630 --> 00:21:43,930 So, fun. 273 00:21:43,930 --> 00:21:48,490 And then you can just access different areas over here. 274 00:21:48,490 --> 00:22:04,990 Also, funny, in this specific scenario, the password, I wasn't able to use the password the next day, because the password was changed every day. 275 00:22:04,990 --> 00:22:08,170 Because password policy, they wanted to change it every day. 276 00:22:08,170 --> 00:22:10,410 And what do you do when you change the password every day? 277 00:22:10,470 --> 00:22:12,210 You do the date. 278 00:22:12,510 --> 00:22:16,330 So, the password was name and then the date. 279 00:22:16,330 --> 00:22:20,550 So, the next day I came, I tried the next date and it worked. 280 00:22:20,570 --> 00:22:24,150 So, I was able to connect to all of these different areas. 281 00:22:26,490 --> 00:22:33,790 And I was able to see also that I have a bit of access to the production plant, to different kind of endpoints. 282 00:22:33,790 --> 00:22:35,490 And this is a good place I want to be. 283 00:22:35,510 --> 00:22:38,130 And now I'm trying to find out what do I want to do. 284 00:22:38,130 --> 00:22:39,170 So, I'm inside. 285 00:22:39,170 --> 00:22:40,230 I'm inside the network. 286 00:22:40,230 --> 00:22:41,270 I want to see. 287 00:22:41,490 --> 00:22:47,650 And I'm now trying to find out what targets are interesting inside the automotive area. 288 00:22:47,930 --> 00:22:49,850 So, one thing is jump servers. 289 00:22:50,430 --> 00:22:55,270 Lots of suppliers use the jump are restricted. 290 00:22:55,270 --> 00:22:59,310 In order to restrict them, we use jump servers to let them access our network. 291 00:22:59,310 --> 00:23:01,970 The problem with jump servers, they're not clean. 292 00:23:02,090 --> 00:23:06,510 They usually even you never stop production. 293 00:23:06,510 --> 00:23:09,210 So, you want all the suppliers always to connect to it. 294 00:23:09,210 --> 00:23:10,770 So, you never upgrade them. 295 00:23:10,950 --> 00:23:13,730 And like basic exploits that you can find over here. 296 00:23:13,730 --> 00:23:16,550 There's lots of stuff over here. 297 00:23:16,550 --> 00:23:27,950 And usually it's very easy from a jump server to go out from a Citrix server to go out, get shell access and find out different types of and see what the suppliers can do. 298 00:23:27,950 --> 00:23:29,330 And the suppliers can do a lot. 299 00:23:29,330 --> 00:23:36,790 And they also put some notes and different stuff in the desktop. 300 00:23:37,110 --> 00:23:39,910 But then I wanted to continue and go see more. 301 00:23:39,910 --> 00:23:44,050 So, I found out a server with lots of printers. 302 00:23:44,430 --> 00:23:47,610 And I thought to myself, what is this? 303 00:23:47,610 --> 00:23:50,510 Why are there so many printers inside the server? 304 00:23:50,710 --> 00:23:58,730 And eventually after investigating and understanding what happened, so, the production plants have a QR code printer. 305 00:23:59,670 --> 00:24:03,930 Because when you want to put a part, you want to scan it. 306 00:24:04,030 --> 00:24:07,710 So, you scan it and then you know which part to put to the body. 307 00:24:07,710 --> 00:24:10,370 So, if you have a door, you want to combine it with the body. 308 00:24:10,370 --> 00:24:12,390 You need a blue door with a blue body. 309 00:24:12,390 --> 00:24:13,290 You need a red door. 310 00:24:13,290 --> 00:24:17,230 So, you scan the part and then you can know exactly what to put it. 311 00:24:17,330 --> 00:24:27,650 So, these are the printers that are printing the QR codes for the technicians to know which part they need to put in. 312 00:24:27,910 --> 00:24:32,990 And if I'm able to disable one of these printers, then the production line just stops. 313 00:24:33,150 --> 00:24:40,310 And because it's a line, then if one station stops, everything behind it stops and we change the whole production line. 314 00:24:40,310 --> 00:24:50,690 But then also I can go and I can change the QR code and then maybe put a different part and even they won't know about it. 315 00:24:50,690 --> 00:24:54,130 Like, let's say the screwdriver, the screw, we can put a different screw. 316 00:24:54,130 --> 00:24:55,390 What will happen? 317 00:24:55,430 --> 00:24:59,090 So, this is like a very interesting area that you can play with. 318 00:24:59,290 --> 00:25:00,750 Another area is robotics. 319 00:25:00,750 --> 00:25:02,490 I want to go into robotics. 320 00:25:02,810 --> 00:25:09,090 So, when I want to go into robotics, I try to find there's lots of robotics in the shop floor. 321 00:25:09,770 --> 00:25:12,130 Usually, there's a rule, don't stop production. 322 00:25:12,410 --> 00:25:14,510 So, the passwords never change. 323 00:25:14,510 --> 00:25:17,570 And so, I just looked in the internet. 324 00:25:17,710 --> 00:25:20,910 I can find the different default passwords of the robotics. 325 00:25:21,230 --> 00:25:28,710 The fun part over here is that robotics, the passwords usually are embedded into the robotics themselves. 326 00:25:28,710 --> 00:25:30,110 So, you cannot change them. 327 00:25:30,110 --> 00:25:31,790 If you change them, you stop production. 328 00:25:31,790 --> 00:25:35,250 So, it's like a way that it's a different password. 329 00:25:35,250 --> 00:25:36,610 Everybody knows it. 330 00:25:36,710 --> 00:25:38,170 Nobody can change this. 331 00:25:38,530 --> 00:25:41,470 And this is I wanted to target more. 332 00:25:41,630 --> 00:25:45,070 I usually go to the development because developers are lazy. 333 00:25:45,070 --> 00:25:46,070 They're weak. 334 00:25:46,070 --> 00:26:08,610 They have so, I went to the SVN, connected to the SVN, found a user, went to different areas, found a private key of one of the servers, and then connected to after looking at finding IoT hub connections, I connected to one of the servers, MQTT servers that have access to all of the vehicles. 335 00:26:08,890 --> 00:26:11,810 And this is nice because now I can subscribe to events. 336 00:26:11,810 --> 00:26:15,250 I got all the events of the live vehicles when they are running. 337 00:26:15,250 --> 00:26:19,910 I also got some I was able to send them commands. 338 00:26:19,910 --> 00:26:24,290 I didn't continue and see what commands I can do because they stopped me. 339 00:26:24,770 --> 00:26:28,770 But I continued looking and then when you're inside, you're inside. 340 00:26:28,770 --> 00:26:30,130 So, you can do whatever you want. 341 00:26:30,230 --> 00:26:32,390 I went to the confluence. 342 00:26:32,390 --> 00:26:36,950 I went to get a connectivity organization to look who is the targets I want to hack. 343 00:26:36,950 --> 00:26:39,510 So, I went over and I went to their desktops. 344 00:26:39,610 --> 00:26:42,550 And through the desktops, I went to different areas. 345 00:26:42,850 --> 00:26:45,390 And I found different notes. 346 00:26:46,230 --> 00:26:53,430 So, but if I want to conclude a bit, so, there's lots of different automotive clouds now coming up, popping up. 347 00:26:53,430 --> 00:26:55,010 Everybody is different. 348 00:26:55,010 --> 00:27:01,950 There's like Bosch and FCA and Volkswagen and everybody has its own connected services. 349 00:27:01,950 --> 00:27:05,070 But it's relying on different suppliers. 350 00:27:05,070 --> 00:27:11,670 It's relying on lots of things outside because the OEMs currently are not in a state that they're building themselves stuff. 351 00:27:11,670 --> 00:27:14,670 They are outsourcing most of their stuff. 352 00:27:14,790 --> 00:27:18,410 And then we see the vehicles are also connecting to outsource data. 353 00:27:18,410 --> 00:27:20,710 So, it's mainly in the suppliers. 354 00:27:21,010 --> 00:27:31,850 And you have to know how to attack and to see the whole ecosystem and not only like usually clients come to me, can you attack this server? 355 00:27:31,890 --> 00:27:40,790 And I would want to say the clients, the OEMs to ask me, how would I go in? 356 00:27:40,790 --> 00:27:45,750 And then usually it's from the supplier or through other areas and these areas are out of scope. 357 00:27:45,750 --> 00:27:46,990 So, I have problems. 358 00:27:46,990 --> 00:27:59,950 So, we are working with them and working closely and trying to figure out how the best way to attack this area without breaching, like without getting breaching. 359 00:27:59,950 --> 00:28:01,670 I don't want to attack Bosch. 360 00:28:01,670 --> 00:28:09,550 I don't want to attack other companies, but I do want to verify that the automotive area, my automotive company is secure. 361 00:28:09,550 --> 00:28:11,850 So, there's lots of multi-connectivity. 362 00:28:11,850 --> 00:28:26,070 I need to put in lots of effort into secure architecture from the beginning, understand the connections and usually understand what happens when I want to put in a keyless system, what does it mean, all the connectivity areas. 363 00:28:26,070 --> 00:28:28,010 Now, we're going into electric charging. 364 00:28:28,110 --> 00:28:29,310 It's a big thing. 365 00:28:29,310 --> 00:28:31,350 We need to understand everything over here. 366 00:28:32,930 --> 00:28:38,270 So, maybe I can... we had four minutes or so, I think, or three minutes. 367 00:28:38,270 --> 00:28:40,390 So, just if you have any questions. 368 00:28:41,410 --> 00:28:41,930 Yes? 369 00:28:41,930 --> 00:28:45,270 Have you done any research into the application layer of the cloud? 370 00:28:52,770 --> 00:29:01,330 Yeah, I've done some stuff, not in Starlink and not in this area, but yeah, we did have access as a user. 371 00:29:01,390 --> 00:29:15,970 So, usually, we had a project that we got access to the infotainment system in order to impersonate ourselves as an infotainment system and then access just as a regular user has access to the connected cloud and see what the vehicle can do. 372 00:29:16,590 --> 00:29:17,270 Yeah. 373 00:29:19,830 --> 00:29:20,510 Yes? 374 00:29:20,510 --> 00:29:23,670 How long did it take you to do the full entire penetration? 375 00:29:23,810 --> 00:29:25,550 Like have a full scenario? 376 00:29:25,550 --> 00:29:27,390 So, it depends. 377 00:29:27,950 --> 00:29:36,290 We had a case that it was, I think, from nothing to everything, it took us two, three months. 378 00:29:36,290 --> 00:29:41,010 But it's also lots of waiting for approval. 379 00:29:41,150 --> 00:29:50,710 So, I had access, I got like a shared access to some server, now I have to wait two weeks to wait two weeks to get approval to see how can we continue. 380 00:29:50,790 --> 00:30:03,210 And sometimes, they didn't give us to access the same specific area, they created another server inside the network that I can have access to it and then I continued from there. 381 00:30:03,210 --> 00:30:18,670 So, it's always like it's working with the companies, but it can take you, if you don't have these different constraints. 382 00:30:26,340 --> 00:30:27,460 Secure it. 383 00:30:27,460 --> 00:30:28,220 Yes. 384 00:30:28,220 --> 00:30:34,580 So, we are working with a couple of companies, they are using us to secure their infrastructure. 385 00:30:34,940 --> 00:30:38,720 It's always a game and to understand when is the best to secure it. 386 00:30:38,720 --> 00:30:52,920 If we want to do it pre-SOP, like just before the SOP starts, the SOP startup production, or we want to do it from the start, from a development phase, but then we have more impact, but we don't verify it as much. 387 00:30:53,120 --> 00:30:57,460 And if we do it too late, then we know the problems, but they're already on the road. 388 00:30:57,540 --> 00:31:02,560 So, it's always a game of when is the best thing, when is the best time to secure stuff. 389 00:31:10,590 --> 00:31:16,290 They were public, they were removed, the moment I told them, they removed everything. 390 00:31:16,350 --> 00:31:16,410 Yeah. 391 00:31:17,550 --> 00:31:18,170 Yeah. 392 00:31:18,170 --> 00:31:22,710 This is usually, there's lots of public GitHub information you can just search. 393 00:31:23,350 --> 00:31:34,390 There's lots of ways to search GitHub, but there's also other, also CI environments, CircleCI, you have lots of nice findings over there. 394 00:31:34,710 --> 00:31:40,770 I have like a list of stuff that I'm always looking for sensitive information that was leaked. 395 00:31:42,850 --> 00:31:44,530 So, which car do you own? 396 00:31:45,890 --> 00:31:46,830 That's the question. 397 00:31:47,590 --> 00:31:48,850 I own, no. 398 00:31:48,850 --> 00:31:51,690 Was that a picture of it on the slide, the old? 399 00:31:51,690 --> 00:31:52,590 He owns a bicycle. 400 00:31:52,590 --> 00:31:53,710 No, I own a bicycle. 401 00:31:53,710 --> 00:31:57,430 No, I own a regular connected Citroen. 402 00:31:57,610 --> 00:31:59,690 I don't hack myself my car. 403 00:31:59,710 --> 00:32:01,130 Usually, it's a problem. 404 00:32:02,170 --> 00:32:05,610 If you play with your car, sometimes you can break it. 405 00:32:05,610 --> 00:32:07,450 It's very easy to break it by mistake. 406 00:32:07,450 --> 00:32:15,930 And then you need like, I have a friend of mine, he played with the car and then the gearbox just didn't talk with the car anymore. 407 00:32:15,930 --> 00:32:16,850 And then what? 408 00:32:16,850 --> 00:32:19,290 So, yeah.