WEBVTT

00:00.000 --> 00:02.000
All right, I guess we should get started.

00:02.520 --> 00:04.020
Right, so welcome to our talk.

00:04.200 --> 00:10.740
We are going to be looking at kind of hacking some EV chargers and more specifically kind of communication in the modems they actually use.

00:11.380 --> 00:15.420
So yeah, it should be a fun one and we're excited to share this research with you.

00:15.700 --> 00:17.260
First of all, who are we?

00:18.880 --> 00:20.820
So my name is Jan Behrens.

00:20.840 --> 00:25.860
I work as a red teamer at Alpertronic, one of the largest charger manufacturers in the world.

00:27.020 --> 00:33.760
And yeah, and in my free time I volunteer at different conferences like here at DEF CON as a goon and do my own research.

00:33.760 --> 00:36.020
But most of it can't be publicized, unfortunately.

00:38.020 --> 00:39.580
Right, and my name is Marcel.

00:39.580 --> 00:43.460
I'm a PhD student at the System Security Lab at the University of Oxford.

00:43.460 --> 00:46.900
And I'm doing my PhD on the security of EV charging.

00:46.900 --> 00:49.880
So I get to kind of do this type of work on a daily basis.

00:50.220 --> 00:56.040
But we have certain expectations in academia about, you know, publishable work.

00:56.040 --> 01:02.000
And then at night time, I get to do kind of the more fun aspects of the projects that you can't necessarily publish.

01:02.000 --> 01:05.780
It's more something that we can show to you guys here today.

01:06.320 --> 01:12.860
In my work, I'm also supported by our colleagues at Armasviz who give us some funding as well as technical expertise and equipment.

01:14.680 --> 01:18.360
But before we get started, a few disclaimers as usual.

01:18.520 --> 01:23.180
So we do not represent our employers or our university.

01:23.180 --> 01:26.660
These are our own opinions.

01:28.520 --> 01:40.660
We can't share everything we know because we have different kinds of NDAs with manufacturers and so on, which unfortunately restricts what we can share today.

01:41.860 --> 01:53.160
And if you want to get started in hacking EVs or EVSEs, please be careful when connecting to these chargers or cars.

01:53.180 --> 01:56.760
They can go up to one megawatt these days.

01:56.900 --> 02:01.440
So it will kill you if you connect to the power pins.

02:01.440 --> 02:06.460
But for this kind of research, which we present today, it's not necessary at all.

02:06.460 --> 02:15.760
But please be safe when testing these systems because there's a high voltage involved.

02:17.780 --> 02:22.520
And also, only hack what you own.

02:23.260 --> 02:32.860
There are a lot of clients and customers who do pentest our product, for example, but ask for permission first.

02:33.780 --> 02:40.280
Today we are looking at the three charging blocks for level three charging.

02:40.580 --> 02:44.500
CCS1 and NACS is most common here in the US.

02:44.500 --> 02:47.460
CCS2 in Europe.

02:47.460 --> 02:56.080
There are a couple of other standards as well out there, like Shodemo or GPT, or now with MCS as well.

02:56.080 --> 03:00.520
But these work on different protocols and different technologies.

03:00.620 --> 03:08.300
Today we purely focus on these three blocks, which are defined in an ISO standard.

03:08.940 --> 03:13.220
So how does EV charging works boil it down?

03:13.220 --> 03:18.000
First you have the connection cable, which connects to the car.

03:19.100 --> 03:22.260
And there you have a basic power signaling.

03:22.300 --> 03:25.300
There's no real data transfer to this.

03:25.300 --> 03:28.360
This is basically just a connection check for the cable.

03:29.080 --> 03:32.940
After that, the power line communication is initiated.

03:33.920 --> 03:45.960
And only if this power line communication is successful, the actual communication between the car and the charger starts, which is based on IPv6.

03:47.060 --> 03:51.600
And after all of that, the actual charging session starts.

03:51.680 --> 03:57.900
So there are a lot of different layers beforehand before the car gets any power.

03:58.220 --> 04:03.020
But today we are only focusing specifically on the power line communication.

04:04.900 --> 04:07.560
Since we found multiple issues there.

04:10.980 --> 04:12.160
Yeah, all right.

04:12.160 --> 04:16.220
So we saw earlier that there's this high-level IP stack.

04:16.220 --> 04:22.940
And there's actually quite a lot going on there in regards to different versions of the protocol, as it's evolving over the years.

04:22.980 --> 04:30.480
And we initially set out on a quest to actually understand what kind of protocols are being used by the EV charging system.

04:30.480 --> 04:37.800
There are currently three different standard versions, which are kind of standardized as part of ISO 15118.

04:38.340 --> 04:43.000
It's an old one from 2012, then one from 2014, and then one from 2022.

04:43.500 --> 04:54.940
And they kind of started adding more and more security features, adding support for TLS, for the charging communications itself, some more authentications, great things like that.

04:54.940 --> 04:59.940
So we originally set out on a quest to understand whether these are actually deployed in the real world.

04:59.940 --> 05:14.160
And along the way, we discovered that the modems themselves actually end up being a similarly interesting topic, because even though it standardized exactly what power line communication should be used, and it's the same across all versions of CCS so far,

05:14.160 --> 05:17.420
with no signs of changing, because after all, this is the physical layer.

05:17.420 --> 05:21.820
You can't really just change the physical layer while keeping the plug the same.

05:21.820 --> 05:24.890
People will expect their chargers to keep working.

05:24.890 --> 05:33.150
So we, but anyways, there are still some implementation differences that you can have, even just with the software, with the choices of the chip.

05:33.150 --> 05:37.750
So we set out on a quest to kind of understand what is out there in the real world.

05:37.750 --> 05:39.730
And so we built this EV emulator box.

05:39.730 --> 05:41.110
I actually have it with me.

05:42.290 --> 05:44.950
So it's this basically small little transport case.

05:44.950 --> 05:47.330
It fits quite nicely into a backpack as well.

05:47.410 --> 06:01.870
And inside of it, we have a Raspberry Pi, a custom circuit board, and then a power line communication modem, like the one you see here, which has basically the exact same chip you would expect to find inside of all the other devices as well.

06:02.350 --> 06:10.490
And on the software side, it's basically running a combination of Python and C that we made, and it just pretends to be a car.

06:10.490 --> 06:12.690
You plug it in to the charging cable.

06:13.050 --> 06:20.810
We very carefully designed our plug, so it just entirely avoids the DC pins, as we heard earlier, that's dangerous and absolutely not required.

06:20.810 --> 06:24.350
All the data is going on entirely separate wires inside of the cable.

06:24.630 --> 06:35.910
So we just connected the data cables, and then we go through the communication stack as shown before, and in the process, collect data from the charger about what it actually supports, what versions.

06:36.850 --> 06:43.170
So we found a lot of kind of results as part of this work.

06:43.310 --> 06:50.790
Some of them are actually published up in a paper that's linked in the references at the end, if you want to see about how many chargers support the ALS.

