WEBVTT

00:01.600 --> 00:05.140
Hello, all.

00:05.280 --> 00:06.800
Can you hear me, first of all?

00:06.800 --> 00:07.780
Okay, nice.

00:07.780 --> 00:09.300
I'm going to take a picture.

00:09.300 --> 00:14.380
If anyone is not okay with that, please hide yourself.

00:20.080 --> 00:22.220
That's obligatory for my mom.

00:22.620 --> 00:26.500
She never believes that people come and hear me talk.

00:26.500 --> 00:30.080
So, yeah, kind of a thing.

00:30.080 --> 00:38.180
So, welcome to my talk, Gridlock, the dual-edged sort of EV and solar APIs in grid security.

00:39.500 --> 00:46.480
Fair warning, this talk is PG-17, which means I love saying fuck and shit.

00:46.920 --> 00:51.280
So, if you're not comfortable with that, can you please raise your hand?

00:52.720 --> 00:53.940
Everyone's okay with that?

00:53.940 --> 00:54.320
Really?

00:54.320 --> 00:55.560
Thank you for that.

00:57.440 --> 00:58.520
That's me.

00:58.520 --> 00:59.460
I'm Vangelis Thikas.

00:59.460 --> 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.

01:12.020 --> 01:13.380
What?

01:14.140 --> 01:15.380
Okay.

01:15.480 --> 01:16.540
That's me.

01:16.540 --> 01:17.640
I'm Vangelis Thikas.

01:17.640 --> 01:21.240
I'm the CTO of a penetration testing firm called Atropos.

01:21.240 --> 01:24.200
We're testing mainly EVs and PVs.

01:24.200 --> 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.

01:33.380 --> 01:35.260
But, yeah, that's just me.

01:36.000 --> 01:38.700
So, this talk is about solar panels.

01:38.700 --> 01:41.760
I'm going to be honest, I have no idea how they work.

01:41.760 --> 01:44.300
I'm not a solar panel specialist.

01:44.300 --> 01:46.520
I'm an API specialist.

01:46.520 --> 01:48.320
This talk is about APIs.

01:48.320 --> 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.

01:56.120 --> 01:57.280
Sorry about that.

01:57.820 --> 01:59.140
Quick intro.

01:59.280 --> 02:01.820
There are two kinds of installations of solar panels.

02:01.820 --> 02:05.980
The one is home panels, which is from 1 kilowatt to 10 kilowatts.

02:05.980 --> 02:10.400
And then there are plants, which is from 200 kilowatts to 20 megawatts.

02:10.500 --> 02:14.940
The home are usually on roof, and they're integrated there.

02:14.940 --> 02:20.180
The plants are maximizing profit and minimizing cost because, yeah, capitalism and shit.

02:20.600 --> 02:25.400
The solar market, it has several big players.

02:25.400 --> 02:27.260
They're mainly Chinese.

02:27.360 --> 02:32.080
Lots, and I mean lots of white label providers that provide generic implementation.

02:32.080 --> 02:35.260
We are going to see that they're really rushing to market.

02:35.380 --> 02:41.900
And they have over 30 million current installations the past week that I checked.

02:42.700 --> 02:51.800
Yeah, you can see that we are moving towards solar panels, so more and more solar panel energy is being used.

02:54.020 --> 02:56.540
Yeah, that's what the solar panel is.

02:56.540 --> 03:00.140
It consists of many cells, blah, blah, blah, things I don't understand.

03:00.140 --> 03:05.180
Things that if you understand, I'm really happy with you because you're really smart.

03:08.380 --> 03:10.480
But do you know what that is?

03:11.720 --> 03:13.980
So that's Fortnite.

03:13.980 --> 03:17.720
My older son is playing Fortnite, and he loves it.

03:17.720 --> 03:24.820
And apparently, everyone who wins him either is a cheater or, I don't know, a hacker.

03:24.820 --> 03:33.200
And once upon a time, there was a guy, Tesla2004, that kind of kicked his ass.

03:33.600 --> 03:39.960
So we went after him for no apparent reason, other than me being petty.

03:40.480 --> 03:42.340
So what's the solar market?

03:42.340 --> 03:45.560
The solar market generates more than a terawatt globally.

03:45.560 --> 03:52.200
A terawatt is a little bit less than what the states, the USA, is consuming every day.

03:52.280 --> 03:57.220
It's cheaper to produce, it has low maintenance, and it can run unsupervised.

