1 00:00:00,000 --> 00:00:07,200 Morning. Welcome to the Village Talks. Um I'm speaking about uh vehicle to vehicle and 2 00:00:07,200 --> 00:00:12,040 vehicle to infrastructure communications and security. Um if that's the track that you want to 3 00:00:12,040 --> 00:00:17,660 go to you're right here not over there. I was there in the beginning. Um unfortunately we 4 00:00:17,660 --> 00:00:23,640 don't have a projector so I can't show you my nice slides that I made for you. Um I tried to 5 00:00:23,640 --> 00:00:28,860 publish them afterwards somewhere uh so they can get them. Um so I will try to give you the 6 00:00:28,860 --> 00:00:36,680 idea of um what we're doing, what it's all about. Um I have to make a small disclaimer at 7 00:00:36,680 --> 00:00:43,180 the beginning. I work for an OEM. Uh I'm not speaking on behalf of them today. Um I have a 8 00:00:43,180 --> 00:00:48,100 couple of slides that you don't see today from the USDOT. I'm not speaking on behalf of them 9 00:00:48,100 --> 00:00:52,700 over here. Uh I got the permission to show them. Um you won't see them so it doesn't matter. 10 00:00:56,220 --> 00:00:58,840 Um but I'm the uh one of the principal investors of the company. Um I'm the one of the 11 00:00:58,860 --> 00:01:03,700 investigators for CAMP which is the Crash Avoidance Metrics Partners. Um and I'm working on 12 00:01:03,700 --> 00:01:12,260 the topic of um the V2X security credential management system. And um maybe a question up 13 00:01:12,260 --> 00:01:25,360 front. Who is familiar with the term V2X? Okay. Who knows how it works? Okay um so V2X is 14 00:01:25,360 --> 00:01:28,840 the acronym for vehicle to vehicle and vehicle to infrastructure communications. Um the 15 00:01:28,840 --> 00:01:29,540 acronym for vehicle to vehicle and vehicle to infrastructure communications. And actually 16 00:01:29,540 --> 00:01:37,060 it's it's um a messaging, unmanaged messaging, broadcasting messaging um from vehicles to 17 00:01:37,060 --> 00:01:41,640 other vehicles or from infrastructure to vehicles or the other way around. Um that's 18 00:01:41,640 --> 00:01:47,380 literally basic, the basic technology um that's behind it. And on top of that it's the 19 00:01:47,380 --> 00:01:53,080 applications I guess what everybody would think about when we speak about V2X. Um it's 20 00:01:53,080 --> 00:01:58,360 applications like for example do not pass warnings so you're behind a car. Um you want to pass this 21 00:01:58,360 --> 00:02:03,660 car but there's an upcoming car. You can't see the car yet because it's a curve or whatever. Um 22 00:02:03,660 --> 00:02:08,080 and as soon as you hit the indicator um it should show you a warning. Hey there's an 23 00:02:08,080 --> 00:02:14,060 upcoming car you shouldn't pass right now. Um that's something that you can't do with um 24 00:02:14,060 --> 00:02:20,040 sensors nowadays because sensors always um require a direct line of sight. Um so there are 25 00:02:20,040 --> 00:02:26,060 a couple of use cases that you can think of um that you can't do with um sensors um that you can 26 00:02:26,060 --> 00:02:28,340 do with V2X. Left turn assist is another one which has been quite useful in my research. Um I am a 27 00:02:28,340 --> 00:02:32,580 one. So if you do a left turn and there's an approaching car from the left side, it's um, 28 00:02:34,020 --> 00:02:38,340 it's a situation where you can't look around the corner so you don't know if there's actually 29 00:02:38,340 --> 00:02:44,360 somebody. And if you drive too fast towards the intersection and there's actually a car 30 00:02:44,360 --> 00:02:49,560 coming on, it will show you again a warning saying hey, you better brake. Um, it's all about 31 00:02:49,560 --> 00:02:55,920 warnings right now and for the foreseeable future it will not be anything else. Um, we 32 00:02:55,920 --> 00:03:02,700 might, or OEMs start thinking about sensor fusion, but what will never happen is I think that 33 00:03:02,700 --> 00:03:08,160 any OEM will purely rely on V2X messages to engage brakes or something like that. This is not 34 00:03:08,160 --> 00:03:14,840 gonna happen. What might be happen is that you use it for existing, um, assistant functions 35 00:03:14,840 --> 00:03:21,360 like, um, automatic braking and you use it as an, um, additional input to slow down the car, 36 00:03:21,560 --> 00:03:25,900 for example, to deaccelerate but not to engage brakes. Um, and then you can use it as an 37 00:03:25,920 --> 00:03:29,220 assistant function. Uh, you will engage brakes as soon as the sensor can verify this information 38 00:03:29,220 --> 00:03:35,740 that you got up front. Um, just to set, make the setting, uh, clear that we're talking about, 39 00:03:35,900 --> 00:03:41,240 another one when you speak about, um, infrastructure to vehicle, um, you can think about a 40 00:03:41,240 --> 00:03:46,420 traffic light that sends the information, uh, I'm red right now, um, and if you approach too 41 00:03:46,420 --> 00:03:50,780 fast, it will show you again a warning that you should brake. Or it could, uh, send you the 42 00:03:50,780 --> 00:03:55,900 information, um, next green face is coming in 20 seconds. And, um, you can, um, engage brakes 43 00:03:55,920 --> 00:04:01,800 and you could try to, um, sail towards the traffic light so you don't speed up, you don't 44 00:04:01,800 --> 00:04:08,360 brake because you know the, um, green face will coming. Um, so there are a couple of use cases 45 00:04:08,360 --> 00:04:12,780 that you can think of that you can do with this technology. There are also a couple of use cases 46 00:04:12,780 --> 00:04:21,880 around that are trying to mimic existing, um, features like there's a car braking right in 47 00:04:21,880 --> 00:04:25,840 front of you. Um, doesn't make much sense because you already have sensors. I think 48 00:04:25,920 --> 00:04:31,460 in most of the cars nowadays, um, even on the lower end you already have those kind of sensors 49 00:04:31,460 --> 00:04:39,580 that you can use for that. Um, how will the devices look like? Um, you will have integrated 50 00:04:39,580 --> 00:04:45,900 devices into cars for sure. Um, you will have aftermarket devices that you can put up on your 51 00:04:45,900 --> 00:04:53,000 dashboard. Um, and you will have roadside equipment. Um, stuff that you see on traffic lights 52 00:04:53,000 --> 00:04:58,840 or somewhere on the side of the road. Um, I brought you a couple of pictures. Unfortunately I 53 00:04:58,840 --> 00:05:03,720 can't show you them, uh, right now. Um, so that you have an idea of how this looks like. Um, 54 00:05:04,360 --> 00:05:09,980 there's a fourth class of devices that I didn't show, uh, today. I didn't put in the, uh, 55 00:05:10,060 --> 00:05:14,920 list. And this might be actually laptops, like your guys laptops, I don't know, any car 56 00:05:14,920 --> 00:05:20,340 hackers here. Um, they tried to mess around with the system so we need to prepare, be prepared for 57 00:05:20,340 --> 00:05:20,600 this. 58 00:05:23,380 --> 00:05:31,660 Um, why is this relevant? So, I think by now it's like 15 years of research in this area. So, 59 00:05:31,800 --> 00:05:38,720 why it is suddenly so urgent or how is everybody picking up this, uh, right now? This is 60 00:05:38,720 --> 00:05:43,500 because we start deploying this technology. So, um, in 2014 there were the so-called 61 00:05:43,500 --> 00:05:48,500 connected vehicle pilots that got awarded. A couple of cities got, uh, money for deploying, 62 00:05:48,660 --> 00:05:52,980 um, Meteor X technology from the, uh, DOT. Um, and, uh, the, uh, the, uh, the, uh, the, uh, 63 00:05:52,980 --> 00:05:57,380 uh, the power of velocity. And there were actually start putting devices in cars and 64 00:05:57,380 --> 00:06:05,100 putting devices on the roadside next year. So this will be out there. Be prepared. Get your 65 00:06:05,100 --> 00:06:13,520 laptops ready. Um, there in Wyoming, in Wyoming we have a big corridor, um, on a highway. Um, 66 00:06:13,520 --> 00:06:15,900 there are, um, biome-ing we have eh big corridor, um, on a highway. Eh, we mostly be to, 67 00:06:15,980 --> 00:06:18,300 you know,аз gleich. And we mostly be V2I applications for tr embryo, in areas for trucks, 68 00:06:18,300 --> 00:06:22,960 truck management. I think the most interesting one is, will be in Yoshi Airport, um, Wizard Apron. 69 00:06:22,980 --> 00:06:30,120 York City uh where we uh where we have 10,000 caps equipped with V2V equipment. There are a 70 00:06:30,120 --> 00:06:35,100 couple of V2I use cases as well but I think that will be one of the biggest V2V deployments 71 00:06:35,100 --> 00:06:42,380 that we see in the near term future. And then there is in uh Tempur, Florida another uh one 72 00:06:42,380 --> 00:06:51,900 which is um a little bit of both worlds V2V and V2X. Um I got your list of all the applications 73 00:06:51,900 --> 00:06:59,900 that um they proposed to implement. It's quite a huge list like 25 applications maybe. So 74 00:06:59,900 --> 00:07:05,480 go check out the slides or ask me afterwards if you want to get them directly. Um then you can 75 00:07:05,480 --> 00:07:10,520 see this list. Um there's public information how those applications work so if you want to 76 00:07:10,520 --> 00:07:17,680 look into um data formats um that are used to send over the air um how the receiving end is 77 00:07:17,680 --> 00:07:20,140 supposed to react to this that's all out there. 78 00:07:22,320 --> 00:07:28,060 And then there is another project, Smart Cities. Um it's a quite large project. I think it's 79 00:07:28,060 --> 00:07:42,660 50 million dollars um and it will happen I think in um Columbus if I'm right. Um and this 80 00:07:42,660 --> 00:07:50,300 is a la- a larger approach towards smart cities so you not only see V2X connected vehicles 81 00:07:50,300 --> 00:07:56,800 vehicles but you will also see smart homes, all kinds of use cases that are smart connected. 82 00:07:57,520 --> 00:08:05,640 Um but V2X will be one of them as well. So if we speak about V2X and technology um I brought 83 00:08:05,640 --> 00:08:10,800 this a couple of information about how this actually works. So that it's um this uh it's 84 00:08:10,800 --> 00:08:16,180 using the so called dedicated short range communications. It's a low latency wifi like 85 00:08:16,180 --> 00:08:25,800 medium. Uh it's sending on 5.9 gigahertz. Um which is quite a nice. It's an IEEE 802.11p 86 00:08:25,800 --> 00:08:31,940 standard. Um so um it should be quite easy to get on this channel with your laptop. You don't 87 00:08:31,940 --> 00:08:39,040 need any special hardware for this. Any wifi chip should be able uh to be on this band. Um 88 00:08:40,720 --> 00:08:46,160 it broadcasts the messages. So you can receive them in an area of up to 3.5 gigahertz. Um 89 00:08:46,180 --> 00:08:51,920 you also have a range of up to 300 um meters. An range of up to 300 meters. If you have like 90 00:08:51,920 --> 00:08:56,980 nothing out there you're in a plain field it might go up to a ha- 800 meters um but it's 91 00:08:56,980 --> 00:09:03,020 really really the best case environment it could even be. And if you go to cities like New 92 00:09:03,020 --> 00:09:09,000 York, downtown, Manhattan um I think it will be even less than 300 um because of the um 93 00:09:09,780 --> 00:09:16,160 buildings that you have in there. Um there are peer to peer functions as well. So you um um 94 00:09:16,180 --> 00:09:20,160 not only send broadcast those messages but there are some applications that forward those 95 00:09:20,160 --> 00:09:28,100 messages as well. For example um a better version of ACC or adaptive cruise control where you can 96 00:09:28,100 --> 00:09:33,300 already look ahead a couple of cars and they will forward the messages and verify with their 97 00:09:33,300 --> 00:09:38,280 sensors if this car is actually in your lane. So you actually know okay if this car is 98 00:09:38,280 --> 00:09:44,700 braking I can already decelerate uh the car until I verify with my sensors that the car in front 99 00:09:44,700 --> 00:09:50,960 of me is actually braking and then I brake as well. It makes the whole area of see ACC much 100 00:09:50,960 --> 00:09:56,800 smoother um because it also can use the indicator so the indicator gets sent over the uh air as 101 00:09:56,800 --> 00:10:02,100 well. So as soon as you see somebody hitting the indicator the sensors will take some time 102 00:10:02,100 --> 00:10:06,360 until they recognize that the car is actually moving in your lane. But with this you can 103 00:10:06,360 --> 00:10:11,300 already prepare the car and slow down. Or if it's leaving so if you if you drive with ACC 104 00:10:11,300 --> 00:10:14,680 right now that's I think the feature that that bugs a lot of people. So you can actually 105 00:10:14,700 --> 00:10:19,940 speed up. If it's leaving your lane and you can actually speed up it waits and waits and waits 106 00:10:19,940 --> 00:10:25,000 and waits and waits right now and then it speeds up. With V2X we would be able to say okay this 107 00:10:25,000 --> 00:10:30,240 is already indicating so I can prepare the car to acc- accelerate and as soon as I see a little bit 108 00:10:30,240 --> 00:10:41,620 movement uh with my sensors I can go ahead and start. Um. Um a little bit more about 109 00:10:41,620 --> 00:10:44,680 technology. So what we are uh doing over here. Um. Um. Um. Um. Um. Um. Um. Um. Um. Um. Um. Um. 110 00:10:44,700 --> 00:10:51,880 um as I said it's and INe8802 family um for lower-level definition we have a 10 megahertz 111 00:10:51,880 --> 00:10:58,040 umm channel. Or a couple of them actually. Umm one control channel a couple of service 112 00:10:58,040 --> 00:11:05,900 channels. Umm theres an additional network layer umm defined for this and umm the payload 113 00:11:05,900 --> 00:11:13,020 definitions are most of them SA ES&O. I think they get deployed the SAE as of already. Umm 114 00:11:18,460 --> 00:11:25,200 the um yeah unfortunately I I I have a nice picture of the whole stack uh in here so that 115 00:11:25,200 --> 00:11:29,960 you can see uh which different technologies um you need to implement in order to send those 116 00:11:29,960 --> 00:11:38,840 messages. So it starts with IEEE 802.11p then you have uh the IEEE family of 1609 um it 117 00:11:38,840 --> 00:11:46,220 starts with 4, 3.2 is security actually and then on top of that you have um the application 118 00:11:46,220 --> 00:11:53,540 layer where we use SAE standards like J2945.1 for example for the so called basic safety 119 00:11:53,540 --> 00:11:59,520 messages. That's the first um message that we will or that will be deployed over there um for 120 00:11:59,520 --> 00:12:08,820 safety features like warning about breaking events or stuff like that. Um let's see what 121 00:12:08,840 --> 00:12:13,220 we have here. The University of Prague has actually already created a kernel patch to 122 00:12:13,220 --> 00:12:21,800 support um IEEE um 802.11p and the OCB mode because you don't join a network over there you 123 00:12:21,800 --> 00:12:28,060 just start sending so we you need to use a a new kernel mode um for sending those messages. Um 124 00:12:28,940 --> 00:12:34,160 you can download it it's it's free on on Github. Um there is a still a small issue I 125 00:12:34,160 --> 00:12:38,820 think um with the um with the ATH9K driver. Um it's uh it's uh it's uh it's uh it's 126 00:12:38,840 --> 00:12:43,620 a driver the wifi driver that you need to have because um there is a database which 127 00:12:43,620 --> 00:12:47,120 implements the regulations that you have in the different countries like which channels 128 00:12:47,120 --> 00:12:55,600 you're supposed to use uh and stuff like this. And this I think um permitted us to actually 129 00:12:55,600 --> 00:13:01,040 go to this um channel that we need to use. There are some patches out there already um I 130 00:13:01,040 --> 00:13:05,260 don't know if they work I haven't had the time to test them out but feel free take this 131 00:13:05,260 --> 00:13:08,820 information if you want to build something like that. Um I think there are some patches 132 00:13:08,840 --> 00:13:12,720 out there that I think they are happy to help out. Um they are very active on on the mailing list 133 00:13:12,720 --> 00:13:22,500 so shouldn't be an issue to uh get in touch with them. Um basic safety message. So what's what's 134 00:13:22,500 --> 00:13:26,720 in there? What do we send over there? We send speed, we send the position, we send the 135 00:13:26,720 --> 00:13:33,140 heading and the accel acceleration. Those three data points is what we send with 10 hertz so 136 00:13:33,140 --> 00:13:38,680 10 times a second. This message gets sent out from each and every vehicle um that is a quick 137 00:13:38,840 --> 00:13:46,500 test with that. And the information is signed so there's a digital signature in there um and I 138 00:13:46,500 --> 00:13:54,920 think every um every fifth message we send a certificate with that as well. So you can verify 139 00:13:54,920 --> 00:13:59,640 if this information that you just received is something from a trusted source. That's the 140 00:13:59,640 --> 00:14:08,820 idea. Um oh and there's date and time in there as well. For uh traffic control we have a 141 00:14:08,840 --> 00:14:12,860 bunch of traffic light um applications. There are a bunch of different messages defined 142 00:14:12,860 --> 00:14:20,520 already. Uh one of them is the so called sped message. Um there is encoded the movement state um 143 00:14:20,520 --> 00:14:26,180 which is like the traffic light face. It is in there right now. What's the ending time and 144 00:14:26,180 --> 00:14:32,280 based on this you can think of a couple of um applications that you can build on top. Like red 145 00:14:32,280 --> 00:14:38,820 light violation warning you get the information. It's still 20 seconds red but the car is approaching way too fast. This is an 146 00:14:38,820 --> 00:14:47,560 traffic light to send a message to the driver hey better ingrate your brakes. Um all those 147 00:14:47,560 --> 00:14:56,380 messages as I said get signed. Um we have one uh type of certificates for each field so we 148 00:14:56,380 --> 00:15:02,800 have one um for V2V messages. Um they are called pseudonym certs uh pseudonym um certificates 149 00:15:02,800 --> 00:15:11,800 and we have application certs for um the V2I area. The pseudonym certs are actually um um 150 00:15:12,280 --> 00:15:20,320 quite new concept uh in in this area because um this technology is going to be mandated 151 00:15:20,320 --> 00:15:26,800 eventually. And that means that each and every new vehicle sold here in the US needs to be 152 00:15:26,800 --> 00:15:32,780 equipped with V2V and need to send those messages. And in order to avoid that you need to 153 00:15:32,800 --> 00:15:39,540 avoid that somebody is sitting on the sidewalk and just sniffing messages. And being able to 154 00:15:39,540 --> 00:15:46,980 track cars um by just doing so. We need to avoid that there are any uh permanent IDs in the 155 00:15:46,980 --> 00:15:51,580 messages. And we also need to avoid that they can just use the certificate that we use to sign 156 00:15:51,580 --> 00:15:58,680 the messages in order to track the cars. So you have actually a whole bunch of um so so-called 157 00:15:58,680 --> 00:16:02,780 pseudonym certs that you use um and that you exchange with the V2V and the V2I area. Um and 158 00:16:02,800 --> 00:16:14,700 the about this week, you throw them away and get a new bunch of certificates. Um the 159 00:16:15,740 --> 00:16:22,240 architecture for this is quite complicated. So the architecture for the CA or the public key 160 00:16:22,240 --> 00:16:29,280 infrastructure that we built for this um because we only we don't only wanna protect against 161 00:16:29,280 --> 00:16:34,360 attacks like somebody sitting actually on the sidewalk but also against insider attacks. So 162 00:16:34,360 --> 00:16:39,420 somebody running a part of the PKI should also not be able to tell which pseudonym certs 163 00:16:39,420 --> 00:16:43,500 belong to which vehicle. Because otherwise he already has this information he just needs to 164 00:16:43,500 --> 00:16:50,440 start listening out in the field and see where cars are going. Um this actually will be quite 165 00:16:50,440 --> 00:16:54,740 hard to explain if you don't see it uh over there so I brought a picture of the architecture. 166 00:16:54,740 --> 00:17:01,920 Um but I I I give my best. So you start with an enrollment cert. That's the very first 167 00:17:01,920 --> 00:17:08,300 certificate that you get. Um this is not uh this is per device that is out there in the field. 168 00:17:08,660 --> 00:17:13,080 And this is only used for communication with the security convention management system. So 169 00:17:13,080 --> 00:17:18,040 you never use this certificate for anything else than just authentication against the um 170 00:17:19,700 --> 00:17:24,680 SCMS um security convention management system. With this enrollment cert you 171 00:17:24,740 --> 00:17:31,340 can go to the registration authority and download or request pseudonym certs or 172 00:17:31,860 --> 00:17:38,920 application certs based on the permissions that you have uh within this enrollment cert. If 173 00:17:38,920 --> 00:17:43,220 you focus on the pseudonym certs for now um because they are the ones that need to have this 174 00:17:43,220 --> 00:17:50,300 special protection against insider attacks. Um the registration authority will um take your 175 00:17:50,300 --> 00:17:54,720 request as a single request um we use a technology called Butterfly key expansion, uh um 176 00:17:54,740 --> 00:18:03,540 um, to expand this one request to initially 3,000, um, pseudonym cert requests. And the device not 177 00:18:03,540 --> 00:18:10,000 only sends this request, but it also sends a response encryption key. The registration authority 178 00:18:10,000 --> 00:18:15,700 takes those individual requests, expands the request, and expands this response, uh, response 179 00:18:15,700 --> 00:18:22,940 encryption key as well, and forwards them to the pseudonym, uh, CA, certification authority. This 180 00:18:22,940 --> 00:18:27,820 authority creates the pseudonym certs, encrypts them with the, uh, response encryption key, one by 181 00:18:27,820 --> 00:18:33,680 one. The requests are shuffled, so they are not sent batch-wise, like, I get one request, send 182 00:18:33,680 --> 00:18:40,020 3,000 up, get another one, next 3,000. But I shuffle them on the RA level so that the PCA is 183 00:18:40,020 --> 00:18:45,940 not able to tell, just by looking at the sequence, okay, there's a high probability that this, uh, 184 00:18:46,040 --> 00:18:51,760 set of pseudonym certs actually belong to one device. They encrypt them, um, send them back to 185 00:18:51,760 --> 00:18:52,920 the RA, so the RA is not able to tell, uh, just by looking at the sequence, okay, there's a high 186 00:18:52,940 --> 00:18:58,780 probability that the RA cannot look into, um, the certificate. Um, zip them, and then get them 187 00:18:58,780 --> 00:19:09,340 ready for download of, uh, for the devices. Um, maybe a little bit later about how we do, um, 188 00:19:10,200 --> 00:19:16,220 revocation in this case. So, why it's important that, uh, when we have this system, we would 189 00:19:16,220 --> 00:19:21,660 still be able, if it's a single organization running the whole, uh, public key infrastructure 190 00:19:21,660 --> 00:19:22,920 for this, this organization will still be able to run the whole, uh, public key infrastructure for 191 00:19:22,940 --> 00:19:26,240 this, this organization will still be able to tell, right, because it just needs to look on the 192 00:19:26,240 --> 00:19:30,580 different components within the system, get the data from there, and then they can make pretty 193 00:19:30,580 --> 00:19:35,600 good guesses, um, which certificates belong together. So, what we need to have in this public 194 00:19:35,600 --> 00:19:41,660 key infrastructure is a separation of duties, a separation, um, of the different components. 195 00:19:42,360 --> 00:19:47,500 And there are some components that shouldn't be in one single hand, because if you combine those 196 00:19:47,500 --> 00:19:52,920 information, you can get, uh, gain the information about, um, which certificates actually belong to, 197 00:19:52,920 --> 00:20:00,460 uh, a single car. So, registration authority that I just introduced and the pseudocert author, uh, 198 00:20:00,950 --> 00:20:06,780 authority, they shouldn't be able, they shouldn't be run by one single, um, organization, because if 199 00:20:06,780 --> 00:20:12,560 you get the requests and they're, even if they're shuffled, you still can trace back, um, which 200 00:20:12,560 --> 00:20:22,900 certs belong to one, um, batch. Um, we have one, um, speciality, um, which is, um, the 201 00:20:22,920 --> 00:20:28,020 the speciality in this PKI that you don't see in any other PKIs, I guess, um, that's the so-called 202 00:20:28,020 --> 00:20:35,700 linkage authority. Linkage authorities are used to generate, um, linkage values, and those linkage 203 00:20:35,700 --> 00:20:41,280 values are get, uh, put into the devi- and in the certificate as well, so that once we start doing 204 00:20:41,280 --> 00:20:47,100 misbehavior investigation, which is the part that we need to do in order to identify your laptop on 205 00:20:47,100 --> 00:20:52,900 the sidewalk sending messages, for example, by using fake certs or actually, uh, using, uh, you know, 206 00:20:52,900 --> 00:20:59,980 using real certs that you extracted from a device that you found somewhere, um, we need to be able 207 00:20:59,980 --> 00:21:04,980 to tell, again, which certs belong together, right? Because if you have a whole bunch of pseudocerts 208 00:21:04,980 --> 00:21:10,820 and we are speaking about 3,000th worth of three years, uh, initially that you put in a, uh, 209 00:21:10,860 --> 00:21:17,660 vehicle, uh, if one of them get, get blacklisted or revoked, you just take the next one, right? 210 00:21:17,960 --> 00:21:22,880 So, there need to be some mechanism in there that we can use in order to 211 00:21:22,900 --> 00:21:30,360 identify still which, uh, belongs to, um, together, but in a way that I don't get the actually 212 00:21:30,980 --> 00:21:36,680 pseudocerts out there. So, I shouldn't have any single component, again, in the system which 213 00:21:36,680 --> 00:21:44,740 knows the actually certs and which of those certs belong to a single set or a single device. So, 214 00:21:44,860 --> 00:21:52,280 what we do here is we have, um, so-called linkage seats, um, which is hash value, and we have two 215 00:21:52,900 --> 00:21:57,540 linkage, linkage authorities, both with those seats. They, again, need to be run by different 216 00:21:57,540 --> 00:22:03,060 organizations, and they generate so-called pre-linkage values. So, they take a hash value, 217 00:22:03,300 --> 00:22:09,520 create another hash of it, 20 per week, um, send them back to the RA, uh, actually, or, yeah, via 218 00:22:09,520 --> 00:22:17,760 the RA to the PCA, they're encrypted, um, with, um, with a key towards the, um, PCA, so the RA 219 00:22:17,760 --> 00:22:24,740 cannot read them, and the PCA will XOR them together to get the linkage value. It's a little 220 00:22:24,740 --> 00:22:29,860 bit complicated if you don't see the pictures right now, so I apologize for that. Um, if you 221 00:22:29,860 --> 00:22:35,580 have any questions towards this, feel free to reach out, um, to me or ask them right after the 222 00:22:35,580 --> 00:22:42,220 talk, I give a little bit, hope I have a little bit, uh, more time for this. Um, but it works in a 223 00:22:42,220 --> 00:22:47,740 way that you only can do, it's a forward hash, so you can only take the latest one, and if you 224 00:22:47,760 --> 00:22:52,640 get the linkage seed again, you can put this on the CLL, and everybody can do the same 225 00:22:52,640 --> 00:22:59,580 calculations to find out if a, um, linkage value that, uh, is in any pseudonym cert belong to a 226 00:22:59,580 --> 00:23:05,000 group of linkage, uh, pseudonym certs that are revoked. That's the whole idea. So, we put out 227 00:23:05,000 --> 00:23:10,200 the linkage seeds once we identified that there is some high kind of misbehavior out there. 228 00:23:12,900 --> 00:23:17,740 Um, so those linkage authorities needs to be separated in different organizations, and, um, 229 00:23:17,760 --> 00:23:23,820 they also be need to, uh, need to be separate from the, um, pseudonym CA, because that's, um, the 230 00:23:23,820 --> 00:23:31,400 place where they were, um, XORed, and if the PCA knows which initial hash values were used, they 231 00:23:31,400 --> 00:23:37,580 can just do the calculations and get the information, um, which pseudonym certs belong 232 00:23:37,580 --> 00:23:47,740 together. Um, so, I'm talking about misbehavior detection. I think, if you, if you, if you, if 233 00:23:47,760 --> 00:23:56,680 you, um, if you have a system like this, we can almost expect that you guys will work on this and 234 00:23:56,680 --> 00:24:03,340 see what, what you can do. Um, we know that people are able to extract those, um, extract any 235 00:24:03,340 --> 00:24:08,480 private keys from devices. Um, there are very sophisticated techs out there. So, we need to 236 00:24:08,480 --> 00:24:15,900 anticipate in the system already that eventually private keys get extracted, um, certificates will 237 00:24:15,900 --> 00:24:17,740 be flying around, and we need to have, you know, some kind of, you know, some kind of, you know, some 238 00:24:17,740 --> 00:24:23,080 countermeasures for this. So, the countermeasure for this is we do some kind of misbehavior 239 00:24:23,080 --> 00:24:30,000 detection. Um, that is, we try to validate information already on the car, that's the local part to it, 240 00:24:30,040 --> 00:24:35,000 local misbehavior detection, and see if they make sense. Like, for example, if you get two 241 00:24:35,000 --> 00:24:40,860 messages from supposedly two different cars, signed by different, um, pseudonym certs, and the 242 00:24:40,860 --> 00:24:46,520 location that is sent in there is so close to the other location that either they crashed right 243 00:24:46,520 --> 00:24:47,340 now in front of you. 244 00:24:48,260 --> 00:24:54,060 Or, something is wrong. There could be tons of different reasons for this, right? There could be 245 00:24:54,060 --> 00:25:00,560 bad GPS re- uh, reception. There could be an error in the GPS module. Um, there could be 246 00:25:00,560 --> 00:25:06,560 actually somebody sitting on the sidewalk and sending messages and getting in the same location 247 00:25:06,560 --> 00:25:14,180 as a car in the street. Um, we don't care about what the reason is, because the standard says 248 00:25:14,180 --> 00:25:20,560 that if you know that you have bad GPS reception, and most modern GPS devices are able to tell, um, 249 00:25:20,680 --> 00:25:27,620 how good their accuracy is, uh, you stop sending. So, if you implemented everything correctly on the 250 00:25:27,620 --> 00:25:35,480 device, and on, in your car, and nobody's spoofing, um, you're not supposed to send. If you still 251 00:25:35,480 --> 00:25:40,160 send, we can assume that there is some kind of misbehavior, and we don't care if it's wrong 252 00:25:40,160 --> 00:25:43,360 software on your car, or if it's somebody sitting on the sidewalk. 253 00:25:44,180 --> 00:25:48,280 There's something wrong, and we shouldn't, we shouldn't issue warnings based on your wrong 254 00:25:48,280 --> 00:25:56,320 locations to other cars. So, if we detect this, um, the vehicle that detected this misbehavior will 255 00:25:56,320 --> 00:26:03,880 send up a report, and the reports get, um, put into this investigation, where we try to, um, see 256 00:26:03,880 --> 00:26:08,820 if they belong together. So, you get, like, two different messages from, um, signed with two 257 00:26:08,820 --> 00:26:14,160 different pseudonym certs, but stemming from the same device. And what we do then is, um, we 258 00:26:14,160 --> 00:26:19,620 take those pseudonym certs and send them to the linkage authorities in order to get, um, a trace 259 00:26:19,620 --> 00:26:24,100 back to, throughout the system to see if they belong to the same linkage seat in the very 260 00:26:24,100 --> 00:26:29,620 beginning. The answer that the misbehavior authority, which is doing this process, will get is 261 00:26:29,620 --> 00:26:38,080 only, um, there's one, um, pseudonym cert in here, and I tell you which one, and there were five 262 00:26:38,080 --> 00:26:43,340 others in your request that belong to this, but I don't tell you which ones. So, we, again, try to 263 00:26:43,340 --> 00:26:50,300 protect the privacy, um, of the actual device even when we do misbehavior investigation up to the 264 00:26:50,300 --> 00:26:58,060 highest level possible. Um, and once we identify that this is actually misbehavior, so we've got 265 00:26:58,060 --> 00:27:04,060 enough reports, again, enough is a question about what the report was about. So, for example, if we 266 00:27:04,060 --> 00:27:10,340 have this overlapping and we have two different cars reporting the same, um, set of pseudonym 267 00:27:10,340 --> 00:27:13,320 certs doing this. We can assume that there is something going on, so, um, you can, you know, try to, um, 268 00:27:13,340 --> 00:27:20,420 going wrong. Um, we then put those information on a certificate revocation list, put them 269 00:27:20,420 --> 00:27:26,180 out to the system and then they need to be distributed to the cars. And that's, that's a 270 00:27:26,180 --> 00:27:31,100 weak point in the system right now because we need to get them, those information as soon as 271 00:27:31,100 --> 00:27:36,200 possible out there. Um, one problem that we have right now is that we can't assume that all 272 00:27:36,200 --> 00:27:43,300 Kona's, uh, cars are connected every time. So we need to find a way to get those, um, CRLs to 273 00:27:43,340 --> 00:27:49,060 them even if they are not online. And one of the projects that we're, um, starting to implement 274 00:27:49,520 --> 00:27:56,840 is, um, a P2P network between cars so that you actually can ask another car that is, um, within 275 00:27:56,840 --> 00:28:05,980 your, um, range, do you have a newer CRL? And if so, please start sending me the CRL. Um, this 276 00:28:05,980 --> 00:28:12,580 will go until we have a reasonable amount of numbers of cars that are out there that, that are 277 00:28:13,340 --> 00:28:19,140 using it. Um, and then we might start speaking about other, um, technologies than CRLs in order 278 00:28:19,140 --> 00:28:25,680 to get those bad certificates out of the system. But up to then, um, I think that's the only 279 00:28:25,680 --> 00:28:33,220 solution that we have right now. Um, one problem that I wanted to talk a little bit and I hope I 280 00:28:33,220 --> 00:28:40,860 have, um, yeah, 10 minutes left. Um, so we have a traditional PKI and in any traditional PKI you 281 00:28:40,860 --> 00:28:48,680 have a root CA, anchor of trust. And the problem again is um there is a validity period so 282 00:28:48,680 --> 00:28:53,980 we don't wanna have a root CA that is flying or which is valid for I don't know 50, 70, 80 283 00:28:53,980 --> 00:29:02,140 years just to match the lifetime of a vehicle um of about 20 years, some say 40 years. Um so 284 00:29:02,140 --> 00:29:06,620 we need to get shorter lifetimes in there and we can only do this if we have a rollover 285 00:29:06,620 --> 00:29:13,700 right? That's traditional PKI um mechanisms. But if we roll over to a new root, how do we get 286 00:29:13,700 --> 00:29:19,000 this root out to the vehicles so that they can start using or start using this new root to 287 00:29:19,000 --> 00:29:26,440 verify incoming messages? Um what you do traditionally is you do a software update, firmware 288 00:29:26,440 --> 00:29:31,700 update, browser updates, that's how it works in the internet world. Um but there's no way of 289 00:29:31,700 --> 00:29:36,540 doing this if you are not online or if you are asking somebody on the street like 290 00:29:36,620 --> 00:29:42,100 another car hey I saw your message, links up to a different trust chain and I don't 291 00:29:42,100 --> 00:29:48,140 know this root so what do I do? Um and the idea that we came up with is the so called 292 00:29:48,140 --> 00:29:53,580 Electro Concept. So we have some kind of super power in there they're not part of the PKI, 293 00:29:54,200 --> 00:30:00,560 there are some kind of signatures CA um CAs so all they do is they sign a message uh which 294 00:30:00,560 --> 00:30:06,600 says this certificate over here is a new root and we um will send it to you and we will send it to 295 00:30:06,620 --> 00:30:11,700 ensure that this is part of the system. Um there's always a quorum so we have like for 296 00:30:11,700 --> 00:30:17,540 example we start with three electors and as long as at least two of them sign the message that 297 00:30:17,540 --> 00:30:23,600 this new route is part of the system from now uh you can trust them. Those three 298 00:30:24,140 --> 00:30:29,160 electro certificates get pre-installed on all the devices and the good thing is if it's three 299 00:30:29,160 --> 00:30:36,300 we can also remove them and get new ones in there. Like the same operation like as if we add a 300 00:30:36,300 --> 00:30:42,300 new route we have a message to add a route we have a message to remove a route if it's going 301 00:30:42,300 --> 00:30:47,180 bad like compromise or something like that in the worst case. And the same uh with the 302 00:30:47,180 --> 00:30:52,600 electors as long as you have three electors you can always add a fourth elector by having at 303 00:30:52,600 --> 00:30:59,840 least two signing um the message and then remove the one that you want to exchange with the 304 00:30:59,840 --> 00:31:06,160 new three new ones. So with that we have some kind of democracy up there uh where we always 305 00:31:06,300 --> 00:31:14,440 already can vote always can vote new electors in there and add and remove um route CAs from all the 306 00:31:14,440 --> 00:31:21,340 devices. And then I think about this um is that you don't need to have an online connectivity um in 307 00:31:21,340 --> 00:31:25,940 your car in order to get those messages because again you can ask just another vehicle. As long as 308 00:31:25,940 --> 00:31:31,020 you get the message uh which is signed by the electors you can always verify if this is a 309 00:31:31,020 --> 00:31:34,940 trusted um route or or an uh or not. 310 00:31:36,300 --> 00:31:42,040 So you don't rely on any uh kind of online connectivity you only rely on other cars telling 311 00:31:42,040 --> 00:31:48,200 you that this is actually part of the system. And you can do this in the moment where a car under 312 00:31:48,200 --> 00:31:53,000 this new route is sending you a message. So you get this message you see the chain up to a 313 00:31:53,000 --> 00:31:58,520 different route and you just ask hey give me your route certificate and this add message. And as 314 00:31:58,520 --> 00:32:06,280 long as it can verify I can trust your message. Um we published a paper about this uh 315 00:32:06,300 --> 00:32:12,720 so uh if anybody wants to discuss about this I'm more than happy. Um and we're actually implementing 316 00:32:12,720 --> 00:32:23,020 this so it's not um something that we just talk about in in science um or research. Um we 317 00:32:23,020 --> 00:32:31,280 actually demonstrated this um whole PKI one week ago um where we issued certificates that are 318 00:32:31,720 --> 00:32:36,280 that in in in an amount or we issued pseudonym certs in an amount of time. Um and we actually 319 00:32:36,300 --> 00:32:41,280 showed an amount that is equivalent to a first years production within the US um which is 320 00:32:41,280 --> 00:32:46,940 roughly 70 million cars. Uh so we were able to show that we are capable with this system uh to 321 00:32:46,940 --> 00:32:54,880 generate enough certificates to get 3000 um in there per device. Um and we showed that we are 322 00:32:54,880 --> 00:32:59,680 capable of running this new concepts with the linkage values, with butterfly keys and with the 323 00:32:59,680 --> 00:33:06,120 electrodes as well. And this system will be used within the upcoming connected vehicle pilots 324 00:33:06,300 --> 00:33:12,120 that I um started to talk about. Um to issue certificates to devices so whenever you are 325 00:33:12,120 --> 00:33:16,400 sitting on the site work in the future getting V2X messages and looking into them those 326 00:33:16,400 --> 00:33:26,840 certificates will be coming from our system. Um and with that I close my talk. If there are 327 00:33:26,840 --> 00:33:31,420 any questions about this I don't know how much time we still have. We started a little bit late. 328 00:33:31,740 --> 00:33:36,280 We can do it right now or just grab me afterwards. I will be hanging out with you guys in the next 329 00:33:36,280 --> 00:33:38,240 few weeks. We will be hanging around in the Carriacan Village I guess most of the time. 330 00:33:47,140 --> 00:33:55,300 I have two questions but I have one. Um how is your system uh how is that system preventative for 331 00:33:55,300 --> 00:34:00,640 the emergency vehicle signals that also go to smart lights and the vehicle to infrastructure uh 332 00:34:00,640 --> 00:34:05,580 from replay tasks? Because I could sit there. I could be a fire truck. I could turn the light green. 333 00:34:06,280 --> 00:34:12,480 How is your system preventing that type of um. Um so first of all you need to have a um a 334 00:34:12,480 --> 00:34:17,800 certificate for this um special certificate for this um and just replaying the attack there's 335 00:34:17,800 --> 00:34:24,480 always a timestamp in there. And if there's a certain threshold um but this threshold is is 336 00:34:24,480 --> 00:34:32,860 pretty small so um it's either you are within the same area and replaying within microseconds the 337 00:34:32,860 --> 00:34:36,260 same message but if it's a valid message we don't care right. So the thing is you can activate it. 338 00:34:36,260 --> 00:34:40,880 if this message is turning something green it's a real emergency car so the replay attack 339 00:34:40,880 --> 00:34:45,760 just will turn it green again so nothing happens. If you try to take this message and send it 340 00:34:45,760 --> 00:34:53,200 afterwards um once the emergency car is already through um the time stamp will tell the device 341 00:34:53,200 --> 00:35:01,080 that um it's a replay attack. So it it's based on synchronized clocks. We need to have 342 00:35:01,080 --> 00:35:07,520 synchronized clocks in all devices. Which is actually an issue because we need to agree upon 343 00:35:07,520 --> 00:35:14,620 one time system. There are different out there and all these discussions. Yeah. 344 00:35:21,180 --> 00:35:26,400 Yep. So it sounds like you had a lot of messages going back and forth. What if somebody, a 345 00:35:26,400 --> 00:35:30,740 threat actor came in and did a denial of service and they just started hitting you? 346 00:35:34,520 --> 00:35:40,740 Um right now there is not a really good solution to this. Um the only solution that we 347 00:35:40,740 --> 00:35:48,500 have is it's contained in a certain area right? You can sit at one intersection and flood the 348 00:35:48,500 --> 00:35:54,420 channel over there and it will maybe be around 300 meters uh where nobody can talk to each 349 00:35:54,420 --> 00:35:59,600 other anymore. So this intersection won't work. Uh you won't see any messages or you will 350 00:35:59,600 --> 00:36:01,060 only see those messages that are connected to the device. So it's not a good solution. So 351 00:36:01,080 --> 00:36:07,020 you can use that to issue warnings. But if you are actually able to flood the whole channel in 352 00:36:07,020 --> 00:36:12,600 this area. Um the only thing that will happen is is that devices that see those messages coming 353 00:36:12,600 --> 00:36:19,380 in um will report this because you are supposed to send 10 times a second if you do it uh more 354 00:36:19,380 --> 00:36:24,020 often than that. That's clearly a misbehavior that is uh that should be or that will be 355 00:36:24,020 --> 00:36:29,700 reported. Um if you are capable of doing this with a whole bunch of different devices because you 356 00:36:29,700 --> 00:36:36,500 prepared your tech very well. Um this is something that we can't detect if you have the right 357 00:36:36,500 --> 00:36:42,180 certificates and stuff like this. So if if you look like a legitimate device and your messages 358 00:36:42,180 --> 00:36:47,960 make sense like they are all on the street. They are all not overlapping. All those kind of 359 00:36:47,960 --> 00:36:53,120 techniques that we have um implemented for misbehavior detection already. There's not much 360 00:36:53,120 --> 00:36:58,240 that we can do right now. There are some works or some research on the physical level um physical 361 00:36:58,240 --> 00:36:59,680 layer. To see if it works or not. So that's the only thing that we can do right now. So if you are 362 00:36:59,680 --> 00:37:03,940 able to see if there is anything that we can do there. But that's nothing that we can implement to 363 00:37:03,940 --> 00:37:20,780 our production system right now. Any more questions? Yep. Pardon me? Um so in the vehicles 364 00:37:20,780 --> 00:37:27,220 clocks are synchronized via GPS. Um there is a time signal on all on on a GPS channel. Um 365 00:37:29,460 --> 00:37:37,760 yeah. So you can use a GPS jammer or a fake GPS. Try to introduce this in the system. Yeah. 366 00:37:41,720 --> 00:37:44,520 Okay then. Do you have no more questions? Thanks a lot.