06:50.810 --> 06:58.110
Currently about 12% of them in Europe, even though this is now a 10-year-old part of the EV charging standard.

06:58.750 --> 07:00.250
But for the purposes of this work...

07:02.230 --> 07:05.310
Yeah, sorry, how did we end up collecting this data?

07:05.310 --> 07:08.670
As I said, we need to connect via the charging cable.

07:08.910 --> 07:13.430
So we had to go to chargers in person to actually get this data.

07:13.810 --> 07:19.110
And so we went on a road trip and collected up data from, in total, four different countries.

07:19.110 --> 07:23.230
The UK, Switzerland, Hungary, and Croatia in the locations shown here.

07:23.230 --> 07:25.430
The full dataset itself is also public.

07:26.370 --> 07:30.430
And so we ended up going to 397 CCS plugs in total.

07:30.430 --> 07:39.350
We tried to be a bit random with our selection, going to small towns, villages, highways to get a kind of cross-section of what's out there.

07:39.350 --> 07:41.470
We found 26 different manufacturers.

07:41.470 --> 07:47.210
There are definitely a few more out there, but we at least managed to cover most of the ones that are widely used.

07:48.110 --> 07:56.470
And we've also seen devices as old as 2013 or manufactured as recently as 2023 in our study from 2024.

07:56.970 --> 07:59.490
So we've got kind of a good idea of what's out there.

08:00.110 --> 08:07.610
So as I said, we had some fun results about how TLS or some of the other security features are being introduced by the manufacturers.

08:07.690 --> 08:10.930
But for the purpose of this talk, we'll just be focusing on the modems.

08:12.130 --> 08:23.330
So one of the things you can do in the Powerline protocol is actually you can query the chip version as well as the firmware version from the Powerline modems.

08:24.210 --> 08:35.510
This is basically the equivalent of if you were to connect to a Wi-Fi access point, the access point all of a sudden will know the exact chip ID and firmware version running on your Wi-Fi chip.

08:35.790 --> 08:37.670
This would be quite ridiculous.

08:37.670 --> 08:41.750
I do not know why you can do this in Powerline, but it is nonetheless a feature.

08:41.790 --> 08:44.530
And so we were able to collect this alongside with our study.

08:44.530 --> 09:01.550
And what we found is that there are only two chips out there in the world on all of the chargers we tested, the QCA7000 and the QCA7005, which are furthermore, as far as we can tell, essentially the same chip with some minor differences between them perhaps.

09:01.810 --> 09:08.310
And then we also looked at the firmware versions and we found that there's quite a lot of stuff from 2013 from 2015.

09:08.310 --> 09:13.850
So over 60% of chargers have firmware that is more than 10 years old on their Powerline modems.

09:14.530 --> 09:20.090
Now we're not looking here at the actual main board, but for example, the Linux or the screen would be connected to.

09:20.090 --> 09:28.170
This is just the communication modem, but it's just a chip that I have circled in yellow, but it's still quite interesting.

09:28.850 --> 09:34.250
Specifically, there are actually known vulnerabilities in the Powerline communication system that is being used.

09:34.510 --> 09:38.710
For example, one of my colleagues, Sebastian, published a work called Broken Wire.

09:38.710 --> 09:41.130
It was also a talk here at DEF CON two years ago.

09:41.290 --> 09:43.610
Actually, I think in the car hacking village specifically.

09:44.090 --> 09:47.270
But it's also out as an academic paper if you'd like to read.

09:47.390 --> 09:59.770
And what that showed is that you can actually jam the wired communications with very little amounts of power from reasonably long distances away due to just how the protocol is designed.

10:00.130 --> 10:03.310
And this is something that we think could be potentially solved in firmware.

10:03.310 --> 10:06.570
So we had to look whether these updates are being deployed.

10:06.570 --> 10:15.250
And even though the attack was disclosed in 2022, two years before we conducted our study, not a single charger has firmware newer than 2021.

10:15.670 --> 10:21.930
So even if it could be fixed, even if it might have been fixed, no one's actually deploying it.

10:22.890 --> 10:31.910
So this is starting to get kind of interesting for us now because we have these PLC modems, which are absolutely necessary for all of the EV charging communications.

10:31.910 --> 10:38.490
They sit right behind or right between the main EV board as well as the charger.

10:38.490 --> 10:49.010
They want to communicate via Ethernet, so they send these Ethernet packets to the communication modems and then they transform it into this packet, which looks like what you can see over there.

10:49.190 --> 10:53.330
It looks very much like a wireless packet if you were dealt with wireless security.

10:53.450 --> 10:56.870
This is for a good reason because it essentially is.

10:56.870 --> 11:03.550
They are not running it through the air, they are running it through a cable, but it is still entirely identical to a wireless protocol.

11:04.570 --> 11:07.370
And so everyone's also just using these two identical chips.

11:07.370 --> 11:15.310
We know that manufacturers are not really on top of updating the firmware either, so this is starting to look like a really interesting potential target.

11:15.710 --> 11:21.010
So the first thing we wanted to do is try to get as much information as we possibly can.

11:21.590 --> 11:26.270
So you look up the datasheet, try to download the firmware, basic things like that.

11:26.590 --> 11:31.090
Turns out you can't download the datasheet for the chips, it's under an NDA.

11:31.810 --> 11:33.970
You also can't download the firmware.

11:33.970 --> 11:40.330
For a while it was available on GitHub and then they realized that that's a really bad idea for some reason and deleted it.

11:40.630 --> 11:47.930
Now if you know how to use the internet, you might be able to get some files, but we can't obviously give you direct links to anything.

11:49.170 --> 11:57.750
But we can give you this link because the Powerline is actually the same technology you might be very familiar with at home.

11:57.750 --> 12:06.430
So if you've ever bought these Ethernet to the Powerline adapters, they basically just plug one into each wall socket and the Ethernet traffic magically teleports between the two of them.

12:06.550 --> 12:10.770
And this is the exact same thing that is being used in the EV charging system.

12:16.530 --> 12:24.890
Yeah, so at home you use HomePlug AV and then in the EV chargers you use something called HomePlug Green PHY, but they are actually interoperable standards.

12:27.090 --> 12:34.190
Yeah, so they have these tools released publicly because if you have your home network, you actually want to be able to configure it.

12:34.190 --> 12:39.430
And so they released OpenPLC Utils, which is a bunch of tools to change the configuration.

12:39.430 --> 12:45.650
And it's also open source C, so we can have a poke through and actually see kind of how the modems can get configured.

12:50.740 --> 12:53.120
So what do you actually find out if you do this?

12:53.120 --> 13:00.100
Well, first of all, we find that every one of the Qualcomm modems has something called the Parameter Information Block or PEB.

13:00.420 --> 13:10.120
This is a large kind of proprietary format binary blob that contains various important configuration options, only some of which are actually publicly understood.

13:10.240 --> 13:16.060
So basically there's no real headers or something you would expect in some of the settings file formats.

13:16.060 --> 13:21.360
It's just specific fields located at specific binary positions throughout.

