1 00:00:00,000 --> 00:00:02,520 All right, so thank you for joining today. 2 00:00:02,860 --> 00:00:13,450 And I would like to thank also the Carhack Village for giving me the opportunity to give this talk, which is going to be about the kind of attacks that you can do on high pressure monitoring systems. 3 00:00:14,560 --> 00:00:19,100 My name is Aguliza Arriba, and I'd like to introduce myself a bit before we dive deep. 4 00:00:19,600 --> 00:00:33,980 I'm a researcher in Switzerland doing some work in the intersection between cyber security and artificial intelligence now, so like machine learning, deep learning, and this kind of models apply to cyber security. 5 00:00:34,560 --> 00:00:42,460 I do a lot of work as well in spectrum sensing networks, and I did in the past, a long time ago, some work in autonomous vehicles. 6 00:00:42,460 --> 00:00:49,420 But this work I'm presenting today, it's about the intersection between spectrum sensing networks and cyber security. 7 00:00:51,160 --> 00:00:57,720 And before we dive deep, I'd like to also sort of summarize what we're going to talk about. 8 00:00:59,300 --> 00:01:10,120 The main part of this talk is the high pressure monitoring systems, which are systems that are designed to increase vehicle safety because they are in charge of measuring what's the pressure of the wheels of a car. 9 00:01:10,160 --> 00:01:18,480 And being the wheel, the component that it's in contact with the road of the car, it's one of the most safety critical components, right? 10 00:01:18,880 --> 00:01:23,560 So knowing what's the pressure of each of the wheels of a car, it's really safety critical. 11 00:01:24,180 --> 00:01:26,360 They have been mandatory in the U.S. 12 00:01:26,360 --> 00:01:30,720 and Europe for more than a decade, I think since 27 in the U.S. 13 00:01:30,720 --> 00:01:32,260 and since 2010 in Europe. 14 00:01:32,260 --> 00:01:34,680 So for a long time, these systems have been in place. 15 00:01:35,820 --> 00:01:41,200 And at the same time, cars have complex software stacks and cyber attacks are very common. 16 00:01:41,200 --> 00:01:44,480 That's why the car hacking village is part of DEF CON as well, right? 17 00:01:44,480 --> 00:01:46,660 So cyber attacks are very common in cars. 18 00:01:47,080 --> 00:02:02,280 For example, Europe now, since July 2022, requires that cars, all manufactured cars, provide a cybersecurity certificate that can defend the cars or the car owners from attacks that can reveal their identity, their location and so on and so on, right? 19 00:02:02,500 --> 00:02:04,420 And TPMS is not included in this. 20 00:02:06,320 --> 00:02:13,780 When we talk about TPMS, we have to make a distinction because there's a few families and we are only going to talk about one in particular. 21 00:02:13,840 --> 00:02:24,740 The first one is indirect TPMS, which uses the sensors that already exist on the wheels and based on the rotation of the wheel and many other geometry parameters of the car, they can estimate the pressure. 22 00:02:25,060 --> 00:02:35,500 Because pressure is a proxy of other parameters of the car, this is less accurate and it's favored by Volkswagen Group, I'd say their GM and plenty of other, right? 23 00:02:36,700 --> 00:02:44,220 Then we have direct TPMS, which is these are sensors that are directly inserted into the wheel and they measure pressure and temperature of the wheel directly, right? 24 00:02:44,220 --> 00:02:48,480 So these ones are usually more accurate because they're measuring the pressure of the wheel directly. 25 00:02:49,260 --> 00:02:56,200 These are favored by Toyota, by Ford and original equipment manufacturers are usually using these sensors. 26 00:02:56,640 --> 00:03:08,160 And then we have another family that is more popular within Tesla and some specific manufacturers like Pirelli, which are Bluetooth based, but yeah, Bluetooth also comes with some problems as well. 27 00:03:08,580 --> 00:03:11,520 In particular, in this talk, we're talking about direct TPMS. 28 00:03:11,520 --> 00:03:15,440 So from now on, when I mean TPMS, I'm meaning direct TPMS, right? 29 00:03:15,440 --> 00:03:18,020 So these are the sensors that are inserted in the wheel. 30 00:03:18,020 --> 00:03:25,520 So you can, if you guys have a Toyota, Ford, Renault, Honda, perhaps you guys can check today on your cars and see whether you can see it or not. 31 00:03:25,520 --> 00:03:29,140 But usually it's on the inflation ring where you can find the TPMS sensor. 32 00:03:30,220 --> 00:03:34,740 And I'd like to offer a very brief direct TPMS primer before again, we jump in. 33 00:03:35,020 --> 00:03:38,500 So the inside of a TPMS sensor, it's a battery powered device. 34 00:03:39,560 --> 00:03:45,120 Usually they transmit the information wirelessly to the ECU and the protocols are usually proprietary. 35 00:03:45,120 --> 00:03:47,160 There's no open source protocol or anything. 36 00:03:47,160 --> 00:03:53,220 So each manufacturer has its own way of sending the information. 37 00:03:53,260 --> 00:04:02,720 The problem is that even though they're proprietary, they don't have any sort of encryption or authentication or anything, which means that they're very easily reversible. 38 00:04:02,720 --> 00:04:05,620 And now there's a myriad of libraries, there's a million of attempts. 39 00:04:05,620 --> 00:04:11,820 And one of the most prominent ones is RTL433, which basically does most of the work for us, right? 40 00:04:12,620 --> 00:04:15,700 The modulations that they use are really nothing extraordinary. 41 00:04:15,700 --> 00:04:18,700 So simple amplitude or frequency shift keying. 42 00:04:18,860 --> 00:04:21,620 In Europe, we use 433 megahertz. 43 00:04:21,620 --> 00:04:24,140 In the US, probably it's 915. 44 00:04:24,140 --> 00:04:26,360 If someone can correct me, please feel free. 45 00:04:27,140 --> 00:04:29,980 But yeah, it's usually ISM band transmissions. 46 00:04:30,620 --> 00:04:33,320 Inside a TPMS sensor, we have different components. 47 00:04:34,060 --> 00:04:42,160 What we have is, of course, the MCU that takes care of the motion sensor, the pressure sensor, and the temperature sensor. 48 00:04:42,160 --> 00:04:47,520 So usually, or in theory, TPMS sensors should only transmit information when the car is moving. 49 00:04:48,000 --> 00:04:52,460 And then when the car is moving, they transmit every 60 seconds, right? 50 00:04:52,460 --> 00:04:54,040 So it depends on the manufacturer. 51 00:04:54,640 --> 00:04:56,820 When they're parked, they should not transmit. 52 00:04:57,480 --> 00:05:03,800 And one component that is usually overlooked on TPMS sensors, of course, you have the RF chain that transmits parts. 53 00:05:03,800 --> 00:05:06,500 So when they send the information wirelessly to the ECU. 54 00:05:06,620 --> 00:05:12,540 But there's a receive component that waits for a single signal at 125 kilohertz. 55 00:05:12,540 --> 00:05:18,940 And this signal usually activates the whole transmit pipeline so that it sends immediately pressure information, right? 56 00:05:19,600 --> 00:05:29,540 And for example, nowadays, with this kind of devices, well, they contain here a transmitter at 125 kilohertz that can activate any sensor that you want, so long as you are close enough to the wheel of the car, right? 57 00:05:31,840 --> 00:05:42,900 And then a typical TPMS frame contains temperature information, pressure information, but also a sensor ID, which is 32 bits. 58 00:05:43,060 --> 00:05:47,000 And so that means there's like around 4 billion unique IDs, right? 59 00:05:47,420 --> 00:05:54,500 Perhaps the... or why this is dangerous is because all this information is sent in clear with no encryption or anything, right? 60 00:05:54,500 --> 00:05:58,560 So the only safety measure here is that the modulations are proprietary. 61 00:05:58,640 --> 00:06:02,660 As I've said before, this is really not an obstacle to anyone, right? 62 00:06:02,660 --> 00:06:04,120 With enough knowledge. 63 00:06:04,700 --> 00:06:13,240 That's why even 15 years ago, there were some papers in 2018, there was a talk here at DEFCON about TPMS, right? 64 00:06:13,240 --> 00:06:20,020 So there were already people thinking that it's possible to create... to do both sides of the attack. 65 00:06:20,020 --> 00:06:23,400 So one is the passive monitoring and the other is the active attacking, right? 66 00:06:23,400 --> 00:06:33,420 So what happened in the last 15 years, since 2010, for example, until today, with regards to direct TPMS hardware is that nothing changed. 67 00:06:33,560 --> 00:06:37,900 It's just that SDR receivers and hardware in general got much better, right? 68 00:06:37,900 --> 00:06:43,680 So now it's even more feasible to set up attacks in any form or any way, right? 69 00:06:44,020 --> 00:06:49,400 So this talk is dividing the two types of attacks that you can do on TPMS system. 70 00:06:49,400 --> 00:06:53,260 One is the passive monitoring, which we'll now describe, and then the active attacking. 71 00:06:54,280 --> 00:06:58,640 So for the passive monitoring, we started this a few years ago, of course. 72 00:06:58,820 --> 00:07:01,620 We got the permission to show all the data that we will show. 73 00:07:01,620 --> 00:07:05,380 It's from participants that participated in our studies, so we have permission, right? 74 00:07:05,660 --> 00:07:07,980 But there was an IT director who had a Toyota. 75 00:07:08,960 --> 00:07:14,200 And doing unrelated measurements, what we could see is that we could track his TPMS tires. 76 00:07:14,800 --> 00:07:17,200 Ergo, we could track his car over the time, right? 77 00:07:17,360 --> 00:07:22,940 And after some time, we could start learning his absences, when he was out, when he was coming, etc, etc, right? 78 00:07:22,940 --> 00:07:31,420 So we asked ourselves, is it actually feasible to track cars or to track the TPMS and consequentially track cars? 79 00:07:31,680 --> 00:07:33,380 And what patterns can we learn, right? 80 00:07:33,940 --> 00:07:41,300 So here we have a bit like the distribution of how many TPMS messages we could see per week and also by the hour of the day, right? 81 00:07:41,300 --> 00:07:44,300 So we can start noticing some patterns, right? 82 00:07:44,300 --> 00:07:46,440 So for example, this was very old measurements, right? 83 00:07:46,440 --> 00:07:49,280 So this was one of the COVID lockdowns we had back in Spain. 84 00:07:50,440 --> 00:07:52,860 We can also see when he was on holidays. 85 00:07:53,060 --> 00:07:56,080 Of course, we can easily determine what's the working hours of this person, right? 86 00:07:56,080 --> 00:08:00,220 So there's a lot of things that we can learn almost without noticing or without even trying, right? 87 00:08:00,860 --> 00:08:10,620 So what we did is we took 12 participants, or we did a small study, and then we tried to set up a car tracking infrastructure for these particular users. 88 00:08:10,820 --> 00:08:18,000 But there's nothing really blocking anyone from building a big setup to track any cars that use direct TPMS, right? 89 00:08:18,420 --> 00:08:21,400 So what do you need to build such an infrastructure? 90 00:08:21,400 --> 00:08:23,140 So what you need is hardware, of course. 91 00:08:23,240 --> 00:08:29,920 That is around $100, which contains an RTL-SDR and a 433 megahertz antenna. 92 00:08:30,120 --> 00:08:34,600 In US, perhaps a different frequency antenna, but the same principle applies. 93 00:08:35,300 --> 00:08:39,320 Single board computing like a Raspberry Pi, internet connectivity, and power, right? 94 00:08:39,320 --> 00:08:44,660 So in Spain, you can get this for $100 perhaps in the US a bit more, but it's around the price tag, right? 95 00:08:45,320 --> 00:08:50,480 The software on the device only needs to be the RTL-433. 96 00:08:50,480 --> 00:08:54,900 What we have is also some custom models to avoid any processing of unwanted data. 97 00:08:55,860 --> 00:08:57,360 And then the infrastructure is very simple. 98 00:08:57,360 --> 00:09:06,840 So there's plenty of open source components that are really readily available so that you can send this information to a database and basically start collecting data, right, of TPMS sensors. 99 00:09:07,100 --> 00:09:14,660 So yeah, in a few weeks' time, you can capture millions of unique IDs from nearby roads. 100 00:09:14,660 --> 00:09:17,560 We'll show later how far even, right? 101 00:09:17,880 --> 00:09:19,500 But the infrastructure looks very simple, right? 102 00:09:19,500 --> 00:09:32,860 So you have cars transmitting direct TPMS messages, which are intended or which are directed to the ECU, but because there's no control on this, anyone listening can also receive these messages, right? 103 00:09:33,080 --> 00:09:41,420 So then the decoded messages via any software that exists already can be parsed by InfluxDB or any time series database that exists. 104 00:09:41,420 --> 00:09:44,220 You can have your pretty Grafana dashboards. 105 00:09:44,960 --> 00:09:49,240 You can download this data and apply your pretty nice analysis algorithms. 106 00:09:49,240 --> 00:09:51,220 You can do plenty of nasty stuff, right? 107 00:09:51,960 --> 00:09:53,140 That's on risks. 108 00:09:53,800 --> 00:09:57,460 One thing that we noticed, of course, is that each car has four wheels, right? 109 00:09:57,460 --> 00:10:03,860 So a question that arises is how correlated are the measurements or the transmissions of its TPMS sensor with each other, right? 110 00:10:03,860 --> 00:10:09,360 So the four TPMS sensors of a car, let's talk about cars, do they transmit at similar times? 111 00:10:09,360 --> 00:10:10,900 Is it difficult to correlate? 112 00:10:11,760 --> 00:10:20,040 Of course, because if you only use one ID to track a car, you're missing a lot of information compared to when you track all cars at the same time, right? 113 00:10:20,040 --> 00:10:22,760 So you're gaining quite a big advantage. 114 00:10:25,480 --> 00:10:33,720 There's several methods that are in the literature that we can use and apply to this particular problem, which are, of course, cross-correlation of the time series, the Jacquard index. 115 00:10:33,720 --> 00:10:36,520 So I won't get too much into the details, of course. 116 00:10:36,920 --> 00:10:41,080 We designed something based on the Jacquard index with a bit of a robust matching. 117 00:10:42,060 --> 00:10:48,820 And what we noticed is that in the end, we can capture, as you see, we see groups of four. 118 00:10:48,920 --> 00:10:53,240 So this time, this represents the IDs detected with the number of times, right? 119 00:10:53,240 --> 00:11:01,320 So most of the time IDs appear in these blocks of four, which means that TPMS sensors tend to fire at similar times, right? 120 00:11:01,320 --> 00:11:06,380 So it's very easy to detect which sensors belong to the same car compared to other cars. 121 00:11:06,740 --> 00:11:21,680 There's also other tricks because manufacturers usually design for a particular car, when they program the bits or the ID of the TPMS sensor, they usually use most or the IDs are equal to the first 26 bits out of 32. 122 00:11:21,680 --> 00:11:23,700 So only the last ones are different, right? 123 00:11:23,700 --> 00:11:27,600 So it's also a good way to notice whether they belong to the same car or not. 124 00:11:28,980 --> 00:11:38,520 But then we can then, after we do the setup, after we analyze how the different TPMS sensors of the same car correlate, we can start analyzing long-term patterns, right? 125 00:11:38,520 --> 00:11:48,780 So what we saw here, so the black lines or the black dots mean at a particular day, at a particular hour, whether we saw a particular TPMS car or a particular car, right? 126 00:11:48,780 --> 00:11:51,280 So we are taking into account now the four TPMS IDs. 127 00:11:51,740 --> 00:11:54,480 So this is for a part-time student that was working with us. 128 00:11:55,160 --> 00:12:03,360 So what we see is that this person was usually coming from 8 to 1 p.m., right, to work, but we can start seeing some anomalous behaviors, right? 129 00:12:03,360 --> 00:12:08,720 So in this case, for example, we saw this guy coming even on a holiday quite late at night. 130 00:12:08,720 --> 00:12:16,060 And actually that was not that he passed by where we were, but he was on a road nearby and he was on a university course and we just happened to capture him, right? 131 00:12:17,720 --> 00:12:21,680 We can actually manage as well to detect other anomalous behavior. 132 00:12:21,680 --> 00:12:31,840 So this person came on a holiday, but he had quite a tight deadline working on, so yeah, this kind of stuff that we can easily learn without the knowledge of the car user or the car owner, right? 133 00:12:31,840 --> 00:12:34,220 So this is not something that you can control. 134 00:12:34,360 --> 00:12:38,000 This is information that is sent by the wheels and that you have no control. 135 00:12:39,160 --> 00:12:47,780 We also were very nice, so because we were getting the pressure sensors, we warned that the pressure of his front wheels was a bit low, so we were nice enough. 136 00:12:48,160 --> 00:12:53,900 This is a bit of a silly example, but there's a lot of information for which you have no control of, right? 137 00:12:53,900 --> 00:12:55,440 So that's the worrying part. 138 00:12:56,480 --> 00:13:02,620 There's plenty of other long-term patterns that we can learn, so on the left hand side we have like a full-time worker. 139 00:13:03,060 --> 00:13:12,800 This car in particular is sort of adheres to the standard design principle of a TPMS sensor, meaning that we can only get this car when it was coming or going, so meaning when the car was moving. 140 00:13:13,700 --> 00:13:22,640 If we look at the... of course we can still see some anomalous things, like for example in the middle of the day he went for lunch outside the building, so we can also detect that. 141 00:13:22,900 --> 00:13:29,560 We can detect a bit of a... so he came and left quite early, so this kind of anomalies we can also detect. 142 00:13:30,760 --> 00:13:42,360 In this case, for example, on the right hand side, so we're going to take full weeks where he was not coming, but also here also the most interesting part is also that the car, even when it's parked, is also transmitting, right? 143 00:13:42,360 --> 00:13:52,760 So not all sensors work the same, so even when the car is parked, and even when it's not necessary to know the pressure, we can still get a lot of information. 144 00:13:53,420 --> 00:14:00,180 And the last one, not because there's no interesting pattern, but because the way the data is being sent. 145 00:14:00,320 --> 00:14:06,700 This is the case for Toyotas, and this is for the Toyotas that we've seen in Europe that use a particular vendor, which is PMV. 146 00:14:07,020 --> 00:14:18,100 And what we see is that this transmits information or the pressure information with the ID every 15 minutes, no matter whether the car is parked or moving or doing anything, right? 147 00:14:18,180 --> 00:14:26,600 So what we found is probably Toyota is the chattiest brand of them all, or at least the manufacturer for Toyota is the chattiest brand of them all. 148 00:14:27,080 --> 00:14:29,180 And they also transmit with high transmit power, right? 149 00:14:29,180 --> 00:14:38,120 So we could detect, particularly we could detect Toyotas up to 200 meters or so, so that's quite far compared to other brands, which is a bit less. 150 00:14:39,160 --> 00:14:47,100 Now the question is, okay, so we're focusing mostly on parked cars or nearby cars, but what are the limits to this tracking infrastructure? 151 00:14:47,100 --> 00:14:50,520 So what happens when there's more cars, when they're moving fast, or when they're far, right? 152 00:14:51,520 --> 00:15:03,140 So we did an estimate, of course, we cannot test with that many cars, but we estimate that one single sensor can track in 30-second windows up to 200 cars with quite good reliability. 153 00:15:05,520 --> 00:15:21,080 One of the scary parts of tracking TPMS compared to using cameras or using other devices is that tracking TPMS, you don't need direct line of sight, so you don't need to be directly pointing at the road, so you can be hidden somewhere and basically capturing. 154 00:15:21,080 --> 00:15:33,100 So what we saw is that even in no line of sight, so when we have walls and when we have no direct line of sight of the road or anything, we can still capture TPMS messages up to 60 meters with very simple hardware again, right? 155 00:15:33,100 --> 00:15:34,640 So this is the scary part. 156 00:15:35,040 --> 00:15:41,440 And up to 50 kilometers per hour, which is 30 miles per hour, I think, you can still capture messages quite easily. 157 00:15:41,440 --> 00:15:53,600 So here what we had is a car doing laps around our neighborhood, and except for lap number four, which where the sensor that we were using collapsed a bit, all of our laps we could capture at least one TPMS ID, right, of the car. 158 00:15:53,600 --> 00:15:57,520 So it's really up to urban speeds, it's quite doable. 159 00:15:57,520 --> 00:16:04,080 I would say that for highway speeds, perhaps this is not feasible. 160 00:16:05,520 --> 00:16:06,700 So now when we move... 161 00:16:09,280 --> 00:16:14,700 So we move on from the passive monitoring to the active attacks, right? 162 00:16:14,700 --> 00:16:15,520 So because this channel... 163 00:16:16,800 --> 00:16:18,720 Is this something causing this? 164 00:16:19,820 --> 00:16:20,960 It's the room, okay. 165 00:16:22,140 --> 00:16:25,320 Okay, sorry, that's a bit distracting. 166 00:16:25,780 --> 00:16:29,520 But yeah, so the thing is that the TPMS channel is not authenticated or encrypted or anything, right? 167 00:16:29,520 --> 00:16:33,200 So we can monitor, but we can also spoof, right? 168 00:16:33,200 --> 00:16:35,320 And be a bit even nastier than before, right? 169 00:16:36,680 --> 00:16:42,400 So what we did, for example, is... well, so we had a car that we could use that obviously uses the TPMS. 170 00:16:43,160 --> 00:16:47,660 The modulation of the Renault, again, it's not public anywhere, yet it's widely known. 171 00:16:48,720 --> 00:16:58,460 What we built is a signal spoofer, and then we extended it for a few more cars, and we're working on extending it and doing more tests, of course, so that to see how the car responds to different messages, right? 172 00:16:58,460 --> 00:17:08,520 So some of the characteristics that Renault uses, so it's true that it's easy, but each brand has its own quirks, but it's really a matter of documenting and storing everything, right? 173 00:17:08,600 --> 00:17:12,260 The frequency in Europe is 433 megahertz. 174 00:17:12,300 --> 00:17:16,140 The modulation is 2FSK plus pulse-width modulation. 175 00:17:16,180 --> 00:17:18,080 Then it uses Manchester coding. 176 00:17:18,080 --> 00:17:22,240 The bit duration, so each bit lasts around 52 microseconds. 177 00:17:22,300 --> 00:17:36,080 And the main things you can obtain from this are some flags for the message, the ID that uses three bytes, the pressure and the temperature, and lastly some battery voltage and some unknown parameters that related to how the tire is deflating, etc., right? 178 00:17:36,500 --> 00:17:41,920 Here, the tool set is slightly more complex than for passive monitoring, but not much. 179 00:17:41,920 --> 00:17:45,040 So what you need now is an SDR with transmission capabilities. 180 00:17:45,560 --> 00:17:55,600 So usually we use the user P-mini, which is a bit pricier, but nowadays for $300 or even less, I think the Flipper Zero has transmit capabilities and it's cheaper than this. 181 00:17:55,840 --> 00:18:00,800 So yeah, pretty much, as I said before, in the last 15 years, TPMS technology didn't change. 182 00:18:00,800 --> 00:18:03,820 It's just that the SDRs became cheaper and more powerful, right? 183 00:18:03,820 --> 00:18:05,560 Which is kind of scary. 184 00:18:06,020 --> 00:18:13,660 But yeah, we can take the receive pipeline or the decoding pipeline, and then we can basically reverse it, and then we get our spoofer there, right? 185 00:18:13,660 --> 00:18:28,700 So, for the case of Renault, when you decode, so you have the TPMS sensor that is transmitting the signal, we need an SDR with receive capabilities, we demodulate the 2FSK, we demodulate the pulse wave modulation, we do a bit inversion, Manchester decoding, 186 00:18:28,700 --> 00:18:30,000 and suddenly we have our message, right? 187 00:18:30,000 --> 00:18:31,620 So, we're done. 188 00:18:31,640 --> 00:18:32,920 What do you need to transmit? 189 00:18:33,220 --> 00:18:35,000 The same, just reverse. 190 00:18:35,000 --> 00:18:39,040 There's literally nothing extra, nothing fancy, nothing special, right? 191 00:18:39,040 --> 00:18:45,940 And then you can transmit this signal to the ECU, and because there's authentication or encryption, the ECU thinks it's just its own TPMS sensor, right? 192 00:18:47,280 --> 00:18:53,480 Just to show how these things look like, I'd like to, so for example, right, so we started with the 2FSK. 193 00:18:53,500 --> 00:18:59,260 So what we have on the top and the bottom is the two frequencies, so each frequency, when it jumps, it's a 1 or it's a 0, right? 194 00:18:59,260 --> 00:19:09,480 So we have here, we have a jump, it stays for the bit duration, so 52 microseconds, and then when it's a 0, it jumps to the other frequency, and when it's 1, it stays, right? 195 00:19:10,320 --> 00:19:21,680 What we get now, it's on time, we get this sort of, these time-based lines, and basically we can divide in between the times where it's at frequency 1 and the times where it's at frequency 2, right? 196 00:19:21,680 --> 00:19:26,240 And then we can calculate what's the width spent at each of these frequencies. 197 00:19:26,240 --> 00:19:38,360 So in this case, we start with a 1, so we stay at a tuple of 1 at frequency 1, and 1 width at frequency 2, then 1 moment at frequency 1, and then 2 moments at frequency 2, etc, etc. 198 00:19:39,960 --> 00:19:49,020 Then we can go from the pulses that we have, we generate this tuple, and we generate a sequence of bits, so the frequency 1 represents a 1, the frequency 2 represents a 0, simple as that. 199 00:19:49,020 --> 00:19:51,900 We invert the sequence, this is how Reynolds does it. 200 00:19:51,900 --> 00:19:55,660 Many other manufacturers don't invert, so it's really manufacturer-dependent. 201 00:19:55,860 --> 00:19:58,880 With Manchester Decoding, they want to be robust enough, I guess. 202 00:19:59,620 --> 00:20:08,400 We find a preamble, so yeah, it's good that many manufacturers include preambles so that we can detect this here, or we can sort of discard false positives. 203 00:20:08,660 --> 00:20:13,980 In the case for Reynolds, it's this starting value, and we get the final message. 204 00:20:13,980 --> 00:20:17,320 And the final message is, again, very easy to obtain the information from. 205 00:20:17,320 --> 00:20:24,720 So we start with the flux, we start with the pressure, the temperature, the IDs, of course, and the other parameters. 206 00:20:24,740 --> 00:20:30,140 And we get a nice CRCA just to check whether we decoded it properly or not, which is very nice. 207 00:20:30,760 --> 00:20:35,780 And again, to transmit, we just reverse the flow, there's nothing else, there's really no magic to this. 208 00:20:36,680 --> 00:20:44,140 So then what we can do is we build a spoofer with these principles, and we started spoofing stuff and see, detecting. 209 00:20:44,140 --> 00:20:53,500 So one of the biggest issues what we found is, of course, you can provoke this, this is in German, because we're in Switzerland, but it's basically faulty tire. 210 00:20:54,000 --> 00:20:58,740 This is also a really annoying noise, so it can be very scary. 211 00:20:59,940 --> 00:21:08,880 Of course, the tool that I presented here can also get spoofed, so it's easy that this tool exists, because so long as you can spoof this tool, you can spoof the car that you're trying to spoof, right? 212 00:21:08,880 --> 00:21:12,520 So there's a lot of infrastructure that you can use to really refine your spoofers. 213 00:21:12,540 --> 00:21:18,140 So to wrap up, what can we conclude, right? 214 00:21:18,140 --> 00:21:24,700 So DTPMS are actually quite vulnerable to all sorts of attacks, whether they are passive, whether they're active, whether you can mix them, right? 215 00:21:24,700 --> 00:21:39,880 So if you track a car over time, and you can select specific locations where you want to inject a faulty message or a faulty pressure message to the car and then provoke that this person stops or anything, if you're a logistics company or you're tracking somewhere, 216 00:21:39,880 --> 00:21:40,360 right? 217 00:21:40,640 --> 00:21:47,120 So it's just because the channel is not encrypted or authenticated, you can be as nasty as you want. 218 00:21:47,880 --> 00:21:53,640 Given the status that... so SDRs are becoming cheaper, are becoming better, and the technology is not getting much better, right? 219 00:21:54,660 --> 00:22:00,860 Also, what we noticed, and again, we want to remark is that passive monitoring is affecting some brands way more than others. 220 00:22:01,100 --> 00:22:10,520 So for example, what we saw is that Toyota, it's particularly bad in this case, because they're transmitting every 15 minutes, no matter where the car is moving or not. 221 00:22:10,520 --> 00:22:17,880 Other brands like Renault or Hyundai, I really respect more the car design principles of this. 222 00:22:17,880 --> 00:22:20,640 So yeah, you're safe, right? 223 00:22:20,640 --> 00:22:23,980 And the question is, is there a solution to this? 224 00:22:24,200 --> 00:22:29,760 And the bad answer is that if you had a car with DTPMS, probably not right now. 225 00:22:30,000 --> 00:22:35,920 Because the way the system is designed, the ECU expects the messages in clear text, right? 226 00:22:35,920 --> 00:22:40,680 So if you have a DTPMS car, there's nothing you can do. 227 00:22:41,180 --> 00:22:47,340 Before, if you're thinking of buying and you're worried about this, then you might check whether your car is using DTPMS or not. 228 00:22:48,640 --> 00:22:54,440 Actually, yeah, so again, one thing that you can do is not everyone needs the accuracy of DTPMS. 229 00:22:54,440 --> 00:22:59,660 So for I have indirect DPMS, and for me, it's good enough, and I have tire deflation, etc. 230 00:23:00,100 --> 00:23:03,860 But again, it's not feasible for many cars that are running right now. 231 00:23:04,380 --> 00:23:10,520 There exist plenty of papers that have shown that it's possible to add encryption or to add different designs. 232 00:23:10,740 --> 00:23:13,220 But yeah, they mostly stay on the research. 233 00:23:13,220 --> 00:23:19,980 So there's really nothing, no one, I've never seen a car that has implemented any security measure for DTPMS, right? 234 00:23:20,920 --> 00:23:23,780 And because, yeah, open source, again, it's very important for us. 235 00:23:23,780 --> 00:23:27,000 So we provide two repositories to replicate this research. 236 00:23:27,000 --> 00:23:42,560 So once the one on the right on the left is the DPMS analysis, so how to the tools that we use to analyze a passive monitoring systems, and the DPMS tools, which are the sort of how to spoof and do all kinds of nasty stuff. 237 00:23:43,480 --> 00:23:45,860 And this should be all. 238 00:23:46,960 --> 00:23:47,900 I'm going to stop. 239 00:23:47,920 --> 00:23:48,860 Thank you. 240 00:23:55,830 --> 00:23:56,990 Oh, yeah, sorry. 241 00:24:16,970 --> 00:24:28,670 Yeah, that's perfectly fine. 242 00:24:28,670 --> 00:24:29,990 Yeah, yeah, absolutely. 243 00:24:37,850 --> 00:24:42,250 I think my experience or my impression is it doesn't care. 244 00:24:42,250 --> 00:24:43,750 It's just a first comfort serve. 245 00:24:43,750 --> 00:24:48,730 So if you're transmitting more often, then it will take more attention to what you're doing. 246 00:24:48,730 --> 00:24:53,730 Because what I did for the deflation part, I was moving the car, but it was basically transmitting every second. 247 00:24:53,730 --> 00:24:56,770 So you're basically overloading the ECU with low pressure messages. 248 00:24:56,770 --> 00:25:00,530 So the every minute every exactly right. 249 00:25:00,530 --> 00:25:02,210 So I think it's first comfort serve. 250 00:25:08,210 --> 00:25:11,450 I'd say it's the highest we tested. 251 00:25:11,490 --> 00:25:19,110 So we're sure that up to 50 kph or kilometers per hour, we can decode DPMS easily, perhaps even more. 252 00:25:19,250 --> 00:25:22,210 Like it depends how much time you travel right at 60 kph. 253 00:25:22,210 --> 00:25:27,890 So if you have good antennas and good hardware, you can increase the distance at which you detect the DPMS message. 254 00:25:28,210 --> 00:25:39,830 I think most because usually if you park, for example, your car in a cold location, you might trigger the system. 255 00:25:39,830 --> 00:25:44,110 So you need this temperature measurement to say it's because the temperature is low. 256 00:25:44,110 --> 00:25:44,590 So I would say...