03:57.220 --> 04:02.780
But as it is expensive to store, it is easier to throw it to the grid.

04:04.200 --> 04:07.220
I don't know if you understand what they are doing.

04:07.220 --> 04:15.120
They are just throwing independent stuff that is not there every day.

04:15.600 --> 04:17.840
I'm introducing you to Horus Scenario.

04:17.840 --> 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.

04:26.940 --> 04:28.820
Sorry about that, Marcos.

04:28.980 --> 04:30.000
I'm going to read it.

04:30.000 --> 04:32.200
It's the only wall of text that I'm going to read.

04:32.200 --> 04:35.980
The power grid needs to maintain a constant balance between supply or power.

04:35.980 --> 04:38.440
Its supply exceeds demands.

04:38.440 --> 04:40.640
There is, however, a limit to these countermeasures.

04:40.640 --> 04:42.940
So they are doing some countermeasures.

04:43.240 --> 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.

04:58.020 --> 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.

05:07.420 --> 05:10.980
So, yeah, that doesn't sound good to pretty much anyone.

05:11.220 --> 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.

05:30.480 --> 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.

05:49.180 --> 05:55.420
Horuscenario had several CVs on one inverter, SMA.

05:55.420 --> 05:57.480
They changed them for RCE.

05:57.480 --> 06:02.560
They RCE on those devices and they interfere with the devices to destabilize the grid.

06:04.020 --> 06:06.780
What we are going to see today?

06:06.780 --> 06:10.380
We are going to see Horuscenario on steroids.

06:10.460 --> 06:16.820
We, unfortunately, we're not going to get any CVs because everything is going to be done with APIs.

06:16.820 --> 06:20.440
Cloud doesn't give you any CVs, you know that.

06:20.440 --> 06:23.880
We don't need any physical access, we don't need to be nearby.

06:23.880 --> 06:28.360
We can be in our beach house in Greece while hacking PVs.

06:28.360 --> 06:31.140
We could brick and munch.

06:31.340 --> 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.

06:40.960 --> 06:43.020
Quick intro on my tool set.

06:43.020 --> 06:49.240
Dirsearch, Burpsuit, ZXD compiler, APK, LabIO, which unfortunately is no longer working.

06:49.420 --> 06:51.780
One small droplet on DigitalOcean.

06:51.840 --> 06:54.580
SodanIO, so that I could find more people.

06:54.720 --> 06:57.840
And basic web application penetration testing.

06:59.460 --> 07:03.420
Steps that I was doing, I followed.

07:03.460 --> 07:05.680
I tried to find a demo account.

07:06.140 --> 07:09.140
If I couldn't find a demo account, I'd register a new account.

07:09.140 --> 07:12.580
I would find obvious, and I mean really obvious, web issues.

07:12.580 --> 07:17.180
I'd try to control devices by exploiting those obvious issues.

07:17.280 --> 07:23.340
And I would really want to hack Tesla 2004 because he kicked my son's Fortnite.

07:24.660 --> 07:26.220
My results.

07:26.220 --> 07:32.300
Solarman, Sunsync, Solux, Growat, Ingecom, Foxes, everyone, platform admin.

07:32.300 --> 07:35.240
Solarman, I couldn't upgrade the firmware.

07:35.240 --> 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.

07:42.620 --> 07:46.760
So if you are researching for PVs, you are going to get a lot of PV ads.

07:46.760 --> 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.

07:51.300 --> 07:55.480
And this goes to all your house, so yeah, not a great thing.

07:57.160 --> 08:00.240
The disclosure was a train wreck.

08:00.240 --> 08:05.060
I have been trying for the past three and a half years to disclose.

08:05.060 --> 08:10.080
Only one and a half vendors responded and acted on the disclosure.

08:10.100 --> 08:13.480
The disclosure had everything that they needed to do.

08:13.480 --> 08:16.780
I tried really, really hard to get any reaction.

08:16.780 --> 08:20.060
I emailed, I tweeted, I called them on their phone.

08:20.060 --> 08:25.860
I couldn't do anything else other than drive there and talk to them, but that's not feasible, I guess.

08:26.520 --> 08:27.800
Okay.

08:28.420 --> 08:30.060
The responses.

08:30.060 --> 08:32.200
Solarman fixed in five days.

08:32.200 --> 08:34.120
Sansing responded after three years.

08:34.120 --> 08:35.740
It's no longer no response.