13:22.440 --> 13:27.060
So if you know where they are and what they mean, then you can look at them, but otherwise it's all meaningless.

13:27.140 --> 13:41.500
So for example, things that are in there and known to be in there are the MAC address, manufacturer device string just for display purposes, or the network membership key, which is coming back to the Wi-Fi analogy, very similar to the pre-shared key.

13:41.500 --> 13:47.020
It is what is the root of all encryption as well as kind of authentication to create the home plug networks.

13:48.060 --> 13:55.940
And what you can do is because it contains important settings that you might very legitimately want to change, you can read it and write it from the host system.

13:55.940 --> 14:02.760
So to do this, you just send a special Ethernet packet to your modem chip and it will read or write the PIP accordingly.

14:03.160 --> 14:10.840
However, and yes, the command to do this is provided very nicely in PLCutils, quite simple to use.

14:10.840 --> 14:25.200
You just need to type in the MAC address, which is very interesting because in the home usage setting, you actually, when you create these networks, you actually authenticate all the devices into your own home power line network.

14:25.200 --> 14:29.600
And from then on, they are essentially treated as part of a trusted group.

14:29.760 --> 14:39.980
So what they added is a nice feature is that you are able to send these commands to read and write the configuration to remote modems as well via the power line.

14:39.980 --> 14:50.200
So if you just put in the MAC address of one of the remote chips, the management message will go to your chip, it will get put out onto the power lines and it will go to wherever the other remote chip is.

14:50.460 --> 15:06.220
And this is perfectly fine in the home setting, but in the EV charging context, even though the EV and the charger form a power line network, this is not because they are an inherently trusted network, they just need to communicate and that is just how they do that.

15:06.520 --> 15:13.060
So we wondered whether this feature has kind of been actually left enabled in the EV setting as well.

15:13.400 --> 15:25.780
And this is how we came up with the PipBuster attack, which shows that yes, you absolutely can do this, which means that a rogue EV could write to the configuration of a charger and the rogue charger could write to the configuration of an EV.

15:26.240 --> 15:28.800
Now, how bad can this realistically be?

15:28.800 --> 15:33.360
You can change the MAC address, which is weird, but not necessarily a catastrophe.

15:33.800 --> 15:38.440
The Pip contains a lot of settings, you can absolutely brick a modem with it permanently.

15:38.440 --> 15:45.900
You can tell it to stop talking both to the host system and stop talking over the power line, turning into a very nice brick just sitting there.

15:45.900 --> 15:51.500
And without power line, there is no EV charging, at least no DC EV charging.

15:52.000 --> 15:59.320
Sometimes now even AC systems use it, though they can potentially fall back to older non-advanced communication schemes.

16:00.220 --> 16:08.980
So we went around our lab testing this on all of the various devices we own, but we found that it only works on some of the devices, not all of them.

16:09.340 --> 16:11.000
So why could this possibly be?

16:11.000 --> 16:14.200
The firmware is always stock, it's always Qualcomm firmware.

16:14.200 --> 16:19.220
As far as we can tell, charger manufacturers cannot kind of create their own.

16:19.220 --> 16:22.580
The only thing that they can really change is the Pip itself.

16:22.960 --> 16:30.480
So there must be some sort of security setting in there that actually controls whether you are able to do this read or write.

16:31.060 --> 16:35.500
Now the problem is we're looking at a binary blob of approximately 10 kilobytes.

16:35.500 --> 16:41.900
We're looking for what is most likely one bit, and there's documentation for about 10% of it.

16:42.660 --> 16:45.900
So this is going to be a somewhat tricky challenge to find.

16:45.900 --> 16:52.640
So what we did is we first obtained the Pip from one of the vulnerable devices, and then one of the secure devices as well.

16:52.640 --> 16:57.460
It was a portable EV charger we had, as well as a development board.

16:57.860 --> 17:06.680
And we compared the files side by side, and there are many differences between them, including the file size, because turns out one of them had a slightly newer firmware version.

17:06.680 --> 17:12.940
A newer firmware adds a few more settings, so they just keep making the Pip longer and longer by a few bytes each time.

17:13.960 --> 17:20.440
But they were also entirely different in basically all the other areas, so no easy way to narrow down the one bit that differs.

17:20.900 --> 17:28.520
So the first thing we did, we took both of the Pips, truncated them down to the same length, put them on one of our modems, and tested them.

17:28.980 --> 17:31.620
So we created this kind of test workflow.

17:31.680 --> 17:38.480
Basically you have two powerline modems, a victim modem and an attacker modem, and then you have just a Raspberry Pi connected to both of them.

17:38.540 --> 17:48.380
So you have Ethernet interfaces going to both of the modems, this is kind of a privileged interface, this is how they connect to the host, but then they are also connected to each other over the powerlines.

17:48.660 --> 18:06.640
So what we can do if we want to test how a modem behaves with a certain Pip, we can put it onto the victim modem directly via Ethernet, and then we can get the victim and the attacker to pair to each other, communicate through the powerlines, and then start sending commands to the victim via the attacker.

18:06.640 --> 18:10.920
So we send it out on Ethernet to the attacker, and it goes via the powerline wires between them.

18:10.920 --> 18:26.640
And then we can send a read command, a write command, we can check if the commands actually succeed, they do usually send back some sort of status, and then as a final test we can actually take the Pip off of the victim again directly via the Ethernet interface just to see,

18:26.640 --> 18:35.620
for example, if the write actually persisted, because it might be that it says, yep, I definitely wrote that configuration file, and then it just doesn't, because that would be insecure.

18:36.840 --> 18:43.840
So we are in this way able to test what a Pip actually does on a real modem without having to think about it.

18:43.840 --> 18:50.780
And if we did our testing with the vulnerable and the secure Pips we obtained from the two devices, they did in fact produce different results.

18:50.780 --> 18:52.840
So the setting is somewhere in there.

18:53.740 --> 19:06.780
So as the next step, we took the first half of the vulnerable one, second half of the secure one, concatenated them together, really hoped that we are not breaking over some very important setting right in the center, and put it on a modem.

19:06.840 --> 19:10.700
And in this case, the device behaves securely, so it's somewhere in the second half.

19:10.820 --> 19:22.940
And rinse and repeat for a binary search, and we quickly narrowed it down to a Pip offset at 1F8C, which is if zero, then reading and writing is allowed, and if one, then it is blocked.

19:22.940 --> 19:25.220
So I have dubbed it the security bit.

19:26.560 --> 19:28.260
So we know it exists.

19:28.260 --> 19:31.600
We know what controls it.

19:31.600 --> 19:36.440
But as I said, some of the devices in our lab were vulnerable, whereas others were perfectly safe.

19:36.440 --> 19:42.300
So do real devices actually deploy the secure configuration or not?

19:42.880 --> 19:45.120
Well, first of all, let's have a look at the modems.

19:45.120 --> 19:47.740
If you buy these by default, no.

19:47.800 --> 19:59.680
So it's clearly not some sort of default setting, but this might still mean that real device manufacturers have seen the setting and they've changed it, or they've been told in some documentation to change it.

