[00:00.000 --> 00:05.980] Right, so this is redeploying the same vulnerabilities. This is a talk about EV security work that [00:05.980 --> 00:10.180] we've been doing for a little while together, and some of how we're seeing the same vulnerabilities [00:10.180 --> 00:14.960] that have existed for a long time coming back in modern standards. [00:17.790 --> 00:23.390] So this is Sebastian, and I'm Richard. We both work at Oxford University. We've been [00:23.390 --> 00:29.350] doing vehicle security stuff, among other stuff, for about five years now, really focusing [00:29.350 --> 00:34.950] on EVs and charging security, the security when you plug it into charge. And that's all [00:34.950 --> 00:38.770] we're going to be talking about today, and then some thoughts about where that field [00:38.770 --> 00:39.650] is going. [00:42.580 --> 00:48.540] Right. So we've probably all seen something like this, like a charging park, as shown [00:48.540 --> 00:54.000] on this slide. Actually, back in December 2022, this was supposed to be the largest [00:54.000 --> 01:00.840] charging park in Europe, with, I believe, 56 charging outlets, DC fast charging outlets. [01:00.840 --> 01:05.460] But this keeps changing, so every week we hear about the new largest charging park. [01:06.840 --> 01:13.520] But EV charging is not just for cars. We can now see electric trucks, like this one here. [01:14.500 --> 01:22.580] Buses, so public transport is currently electrified. This shows a bus depot in Hamburg, and I don't [01:22.580 --> 01:29.500] know if you can see, but there are wires actually hanging down from the ceiling, and these are [01:29.500 --> 01:35.600] charging cables. So all these buses you can see here are fully electric. Another example [01:35.600 --> 01:46.600] is this, sorry, another example is this ferry. I'm going to switch to this. Yeah. This ferry, [01:46.600 --> 01:53.700] you can see it charges also with, it's electric, and it has 28 charging cables, so they charge [01:53.700 --> 01:59.020] simultaneously with 28 charging cables. But there's also now a move in the mining industry, [01:59.020 --> 02:05.320] so making mining greener, so electrifying mining equipment. And, yeah, why did I tell [02:05.320 --> 02:10.820] you all this? Well, all of these examples use actually the same charging standard, which [02:10.820 --> 02:17.340] is known as the combined charging system, or short CCS. So I don't know, most of the [02:17.340 --> 02:21.800] people are probably familiar with the left one, which is the combined charging system [02:21.800 --> 02:28.420] plug type 1, which is used in the U.S., and on the right is the one that is used in Europe. [02:28.420 --> 02:34.300] It's exactly the same technology, underlying technology, it's just a different plug type. [02:35.040 --> 02:40.860] So of course there are much more charging standards, as we can see on this overview [02:40.860 --> 02:46.920] here, but in this talk we are going to focus on DC charging using the combined charging [02:46.920 --> 02:56.180] system. So why is CCS so interesting for us? Well, CCS is actually using a power line communication, [02:56.180 --> 03:00.540] so the car and the charger are communicating during a charging session all the time. So [03:00.540 --> 03:05.580] the car is telling the charger, hey, this is how much electricity I need, this is the [03:05.580 --> 03:11.040] maximum current, the maximum voltage, this is my state of charge, and the charger actually [03:11.640 --> 03:18.200] confirms these messages and also, yeah, exchanges information about the charging session. There [03:18.200 --> 03:23.940] is more communication actually going on. For example, with plug and charge, you can actually [03:23.940 --> 03:28.880] plug in your car and leave without tapping a card or using an app. It will automatically [03:28.880 --> 03:33.120] send your credentials to the charger and the charging session will be authenticated. [03:38.530 --> 03:43.830] So yeah, it's quite a detailed charging standard. There's a range of open standards that underpin [03:43.830 --> 03:48.370] it, and this is why it was quite interesting to us. It was also getting deployed very, [03:48.370 --> 03:51.790] very widely, even when we first started working on this, and that's a lot of infrastructure [03:51.790 --> 03:55.850] that's being built, going to be expensive, going to be hard to change, so keen to get [03:55.850 --> 04:02.450] in early. And even then, and ever since, we've been finding insecurities in a lot of [04:02.450 --> 04:06.170] charging infrastructure, and that made us concerned about the kind of things we were [04:06.170 --> 04:11.110] deploying. So particularly for CCS, we were interested in this power line communication [04:11.110 --> 04:16.350] because it comes from a system called HomePlug, which was originally these little plug-in [04:16.350 --> 04:21.570] adapters you'd use at home for Wi-Fi extension, and there were some issues known about these [04:21.570 --> 04:25.650] in the past, and particularly, they were built for a different threat model. In-home, shared [04:25.650 --> 04:32.550] keys, not a kind of open public access network. Also, they were known decades ago, frankly, [04:33.180 --> 04:37.690] to be able to leak their signal radiatively out of cables, and this wasn't necessarily [04:37.690 --> 04:41.150] too much of a problem at home, but it's interesting when you see this deployed in a different [04:41.150 --> 04:50.470] setting. And, of course, part of deploying CCS and the new world of connected charging [04:50.470 --> 04:54.370] was that there were lots more services. There's not just talking car to charger, but also [04:54.370 --> 05:00.150] out to systems behind the scenes, providing additional services, you know, automated billing, [05:00.150 --> 05:04.470] reactive charging, load balancing, all of these things that depend on having a nice [05:04.470 --> 05:12.760] secure link. And so it was kind of quite interesting to us. So we'll talk about a couple of bits [05:12.760 --> 05:17.260] of work here. We started with just a purely passive threat model. So what is it that someone [05:17.260 --> 05:22.700] just eavesdropping might want to do? Well, as ever, lift some fingerprints and have some [05:22.700 --> 05:28.360] privately identifiable information, of course. And then also we thought maybe there'd be [05:28.360 --> 05:32.440] some opportunity for billing fraud here. So there is a system called AutoCharge, which [05:32.560 --> 05:37.600] a couple of networks implement, which just uses identifiers that are pretty much public. [05:37.600 --> 05:41.580] If someone could lift these, then they could use them to start to pretend to be people. [05:44.200 --> 05:50.560] And threat model's fairly simple. It's a kind of motivated hobbyist. Not a lot of information, [05:50.560 --> 05:54.580] deep technical knowledge to fully build systems from scratch, but someone that can run some [05:54.580 --> 06:03.360] code and has access to off-the-shelf hardware. Not much more than that. So for a particular [06:03.360 --> 06:10.600] attack, like one example, we had a look at signal level attenuation characterization, [06:10.600 --> 06:17.200] SLAC. It's a SLAC attack. And this is a system that, in my opinion, probably shouldn't have [06:17.200 --> 06:21.200] existed in the first place. This is part of the initialization routine of a charging [06:21.200 --> 06:27.100] session, where the car and the charger need to make sure that even though they're connected [06:27.100 --> 06:32.900] with a big cable, they're actually talking to the right charger. Because there's so much [06:33.440 --> 06:38.660] potential for crosstalk, conducted or radiative, that you could just be talking to the charger [06:38.660 --> 06:46.700] next door, like two, three meters away. That seems a little bit... a bad smell in designing [06:46.820 --> 06:54.140] a system. Also, there's a big long protocol here. I mean, you initiate the SLAC session, [06:54.140 --> 06:59.040] you test the attenuation, and all the chargers that can hear respond, and then you pick the [06:59.040 --> 07:04.760] one that has the lowest attenuation. So that's probably the one you're talking to. In step [07:04.760 --> 07:09.840] six and seven, you say, oh, okay, I've picked you. You're the charger for me. Can I join? [07:09.840 --> 07:16.160] And he goes, yeah, sure. The shared key is this. And that's just in the clear. Unless [07:16.160 --> 07:20.140] you've got this security mode turned on, which we've never seen happen, this is just [07:20.140 --> 07:25.380] given to the car. And so anyone that can lift that has a key to the network. There's some [07:25.380 --> 07:32.480] authentication later, but once you've got the master key, you're in. So can we do this [07:32.480 --> 07:38.680] in the wild? Well, we set up an experiment. So we got a car, we ran around some charging [07:38.680 --> 07:43.340] stations, and then we just set up software-defined radio. We've done this with different equipment [07:43.340 --> 07:49.100] setups over time. And just put the antenna at various points in the car, around, nearby, [07:49.240 --> 07:52.540] a bit of an exploratory thing to just see what kind of signal we could collect and whether [07:52.540 --> 08:01.280] we could use that for something. And we did quite a sort of long evaluation. 800 miles [08:01.280 --> 08:06.820] of driving, there were three cars at the time. Every now and then we pick up an electric [08:06.820 --> 08:13.180] car rental and we test it a bit further. But even then, 14 locations, six networks, enough [08:13.180 --> 08:17.080] to have a good overview of what was happening in the industry, all in the UK, where we're [08:17.080 --> 08:22.660] from. But all kinds of places, you know, service stations, hotels, wherever we could find a [08:22.660 --> 08:32.300] CCS charger. And to put it into a bit of perspective, so these are places where we're placing the [08:32.300 --> 08:36.380] SDR antennas. Some of it was super, super close range. You're inside the car, we're [08:36.380 --> 08:39.520] interested in whether the signal is leaking out from the cable, whether it's leaking out [08:39.520 --> 08:45.380] from the car, which part of the electronics. Some of it was further away. You'll notice [08:45.380 --> 08:51.720] it's even sunny in England sometimes, as this picture shows. Here we've got someone [08:51.720 --> 08:58.360] just behind the car, in a bay behind, you know, probably five metres away. And you're [08:58.360 --> 09:02.740] not going to suspect someone there for picking up your signal. And the other one on the right, [09:02.740 --> 09:08.360] it's about four metres away, next bay. But this is, you know, a reasonable short distance. [09:11.230 --> 09:14.590] And even some with two vehicles. So this is when we had the I-PACE and the Golf at the [09:14.590 --> 09:19.910] same time, and we just went to, you know, at this point, you know, one of the bigger [09:19.910 --> 09:24.670] charging parks we could get to. Of course, now that's changed and you have easily 50. [09:24.670 --> 09:29.130] But here, two was enough, and just one radio shared between in multiple sessions being [09:29.130 --> 09:38.500] picked up. And so the end result was we picked up a signal basically every hour we were in. [09:38.680 --> 09:45.540] You could certainly see on like a frequency plot, so these plots in the top right, they're [09:45.540 --> 09:51.420] all spectrums. You can see this distinctive frequency usage that you get with HomePlug. [09:51.420 --> 09:55.600] So you notice these deep notches, they're in there to not interfere with amateur bands. [09:55.880 --> 09:59.860] The fact that you've got this little visual fingerprint kind of already tells you that [09:59.860 --> 10:05.800] you're picking up the signal. The other thing to say is it vastly varies between location, [10:05.800 --> 10:10.760] between site, between charger hardware, how much of the signal came through, and how much [10:10.760 --> 10:14.520] noise. You've got all of these noise spikes around. You've got a lot of, you know, high [10:14.520 --> 10:19.180] power electrical, um, devices working there to provide the charging, so you get a lot [10:19.180 --> 10:24.080] of noise when the charging starts. But point is, we could pick up the signal everywhere [10:24.080 --> 10:30.300] we went. And then we built a receiver. So this is, this is open source, this is entirely [10:30.300 --> 10:35.520] software receiver. It takes a file in of just the raw signal, and then it processes it and [10:35.520 --> 10:40.800] pulls out the packets it can find. Um, and this is pretty much just doing what a normal [10:40.800 --> 10:47.220] modem would do, but it's open instead of in a, a proprietary IC. Um, so it, it detects [10:47.220 --> 10:52.300] the packets, it synchronizes on them, it does all the OFDM, and then at the end, spits out [10:52.300 --> 10:58.060] everything it possibly can. So messages, keys, uh, messages that fail to decode, but you [10:58.060 --> 11:01.540] might be able to get some data out of all of these, dumps them into a big database. [11:02.520 --> 11:06.760] Um, and as I say, it's available. If it's useful to community, please use it. Please [11:06.760 --> 11:14.770] build on it. So, I mean, this is a big table of numbers, you don't really need to read or [11:14.770 --> 11:20.270] parse it very much. The important things are probably left-hand column, lots and lots of [11:20.270 --> 11:25.450] messages, you know, thousands, big variation, some sites very bad, some sites much better, [11:25.450 --> 11:29.990] but lots of messages. Uh, column on the right, these are messages that fully validated their [11:29.990 --> 11:35.010] CRCs, and so these are ones that are good. So the, these are both metrics of how, how well [11:35.010 --> 11:43.710] we were able to pick it up. So, for two examples there, you know, next to the cable, [11:43.710 --> 11:49.650] beautiful clean signal, very easy, um, and is nearly 100% of the messages that are valid. [11:49.650 --> 11:53.610] And they're all modulated slightly differently depending on which, which bit of the protocol [11:53.610 --> 11:58.830] they're in. So, some of them are easier to pick up than others, but overall, you can pick up [11:58.830 --> 12:03.390] enough to have, uh, a whole session. And a bit further away, of course, the performance [12:03.390 --> 12:09.030] falls down. We're still picking up some, you know, the bay next door or the bay behind, [12:09.030 --> 12:13.870] and I think with more equipment optimization, this was just stuff we had in the lab, [12:13.870 --> 12:25.980] you could, you know, increase this number further. And then, from that, we had, uh, we, we ran our [12:25.980 --> 12:30.800] bit of code, it took a long time to perfect, um, but then out of individual messages, [12:30.800 --> 12:37.240] we just dumped out values. And so, what we're seeing here are messages we received from the [12:37.240 --> 12:43.120] end of this Slack, um, protocol. So, in the, you can see in this sort of key column, [12:43.120 --> 12:48.500] which messages it's coming out of and which value we're, we're getting. And two are interesting [12:48.500 --> 12:54.600] here. One, for this privacy and fingerprints or identifiers issue, there's a vehicle Mac, [12:54.600 --> 12:59.880] we ended up getting the same cars multiple times over a period of months. These didn't change, [12:59.880 --> 13:04.460] the Mac addresses, you could rotate them fine, um, but they weren't being rotated. [13:06.180 --> 13:12.280] Some manufacturers and some batches of cars did not have vehicle unique identifiers, [13:12.280 --> 13:15.800] and we see this happening in auto charge, actually. Some vehicles are not compatible [13:16.760 --> 13:22.240] because some of the Macs are zeroed. The majority that we saw did have completely unique Macs, [13:22.240 --> 13:26.480] you can identify that car forever from that, and you can pick it up later sessions as normal. [13:28.000 --> 13:36.080] Um, then there's also, of course, the key. Um, this arrives a few seconds into starting a session, [13:36.080 --> 13:40.540] you pick it up, I mean, that's the key in plain text there, you also get it in Wireshark, [13:40.540 --> 13:45.180] and then from then on, the code automatically starts to decrypt the rest of the session [13:45.180 --> 13:54.770] once it's got that key. We're also outputting traffic to Wireshark, [13:54.770 --> 13:58.510] it's a little bit of a messy capture here, but you can kind of see the process evolving. [13:58.510 --> 14:03.910] So at the top, you know, there's this request to get the master key, that's the stages 6 and 7 [14:03.910 --> 14:10.570] I was talking about before, getting it back, and then trying to find the controller that's [14:10.570 --> 14:15.970] actually going to initiate the charge. Keen observers on the blue lines, it talks support [14:15.970 --> 14:21.530] 15118, that's the ISO number of the standard, that was a kind of fun little easter egg, [14:21.530 --> 14:27.210] and then it sets up tunnel, and then sets up higher communication where there's a whole stack [14:27.210 --> 14:33.150] of things. There's IP communication, then there's TCP on top, then maybe there's crypto on top of that, [14:33.150 --> 14:37.870] and then there's just sending XML back and forth for state of charge, for charging speed, [14:37.870 --> 14:44.390] temperature, and all these other things. That's also up where you would have automated billing [14:44.390 --> 14:54.190] and stuff. Per the standard, all of those would require you to have a TLS session. So I'm not [14:54.190 --> 15:00.150] saying that there is traffic for that, that we've ever seen unencrypted or accessible from here, [15:00.150 --> 15:06.750] you're only getting the lower layers. There's also a lot of support though for external additional [15:06.750 --> 15:11.870] services to be built on. This is ultimately an IP link, right, with two Linux boxes either end, [15:11.870 --> 15:15.830] you could put any services you want, you can open additional ports, you can have a web interface, [15:15.830 --> 15:18.870] and so on. And there's some talk about that, although we haven't seen it much in the wild [15:18.870 --> 15:24.530] being deployed. But any of that, you're then back into whether the developer secures that as well [15:24.530 --> 15:30.150] as they should. For the simplest standard, DIN 70121, this is just charging. There's no security [15:30.150 --> 15:33.650] on top of that, but there's also only so much you can learn. You can get the identifier out, [15:33.650 --> 15:36.650] you can listen to traffic, but there's not too much important stuff going over it. [15:38.250 --> 15:42.530] There has been latterly some talk about different approaches to try and secure this. [15:42.530 --> 15:47.170] Some people, one particularly big manufacturer is talking about just establishing a VPN on top, [15:47.170 --> 15:54.230] which maybe goes back to your own charging provider. I mean, that or TLS is providing you [15:54.230 --> 15:58.950] some crypto either way. I think the big problem is doing the PKI to support this and having the [15:58.950 --> 16:03.950] right keys for everyone, for the charger, for the car, for the driver, for everyone involved. [16:04.210 --> 16:05.570] Still ongoing. [16:14.850 --> 16:23.250] Right. So as Richard just told us, he basically found that there is a unique, high-quality [16:23.250 --> 16:30.690] unintentional wireless channel when you use PLC charging or when you use CCS that uses PLC. [16:30.690 --> 16:36.450] So the main question we asked ourselves was, can we actually also inject? Because the charging [16:36.450 --> 16:41.490] cable is the perfect antenna, right? We can receive, it emits the signal, so can we also [16:41.490 --> 16:49.150] inject into the antenna? So we looked at what can someone do, like a threat model about active [16:49.150 --> 16:55.410] attack. So how can you actually interact with this communication and what can you do? So since [16:55.410 --> 17:01.170] CCS or in general electric vehicles are becoming part of critical infrastructure, so they will be [17:01.170 --> 17:07.630] acting as battery buffers for renewable energies, we will have vehicle-to-grid communication and [17:07.630 --> 17:13.550] feed electricity back into the grid, it's kind of important that they are available. So we need [17:13.550 --> 17:21.030] this communication, otherwise we will not be able to use these services. So we looked at, can we [17:21.030 --> 17:27.090] disrupt an individual vehicle? So this actually is probably the weakest motivation, but we just [17:27.090 --> 17:32.790] had it yesterday actually when we drove here from LA. We wanted to charge our car and all of the [17:32.790 --> 17:40.010] chargers were occupied. So could you interrupt actually one of the chargers and get the cable? [17:40.010 --> 17:45.910] No one would notice, right? So most of the cars, I don't know if you are aware of that, but most of the [17:45.910 --> 17:51.690] cars actually unlock the charging cable if the charging has stopped or is interrupted. We assume [17:51.690 --> 17:57.010] it's a safety feature, but most of the cars we tested, actually all of the cars I believe [17:57.010 --> 18:02.730] implemented this feature. So you could just disrupt a single vehicle, get the charging cable, [18:02.730 --> 18:08.750] charge yours and be happy. But of course there could be another motivation, a financial motivation [18:08.750 --> 18:16.690] for example. Back in Oxford in the UK, DPD has fully electric fleet now. I believe 40 to 50 [18:16.690 --> 18:21.730] vehicles fully electric. So if you can just knock out their entire fleet so they can't charge let's [18:21.730 --> 18:25.310] say during the night, you could just blackmail them. They will turn up in the morning and the [18:25.310 --> 18:33.850] cars are not charged. Another motivation could be unspecific disruption. So you try to disrupt [18:33.850 --> 18:39.410] as many cars as possible or as many charging parts as possible to, for example, disrupt [18:39.410 --> 18:47.350] supply chain. We saw earlier buses are getting electrified, ferries and trucks. So if you just [18:47.350 --> 18:53.710] cause widespread disruption, that's going to be an issue. Especially if we then go a few years [18:53.710 --> 19:00.490] further and look at vehicle to grid communication and bidirectional charging. I should mention [19:00.490 --> 19:07.010] maybe for this threat model or for these goals, we assume exactly the same capability. So just [19:07.010 --> 19:12.770] access to software defined radio or transmitter off the shelf you can get from Amazon. And a [19:12.770 --> 19:18.390] little bit of knowledge about digital signal processing. So we found broken wire. And broken [19:18.390 --> 19:26.370] wire exploits the CSMACA mechanism used by home plug green fi. So how did we actually find this? [19:26.370 --> 19:32.750] Well, again, we had this, there is an unintentional wireless channel. Can we inject? And then we [19:32.750 --> 19:37.470] looked at the standard, actually, and we found this interesting phrase. And this phrase basically [19:37.470 --> 19:42.310] says that the modem should consider someone else communicating if they receive a preamble [19:42.310 --> 19:49.670] with 2dB above noise. What this means is basically the receiver or the transmitter would actually [19:49.670 --> 19:55.870] stop transmitting when someone else is already transmitting to make sure there's no [19:55.870 --> 20:01.830] interference happening. For some of you who might not be familiar with CSMACA, here's just [20:01.950 --> 20:06.370] a diagram how this usually works. So let's assume you have a car and a charger. And they don't have [20:06.370 --> 20:11.990] or wouldn't have CSMACA. The car would send a message. Charger replies. All are happy. But if [20:11.990 --> 20:17.910] they send at the same time, you would have interference. So instead, actually, the home [20:17.910 --> 20:24.290] plug green fi modem checks if the channel is clear to send. And if it is clear to send, it would [20:24.290 --> 20:30.370] send the message and so on. And if it is actually not clear to send, and you can see it here, it [20:30.370 --> 20:35.550] waits for a random period of time. So it backs off and then tries again and checks is the channel [20:35.550 --> 20:42.730] now clear. And if it is, it sends the message. So on the previous slide, I just showed you the [20:42.730 --> 20:48.150] standard says someone is communicating or the channel is busy if we see a preamble 2dB above [20:48.150 --> 20:54.090] noise. And so what someone could do, actually, if we now have an attacker, someone could just [20:54.090 --> 21:00.770] during a communication, which is happening just fine, start sending a signal to make the channel [21:00.770 --> 21:09.030] look busy. So in our case, actually, that is the preamble. So here you can see home plug green fi [21:09.030 --> 21:15.530] frame. We collected by just plucking a modem into a software-defined radio. So this is in the time [21:15.530 --> 21:21.390] domain. And the first bit you can see is the preamble. So that is used to detect if someone is [21:21.390 --> 21:28.290] communicating and also do frequency offset correction and timing. And then you have the [21:28.290 --> 21:34.010] frame control and, yeah, the legacy frame control and the AV frame control. And then you have the [21:34.010 --> 21:41.010] payload. And as I said, this was collected while plucking the modem actually into our receiver. [21:41.010 --> 21:45.710] And there is also some noise, of course. And you might have already spotted it, but there's also [21:45.710 --> 21:51.430] another preamble in there. And this is a preamble which is 2dB above noise. And this preamble [21:51.430 --> 21:56.150] actually already caused the modems to back off because they consider this as, oh, someone is [21:56.150 --> 22:02.770] communicating. I need to stop. I need to wait until this communication has ended. So when we [22:02.770 --> 22:09.130] found this vulnerability, we initially tested it in our lab. We got these development boards. [22:09.130 --> 22:16.210] These boards have exactly the same Qualcomm chip as you can find it in charging stations. It's a [22:16.210 --> 22:22.430] QCA7000. And, yeah, as I said, it's exactly the same chip. We connected one to a Raspberry Pi. [22:22.430 --> 22:27.610] And this was our electric vehicle. And then the other one, which was our charging station. So the [22:27.610 --> 22:34.590] Raspberry Pi was actually just providing some traffic so we can measure packet loss and the [22:34.590 --> 22:38.050] quality or, like, examine the quality of the channel, basically. Yeah, we connected them with [22:38.130 --> 22:44.710] a charging cable. And then we had an attacker, which you can see in the lower part. We used just [22:44.950 --> 22:51.850] a super simple antenna. It's a very low frequency. So PLC is communicating at around 2 to 28 megahertz [22:51.850 --> 22:59.070] like in this band. So we set a center frequency to 17 megahertz. So we have a pretty high or [22:59.070 --> 23:04.770] large wavelength. So our antenna was actually just a bunch of wires. And I'll have a photo [23:04.770 --> 23:10.590] later where you can see it. We connected this to a small amplifier and a Lime SDR. So this setup [23:10.590 --> 23:17.870] cost you maybe, I mean, now the Lime SDR actually got quite expensive. But it was maybe $250, $300 [23:19.730 --> 23:25.870] before the chip prices. Yeah. Right. So we did some experiments in our lab, like in the [23:25.870 --> 23:31.350] university. You can see the home plug green fire modems in the back. Our attacker set up in the [23:31.350 --> 23:38.910] front. And this was roughly, I don't know, maybe 8, 9 meters. And we successfully disrupted it. [23:39.230 --> 23:46.590] So we plotted some graphs. We basically tested for a given distance how much power do we need [23:46.590 --> 23:52.190] to disrupt this charging communication. I mean, just a home plug green fire communication. [23:52.670 --> 24:00.210] And as you can see, so it's plotted in dBm and milliwatts. On the left, dBm. You can see that [24:00.210 --> 24:06.110] for a distance of 10 meters, we actually were able to disrupt this communication with less than [24:06.890 --> 24:13.970] 10 dBm or 10 milliwatts. So your Wi-Fi router is probably transmitting at around 100 milliwatts. [24:13.970 --> 24:19.490] So just to give you an idea, this is like very, very low output power. And this was from 10 meters [24:19.490 --> 24:26.610] away. So we also wanted to test can we actually disrupt between floors just for the sake of it. [24:26.610 --> 24:32.330] And, yeah, we were able to do it. So you can see on the first floor, we put the modems there. [24:32.330 --> 24:36.710] We didn't even stretch out the charging cable. So it was like a bunch of wires or just like [24:37.110 --> 24:43.110] a pile of wires. And then we were the floor below, and we had the antenna lined up and just [24:43.110 --> 24:47.210] transmitted. I can't remember exactly how much power we had for this experiment, but it was [24:47.210 --> 24:55.870] on the order of like 70 to 100 milliwatts. So, of course, we were curious. Actually, [24:55.870 --> 25:00.650] we only tested it so far in the lab. Can we actually target charging stations out in the [25:00.650 --> 25:05.450] wild? Can we test this on real cars? So we got all of our equipment into the boot of a car. [25:05.770 --> 25:10.470] Here, actually, you can see our antenna, which is just a bunch of wires I mentioned. [25:10.770 --> 25:18.210] Amplifier, LimeSDR, bench power supply, which we powered with a UPS. But we changed the setup. [25:18.330 --> 25:24.470] So now we actually just use a power bank with the step-up converter because we need 12 volts [25:24.470 --> 25:28.870] for the amplifier. So you can easily fit this in your backpack, for example. [25:29.910 --> 25:36.250] And, yeah, we tested different scenarios. So, for example, can I just attach the antenna [25:36.810 --> 25:43.130] to the side of the car or just in the boot and then drive or pass by a charger? Can we [25:43.130 --> 25:50.370] do a scenario where I'm behind some bushes and then disrupt the charging? So I would say scenario [25:50.370 --> 25:56.190] 2, 3, and 4 are commonly seen at supermarkets, for example. And then we did another one which [25:56.190 --> 26:01.330] was just focusing on distance. So we wanted to see how far can we actually go given our [26:01.330 --> 26:06.090] power budget of 1 watt, which was limited by government regulations. So we couldn't transmit [26:06.090 --> 26:12.870] higher than 1 watt. I also want to say we don't reveal which cars we tested and which chargers [26:12.870 --> 26:18.790] just because we want to stress it's a standards issue. It's not an individual car manufacturer [26:18.790 --> 26:23.490] who implemented it wrong. They follow the standard and the standard like home black green [26:23.490 --> 26:32.090] fire is just vulnerable. So these were the cars we tested. This overview just shows you it's not [26:32.090 --> 26:40.090] just cheap cars. It goes up to $150,000 cars. So it was actually quite sad. We had to drive all [26:40.090 --> 26:44.810] these cars for quite a while and then run down the batteries, charge them again, run down the [26:44.810 --> 26:53.110] battery. So it was quite fun driving the shooting break. And so, yeah, as you can see, all of them [26:53.110 --> 26:57.470] are vulnerable. It also doesn't matter what the charging capacity is. So, of course, if you [26:57.470 --> 27:02.070] charge with a higher capacity, you might have more noise. But it didn't really matter. It still [27:02.070 --> 27:10.510] worked. So we did the distance experiment. Again, 1 watt of amplification. So roughly 1 watt. It [27:10.510 --> 27:20.490] was just below. And we were able to disrupt it from around 50 meters. So what can we do to [27:20.490 --> 27:26.590] prevent this? So to prevent leaking the signal or actually having the antenna or the charging [27:26.590 --> 27:31.670] cable acting as an antenna, of course, shielding would be the way to go. But actually shielding [27:31.670 --> 27:36.770] doesn't work here very well because the cable is already quite stiff and heavy. Adding shielding [27:36.770 --> 27:43.670] might reduce the vulnerability or susceptibility to EMI. But actually in the end, you just [27:43.670 --> 27:49.330] increase the power. And since we were talking about super low transmission power here, you can [27:49.330 --> 27:57.270] buy a 10 watt, 70 watt or 600 watt amplifier in this band and you would still be good. And then, [27:57.270 --> 28:04.330] yeah, you would need to add more shielding. So it's an arms race. Another idea would be upgrade [28:04.330 --> 28:09.430] the firmware of the Qualcomm chip. And if anyone from Qualcomm is here by any chance, we would be [28:09.430 --> 28:15.490] happy to chat about this because it would be quite interesting to know if actually the pre-ample [28:15.490 --> 28:21.910] detection and the 2 dB, if this is a threshold which is set in firmware or if it's a hardware [28:21.910 --> 28:27.790] limitation. And then finally, one thing we noticed, once you disrupt the charging session, [28:27.790 --> 28:33.830] it stays disrupted. So you would need to walk there, unplug the cable, plug it in again, [28:33.830 --> 28:38.310] tap your card or activate via the app or if you have plug and charge, I guess it would do it [28:38.310 --> 28:45.110] automatically. But you would need to re-authenticate, which is a pain because if you have a [28:45.710 --> 28:52.770] depot like the DVD fleet I mentioned earlier, you'd need to go there, disrupt it, it takes 20 [28:52.770 --> 28:57.310] seconds and then you leave and it will be disrupted for the whole night. It automatically doesn't [28:57.310 --> 29:03.790] re-authenticate or re-continue the charging session. So we said, [29:03.830 --> 29:09.630] redeploying the same vulnerability. So why was this the title of our talk? Well, what is next? [29:09.630 --> 29:14.930] That's the big question. And currently, there is work going on on the megawatt charging system, [29:14.930 --> 29:22.870] MCS. And interestingly, so it has almost 4 megawatt of charging capacity. But interestingly, [29:22.870 --> 29:30.170] it also uses power line communication again. It uses differential PLC, which should be, yeah, [29:30.170 --> 29:34.650] not as easy to disrupt, but we haven't tested it yet because it's not widely deployed, or it's not [29:34.650 --> 29:42.390] deployed yet. Just for your information, this is like the plug compared to CCS. I mean, it looks [29:42.390 --> 29:48.110] quite similar, but you now have a communication interface in the middle for a twisted pair. [29:49.890 --> 29:57.510] Yeah, so the differential signaling should significantly improve like the EMC [29:57.510 --> 30:03.050] compatibility of the PLC communication. But yeah, as I said, we haven't tested this yet. [30:03.790 --> 30:09.490] And using a shielded, unshielded twisted pair, UDP wire should also help to increase noise [30:09.490 --> 30:17.550] immunity. Roughly 40 dB higher is Jarin saying on their website. So Jarin is the standardization [30:17.550 --> 30:26.370] body of CCS and MCS. But I would like to highlight here that even if you shield the cable, you use [30:26.370 --> 30:32.750] differential PLC and you use twisted pair, the signal could just couple into some other bits, [30:32.750 --> 30:38.510] right, like onto the PCB directly. So you could modulate your signal into a higher carrier, [30:38.510 --> 30:45.470] high-frequency carrier. And so it's not, if you just make the wire not attackable, it doesn't [30:45.470 --> 30:53.070] mean the system is not attackable. And now there is also the North American charging standard. [30:53.070 --> 31:01.590] I guess you all know it. It's the Tesla plug. And they say basically that for DC charging, [31:01.590 --> 31:07.190] the electric vehicle should or NACS should support power line communication to make it [31:07.190 --> 31:13.890] compatible with 1070-121. And it should also support ISO 15118, which means if it needs [31:13.890 --> 31:21.990] to support ISO 15118, it needs to support PLC communication. So what is the conclusion? Well, [31:21.990 --> 31:26.710] CCS is vulnerable to wireless attacks. We showed that we can e-strap on it, but we can also [31:26.710 --> 31:32.890] inject. Roughly 20 million vehicles are currently vulnerable because CCS is mainly used or is the [31:32.890 --> 31:39.070] DC charging standard in Europe. It's also widely used in the U.S. and in some parts of Asia. [31:39.590 --> 31:45.310] And we just think PLC is just not a good technology to use in such a critical communication. [31:45.310 --> 31:52.870] So I just have a video for you. Just ignore the Renault Saurier on the left. As I said, I didn't [31:52.870 --> 31:59.930] want to reveal which car we tested on, but yeah. So the car was charging, as you can see. And we [31:59.930 --> 32:06.590] put the equipment, as you saw in one of the photos, in the back of the car. And then as soon as we [32:06.590 --> 32:21.810] pass by, you will see that the charging stopped. Yeah, and this is the error where you need to go [32:21.810 --> 32:30.630] unplug it, plug it in again, so it doesn't go away automatically. Right. That's it. If you have [32:30.630 --> 32:38.110] any questions, feel free to reach out to us on brokenwire.fail. We have more information. There [32:38.110 --> 32:45.970] is also the paper available. And there is also some information on NIST for the CVE we got. But [32:45.970 --> 32:58.030] happy to take any questions. Thank you. Oh yeah, sorry. There is a microphone right here if you [32:58.030 --> 33:18.530] have any questions. Hi. Just a question. Were you able to also... there was a... you mentioned about [33:18.530 --> 33:24.310] the billing. You can... there's a communication between vehicle and the charging station. And [33:24.310 --> 33:29.670] there is a billing associated with it. Were you also able to get into the billing, like [33:29.670 --> 33:39.250] able to manipulate the user to charge? Sorry, if I understood you correctly, you're talking... [33:39.250 --> 33:43.550] or you're asking about the identifier which is transmitted between the car and the charger. So [33:43.550 --> 33:48.250] there are different implementations, I would say. There is one which is called auto charge, [33:48.250 --> 33:55.370] which is basically the MAC address of your EV charging controller. And so if you have the MAC [33:55.370 --> 34:01.750] address, yeah, you can... so if I e-stop on your communication and get your MAC address and [34:01.750 --> 34:09.550] spoof my MAC address, I could charge and you would be paying for it. So basically we can snip MAC [34:09.550 --> 34:16.970] address from the car between the charger during the session and then we can use this to auto... [34:16.970 --> 34:23.130] bill for that user that we snipped. Is that correct? Sorry, could you speak up a bit? It's [34:23.130 --> 34:31.710] hard to hear. So the car connects to the charging station during the initial session, we sniff the [34:31.710 --> 34:41.050] MAC address and then can we replay that to charge the user? Right, if we can replay... [34:42.650 --> 34:48.210] Yes, you capture that MAC address, you set your MAC address that's associated with someone's [34:48.210 --> 34:52.550] billing account and then you just go and charge until they cancel it because they [34:52.550 --> 34:56.590] realize they're being charged. It doesn't... it's not the same for plug and charge and [34:56.590 --> 35:04.250] this is the gold standard thing. Auto charge was just a couple of industry players wanting [35:04.250 --> 35:08.770] to kind of get in on this kind of frictionless experience early. Plug and charge, no. There's [35:08.770 --> 35:15.070] certificates both sides. There's, as far as we know, good crypto. It's not very widely deployed [35:15.070 --> 35:25.240] yet. But yeah, that's safe. Thanks a lot. Dumb question. Will the slide deck be available on [35:25.240 --> 35:33.540] the GitHub site? This slide deck? That slide deck. It could be, yes. It's not currently, [35:33.540 --> 35:37.340] but it could be. There's certainly slides from other talks we've done on it. This one has a [35:37.340 --> 35:42.660] little bit of extra on it. But yeah, that paper, code, you can... Some appropriate slide deck. I [35:42.660 --> 35:46.680] know some folks where the slide deck would be great for explaining. Yeah, of course. Yeah, [35:46.680 --> 35:54.880] I think you'll find all the resources there. No worries. One question, please. The MAC address [35:54.880 --> 35:59.820] that you identified, this is a MAC address of the vehicle or the charging system of the vehicle? [36:00.300 --> 36:04.980] There are two, and you get both of them in different messages. Are you sure it's the same [36:04.980 --> 36:11.000] one? So there's a modem one, and then there's one for the, what is it, the charge controller. [36:11.840 --> 36:14.920] And we've observed different behavior in different vehicles. Some of them have [36:14.920 --> 36:23.120] one bit different. Some have the same MAC address in both. Some have one of them blanked and one [36:23.120 --> 36:27.560] of them not. It depends on which one you're looking at. Because it's totally different ECUs. [36:27.900 --> 36:33.260] The MAC address virtually will be in part of the TCU and not part of the charging system. [36:33.760 --> 36:38.240] Sorry, I missed that bit. The MAC address... The MAC address will come from the TCU. [36:38.280 --> 36:44.420] From the controller on the EVCC? Yes, not from the charging system. [36:44.420 --> 36:51.640] We have one from the modem and one from that, from the EVCC. So I mean, I could show you in [36:51.640 --> 36:56.060] some captures. And it does, as I say, vary between. But yeah, they establish a communication [36:56.060 --> 37:02.120] between the two high-level entities. And then the very early initialization messages are modem to [37:02.120 --> 37:05.180] modem. So we have ones for those as well. Okay, thanks. [37:07.040 --> 37:12.900] Hi, thank you. You were talking about NACS and similar vulnerabilities. [37:13.560 --> 37:18.920] Seeing as NACS is coming up, well, Sharon is trying to standardize it now. Is this an opportunity [37:18.920 --> 37:23.480] to kind of address some of the vulnerabilities with some of your suggestions? [37:24.620 --> 37:30.880] Yes, would be our opinion. There's... I mean, some things are very difficult to change, right? [37:30.880 --> 37:37.440] You've got a standard that has this communication was possibly not the best choice baked into it. [37:37.740 --> 37:40.860] That's probably going to be difficult to do. Some changes are coming that are really good, [37:40.860 --> 37:45.920] like MCS having this differential PLC. Or changes you could deploy later, like [37:47.160 --> 37:51.960] firmware differences or additional sort of detection systems for just constant preamble [37:51.960 --> 37:57.360] or something. But yeah, I mean, as a general rule, yes, let's try to fix this. And hence why we're [37:57.360 --> 38:02.240] sort of doing this talk now. And we'd be happy to engage with anyone that's doing work on any [38:02.240 --> 38:07.220] new charging standards. Yeah, thank you. Sorry, if you need to... [38:09.380 --> 38:19.620] Yeah, so the question I have is, like, the SDR you guys use to do this attack is kind of unique, [38:20.380 --> 38:25.420] because to do this, you need something that has at least 28 megahertz of RF bandwidth. [38:25.420 --> 38:29.540] I'm sorry, I'm having difficulty hearing you. Probably just close to the mic is fine. [38:29.620 --> 38:36.860] Okay. So the SDR you guys use to do this is somewhat unique in the fact... because you need, [38:36.860 --> 38:44.940] about 28 megahertz of RF bandwidth in order to do this attack. So things like a hack RF [38:44.940 --> 38:52.360] won't work, because they've only got 20 megahertz. Now, the new LIME SDRs don't have this nice wide [38:52.360 --> 38:56.980] band that the original one did. And hence, that's why the price of these have gone up. [38:56.980 --> 39:01.440] But I'm kind of curious, have you guys found anything other than, like, a high-end USRP [39:01.980 --> 39:07.340] that will do this, you know, has a required RF bandwidth? Because I'd love to hear about that. [39:07.340 --> 39:12.560] Yeah. So we played with a couple of different ones. I mean, I think prices went up a little [39:12.560 --> 39:18.660] bit across the board. At the time, the big LIME SDR was, what, a couple of hundred dollars. And [39:18.660 --> 39:22.720] that was really good. That was why we had it. And it also worked natively in that band. [39:23.520 --> 39:29.560] The previous work, the eavesdropping, I was using a Blade RF, which was reasonably inexpensive at [39:29.560 --> 39:34.040] the time, but it didn't tune to that band, so we had an up-converter to bring it up to there. [39:35.220 --> 39:41.020] And basically, we've had pretty good success with those. I'm not quite sure exactly what's [39:41.020 --> 39:47.100] going to be the best buy at the moment, but my gut feeling is probably still the LIME SDR. [39:47.100 --> 39:51.500] They've got more expensive, but they're still not, you know, quite USRP territory. [39:52.280 --> 39:56.680] So the current LIME... are you talking about the old version and trying to get it off eBay? [39:57.160 --> 40:02.920] Frankly, either. I would probably... a V2 should work fine. We haven't tested the V2 ourselves, [40:02.920 --> 40:10.240] but, you know... Well, the V2 does have the required bandwidth? Yes. And it'll tune down to, [40:10.240 --> 40:16.580] you know, tune down to 2 to 20, 2 to 30 MHz? And in fact, I mean, depending on what attack you [40:16.580 --> 40:20.620] want to do, whether you're, you know, you could just do up-conversion, down-conversion, use [40:20.620 --> 40:25.720] something else, that might be quite a good route. I mean, if you wanted a recommendation of what to [40:25.720 --> 40:29.780] buy, we could perhaps have a little offline chat, but most of the things that are above, you know, [40:29.780 --> 40:35.220] an RTL or something should work fine. I will also say, you might have some success even with the [40:35.220 --> 40:41.740] 20 MHz Sumerhack RF for two reasons. One, we did test broken wire with less of the preamble, [40:41.740 --> 40:45.560] you know, because some of this will get attenuated anyway, and I can't remember how low we went, [40:45.560 --> 40:50.620] but you could cut off a surprising amount and still have the preambles register as accurate. [40:51.220 --> 40:54.840] Although the preambles don't use all the OFDM channels? [40:54.840 --> 40:58.960] They do, but even if some of it is horribly attenuated, there's enough signal for it to correlate well [40:58.960 --> 41:05.180] and trigger as a preamble. In theory, you should be able to even do some eavesdropping, because [41:05.180 --> 41:10.940] Green PHY replicates all across the band, so there's five copies, or sometimes seven copies, [41:10.940 --> 41:14.760] depending on which message you're talking about, for exactly the same problem. You know, it's a [41:14.760 --> 41:19.960] very, very hostile network if you're, if you're, um, hostile, uh, transmission environment on these [41:19.960 --> 41:23.480] wires, and so it's built to be robust against that, and you could lose a whole chunk of the [41:23.480 --> 41:29.360] sub-carriers and still recover messages. Of course, your mileage may vary, but, uh, you might have [41:29.360 --> 41:34.320] some success with the HackRF, if not, yeah, probably swap in for a LimeSDR or the, or the [41:34.320 --> 41:38.160] BladeRF and upconverter. Very interesting, thank you, I didn't know that about, I thought it was [41:38.160 --> 41:43.400] using all the OFDMs. Yeah, of course, I mean, it tries to, but it's surprisingly resistant to, [41:43.400 --> 41:48.900] to loss or noise or whatever. Okay. Happy to talk more afterwards, yeah. Okay, okay, cool. [41:51.430 --> 41:58.650] Hi, um, I'm not, I'm not really knowledgeable about the protocol, but, uh, has Qualcomm [41:58.650 --> 42:05.910] implemented something like a spread spectrum or something that can mitigate the radiations? I mean, [42:05.910 --> 42:12.090] whenever we do EMC testing, we basically look for, uh, if we have this type of radiations, we [42:12.090 --> 42:18.250] reduce the speed, reduce the slew rates, or, uh, also doing some spread spectrum on the transceivers [42:18.810 --> 42:25.750] to mitigate the radiations. Has this been, uh, already placed on the table? Um, so no, [42:25.750 --> 42:32.030] so it's an OFDM system, um, and there's certainly per carrier control to, to stay under EMC limits. [42:32.030 --> 42:36.670] Um, so part of it was, of course, that, that distinctive spectrum template that I showed, [42:36.670 --> 42:48.230] you know, notching out the, um, the amateur bands. Um, and you could power control there or you, and, [42:48.230 --> 42:54.970] just under the threshold for, for radiation. Um, I think realistically it's just, if you turn up [42:54.970 --> 43:00.270] your LNA enough, you can kind of still pick it up, but it's still compliant. Um, and then there's [43:00.270 --> 43:05.310] plenty on above that in terms of varying modulation to try to get the best rates and so on, but that's [43:05.310 --> 43:17.910] less of a compliance thing and more of a throughput issue. Okay. Yeah. So only through, uh, [43:17.910 --> 43:24.570] I mean, so some implementations of this are a wire, um, at which point it's just going to be [43:24.570 --> 43:29.650] leaking out all over the place. Um, the differential down a twisted pair. Yeah. That's probably going [43:29.650 --> 43:33.990] to be very helpful. Um, but you know, bear in mind, this is a technology that's coming from [43:33.990 --> 43:38.170] an in-home environment and genuinely people's power wiring, which is just, you know, uh, [43:38.170 --> 43:43.610] wires randomly laid over 50 years by different electricians and so on. So it's not, it wasn't [43:43.610 --> 43:47.390] really built as a communication protocol for a purpose-built environment, but rather making the [43:47.390 --> 43:53.110] best use it could have of the conditions it had. And that's why it's not ideal there. And is the [43:53.110 --> 43:58.850] amount of information, uh, that you do during the handshake, uh, really needs the amount of, [43:58.850 --> 44:08.250] uh, speed or why not use lean or... Yeah. I mean, all the other charging standards do not, [44:08.250 --> 44:14.190] like I typically use a CAN bus link and do fine. Um, I think a lot of it was a future-proofing [44:14.190 --> 44:18.770] idea. Um, and there was some really nice design choices. Have an IP link, you can just do whatever [44:18.770 --> 44:23.550] you can deploy the same technology you have. There's no reinventing the wheel. Personally, [44:23.550 --> 44:29.190] I'm not sure PLC was the best underpinning for that, you know, but, um, but no, it's hard to [44:29.190 --> 44:33.190] make a case. It was more to just create the capability to deploy whatever we might need in [44:33.190 --> 44:38.290] the future rather than because you need that much data. Okay. Well, thanks. Thanks very much. [44:38.990 --> 44:40.290] And thanks everyone for coming.