08:35.740 --> 08:39.460
After my OWASP talk, they did respond and try to fix it.

08:39.460 --> 08:41.200
Solax auto-responded.

08:41.200 --> 08:44.820
They responded to Twitter DMs and then they went well.

08:44.920 --> 08:49.160
Growat asked me where I'm from, because that makes sense.

08:49.160 --> 08:52.080
And Injekon didn't do anything.

08:53.480 --> 08:55.780
So I know you're here for the zero days.

08:55.960 --> 09:00.940
I'm not legally allowed to release the zero days, but I can talk about them.

09:00.940 --> 09:04.000
And if you have common sense, you can find pretty much everything.

09:05.120 --> 09:06.160
What's the plan?

09:06.160 --> 09:08.440
I really want them to fix it, really.

09:08.440 --> 09:10.720
I just want to act on it and fix it.

09:11.080 --> 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.

09:26.080 --> 09:27.640
What did I find?

09:27.640 --> 09:35.940
EIDR, RCE, broken authentication, broken authorization, EIDR, EIDR, EIDR.

09:37.320 --> 09:39.220
What did I get?

09:39.220 --> 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.

09:54.860 --> 10:00.060
You can see how many gigawatts you could control from their panels.

10:00.060 --> 10:01.620
I'm not going to list them.

10:02.840 --> 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.

10:19.080 --> 10:20.240
Solarman.

10:21.700 --> 10:23.680
Pretty huge player.

10:23.680 --> 10:26.100
EIDR on the user ad functionality.

10:26.240 --> 10:29.140
I could add a user with any privilege on any group.

10:29.140 --> 10:37.160
Groups and organizations were consecutive integers, which means I could pretty much add the user to every group with admin privileges.

10:38.000 --> 10:39.180
What did I get?

10:39.180 --> 10:42.580
Full functionality, potential GDPR violation.

10:42.580 --> 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.

10:49.620 --> 10:52.380
Information on plants and power generated.

10:53.080 --> 10:55.060
Really good response.

10:55.060 --> 10:56.460
They fixed it in five days.

10:56.460 --> 11:00.680
They chased for verification, so all in all, good for them.

11:01.840 --> 11:05.260
Sunsync is probably one of the biggest players.

11:05.260 --> 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.

11:15.400 --> 11:16.600
And their issues were...

11:20.140 --> 11:25.040
They were missing the whole point of authorization altogether.

11:26.560 --> 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.

11:34.040 --> 11:35.620
Full functionality of the application.

11:35.620 --> 11:40.860
Again, potential GDPR violation because we are not violating the GDPR.

11:40.860 --> 11:42.280
Information on plants.

11:42.280 --> 11:43.540
Interact with the plants.

11:43.540 --> 11:47.420
Firmware update because who doesn't want a firmware update on everyone?

11:47.420 --> 11:48.700
Backdoor to the network.

11:48.700 --> 11:49.980
Platform admin.

11:51.320 --> 11:53.380
That's all the gateways.

11:53.380 --> 11:57.120
You can see we are looking at half a million gateways.

11:57.440 --> 12:00.080
And that's all the firmwares.

12:00.080 --> 12:05.960
So you could just upload the firmware and do whatever you want with that.

12:05.960 --> 12:07.340
The disclosure.

12:09.650 --> 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.

12:21.810 --> 12:23.450
He was pretty cool.

12:23.450 --> 12:25.570
They said they fixed it.

12:26.510 --> 12:28.310
They did not.

12:29.170 --> 12:32.790
I reached out last week and told them that I'm going to say that.

12:32.790 --> 12:34.430
And he said, no, we fixed them.

12:34.430 --> 12:35.210
So , yeah.

12:35.850 --> 12:38.410
You do what you want with that information.

12:39.010 --> 12:43.830
Grobat is probably the biggest, and I mean the biggest player in there.

12:46.970 --> 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.

12:59.810 --> 13:02.450
So I had to Google some serials.

13:02.450 --> 13:05.530
And then me being me, I'm doing that.

13:05.530 --> 13:06.150
I don't need it.

13:06.150 --> 13:06.690
I don't need it.

13:06.690 --> 13:11.190
I find some broken one for 200 euros.

13:11.190 --> 13:15.310
So I bought it and then I had full functionality on everything.

13:15.310 --> 13:16.670
What was the vulnerability?

13:17.310 --> 13:18.250
I don't know.