19:59.800 --> 20:02.120
So we need to go out into the wild and test it.

20:02.120 --> 20:07.400
So back on the road, traveling to EV chargers to collect some more data.

20:07.440 --> 20:16.100
Now, it would be incredibly unethical for us to actually go up to chargers and start writing to their configurations, because, well, yeah, we just can't do that.

20:16.100 --> 20:21.360
And it might also actually break devices if something goes wrong in the writing process.

20:21.940 --> 20:32.980
So instead, we did a read, where if the read request was blocked, then we assumed that the device is secure because there's no realistic way it will let us write, but not to read.

20:32.980 --> 20:36.400
That would just be a very bizarre option to have.

20:36.580 --> 20:39.680
But if it allows us to read, it might still be write-protected.

20:39.760 --> 20:47.240
So we took the PIBs and we put them onto our own test setup again and basically checked if they are actually writable.

20:48.020 --> 20:50.800
So we went to 69 chargers in California.

20:50.800 --> 21:05.120
And if you're wondering what a test like this looks like from the perspective of the security operations center of an EV charging company, someone shows up with a backpack and plugs in a cable to your charger and then they leave about a minute later.

21:06.160 --> 21:10.060
In total, out of the 69 chargers, we managed to download 41 PIBs.

21:10.320 --> 21:13.540
So quite a few of them don't have the security bit set.

21:13.660 --> 21:18.760
And out of the 41, all of the ones that were readable also appear to be writable.

21:19.280 --> 21:27.020
So this is now a vulnerability that we've seen and it's actually kind of has a real impact in terms of number of devices affected.

21:27.020 --> 21:31.520
So the next logical thing to do for us was to disclose this to Qualcomm.

21:31.520 --> 21:38.800
We also disclosed it to a bunch of industry working groups so they can coordinate more directly to the charger as well as the vehicle manufacturers.

21:39.220 --> 21:42.520
So we contacted Qualcomm back in February of 2025.

21:43.540 --> 21:48.720
They actually responded acknowledging that, yes, this seems like a vulnerability, they will fix it.

21:48.720 --> 21:50.120
All good, thanks.

21:50.120 --> 21:54.480
And from our perspective as academics, this kind of at this point concluded the research.

21:55.300 --> 21:58.440
We had found something, we had reported it, we had written the paper.

21:58.460 --> 22:00.960
I am actually going to present it in a week.

22:02.100 --> 22:04.780
So yeah, kind of nice end to the story.

22:04.960 --> 22:11.360
So how did I end up at DEF CON giving a talk together with someone from one of the largest charger manufacturers?

22:13.160 --> 22:25.200
Yeah, so it turns out we did basically a similar research in our Red Lab to see if it's possible to hack the charger via the charging cable and also reported to Qualcomm.

22:25.200 --> 22:30.920
And the response was basically, isn't it the same stuff Oxford was reporting to us?

22:30.920 --> 22:34.120
And we weren't in any kind of communication back then.

22:34.120 --> 22:43.320
But this was the first time when reporting a vulnerability that the manufacturer points you to a different research group.

22:43.600 --> 22:45.560
Never heard of this.

22:45.900 --> 22:48.880
So how does this look like?

22:48.880 --> 22:58.060
So here we have one modem connected to F0 and it's already connected to the power line.

22:58.060 --> 23:01.860
And our attacker modem is connected to Ethernet 2.

23:02.860 --> 23:14.720
And basically, if you use PLC tools, which are open source, you can basically also see and list all devices connected to the power line communication network.

23:16.940 --> 23:24.680
And here in this case, we take the factory PIP and add the security bit setting.

23:25.300 --> 23:29.440
ModPip is basically just to make the checksums correctly.

23:29.440 --> 23:36.250
So the chip is really sensitive for checksums, checks not only for the PIP file, but also for the firmware.

23:37.580 --> 23:43.480
And then we basically write the edited PIP to the local device.

23:43.480 --> 23:45.740
So our victim device.

23:45.740 --> 23:51.720
And then we verify by reading it from the module that the setting is actually set.

23:51.720 --> 24:02.520
And when trying to connect via the attacker modem on F0, the device refuses to give out any information about the chip.

24:03.100 --> 24:10.800
But what happens if we try to reset the device via power line?

24:10.800 --> 24:15.480
And it turns out it actually works.

24:15.480 --> 24:23.920
So in this case, we send first the information request to the victim device via Ethernet 2.

24:24.220 --> 24:27.380
And as you see, it's still refusing the request.

24:27.380 --> 24:30.980
But for some reason, the reset command is accepted.

24:31.520 --> 24:39.980
And after the device is reset successfully, it then gives out any information you want again.

24:39.980 --> 24:51.240
So it turns out that even if you write a customized PIP file to the chip, it still stores the factory PIP.

24:51.840 --> 24:57.660
And by resetting, it automatically falls back to this unsecured version of the chip.

24:57.660 --> 25:00.620
And you can basically do whatever you want to it.

25:03.520 --> 25:08.200
So there are different modes you can run the chip basically on.

25:08.200 --> 25:10.680
And one of them is called host booting.

25:10.680 --> 25:13.990
This is mostly used for car ECUs, for example.

25:15.060 --> 25:18.200
And they don't have an external flash.

25:18.380 --> 25:28.420
So as shown in the picture before, we have a really tiny flash here on the board where all the firmware and PIP configuration is stored.

25:28.640 --> 25:34.160
And in car ECUs, this is basically done without external flash.

25:34.160 --> 25:35.900
It is done via a host controller.

25:35.900 --> 25:46.460
So every time after each charging session or however the car manufacturer set it up, it's reflashed with a customized own firmware.

25:46.460 --> 25:52.540
So even if you manipulate the firmware, it doesn't really stay persistent.

25:53.420 --> 25:59.120
This is not the case for all car manufacturers, but I'm not gonna say any names.

26:01.820 --> 26:12.860
And it's still vulnerable even if you have host boot enabled, but it's not a persistent exploit till the next reboot cycle.

26:12.900 --> 26:16.000
But it still crashes the charging session.

26:16.580 --> 26:24.060
But how can you actually exploit this if you don't own the car already or if you don't own the charger?

26:24.680 --> 26:29.100
So we need to attack it somehow remotely in best case scenario.

26:29.800 --> 26:35.800
So this here is basic signaling for normal powerline communication.

26:35.800 --> 26:38.920
It goes from 1 MHz to 30 MHz.

26:38.960 --> 26:44.620
The gaps in between are frequencies, for example, for home radio frequencies.

26:44.620 --> 26:52.040
So when they created the standard, they already knew there might be some interference with other protocols and standards.

26:52.040 --> 26:55.620
So they intentionally left these gaps out.

26:55.620 --> 26:58.720
That's why also the signal drops in between these gaps.

26:59.980 --> 27:04.800
So in development, you normally use vector CCS listeners.

27:04.800 --> 27:06.820
So this is basically by design a tool.

