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