13:18.250 --> 13:19.390
Pretty much everything.

13:19.390 --> 13:20.590
They didn't check anything.

13:20.590 --> 13:23.330
So full functionality of the application.

13:23.330 --> 13:24.950
A potential GDPR violation.

13:24.950 --> 13:26.090
Interact with the plans.

13:26.090 --> 13:27.710
Firmware update on gateway.

13:27.710 --> 13:28.690
Back to the network.

13:28.690 --> 13:29.930
Platform admin.

13:29.930 --> 13:33.210
All in all, you know, terrible shit.

13:33.410 --> 13:37.070
How did the disclosure go?

13:37.070 --> 13:41.390
Dear customer, due to the spring festive holidays, we can't reply in time.

13:41.390 --> 13:42.870
Thanks for your understanding.

13:42.870 --> 13:49.650
That was January 26th of 2022.

13:50.770 --> 13:56.250
They do have a lot of spring festive holidays in China, I guess.

13:57.310 --> 14:00.810
Would you please advise which country you are from?

14:00.810 --> 14:02.170
Because it makes sense.

14:02.170 --> 14:03.770
If I'm from Greece, they shouldn't fix it.

14:03.770 --> 14:06.710
But if I'm from, I don't know, the States, it should.

14:06.710 --> 14:10.110
And then while I was researching, I also found that.

14:11.010 --> 14:14.850
Three years later, GROWAT vulnerability disclosure policy.

14:14.850 --> 14:18.750
GROWAT takes product security very seriously.

14:18.750 --> 14:21.970
And is committed to protecting our users and their data.

14:22.590 --> 14:23.490
You know what?

14:23.490 --> 14:24.950
Fuck off GROWAT.

14:24.970 --> 14:29.450
GROWAT pair, respond to the disclosure emails and do something.

14:29.470 --> 14:30.910
They're the same thing.

14:30.910 --> 14:32.430
They didn't respond.

14:32.430 --> 14:34.390
They can go do a thing.

14:34.390 --> 14:35.210
I don't know.

14:37.570 --> 14:45.670
SOLUX is the fifth bigger or fourth there in the fifth, one of the five biggest providers in there.

14:46.010 --> 14:47.290
They were pretty good.

14:47.290 --> 14:48.890
And I mean pretty good.

14:50.190 --> 14:52.690
They had only one either.

14:52.690 --> 14:55.970
But that either was really, really good.

14:55.970 --> 15:03.930
So, when you were editing your user, you were also passing your user level.

15:04.530 --> 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.

15:15.750 --> 15:18.170
So, remember that slide?

15:19.130 --> 15:20.610
Full functionality.

15:20.630 --> 15:22.550
Potential GDPR violation.

15:22.590 --> 15:23.670
Information.

15:23.670 --> 15:24.890
Interact with the plans.

15:24.890 --> 15:26.210
Firmware update.

15:26.210 --> 15:27.390
Backdoor to the network.

15:27.390 --> 15:28.570
Platform admin.

15:28.570 --> 15:30.590
You're going to see it a little bit more.

15:30.590 --> 15:31.330
Sorry about that.

15:31.330 --> 15:33.390
Sorry for repeating, but they're all shit.

15:34.710 --> 15:40.210
Yeah, that's 21,000 pages of installations.

15:40.210 --> 15:41.870
You can do the multiplication.

15:41.870 --> 15:45.030
That's a lot, and I mean a lot of devices.

15:47.210 --> 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.

15:56.790 --> 15:59.650
Thank you for conducting so much cloud support.

15:59.650 --> 16:02.110
We are extremely busy at the moment.

16:02.110 --> 16:06.030
And that moment has taken them three years.

16:07.010 --> 16:08.370
They're going to respond to me.

16:08.370 --> 16:10.690
Then I was starting calling.

16:10.690 --> 16:12.390
They didn't answer my calls.

16:12.470 --> 16:16.430
Finally, I just tweeted, because it's Twitter, not X.

16:16.430 --> 16:17.630
Fuck Elon Musk.

16:17.730 --> 16:22.930
And I just tweeted, can someone tell me what I should do with Solax?

16:22.990 --> 16:24.470
Then they said that.

16:24.470 --> 16:25.830
So, is there a problem with that?

16:25.830 --> 16:28.290
Can you tell us what the issue is?

16:28.310 --> 16:31.890
I told them, yeah, I sent an email to that, that, that, that, and that.