27:06.820 --> 27:10.500
It's an induction coil around the charging cable.

27:10.540 --> 27:14.400
And the vector listener basically decodes everything for you.

27:14.400 --> 27:16.720
And you have everything in clear text.

27:17.020 --> 27:22.160
You can also do the same thing if you don't want to spend 4,000 euros for this.

27:22.940 --> 27:27.680
280 bucks for this, which basically can do the same thing.

27:27.680 --> 27:32.440
In this case, also with an induction coil, because it's easier to handle.

27:32.940 --> 27:37.460
But you can also just use a plain wire.

27:38.980 --> 27:46.200
So it doesn't really matter how much you spend, because you can always spend less.

27:46.740 --> 27:51.160
So this was basically just a little wire we had laying around.

27:51.280 --> 27:52.700
And why not?

27:53.020 --> 27:56.900
And even with just a wire, you can already get through a distance.

27:56.900 --> 28:01.560
Because since it's high frequency, the common mode is quite strong.

28:01.560 --> 28:04.280
So the magnetic field around the charging cable.

28:04.320 --> 28:07.060
So it's really easy to pick up.

28:07.960 --> 28:16.280
We did try to replicate the research Oxford did beforehand with broken wire, what he mentioned.

28:16.600 --> 28:23.440
The issue was we had a 5G antenna above our lab and all kinds of other antennas.

28:23.440 --> 28:30.020
So we had so much interference, we weren't able to really get it working and replicate it.

28:30.040 --> 28:36.920
So one of our interns had the crazy idea to do this.

28:37.080 --> 28:43.100
He connected the antenna, so to speak, to the ground of the house.

28:43.920 --> 28:47.180
And it turns out this works.

28:47.280 --> 28:51.180
You can attack PLC communication via the ground itself.

28:52.360 --> 29:00.500
Because in electric charging, the car and the charging station create a pen system.

29:00.500 --> 29:03.620
So PE and neutral is the same.

29:04.120 --> 29:14.960
And in the charging cable, we have a really thick ground cable, which is basically also directly hooked up to the building in this case, because the charger was inside.

29:15.800 --> 29:21.160
But yeah, you can send data and you can read data depending on the sensitivity settings.

29:21.160 --> 29:23.940
On your attacking device.

29:23.940 --> 29:25.980
And it does work.

29:25.980 --> 29:31.200
The easiest way to use this as an attack is in the denial of service.

29:31.860 --> 29:38.100
Because PLC communication or power line communication is basically a sliding window protocol.

29:38.460 --> 29:46.480
But if you fill up all the spots, the charging won't work because they can't do the slack handshake anymore.

29:47.700 --> 29:59.260
So you could basically build a very, very small implant device and hide it next to a charge park, which would be basically impossible to find.

30:00.020 --> 30:04.040
And make sure that EV charging never works in this location.

30:05.600 --> 30:08.640
And there is no real fix for it.

30:08.640 --> 30:19.020
We did do some testing and we found some ways to block the signals from external with ferrite cores, for example.

30:19.580 --> 30:26.480
But it's not a really good solution because you can also just use the screw of the wheel, for example.

30:27.260 --> 30:37.060
We also used the isolation of an Ethernet cable, connected it to a switch somewhere in the building, did the attack and the charging still failed.

30:37.560 --> 30:42.580
So you'd only need some way of ground communication and the ground is everywhere.

30:43.000 --> 30:51.200
And if you amplify the signal into the ground, as long as you don't trip any fuses, the range is basically unlimited.

30:53.840 --> 30:59.900
So what do you actually do, can you do to get into the network?

31:00.140 --> 31:12.020
So at the beginning, there's the slack protocol or slack exchange, which is basically the exchange of a network key, which is sent in plain text.

31:12.020 --> 31:24.840
So you can just open Wireshark, if you have a module which does all the decoding for you, read out a key and then join the PLC network and you're in.

31:25.160 --> 31:31.020
But obviously we're lazy, so here's a Python script to automate it.

31:31.020 --> 31:38.240
I'm using the Home Plug Pawn library, which is out there for quite a few years now.

31:39.280 --> 31:49.880
But with this, you can basically also get started with researching this topic, because most of the actual Qualcomm functionality is strictly under NDA.

31:50.320 --> 32:00.960
It has been leaked all over the places in older versions, but if you want to do it fully legally, this would be a good way to get started.

32:03.500 --> 32:06.000
So how does it look like when we actually run this?

32:06.000 --> 32:11.240
So here I'm basically just connected to this development board.

32:12.240 --> 32:18.120
I have my wire around the charging cable and listening to the slack exchange.

32:18.120 --> 32:23.640
I then read out the key, set it to my own module and can join the network.

32:24.240 --> 32:30.280
In this case, I also spoof the MAC address of the charger itself.

32:31.120 --> 32:41.040
Because the module does filter a lot of traffic by default, which can't really be disabled in a normal firmware stack.

32:42.080 --> 32:46.800
So this is the best way to get more traffic out of it.

32:46.800 --> 32:53.240
Else all the IPv6 traffic, for example, will be filtered out and you don't only see the broadcast messages.

32:55.380 --> 33:08.840
So when you join the network, you can then, for example, dump the configuration file from a car or a charger, depending on what your victim wants to be like in this case.

33:09.340 --> 33:21.860
And if you do a strings command on the PIP file, you then also can see the firmware version of this specific PIP file.

33:22.040 --> 33:29.340
And as you see here, it was a quite late model of a car and it's running one of the very, very first firmwares.

33:29.780 --> 33:35.000
So there hasn't been any kind of update for at least eight years or plus.

33:36.320 --> 33:39.560
But yeah, you can even do more fun things.

33:41.160 --> 33:48.580
All right, so next up, we've seen that these models can do a lot if you've kind of used them in somewhat unintended ways.

33:48.580 --> 33:52.120
So now what happens if you use them in a really unintended way?

33:52.120 --> 34:00.680
So for this, we need to kind of start looking at the firmware even more to really understand what's in there and potentially what could we put in there.

34:01.720 --> 34:06.640
So it's basically time to start kind of having a bit of look at the reverse engineering of these chips.

34:06.640 --> 34:12.600
So first, if we just start to look at the developer board, we have the kind of small chip, which is the QCA7000.

34:12.600 --> 34:14.520
That's the communication model itself.

34:14.600 --> 34:17.540
And I said that it connects to the host system via Ethernet.

34:17.640 --> 34:23.100
Turns out that's not entirely true because the chip doesn't have an Ethernet hardware in it.

34:23.100 --> 34:26.100
So it needs this external Ethernet to SPI adapter.

34:26.480 --> 34:31.020
But the packets themselves, logically speaking, are still full Ethernet frames going through.

34:31.760 --> 34:40.900
More importantly, though, it also needs an SPI flash chip, at least if you're not using the host booting setting, where it stores the firmware and it stores the PIB.

34:42.120 --> 34:53.680
So the next logical step, if you kind of want to see what's going on inside of the chips, especially since you are not able to just download the firmware from the Internet, is to dump the flash chip and see what's really on there.

