1 00:00:00,000 --> 00:00:07,440 All right, I'm Zaz, and it's a great pleasure to be back here at DEF CON China 1.0. 2 00:00:08,600 --> 00:00:14,900 My talk is going to be on hacking driverless vehicles, and I'm also going to be including 3 00:00:14,900 --> 00:00:21,460 connected vehicles in that, because basically unmanned vehicles are just another Internet 4 00:00:21,460 --> 00:00:25,260 of Things device, except they're an Internet of Things device that's covered in sensors 5 00:00:25,260 --> 00:00:29,140 and that's able to move around in the real world and cause all kinds of mayhem. 6 00:00:31,520 --> 00:00:37,980 So, I'll be looking at all of that stuff, and one important distinction that I want 7 00:00:37,980 --> 00:00:42,900 to make right from the beginning is that I'm not going to be looking at attacks that include 8 00:00:42,900 --> 00:00:44,740 a network foothold on the platform. 9 00:00:44,940 --> 00:00:48,100 If you have a network foothold on the platform, you can do anything you want. 10 00:00:48,220 --> 00:00:48,980 That's well known. 11 00:00:49,140 --> 00:00:53,120 I'm going to be looking at ways that you can attack these vehicles from outside the 12 00:00:53,120 --> 00:00:53,460 system. 13 00:00:54,820 --> 00:00:56,260 A little bit of background about myself. 14 00:00:56,760 --> 00:00:58,580 I have an autonomous robots background. 15 00:00:59,120 --> 00:00:59,900 I have a PhD. 16 00:00:59,900 --> 00:01:06,600 I have a PhD in robotics, and I am best known perhaps for a TV show that I did with another 17 00:01:06,600 --> 00:01:08,980 speaker that spoke at 10 a.m. this morning, Joe Grand. 18 00:01:09,440 --> 00:01:13,660 The show was called Prototype This, and in the course of that show, we actually prototyped 19 00:01:13,660 --> 00:01:14,900 a number of autonomous systems. 20 00:01:15,100 --> 00:01:21,900 For example, we did an unmanned aerial vehicle that delivered life preservers out to a swimmer 21 00:01:21,900 --> 00:01:27,380 in the ocean, and we learned a lot about the various failures of aerial platforms and 22 00:01:27,380 --> 00:01:29,880 how to iterate on those platforms as part of that. 23 00:01:29,900 --> 00:01:35,820 We also turned our hands to ground vehicles, looking at one of the principal problems in 24 00:01:35,820 --> 00:01:39,600 the autonomous ground vehicle space, the efficiency of pizza delivery. 25 00:01:39,940 --> 00:01:45,580 So we did two vehicles there, a local vehicle for delivering pizzas on the streets, and 26 00:01:45,580 --> 00:01:51,580 a long-range vehicle for long-range pizza delivery, which included the first-ever autonomous 27 00:01:51,580 --> 00:01:53,760 crossing of a highway bridge in the United States. 28 00:01:53,920 --> 00:01:55,240 So this was pretty serious work. 29 00:01:56,960 --> 00:01:57,860 But I... 30 00:01:57,860 --> 00:01:58,500 You know... 31 00:01:58,500 --> 00:01:58,940 Although... 32 00:01:59,900 --> 00:02:03,640 Autonomous vehicles seem like a new and shiny thing, I want to take you back to the 33 00:02:04,120 --> 00:02:09,680 sort of origins of autonomous vehicles, which weren't, in fact, in the United States. 34 00:02:09,980 --> 00:02:16,740 The first stuff was done in Germany in the 1980s, 1986, a vehicle called VaMors that 35 00:02:16,740 --> 00:02:20,840 was done by a pioneer of autonomous vehicles, Ernst Dickmanns. 36 00:02:21,360 --> 00:02:29,420 And in 1995, they drove an autonomous vehicle from Munich to Copenhagen at up to 175 kilometers 37 00:02:29,420 --> 00:02:29,880 per hour. 38 00:02:29,900 --> 00:02:37,600 On the Autobahn, using nothing but vision, no GPS, no LIDAR, just using cameras. 39 00:02:38,040 --> 00:02:39,960 So this stuff is pretty old, right? 40 00:02:40,120 --> 00:02:41,180 So this is kind of like... 41 00:02:41,180 --> 00:02:41,780 What's this talk about? 42 00:02:41,920 --> 00:02:43,460 It's about hacking Windows 3.1? 43 00:02:43,900 --> 00:02:44,300 No. 44 00:02:44,640 --> 00:02:45,320 A lot of... 45 00:02:45,780 --> 00:02:47,920 There's a lot of new stuff being done in the space. 46 00:02:49,260 --> 00:02:52,020 So I'm just going to do a quick summary of what's happening in the autonomous vehicle 47 00:02:52,020 --> 00:02:56,580 area in Asia, because America is getting all the press, but a lot of interesting stuff 48 00:02:56,580 --> 00:02:57,440 is happening here in Asia. 49 00:02:57,780 --> 00:02:58,940 So Singapore. 50 00:02:59,480 --> 00:03:01,100 They're looking to be a regional leader. 51 00:03:01,220 --> 00:03:04,120 They have autonomous bus services that they're planning to schedule by 2022. 52 00:03:04,660 --> 00:03:09,500 But China, right here, is the place that's positioning itself to be a technology leader 53 00:03:09,500 --> 00:03:10,520 in unmanned systems. 54 00:03:10,860 --> 00:03:13,680 So they're doing autonomous bus testing in Shanghai right now. 55 00:03:14,060 --> 00:03:17,640 In Guangzhou, public road testing since last year. 56 00:03:18,660 --> 00:03:24,440 Here in Beijing, Baidu is testing on 105 kilometers of suburban roads, and they have a partnership 57 00:03:24,440 --> 00:03:24,940 with Volvo. 58 00:03:25,100 --> 00:03:28,500 So they're looking to deploy level four autonomous taxis. 59 00:03:28,940 --> 00:03:30,700 Fully driverless taxis by 2021. 60 00:03:31,140 --> 00:03:31,960 Pretty exciting. 61 00:03:33,060 --> 00:03:38,520 So there's a revolution that's going to happen in driverless systems because of so many advantages. 62 00:03:39,140 --> 00:03:43,820 The energy efficiency of not having to haul a human driver everywhere you go, the time 63 00:03:43,820 --> 00:03:48,300 efficiency of not having to deal with the needs of that driver, and the new applications 64 00:03:48,300 --> 00:03:49,200 that it opens up. 65 00:03:49,460 --> 00:03:55,400 So lots of areas in the civil space, obviously transportation, also oceanography. 66 00:03:55,760 --> 00:03:58,480 The ocean is a dangerous and boring place for the most part. 67 00:03:58,480 --> 00:03:59,580 It's a great place to send robots. 68 00:04:00,500 --> 00:04:01,560 Mapping, of course. 69 00:04:02,620 --> 00:04:03,500 Filmmaking already. 70 00:04:03,680 --> 00:04:05,240 Autonomous drones have taken off there. 71 00:04:06,620 --> 00:04:09,520 Engineering tasks like power line and structural inspections. 72 00:04:09,980 --> 00:04:10,920 And logistics. 73 00:04:11,180 --> 00:04:11,700 Delivery. 74 00:04:11,900 --> 00:04:12,160 Right? 75 00:04:12,220 --> 00:04:13,620 That's something that has to happen everywhere. 76 00:04:14,560 --> 00:04:19,020 So in particular, in terms of logistics, don't just think about the air and the ground. 77 00:04:19,320 --> 00:04:22,140 The sea is a very important part of the logistics chain. 78 00:04:22,500 --> 00:04:25,020 And unmanned cargo shipping is the future. 79 00:04:26,200 --> 00:04:28,460 Because the accidents are mostly good. 80 00:04:28,460 --> 00:04:29,340 And that's what's going to be caused by the humans. 81 00:04:29,580 --> 00:04:32,080 75% of maritime accidents caused by human error. 82 00:04:32,580 --> 00:04:36,640 And a major technical challenge that has to be overcome, though, before we can deploy 83 00:04:36,640 --> 00:04:41,720 our unmanned systems is dealing with these long voyages, months at a time, and having 84 00:04:41,720 --> 00:04:42,360 hardware failure. 85 00:04:42,500 --> 00:04:45,680 A lot of the reason you have a human crew is to fix things that break. 86 00:04:46,600 --> 00:04:48,940 But here's an example that's just been announced. 87 00:04:49,180 --> 00:04:54,280 The Kongsberg company has announced they're going to deploy this boat called the Yara 88 00:04:54,280 --> 00:04:54,760 Birkeland. 89 00:04:55,060 --> 00:04:58,340 Which is going to be an electric, zero-emissions vehicle. 90 00:04:58,400 --> 00:04:58,440 And it's going to be an electric, zero-emissions vehicle. 91 00:04:58,440 --> 00:04:59,440 With autonomous capability. 92 00:04:59,860 --> 00:05:03,420 And so this will just give you an idea about how these systems are likely to be rolled 93 00:05:03,420 --> 00:05:03,680 out. 94 00:05:04,600 --> 00:05:07,200 It's going to replace 40,000 truck trips a year. 95 00:05:08,120 --> 00:05:10,740 So they're going to start in 2020 as a manned vehicle. 96 00:05:10,940 --> 00:05:13,260 They're going to drive this boat back and forth, delivering its things. 97 00:05:14,040 --> 00:05:16,100 2021, it's going to start down-crewing. 98 00:05:16,100 --> 00:05:19,180 And letting the robotic systems take over. 99 00:05:19,640 --> 00:05:21,960 Preparing for fully autonomous operation in 2022. 100 00:05:22,280 --> 00:05:25,420 So that's the kind of thing that you'll see out there in the real world. 101 00:05:28,000 --> 00:05:28,420 . 102 00:05:28,440 --> 00:05:34,660 But the priorities of the industry in the civil space are agriculture and self-driving 103 00:05:34,660 --> 00:05:34,960 cars. 104 00:05:35,280 --> 00:05:39,700 And the things that are in the way why we don't have our roads filled with driverless 105 00:05:39,700 --> 00:05:44,600 cars right now when Dickens was doing this stuff in the 80s and 90s, is the fact that 106 00:05:44,600 --> 00:05:45,520 we have shared infrastructure. 107 00:05:45,820 --> 00:05:52,020 We have to share the roads and the airspace and the oceans with human piloted vehicles. 108 00:05:52,720 --> 00:05:54,320 And the public acceptance. 109 00:05:54,420 --> 00:05:56,100 The perception of safety and robustness. 110 00:05:56,340 --> 00:05:58,420 So. . . . . . . . . . . . . . 111 00:05:58,420 --> 00:06:01,940 and robustness, let's talk about how these systems fail. 112 00:06:02,840 --> 00:06:06,360 So I'm going to look at two case studies of classic failures. 113 00:06:06,920 --> 00:06:12,320 Number one, there was an event held in 2004 called the DARPA 114 00:06:12,320 --> 00:06:13,040 Grand Challenge. 115 00:06:13,160 --> 00:06:16,460 That was an autonomous robot road race from Los Angeles 116 00:06:16,460 --> 00:06:18,960 to Las Vegas, the home of the original DEF CON. 117 00:06:19,580 --> 00:06:21,240 And this was a big deal. 118 00:06:21,360 --> 00:06:22,700 The prize was $1 million. 119 00:06:23,220 --> 00:06:25,960 And a lot of teams put a lot of work and a lot of money 120 00:06:25,960 --> 00:06:29,180 into trying to be the first to win this road race. 121 00:06:29,380 --> 00:06:32,480 And the favorite for this race was a vehicle called Sandstorm 122 00:06:32,480 --> 00:06:33,640 from Carnegie Mellon University. 123 00:06:34,120 --> 00:06:35,980 They developed all kinds of new sensors. 124 00:06:36,100 --> 00:06:38,280 They loaded it up with everything that it had to offer. 125 00:06:38,780 --> 00:06:41,340 The vehicle took off, and everyone was super excited. 126 00:06:41,480 --> 00:06:43,540 This was the one that everyone thought was going to win. 127 00:06:44,140 --> 00:06:45,100 Well, what happened? 128 00:06:45,840 --> 00:06:49,240 This vehicle got a few miles along the course, 129 00:06:49,740 --> 00:06:53,500 and then it veered off the road, crashed, rolled over, 130 00:06:53,600 --> 00:06:54,460 and caught fire. 131 00:06:54,960 --> 00:06:55,400 So. 132 00:06:55,960 --> 00:06:58,140 There it is, on fire off the side of the road. 133 00:06:59,480 --> 00:07:00,300 What went wrong? 134 00:07:00,460 --> 00:07:01,600 Everyone was very disappointed. 135 00:07:02,560 --> 00:07:05,300 Well, what went wrong was the fact 136 00:07:05,300 --> 00:07:08,000 that they knew the course a couple of days in advance, 137 00:07:08,160 --> 00:07:09,780 and they manually walked the whole course. 138 00:07:09,840 --> 00:07:11,500 They had a perfect GPS map. 139 00:07:11,900 --> 00:07:13,740 But when they actually went to run the race, 140 00:07:14,360 --> 00:07:16,360 they had to set the weighting to trust 141 00:07:16,360 --> 00:07:17,960 the sensors versus the GPS. 142 00:07:18,100 --> 00:07:19,660 And they trusted the sensors too much. 143 00:07:19,740 --> 00:07:22,180 The sensors got a wrong reading, drove the car off the road. 144 00:07:22,540 --> 00:07:25,520 So it's a constant battle to know, 145 00:07:25,520 --> 00:07:27,960 what the robot actually knows. 146 00:07:28,960 --> 00:07:31,780 And the correct estimation of that state 147 00:07:31,780 --> 00:07:33,700 is the key to decision making. 148 00:07:35,600 --> 00:07:39,300 And so a successful exploit of an autonomous vehicle 149 00:07:39,300 --> 00:07:41,680 will most likely subvert the state estimation process. 150 00:07:42,820 --> 00:07:45,480 Here's another more recent big failure. 151 00:07:45,680 --> 00:07:48,640 This was a Tesla in autopilot mode. 152 00:07:48,840 --> 00:07:50,980 This is from last year, March 2018. 153 00:07:51,700 --> 00:07:53,520 A huge accident that unfortunately 154 00:07:53,520 --> 00:07:55,020 was fatal for the driver. 155 00:07:56,460 --> 00:07:57,560 What went wrong? 156 00:07:57,960 --> 00:08:00,140 So the Tesla was in autopilot mode. 157 00:08:00,320 --> 00:08:03,940 And so it had two types of autonomous behaviors 158 00:08:03,940 --> 00:08:04,720 that it was doing. 159 00:08:04,820 --> 00:08:06,460 Number one, dynamic cruise control. 160 00:08:06,580 --> 00:08:07,940 It was following the vehicle in front. 161 00:08:08,100 --> 00:08:11,160 Number two, automatic steering with lane following. 162 00:08:11,360 --> 00:08:13,500 It was following the lanes and staying in its lane. 163 00:08:14,580 --> 00:08:17,100 It got to a fork in the highway. 164 00:08:17,460 --> 00:08:20,980 And it could have just kept following the vehicle in front, 165 00:08:21,040 --> 00:08:21,800 and it would have been fine. 166 00:08:21,960 --> 00:08:25,440 Instead, it followed bad lane markings, and it crashed. 167 00:08:25,440 --> 00:08:27,520 It crashed right into the barrier between the two roads. 168 00:08:29,160 --> 00:08:32,640 At 120 kilometers per hour, the crash attenuator 169 00:08:32,640 --> 00:08:34,660 that was there on the highway was 170 00:08:34,660 --> 00:08:36,240 supposed to stop that from being a terrible crash. 171 00:08:36,400 --> 00:08:37,460 But it was previously damaged. 172 00:08:37,620 --> 00:08:38,560 It wasn't fully functional. 173 00:08:38,760 --> 00:08:40,700 And so it was a bad accident. 174 00:08:40,940 --> 00:08:42,980 And as I said, the driver unfortunately died. 175 00:08:43,220 --> 00:08:45,340 And this all came down to one decision. 176 00:08:45,680 --> 00:08:48,880 The vehicle selected those poor lane markings instead 177 00:08:48,880 --> 00:08:50,180 of following the lead vehicle. 178 00:08:50,680 --> 00:08:55,380 So autonomous vehicles is an area that's 179 00:08:55,440 --> 00:08:59,040 full of fragile decision making and edge cases that 180 00:08:59,040 --> 00:09:01,260 have to be decided in a split second. 181 00:09:02,740 --> 00:09:04,720 So let's take a look at the logic structures 182 00:09:04,720 --> 00:09:05,920 inside an autonomous vehicle. 183 00:09:07,520 --> 00:09:09,400 There's a hierarchy of behaviors 184 00:09:10,090 --> 00:09:12,740 that operate at different speeds and at different priority 185 00:09:12,740 --> 00:09:13,140 levels. 186 00:09:13,480 --> 00:09:15,100 So at the bottom, you have your control loops, 187 00:09:15,240 --> 00:09:17,940 the maintenance of stability and operation of the vehicle. 188 00:09:18,300 --> 00:09:20,480 Above that, collision avoidance. 189 00:09:20,660 --> 00:09:22,780 So making sure once you have control of the vehicle 190 00:09:22,780 --> 00:09:24,520 that you can control it not to run into things. 191 00:09:24,520 --> 00:09:26,680 Then you've got your navigation and localization, 192 00:09:26,880 --> 00:09:27,820 getting where you want to go. 193 00:09:28,340 --> 00:09:32,040 And at the top level, your task planners and your reasoners. 194 00:09:32,120 --> 00:09:34,800 If you're a taxi, getting to the right place 195 00:09:34,800 --> 00:09:37,820 and then billing the customer, delivering pizza, so on, 196 00:09:37,920 --> 00:09:39,060 which I'll get to in a sec. 197 00:09:39,460 --> 00:09:41,580 So if you're attacking one of these systems, 198 00:09:41,860 --> 00:09:44,220 then you might want to attack lower level in the stack, 199 00:09:44,320 --> 00:09:46,160 because they defeat everything above that. 200 00:09:46,560 --> 00:09:50,820 However, because those lower level things are more mission 201 00:09:50,820 --> 00:09:54,280 critical, then more engineering effort is spent on guaranteed 202 00:09:54,280 --> 00:09:54,740 robustness. 203 00:09:54,860 --> 00:09:56,000 So they may be a harder target. 204 00:09:56,600 --> 00:09:58,340 You've got your juicier but harder targets, 205 00:09:58,420 --> 00:10:00,720 just like attacking many types of infrastructure. 206 00:10:01,740 --> 00:10:05,020 So two quick examples from the very beginning of this talk. 207 00:10:05,120 --> 00:10:06,220 The life-saving drone first. 208 00:10:07,220 --> 00:10:10,200 In its control loop level, it has its PID loops 209 00:10:10,200 --> 00:10:13,840 on its autopilot tuned to be able to cope with wind gusts 210 00:10:13,840 --> 00:10:18,460 and warm rising air, cold descending air, and so on. 211 00:10:18,740 --> 00:10:21,760 Then the collision avoidance level, absolutely nothing. 212 00:10:21,900 --> 00:10:23,440 This is a big problem for aerial vehicles, 213 00:10:23,440 --> 00:10:26,420 is that there's very little sense and avoid in place. 214 00:10:27,600 --> 00:10:28,700 Navigation and localization. 215 00:10:28,940 --> 00:10:30,800 That was simple waypoint circuit, 216 00:10:31,000 --> 00:10:33,120 going from waypoint to waypoint. 217 00:10:33,300 --> 00:10:35,440 And then the mission reasoner was 218 00:10:35,440 --> 00:10:37,000 to set up this dynamic bombing run 219 00:10:37,360 --> 00:10:39,780 to drop the life preserver to the person in trouble. 220 00:10:40,660 --> 00:10:43,040 So this is a system that's extremely vulnerable 221 00:10:43,040 --> 00:10:44,900 to collision, because there's no collision avoidance. 222 00:10:45,060 --> 00:10:48,260 And its high level logic depends on one single sensor, GPS. 223 00:10:48,680 --> 00:10:50,440 So if there's any problems with that sensor, 224 00:10:50,580 --> 00:10:51,880 the system's going to have problems. 225 00:10:53,440 --> 00:10:53,880 Pizza delivery. 226 00:10:54,140 --> 00:10:56,200 I'll look at the local pizza delivery, 227 00:10:56,340 --> 00:10:57,460 because it's kind of more interesting. 228 00:10:58,940 --> 00:11:01,720 The control loop level, this is a two-wheeled vehicle. 229 00:11:01,860 --> 00:11:04,000 So it has to do balancing and dynamic weight shifting. 230 00:11:04,120 --> 00:11:06,340 It's got to deal with the fact that the weight on top 231 00:11:06,340 --> 00:11:08,180 changes when a pizza is removed. 232 00:11:09,140 --> 00:11:10,500 At the collision avoidance level, 233 00:11:10,660 --> 00:11:12,040 that's what this system's all about. 234 00:11:12,300 --> 00:11:14,720 Dynamic obstacle discrimination and avoidance, 235 00:11:14,720 --> 00:11:16,240 using the LIDAR as a primary sensor. 236 00:11:17,320 --> 00:11:18,400 Navigation and localization. 237 00:11:18,680 --> 00:11:21,440 Route planning using a map that the system builds itself, 238 00:11:21,640 --> 00:11:22,920 with a process called SLAM. 239 00:11:22,920 --> 00:11:24,680 Simultaneous localization and mapping. 240 00:11:25,520 --> 00:11:28,140 And then the final high level reasoner 241 00:11:28,140 --> 00:11:31,000 is to dispense the pizza to the correct person, 242 00:11:31,100 --> 00:11:32,940 using the credit card as an authentication mechanism. 243 00:11:33,780 --> 00:11:35,800 So this is a system, because it's 244 00:11:35,800 --> 00:11:37,480 doing its dynamic obstacle avoidance 245 00:11:37,480 --> 00:11:38,900 and it's building its own map, it's 246 00:11:38,900 --> 00:11:41,320 vulnerable to all types of redirection, trapping, 247 00:11:41,340 --> 00:11:42,280 and map confusion attacks. 248 00:11:43,920 --> 00:11:45,520 So let's take a look at the suite of sensors 249 00:11:45,520 --> 00:11:47,440 that you might encounter in an autonomous system. 250 00:11:48,580 --> 00:11:50,420 There's a basic difference in sensor types. 251 00:11:50,580 --> 00:11:52,800 You have your active sensors that send information out. 252 00:11:52,920 --> 00:11:53,460 And reader return. 253 00:11:53,720 --> 00:11:55,560 And the passive sensors that just read in information 254 00:11:55,560 --> 00:11:56,380 from the environment. 255 00:11:57,360 --> 00:11:59,300 So commonly, you'll find GPS. 256 00:11:59,640 --> 00:12:01,220 And they're usually mounted on the roof, 257 00:12:01,300 --> 00:12:02,940 so they have an uninterrupted view of the sky. 258 00:12:04,640 --> 00:12:06,460 LIDAR, also often mounted on the roof. 259 00:12:06,580 --> 00:12:08,900 That's a laser range finder, which we'll get to later. 260 00:12:09,700 --> 00:12:11,660 You've got cameras for doing vision. 261 00:12:12,480 --> 00:12:14,560 Often a millimeter wave radar, usually 262 00:12:14,560 --> 00:12:15,700 on the front and back of the vehicle. 263 00:12:17,020 --> 00:12:18,660 Ultrasonic transducers are common for parking. 264 00:12:19,880 --> 00:12:21,100 Usually have a digital compass. 265 00:12:21,280 --> 00:12:22,540 It's always nice to have an absolute 266 00:12:22,540 --> 00:12:23,780 direction reference. 267 00:12:24,660 --> 00:12:27,100 An inertial measurement unit, so that you 268 00:12:27,100 --> 00:12:28,520 can measure acceleration and rotation. 269 00:12:29,380 --> 00:12:31,420 And then wheel encoders, so that you can get 270 00:12:31,420 --> 00:12:32,780 some kind of absolute odometry. 271 00:12:33,880 --> 00:12:36,040 And then for other types of vehicles, for example, 272 00:12:36,040 --> 00:12:40,560 under the water, you might have sort of more esoteric sensors 273 00:12:40,560 --> 00:12:44,580 that are designed to operate in that domain. 274 00:12:44,840 --> 00:12:47,560 So a Doppler velocity logger, for example, under the water. 275 00:12:47,640 --> 00:12:48,580 Scanning sonar. 276 00:12:49,360 --> 00:12:52,460 And pressure transducers, often used both under the water 277 00:12:52,540 --> 00:12:55,200 and in the air to give you, for example, a barometric altimeter. 278 00:12:57,540 --> 00:13:01,000 So sensors have a number of sources of uncertainty, right? 279 00:13:01,340 --> 00:13:04,100 They constantly have noise that they have to deal with. 280 00:13:04,440 --> 00:13:05,260 They drift. 281 00:13:05,420 --> 00:13:07,620 So that's where they, over time, get 282 00:13:07,620 --> 00:13:09,780 a reading that's further and further away from the true reading. 283 00:13:10,020 --> 00:13:11,480 And then you have latency problems. 284 00:13:11,600 --> 00:13:13,980 So you have some time delay between when 285 00:13:13,980 --> 00:13:16,940 you read the sensor and what the actual value was. 286 00:13:17,060 --> 00:13:18,840 So the real world may have changed 287 00:13:18,840 --> 00:13:20,240 during that latency period. 288 00:13:20,740 --> 00:13:22,300 So you have to model that noise. 289 00:13:22,300 --> 00:13:23,440 You have to model that uncertainty 290 00:13:23,440 --> 00:13:25,060 under a series of assumptions. 291 00:13:26,600 --> 00:13:29,420 When you have more than one sensor, that's great. 292 00:13:29,500 --> 00:13:30,660 Because then you can do sensor fusion. 293 00:13:30,980 --> 00:13:34,020 So fused or registered data can be 294 00:13:34,020 --> 00:13:36,140 more useful than separate individual data 295 00:13:36,140 --> 00:13:37,040 from one sensor alone. 296 00:13:37,460 --> 00:13:40,400 However, what do you do when those sensors disagree? 297 00:13:40,900 --> 00:13:44,060 This is very topical right now because of an automation 298 00:13:44,060 --> 00:13:47,480 failure that's been in the news, the Boeing 737 MAX, 299 00:13:48,140 --> 00:13:50,000 which had two angle of attack sensors, 300 00:13:50,220 --> 00:13:51,540 but they were only using one of them. 301 00:13:51,540 --> 00:13:54,720 They chose not to do sensor fusion for whatever reason. 302 00:13:54,820 --> 00:13:56,580 Boeing has never explained publicly 303 00:13:56,580 --> 00:13:58,360 why they chose not to do sensor fusion. 304 00:13:58,700 --> 00:14:01,100 But it may have been, what do you 305 00:14:01,100 --> 00:14:01,980 do when the sensors disagree? 306 00:14:02,320 --> 00:14:05,220 And what they're going to do now with the new 737 MAX fix 307 00:14:05,220 --> 00:14:08,860 is to display a cockpit light that tells you, tells the pilot, 308 00:14:08,940 --> 00:14:10,160 when the sensors are disagreeing. 309 00:14:10,840 --> 00:14:13,100 So again, your robustness of your system 310 00:14:13,100 --> 00:14:17,220 may come down to how good is your system at discounting 311 00:14:17,220 --> 00:14:21,260 one malfunctioning or one intentionally spoofed 312 00:14:21,260 --> 00:14:21,880 or hacked sensor. 313 00:14:22,120 --> 00:14:23,440 That was Boeing's problem. 314 00:14:24,260 --> 00:14:26,240 So let's take a look at our general classes 315 00:14:26,240 --> 00:14:26,900 of sensor attacks. 316 00:14:27,520 --> 00:14:29,140 Two basic kinds of attacks. 317 00:14:29,520 --> 00:14:32,200 We've got denial, just like denial of service. 318 00:14:33,520 --> 00:14:37,140 That's preventing the sensor from getting any good data. 319 00:14:37,720 --> 00:14:38,840 Or spoofing. 320 00:14:38,860 --> 00:14:40,900 That's when you're deliberately causing the sensor 321 00:14:40,900 --> 00:14:43,620 to retrieve specifically bad or incorrect data. 322 00:14:44,700 --> 00:14:47,420 So you've got a basic attack mode choice as well 323 00:14:47,420 --> 00:14:48,720 from the attacker's perspective. 324 00:14:49,100 --> 00:14:51,020 Do you attack sensors instantaneously? 325 00:14:51,260 --> 00:14:52,880 Do you give them immediately bad data? 326 00:14:53,020 --> 00:14:54,960 Or do you do a more subtle attack, 327 00:14:55,120 --> 00:14:57,080 where you give it aggregated bad data 328 00:14:57,080 --> 00:14:59,820 and you build up a poor model over time 329 00:14:59,820 --> 00:15:01,620 to cause it to make bad long-term inference? 330 00:15:02,500 --> 00:15:04,980 So I'm going to take a look at all these various sensors 331 00:15:05,480 --> 00:15:09,100 and how we do both kinds of attacks on them. 332 00:15:09,560 --> 00:15:10,200 So GPS. 333 00:15:11,340 --> 00:15:12,840 Denial is very easy with GPS. 334 00:15:13,320 --> 00:15:14,320 We can jam it. 335 00:15:15,280 --> 00:15:18,840 You can buy online a GPS jammer. 336 00:15:19,340 --> 00:15:21,240 Check your local GPS. 337 00:15:21,780 --> 00:15:23,240 You can also build your own area for legality. 338 00:15:23,340 --> 00:15:25,340 But China is a place that manufactures 339 00:15:25,340 --> 00:15:26,520 many of these GPS jammers. 340 00:15:26,720 --> 00:15:27,900 You can also build your own. 341 00:15:27,960 --> 00:15:29,100 Schematics are available online. 342 00:15:30,320 --> 00:15:33,700 And they just throw a bucket of radio noise out. 343 00:15:33,800 --> 00:15:35,840 And they just prevent the receiver 344 00:15:35,840 --> 00:15:37,560 from receiving valid satellite signals. 345 00:15:37,680 --> 00:15:39,620 Because the actual signals that come from the satellite 346 00:15:39,620 --> 00:15:40,260 are very weak. 347 00:15:41,400 --> 00:15:42,660 Spoofing is also possible. 348 00:15:43,200 --> 00:15:45,940 So basically, you're sending out valid GPS signals 349 00:15:45,940 --> 00:15:49,440 with a radio at a higher power than the genuine signals 350 00:15:49,440 --> 00:15:50,040 from the satellites. 351 00:15:50,800 --> 00:15:54,880 So here's an example of that from the UT Austin Radio 352 00:15:54,880 --> 00:15:58,020 Navigation Laboratory, which is one of the first places 353 00:15:58,020 --> 00:16:01,220 to really popularize the possibility 354 00:16:01,220 --> 00:16:03,460 of active spoofing of GPS. 355 00:16:03,860 --> 00:16:07,740 So they're demonstrating here that to take over 356 00:16:08,260 --> 00:16:12,920 the GPS of a vehicle, you send out a valid signal first. 357 00:16:13,160 --> 00:16:17,180 You take over the tracking points of that system. 358 00:16:17,840 --> 00:16:18,780 And then. 359 00:16:18,780 --> 00:16:21,360 You move your fake signal away. 360 00:16:21,720 --> 00:16:24,520 And by doing that, you can affect the controller 361 00:16:24,520 --> 00:16:25,480 on board the vehicle. 362 00:16:25,680 --> 00:16:27,940 So for example, an aerial platform, 363 00:16:28,280 --> 00:16:30,540 if you send your fake GPS signal, 364 00:16:32,240 --> 00:16:34,120 send out a signal that makes it look 365 00:16:34,120 --> 00:16:37,280 like the vehicle is going up, then the controller on board 366 00:16:37,280 --> 00:16:38,860 will drive it down to compensate. 367 00:16:39,240 --> 00:16:42,260 So here's an example on a real aerial vehicle. 368 00:16:42,460 --> 00:16:44,340 They're about to send a fake signal 369 00:16:45,480 --> 00:16:47,660 and tell the vehicle it's going up. 370 00:16:47,700 --> 00:16:48,760 And so the controller is going to tell the vehicle it's going up. 371 00:16:48,760 --> 00:16:49,540 It's going to drive it down. 372 00:16:49,700 --> 00:16:51,880 And if the safety pilot didn't take over, 373 00:16:52,060 --> 00:16:54,380 this vehicle would drive itself right into the ground. 374 00:16:59,160 --> 00:17:01,560 This is something that the Iranians said 375 00:17:01,560 --> 00:17:02,820 that they did when they captured 376 00:17:02,820 --> 00:17:04,120 this American military drone. 377 00:17:04,320 --> 00:17:07,340 They captured this RQ-170 drone, 378 00:17:07,480 --> 00:17:10,420 and they claimed that they used GPS spoofing to bring it down. 379 00:17:10,580 --> 00:17:12,200 That's almost certainly not the case, 380 00:17:12,300 --> 00:17:15,280 because everybody knows that GPS is very spoofable. 381 00:17:15,460 --> 00:17:16,380 The military knows that. 382 00:17:16,480 --> 00:17:18,720 They have their own encrypted GPS signal. 383 00:17:18,760 --> 00:17:21,600 But they don't use GPS as a primary sensor 384 00:17:21,600 --> 00:17:23,960 because they know that it's jammable and spoofable. 385 00:17:26,360 --> 00:17:29,280 What happens, though, in a real system 386 00:17:29,280 --> 00:17:32,040 when a GPS system causes a problem? 387 00:17:32,260 --> 00:17:34,480 So here's an example from the second DARPA Grand Challenge. 388 00:17:34,620 --> 00:17:35,960 This is a vehicle called Sandstorm. 389 00:17:36,060 --> 00:17:37,900 And we can see a straight road, 390 00:17:38,760 --> 00:17:41,300 but it's pulling it off the road. 391 00:17:41,520 --> 00:17:44,300 That's what'll normally happen when you have a vehicle 392 00:17:44,300 --> 00:17:46,780 that's got multiple sensors and it's getting bad GPS data, 393 00:17:46,900 --> 00:17:48,380 is that it won't immediately... 394 00:17:48,760 --> 00:17:53,260 Go off where you want it to go. It'll sort of be trying to pull it back onto the track 395 00:17:54,120 --> 00:17:58,240 Here's another example from the doppelganger challenge of the perils of GPS only navigation 396 00:17:58,240 --> 00:18:04,380 This vehicle completely fails to do collision avoidance because it's getting bad GPS data and that's pulling it off the road 397 00:18:07,300 --> 00:18:10,120 It's not just cars that use GPS 398 00:18:11,900 --> 00:18:12,740 in particular 399 00:18:12,740 --> 00:18:20,900 For a ship's GPS is often the primary navigation sensor because out in the middle of the ocean you have no other navigation references 400 00:18:20,900 --> 00:18:24,800 Especially during the day when you can't use the stars for for navigation reference 401 00:18:24,800 --> 00:18:31,720 So that same lab the UT Austin radio navigation lab decided well, let's see if we can take over a super yacht 402 00:18:31,720 --> 00:18:35,040 So they went they found a rich person and they said hey 403 00:18:35,040 --> 00:18:39,380 can we borrow your yacht to see if we could potentially steer this thing off course and 404 00:18:40,020 --> 00:18:40,540 sure enough 405 00:18:41,300 --> 00:18:41,820 they 406 00:18:41,820 --> 00:18:42,000 , uh 407 00:18:42,000 --> 00:18:45,040 had their attack system on board the yacht and 408 00:18:45,040 --> 00:18:51,680 Instead of sending a drift signal up or down like you would send an aerial vehicle. They they changed the angle 409 00:18:52,180 --> 00:18:53,100 of the 410 00:18:53,740 --> 00:18:56,260 Direction of GPS travel by just three degrees 411 00:18:56,260 --> 00:19:03,740 Because three degrees over the thousands of kilometers that a boat might travel across an ocean can put that boat in a very very different 412 00:19:03,740 --> 00:19:11,320 Location so they were able to use their spoof GPS to send a different navigation track and cause that ship to go off course 413 00:19:11,820 --> 00:19:13,040 There's the radar 414 00:19:13,040 --> 00:19:15,800 Image from that ship to prove that that was possible 415 00:19:17,040 --> 00:19:17,520 so 416 00:19:20,820 --> 00:19:23,000 Originally this might have been an expensive attack 417 00:19:23,000 --> 00:19:28,960 But now SDRs have made this attack very very inexpensive the first one to be presented at a hacking conference 418 00:19:29,840 --> 00:19:33,360 Was this one using the blade RF so for about a thousand dollars? 419 00:19:33,500 --> 00:19:38,640 This was the Quihu 360 unicorn team at DEFCON 23. They showed that 420 00:19:39,720 --> 00:19:41,800 for about a thousand dollars using a blade RF and 421 00:19:41,820 --> 00:19:42,460 They could 422 00:19:43,040 --> 00:19:47,900 spoof GPS and that has become even easier since then as SDRs have come down in price 423 00:19:48,520 --> 00:19:55,500 Also, they went to car showrooms and they showed that the in-car navigate navigation system could believe that the car was in the middle 424 00:19:55,500 --> 00:19:56,120 of a lake somewhere 425 00:19:57,520 --> 00:20:01,840 Now we can do this with a hacker f1 for about four hundred dollars 426 00:20:02,740 --> 00:20:08,860 You do have to modify it. So you need to get that the built-in oscillator in a hacker f1 is not 427 00:20:09,480 --> 00:20:11,640 low drift enough to do this attack 428 00:20:11,820 --> 00:20:16,960 Reliably, you need a 10 mega megahertz TST CXO low drift oscillator 429 00:20:17,480 --> 00:20:19,580 And you make a little daughter board for that 430 00:20:19,580 --> 00:20:25,480 So here's the OSH Park images for that daughter board and that shows it installed on the hacker F 431 00:20:26,580 --> 00:20:28,900 Then you go to NASA's site 432 00:20:28,900 --> 00:20:34,820 They provide the GPS ephemeris data all of the details of where the satellites are for the previous day 433 00:20:35,500 --> 00:20:41,500 You can then so you can spoof for any any day in the past by doing that and then you can also 434 00:20:41,820 --> 00:20:48,340 Take the time to spoof in the future and the then you use the open-source project GPS SDR sim to 435 00:20:51,740 --> 00:20:54,060 Convert that ephemeris data into active 436 00:20:57,980 --> 00:21:02,420 Interactive GPS signals that are then transmitted out through the hacker F. So 437 00:21:03,940 --> 00:21:10,120 I'm actually doing that in this auditorium right now. Unfortunately, it just stopped. So I'm just started again. It may take a 438 00:21:10,760 --> 00:21:11,800 little while to 439 00:21:11,820 --> 00:21:12,360 get the signal 440 00:21:13,420 --> 00:21:14,680 but we can 441 00:21:17,880 --> 00:21:24,040 I've got the maps here. We can see here my GPS device if we can switch to the camera 442 00:21:28,840 --> 00:21:31,100 Can we grab the camera view over here 443 00:21:34,300 --> 00:21:38,660 Hopefully you can see that I'm getting full satellite signals on this device 444 00:21:38,660 --> 00:21:41,240 It hasn't quite picked it up yet because I just restarted the system 445 00:21:42,960 --> 00:21:47,720 But it's getting them you can see there. It's got like quite a quite a few satellite views already and 446 00:21:47,720 --> 00:21:48,280 then 447 00:21:49,260 --> 00:21:53,140 This iPhone has already got the signal and I don't know if you can see it there 448 00:21:53,720 --> 00:21:58,280 If there's any way to zoom in on that, but right now and you can check this on your own phones 449 00:21:58,280 --> 00:22:02,080 I recommend turning Wi-Fi off before doing this so it's only relying on GPS 450 00:22:02,900 --> 00:22:06,800 But hopefully we can see here that I'm broadcasting GPS right now 451 00:22:06,800 --> 00:22:10,720 That's putting everyone in this room in the middle of the White House in the United States 452 00:22:20,520 --> 00:22:21,080 So I can see the signal 453 00:22:21,080 --> 00:22:26,740 Here's here's my rig here with a hacker f1 connected to an hour Raspberry Pi connected to my computer 454 00:22:27,460 --> 00:22:34,660 So you can take down UAVs with this technique very easily if they're a if they're a little commercial drone that has no Flyzone capability 455 00:22:35,340 --> 00:22:39,880 Here's a video that I did of make forcing a 456 00:22:39,880 --> 00:22:41,800 Mavic-DGT 457 00:22:41,800 --> 00:22:43,220 Mavic drone to land 458 00:22:43,920 --> 00:22:48,240 so you can see here, I'm simulating the GPS of the middle of an airport and 459 00:22:49,060 --> 00:22:49,920 that's going to 460 00:22:54,100 --> 00:22:55,600 Force it to land and 461 00:22:57,460 --> 00:23:00,040 It'll take a few seconds, but you'll see that the no-fly zone 462 00:23:01,960 --> 00:23:06,000 Capability has been activated. Yeah. Well, I don't know why it keeps transitioning to the next one 463 00:23:06,000 --> 00:23:09,400 Anyway, the drone lands because it thinks it's in an airport, which is a no-fly zone 464 00:23:10,460 --> 00:23:11,300 moving on to 465 00:23:11,300 --> 00:23:16,720 LiDAR, which is a laser rangefinder. These were originally industrial monitoring sensors 466 00:23:16,720 --> 00:23:22,560 They were used for factories and so on to keep people out of places. They weren't supposed to be there are mechanically scanned laser 467 00:23:23,180 --> 00:23:28,040 And they're primarily used in robotics for collision avoidance and map building 468 00:23:29,040 --> 00:23:31,660 So in order to deny LiDAR access 469 00:23:32,700 --> 00:23:35,340 You can actively overpower them with a strong laser 470 00:23:35,960 --> 00:23:41,220 Which or you can prevent the return signal because it needs that signal to bounce off something and come back? 471 00:23:41,300 --> 00:23:44,220 You can make it so that signal doesn't come back 472 00:23:44,720 --> 00:23:45,760 for spoofing them 473 00:23:46,240 --> 00:23:50,220 You can manipulate the absorbance of the reflectivity of items 474 00:23:50,940 --> 00:23:53,540 In the environment so they look like something else 475 00:23:54,020 --> 00:23:57,940 Or you can actively spoof them and I'll discuss all of those methods here 476 00:23:57,940 --> 00:24:01,120 You can see the kind of point cloud map that the LiDAR builds 477 00:24:03,180 --> 00:24:05,440 So as a 2d sensor, right? 478 00:24:05,500 --> 00:24:10,660 There's this laser that's being scanned back and backwards and forwards or left, you know one way to the other if they're highly 479 00:24:11,300 --> 00:24:14,380 Emission-dependent, so if you have a platform that tilts like this two-wheeled vehicle 480 00:24:14,380 --> 00:24:19,840 The kind of thing that the LiDAR sees it depends a lot on the angle that the vehicle is at 481 00:24:20,460 --> 00:24:26,700 So that means inclines can look like obstacles and it means it may miss low obstacles and discontinuities 482 00:24:29,260 --> 00:24:35,760 It's an active emission sensor it's sending out information so it can only see something that bounces a signal back 483 00:24:36,240 --> 00:24:41,280 So if it doesn't see something it thinks nothing is there it has no information about it? 484 00:24:41,300 --> 00:24:46,600 So think about it everything over the horizon returns nothing. It's just empty space 485 00:24:46,600 --> 00:24:52,780 So most of the world returns no data to the LiDAR you actually even though you get a dense point cloud of things that are there 486 00:24:53,440 --> 00:24:57,080 Looking 360 degrees in every direction. Most of its got nothing 487 00:24:57,740 --> 00:24:58,260 so 488 00:24:59,560 --> 00:25:04,620 Also absorbent things look like nothing and transparent things the laser goes through them 489 00:25:05,140 --> 00:25:11,140 So that means we can do some physical attacks so we can paint absorbent material on a wall 490 00:25:11,300 --> 00:25:15,860 Just like the old Wile E. Coyote gag and the vehicle might try and run right into it 491 00:25:15,860 --> 00:25:20,240 We can also use obstacles that let light through and the LiDAR won't see them 492 00:25:21,940 --> 00:25:25,540 Reflective things can cause problems for the later for the LiDAR 493 00:25:27,380 --> 00:25:29,380 For example puddles of water on the ground 494 00:25:29,380 --> 00:25:33,640 This is something that causes all kinds of difficulties for real-world vehicles 495 00:25:33,640 --> 00:25:38,520 So that means that things that are far away the laser can bounce off 496 00:25:39,120 --> 00:25:41,280 reflect back and they look like 497 00:25:41,300 --> 00:25:41,740 They're close 498 00:25:42,520 --> 00:25:48,220 So a tree in the distance can look like a tree coming out of this puddle and it means if you don't get a return 499 00:25:49,300 --> 00:25:51,520 It's indistinguishable from a hole in the ground, right? 500 00:25:51,600 --> 00:25:55,400 You see a big gap in the in the road. Is that just a puddle or is it a huge hole? 501 00:25:55,600 --> 00:25:56,740 You can't really know 502 00:25:58,300 --> 00:25:59,640 These techniques by the way 503 00:26:00,900 --> 00:26:06,320 Are known by insurgent groups that are trying to deal with military applications of this technology 504 00:26:06,320 --> 00:26:11,140 So here's a a document that was captured from an al-qaeda in the rate in the Arabian Peninsula 505 00:26:11,300 --> 00:26:11,660 group 506 00:26:12,220 --> 00:26:20,280 And it mentions GPS jamming with a Russian made recall system and it mentions using reflective materials to thwart laser designators 507 00:26:20,940 --> 00:26:22,820 So these are valid adversarial techniques 508 00:26:25,020 --> 00:26:31,820 Reflectance though in the case of unmanned vehicles is also a feature because one thing that reflects is 509 00:26:31,820 --> 00:26:40,420 Road line markings. It's actually a very robust method to take those holes in your LiDAR point cloud and do shape matching on them and 510 00:26:40,420 --> 00:26:42,360 Determine and use them to find road markings 511 00:26:43,000 --> 00:26:43,520 so 512 00:26:46,380 --> 00:26:51,100 That means that's a that's a way that we can do an attack that fakes 513 00:26:51,100 --> 00:26:57,900 Road-markings in a way that the robot sees them but a human like safety pilot doesn't see them, right? 514 00:26:57,980 --> 00:27:03,200 So we can paint black-on-black reflective material that a human can't see but we can cause 515 00:27:04,780 --> 00:27:06,160 Unpredictable behavior from the vehicle 516 00:27:07,460 --> 00:27:10,340 or we could just send some jokes in 517 00:27:10,940 --> 00:27:14,680 You know for the people back at the mapping zone. I'm sorry. I went too fast on that slide 518 00:27:15,460 --> 00:27:17,760 But you know to send things back to home base 519 00:27:19,500 --> 00:27:27,580 Solid looking objects are indistinguishable from actual solid objects because the laser just knows when it bounces off something so we can have lightweight obstacles 520 00:27:29,120 --> 00:27:29,560 and 521 00:27:31,080 --> 00:27:36,080 In the case of denial we can use a strong laser source to overpower the LiDAR in a certain area 522 00:27:36,080 --> 00:27:40,400 So here's some research from keist in Korea showing that if we point a strong laser 523 00:27:40,420 --> 00:27:47,560 At a multi beam velodyne so we can see here all those horizontal stripes are the individual beams of this multi beam LiDAR and 524 00:27:47,560 --> 00:27:49,420 By pointing a strong source at it 525 00:27:49,420 --> 00:27:56,440 We can blank out part of the area of its scan so we could hide an obstacle by overpowering the LiDAR 526 00:27:56,440 --> 00:27:59,800 Selectively in a spot, but it gets more interesting than this 527 00:28:01,380 --> 00:28:09,920 We can actually spoof returns by using a property of the way that most of the LiDAR is a built so here's an example 528 00:28:09,920 --> 00:28:13,980 of two very popular lighters the the velodyne pucks and 529 00:28:13,980 --> 00:28:23,440 Both of those things have curved glass on them because that way they can scan 360 degrees 530 00:28:24,360 --> 00:28:26,500 Because we don't want to have you know 531 00:28:27,160 --> 00:28:31,180 Sharp edges to the glass which are going to be difficult to transmit the laser through 532 00:28:31,180 --> 00:28:38,400 But we can use that refraction to move on our false points by modulating the the power of 533 00:28:38,700 --> 00:28:39,760 the Nile's 534 00:28:39,760 --> 00:28:42,260 our spoofing laser source, so 535 00:28:43,140 --> 00:28:46,260 That means if we were attacking a vehicle from the side 536 00:28:46,260 --> 00:28:49,140 We could make it think there was something in front of it 537 00:28:49,140 --> 00:28:55,140 So we don't have to put our fake returns in line between us and the target we can make them show up somewhere else 538 00:28:55,620 --> 00:28:56,060 so 539 00:28:56,940 --> 00:29:02,560 This is using exploiting the fact that the curved glass refracts the light inwards to a different location 540 00:29:02,560 --> 00:29:04,960 And then we can modulate that with source strength 541 00:29:04,960 --> 00:29:09,600 So here's an example of using a weak source and we can see the false returns are 542 00:29:09,760 --> 00:29:11,060 between the 543 00:29:11,960 --> 00:29:17,300 Spoofer and the actual light are but then increasing the strength of our source from the same location 544 00:29:17,920 --> 00:29:19,900 Places our fake returns off to the side 545 00:29:23,080 --> 00:29:27,120 Now we can also do active spoofing we can do a kind of a relay attack 546 00:29:27,120 --> 00:29:32,580 But this is a much more complicated attack this involves characterizing the behavior of the remote laser 547 00:29:32,580 --> 00:29:39,040 so we have to watch for a while see what types of pulses it puts out what the frequency of pulse is and 548 00:29:39,040 --> 00:29:42,380 Then we can start sending predictive returns from the spoofing source 549 00:29:43,000 --> 00:29:45,180 this also gives us great 550 00:29:46,460 --> 00:29:53,900 control over where our fake returns are located, but this means the timing is critical so you have to very very accurately characterize 551 00:29:53,900 --> 00:29:57,900 The pulse rate of the source and its location, but we can see here 552 00:29:59,160 --> 00:30:03,760 The spoofer is located to the right of the sorry to the left of the 553 00:30:05,220 --> 00:30:08,340 Target light are but we're inducing fake dots 554 00:30:09,040 --> 00:30:14,720 to the left or changing the timing now we can put the dots between us in it so 555 00:30:14,720 --> 00:30:20,660 that that gives us control not of the full area of the full XY plane but it 556 00:30:20,660 --> 00:30:25,440 does give us control of the distance from the from the target of the fake 557 00:30:25,440 --> 00:30:32,260 returns now a system that's out there in a large number of vehicles is the Tesla 558 00:30:32,260 --> 00:30:36,100 autopilot because they've put that into a lot of their vehicles and they're able 559 00:30:36,100 --> 00:30:42,000 to update that as an over-the-air update and Tesla's philosophy here is to 560 00:30:42,000 --> 00:30:46,760 only use cameras they do use a little bit of millimeter wave radar for long 561 00:30:46,760 --> 00:30:51,180 distance collision avoidance but mostly their theory is we do everything with 562 00:30:51,180 --> 00:30:54,740 our eyes when we drive so our cars should be able to do everything with 563 00:30:54,740 --> 00:31:00,440 cameras we already saw one example of where that's caused a fatal accident but 564 00:31:00,440 --> 00:31:04,780 so let's talk a little bit about cameras so cameras are used for specialized 565 00:31:04,780 --> 00:31:05,580 object detection 566 00:31:05,580 --> 00:31:06,040 including 567 00:31:06,040 --> 00:31:12,440 signs traffic control features and lane markings sometimes we'll use stereo 568 00:31:12,440 --> 00:31:16,680 cameras to get a depth map so to get a noisy version of what the lidar gives us 569 00:31:17,600 --> 00:31:22,160 and sometimes we'll use it to fuse with a lidar in a method called colorizing 570 00:31:22,160 --> 00:31:25,620 the lidar that's getting color information from the camera and and 571 00:31:26,400 --> 00:31:29,260 melding that with the distance information from the lidar this is 572 00:31:29,260 --> 00:31:31,540 useful for this reason 573 00:31:31,540 --> 00:31:35,720 this is a video from the second DARPA Grand Challenge this is the 574 00:31:35,720 --> 00:31:39,520 vehicle that won that one the second one actually did have a winner it was a 575 00:31:39,520 --> 00:31:43,720 vehicle called Stanley from Stanford and they won because they were able to 576 00:31:43,720 --> 00:31:48,180 drive extremely fast and the way they did that was to use the lidar to give a 577 00:31:48,180 --> 00:31:53,660 sense of drivable versus non drivable and they matched color to drive ability 578 00:31:53,660 --> 00:31:57,960 so that was a way they were able to look further out than the lidar could look by 579 00:31:57,960 --> 00:32:03,140 saying okay this is what color the the drivable road is the rest is non 580 00:32:03,140 --> 00:32:05,080 drivable and being able to drive at speed 581 00:32:06,980 --> 00:32:11,200 cameras are very easily denial of service you can dazzle them with a bright 582 00:32:11,200 --> 00:32:15,380 light and then spoofing is all the ways that we know about from the ways that 583 00:32:15,380 --> 00:32:19,980 our own vision is fooled camouflage techniques assumptions about what color 584 00:32:19,980 --> 00:32:24,180 things are and then in the case of stereo repeating patterns really 585 00:32:24,180 --> 00:32:30,580 confused the stereo system i want to say very briefly about something about all 586 00:32:30,580 --> 00:32:33,460 the research that's come out lately about spoofing deep learning camera 587 00:32:33,460 --> 00:32:34,300 recognition models 588 00:32:34,300 --> 00:32:38,700 this stuff right now is kind of overblown but I just mentioned it for 589 00:32:38,700 --> 00:32:43,940 completeness so there's a very famous paper on adversarial examples for stop 590 00:32:43,940 --> 00:32:47,840 signs so they trained up a recognition model on stop signs and then they were 591 00:32:47,840 --> 00:32:51,940 able to add some very small amounts of black and white tape that prevented 592 00:32:51,940 --> 00:32:57,080 their model from recognizing the stop signs of course feature-based sign 593 00:32:57,080 --> 00:33:00,540 detection is pretty robust and you probably wouldn't train a deep learning 594 00:33:00,540 --> 00:33:03,920 model to find stop signs in the first place 595 00:33:04,580 --> 00:33:08,620 there have been other examples whereby adding adversarial noise to the incoming 596 00:33:08,620 --> 00:33:13,820 camera image you're able to get it to make false recognition so in this case 597 00:33:13,820 --> 00:33:17,640 the pedestrians are missed when you've added some very fine invisible to the 598 00:33:17,640 --> 00:33:22,240 human adversarial noise of course if you have the ability to add adversarial 599 00:33:22,240 --> 00:33:25,440 noise to the camera signal post acquisition that means you have a 600 00:33:25,440 --> 00:33:29,760 foothold on the platform there's lots of other things you could do generally 601 00:33:29,760 --> 00:33:32,360 these techniques are white box techniques so they're these are 602 00:33:32,360 --> 00:33:34,120 researchers that have trained their own model they 603 00:33:34,120 --> 00:33:39,460 know how the model works and so then they attack it based on things that they 604 00:33:39,460 --> 00:33:44,420 developed to fool their own model and they don't tend to work reliably in the 605 00:33:44,420 --> 00:33:48,420 face of parametric distortion so when you have different angles different 606 00:33:48,420 --> 00:33:51,380 amounts of glare and things like that different lighting conditions they don't 607 00:33:51,380 --> 00:33:54,480 work so well here's an example of something that was pretty robust it was 608 00:33:54,480 --> 00:33:57,940 robust enough that they were able to 3d print objects and then they could show 609 00:33:57,940 --> 00:34:00,780 it to the camera in any orientation and it would still work these are the 610 00:34:00,780 --> 00:34:04,040 adversarial turtles from MIT so this 611 00:34:04,120 --> 00:34:07,340 for example is a turtle that's obviously a turtle but it has patterns 612 00:34:07,340 --> 00:34:12,540 printed on it so that the cat the vision system thinks it's a rifle but again 613 00:34:12,540 --> 00:34:18,380 these techniques are not robust and they often involve the injection of noise 614 00:34:18,380 --> 00:34:22,680 that requires a foothold on the platform I mentioned that for 615 00:34:22,680 --> 00:34:27,720 completeness as I said cameras in general involve fragile fragile 616 00:34:27,720 --> 00:34:31,820 discriminators so here's an example from just this year from the Tencent Keen lab 617 00:34:31,820 --> 00:34:34,100 they were looking at Tesla autopilot they were looking at Tesla autopilot they 618 00:34:34,120 --> 00:34:38,880 found some results that are not entirely surprising but it's proof of 619 00:34:38,880 --> 00:34:42,920 what I'm saying so for example they added white tape to the road here to 620 00:34:42,920 --> 00:34:49,800 blur a lane marking and they showed that the system successfully didn't pick 621 00:34:49,800 --> 00:34:53,880 up a lane marking so this is real-world blurring to prevent the autopilot from 622 00:34:53,880 --> 00:34:57,900 seeing a lane and then the converse is also true so they were able to add just 623 00:34:57,900 --> 00:35:03,760 a few dots to the road you can see them there in the upper right and just those 624 00:35:03,760 --> 00:35:08,960 three fake markers were able to cause the vehicle to make an unplanned lane 625 00:35:08,960 --> 00:35:13,220 change right so just like that fatal accident this is something that requires 626 00:35:13,220 --> 00:35:17,240 a small amount of real-world preparation but can cause a very bad accident 627 00:35:18,700 --> 00:35:23,760 moving on to the millimeter wave radar this is the system that you find at the 628 00:35:23,760 --> 00:35:29,080 airport often to scan you and see under your clothes primarily used for 629 00:35:29,080 --> 00:35:32,260 collision avoidance they're a lower resolution than the lidar 630 00:35:33,060 --> 00:35:33,640 because 631 00:35:33,760 --> 00:35:36,280 they're a very low resolution and most things are very very reflective to the 632 00:35:36,280 --> 00:35:42,720 radar so it returns a lot of noisy data so you can do not deny them with a radar 633 00:35:42,720 --> 00:35:46,940 jammer or with chaff which are little pieces of metal that is spat out that's 634 00:35:46,940 --> 00:35:54,780 what the military uses to fend off radar guided missiles very flat reflective in 635 00:35:54,780 --> 00:36:03,740 the RF domain things like overhead signs cause problems for the radar so this is an example of a Bosch millimeter wave radar sensor that's used to detect the radar. 636 00:36:03,760 --> 00:36:11,120 used in the Tesla, and this was shown to be jammable at DEFCON 24. So if you had an oscilloscope 637 00:36:11,120 --> 00:36:16,440 and a signal analyzer, a signal generator, and a harmonic mixer and frequency multiplier, 638 00:36:16,520 --> 00:36:22,280 it's about $100,000 worth of equipment, then you could jam the Tesla autopilot and cause 639 00:36:22,280 --> 00:36:27,340 it not to see a vehicle that was in front of it. So a very expensive attack, but it's 640 00:36:27,340 --> 00:36:32,320 possible. They theorized spoofing and relay attacks, but did not perform them. 641 00:36:33,800 --> 00:36:39,280 Moving on to the inertial measurement unit and the compass. Here's an example of three 642 00:36:40,200 --> 00:36:45,860 such systems at various price points. There's a wide, wide range of IMUs available from 643 00:36:45,860 --> 00:36:51,280 very cheap hobbyist level ones for a few dollars all the way up to many, many thousands of 644 00:36:51,280 --> 00:36:56,780 dollars. These are very, very robust, or they can be very, very robust. So they are used 645 00:36:56,780 --> 00:36:57,320 at the price point. 646 00:36:57,340 --> 00:37:00,840 They have a primary navigation sensor for some systems, such as certain underwater 647 00:37:00,840 --> 00:37:06,780 vehicles or such as some military systems. Because of the high fidelity, if you're going 648 00:37:06,780 --> 00:37:13,040 to shell out for, say, an IMU from a Boeing 777, you can expect 0.1% of the distance 649 00:37:13,040 --> 00:37:18,240 traveled as cumulative error. So that means if you go 300 kilometers, let's say, under 650 00:37:18,240 --> 00:37:24,040 the ice, when you pop up to the surface, you're 300 meters away from where you think you would 651 00:37:24,040 --> 00:37:26,280 be, or within a 300-meter radius. So pretty accurate. 652 00:37:27,400 --> 00:37:33,520 Not much you can do in the way of attacks. Very, very difficult to interfere with. You 653 00:37:33,520 --> 00:37:38,780 can do physical attacks with magnetic fields and exploiting thermal drift if you have physical 654 00:37:38,780 --> 00:37:46,140 access to the platform. One particular interesting physical attack on a particular type of readily 655 00:37:46,140 --> 00:37:51,760 available IMU is the acoustic attack. This is pretty exciting. This is because those 656 00:37:51,760 --> 00:37:56,260 cheap MEMS IMUs actually have physical components in them. So if you have an IMU, you can actually 657 00:37:56,260 --> 00:37:57,000 see those particles. And then the last thing that we'll be talking about is also called 658 00:37:57,000 --> 00:37:57,140 a microelectromechanical. There's a vibration element in the MEMS gyroscope. And there's 659 00:37:57,140 --> 00:38:02,140 a vibrating element in the MEMS gyroscope, and it has a resonant frequency. So this 660 00:38:02,140 --> 00:38:10,940 is what a MEMS microelectromechanical system gyro looks like. And you can disturb that 661 00:38:11,320 --> 00:38:16,160 with an external acoustic source. So this is similar to attacks that have been publicized 662 00:38:16,160 --> 00:38:21,140 recently on hard disks, the, what they call the screaming in the data center attack. So 663 00:38:21,140 --> 00:38:26,060 you blast some noise at a hard disk and it vibrates the read head. And you can cause 664 00:38:26,060 --> 00:38:29,220 the hard disk to not be able to read or even cause physical failure of the drive. 665 00:38:30,380 --> 00:38:36,960 Similarly you can do this to a MEMS gyro. So here's an example from KAIST in 2015 where they 666 00:38:36,960 --> 00:38:43,000 took a real multi-rotor platform and they blasted acoustic noise at it and you can see here this is 667 00:38:43,000 --> 00:38:49,420 the control outputs showing that when the noise was blasted the control went nuts because it was 668 00:38:49,420 --> 00:38:53,400 trying to deal with the fact that these MEMS gyros were vibrating at their resonant frequency from 669 00:38:53,400 --> 00:38:59,960 the noise. And so they were able to successfully crash at whatever distance you can blast that 670 00:38:59,960 --> 00:39:08,280 level of sound pressure, a multi-rotor craft. Next sensor wheel odometry. These are physical 671 00:39:08,280 --> 00:39:13,580 encoders that measure the rotation of the wheel. So here are some that you might see on a commercial 672 00:39:13,580 --> 00:39:19,520 driverless vehicle at present. These are good to know what your real speed is and when the 673 00:39:19,520 --> 00:39:23,240 vehicle has actually stopped. And here's an example from our show 674 00:39:23,400 --> 00:39:29,280 prototype this when we were doing our bridge crossing on one of our attempts the vehicle 675 00:39:29,280 --> 00:39:37,200 took this turn too closely and it actually scraped into the barrier and it knocked its wheel encoder 676 00:39:37,200 --> 00:39:41,660 off. You can see it there knocked off. At that point the car got very confused. It wasn't able 677 00:39:41,660 --> 00:39:47,660 to get ground truth odometry and it wasn't able to proceed. So a physical attack that knocks that 678 00:39:47,660 --> 00:39:53,120 off can cause stopping of the vehicle or other unpredictable behavior. So ways you could attack 679 00:39:53,400 --> 00:39:58,180 the wheel odometry is to change the diameter of the wheel to make the surface slippery 680 00:39:59,500 --> 00:40:04,620 and to scrape them off to force the car to go close to something and physically remove them. 681 00:40:06,500 --> 00:40:10,520 Another sensor that I'm including really just for completeness here is the ultrasonic sensors. 682 00:40:11,940 --> 00:40:16,400 These are most commonly used for automated parking. So this is stuff that happens at a 683 00:40:16,400 --> 00:40:23,280 very slow speed. You can attack them in all the same ways as the other remote sensors. You can jam 684 00:40:23,400 --> 00:40:28,760 them. So here from Defcon 24 sending out ultrasonic noise to prevent them from getting a reading. 685 00:40:29,140 --> 00:40:34,780 You can send fake pulses back to make it look like something is close when it's not really there. 686 00:40:35,060 --> 00:40:37,780 And you can also do an interesting thing because it's in the acoustic 687 00:40:37,780 --> 00:40:41,200 domain you can do cancellation. So if you characterize the sensor you can send an 688 00:40:41,200 --> 00:40:46,440 inverse pulse and cancel out the real returns that are coming from the sensor. Again it's a 689 00:40:46,440 --> 00:40:53,140 low impact attack quite literally because this is only happening at parking speed. So you know if you 690 00:40:53,400 --> 00:40:53,480 have a vehicle in a very low speed you might have a lot of free space to hit the road and and 691 00:40:53,480 --> 00:40:55,260 Now let's talk about components. The first one is going to be James Bond and producer vehicle 692 00:40:55,260 --> 00:41:00,720 that was going to be able to have various attacks involved against autonomous vehicles. 693 00:41:01,640 --> 00:41:03,680 You would have a gps jammer of course. 694 00:41:04,240 --> 00:41:07,720 You have smoke and dust and vapor to interfere with the LIDAR beams 695 00:41:09,040 --> 00:41:10,420 lightweight decoy obstacles 696 00:41:12,040 --> 00:41:12,940 Radar chaff 697 00:41:13,660 --> 00:41:17,060 transparent things to drop down and puncture the tires 698 00:41:17,060 --> 00:41:22,500 And of course no bond vehicle is complete without an oil slick and it works a little differently in this case 699 00:41:22,500 --> 00:41:23,560 You're fooling the wheel odometry 700 00:41:24,500 --> 00:41:26,920 And then based on more recent research 701 00:41:27,460 --> 00:41:32,160 You have your active LIDAR jammer and spoofer active radar jammer your acoustic blaster 702 00:41:32,160 --> 00:41:37,200 And of course your fake lane markings and your adversarial total dispenser 703 00:41:38,780 --> 00:41:44,080 So I'm just gonna quick do a quick time check here and see where I am on time. All right 704 00:41:45,020 --> 00:41:50,180 So I'm gonna move pretty quickly through these next things just to try and get through to the last stuff 705 00:41:51,060 --> 00:41:53,180 But the map is very very important 706 00:41:54,020 --> 00:41:57,340 There's a great emphasis these days on pre-acquired map data 707 00:41:57,340 --> 00:42:02,100 And that's primarily because some of the big developers of autonomous system autonomous vehicles 708 00:42:02,160 --> 00:42:05,580 like Google they already had a lot of mapping data and 709 00:42:06,240 --> 00:42:08,920 So here you can see a LIDAR acquired point cloud 710 00:42:08,920 --> 00:42:16,180 You can see how detailed your map can be so detailed in fact that it's often considered by designers to be the truth 711 00:42:17,420 --> 00:42:21,700 And that's because it's very very useful if you know where everything is in the world 712 00:42:21,700 --> 00:42:27,220 You don't have to do as much work on recognition things that are hard to spot like traffic lights like vegetation 713 00:42:27,920 --> 00:42:30,740 You can just know where they are speed bumps, for example 714 00:42:30,740 --> 00:42:32,080 You don't need to see them 715 00:42:32,080 --> 00:42:34,800 If you know exactly where they are and if you know exactly when you are 716 00:42:37,120 --> 00:42:39,040 Here's a quick example on traffic lights 717 00:42:39,040 --> 00:42:43,340 You can have a camera that's programmed to just look where you know the traffic lights are 718 00:42:43,340 --> 00:42:47,640 And then you can check the status of the lights easily. You don't need to detect lights 719 00:42:47,640 --> 00:42:50,120 You just need to look in the right place and detect state 720 00:42:51,900 --> 00:42:54,400 But that means fake traffic lights 721 00:42:55,280 --> 00:42:59,700 Won't be detected by your system, but they will be obeyed by human drivers. These are shared roads 722 00:42:59,700 --> 00:43:01,920 so they create a difference between 723 00:43:02,080 --> 00:43:09,000 stuff that the human drivers on the road are gonna pay attention to and that and that robots won't so if you put a green 724 00:43:09,000 --> 00:43:13,780 A fake green light it's a person's gonna think it's okay to go or a fake stoplight 725 00:43:13,780 --> 00:43:15,720 The robots not going to see it you can cause an accident 726 00:43:17,820 --> 00:43:20,160 Vegetation is an interesting one because vegetation 727 00:43:21,660 --> 00:43:28,420 Changes so you might often use say a colorized light art and a transmission classifier to determine if a piece of vegetation is 728 00:43:28,420 --> 00:43:30,460 crossable or not right but 729 00:43:30,460 --> 00:43:34,860 But things that overhang and change and grow, like vegetation, 730 00:43:35,320 --> 00:43:37,460 if they're not on your map and it hasn't been updated, 731 00:43:37,740 --> 00:43:38,760 they can cause problems. 732 00:43:39,020 --> 00:43:42,860 So dependence on the map may exacerbate the brittleness 733 00:43:42,860 --> 00:43:45,320 of your sensor discrimination algorithms. 734 00:43:48,340 --> 00:43:52,140 Here's an interesting little video that shows what you can do 735 00:43:52,140 --> 00:43:54,060 if you have a perfect map. 736 00:43:54,200 --> 00:43:55,020 If you have a perfect map, 737 00:43:55,180 --> 00:43:56,820 you don't have to have any kinds of traffic lights. 738 00:43:56,900 --> 00:43:58,180 You can just drive straight through an intersection. 739 00:43:58,180 --> 00:44:00,540 If you have perfect knowledge of the world, 740 00:44:00,660 --> 00:44:03,020 then you can make these split-second decisions 741 00:44:03,020 --> 00:44:03,960 that are always right. 742 00:44:04,180 --> 00:44:06,180 But you don't always have perfect knowledge. 743 00:44:06,300 --> 00:44:07,640 The map has to be constantly updated. 744 00:44:08,000 --> 00:44:11,080 So a local map is vulnerable to unexpected real-world features, 745 00:44:11,880 --> 00:44:16,940 and a remote map is vulnerable to denial of the update process, 746 00:44:17,260 --> 00:44:20,840 so jamming, spoofing, man-in-the-middle attacks, and so on. 747 00:44:21,000 --> 00:44:22,740 So the map is an interesting vulnerability. 748 00:44:25,220 --> 00:44:27,980 And an attacker is going to try and exploit 749 00:44:27,980 --> 00:44:30,000 the logic structure that your vehicle has. 750 00:44:30,220 --> 00:44:34,060 And so the goal is to maximize the uncertainty of the system. 751 00:44:34,320 --> 00:44:38,500 For example, a blind right-hand turn is a very brittle traffic maneuver, 752 00:44:39,060 --> 00:44:41,540 and this is an area where you can force the vehicle 753 00:44:41,540 --> 00:44:44,580 to require manual assistance, confuse and annoy the occupants, 754 00:44:45,940 --> 00:44:47,360 inconvenience the other road users. 755 00:44:47,480 --> 00:44:50,500 If you can prevent the robot from successfully navigating 756 00:44:50,500 --> 00:44:51,420 a fragile maneuver. 757 00:44:51,660 --> 00:44:55,800 And, of course, the best thing to do, if you're an attacker, 758 00:44:55,900 --> 00:44:57,340 you have access to the map as well. 759 00:44:57,340 --> 00:44:59,960 You can find exactly where these fragile decision points are 760 00:44:59,960 --> 00:45:03,980 and cause bad behavior and maybe even cause a bad accident like this. 761 00:45:05,720 --> 00:45:07,900 Trapping and redirecting are a general class of attacks 762 00:45:07,900 --> 00:45:10,160 that attack at the collision avoidance and navigation layers, 763 00:45:10,900 --> 00:45:13,220 forcing the robot to postpone its high-level tasks. 764 00:45:13,460 --> 00:45:15,020 So you can use moving obstacles. 765 00:45:15,320 --> 00:45:18,680 You could perhaps even use robot swarms, obstacle swarms. 766 00:45:19,320 --> 00:45:21,560 You can use artificial traffic control features 767 00:45:21,560 --> 00:45:25,220 to force the robot to go somewhere that's under the attacker's control. 768 00:45:25,480 --> 00:45:26,920 And you can make things, 769 00:45:27,340 --> 00:45:28,220 that are subtle, 770 00:45:28,320 --> 00:45:31,940 that are ways that a human driver would just feel free to ignore them, 771 00:45:32,100 --> 00:45:34,060 but the robot has very, very fixed rules, 772 00:45:34,280 --> 00:45:36,420 and it can't ignore the attacking features 773 00:45:36,420 --> 00:45:37,600 that you're putting in its way. 774 00:45:38,960 --> 00:45:42,060 The other big attack area is clobbering, 775 00:45:42,100 --> 00:45:44,480 so forcing the robot to crash into something, 776 00:45:44,700 --> 00:45:46,300 subverting the collision avoidance layer. 777 00:45:46,560 --> 00:45:48,660 So the goal here is to incapacitate the vehicle, 778 00:45:48,780 --> 00:45:51,920 to strip off sensors or to damage them physically. 779 00:45:52,420 --> 00:45:55,120 You can do this with subtle map deviations 780 00:45:55,120 --> 00:45:56,800 if the robot is very dependent on the map. 781 00:45:57,340 --> 00:46:00,860 You can imitate vegetation that it thinks is crossable, but is not. 782 00:46:01,360 --> 00:46:07,740 You can simulate high-impact obstacles while the vehicle is at speed 783 00:46:07,740 --> 00:46:11,860 that'll cause it to make defensive maneuvers that will cause an accident. 784 00:46:12,740 --> 00:46:17,640 You could disguise entrances like overhangs or gateways 785 00:46:18,500 --> 00:46:20,420 that are within the GPS noise level, 786 00:46:20,540 --> 00:46:22,400 so that the vehicle might scrape its side, 787 00:46:22,480 --> 00:46:26,220 removing those encoders for wheel odometry or so on. 788 00:46:26,360 --> 00:46:27,060 And then, 789 00:46:27,060 --> 00:46:30,580 placing dynamic obstacles underneath large signs to fool the radar. 790 00:46:32,420 --> 00:46:34,000 So all of that said, 791 00:46:35,800 --> 00:46:39,720 there's some debate about whether we'll see level four 792 00:46:39,720 --> 00:46:43,220 and five autonomous vehicles in widespread use on the road anytime soon. 793 00:46:43,300 --> 00:46:44,560 This is a funny quote from 2014, 794 00:46:44,940 --> 00:46:48,400 talking about how 99% of the country is areas 795 00:46:48,400 --> 00:46:50,260 where the autonomous vehicles cannot drive. 796 00:46:50,580 --> 00:46:54,160 So another area that I just wanted to cover very briefly at the end here 797 00:46:54,160 --> 00:46:56,460 is the recent announcement 798 00:46:56,460 --> 00:46:59,500 of the rollout of standards for vehicle-to-vehicle 799 00:46:59,500 --> 00:47:01,280 and vehicle-to-infrastructure communications. 800 00:47:02,120 --> 00:47:04,000 This is from the U.S. Department of Transportation. 801 00:47:05,920 --> 00:47:10,040 These are little radio messages that cars transmit between each other 802 00:47:10,040 --> 00:47:13,820 and between infrastructure that warn them of certain safety hazard things. 803 00:47:14,060 --> 00:47:18,040 So the early V2V components are going to be rear-end collision warning, 804 00:47:18,340 --> 00:47:22,360 lane change warning, and intersection warning scenarios. 805 00:47:22,660 --> 00:47:24,260 Right now, just warnings. 806 00:47:24,380 --> 00:47:26,400 No active control of the vehicle is proposed. 807 00:47:26,400 --> 00:47:35,660 So it uses these radio messages both on board and to roadside communicators. 808 00:47:35,780 --> 00:47:39,420 The protocol is called DSRC, dedicated short-range communications. 809 00:47:39,820 --> 00:47:42,480 These are omnidirectional 200 to 500 byte packets, 810 00:47:43,360 --> 00:47:46,160 and the protocol is called the BSM, basic safety message. 811 00:47:46,440 --> 00:47:52,280 These packets are not encrypted, but they are authenticated via certificates. 812 00:47:52,680 --> 00:47:54,560 So standard PKI issues apply. 813 00:47:55,240 --> 00:47:57,180 Now, these are what the packets look like. 814 00:47:57,520 --> 00:48:00,600 Part one is the core that's transmitted with every packet. 815 00:48:00,820 --> 00:48:03,120 Part two is appended whenever it's changed, 816 00:48:03,300 --> 00:48:05,640 and there's a lot of vehicle-specific information in part two. 817 00:48:06,460 --> 00:48:08,380 GPS is transmitted unencrypted. 818 00:48:08,540 --> 00:48:10,860 So if you can receive these messages from a vehicle, 819 00:48:10,960 --> 00:48:12,900 you can tell where it thinks that it is. 820 00:48:13,500 --> 00:48:17,980 So if you're sending out your GPS spoofing, you can actually get feedback to make sure 821 00:48:17,980 --> 00:48:19,500 that the vehicle actually is being fooled. 822 00:48:21,400 --> 00:48:23,080 Here's a breakdown of the security model. 823 00:48:23,880 --> 00:48:24,540 I want you to see this. 824 00:48:24,560 --> 00:48:32,120 I want you to pay special attention to the stuff that's initial deployment versus full deployment. 825 00:48:32,360 --> 00:48:34,420 So those dashed lines are the initial deployment. 826 00:48:34,700 --> 00:48:37,940 Most of this is slated for later on. 827 00:48:38,200 --> 00:48:39,900 The initial deployment is very small. 828 00:48:40,440 --> 00:48:46,360 A lot of functions are split for security and privacy reasons. 829 00:48:46,540 --> 00:48:48,880 Privacy has been a big component of the development here. 830 00:48:49,500 --> 00:48:51,740 The certificates come pre-installed. 831 00:48:52,120 --> 00:48:54,540 So your car will come with thousands of certificates. 832 00:48:54,540 --> 00:48:57,000 And they're valid for five minutes each. 833 00:48:58,900 --> 00:49:00,940 There's a location obscurer. 834 00:49:01,060 --> 00:49:02,800 So privacy, again, very important here. 835 00:49:04,200 --> 00:49:07,980 The bottom line on V2V, the rollout is very careful. 836 00:49:08,140 --> 00:49:09,620 It was 11 years in development. 837 00:49:10,180 --> 00:49:13,060 They're estimating 37 years to the full fleet. 838 00:49:13,200 --> 00:49:14,820 OK, so that's a long time. 839 00:49:14,880 --> 00:49:17,460 Compare that with all the hype about autonomous vehicles and like, oh, 840 00:49:17,480 --> 00:49:21,280 we're going to have robot taxis by 2022, maybe in some limited cases. 841 00:49:22,680 --> 00:49:24,440 But just for this short range, 842 00:49:24,540 --> 00:49:27,440 if you look at the communications protocol, 37 years to full fleet rollout. 843 00:49:27,720 --> 00:49:31,480 And tracking and privacy are more immediate concerns than other malicious attacks. 844 00:49:32,180 --> 00:49:34,140 The standard PKI concerns apply. 845 00:49:34,520 --> 00:49:37,860 And remember, certificates are going to be very, very easy to get. 846 00:49:38,040 --> 00:49:39,740 You're going to have thousands of them in every vehicle. 847 00:49:39,900 --> 00:49:42,040 But five minutes is a long time on the road. 848 00:49:42,840 --> 00:49:45,180 And there's no direct control even proposed. 849 00:49:45,460 --> 00:49:50,560 So actually, the driverless vehicles may be with us before we have V2V direct control, 850 00:49:51,140 --> 00:49:53,640 if it's going to take us 37 years just for warnings. 851 00:49:55,200 --> 00:49:58,080 But hopefully, they won't make the same mistakes that were made 852 00:49:58,080 --> 00:49:59,700 in other traffic and infrastructure sensors. 853 00:49:59,960 --> 00:50:03,440 So here's some stuff from DEF CON 22 from IOactive. 854 00:50:04,100 --> 00:50:09,200 They showed that these traffic sensors that were sending data 855 00:50:09,200 --> 00:50:14,000 into traffic control systems had no encryption or authentication. 856 00:50:14,120 --> 00:50:19,020 So the messages were clear text wireless transmissions that were fully spoofable. 857 00:50:19,520 --> 00:50:22,760 And firmware updates were neither encrypted nor signed. 858 00:50:22,940 --> 00:50:24,380 So hopefully, they won't make these. 859 00:50:24,540 --> 00:50:28,240 They will make particular specific mistakes, but no doubt, they will make others. 860 00:50:28,480 --> 00:50:35,080 And we as hackers have a duty to find out what they are and notify so that things can 861 00:50:35,080 --> 00:50:37,260 be changed and made safe. 862 00:50:38,660 --> 00:50:41,440 So here's just a quick example, very recent research. 863 00:50:41,640 --> 00:50:44,460 This was released by Georgia Tech in March, I think. 864 00:50:45,500 --> 00:50:50,780 They just looked at what are the results if we had widespread driverless vehicles that 865 00:50:50,780 --> 00:50:51,260 were hackable. 866 00:50:51,600 --> 00:50:54,360 And so this is looking at Manhattan Island, New York. 867 00:50:54,540 --> 00:50:58,800 And just looking at what happened in terms of access to the grid network, right? 868 00:50:58,940 --> 00:51:03,360 If we had a lot of vehicles because we need emergency vehicles to get through. 869 00:51:03,460 --> 00:51:05,060 We need ambulances and fire and so on. 870 00:51:05,160 --> 00:51:07,340 We want our roads to have full access. 871 00:51:08,220 --> 00:51:13,720 But hacking just 10% of the vehicles at rush hour, you can see they used a percolation 872 00:51:14,160 --> 00:51:16,720 theory to develop this simulation. 873 00:51:17,100 --> 00:51:23,760 And you can see a large chunk of the island is now completely inaccessible to any vehicle just by being 874 00:51:23,760 --> 00:51:31,240 able to do denial of service attacks on about 10% of the rush hour vehicles, 10 hacked vehicles 875 00:51:31,240 --> 00:51:32,640 per kilometer per lane. 876 00:51:33,200 --> 00:51:39,000 And then doubling that to 20% and we can see that the island is basically unnavigatable. 877 00:51:39,240 --> 00:51:40,780 So that's really, really serious. 878 00:51:41,000 --> 00:51:45,800 So this is why we need to take this problem seriously and why we need to do research here 879 00:51:45,800 --> 00:51:51,640 and make sure that we're putting these IoT systems out into the world in a way that's 880 00:51:51,640 --> 00:51:52,840 going to keep people safe. 881 00:51:55,200 --> 00:51:56,560 So that's it. 882 00:51:56,700 --> 00:52:01,600 In summary, I will just say I want you to remember that driverless vehicles are cool. 883 00:52:01,720 --> 00:52:03,000 We're in favor of driverless vehicles. 884 00:52:03,200 --> 00:52:05,160 We want all the advantages that they offer. 885 00:52:05,480 --> 00:52:07,340 We're not trying to stop this in any way. 886 00:52:09,040 --> 00:52:11,260 Don't do any of these things in the real world. 887 00:52:11,380 --> 00:52:12,880 Only do it in a research context. 888 00:52:13,920 --> 00:52:17,600 Don't hassle the Hoff or rather don't hacksaw the bots. 889 00:52:17,940 --> 00:52:23,740 And hopefully we can bring the world together into the place where we're living the driverless 890 00:52:23,760 --> 00:52:28,500 dream where we can be doing our romance in the backseat of the car while the robot does 891 00:52:28,500 --> 00:52:28,920 the driving. 892 00:52:29,260 --> 00:52:30,220 Thank you very much.