16:32.010 --> 16:33.390
Let me check.

16:33.390 --> 16:34.830
That was their answer.

16:34.830 --> 16:38.970
If you can see, I don't know if it's possible, but it's 2023.

16:39.290 --> 16:43.390
So, they're either checking really hard or they're just ignoring me.

16:43.730 --> 16:45.810
Again, Solax, not cool.

16:46.510 --> 16:53.210
In GECON, there are small lists, so just 30,000 or 40,000 installations.

16:54.630 --> 16:56.930
They're based in Spain or Italy.

16:56.930 --> 16:57.630
I don't remember.

16:57.630 --> 16:58.790
Sorry about that.

16:58.890 --> 17:02.310
They were missing the basic concept of authorization.

17:02.310 --> 17:04.670
All IDs were consecutive integers.

17:04.670 --> 17:12.830
And again, full functionality, potential GDPR, interact with the plans, firmware update, backdoor, platform admin.

17:12.830 --> 17:15.970
Sorry for repeating myself, but they're shit.

17:15.970 --> 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.

17:25.010 --> 17:25.670
Can you see it?

17:25.670 --> 17:27.690
It says sell.

17:27.690 --> 17:33.810
So, you can just click on there and get a sale on each device.

17:35.210 --> 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.

17:53.230 --> 17:57.810
You could literally burn shit up remotely.

17:59.070 --> 18:02.630
Does anyone want to guess how the disclosure went?

18:10.200 --> 18:14.840
I called them and they just dropped the phone on me.

18:14.840 --> 18:20.840
When I said I want to do a vulnerability disclosure, I just heard the toot toot toot.

18:21.560 --> 18:23.940
They could also say fuck you, but okay.

18:24.680 --> 18:26.560
Foxes is the last one.

18:26.560 --> 18:31.740
These have only been around my disclosure for six months.

18:31.740 --> 18:38.520
So , yeah, it's way above my 90 days, but yeah, still not good.

18:38.520 --> 18:40.480
They were pretty good too.

18:40.480 --> 18:42.820
They had only one issue.

18:45.350 --> 18:48.830
Their password reset was not that good.

18:48.830 --> 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.

18:58.190 --> 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.

19:10.630 --> 19:13.250
Same thing, sorry about that.

19:13.250 --> 19:21.530
Full functionality, Yada, Indirect, Firmware Update, Backdoor to the Network, Platform Admin, you name it, they have it.

19:21.770 --> 19:25.010
Again, anyone want to guess the disclosure?

19:31.860 --> 19:36.300
So, enough with the photovoltaic, let's go to EV chargers.

19:39.640 --> 19:42.980
Just a reminder, we are not after the power grid.

19:42.980 --> 19:47.880
We're after a guy who is named Tesla 2004.

19:47.880 --> 19:53.960
He probably doesn't own a panel, but he or his mom has a Tesla.

19:53.960 --> 19:57.240
So, let's go up after some EV chargers, right?

19:59.020 --> 20:06.860
Project EV, 2000 installation in the UK, GROWAT based again, Department of Transport approved, that's in the UK.

20:06.860 --> 20:09.560
GROWAT and Shenzhen are China based companies.

20:11.480 --> 20:17.540
Can you see the issue in this request?

20:17.560 --> 20:18.440
Anyone?

20:19.960 --> 20:21.580
No, it's not an either.

20:21.580 --> 20:23.920
You would wish it was an either.

20:24.760 --> 20:27.880
There is no authentication at all.

20:27.980 --> 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.

20:39.540 --> 20:42.920
They were just doing, yeah, he said he was that, let's go with our lives.

20:42.920 --> 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.

20:55.680 --> 21:02.740
Yeah, full functionality, lock and lock, remote, backdoor, brick all the devices, platform admin.

21:03.680 --> 21:04.440
Disclosure.

21:04.440 --> 21:06.760
Oh, my lovely disclosure.

21:07.280 --> 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.

21:14.380 --> 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.

21:22.540 --> 21:26.920
They have a stateless login, or whatever the fuck that means.

21:28.120 --> 21:30.520
I'm not going to test it anymore.

21:30.520 --> 21:34.660
Also, do you remember the Grobat PV?

21:34.660 --> 21:37.780
They have the same thing, they just fixed it for the EV.

21:38.120 --> 21:39.640
I don't know why.

21:39.980 --> 21:41.160
I don't know.