34:53.680 --> 34:55.280
What is this chip running?

34:56.360 --> 35:07.460
So conveniently, if we take a look at OpenPLC utils and start digging through the source code, there are actually all the tools necessary for doing a firmware update for modifying the PIB.

35:07.460 --> 35:14.920
Turns out they like reusing code, and the code is to do something called NVM chains, the non-volatile memory chains.

35:14.920 --> 35:18.920
This is the kind of way they store data in flash.

35:18.920 --> 35:22.000
It's essentially a doubly linked list of headers and blocks.

35:22.020 --> 35:29.440
Each of the headers contains the checksum for itself, the checksum for the data, as well as some metadata about what's to follow.

35:30.080 --> 35:36.320
I should note that I didn't find any signatures anywhere, so it's all just a really, really simple XOR checksum.

35:36.320 --> 35:40.840
And the code for it, again, is conveniently provided by OpenPLC utils already in C.

35:40.840 --> 35:43.040
So no need to reverse engineer any of that.

35:44.140 --> 35:47.700
So we understand this kind of structure of the chains.

35:47.700 --> 36:04.220
They actually are really convenient, because the first block in every chain is always something called a manifest, which is a bunch of actual, quite human-readable text of build numbers, build dates, version numbers, this type of thing that might be interesting to understand what you're looking at.

36:04.500 --> 36:10.020
So if we dump the flash chip, what we're really expecting to find is basically the firmware and the PIB, right?

36:11.000 --> 36:16.680
Well, we did the dump, and the first thing we see is, indeed, right at the start of the flash chip.

36:16.680 --> 36:19.500
It's only two megabytes, so not too much to go through.

36:19.740 --> 36:23.080
It's something that describes itself as a soft loader.

36:23.540 --> 36:28.760
It's also reasonably short, and it just seems to be some sort of, essentially, bootloader code.

36:28.800 --> 36:36.740
And additionally, it has something at the end called the flash layout section, which describes everything else that we are about to find on this flash chip.

36:37.020 --> 36:39.720
So the next thing is the firmware chain.

36:40.040 --> 36:44.320
So this contains a bunch of modules with the names as shown on the screen.

36:44.320 --> 36:47.260
I don't fully understand what they actually do yet.

36:47.260 --> 36:52.160
They seem to be probably some sort of initialization modules to really set everything up.

36:52.700 --> 36:57.140
And then at the end, we have the actual firmware section.

36:57.260 --> 37:11.440
And inside the firmware section, they really like NVM chains, so there is an entire second NVM chain inside of this data block, which contains a very, very short firmware section and a very, very long high-entropy binary blob.

37:11.960 --> 37:20.560
Now, this, when I saw it, kind of really sucked because if it's some high-entropy blob, this obviously means that they've done the logical thing to encrypt their firmware.

37:21.400 --> 37:24.420
But let's just keep poking around just to see what else we can find.

37:24.420 --> 37:28.440
So there is an area for custom modules, apparently, which is entirely empty.

37:28.440 --> 37:30.880
I'm not entirely sure who uses it.

37:31.000 --> 37:33.820
There is also a PIB section, which is as expected.

37:33.900 --> 37:39.700
A scratch area, which just seems to be kind of fragments from memory copying, probably during the firmware update process.

37:39.780 --> 37:43.280
And then an entire backup of the firmware, just in case something were to happen to it.

37:45.000 --> 37:56.420
So, an approximation for how the boot process works is that some sort of boot loader loads the soft loader, and then the soft loader loads all of these initialization modules.

37:56.440 --> 38:07.780
The initialization, and after that, it loads the actual kind of the small firmware image, which is probably some sort of decryption final loading stage, and then it jumps into the big blob.

38:08.840 --> 38:19.140
So, we wanted to kind of go deeper in and we started by looking and reverse engineering the code for the actual firmware loading section.

38:19.480 --> 38:22.920
So , it is just ARMv5 instructions.

38:26.540 --> 38:39.380
And yes, what it does is, much as we expected, it loads in the big binary blob from Flash, and then it calls to a function in the high F address range, and then it jumps into the blob.

38:39.380 --> 38:44.800
Now, this high F address range is entirely separate from everywhere where content from the Flash is getting loaded.

38:45.020 --> 38:48.140
So, if we want to track down this code, we must look somewhere else.

38:48.780 --> 38:56.820
And with a bit of research, we quickly also found out that ARM uses an entry point up in the high Fs, at least it's one of the options.

38:57.220 --> 39:01.860
And so, we assume that this must be in somewhere in the boot loader, which is great.

39:01.860 --> 39:04.780
However, the boot loader is on the chip itself.

39:05.300 --> 39:09.300
And if they don't give us the firmware, they're definitely not going to give us the boot loader.

39:09.900 --> 39:11.740
So, how do we get this?

39:11.740 --> 39:13.560
Well, we do have code execution.

39:13.900 --> 39:21.140
As I said, a bunch of these modules right before the firmware itself gets loaded, they're just plain binaries on the Flash.

39:21.460 --> 39:25.300
I can easily write to them via a chip clip, at least.

39:26.280 --> 39:29.160
And, yes, I can create my own custom code.

39:29.160 --> 39:31.660
This is easy, and there's also no signature checking.

39:31.700 --> 39:34.040
The checksums are very easy to calculate.

39:34.100 --> 39:35.180
So, that's all good.

39:35.180 --> 39:37.060
I just need some sort of IO.

39:37.480 --> 39:39.760
Now, this is a communication modem after all, right?

39:39.760 --> 39:40.980
So, that should be very easy.

39:40.980 --> 39:42.800
The whole thing is full of IO.

39:42.900 --> 39:51.620
It has PLC, which is true, except the PLC subsystem is only ever initialized by the firmware, which I have not seen.

39:51.620 --> 39:54.220
So, I have absolutely no clue how to use the PLC hardware.

39:54.600 --> 39:58.460
Same thing applies to the Ethernet interface and to the GPIOs.

39:58.500 --> 40:01.980
The only IO we've actually seen is reading from Flash.

40:02.000 --> 40:11.480
Because of how the write protect works, I don't exactly know how you can write to Flash, because I would need to toggle some more GPIOs to actually enable the write feature of the Flash chip.

40:11.680 --> 40:13.140
But at least I can read.

40:13.560 --> 40:17.320
So, I came up with a rather simple little attack script.

40:18.000 --> 40:19.460
Don't mind the assembly.

40:19.460 --> 40:27.880
That's just to make sure that relative memory addresses are aligned exactly as they need to be when you actually slot this code in somewhere into the soft loader.

40:28.280 --> 40:39.840
But essentially what it does is it goes through the bootloader address space and takes the data that we would like to exfiltrate and treats it as a Flash address and then issues a write command to that address.

40:40.140 --> 40:45.140
Now this is in a sense entirely useless because we're just reading from random locations on the Flash chip.

40:45.140 --> 40:46.340
It's a null operation.

