1 00:00:08,480 --> 00:00:15,780 Welcome to my talk, Gridlock, the dual-edged sort of EV and solar APIs in grid security. 2 00:00:17,460 --> 00:00:24,360 Fair warning, this talk is PG-17, which means I love saying fuck and shit. 3 00:00:24,920 --> 00:00:29,180 So if you're not comfortable with that, can you please raise your hand? 4 00:00:30,700 --> 00:00:31,900 Everyone's okay with that? 5 00:00:31,900 --> 00:00:32,260 Really? 6 00:00:32,260 --> 00:00:33,460 Thank you for that. 7 00:00:35,340 --> 00:00:48,920 That's me, I'm Vagelis Thikas, I'm the CTO at a penetration testing firm which specializes in green energy, energy renewable and everything else, EV and PV penetration testing. 8 00:00:49,920 --> 00:00:51,360 What? 9 00:00:52,080 --> 00:00:53,360 Okay. 10 00:00:53,400 --> 00:00:59,240 That's me, I'm Vagelis Thikas, I'm the CTO of a penetration testing firm called Atropos. 11 00:00:59,240 --> 00:01:02,200 We're testing mainly EVs and PVs. 12 00:01:02,200 --> 00:01:11,360 My research interest is mainly APIs for IoT and for the past couple of years, malware, ransomware and other things that might get me killed. 13 00:01:11,360 --> 00:01:13,260 But yeah, that's just me. 14 00:01:14,000 --> 00:01:16,700 So this talk is about solar panels. 15 00:01:16,700 --> 00:01:19,740 I'm gonna be honest, I have no idea how they work. 16 00:01:19,740 --> 00:01:22,300 I'm not a solar panel specialist. 17 00:01:22,300 --> 00:01:24,500 I'm an API specialist. 18 00:01:24,500 --> 00:01:26,320 This talk is about APIs. 19 00:01:26,320 --> 00:01:34,120 If you thought that you're going to see any kind of solar shit or, I don't know, firmware things, you're on the wrong talk. 20 00:01:34,120 --> 00:01:35,340 Sorry about that. 21 00:01:35,760 --> 00:01:37,240 Quick intro. 22 00:01:37,300 --> 00:01:39,820 There are two kinds of installations of solar panel. 23 00:01:39,820 --> 00:01:43,920 The one is home panels, which is from one kilowatt to 10 kilowatts. 24 00:01:43,920 --> 00:01:48,460 And then there are plants, which is from 200 kilowatts to 20 megawatts. 25 00:01:48,460 --> 00:01:52,960 The home are usually on roof and they're integrated there. 26 00:01:52,960 --> 00:01:58,480 The plants are maximizing profit and minimizing cost because, yeah, capitalism and shit. 27 00:01:59,720 --> 00:02:03,460 The solar market, it has several big players. 28 00:02:03,460 --> 00:02:05,240 They're mainly Chinese. 29 00:02:05,400 --> 00:02:10,120 Lots, and I mean lots of white label providers that provide generic implementation. 30 00:02:10,120 --> 00:02:13,260 We are going to see that they're really rushing to market. 31 00:02:13,420 --> 00:02:19,780 And they have over 30 million current installations the past week that I checked. 32 00:02:20,800 --> 00:02:29,820 Yeah, you can see that we are moving towards solar panels, so more and more solar panel energy is being used. 33 00:02:32,080 --> 00:02:34,580 Yeah, that's what the solar panel is. 34 00:02:34,580 --> 00:02:43,200 It consists of many cells, blah, blah, blah, things I don't understand, things that if you understand, I'm really happy with you because you're really smart. 35 00:02:45,140 --> 00:02:48,460 But do you know what that is? 36 00:02:49,680 --> 00:02:52,020 So that's Fortnite. 37 00:02:52,020 --> 00:02:55,880 My older son is playing Fortnite and he loves it. 38 00:02:56,340 --> 00:03:03,000 And apparently, everyone who wins him either is a cheater or, I don't know, a hacker. 39 00:03:03,020 --> 00:03:11,320 And once upon a time, there was a guy, Tesla 2004, that kind of kicked his ass. 40 00:03:11,640 --> 00:03:18,420 So we went after him for no apparent reason other than me being petty. 41 00:03:18,500 --> 00:03:20,460 So what's the solar market? 42 00:03:20,460 --> 00:03:23,660 The solar market generates more than a terawatt globally. 43 00:03:23,660 --> 00:03:30,360 A terawatt is a little bit less than what the states, the USA, is consuming every day. 44 00:03:30,440 --> 00:03:35,340 It's cheaper to produce, it has low maintenance, and it can run unsupervised. 45 00:03:35,340 --> 00:03:53,260 But as it is expensive to store, it is easier to throw it to the grid, which, they are just throwing independent stuff that is not there every day. 46 00:03:53,800 --> 00:03:55,860 I'm introducing you to Horus Scenario. 47 00:03:55,860 --> 00:04:05,080 The Horus Scenario was a scenario that was built by a really smart guy that I cannot really pronounce his name because it has too many syllables. 48 00:04:05,080 --> 00:04:06,880 Sorry about that, Marcus. 49 00:04:07,060 --> 00:04:08,160 I'm gonna read it. 50 00:04:08,160 --> 00:04:10,380 It's the only wall of text that I'm going to read. 51 00:04:10,380 --> 00:04:14,160 The power grid needs to maintain a constant balance between supply or power. 52 00:04:14,160 --> 00:04:16,620 Its supply exceeds demands. 53 00:04:16,620 --> 00:04:18,800 There is, however, a limit to these countermeasures. 54 00:04:18,800 --> 00:04:20,840 So they're doing some countermeasures. 55 00:04:20,980 --> 00:04:36,060 We need to maintain balance, but especially in Europe, power grids are in their wind, which means that nations are constantly exporting and importing power to each other, and power grid regulators have made agreements, blah, blah, blah. 56 00:04:36,060 --> 00:04:45,720 What that means is that if you take down Germany, you're probably going to take down France, you're probably going to take down Spain, probably the whole continent. 57 00:04:45,720 --> 00:04:48,950 So yeah, that doesn't sound good to pretty much anyone. 58 00:04:49,400 --> 00:05:08,000 This is a practical solar power supply during the eclipse in Germany and how it was theoretically proven with some math I don't really understand, that if you take down enough solar panels, you are going to take down the power grid for enough time. 59 00:05:08,760 --> 00:05:25,320 Again, mathematical models, I'm a simpleton, I don't understand what they're doing, but it says that at least Germany and France, for as far as I know, cover 35 to 50 percent of its power using only PV installations, which means if you take them down, 60 00:05:25,320 --> 00:05:27,460 they would have huge problems. 61 00:05:27,900 --> 00:05:33,620 Our scenario had several CVs on one inverter, SMA. 62 00:05:33,620 --> 00:05:35,680 They changed them for RCE. 63 00:05:35,680 --> 00:05:40,760 They RCE on those devices and they interfere with the devices to destabilize the grid. 64 00:05:42,300 --> 00:05:48,600 What we are going to see today, we are going to see whole scenario on steroids. 65 00:05:48,720 --> 00:05:55,040 We unfortunately, we're not going to get any CVs because everything is going to be done with APIs. 66 00:05:55,420 --> 00:05:58,680 Cloud doesn't give you any CVs, you know that. 67 00:05:58,680 --> 00:06:00,720 We don't need any physical access. 68 00:06:00,720 --> 00:06:02,240 We don't need to be nearby. 69 00:06:02,240 --> 00:06:06,680 We can be in our beach house in Greece while hacking PVs. 70 00:06:06,680 --> 00:06:09,620 We could brick and muds. 71 00:06:09,860 --> 00:06:17,960 We're inverter agnostic because we are just using the cloud and we're looking at more or less a little bit over 500 gigabit hours. 72 00:06:19,220 --> 00:06:36,140 Quick intro on my tool set, DeerSearch, Burpsuit, ZXD compiler, APK, Lab IO, which unfortunately is no longer working, one small droplet on DigitalOcean, Sudan IO, so that I could find more people, and basic web application penetration testing. 73 00:06:37,740 --> 00:06:41,640 Steps that I was doing, I followed. 74 00:06:41,760 --> 00:06:44,260 I tried to find the demo account. 75 00:06:44,460 --> 00:06:50,880 If I couldn't find the demo account at the register a new account, I would find obvious, and I mean really obvious, web issues. 76 00:06:50,880 --> 00:07:02,100 I try to control devices by exploiting those obvious issues, and I would really want to hack Tesla 2004 because he kicked my son's fortnight. 77 00:07:03,020 --> 00:07:13,580 My results, Solarman, Sunsync, Solax, Growad, Ingecom, Foxes, everyone, platform admin, Solarman, I couldn't upgrade the firmware. 78 00:07:13,580 --> 00:07:20,940 The other thing is, I don't know who of you are a researcher in here, but you're going to get a lot of those ads. 79 00:07:20,940 --> 00:07:25,120 So if you are researching for PVs, you're going to get a lot of PV ads. 80 00:07:25,120 --> 00:07:33,920 If you are researching for, I don't know, sex toys, you're going to get a lot of ads for sex toys, and this goes to all your house, so yeah, not a great thing. 81 00:07:35,380 --> 00:07:38,680 The disclosure was a train wreck. 82 00:07:38,820 --> 00:07:43,460 I have been trying for the past three and a half years to disclose. 83 00:07:43,460 --> 00:07:48,400 Only one and a half vendors responded and acted on the disclosure. 84 00:07:48,400 --> 00:07:51,880 The disclosure had everything that they needed to do. 85 00:07:51,920 --> 00:07:55,160 I tried really, really hard to get any reaction. 86 00:07:55,160 --> 00:07:58,440 I emailed, I tweeted, I called them on their phone. 87 00:07:58,440 --> 00:08:04,240 I couldn't do anything else other than drive there and talk to them, but that's not feasible, I guess. 88 00:08:05,380 --> 00:08:06,040 Okay. 89 00:08:07,060 --> 00:08:08,380 The responses. 90 00:08:08,420 --> 00:08:10,560 Solarman fixed in five days. 91 00:08:10,560 --> 00:08:12,480 Sunsync responded after three years. 92 00:08:12,480 --> 00:08:13,920 It's no longer no response. 93 00:08:13,920 --> 00:08:17,820 After my OWASP talk, they did respond and try to fix it. 94 00:08:17,820 --> 00:08:19,620 Solax auto-responded. 95 00:08:19,620 --> 00:08:23,120 They responded to Twitter DMs and then they went well. 96 00:08:23,320 --> 00:08:30,700 Growad asked me where I'm from, because that makes sense, and Ingecom didn't do anything. 97 00:08:32,140 --> 00:08:34,280 So I know you're here for the zero days. 98 00:08:34,300 --> 00:08:42,460 I'm not legally allowed to release the zero days, but I can talk about them, and if you have common sense, you can find pretty much everything. 99 00:08:43,600 --> 00:08:44,700 What's the plan? 100 00:08:44,700 --> 00:08:46,860 I really want them to fix it, really. 101 00:08:46,860 --> 00:08:49,180 I just want to act on it and fix it. 102 00:08:49,480 --> 00:09:03,560 I want to prove that you can control gigawatts of power effectively, destabilizing country power grids, help avoiding global outages, and, I don't know, make the whole world a safer place, I guess. 103 00:09:04,680 --> 00:09:06,000 What did I find? 104 00:09:06,000 --> 00:09:14,340 EIDR, RCE, broken authentication, broken authorization, EIDR, EIDR, EIDR. 105 00:09:15,840 --> 00:09:17,660 What did I get? 106 00:09:17,700 --> 00:09:31,410 Lots, and I mean lots, I mean couple of million, couple of tens of million of personal data, access to administrative accounts and panel, ways to manipulate and break panels, access to internal networks. 107 00:09:33,400 --> 00:09:38,560 You can see how many gigawatts you could control from their panels. 108 00:09:38,560 --> 00:09:39,900 I'm not going to list them. 109 00:09:40,960 --> 00:09:55,780 And yeah, I know there are more clouds, but yeah, I couldn't hack some of them, and also my wife didn't allow me to buy any more inverters because, I don't know, reasons. 110 00:09:57,540 --> 00:09:58,660 Solarman. 111 00:10:00,280 --> 00:10:02,160 Pretty huge player. 112 00:10:02,160 --> 00:10:04,680 EIDR on the user ad functionality. 113 00:10:04,760 --> 00:10:07,620 I could add a user with any privilege on any group. 114 00:10:07,620 --> 00:10:15,620 Groups and organizations were consecutive integers, which means I could pretty much add the user to every group with admin privileges. 115 00:10:16,440 --> 00:10:17,640 What did I get? 116 00:10:17,640 --> 00:10:21,100 Full functionality, potential GDPR violation. 117 00:10:21,100 --> 00:10:30,980 I love that I should say potential because I didn't get it, but this was GDPR violation with lacking user and company data, information on plants and power generated. 118 00:10:31,600 --> 00:10:33,620 Really good response. 119 00:10:33,620 --> 00:10:35,040 They fixed it in five days. 120 00:10:35,040 --> 00:10:39,220 They chased for verification, so all in all, good for them. 121 00:10:39,780 --> 00:10:43,800 Sunsync is probably one of the biggest players. 122 00:10:43,800 --> 00:10:53,800 You don't know them because they're white label, so yeah, you might, if you have FPV, you might have this back-end, but with another label in front. 123 00:10:53,940 --> 00:11:03,660 And their issues were, there was missing the whole point of authorization altogether. 124 00:11:05,040 --> 00:11:12,620 If you're taking pictures, take that picture because you're gonna see that slide a lot for a lot of platforms. 125 00:11:12,620 --> 00:11:14,220 Full functionality of the application. 126 00:11:14,220 --> 00:11:19,440 Again, potential GDPR violation because we're not violating the GDPR. 127 00:11:19,440 --> 00:11:26,000 Information on plants, interact with the plants, firmware update, because who doesn't want a firmware update on everyone? 128 00:11:26,020 --> 00:11:28,580 Backdoor to the network, platform admin. 129 00:11:29,860 --> 00:11:31,960 That's all the gateways. 130 00:11:31,960 --> 00:11:38,700 You can see we're looking at half a million gateways, and that's all the firmwares. 131 00:11:38,700 --> 00:11:44,640 So you could just upload the firmware and do whatever you want with that. 132 00:11:44,700 --> 00:11:45,860 The disclosure. 133 00:11:48,320 --> 00:12:00,440 But I want to say that after my OWASP talk, their CISO reached out, and he was pretty furious that my emails, phones, and everything else didn't reach to him. 134 00:12:00,440 --> 00:12:02,000 He was pretty cool. 135 00:12:02,140 --> 00:12:04,060 They said they fixed it. 136 00:12:05,200 --> 00:12:06,860 They did not. 137 00:12:07,720 --> 00:12:13,040 I reached out last week and told them that I'm gonna say that, and he said no, we fixed them. 138 00:12:13,040 --> 00:12:17,080 So yeah, you do what you want with that information. 139 00:12:17,640 --> 00:12:22,500 Grobat is probably the biggest, and I mean the biggest player in there. 140 00:12:25,580 --> 00:12:27,780 I wasn't allowed to buy a Grobat 141 00:12:30,860 --> 00:12:38,280 device because it was like 5k, and my wife told me that you're not allowed to spend 5k for personal research. 142 00:12:38,520 --> 00:12:44,180 So I had to google some serials, and then me being me, I'm doing that. 143 00:12:44,180 --> 00:12:44,820 I don't need it. 144 00:12:44,820 --> 00:12:45,360 I don't need it. 145 00:12:45,360 --> 00:12:53,880 I find some broken one for 200 euros, so I bought it, and then I had full functionality on everything. 146 00:12:53,880 --> 00:12:55,320 What was the vulnerability? 147 00:12:56,000 --> 00:12:56,940 I don't know. 148 00:12:56,940 --> 00:12:58,060 Pretty much everything. 149 00:12:58,060 --> 00:12:59,280 They didn't check anything. 150 00:12:59,280 --> 00:13:11,820 So full functionality of the application, potential GDPR violation, interact with the plans, firmware update on gateway, back to the network, platform admin, all in all, you know, terrible shit. 151 00:13:11,940 --> 00:13:15,780 How did the disclosure go? 152 00:13:15,780 --> 00:13:20,080 Dear customer, due to the spring festive holidays, we can't reply in time. 153 00:13:20,080 --> 00:13:21,600 Thanks for your understanding. 154 00:13:21,600 --> 00:13:28,520 That was January 26th of 2022. 155 00:13:29,500 --> 00:13:34,940 They do have a lot of spring festive holidays in China, I guess. 156 00:13:36,000 --> 00:13:39,440 Would you please advise which country you are from? 157 00:13:39,440 --> 00:13:40,860 Because it makes sense. 158 00:13:40,860 --> 00:13:42,460 If I'm from Greece, they shouldn't fix it. 159 00:13:42,460 --> 00:13:48,960 But if I'm from, I don't know, the States, and then, while I was researching, I also found that. 160 00:13:49,660 --> 00:14:00,780 Three years later, Growbot vulnerability disclosure policy, Growbot takes product security very seriously and is committed to protecting our users and their data. 161 00:14:01,220 --> 00:14:02,220 You know what? 162 00:14:02,220 --> 00:14:03,900 Fuck off Growbot. 163 00:14:03,900 --> 00:14:08,240 Grow a pair, respond to the disclosure emails, and do something. 164 00:14:08,240 --> 00:14:09,680 They're the same thing. 165 00:14:09,680 --> 00:14:11,240 They didn't respond. 166 00:14:11,320 --> 00:14:13,940 They can go do a thing, I don't know. 167 00:14:14,740 --> 00:14:24,460 Solux is the fifth bigger or fourth there in the fifth, one of the five biggest providers in there. 168 00:14:24,800 --> 00:14:27,560 They were pretty good, and I mean pretty good. 169 00:14:29,040 --> 00:14:34,760 They had only one either, but that either was really, really good. 170 00:14:34,760 --> 00:14:42,780 So, when you were editing your user, you were also passing your user level. 171 00:14:43,320 --> 00:14:54,560 So, when you see user level user, you usually end up writing, I don't know, user level administrator, user level super administrator, or user level root. 172 00:14:54,560 --> 00:14:57,080 So, remember that slide? 173 00:14:57,920 --> 00:15:07,320 Full functionality, potential GDPR violation, information, interact with the plans, firmware update, backdoor to the network, platform admin. 174 00:15:07,320 --> 00:15:09,420 You're going to see it a little bit more. 175 00:15:09,420 --> 00:15:10,140 Sorry about that. 176 00:15:10,140 --> 00:15:12,140 Sorry for repeating, but they're all shit. 177 00:15:13,600 --> 00:15:19,000 Yeah, that's 21,000 pages of installations. 178 00:15:19,020 --> 00:15:20,760 You can do the multiplication. 179 00:15:20,800 --> 00:15:23,700 That's a lot, and I mean a lot of devices. 180 00:15:26,060 --> 00:15:34,180 That's some EV chargers that they're still not there, but you can see the demo in there because I'm admin, as I said. 181 00:15:35,520 --> 00:15:38,580 Thank you for conducting Solux cloud support. 182 00:15:38,580 --> 00:15:44,960 We are extremely busy at the moment, and that moment has taken them three years. 183 00:15:45,780 --> 00:15:47,220 They're going to respond to me. 184 00:15:47,220 --> 00:15:49,560 Then I was starting calling. 185 00:15:49,560 --> 00:15:51,340 They didn't answer my calls. 186 00:15:51,360 --> 00:16:01,580 Finally, I just tweeted because it's Twitter, no text, fuck Elon Musk, and I just tweeted, can someone tell me what I should do with Solux? 187 00:16:01,580 --> 00:16:04,720 Then they said that, so is there a problem with that? 188 00:16:04,720 --> 00:16:07,120 Can you tell us what the issue is? 189 00:16:07,120 --> 00:16:10,660 I told them, yeah, I sent an email to that, that, that, that, and that. 190 00:16:10,880 --> 00:16:12,240 Let me check. 191 00:16:12,240 --> 00:16:13,660 That was their answer. 192 00:16:13,660 --> 00:16:17,760 If you can see, I don't know if it's possible, that's 2023. 193 00:16:18,140 --> 00:16:22,160 So they're either checking really hard or they're just ignoring me. 194 00:16:22,620 --> 00:16:24,600 Again, Solux, not cool. 195 00:16:25,400 --> 00:16:32,140 In Gecko, there are small lists, just 30,000 or 40,000 installations. 196 00:16:33,460 --> 00:16:37,720 They're based in Spain or Italy, I don't remember, sorry about that. 197 00:16:37,780 --> 00:16:41,220 They were missing the basic concept of authorization. 198 00:16:41,280 --> 00:16:51,720 All IDs were consecutive integers, and again, full functionality, potential GDPR, interact with the plans, firmware update, backdoor, platform admin. 199 00:16:51,720 --> 00:16:55,000 Sorry for repeating myself, but they're shit. 200 00:16:56,280 --> 00:17:03,920 You can see that we can also see the RAM, the storage, and there is a really, really small button at the top. 201 00:17:03,920 --> 00:17:04,640 Can you see it? 202 00:17:04,640 --> 00:17:06,620 It says sell. 203 00:17:06,940 --> 00:17:12,680 So you can just click on there and get a sale on each device. 204 00:17:14,180 --> 00:17:32,240 Again, you can also do, I don't know, reports, stop it, and you could also disable all their protections, which means that if you were someone who wants to do harm, you could make that thing be on fire. 205 00:17:32,240 --> 00:17:36,800 You could literally burn shit up remotely. 206 00:17:37,980 --> 00:17:41,620 Does anyone want to guess how the disclosure went? 207 00:17:49,130 --> 00:17:53,770 I called them and they just dropped the phone on me. 208 00:17:53,770 --> 00:17:59,810 When I said I want to do a vulnerability disclosure, I just heard the toot, toot, toot. 209 00:18:00,570 --> 00:18:02,890 They could also say fuck you, but okay. 210 00:18:03,630 --> 00:18:05,530 Foxes is the last one. 211 00:18:05,530 --> 00:18:17,410 These have only been around my disclosure for six months, so yeah, it's way above my 90 days, but yeah, still not good. 212 00:18:17,590 --> 00:18:19,510 They were pretty good, too. 213 00:18:19,510 --> 00:18:21,790 They had only one issue. 214 00:18:24,370 --> 00:18:37,210 Their password reset was not that good, so they had, I don't know, most of the Chinese companies nowadays have a password reset that says we send you a four-digit PIN. 215 00:18:37,210 --> 00:18:48,790 That PIN was brute forcible and the user ID was consecutive integers, which means you could pretty much reset everyone's password with a Python script with for loop. 216 00:18:49,690 --> 00:18:52,310 Same thing, sorry about that. 217 00:18:52,310 --> 00:19:00,530 Full functionality, Yada, Indirect, firmware update, backdoor to the network, platform admin, you name it, they have it. 218 00:19:00,850 --> 00:19:04,190 Again, anyone want to guess the disclosure? 219 00:19:10,980 --> 00:19:15,360 So enough with the photovoltaic, let's go to EV chargers. 220 00:19:18,700 --> 00:19:27,000 Just a reminder, we are not after the power grid, we're after a guy who is named Tesla 2004. 221 00:19:27,000 --> 00:19:35,980 He probably doesn't own a panel, but he or his mom has a Tesla, so let's go after some EV chargers, right? 222 00:19:38,160 --> 00:19:48,640 Project EV, 2000 installation in the UK, Growat based again, Department of Transport approved, that's in the UK, Growat and Shenzhen are China-based companies. 223 00:19:50,620 --> 00:19:56,600 Can you see the issue in this request? 224 00:19:56,680 --> 00:19:57,480 Anyone? 225 00:19:59,100 --> 00:20:00,660 No, it's not an either. 226 00:20:00,660 --> 00:20:02,960 You would wish it was an either. 227 00:20:03,900 --> 00:20:07,020 There is no authentication at all. 228 00:20:07,120 --> 00:20:22,040 So you were authenticating on the application, you were saying, yeah, I'm demo with a demo password, and then all the other requests didn't have any kind of authentication, any kind of JWT or cookies, they were just doing, yeah, he said he was that, let's go with our lives. 229 00:20:22,040 --> 00:20:33,000 Fully lacking authentication, check for a valid combination, only once on login, charger IDs were consecutive numbers, so it could be easily, and I mean really easily brute-forced. 230 00:20:34,940 --> 00:20:35,860 Yeah. 231 00:20:35,920 --> 00:20:41,820 Full functionality, lock and lock, remote, backdoor, brick all the devices, platform admin. 232 00:20:42,880 --> 00:20:43,600 Disclosure. 233 00:20:43,600 --> 00:20:45,840 Oh, my lovely disclosure. 234 00:20:46,760 --> 00:20:53,520 Did not respond for weeks, only responded when I had to reach out to BBC, eventually fixed after a failed first attempt. 235 00:20:53,520 --> 00:20:58,960 You really don't want to have to resend the message and say, yeah, you know that fix? 236 00:20:58,960 --> 00:21:01,620 That's not actually a fix, so you have to try harder. 237 00:21:01,760 --> 00:21:06,100 They have a stateless login, or whatever the fuck that means. 238 00:21:07,160 --> 00:21:09,680 I'm not going to test it anymore. 239 00:21:09,680 --> 00:21:13,860 Also, do you remember the robot PV? 240 00:21:13,860 --> 00:21:17,160 They have the same thing, they just fixed it for the EV. 241 00:21:17,340 --> 00:21:18,700 I don't know why. 242 00:21:22,200 --> 00:21:29,700 I don't know. 243 00:21:29,700 --> 00:21:31,320 They're based in Amsterdam. 244 00:21:31,400 --> 00:21:35,780 They were really, really, really good. 245 00:21:35,780 --> 00:21:38,040 They had a pretty solid API. 246 00:21:40,420 --> 00:21:41,520 Want to guess? 247 00:21:41,520 --> 00:21:42,740 Let's play a guess game. 248 00:21:42,740 --> 00:21:44,220 What's the issue in here? 249 00:21:46,080 --> 00:21:47,220 No one? 250 00:21:47,600 --> 00:21:48,620 Come on. 251 00:21:52,500 --> 00:21:57,560 It says when you update your user, you are also passing your role. 252 00:21:57,660 --> 00:21:59,400 Why would I pass my role? 253 00:21:59,400 --> 00:22:07,320 So let's try admin, account owner, and then admin, because I also want the fucking server. 254 00:22:07,320 --> 00:22:15,860 I just don't want only the EV chargers, which means I had access to pretty much everything. 255 00:22:15,880 --> 00:22:24,840 Total compromise of everything, potential GDPR violation, full admin functionality, which means I could give money, I could charge back, I could do financial shit. 256 00:22:25,020 --> 00:22:28,040 It was really, really bad. 257 00:22:28,040 --> 00:22:31,300 But responded in just two hours. 258 00:22:31,300 --> 00:22:35,180 They fixed it in 24 hours, double-checked that everything was fixed. 259 00:22:35,180 --> 00:22:36,440 Excellent response. 260 00:22:36,440 --> 00:22:39,780 I'm happy when I see this kind of responses. 261 00:22:41,520 --> 00:22:43,600 Oh, my lovely wallbox. 262 00:22:43,600 --> 00:22:47,920 I don't know how many of you are familiar with EVs. 263 00:22:48,120 --> 00:22:53,900 I personally got that banned in the UK, so they probably hate me. 264 00:22:54,220 --> 00:23:02,380 So 200,000 users, they're based in Barcelona, merged with Kensington, and their aim to raise 300 million USD. 265 00:23:02,680 --> 00:23:05,220 Probably not because they're banned now. 266 00:23:06,220 --> 00:23:10,940 I had a second-level IDOR, anything in the request body was not validated. 267 00:23:11,220 --> 00:23:22,240 I had found four different instances on this in the API, which means I found something, they fixed it, then I went to something else and said, fix that too. 268 00:23:22,340 --> 00:23:25,860 And then I said, I'm not doing a free penetration test for you. 269 00:23:25,860 --> 00:23:26,820 Fix your shit. 270 00:23:26,820 --> 00:23:30,200 Check your proper authentication. 271 00:23:30,780 --> 00:23:33,000 Total control over all chargers. 272 00:23:33,000 --> 00:23:34,140 Lock and lock. 273 00:23:34,200 --> 00:23:36,500 No way to update firmware. 274 00:23:36,500 --> 00:23:38,560 Potential GDPR violation. 275 00:23:38,580 --> 00:23:40,620 Unfortunately, no platform admin. 276 00:23:40,720 --> 00:23:44,720 They responded the next day. 277 00:23:44,720 --> 00:23:46,560 They fixed it in a couple of days. 278 00:23:46,560 --> 00:23:49,180 They re-engaged after a month. 279 00:23:49,180 --> 00:23:50,760 Found the second issue. 280 00:23:50,920 --> 00:23:53,600 They fixed it in a couple of days again. 281 00:23:53,600 --> 00:24:04,820 Then they wanted to engage to provide the site of their new hardware platform, which meant I had to sign an NDA and not talk about it, which, no thanks. 282 00:24:04,820 --> 00:24:06,800 I don't do NDAs. 283 00:24:07,120 --> 00:24:14,200 And then, as I said, charger pulled amid warnings, hackers could attack national grid. 284 00:24:14,200 --> 00:24:16,480 So yeah, we're getting there. 285 00:24:16,480 --> 00:24:18,880 Kudos to the UK government. 286 00:24:20,600 --> 00:24:24,600 I think that's the last of the private ones. 287 00:24:24,640 --> 00:24:28,240 EoCharger, EoHub, it was the first charger in the UK. 288 00:24:28,240 --> 00:24:31,440 It had a lot, and I mean a lot, of teething problems. 289 00:24:31,660 --> 00:24:40,760 It had around 15,000 users estimated, and it's a fucking raspberry pi, which can be easily rooted. 290 00:24:40,940 --> 00:25:01,760 It had no bootloader security, and I was able to recover, not only me, my good friend who is now not with us, Mike Polidoro, the full source code, and I mean two Python scripts because that was their source code, with hard-coded credentials and full documentation. 291 00:25:02,160 --> 00:25:04,540 Okay, let me show you something in there. 292 00:25:23,390 --> 00:25:37,010 Full decryption, total control, you could mimic the server communication, you can make the device be part of a botnet, potential GDPR violation, credentials leak, and send platform admin. 293 00:25:39,790 --> 00:25:43,730 They tried, I'm not going to be bad with them. 294 00:25:43,730 --> 00:25:56,150 They responded in a timely function, they worked hard into reworking pretty much everything, and then they introduced their new and improved EoMini, which was still a raspberry pi. 295 00:25:56,150 --> 00:25:59,390 So all in all, they tried at least. 296 00:26:01,910 --> 00:26:08,850 My personal opinion, I take it with a pinch of salt because I'm not a hardware expert. 297 00:26:08,870 --> 00:26:14,390 Raspberry pi are a valid prototyping device, but not good to put into production. 298 00:26:14,610 --> 00:26:20,390 They're easily extracted all their data, they're easily routable, and there's no secure bootloader. 299 00:26:20,770 --> 00:26:23,370 Last one, and we should be off. 300 00:26:23,370 --> 00:26:24,810 Public chargers. 301 00:26:24,970 --> 00:26:28,990 I have looked after ChargePoint, which is an American electric vehicle. 302 00:26:28,990 --> 00:26:32,970 It's one of the top three public chargers providers in the world. 303 00:26:33,130 --> 00:26:38,190 A good friend told me that when someone says he's one of the top three, he's the third. 304 00:26:38,210 --> 00:26:50,310 They went public in 2021, and they had a publicly exposed unauthenticated GraphQL endpoint with introspection enabled. 305 00:26:50,690 --> 00:26:56,530 It was potentially leaking their full schema, and no authentication parameters were to be seen. 306 00:26:56,530 --> 00:27:05,170 You could pretty much do whatever you want, but CMA and crime alert. 307 00:27:05,170 --> 00:27:09,190 API research is really, really, really tricky on that. 308 00:27:09,190 --> 00:27:12,170 Never ever interact with a device that you don't own. 309 00:27:12,170 --> 00:27:20,890 If you mistakenly do it, notify the vendor immediately and stop doing whatever you are doing because you don't want to end up in jail. 310 00:27:20,890 --> 00:27:23,330 At least I don't want to end up in jail. 311 00:27:23,890 --> 00:27:25,470 They responded in an hour. 312 00:27:25,470 --> 00:27:27,910 They fixed it in the same day. 313 00:27:27,970 --> 00:27:29,410 Excellent response. 314 00:27:29,650 --> 00:27:31,350 They acknowledged the issue. 315 00:27:31,470 --> 00:27:37,630 I could have checked further, but as I said, my goal is to stay outside of prison. 316 00:27:37,630 --> 00:27:40,490 So yeah, that was probably a wise choice. 317 00:27:43,510 --> 00:27:49,850 For your takeaways, go with a provider that will act on problems. 318 00:27:49,910 --> 00:27:52,370 So no random white labels. 319 00:27:52,370 --> 00:27:56,430 Try to isolate IOT devices on their own villains. 320 00:27:56,470 --> 00:28:00,270 Vulnerabilities will happen, and expect them to happen. 321 00:28:00,270 --> 00:28:07,510 Also, just a heads up, if your device will be on fire, your private villain will not really help. 322 00:28:07,510 --> 00:28:10,450 So take that under consideration. 323 00:28:10,530 --> 00:28:17,630 And for those being vendors, know that authorization is not equal to authentication. 324 00:28:18,090 --> 00:28:20,430 Push to market cannot always be the excuse. 325 00:28:20,430 --> 00:28:34,290 I understand that you have to rush to market because you are a startup, but after you are in the market for five years, you have to secure your seat or you will end up in one of your really bad lists. 326 00:28:34,330 --> 00:28:35,510 And pen test your things. 327 00:28:35,510 --> 00:28:37,290 Not by me, by anyone. 328 00:28:37,390 --> 00:28:39,830 Do try to secure yourself. 329 00:28:39,830 --> 00:28:43,230 So , that was me. 330 00:28:43,230 --> 00:28:44,170 Thank you.