21:41.860 --> 21:46.920
EVbox, pretty big on the market.

21:47.240 --> 21:52.020
They have around 400,000 charging points, they're based in Amsterdam.

21:52.160 --> 21:54.260
They were acquired by ENCE.

21:54.260 --> 21:56.580
They were really, really, really good.

21:56.580 --> 21:58.800
They had a pretty solid API.

22:01.080 --> 22:02.280
Wanna guess?

22:02.280 --> 22:03.520
Let's play a guess game.

22:03.520 --> 22:05.220
What's the issue in here?

22:06.740 --> 22:08.200
No one?

22:08.360 --> 22:09.720
Come on.

22:13.320 --> 22:18.460
It says, when you update your user, you are also passing your role.

22:18.460 --> 22:20.200
Why would I pass my role?

22:20.200 --> 22:28.080
So, let's try admin, account owner, and then admin, because I also want the fucking server.

22:28.080 --> 22:31.920
I just don't want only the EV chargers.

22:31.920 --> 22:36.540
Which means I had access to pretty much everything.

22:36.660 --> 22:38.320
Total compromise of everything.

22:38.320 --> 22:39.900
Potential GDPR violation.

22:39.900 --> 22:45.580
Full admin functionality, which means I could give money, I could charge back, I could do financial shit.

22:45.820 --> 22:48.820
It was really, really bad.

22:48.820 --> 22:52.040
But, responded in just two hours.

22:52.040 --> 22:53.860
They fixed it in 24 hours.

22:53.860 --> 22:55.940
Double checked that everything was fixed.

22:55.940 --> 22:57.220
Excellent response.

22:57.240 --> 23:00.360
I'm happy when I see this kind of responses.

23:02.220 --> 23:04.340
Oh, my lovely wallbox.

23:04.340 --> 23:08.640
I don't know how many of you are familiar with EVs.

23:08.720 --> 23:12.000
I personally got that banned in the UK.

23:12.000 --> 23:14.660
So, they probably hate me.

23:14.920 --> 23:16.560
So, 200,000 users.

23:16.560 --> 23:18.280
They're based in Barcelona.

23:18.460 --> 23:20.060
Merged with Kensington.

23:20.060 --> 23:23.400
And their aim to raise 300 million USD.

23:23.400 --> 23:25.960
Probably not, because they're banned now.

23:26.940 --> 23:28.760
They had a second-level IDOR.

23:28.760 --> 23:31.380
Anything in the request body was not validated.

23:31.380 --> 23:36.660
I had found four different instances on this in the API.

23:36.660 --> 23:39.520
Which means, I found something, they fixed it.

23:39.520 --> 23:42.650
Then I went to something else and said, fix that too.

23:43.040 --> 23:46.540
And then I said, I'm not doing a free penetration test for you.

23:46.540 --> 23:47.500
Fix your shit.

23:47.500 --> 23:50.610
Check your proper authentication.

23:51.500 --> 23:53.680
Total control over all chargers.

23:53.680 --> 23:54.840
Lock and lock.

23:54.940 --> 23:57.160
No way to update firmware.

23:57.160 --> 23:59.220
Potential GDPR violation.

23:59.220 --> 24:01.160
Unfortunately, no platform admin.

24:01.160 --> 24:05.380
So, they responded the next day.

24:05.380 --> 24:07.220
They fixed it in a couple of days.

24:07.220 --> 24:09.840
They re-engaged after a month.

24:09.840 --> 24:11.480
I found the second issue.

24:11.640 --> 24:14.240
They fixed it in a couple of days again.

24:14.240 --> 24:18.940
Then they wanted to engage to provide the site of their new hardware platform.

24:18.940 --> 24:23.480
Which meant, I had to sign an NDA and not talk about it.

24:23.480 --> 24:25.420
Which, no thanks.

24:25.480 --> 24:27.400
I don't do NDAs.

24:27.400 --> 24:32.940
And then, as I said, charger pulled amid warnings.

24:32.940 --> 24:34.880
Hackers could attack national grid.

24:34.880 --> 24:37.200
So, yeah, we're getting there.

24:37.200 --> 24:39.840
Kudos to the UK government.

24:41.500 --> 24:45.240
I think that's the last of the private ones.

24:45.240 --> 24:46.660
EoCharger, EoHub.

24:46.660 --> 24:48.880
It was the first charger in the UK.

24:48.880 --> 24:52.100
It had a lot, and I mean a lot of thieving problems.