40:46.540 --> 41:00.020
But if we hook up a chip clip or some sort of chip debugger, we can actually record the SPI traffic coming out of the chip and by slowly reassembling all of the addresses, we can actually figure out what the entire data it's sending is.

41:00.400 --> 41:02.880
And so this is how we got out the entire bootloader.

41:03.600 --> 41:08.060
So now that we have the bootloader, we could actually start engineering this as well.

41:08.360 --> 41:11.840
And we found quite a lot of interesting stuff in here.

41:11.960 --> 41:16.220
So we found the SPI subsystem, which connects to the host interface.

41:16.320 --> 41:21.520
We also found SPI to our Flash in slightly more detail than we've been able to see so far.

41:21.760 --> 41:25.580
We've also found evidence of an entire Ethernet driver.

41:26.340 --> 41:33.980
So even though the chip itself doesn't directly support Ethernet, it seems like there might be other hardware variants which have the hardware integrated.

41:33.980 --> 41:36.880
And so the bootloader code already contains this as well.

41:37.500 --> 41:45.340
Now, all of this is pretty painful to go through because it seems to have been compiled from C++ or some similar language.

41:45.340 --> 41:51.320
So there are a lot of virtual function tables and similar other kind of complexities.

41:51.320 --> 41:58.160
Also many, many layers of pointers jumping around, even though they all point to entirely fixed hard-coded addresses.

41:59.880 --> 42:02.500
So anyways, it's been a fun reversing task.

42:02.500 --> 42:05.060
And we could also look at the mysterious decryption function.

42:05.120 --> 42:09.940
Turns out it was standard LZMA compression with default settings.

42:11.300 --> 42:17.580
So that's in a sense good, because at least it means I don't need to break any encryption here.

42:18.800 --> 42:21.760
So for the next steps, what can we do?

42:21.760 --> 42:25.460
Well, we would like to create proper C headers for all of the peripherals.

42:25.460 --> 42:36.740
We've been able to kind of find some of the functions which do certain tasks with the peripherals, but we don't fully understand the memory-mapped IO registers themselves or necessarily all of the parameters in detail yet.

42:37.740 --> 42:48.020
And then also now that we know how to actually decrypt the main, or decompress the main firmware image, we can start decompiling that to see what sort of secrets are hiding within.

42:48.540 --> 42:55.520
We can also, once we have this firmware, start reversing the interface towers, the PLC subsystem, so the actual PLC hardware.

42:55.920 --> 43:00.560
I have a suspicion that there is quite a lot that's happening purely in software.

43:00.860 --> 43:15.620
So if you're able to really reverse this firmware and start creating your own, then that's going to open up the whole possibility of doing a lot with kind of the building block RF hardware that's inside of this chip to make kind of weird new custom protocols.

43:16.760 --> 43:21.460
So yeah, this would then allow us to do everything that we need to properly create custom powerline firmware.

43:21.820 --> 43:35.900
Now, unfortunately, we didn't quite get this far before the talk started, but in one of our calls, kind of planning for this conference, Jan asked me, but we really should do a demo and can it run Doom?

43:37.500 --> 43:42.120
So a normal person would have probably laughed this off as a joke.

43:42.600 --> 43:45.360
Anyway, I started reviewing the situation carefully.

43:45.360 --> 43:48.420
First of all, we have very limited flash and very limited RAM.

43:48.420 --> 43:53.160
I also don't know how much RAM we have, and I don't know what address the RAM is at.

43:53.880 --> 43:55.240
Again, no documentation.

43:55.240 --> 43:57.960
I only know some small address spaces that I can use.

43:58.640 --> 44:00.020
We have I.O.

44:00.020 --> 44:05.560
We have, now that we've seen the bootloader code, actually access to the Ethernet to get off of the chip.

44:05.820 --> 44:09.940
There is, of course, no screen or human input device or anything like that connected, though.

44:10.320 --> 44:12.000
There's also no operating system.

44:12.000 --> 44:13.020
It's just a single core.

44:13.020 --> 44:14.660
It's essentially a microcontroller.

44:14.820 --> 44:17.460
I mean, after all, this is a communication chip.

44:17.460 --> 44:20.920
This is not supposed to be the brain of your charging system .

44:20.980 --> 44:23.460
This is an equivalent of a Wi -Fi chip.

44:24.020 --> 44:26.240
There's also no floating point, as you may assume.

44:26.240 --> 44:29.140
So yes , so in short, yes, yes, it can.

44:30.000 --> 44:37.560
So we created this simple little demo here where we have the power line modem and it's connected just to my computer via Ethernet.

44:37.620 --> 44:46.360
And then as I power on the modem, it will slowly start to boot, initiate a UDP connection and start sending back frames.

44:46.360 --> 44:53.140
Now the frames are somewhat low resolution because I needed to fit every frame into a single UDP packet.

44:54.440 --> 44:59.240
But yes, and then in turn my computer sends back,

45:06.560 --> 45:11.460
yes , and then in turn I just send back the keyboard and mouse input to the chip also via UDP.

45:11.460 --> 45:13.960
And so all the rendering is just happening on chip.

45:14.520 --> 45:17.280
And then as we unplug it, as expected, the frames stop coming.

45:18.840 --> 45:20.800
And yeah, this can run in real time.

45:20.800 --> 45:27.320
So the chip does have some amount of processing power to it, though it did take some optimizing to get it to run at a reasonable frame rate.

45:27.780 --> 45:30.500
It's a communication chip not designed for 3D graphics.

45:35.020 --> 45:40.400
All right, you shouldn't take everything so serious when I say.

45:45.400 --> 45:54.780
All right, so as we've shown, there are multiple issues with the standard and the chip everyone uses.

45:55.060 --> 46:01.160
And one of the issues is even these development boards can't be bought privately.

46:01.160 --> 46:08.400
This can only be bought business to business, which makes security research quite limited.

46:08.400 --> 46:14.860
But we definitely need more research in this field.

46:14.860 --> 46:25.360
There's basically nothing public and security by obscurity never works, especially as soon as you dump the firmware in the bootloader.

46:25.480 --> 46:26.980
It's kind of open source anyway.

46:26.980 --> 46:39.670
So therefore, we would recommend that the standard goes fully public, even though it's vendor-specific implementation.

46:40.360 --> 46:46.120
For the signal leakage, well, yes, you could use shielded cables.

46:46.120 --> 46:51.360
I've seen a lot of discussions about this when it came to the original broken wire tech.

46:52.820 --> 46:56.780
Yeah, you need to connect the shield to something, right?

46:56.780 --> 46:59.420
And what is it connected to in most cases?

46:59.420 --> 47:00.880
To ground.

47:00.880 --> 47:03.560
But we can attack near the ground as well.

47:03.560 --> 47:06.500
So the shielding doesn't help at all.

47:08.060 --> 47:16.900
Something I like to tell people, maybe I show them like a piece of wire, and I say, what's the difference between this piece of wire and an antenna?

47:16.900 --> 47:17.520
Nothing.

47:18.020 --> 47:21.600
Yeah, so everything radiates.

