1 00:00:00,000 --> 00:00:04,920 So it's my first time talking at DEF CON, so just bear with me. 2 00:00:05,660 --> 00:00:12,280 My talk is a bit about all the supply chain and all the areas around the car. 3 00:00:12,540 --> 00:00:22,500 So I saw lots of talks are talking about the vehicle itself and like how to hack into CAN bus and how to hack into through the different areas. 4 00:00:22,500 --> 00:00:30,700 But my expertise and where I came from is from outside the ecosystem, from the areas beside the car. 5 00:00:30,700 --> 00:00:33,240 So I will talk about this in my talk. 6 00:00:33,860 --> 00:00:35,700 So a bit about me. 7 00:00:37,100 --> 00:00:39,200 So this is me. 8 00:00:39,200 --> 00:00:40,460 I work for Simotive. 9 00:00:40,460 --> 00:00:43,540 It's a company partially owned by Volkswagen. 10 00:00:44,380 --> 00:00:48,480 What I do in my company is we do lots of stuff. 11 00:00:48,480 --> 00:00:50,820 We do lots of end-to-end security testing. 12 00:00:50,980 --> 00:01:04,160 And what I mean is like really end-to-end, like going from the vehicle itself and hacking into a vehicle but also hacking into different IT environments and trying to go through these IT environments towards the vehicle in different ways. 13 00:01:04,160 --> 00:01:07,920 And I will show you part of my, the ways that I do. 14 00:01:07,920 --> 00:01:17,360 But then we also go into the components themselves and we mainly focus on research in order to build security products for the different companies. 15 00:01:17,560 --> 00:01:21,320 So I have here different concepts I built. 16 00:01:21,380 --> 00:01:24,760 Partially I built them, partially the company did. 17 00:01:24,760 --> 00:01:28,340 And it's just, this is what I do in my day job. 18 00:01:29,060 --> 00:01:30,220 More about me. 19 00:01:30,220 --> 00:01:33,700 From the age of 15 I was playing with robotics. 20 00:01:33,700 --> 00:01:43,460 I was winning contests around, if you know the Trinity firefighting contest or the first NASA, there was a NASA competition. 21 00:01:43,680 --> 00:01:50,340 So I was playing around with robotics from very, from when I was very young. 22 00:01:50,540 --> 00:01:53,780 I participated in bug bounties inside car hacking. 23 00:01:53,780 --> 00:01:59,580 Different, we won the most bugs awarded last year in a private car hacking event. 24 00:01:59,840 --> 00:02:02,780 And most important of all, last year I was on vacation. 25 00:02:02,780 --> 00:02:07,620 I took my four-year-old daughter and my wife and just went on one year vacation in Southeast Asia. 26 00:02:07,620 --> 00:02:09,980 So that was very fun. 27 00:02:09,980 --> 00:02:11,260 And I came back. 28 00:02:11,560 --> 00:02:13,120 So it's good. 29 00:02:13,480 --> 00:02:17,300 A bit of a disclaimer about what I can say and I cannot say. 30 00:02:17,300 --> 00:02:26,100 So because I work with all these different companies, I have lots of NDAs and lots of stuff, nothing in my presentation exposes any of my clients. 31 00:02:26,420 --> 00:02:31,380 And I want to really go into technical areas. 32 00:02:31,380 --> 00:02:34,880 And so I didn't put any name dropping of any client or anything. 33 00:02:35,040 --> 00:02:43,560 And this is very important for me to, so you will understand, like I have lots of examples I cannot show you. 34 00:02:43,560 --> 00:02:48,480 So I'm trying to put the examples that I can show you over inside my presentation. 35 00:02:49,000 --> 00:02:53,880 So if we start a bit, we look at different connectivity evolutions. 36 00:02:53,880 --> 00:03:09,720 The vehicle industry is moving from a very unconnected area to a connected area and different fields which are connected in different types of areas. 37 00:03:09,720 --> 00:03:11,160 For instance, the keys. 38 00:03:11,160 --> 00:03:17,120 In the past, we had this very old key that didn't have any digital protection. 39 00:03:17,200 --> 00:03:28,420 We very fast went into getting keys that are digital, that have a mobilizer and have RFID and different types of protection. 40 00:03:28,420 --> 00:03:29,180 They are not good. 41 00:03:29,180 --> 00:03:30,840 You can ask Leonard if he's here. 42 00:03:30,840 --> 00:03:32,580 He hacked most of them. 43 00:03:32,600 --> 00:03:35,520 But then they are getting better and better. 44 00:03:35,620 --> 00:03:39,660 But one thing is we need to remember, we have lots of suppliers working with us. 45 00:03:39,660 --> 00:03:57,560 So each key, this has the production key, the physical key itself is building, but also the digital, like Siemens and Bosch and Conti are creating all these issues that you need to connect with the keys. 46 00:03:57,560 --> 00:04:02,360 And we are getting even more into the connectivity with the iPhone or Android. 47 00:04:02,360 --> 00:04:05,500 So we are trying to move the keys towards the mobile phones. 48 00:04:05,500 --> 00:04:07,520 And this gives us more connectivity issues. 49 00:04:07,520 --> 00:04:14,000 We want to now have a trust with Apple and a trust with Google and a trust with different mobile providers like Verizon. 50 00:04:14,120 --> 00:04:18,920 And we have all of this connectivity going on in the life of the key. 51 00:04:19,360 --> 00:04:22,220 If we look at charging, it's the same happening. 52 00:04:22,480 --> 00:04:24,320 Well, we have the old bottles . 53 00:04:24,320 --> 00:04:29,340 When I was in Thailand, I saw lots of bottles and lots of gasoline bottles. 54 00:04:29,400 --> 00:04:37,180 But then we go to pumps and we also have a plug-in charge and different capabilities of the charging models. 55 00:04:37,480 --> 00:04:44,620 And now today we are having NFC and different charging providers that are not part of the OEM. 56 00:04:44,620 --> 00:04:51,060 They are a different third-party supplier that you pay to them through Apple Pay or through the credit cards. 57 00:04:51,060 --> 00:04:54,780 And then you have all this connectivity together. 58 00:04:55,220 --> 00:04:59,700 Again, in diagnostics, we have the old diagnostics area. 59 00:05:00,320 --> 00:05:02,380 This is old engine diagnostics. 60 00:05:02,380 --> 00:05:04,120 We went into OBD. 61 00:05:04,200 --> 00:05:12,160 OBD diagnostic, the garage and the different service providers want to connect to your car. 62 00:05:12,160 --> 00:05:15,820 But then they have this device and this device is also connected to the internet. 63 00:05:15,820 --> 00:05:22,780 So when it wants to download data, new data, so how can I diagnose my car? 64 00:05:22,780 --> 00:05:25,320 So I connect it through the support. 65 00:05:25,340 --> 00:05:34,280 So the garages have support and it is a new... the right to fix my own car. 66 00:05:34,280 --> 00:05:36,500 So I can download part of the software. 67 00:05:36,540 --> 00:05:38,360 So I'm getting connected over here. 68 00:05:38,420 --> 00:05:42,420 And now in the future, cars are getting into remote diagnostics. 69 00:05:42,420 --> 00:05:44,100 So I have diagnostic OIP. 70 00:05:44,100 --> 00:05:58,360 So when I want to diagnose my car, I just need to have to approve a third-party company or the OEM company in order to get the access to my car that it already has 4G access and is able to diagnose my car automatically. 71 00:05:58,580 --> 00:06:01,220 So this is... we are getting more and more connected. 72 00:06:01,220 --> 00:06:06,100 And we are getting over to a way that we have different types of players inside. 73 00:06:06,120 --> 00:06:13,680 So we have insurance companies and we have content providers that give web apps and different applications, media. 74 00:06:13,680 --> 00:06:14,960 We have the repair shops . 75 00:06:14,960 --> 00:06:18,960 We have fleet companies that have like different fleet management solutions. 76 00:06:19,180 --> 00:06:24,320 And of course, we have the driver and the owner that he wants to connect his phone into the car. 77 00:06:24,520 --> 00:06:27,080 But then we also have the V2X and V2V. 78 00:06:27,080 --> 00:06:30,020 And we have cars talking with cars and the Bluetooth telematics. 79 00:06:30,020 --> 00:06:35,840 And we have this whole mess of connectivity happening in a very short time span. 80 00:06:36,240 --> 00:06:38,000 And this is really interesting for me. 81 00:06:38,520 --> 00:06:49,820 And if I'm looking, I did a very 2D simplified overview of what I see as a connectivity area inside the digital key. 82 00:06:50,240 --> 00:06:52,680 So we have this key and we have the phone. 83 00:06:52,700 --> 00:06:54,540 Like let's say we have digital phone. 84 00:06:54,540 --> 00:06:58,660 But then the phone has access to a TSM enrollment from the mobile chip. 85 00:06:58,660 --> 00:07:03,560 The OEM doesn't own the phone and cannot enroll by itself the key. 86 00:07:03,560 --> 00:07:05,840 So it will have to trust the mobile chip OEMs. 87 00:07:05,840 --> 00:07:08,920 So the mobile chip OEMs are connected to the OEM cloud. 88 00:07:09,220 --> 00:07:13,640 The OEM cloud needs to be monitored and needs to be accessed by the OEM IT. 89 00:07:13,640 --> 00:07:18,460 So there's connections over there through VPN or a few different other areas. 90 00:07:18,500 --> 00:07:21,220 The OEM IT has connections to the production plants. 91 00:07:21,660 --> 00:07:27,090 And we have third parties that most of the OEM companies are now using third party. 92 00:07:27,940 --> 00:07:36,160 I say third party, but sometimes it's just like second tier companies like Bosch or like Lear or like whatever company it is. 93 00:07:36,160 --> 00:07:41,680 But we have also fleet management services and different startups starting to aggregate data. 94 00:07:41,680 --> 00:07:49,980 And we have all of this mesh of access in order inside our companies. 95 00:07:50,240 --> 00:07:54,760 Furthermore we have this production plants and different stuff are like also 3D. 96 00:07:54,760 --> 00:07:56,100 So we have different continents. 97 00:07:56,100 --> 00:07:59,980 We have different continents have different technology. 98 00:08:00,080 --> 00:08:03,400 And it's very hard to secure this ecosystem. 99 00:08:03,400 --> 00:08:07,380 It came very fast and it's very hard to secure it. 100 00:08:07,780 --> 00:08:09,460 So a bit about technologies. 101 00:08:09,460 --> 00:08:16,500 I see that we have lots of MQTT and HTTP connections from the cloud to the OEM cloud. 102 00:08:16,500 --> 00:08:18,180 We have just-in-time connections. 103 00:08:18,180 --> 00:08:19,840 We have SSH connections. 104 00:08:19,860 --> 00:08:23,880 We have REST APIs through the third parties to the OEM chips. 105 00:08:24,160 --> 00:08:27,500 OEM through the mobile OEMs. 106 00:08:27,500 --> 00:08:32,060 But then we have HTTP connections and WebSocket and different propriety connections. 107 00:08:32,060 --> 00:08:33,940 So this is a hacker's paradise. 108 00:08:33,940 --> 00:08:36,740 You can start playing with all of the different stuff. 109 00:08:37,560 --> 00:08:49,180 So one of my thesis and one of my thoughts that I'm looking at is that this is a normal cloud like that talks with all these vehicles. 110 00:08:49,720 --> 00:08:52,820 And now let's say I own the cloud. 111 00:08:53,040 --> 00:08:57,180 And if I can own the cloud I can send over their updates to the different vehicles. 112 00:08:57,360 --> 00:09:05,280 And if I can send over their updates to the different vehicles I can send and create all the vehicles to go into the evil cloud. 113 00:09:05,360 --> 00:09:07,600 This is like my personal doomsday scenario. 114 00:09:07,600 --> 00:09:10,660 I hope that we will never get to that. 115 00:09:10,660 --> 00:09:14,400 Because this is a total recall of all vehicles. 116 00:09:14,400 --> 00:09:17,860 Or I don't know what else we can do. 117 00:09:18,060 --> 00:09:28,980 But if we start to go further so I want to show you how to attack this area and how I play around with stuff. 118 00:09:29,380 --> 00:09:33,780 So first of all I will want to start searching for clues and this is a regular recon. 119 00:09:33,780 --> 00:09:38,300 Like looking in different embedded devices and applications. 120 00:09:38,340 --> 00:09:47,100 The internet and different resources and NISTF on the internet also is a good clue to getting information about automotive area. 121 00:09:47,540 --> 00:09:51,620 So at first what I want to do, I want to attack the cloud. 122 00:09:51,640 --> 00:10:00,660 But in order to attack the cloud and attack everything I want to go to the area that is least probable that nobody will start hacking from it. 123 00:10:00,660 --> 00:10:02,380 And this is low level. 124 00:10:02,400 --> 00:10:13,640 If I get off the chips, I get the passwords and I get different URL and back end end points from the chips after I read them in JTAG and different capabilities. 125 00:10:13,800 --> 00:10:17,780 I can have secret keys and access to the cloud services. 126 00:10:17,780 --> 00:10:28,220 So I would just like get like Amazon URLs, S buckets, S3 buckets, different uh different communication layers that the chip is talking with the OEM. 127 00:10:28,220 --> 00:10:32,580 Or with the third party or with the supplier or with uh whoever I'm targeting. 128 00:10:32,620 --> 00:10:39,840 This is a very basic because nobody has access to it or only you guys have access to it. 129 00:10:39,840 --> 00:10:44,480 Then usually they don't protect these end points. 130 00:10:45,120 --> 00:10:51,860 And this is uh or even if they protect sometimes the secret keys and uh are inside over here inside the chip. 131 00:10:51,860 --> 00:10:52,840 And also HSMs. 132 00:10:52,840 --> 00:10:57,120 You can break the HSM and say different areas and it's fun to look at it. 133 00:10:57,120 --> 00:10:59,740 Other places is like APKs. 134 00:10:59,900 --> 00:11:15,900 So I was starting, I started downloading different APKs and different applications inside like I saw a bus and truck driver or like a E-fleets mobile or different uh different applications that are not connected to the OEM but are connected in some way. 135 00:11:16,400 --> 00:11:21,140 And then I started like looking for different back-end URLs I can start hacking into them. 136 00:11:21,180 --> 00:11:27,080 So what I did eventually I created like uh there's a open source uh library over here, LibSearch. 137 00:11:27,080 --> 00:11:39,720 That what it does, it downloads all of the APKs that I want and it extracts all the metadata, all the resources into it and puts them into Elasticsearch so I can search easily like resources. 138 00:11:39,720 --> 00:11:50,200 It searches over here you can see the like URLs and resources but I also found passwords and secret files and like Twitter APIs and stuff like that inside. 139 00:11:50,200 --> 00:11:52,080 Actually what is interesting is the WeChat. 140 00:11:52,080 --> 00:12:02,920 The WeChat secret actually has API payment capabilities and like you have, it's not only a messaging app, it has much more stuff over there. 141 00:12:03,320 --> 00:12:11,000 So I won't show you everything over here because some are confidential and I cannot talk about them but I found a lot of stuff over here. 142 00:12:11,360 --> 00:12:14,680 Um but more if I'm looking for different endpoints. 143 00:12:15,040 --> 00:12:24,760 So I use DNS dumpster but I also just sometimes run my own list of subdomain searching and I found so much domains of the different companies. 144 00:12:24,860 --> 00:12:38,980 So I didn't try to hack them but you can just, each one of them you can start understanding which languages, programming languages are over here and then understanding what you want to attack. 145 00:12:39,100 --> 00:12:43,180 But not only the endpoints, I would also go to the suppliers themselves. 146 00:12:43,620 --> 00:12:49,580 But this is sometimes you get redirected to different sub-suppliers through these domains. 147 00:12:50,240 --> 00:12:52,680 But using Shodan is also a possibility. 148 00:12:52,840 --> 00:12:55,060 In Shodan I looked for like Autosar. 149 00:12:55,060 --> 00:13:00,560 Autosar is a very, it's a, I don't know how to call it. 150 00:13:00,560 --> 00:13:08,950 It's like a method or compliance for developing stuff. 151 00:13:08,950 --> 00:13:11,530 For developing stuff for ECUs. 152 00:13:11,530 --> 00:13:13,530 So the whole industry uses it. 153 00:13:13,910 --> 00:13:19,270 If there's someone for Autosar here, actually it was pretty nice because I found some passwords of them. 154 00:13:19,570 --> 00:13:34,730 So I can access, I didn't use them but then you can find also Continental and different other, like I saw some scattered devices, some, some devices that was interesting and different IPs and this is another way to go, get in. 155 00:13:34,830 --> 00:13:39,950 But what's most interesting is that you can just ask for all of the sub-domains. 156 00:13:39,950 --> 00:13:54,310 You don't need to go start scanning because NISTF has all of the right to repair components, software components that I want to, in order for me to diagnose my car. 157 00:13:54,310 --> 00:14:06,810 So if I want to diagnose my car and I want to have access to different, I can like Bendix commercial vehicle systems, I can access over there or Aston Martin and it has different softwares I can download. 158 00:14:06,850 --> 00:14:22,530 And with the softwares I, I can uh, find again back-end connectivities because these softwares usually work with a back-end and then if I try to hack into the back-end, I can get more information about all these uh, different areas. 159 00:14:22,990 --> 00:14:28,210 So I was looking inside uh, different uh, ISA software updates. 160 00:14:28,210 --> 00:14:29,450 It's a diagnostic software. 161 00:14:29,450 --> 00:14:30,470 You can buy them. 162 00:14:30,470 --> 00:14:36,870 You can download them at uh, different forums like different uh, hacker forums or uh, diagnostic forums. 163 00:14:36,870 --> 00:14:55,330 There's lots of uh, car forums of uh, like hobby car makers that uh, you can download and uh, illegal uh, tech uh, illegal diagnostic software and in this uh, diagnostic software, you can find lots of back-end endpoints and lots of keys and secrets into different areas. 164 00:14:55,910 --> 00:15:03,290 So, but what eventually I did, I built a big dictionary of lots of words and lots of stuff that are from this different areas. 165 00:15:03,770 --> 00:15:09,610 And I started searching them on the deep web on the, on different open source uh, areas. 166 00:15:10,370 --> 00:15:20,090 So, I don't know how much of you know GitHub, but on GitHub you can, when you delete stuff, you know, you don't really delete them. 167 00:15:20,650 --> 00:15:27,130 So, I like to look and uh, what I like to do usually is I go to GitHub and I look in the comments. 168 00:15:27,190 --> 00:15:31,470 I deleted secret keys and my company, the company target I want to look at. 169 00:15:31,470 --> 00:15:36,770 So I find lots of uh, the commits that they deleted and you can see the change. 170 00:15:36,890 --> 00:15:43,410 You can see the change itself over here that the change request that they deleted the secret keys but they still have them. 171 00:15:43,410 --> 00:15:48,150 And they didn't remove them and they didn't deprecate the keys and it's just over there. 172 00:15:48,150 --> 00:15:53,930 So you can start looking at different stuff and uh, connecting to the back-end services and it's uh, pretty fun. 173 00:15:54,650 --> 00:16:00,230 So I found a Terraform, a Terraform uh, code. 174 00:16:00,230 --> 00:16:03,910 Terraform code is a way to create your own infrastructure. 175 00:16:03,910 --> 00:16:10,390 Inside this Terraform, I found a secret in the sub-ID of one of the clients I was looking for and was targeting. 176 00:16:10,390 --> 00:16:15,190 And uh, this was one of the suppliers I found over here from, from this area. 177 00:16:15,190 --> 00:16:18,790 So it wasn't one of the OEMs, it was a supplier of these OEMs. 178 00:16:19,590 --> 00:16:26,230 So this code gave me eventually access to about 100 servers around inside the supplier. 179 00:16:26,610 --> 00:16:33,690 And at first it was a, this was a test Terraform but this same Terraform gave me access also to production environments. 180 00:16:33,690 --> 00:16:36,130 So I now had production environment access. 181 00:16:36,130 --> 00:16:39,930 I had full root access to different 100 environments. 182 00:16:40,090 --> 00:16:43,510 And this is like a good place that I, I like to be. 183 00:16:43,690 --> 00:16:47,770 So I'm now inside one of the third parties, one of the suppliers. 184 00:16:48,710 --> 00:16:56,170 And uh, and this was one of the diagnostic services inside this specific example. 185 00:16:56,250 --> 00:16:57,510 But I want to go further. 186 00:16:57,510 --> 00:17:00,350 I want to go and hack into the OEM cloud. 187 00:17:00,490 --> 00:17:12,890 Now because the trust, the OEM cloud is very, they trust each other and the, the, this is a technology going back a decade ago, two decades ago. 188 00:17:12,950 --> 00:17:16,250 So eventually I just like found the FTP open. 189 00:17:16,250 --> 00:17:21,690 I scanned, I started scanning the OEM cloud from inside and found FTP open, HTTP open. 190 00:17:21,690 --> 00:17:29,350 And next thing I know I have a shell access on one of the, one of the servers inside the OEM cloud itself. 191 00:17:29,810 --> 00:17:35,630 So inside the OEM cloud I now have access and I'm trying to think of where I should I go. 192 00:17:35,970 --> 00:17:45,930 And this is a real question because I can go start lateral expansion inside the OEM cloud and go start looking at different stuff. 193 00:17:45,930 --> 00:17:51,790 But what I learned from the automotive industry is that you have the monitoring servers. 194 00:17:51,830 --> 00:17:53,810 Like they like to monitor everything. 195 00:17:53,810 --> 00:18:02,990 So what you want to do or what I usually like to do is go after the monitoring servers, the development servers, the different areas. 196 00:18:02,990 --> 00:18:06,890 And this is why I'm focusing on the monitoring server. 197 00:18:07,210 --> 00:18:15,050 So from here what I found out that the server that I hacked into had like, it was a non-critical server. 198 00:18:15,050 --> 00:18:17,230 It wasn't connected to any production areas. 199 00:18:17,230 --> 00:18:19,790 It wasn't connected to any interesting stuff. 200 00:18:19,790 --> 00:18:25,130 But the monitoring server did log in into my server every midnight. 201 00:18:25,290 --> 00:18:35,230 It logged in into my server, it ran some code and then got the result and fetched it back into its monitoring capabilities so they can show the IT what, what's happening. 202 00:18:35,490 --> 00:18:42,670 And this was very interesting because now the question is how does it log in into my server and can I use it some way? 203 00:18:42,830 --> 00:18:47,650 So I replaced my SSH server and I did a strace. 204 00:18:47,650 --> 00:19:01,090 And I found out that every midnight it connects to all of the servers and I have the password of the, of the monitoring server that is connecting to me and is connecting to all other servers beside me. 205 00:19:01,150 --> 00:19:02,950 So this is pretty nice. 206 00:19:02,950 --> 00:19:05,510 This is a, it took me one day. 207 00:19:05,510 --> 00:19:08,710 Actually it was a very fun, interesting area. 208 00:19:08,870 --> 00:19:13,550 This particular area, the password when I tried it the next day was, was wrong. 209 00:19:14,070 --> 00:19:15,610 And why it was wrong? 210 00:19:15,610 --> 00:19:19,470 Because they had a policy on the passwords to change the password every day. 211 00:19:19,610 --> 00:19:22,150 So they put a date as the password. 212 00:19:22,150 --> 00:19:24,770 Like the company name and then the date. 213 00:19:24,770 --> 00:19:31,530 And then every day it was just change the date so I knew exactly what was the password the next day and I got in. 214 00:19:32,010 --> 00:19:37,830 So I have access to lots of different areas over in the IT area. 215 00:19:37,850 --> 00:19:43,170 And I have different access to the OEM and also in the production plant. 216 00:19:43,230 --> 00:19:44,670 A bit. 217 00:19:44,870 --> 00:19:53,610 And this is like I don't, the monitoring server did, when I connected it and I saw it, it did have different like very specific areas. 218 00:19:53,610 --> 00:19:56,110 It also wanted to monitor production. 219 00:19:56,290 --> 00:20:05,430 And this is interesting because you don't want to have the IT area and the cloud area connected to the production but the monitoring server does want to monitor everything. 220 00:20:05,430 --> 00:20:12,610 So if you have one monitoring server that monitors everything that you will behave and you will be able to jump into production a bit. 221 00:20:13,230 --> 00:20:15,590 So now I'm trying to look what I want to do. 222 00:20:15,590 --> 00:20:23,930 So I'm inside the room and I want to like look, I'm looking all around, I'm looking inside the different areas and I'm trying to find what is my targets. 223 00:20:24,010 --> 00:20:28,610 What do I want to do now without I'm inside this automotive area cloud. 224 00:20:29,790 --> 00:20:33,170 So most companies use jump servers. 225 00:20:33,470 --> 00:20:42,190 This is a very secure way to access, to give suppliers access to different things they want. 226 00:20:42,190 --> 00:20:52,010 So when I want to access, when I want to give a supplier access to some web server of mine or other web server, lots of IE. 227 00:20:52,090 --> 00:20:53,590 So it's good. 228 00:20:53,590 --> 00:20:54,650 I like IE. 229 00:20:54,910 --> 00:21:00,450 And when I give them the access, they have access to a terminal server. 230 00:21:00,450 --> 00:21:04,050 But this is not, I don't give them access only to our Internet Explorer. 231 00:21:04,150 --> 00:21:04,990 This is Citrix. 232 00:21:04,990 --> 00:21:08,590 So the first thing I do usually, I try to break out of the Internet Explorer. 233 00:21:08,590 --> 00:21:10,670 I try to break out of the different stuff. 234 00:21:10,730 --> 00:21:12,090 Usually it's pretty easy. 235 00:21:12,090 --> 00:21:17,030 You just go to file open, go to find a command and you open it. 236 00:21:17,030 --> 00:21:18,890 Nowadays it's a bit more harder. 237 00:21:18,990 --> 00:21:23,510 You need to find different or PowerShell tricks or different FTP. 238 00:21:23,510 --> 00:21:24,970 Nobody knows about FTP. 239 00:21:25,110 --> 00:21:28,450 If you go open an FTP console, you press enter. 240 00:21:28,710 --> 00:21:32,090 The exclamation mark runs code. 241 00:21:32,370 --> 00:21:34,010 So you can just like use that. 242 00:21:34,010 --> 00:21:37,490 There's different methods of uh, getting into. 243 00:21:37,490 --> 00:21:41,170 And when you, when you get access to the Citrix server, you can find everything. 244 00:21:41,170 --> 00:21:43,270 All the suppliers are connected over there. 245 00:21:43,270 --> 00:21:50,990 All the different companies go through this jump servers and this like uh, when you own this, you own everything. 246 00:21:52,170 --> 00:22:00,250 But what I found out looking inside my network is I found like a server connecting with lots of lots of different printers. 247 00:22:00,250 --> 00:22:04,890 Like I had 100 printers connected to the server and I asked myself why? 248 00:22:05,090 --> 00:22:09,330 Why should I have a server connected to so many printers? 249 00:22:09,770 --> 00:22:24,030 And after investigating and understanding the reason why, inside the factory, in order to know which part you want to install into the vehicle, you need to print out a barcode or a QR code and they scan it. 250 00:22:24,330 --> 00:22:35,470 So this is the printers that you print out the QR codes and then you scan it and then you know what part you want to take and you put it into the, into the other part. 251 00:22:35,470 --> 00:22:38,010 Like if it's a door, you put it into the chassis. 252 00:22:38,170 --> 00:22:41,030 So what I did, I did a POC. 253 00:22:41,030 --> 00:22:42,150 I did a POC over here. 254 00:22:42,150 --> 00:22:43,910 I printed a different QR code. 255 00:22:43,910 --> 00:22:45,850 This was in another country. 256 00:22:45,850 --> 00:22:51,870 I printed a Pikachu and I showed them how I can, how can install the printer. 257 00:22:52,470 --> 00:22:57,730 What's interesting over here, so if I disable one printer, I basically disable the production line. 258 00:22:57,730 --> 00:22:58,990 The production line will stop working. 259 00:22:58,990 --> 00:23:03,950 If one place and one printer stops working, the whole line will stop. 260 00:23:03,950 --> 00:23:05,350 This is how production line works. 261 00:23:05,350 --> 00:23:06,290 It's a line. 262 00:23:06,550 --> 00:23:09,690 So this is a pretty interesting target. 263 00:23:09,730 --> 00:23:13,910 I also have lots of other targets like web-based targets that I can find. 264 00:23:14,130 --> 00:23:17,330 But I'm looking for robotics and I like robotics. 265 00:23:17,330 --> 00:23:20,170 Robotics, the whole shop floor is full of robotics. 266 00:23:20,390 --> 00:23:24,150 And usually because there's a rule, you do never stop production. 267 00:23:24,730 --> 00:23:28,430 Never do something in production, so you never upgrade production also. 268 00:23:28,430 --> 00:23:30,950 You never do changes. 269 00:23:31,050 --> 00:23:35,610 And for instance, I had some, some robots I wanted to hack. 270 00:23:35,610 --> 00:23:44,810 So I looked up inside the web, different forums and just saw, use this administrative password, this user administrative password. 271 00:23:44,810 --> 00:23:48,830 And the fun thing about this is that they cannot change it. 272 00:23:48,830 --> 00:23:51,750 Because this is hard-coded into the device. 273 00:23:51,870 --> 00:24:00,030 And you will, to give, to send a supplier to change this password, it's almost impossible. 274 00:24:00,030 --> 00:24:03,550 And to change stuff in production, it's also almost impossible. 275 00:24:03,550 --> 00:24:08,810 So for this reason, this is the password of the, and it cannot change. 276 00:24:08,910 --> 00:24:10,950 Maybe some in the future they will change. 277 00:24:10,950 --> 00:24:12,770 Maybe there will be different stuff. 278 00:24:12,770 --> 00:24:18,450 And different robots have different passwords and different back doors, like support back doors. 279 00:24:18,450 --> 00:24:28,830 But even if you cannot find, usually what I do, I find out who installed the robot itself, and which supplier installed it, and try username and password as the supplier name. 280 00:24:29,250 --> 00:24:31,250 It works 50% of the time. 281 00:24:31,310 --> 00:24:33,790 The other 50% you need to add a 1, 2, 3, 4. 282 00:24:34,250 --> 00:24:39,350 So this is, this is an area. 283 00:24:39,350 --> 00:24:41,750 Another area I like is development. 284 00:24:41,950 --> 00:24:46,150 So if I'm inside the office IT area, I want to go to development. 285 00:24:46,290 --> 00:24:49,770 In development, I find different areas about connectivity projects. 286 00:24:49,770 --> 00:24:53,550 Like I was looking around the whole day and found like different areas. 287 00:24:53,550 --> 00:24:56,790 And then private keys. 288 00:24:56,990 --> 00:25:02,990 And this is like a live private key of some kind of update Apple. 289 00:25:02,990 --> 00:25:05,690 Before I told you the key is like a, we are talking about keys. 290 00:25:05,690 --> 00:25:11,070 So this is like a, some kind to update the Apple certificate in order to have access to it. 291 00:25:11,350 --> 00:25:25,570 But then if I continue and I saw like some IoT hub connections going over there and with, together with this key, I found out I got access to lots of different, uh, this was over MQTT. 292 00:25:25,570 --> 00:25:31,490 So I subscribed to this MQTT endpoint and I got lots of different devices coming to me. 293 00:25:31,490 --> 00:25:41,490 So now I'm monitoring all the devices and I'm just like seeing and writing, uh, seeing all the live vehicles that are on the system right now. 294 00:25:41,490 --> 00:25:45,050 And this is not even from production, this is from development areas. 295 00:25:45,050 --> 00:25:52,930 Development areas have weaker passwords, have developers, they don't like security so much, so it's pretty interesting to see. 296 00:25:53,030 --> 00:25:55,590 So I found a connectivity organization a bit. 297 00:25:55,590 --> 00:25:58,930 I found the stuff on the desktops. 298 00:25:59,130 --> 00:26:01,290 Uh, so I'm just like playing around the network now. 299 00:26:01,290 --> 00:26:03,270 I own the network, I have like different stuff. 300 00:26:03,270 --> 00:26:09,690 I have even memorable words and favorite school subjects and the IoT admin and different like, uh, stuff over here. 301 00:26:09,850 --> 00:26:16,290 But in the main thing, like what I'm looking at is that we are getting connected. 302 00:26:16,290 --> 00:26:34,810 All of the different companies, if we're looking at Bosch or over here I put FCA, but all of the different companies over here have connectivity areas and they're becoming connected and they are relying on the suppliers and they're relying on different other third-party vendors to help them build their own ecosystem. 303 00:26:34,810 --> 00:26:36,510 Nobody does it by themselves. 304 00:26:36,510 --> 00:26:51,990 They do it by, oh, Microsoft or, uh, Amazon or Continental or Bosch or Lear or whoever, or the other third, smaller third-party vendors are looking, are helping them connect everything. 305 00:26:52,010 --> 00:26:58,030 And we have all these connections, the insurance companies and the vehicles and everything is becoming connected. 306 00:26:58,170 --> 00:27:04,550 And because of this, this, you need to look at a more general approach and to understand how to secure this stuff. 307 00:27:04,550 --> 00:27:08,750 How, how do we secure this ecosystem that we got into over here? 308 00:27:09,470 --> 00:27:11,990 So a bit about my conclusions over here. 309 00:27:12,350 --> 00:27:17,250 It's important to understand like the whole ecosystem to look at this stuff. 310 00:27:17,250 --> 00:27:23,910 Not usually when a client comes to me and wants me to secure stuff, he wants me to look over just in one place. 311 00:27:23,910 --> 00:27:25,870 I want you to secure this issue. 312 00:27:25,870 --> 00:27:29,530 I want you to secure this backend endpoint. 313 00:27:29,830 --> 00:27:32,110 I tell him I want to decide my own. 314 00:27:32,110 --> 00:27:43,630 I want to start research and understand exactly on my own, out of scope, out of your scope, how to hack into your system because usually the ways to hack into the areas are out of scope. 315 00:27:43,990 --> 00:27:46,510 And this is, I have a lot of problems with bug bounty. 316 00:27:46,510 --> 00:27:47,670 I'm always out of scope. 317 00:27:47,670 --> 00:27:48,810 It's, it's a problem. 318 00:27:48,810 --> 00:27:59,130 That's, but also like how everything is connected and doing security architecture and putting security into areas before SOP. 319 00:27:59,230 --> 00:28:03,870 It's very important going from the beginning and talking together with other suppliers. 320 00:28:03,870 --> 00:28:06,470 And this is like, we just need to work together. 321 00:28:06,470 --> 00:28:15,570 And I know this is a place that has lots of NDAs and lots of competition and lots of areas that the suppliers, the suppliers know more than the OEMs sometimes. 322 00:28:15,570 --> 00:28:20,030 Because they see all the OEMs and the OEM sees only itself. 323 00:28:20,030 --> 00:28:22,270 So sometimes you need to look at the different suppliers. 324 00:28:22,270 --> 00:28:23,590 You need to talk with them. 325 00:28:23,590 --> 00:28:27,190 You need to communicate and to be open in security. 326 00:28:28,250 --> 00:28:33,770 So I don't know how much time we have, but if we have questions. 327 00:28:37,160 --> 00:28:38,840 I cannot hear nothing. 328 00:28:39,460 --> 00:28:42,980 Yeah, there's a microphone or something or I'm just like, I can answer this. 329 00:28:42,980 --> 00:28:53,380 This is actually, I'm, my focus, I came from more pen testing applications and networks and I don't have any knowledge in embedded at all. 330 00:28:53,420 --> 00:28:56,940 So I came to the company and like, I tried to understand how to do it. 331 00:28:56,940 --> 00:29:04,460 So I have from robotics, a bit of embedded knowledge, but then I have knowledge like reverse engineering is something that I just don't have. 332 00:29:04,680 --> 00:29:11,800 And for me now at the age of 35 to learn reverse engineering, it's with a kid and everything, it's almost impossible. 333 00:29:12,240 --> 00:29:15,820 So you need to have different capabilities in the team. 334 00:29:16,040 --> 00:29:20,560 So I have, I have a pet reverse engineer always beside me. 335 00:29:20,600 --> 00:29:24,640 So I can always ask him and I found this interesting area. 336 00:29:24,640 --> 00:29:25,380 Can you help? 337 00:29:25,380 --> 00:29:26,820 Oh, I find, found this binary. 338 00:29:26,820 --> 00:29:27,880 Can you help me? 339 00:29:28,240 --> 00:29:39,780 And this way, when you have, you need to, like, I, I like to know a lot and I like to look from above, but then there's places I cannot go and you have to have like people. 340 00:29:40,000 --> 00:29:45,460 So in this industry, you have to know OT, you know, you need to know a bit of like SCADA. 341 00:29:45,460 --> 00:29:52,200 And when you go into SCADA stuff, this is a different perspective, but you also need to know embedded security. 342 00:29:52,200 --> 00:29:59,380 So for once, sometimes we see an embedded board and the supplier just removed some of the chips. 343 00:29:59,520 --> 00:30:02,820 So we need to guess which chips to put back on. 344 00:30:02,940 --> 00:30:07,300 And to guess which chips to put back on, it's like, I don't have this capability. 345 00:30:07,300 --> 00:30:09,000 So I go to my hardware guys. 346 00:30:09,020 --> 00:30:12,500 And to do reverse engineering, I go to my reverse engineering. 347 00:30:12,760 --> 00:30:20,300 Also for new stuff, like I'm in this world that I came, even from my one year vacation, I came back, everything moved, everything changed. 348 00:30:20,300 --> 00:30:30,820 I have lots of like different SSRF vulnerabilities and different subdomain takeovers and stuff that I, I didn't know when I was, when I was studying this. 349 00:30:30,820 --> 00:30:39,260 So you always need to be on your edge and learn stuff, but also have this team because you will never be able to know everything. 350 00:30:40,760 --> 00:30:41,280 Yeah. 351 00:31:07,380 --> 00:31:11,720 So, so this is like an example from a four day assessment only. 352 00:31:11,720 --> 00:31:22,820 So we were like crazy going to the targets, going in low level, not a shallow level, not, not going deep into stuff, just seeing that we found going on. 353 00:31:22,820 --> 00:31:24,040 And so you don't have time. 354 00:31:24,360 --> 00:31:27,320 And it's a very important thing to understand as an OEM. 355 00:31:27,320 --> 00:31:39,520 So what kind of assessment you want, if you want a one week assessment, but so you will find like lots of shallow stuff, but you will get a feeling of what's interesting for you. 356 00:31:39,640 --> 00:31:42,260 And then you need to deep dive into different areas. 357 00:31:42,260 --> 00:31:49,080 So let's say the barcode, you want to make sure that if somebody hacked into the system, he can't do nothing. 358 00:31:49,080 --> 00:31:56,540 Or you can't have a fraudulent barcode that can hack into the system by some kind of putting a dash or one. 359 00:31:57,380 --> 00:32:02,880 So yeah, I, next time I find it, I'll try. 360 00:32:03,920 --> 00:32:04,980 Yeah. 361 00:32:19,290 --> 00:32:20,290 Over there. 362 00:32:20,790 --> 00:32:22,650 Yeah, of course. 363 00:32:23,250 --> 00:32:24,150 Yep. 364 00:32:27,170 --> 00:32:28,070 Yeah. 365 00:32:28,070 --> 00:32:29,910 I cannot talk about it. 366 00:32:29,910 --> 00:32:33,310 So yeah. 367 00:32:33,310 --> 00:32:34,890 Any, any more questions? 368 00:32:35,510 --> 00:32:36,390 Yeah. 369 00:32:37,690 --> 00:32:41,610 Yes, this is, I'm working with the OEMs directly. 370 00:32:41,610 --> 00:32:43,090 So they're reported. 371 00:32:43,090 --> 00:32:49,070 This is why I didn't put anything that is, I didn't put any names, any clues, any way. 372 00:32:49,070 --> 00:32:51,230 I have so much more I want to tell you. 373 00:32:51,530 --> 00:32:53,790 And this is like a big problem in this industry. 374 00:32:53,790 --> 00:32:56,970 I cannot, um, it's a problem . 375 00:32:56,970 --> 00:32:58,030 I don't know how to solve it. 376 00:32:58,030 --> 00:33:02,130 If someone can help me, or I don't know how to make the research better. 377 00:33:02,190 --> 00:33:09,250 It's, I have vulnerabilities from a different bug bounties I've done in the past for different OEMs. 378 00:33:09,250 --> 00:33:16,030 And I'm already waiting eight months for stuff to, for them to acknowledge it and fix it. 379 00:33:16,030 --> 00:33:20,530 And I'm sure that even there are much more, there are two-year plans and stuff. 380 00:33:20,530 --> 00:33:21,870 And it's basic. 381 00:33:21,870 --> 00:33:26,910 Like if I go to Google and, and give the same thing, they will fix it in two days. 382 00:33:27,370 --> 00:33:35,010 They just have this whole process and it's very hard for them to fix currently because it's not them. 383 00:33:35,010 --> 00:33:37,250 The OEMs don't do the stuff. 384 00:33:37,250 --> 00:33:38,770 They, the suppliers do it. 385 00:33:38,770 --> 00:33:45,230 So if I, if I give the OEM a problem and then LG is, uh, needs to fix it, they need to convince LG. 386 00:33:45,230 --> 00:33:46,690 And then there's a change request. 387 00:33:46,690 --> 00:33:55,990 And if after a change request, you need to convince them why it's security and it's such a long process at the end, it takes you so much time just to fix stuff. 388 00:34:00,220 --> 00:34:00,660 No 389 00:34:08,560 --> 00:34:19,840 , so, no, so I, I don't know there are capabilities, like you can access the servers. 390 00:34:19,840 --> 00:34:23,480 Sometimes the keys and it depends on each company. 391 00:34:23,480 --> 00:34:27,440 I, I don't, I don't want to go into the companies that I know. 392 00:34:27,440 --> 00:34:34,580 So like, I don't know how to answer this, this in a political way. 393 00:34:35,020 --> 00:34:35,940 Yeah. 394 00:34:37,640 --> 00:34:46,340 Any other questions, comments, thoughts of, uh, experiences maybe, what you thought? 395 00:34:46,400 --> 00:34:47,600 Yeah. 396 00:34:54,230 --> 00:34:55,750 Yeah. 397 00:34:56,010 --> 00:34:59,210 So Tesla has a bug bounty program. 398 00:34:59,210 --> 00:35:00,910 And FCA has one. 399 00:35:00,910 --> 00:35:03,370 And I think GM has one. 400 00:35:03,450 --> 00:35:06,370 And who else? 401 00:35:06,370 --> 00:35:07,910 Trying to think. 402 00:35:08,670 --> 00:35:11,010 You guys don't have one yet. 403 00:35:11,310 --> 00:35:14,770 Um, I don't know. 404 00:35:15,130 --> 00:35:19,830 Maybe soon there will be better, but most of the bug bounties are non-disclosure. 405 00:35:19,830 --> 00:35:21,110 And this is too bad. 406 00:35:21,110 --> 00:35:22,610 This is like one problem. 407 00:35:22,610 --> 00:35:27,350 It's, uh, you have this bug bounty, but it's a full non-disclosure bug bounty. 408 00:35:27,350 --> 00:35:31,150 So even after they fix, you cannot say nothing about it. 409 00:35:31,190 --> 00:35:31,850 You cannot. 410 00:35:32,150 --> 00:35:33,670 Yeah, I think so. 411 00:35:33,670 --> 00:35:38,550 It's also, you mentioned China, for instance, China has different servers usually. 412 00:35:38,550 --> 00:35:40,810 Usually there's different requirements. 413 00:35:40,890 --> 00:35:47,730 So when we have like vehicles in China, so they go to different back ends and they behave differently. 414 00:35:47,830 --> 00:35:54,450 So this is a, when they're verifying and looking at security, you don't know, every country is different. 415 00:35:54,470 --> 00:35:58,670 Like China is very different, but also Europe is different than the United States. 416 00:35:58,670 --> 00:36:03,850 So you have different chips over and even different software, different hardware, different back ends. 417 00:36:03,850 --> 00:36:09,850 Everything is like different and, but everything is still connected somewhere in different areas. 418 00:36:09,850 --> 00:36:11,830 So yeah. 419 00:36:15,370 --> 00:36:16,770 Okay. 420 00:36:17,150 --> 00:36:19,660 So thank you everybody for coming.