24:52.140 --> 24:55.540
It had around 15,000 users estimated.

24:55.540 --> 24:57.740
And it's a fucking Raspberry Pi.

24:59.080 --> 25:01.440
Which can be easily rooted.

25:01.600 --> 25:04.320
It had no bootloader security.

25:04.320 --> 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.

25:14.060 --> 25:17.900
And I mean two Python scripts, because that was their source code.

25:18.840 --> 25:22.300
With hard-coded credentials and full documentation.

25:22.760 --> 25:24.600
Okay, let me show you something in there.

25:33.910 --> 25:38.090
Secret key, file key, admin section.

25:38.090 --> 25:41.730
Which means you could potentially...

25:44.370 --> 25:46.590
Full decryption, total control.

25:46.590 --> 25:49.210
You could mimic the server communication.

25:49.210 --> 25:52.850
You can make the device be part of a botnet.

25:52.850 --> 25:55.050
Potential GDPR violation.

25:55.150 --> 25:58.050
Credentials leakage and platform admin.

26:00.450 --> 26:01.530
They tried.

26:01.530 --> 26:03.170
I'm not gonna be...

26:03.170 --> 26:04.290
bad with them.

26:04.290 --> 26:05.910
They responded in a timely function.

26:05.910 --> 26:09.970
They worked hard in reworking pretty much everything.

26:10.150 --> 26:16.710
And then they introduced their new and improved IOMini, which was still a Raspberry Pi.

26:16.710 --> 26:19.950
So all in all, they tried at least.

26:22.390 --> 26:29.270
My personal opinion, take it with a pinch of salt, because I'm not a hardware expert.

26:29.270 --> 26:34.990
Raspberry Pi are a valid prototyping device, but not good to put into production.

26:35.090 --> 26:37.670
They're easily extracted all their data.

26:37.670 --> 26:40.930
They're easily routable and there's no secure bootloader.

26:41.250 --> 26:44.030
Last one, and we should be off.

26:44.030 --> 26:45.270
Public chargers.

26:45.350 --> 26:49.770
I have looked after ChargePoint, which is an American electric vehicle.

26:49.770 --> 26:53.430
It's one of the top three public chargers providers in the world.

26:53.650 --> 26:58.670
A good friend told me that when someone says he's one of the top three, he's the third.

26:58.790 --> 27:00.870
They went public in 2021.

27:02.790 --> 27:10.890
And they had a publicly exposed, unauthenticated GraphQL endpoint with introspection enabled.

27:11.070 --> 27:17.050
It was potentially leaking their full schema and no authentication parameters were to be seen.

27:17.050 --> 27:20.110
So you could pretty much do whatever you want, but...

27:23.800 --> 27:25.640
CMA and crime alert.

27:25.640 --> 27:29.620
API research is really, really, really tricky on that.

27:29.620 --> 27:32.660
Never ever interact with a device that you don't own.

27:32.660 --> 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.

27:41.460 --> 27:43.780
At least I don't want to end up in jail.

27:44.460 --> 27:45.900
They responded in an hour.

27:45.900 --> 27:48.320
They fixed it in the same day.

27:48.400 --> 27:49.820
Excellent response.

27:49.880 --> 27:51.760
They acknowledged the issue.

27:51.880 --> 27:58.080
I could have checked further, but as I said, my goal is to stay outside of prison.

27:58.120 --> 28:00.620
So , yeah, that was probably a wise choice.

28:04.040 --> 28:10.180
For your takeaways, go with a provider that will act on problems.

28:10.180 --> 28:13.000
So no random white labels.

28:13.000 --> 28:16.860
Try to isolate IoT devices on their own villains.

28:16.920 --> 28:20.720
Vulnerabilities will happen and expect them to happen.

28:20.720 --> 28:27.960
Also, just a heads up, if your device will be on fire, your private villain will not really help.

28:27.960 --> 28:30.880
So take that under consideration.

28:30.880 --> 28:38.040
And for those being vendors, know that authorization is not equal to authentication.

28:38.540 --> 28:40.920
Push to market cannot always be the excuse.

28:40.920 --> 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.

28:54.720 --> 28:55.920
And pen test your things.

28:55.920 --> 28:57.680
Not by me, by anyone.

28:57.680 --> 29:00.560
Do try to secure yourself.

29:02.480 --> 29:03.480
That was me.

29:03.480 --> 29:04.560
Thank you.