47:21.600 --> 47:35.320
So you could add some kind of ferrite cores at some end, but then you can still attack via the other one because the communication in between still needs to be undisturbed.

47:36.200 --> 47:38.200
Then what about network intrusion?

47:38.200 --> 47:40.440
Yes, you could implement secure slack.

47:40.440 --> 47:42.310
It's actually defined in the standard.

47:42.620 --> 47:44.180
It's not there anymore.

47:44.180 --> 47:52.920
But even if you would implement secure slack so you can't intrude into the network, it wouldn't work.

47:52.960 --> 48:03.700
The issue is there are already a lot of chargers out there, a lot of cars out there, and not all manufacturers are able to remotely update the firmware.

48:04.080 --> 48:09.880
So you need to have a downgrade version where this attack is still possible again .

48:10.340 --> 48:18.280
So with these issues, we're probably talking about five to 10 years in a reasonable time frame to be resolved.

48:19.520 --> 48:24.960
And this is a big issue because the EV industry is growing.

48:24.960 --> 48:26.600
It is critical infrastructure.

48:27.500 --> 48:32.620
So we need more people to take a look at it, break it.

48:32.880 --> 48:42.220
We are happy if people break our product, but please ask for permission from the owners because we don't operate the chargers.

48:42.220 --> 48:46.720
We sell them and some other company is actually managing them.

48:46.720 --> 48:50.460
So please ask for permission again and be very careful.

48:51.280 --> 48:57.780
But in my personal opinion, we should get rid of PLC in the long term anyway.

48:57.780 --> 49:03.760
It should stay where it should be in your home network if you really need it.

49:04.300 --> 49:17.740
Because what we have found, and again, we can't share everything yet, it is fully broken, in my opinion, and I don't see any reasonable fix coming.

49:17.760 --> 49:21.540
And there are different standards out there, like CAN.

49:21.540 --> 49:25.560
Yes, CAN is also not really secure, but it's better in a sense.

49:25.560 --> 49:28.760
Or now with MCS, it's basically Ethernet.

49:28.820 --> 49:31.500
Remove the unnecessary complexity.

49:31.760 --> 49:37.860
There are not more than enough attack vectors in the Ethernet IP stack in itself.

49:38.240 --> 49:40.800
No need to make it more complex as need be.

49:42.960 --> 49:44.700
And yeah, that's it.

49:44.700 --> 49:45.840
If you have any questions...

49:52.580 --> 50:02.920
And we also put some references here, which might get you help started in researching this topic.

50:03.920 --> 50:05.080
But yeah.

50:06.880 --> 50:07.980
All right.

50:08.360 --> 50:09.280
Sure.

50:10.240 --> 50:11.160
Yeah.

50:18.120 --> 50:22.080
It depends on the manufacturer.

50:22.080 --> 50:26.760
Most car manufacturers, especially in Europe, I haven't tested any in the US.

50:26.760 --> 50:30.060
I did have a chance to test some in Asia.

50:30.060 --> 50:34.100
They use host boot, so it wouldn't be a persistent attack.

50:35.460 --> 50:39.100
But you can still attack the PLC communication.

50:39.160 --> 50:51.220
And depending how their internal ECU network setup is, you could theoretically, with some spoofing attacks, break into internal networks , for example.

50:51.220 --> 50:57.940
So it's more like an initial attack vector than a full exploit you have root or something.

51:16.880 --> 51:20.480
So the spec explicitly says it should be interoperable.

51:20.480 --> 51:28.360
And I don't think we did, but there is some work out there of people using these home adapters and getting them to talk to chargers.

51:28.360 --> 51:29.480
So you can do it.

51:31.520 --> 51:42.240
So with the home plug modules you have at home, they run on AC and neutral most of the time.

51:42.380 --> 51:48.520
And here it's PE and DC, or yeah, 24 volts.

51:48.520 --> 51:50.040
But it's basically the same.

51:50.040 --> 51:54.620
So it does work somewhat, but it really depends on the firmware versions.

51:54.620 --> 51:58.300
So there are some hoops you need to run.

52:01.520 --> 52:10.080
Interface into this kind of an app, or you're actually, what you're doing is it's superimposing itself on what's called a control pilot system.

52:10.520 --> 52:11.440
Exactly.

52:11.560 --> 52:16.060
It's a matter of really just changing up the coupling transform of what they use.

52:16.280 --> 52:17.040
Yep.

52:20.910 --> 52:22.590
Any more questions?

52:34.190 --> 52:40.690
The box you talked about, again, to do the grounding attack, have you all tried that or is that the next step of research for you both?

52:41.510 --> 52:44.490
We have attacked via the ground successfully.

52:44.490 --> 52:50.590
It does work, but we're not sharing everything at this moment.

52:51.790 --> 52:58.750
And the whole vulnerability in itself, like with the security bit, is unpatched, by the way.

52:58.750 --> 53:01.830
There's no security fix by Qualcomm yet.

53:09.230 --> 53:11.210
Is it enabled to secure the good things by

53:14.980 --> 53:15.580
Qualcomm ?

53:17.280 --> 53:21.320
Yeah, so funnily enough, Tesla actually just recently made a change.

53:21.320 --> 53:29.040
Tesla used to be CAN, and then they wanted to be interoperable with everyone else, so they now switched to ISO 15118.

53:30.720 --> 53:37.820
So yeah, it can probably be, you can probably start doing it in a way that you make, put both hardware in there and you eventually switch it over.

53:38.000 --> 53:42.460
Evidently, if Tesla could put both into the same car, then it is possible to do.

53:43.760 --> 53:51.640
But yeah, I don't know if anyone's really going to start doing this, because first you need the standards to be set up, and then for them to be some reason to do.

53:54.900 --> 53:56.160
I know, of course.

54:02.710 --> 54:07.690
Yeah, I would say it's not really feasible for the big picture.

54:08.130 --> 54:15.230
There are some manufacturers, car manufacturers, who claim they build MCS cars.

54:16.030 --> 54:20.690
So with the MCS adapter, which would be just Ethernet, automotive Ethernet.

54:21.210 --> 54:25.990
But I don't believe this will be widely adopted.

54:28.830 --> 54:36.370
Yeah, also we did, so we did this measurement study I mentioned, also looking into the protocols is the archive link you can see on screen as well.

54:36.410 --> 54:44.390
And there we found that about half the chargers still use the 2012 version of the actual communication, like IP stack.

54:44.390 --> 54:46.590
So like protocol.

54:46.790 --> 54:49.870
So it's even though this is, this is really just a software update.

54:49.870 --> 54:53.110
And this whole protocol is designed in a way that it has version negotiation.

54:53.110 --> 54:56.590
So if you just put the new ones on, it won't harm anything.

54:56.870 --> 54:59.150
They still just don't have the new ones on.

54:59.450 --> 55:00.190
So yeah.

55:00.990 --> 55:01.870
Cool.

55:03.330 --> 55:05.230
Yeah, thank you for the answer.

55:05.430 --> 55:06.230
Thanks.

