My talk is a bit about hacking into clouds, but more into the automotive area. So, my expertise, I come from more hacking into different factories, different suppliers, different areas. I have my, if you can see, my job, I work for a company called Simotive, it's a company owned by Volkswagen, partially. 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. We are also creating and bypassing ECU protections and showing how we can hack into the ECUs and also building different security products. 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. So, about myself, a bit. So, I was playing a lot with robotics in the past. From high school, I won different awards from the FRC, FIRST Robotics Competition, it's a NASA competition, and the Trinity Firefighting Competition. I won the most bugs awarded in a car hacking event, that was last year. And last year, two years ago, I was traveling with my daughter and wife. We were just taking a year off life and traveling Southeast Asia with Switzerland and stuff like that. So, about a bit about what I will talk about and what I won't talk about. 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. So, I did want to expose a few stuff. And what I decided to do, I don't put any names of any of my clients. I don't put any knowledge of what's happening. And they played around a bit with the vulnerabilities in order to not to have a full chain of exploit. So, but first, I think you, anybody here knows about the automotive industry? Like a bit? Okay. So, most don't. 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. So, the first evolution, we are using the key. So, the key in the past, it was like a very low-tech key that is very easy to hack. And what happened is that it became a requirement to have more security and more integration into the key. 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. And we have like now keyless systems and different systems like that. But for this, the automotive industry isn't working by itself. The OEMs are working with different suppliers. So, every supplier, so every technology that we are using, we are using a different supplier. Over here, I saw some Siemens and some Lear and we have Continental and we have Bosch. And we have lots of different ECU suppliers that are going into the car. And this means that we also need to connect to different suppliers and need to connect to everything. But if we are looking in the future, now we are planning putting keys inside our mobile phones. And in order to have keys inside the mobile phones, we have to have a way to download it to the mobile phone. So, we have to have trust anchors with Apple and with Google and with the different like Verizon, the cellular providers. 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. Again, the same thing is happening with gas. So, with gas in the past, like this was from Thailand, I saw lots of gasoline bottles. This was very low tech. You just filled in your vehicle, nothing happened. But then we are going into charging the pumps. So, I have a fuel pump. I want to have Payless like plug-in charge and plug-in fuel devices. So, I have usually they sell some kind of fuel payment IDs that I can pay with. And now in the future, we are also looking at the full electricity charging. 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. So, I'm having all these connections to the different OEMs, to the different suppliers. With diagnostics, the same happened. So, the automotive industry is using lots and lots of diagnostics capabilities. 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. And every garage has diagnostics. Over here, we can see in the past, we have all the diagnostics. But then we went into the new kind. This is the regular garage diagnostics. They connect to an OBD port. Every car has an OBD port usually under the steering wheel. And you can just connect to it and get diagnostic data from the car. But you can also upload data. You can download data from the car. You can do different stuff. And this is the garage that usually have it in order to support and in order to software upgrade. So, these devices are in order to work, they have to be connected to the different to get downloaded data. So, in the middle, you can see it's already connected. It's connected to the internet or through Wi-Fi or through whatever. And it does open me a connection to the car. 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. So, we have all these different connections. And when we are looking in the future, under the future design, we have like diagnostic over IP. And we have different capabilities inside the car that it's always diagnosed. 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. He will open the access and I will be able to send diagnostic messages through the cellular connections. So, in order to bypass all the connecting stuff. And so, this is a bit of a map of how connected the vehicle cloud looks like. So, we are going into a way that everything is starting to be connected more and more. 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. So, there's different capabilities. We have support centers, we have a repair shop connected. So, when someone wants to fix my car. And we have fleet companies that have Uber and Lyft and other types of fleet management so they can manage my fleet. So, everything is starting to be connected. And this is how we are giving access to all of these different players to my car, to my vehicle. And this is a bit scary. And we need to understand what's the meaning of all this. And the other side, we have V2V and V2I and V2X, different communication between vehicles. 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. So, we have a key and we have the mobile phone. It's connected to the TSM enrollment. So, I can enroll a key. I can enroll keys whenever I want. But in order to do this, I have to have a connection between the OEM cloud and the mobile provider. I have third parties also. Because I'm the OEM, I don't do everything by myself. I have third parties like rental platforms and fleet platforms. So, when I rent a car, he will need to give access to the OEM cloud to open the key. 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. Everything is starting to be connected. 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. So, this is a map showing that everything over here is connected and now my mission is to try to hack it. So, about technologies, we have lots of MQTT and AMQP and HTTP requests like REST APIs to the cloud. We have propriety protocols between the key and the car. We have also between the key and the mobile phone. And we have different like VNC, even sometimes through suppliers. We have Citrix. We have just-in-time debugging usually to scatter devices in the production plants. We have SOCKS proxies between the OEM parties so they can access different resources. And this is how stuff works. 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. 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. And this is very bad for me. Because when I... when this will happen, then all the cars will start talking with me. And the only way to go back from this, it's just total recall. So, there's other ways maybe like to send... I know in the Jeep Cherokee, they send the USB keys to people. And you can do different types of recalls. But it's a very hard way. 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. So, I'm a hunter. I like to hack stuff. So, let's start hacking. So, in order to start hacking, I'm a bit searching for clues. So, I like to look at embedded areas. I like to look at applications on the internet and also different automotive resources like NASDF. So, but to start, I usually go to the easiest place for me and the hardest place for the automotive industry. So, if I go to the low-level collection, I go to... I can buy ECU on eBay. I can buy different types of components from the black market or after-sales market. And when I go over there and I find chips and I download the memory, I can download memory from them. 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. 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. And usually it has single static keys for all of the components because it's very hard in production to make different keys. 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. Nobody believed I would be able to get access to this. And this is very interesting. 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. So, I have... I can go to APK Pure or I don't like to go to Google Play Store or iOS. Google is easier because of Java and it's just much more easier to decode stuff. But then I can find different secret keys. And I started doing one app and another app and a third app. And then I decided I want to do them all. So, what I did, I wrote a kind of a lib search. It's a program of mine. I open sourced it. What it does, it downloads all the APKs I want. 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. 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. To these OBD apps, to these fleet management apps, to everything. 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. I found some secrets. So, just by secrets in clear text, I connected to one of them. It was valid. WeChat API is very nice because you have also payment APIs. It's not only chat and you can access different stuff. But I wanted to continue and I wanted to go in further more. So, there's a tool called DNS dumpster. You can also find it just manually subdomains. And I just looked for all the subdomains of different car companies. And I found so many, it's like, I didn't know what to do. So, I can now start scanning them all. Or I can start, like, there's different HTTP requests over here. I can start scanning and finding my endpoints and where do I want to go. So, I can also use Shodan. Shodan is just a scanner of the internet that looks for other stuff. And I'm looking for different stuff. Not even the OEMs, I'm looking for the suppliers themselves. So, if I look for Continental, I can find, like, an FTP of Continental. Usually they host software for the OEMs. Or this is a way that they are giving them software. It's kind of a requirement in vehicles. Vehicle development. So, I'm looking at all of these. But then if I want to go deeper and I want to go to the automotive area. So, I have NASDF. NASDF is they concentrated all the tool set that I want that I can have to access different diagnostics software. 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. But usually it's sometimes it's paywalled. So, sometimes when I want to access some software update, I can download it. So, I can have download updates for the software. But sometimes it just costs me money. So, it's easy. You go to some forums for car hacking forums or some more car repair forums. It's much better. Because these guys were doing it already 20, 30 years. They know all the software. They have the right to repair. So, they just and you can find over lots of software over there that is connecting also to the OEM cloud. And it does also connecting to the vehicle itself. And this is interesting. Because when you extract data from there, you can find different back-end URLs, different access points. I found some stuff. I have a P1 with bug bounty and one of the suppliers just waiting. They didn't fix it. So, I'm waiting for them to fix it in order to properly disclose. But then we have so much information over here that you can download. Just look at the NISTF. You can find lots of back-end endpoints and lots of stuff. What I did, I took a list of all the keywords I could find from these websites. And I just created a dictionary so I can search for interesting data and interesting stuff inside. So, you see like CV tech info and OEM software and OEM repair info. And they see a list of all of the OEMs itself. And I started searching like GitHub and different other areas. And what I love to do is like people don't know usually how to use GitHub. They don't know that when you delete stuff from GitHub, it doesn't get deleted. So, I'm just searching in the comments. I searched in the comments for deleted secret keys and what I want. And then you can find, yeah, he deleted secret keys. He did a push and then he... sorry. But GitHub shows you what was previously. And it shows you very nice in red exactly what was previously, what keys were used. So, you can just connect. I found some different keys. Some worked, some didn't. Some do change it after they understand. They, by mistake, publish the keys. Some don't. But I did find from one of the suppliers that I wanted to target. So, I found like a Terraform configuration. And from this configuration, you can do a lot of stuff. I found the keys and the secrets. And next thing you know after I understood what is Terraform and how do I use it. So, I just ran access keys and I got about full control of about 100 servers in production. So, it's like a production of one type of supplier. So, one supplier, so many servers. We have test servers. We have production servers. We have different stuff over here. And this is a good point I want to go into. And this is my starting point. So, until now, I just like did recon and I found different areas. And I have different areas to go over to get over here. But this is the way place I want to be. I want to be inside some kind of third party. Just not in the OEM cloud. No, not connected into nothing. But just outside. So, it's out of their comfort zone. They don't secure it properly. The OEMs don't have they're not able to secure it because it's not theirs. So, this is a good place to be. And now the game is to start moving and lateral movement from third party to OEM cloud and to other places. So, if I'm looking at the third party and OEM clouds, they're usually working with FTP. And they are moving files from each other. They have different types of vulnerabilities. But what I did find eventually, I found one FTP open. Very basic. It was a dump server. They just dump different configurations, different softwares over there from the third party to the OEM. And after boot forcing a bit, the FTP, I found the name, the username and password was the same name of the supplier. So, 50% of this, it works. The other 50%, you need to add 1, 2, 3, 4, or something else. Instead, sometimes it's a bit more complicated, but usually not much more. And you can just play with it. So, over here, I got FTP access because the FTP was also open with HTTP server. I uploaded a PHP file and got shared access to the other cloud. So, now I have access to the cloud, but it's like an FTP server that's not really connected to nothing. It's not connected to anything. I don't have any connections at all from it. They tried to think what I can do with this. And then I understood there's a monitoring server. So, after playing with the server a lot, I found out that every midnight, there's a monitoring server that connects to my server. And it does the following stuff. 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. So, it's a pretty basic thing. The problem is, how does it log in? So, there are different ways to log in. Usually, I would want everybody to log in with an SSH certificate. But in this case, they logged in with a username and password. So, I ran strace on myself, on my SSH server. I waited until midnight, and I just saw the password. 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. So, fun. And then you can just access different areas over here. 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. Because password policy, they wanted to change it every day. And what do you do when you change the password every day? You do the date. So, the password was name and then the date. So, the next day I came, I tried the next date and it worked. So, I was able to connect to all of these different areas. And I was able to see also that I have a bit of access to the production plant, to different kind of endpoints. And this is a good place I want to be. And now I'm trying to find out what do I want to do. So, I'm inside. I'm inside the network. I want to see. And I'm now trying to find out what targets are interesting inside the automotive area. So, one thing is jump servers. Lots of suppliers use the jump are restricted. In order to restrict them, we use jump servers to let them access our network. The problem with jump servers, they're not clean. They usually even you never stop production. So, you want all the suppliers always to connect to it. So, you never upgrade them. And like basic exploits that you can find over here. There's lots of stuff over here. 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. And the suppliers can do a lot. And they also put some notes and different stuff in the desktop. But then I wanted to continue and go see more. So, I found out a server with lots of printers. And I thought to myself, what is this? Why are there so many printers inside the server? And eventually after investigating and understanding what happened, so, the production plants have a QR code printer. Because when you want to put a part, you want to scan it. So, you scan it and then you know which part to put to the body. So, if you have a door, you want to combine it with the body. You need a blue door with a blue body. You need a red door. So, you scan the part and then you can know exactly what to put it. So, these are the printers that are printing the QR codes for the technicians to know which part they need to put in. And if I'm able to disable one of these printers, then the production line just stops. And because it's a line, then if one station stops, everything behind it stops and we change the whole production line. 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. Like, let's say the screwdriver, the screw, we can put a different screw. What will happen? So, this is like a very interesting area that you can play with. Another area is robotics. I want to go into robotics. So, when I want to go into robotics, I try to find there's lots of robotics in the shop floor. Usually, there's a rule, don't stop production. So, the passwords never change. And so, I just looked in the internet. I can find the different default passwords of the robotics. The fun part over here is that robotics, the passwords usually are embedded into the robotics themselves. So, you cannot change them. If you change them, you stop production. So, it's like a way that it's a different password. Everybody knows it. Nobody can change this. And this is I wanted to target more. I usually go to the development because developers are lazy. They're weak. 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. And this is nice because now I can subscribe to events. I got all the events of the live vehicles when they are running. I also got some I was able to send them commands. I didn't continue and see what commands I can do because they stopped me. But I continued looking and then when you're inside, you're inside. So, you can do whatever you want. I went to the confluence. I went to get a connectivity organization to look who is the targets I want to hack. So, I went over and I went to their desktops. And through the desktops, I went to different areas. And I found different notes. So, but if I want to conclude a bit, so, there's lots of different automotive clouds now coming up, popping up. Everybody is different. There's like Bosch and FCA and Volkswagen and everybody has its own connected services. But it's relying on different suppliers. It's relying on lots of things outside because the OEMs currently are not in a state that they're building themselves stuff. They are outsourcing most of their stuff. And then we see the vehicles are also connecting to outsource data. So, it's mainly in the suppliers. 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? And I would want to say the clients, the OEMs to ask me, how would I go in? And then usually it's from the supplier or through other areas and these areas are out of scope. So, I have problems. 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. I don't want to attack Bosch. I don't want to attack other companies, but I do want to verify that the automotive area, my automotive company is secure. So, there's lots of multi-connectivity. 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. Now, we're going into electric charging. It's a big thing. We need to understand everything over here. So, maybe I can... we had four minutes or so, I think, or three minutes. So, just if you have any questions. Yes? Have you done any research into the application layer of the cloud? Yeah, I've done some stuff, not in Starlink and not in this area, but yeah, we did have access as a user. 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. Yeah. Yes? How long did it take you to do the full entire penetration? Like have a full scenario? So, it depends. We had a case that it was, I think, from nothing to everything, it took us two, three months. But it's also lots of waiting for approval. 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. 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. So, it's always like it's working with the companies, but it can take you, if you don't have these different constraints. Secure it. Yes. So, we are working with a couple of companies, they are using us to secure their infrastructure. It's always a game and to understand when is the best to secure it. 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. And if we do it too late, then we know the problems, but they're already on the road. So, it's always a game of when is the best thing, when is the best time to secure stuff. They were public, they were removed, the moment I told them, they removed everything. Yeah. Yeah. This is usually, there's lots of public GitHub information you can just search. 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. I have like a list of stuff that I'm always looking for sensitive information that was leaked. So, which car do you own? That's the question. I own, no. Was that a picture of it on the slide, the old? He owns a bicycle. No, I own a bicycle. No, I own a regular connected Citroen. I don't hack myself my car. Usually, it's a problem. If you play with your car, sometimes you can break it. It's very easy to break it by mistake. 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. And then what? So, yeah.