1 00:00:02,740 --> 00:00:13,880 Apparently I need no introduction. Thank you. So, yes, a few of you know me. I've been 2 00:00:13,880 --> 00:00:19,820 speaking for like six years. Who am I? Consultant, yada, yada, yada, just got my CISSP, 3 00:00:20,160 --> 00:00:25,600 decided to troll ISC squared and had Kevin Mitnick as actually my first work reference for 4 00:00:25,600 --> 00:00:33,980 that. That was fun. Wrote in some books. I do training and stuff during the day. Render 5 00:00:33,980 --> 00:00:39,600 lab.net is my site, member of a few groups. I've been here every year since DEF CON 7, since 6 00:00:39,600 --> 00:00:45,020 1999. There are kids running around that weren't even born when I first started going to DEF CON. 7 00:00:45,240 --> 00:00:49,740 I have the scars to prove it. It is scary how many years I've been here. And every year it 8 00:00:49,740 --> 00:00:55,500 gets better. You guys make this a frigging awesome con. I've quit jobs to come down here. 9 00:00:55,500 --> 00:01:02,480 There's nothing that would stop me. I'm the guy that goes to a conference in Poland and has 10 00:01:02,480 --> 00:01:10,100 this waiting for me. Apparently my reputation precedes me a little bit. But first I want to 11 00:01:10,100 --> 00:01:18,020 address something. The Kaminski problem. Over multiple cons, Dan Kaminski and I are speaking at 12 00:01:18,020 --> 00:01:25,480 the same time. I have yet to see him actually speak. This is getting absolutely ridiculous. I'm 13 00:01:25,500 --> 00:01:30,260 going to try to get him to speak. In his blog he plugs it as the render man birthday paradox. 14 00:01:30,660 --> 00:01:37,720 Which is highly ironic because yesterday was my birthday. And I don't think he has any cookies 15 00:01:37,720 --> 00:01:49,020 this year. But what the hell. Oh, hell. Oh, hell. Apparently I get to drink. 16 00:02:04,240 --> 00:02:13,920 Absolutely no one make a head joke. But basically I'm thinking next year, basically with Dan, I 17 00:02:13,920 --> 00:02:17,600 think we just need to find a way to really screw with DEF CON and any other con we end up at and 18 00:02:17,600 --> 00:02:25,460 speak together at some point and see how they schedule that one. Separate rooms. So for the 19 00:02:25,500 --> 00:02:29,680 rest of this talk, I have to do some mask covering and I have to thank the EFF for vetting this 20 00:02:29,680 --> 00:02:35,460 and giving me some suggestions as to what to say. For the love of SpongeBob, do not try anything 21 00:02:35,960 --> 00:02:40,900 you're about to see. We're talking about screwing potentially with commercial air traffic 22 00:02:40,900 --> 00:02:47,220 control and airliners in flight. This is not a natural tenable position for a human being. 500 23 00:02:47,220 --> 00:02:53,040 miles an hour, 6 miles above the surface of the earth. Use this information to make air travel 24 00:02:53,040 --> 00:02:55,480 safer. Use this to make air travel safer. Use this to make air travel safer. Use this to 25 00:02:55,500 --> 00:02:59,420 alert people that, gee, maybe there are other systems out there we should be looking at to 26 00:02:59,420 --> 00:03:05,900 protect ourselves. Think about how this happened and how we can make sure that future systems are 27 00:03:05,900 --> 00:03:10,080 built in a more secure manner. Because as you'll see, this is absolutely terrifying stuff and 28 00:03:10,080 --> 00:03:16,980 this happens a lot. We as hackers have a unique insight. We think about things in terms of 29 00:03:16,980 --> 00:03:21,860 security. We always think about the outside. We always think about, you know, that X Factor, 30 00:03:21,900 --> 00:03:25,480 that thing that nobody else in the world seems to do. We think about things in terms of security. 31 00:03:25,500 --> 00:03:30,640 I mean, yesterday you had the chief of the NSA standing up here saying the same thing. Don't 32 00:03:30,640 --> 00:03:35,800 necessarily agree with everything he said, but the sentiment is there. We as a group have got to 33 00:03:35,800 --> 00:03:43,860 be more involved in the world. So just for reference, here is the statute out of the 34 00:03:43,860 --> 00:03:50,920 United States criminal code about interfering with air navigation systems, of which basically 35 00:03:50,920 --> 00:03:54,440 half the stuff I'm talking about, if you actually did it, would be violating. You're looking at 36 00:03:54,440 --> 00:03:55,480 five years in a row. You're looking at five years in a row. You're looking at five years in a row. 37 00:03:55,480 --> 00:04:01,920 You're looking at five years in jail and a bunch of fines and all sorts of fun. This talk is 38 00:04:01,920 --> 00:04:07,700 kind of weird. I want to be wrong. I want to find out that I am completely wrong about 39 00:04:07,700 --> 00:04:12,960 everything I'm about to talk about. I'm not a pilot. I am not an air traffic control operator. 40 00:04:13,760 --> 00:04:20,540 Could you imagine me as an air traffic control operator? I am in no way associated with 41 00:04:20,540 --> 00:04:25,380 air traffic or commercial airlines or anything like that beyond flying cattle class a whole 42 00:04:25,480 --> 00:04:32,680 bunch. I'm very good at stuffing people in the overhead bins now. If I get some acronym or 43 00:04:32,680 --> 00:04:38,860 some minor detail wrong, I apologize. You think the computer industry is bad for acronyms? 44 00:04:38,900 --> 00:04:45,700 Start reading some of this documentation. It's insane. This research is ongoing. And, you 45 00:04:45,700 --> 00:04:49,340 know, it's the air traffic control system is so huge, there's no way I could talk about 46 00:04:49,340 --> 00:04:55,220 everything in it or understand it for, you know, it would take me years. But this stuff is, you know, 47 00:04:55,240 --> 00:04:55,340 it's just, you know, it's, you know, it's, you know, it's, you know, it's, you know, it's, you 48 00:04:55,340 --> 00:04:55,360 know, it's, you know, it's, you know, it's, you know, it's, you know, it's, you know, it's, you know, it's, you 49 00:04:55,480 --> 00:04:56,280 know, it's, you know, it's, you know, it's, you know, it's, you know, it's too important to just 50 00:04:56,280 --> 00:05:01,380 keep quiet. So I wanted to point all of this out now so that I can get other people on board of 51 00:05:01,380 --> 00:05:07,480 so it's not just, you know, all me and another handful of people. The whole crux of this talk is 52 00:05:07,480 --> 00:05:12,400 I want to prove to myself that air travel is still safe. That moving to the next generation air 53 00:05:12,400 --> 00:05:17,480 traffic control system does not make things any more dangerous. I'm continually trying to prove 54 00:05:17,480 --> 00:05:23,140 this to myself and failing. So I need your help to try to assure myself that this is working. So 55 00:05:25,480 --> 00:05:31,160 I got interested in this stuff purely by accident. Bought a program called plane finder AR in 56 00:05:31,160 --> 00:05:35,880 October of 2010. Some of you may have remembered this program because it was pissing off 57 00:05:35,880 --> 00:05:41,720 Homeland Security. And I can't remember which congressman or whatever it was, but basically 58 00:05:41,720 --> 00:05:46,180 stood in front of the, on the floor of Congress and said, you know, all these horrible things 59 00:05:46,180 --> 00:05:50,000 saying, oh, my God, you know, terrorists can track our airplanes and all this stuff. And it's 60 00:05:50,000 --> 00:05:55,260 like, you have absolutely no idea how this works, do you? As, you know, one can say for a 61 00:05:55,260 --> 00:06:00,340 lot of things with Congress. Essentially what happens is you take your iPhone, you point it at 62 00:06:00,340 --> 00:06:07,520 a contrail in the sky or in a direction. It knows where you are, what direction and angle you've 63 00:06:07,520 --> 00:06:11,000 got it pointed at and you're looking through the camera and it overlays the flight information 64 00:06:11,780 --> 00:06:16,480 where the flight is. Kind of cool. Sitting in an airport and saying, oh, what flight is, oh, 65 00:06:16,500 --> 00:06:20,820 that's the one going to Honolulu. That's kind of neat. Played around with this for a while. 66 00:06:22,180 --> 00:06:25,080 Started asking, okay, well, how does this work? Where are they getting this information? 67 00:06:25,260 --> 00:06:31,500 It can't all be just downloaded onto the phone or something. It requires a web lookup. So this 68 00:06:31,500 --> 00:06:37,800 led me to sites like plane finder.net, flight radar 24, radar virtual. Essentially what these 69 00:06:37,800 --> 00:06:43,540 sites do is they aggregate data from all over the world. Users set up ground stations 70 00:06:44,800 --> 00:06:50,840 wherever they are and then collect data from flights going over and feed this information 71 00:06:50,840 --> 00:06:55,180 into a common database for, you know, each of these sites runs off of a different database. 72 00:06:55,260 --> 00:07:02,700 But then puts all this stuff into nice, you know, Google maps or flyable maps and you can see 73 00:07:02,700 --> 00:07:09,160 you in pretty much real time air traffic. Okay. This is kind of cool. It's about 10 minute delay 74 00:07:09,160 --> 00:07:12,900 on that traffic but still you can see what flights are coming in and out of town. Lots of 75 00:07:12,900 --> 00:07:17,060 interesting info. You can query and see, okay, what flight is this? Oh, that's the one to 76 00:07:17,060 --> 00:07:22,600 Honolulu. What kind of plane is that? Oh, 747 owned by these guys. There's a huge amount of 77 00:07:22,600 --> 00:07:24,680 information there and this is really neat stuff. 78 00:07:25,260 --> 00:07:28,460 You know, the sort of stuff that just a few years ago was unfeasible to think that we'd have 79 00:07:28,460 --> 00:07:36,780 access to. So it all went downhill from there. I've been vastly underemployed for a year, 80 00:07:36,840 --> 00:07:42,460 which means I have a lot of free time on my hands. Generally what I say is that when I get 81 00:07:42,460 --> 00:07:49,380 bored, bad things happen. What I have been doing a lot of is speaking. All over Canada, Europe, 82 00:07:49,680 --> 00:07:54,560 U.S. So I fly a lot. So I'm spending a lot of time at airports, which, you know, considering my 83 00:07:54,560 --> 00:07:54,860 background. 84 00:07:55,260 --> 00:08:02,900 Usually ends badly as well. But you sit around and you're thinking, well, at the Las Vegas 85 00:08:02,900 --> 00:08:08,200 airport here, you've got a flight landing every 90 seconds. That's an awful lot of metal, money, 86 00:08:08,320 --> 00:08:13,700 people moving around. How does this all work? How does this all fit together? You always hear 87 00:08:13,700 --> 00:08:19,600 about air traffic control but does anybody really know how it works anymore? This is why I 88 00:08:19,600 --> 00:08:25,240 should always be employed. I started thinking about this stuff. So I did some research. And I 89 00:08:25,260 --> 00:08:30,320 found out that air traffic control really hasn't changed much since the 1970s. If you ever watch 90 00:08:30,320 --> 00:08:36,440 airplane, you know, wonderful movie. With the exception of the comedic elements, it's pretty 91 00:08:36,440 --> 00:08:43,040 much like that. Primary radar, you know, the big radar dishes you see rotating on top of the 92 00:08:43,040 --> 00:08:49,240 towers. Basically they just send out a signal, bounces off metal, comes back. That's how you 93 00:08:49,240 --> 00:08:54,660 tell where something is. That's what they've been doing since the 1970s. They now have a kind of 94 00:08:55,260 --> 00:09:01,920 like, whoa, drinks are kicking in. They now have a transponder system, a secondary radar system. 95 00:09:02,180 --> 00:09:08,580 So as that radar goes out, it sends out a pulse that the transponder receives and then sends out a 96 00:09:08,580 --> 00:09:16,260 signal back with a transponder code as well as altitude information. So previously with primary 97 00:09:16,260 --> 00:09:20,780 radar going around, they knew the bearing and approximately the distance of the flight. But they 98 00:09:20,780 --> 00:09:24,940 had no idea of altitude. They didn't know anything. All of that was transmitted over voice 99 00:09:24,940 --> 00:09:25,240 channels. They didn't know anything. All of that was transmitted over voice channels. So 100 00:09:25,260 --> 00:09:25,840 they didn't know anything. All of that was transmitted over voice channels. So they 101 00:09:25,840 --> 00:09:30,800 channel. Now with secondary radar, you at least have some sort of tracking saying, oh, this is 102 00:09:30,800 --> 00:09:35,700 American Airlines flight, da, da, da, da, da. But there's still a huge amount of work 103 00:09:35,700 --> 00:09:41,660 required. Still a lot of voice communication going back and forth. Disinterrogation only 104 00:09:41,660 --> 00:09:45,560 happens every few seconds. And when you've got something flying 500 miles an hour, it's 105 00:09:45,560 --> 00:09:50,560 position changes really quickly. So you aren't getting as accurate a picture of what's going on 106 00:09:50,560 --> 00:09:54,080 in the sky as you think. The pilots get no benefits. Air 107 00:09:54,080 --> 00:09:59,380 traffic control knows where they are. Pilots don't. Any saying 108 00:09:59,380 --> 00:10:01,860 oh, you need to be careful, there's another flight over 109 00:10:01,860 --> 00:10:04,980 here, that all comes back from air traffic control. Pilots are 110 00:10:04,980 --> 00:10:07,880 essentially flying blind in a lot of ways. It's kind of scary. 111 00:10:09,560 --> 00:10:13,160 This requires that there be a large separation of planes. You 112 00:10:13,160 --> 00:10:16,420 can't have planes riding each other's ass all the way in. You 113 00:10:16,420 --> 00:10:19,120 have to maintain a certain level of separation for safety because 114 00:10:19,120 --> 00:10:24,300 you don't know exactly where things are. It could get too 115 00:10:24,300 --> 00:10:27,700 close. Bad things could happen. So we're still pretty much 116 00:10:27,700 --> 00:10:33,380 running by the seat of our pants. IVR, which is basically a 117 00:10:33,380 --> 00:10:38,500 waypoint-based system, is not optimal. So a lot of airlines 118 00:10:38,500 --> 00:10:40,920 are saying, well, we need to improve this because if we're 119 00:10:40,920 --> 00:10:44,880 flying point to point to point, shortest distance between two 120 00:10:44,880 --> 00:10:48,200 points is a straight line. They aren't doing that. They want to 121 00:10:48,200 --> 00:10:48,700 be able to do that. 122 00:10:49,320 --> 00:10:51,800 You're always hearing about the fuel surcharges and all that 123 00:10:51,800 --> 00:10:56,000 crap nowadays. And air travel is increasing. You've got limited 124 00:10:56,000 --> 00:11:00,000 capacity. You can't build an airport every five miles kind of 125 00:11:00,000 --> 00:11:03,800 situation. You've got cities where, you know, you look at 126 00:11:03,800 --> 00:11:06,680 the Las Vegas airport here, McCarran, there's only a 127 00:11:06,680 --> 00:11:08,960 limited amount of space that you can do there. There's only so 128 00:11:08,960 --> 00:11:11,680 much throughput you can put through there. So you need to do 129 00:11:11,680 --> 00:11:13,960 everything you possibly can to squeeze everything you can out 130 00:11:13,960 --> 00:11:17,420 of there. And then you just get really weird crap. Things like 131 00:11:17,420 --> 00:11:19,100 weather. There's that volcano. There's a volcano. There's a 132 00:11:19,120 --> 00:11:21,040 tornado a couple of years ago in Iceland, which I'm certainly 133 00:11:21,040 --> 00:11:24,460 not going to try to pronounce the name of. These sort of 134 00:11:24,460 --> 00:11:27,820 events can cause havoc all around the world. And those 135 00:11:27,820 --> 00:11:30,460 effects in one location can ripple because the entire 136 00:11:31,060 --> 00:11:34,560 situation is dependent. A flight leaving Europe landing in the 137 00:11:34,560 --> 00:11:37,920 United States is then going to continue on somewhere else. If 138 00:11:37,920 --> 00:11:40,300 that plane doesn't arrive, well, it just backs up the whole 139 00:11:40,300 --> 00:11:46,460 system. So a decision was made, something needs to change. That 140 00:11:46,460 --> 00:11:48,760 change became the next generation air traffic control 141 00:11:48,760 --> 00:11:53,320 system. The late 90s, FAA and others created an initiative to 142 00:11:53,320 --> 00:11:56,860 revamp air traffic control in the U.S. and by proxy, 143 00:11:56,920 --> 00:12:00,400 essentially the world. They wanted to do more with less. 144 00:12:00,580 --> 00:12:03,200 Take the existing systems. Because the problem is you've 145 00:12:03,200 --> 00:12:06,840 got, you know, like, what was some of the numbers? Almost half 146 00:12:06,840 --> 00:12:10,860 of the air fleet is in the air at any given time. So it's not 147 00:12:10,860 --> 00:12:14,220 like you can stop all air travel, take it to some hangars 148 00:12:14,220 --> 00:12:16,460 for a couple of weeks, retrofit everything and then put it back 149 00:12:16,460 --> 00:12:18,740 out. The world would grind to a halt. So you're not going to be 150 00:12:18,740 --> 00:12:23,300 able to do that. And that would be a bad thing, by the way. So 151 00:12:23,300 --> 00:12:25,780 they wanted to modernize this over a period of time. 152 00:12:25,880 --> 00:12:30,960 Approximately 20 years. Some of the mandates for the system kick 153 00:12:30,960 --> 00:12:35,080 in in 2020. So we've still got lots of time here. They wanted to 154 00:12:35,080 --> 00:12:37,180 save costs on air traffic control equipment because big 155 00:12:37,180 --> 00:12:40,700 primary radar dishes that spin around on top of towers are very 156 00:12:40,700 --> 00:12:44,160 expensive. But at the same time, they also wanted to save fuel 157 00:12:44,160 --> 00:12:47,200 for the airlines so they could cut costs, save time and 158 00:12:47,200 --> 00:12:48,720 increase capacity. So they wanted to modernize this over a period 159 00:12:48,740 --> 00:12:53,520 of time. The key for this is ADSB. This is the data source 160 00:12:53,520 --> 00:12:56,420 for the plane finder sites I mentioned and the focus of this 161 00:12:56,420 --> 00:12:59,400 talk. And I need a drink. 162 00:13:08,440 --> 00:13:14,380 So ADSB is Automatic Dependent Surveillance Broadcast. Planes 163 00:13:14,380 --> 00:13:17,680 are now being equipped with GPS to determine their own position. 164 00:13:18,740 --> 00:13:22,600 They broadcast that over a 1090 megahertz length or for smaller 165 00:13:22,600 --> 00:13:26,620 planes, 978 megahertz for general aviation at approximately 166 00:13:26,620 --> 00:13:29,840 one hertz. So once a second. So you get a much faster update than 167 00:13:29,840 --> 00:13:33,580 you did with primary radar. This information contains the aircraft 168 00:13:33,580 --> 00:13:36,960 ID, altitude, position, and latitude and longitude, bearing 169 00:13:36,960 --> 00:13:41,580 speed, all that stuff. Airframe numbers, et cetera. This is 170 00:13:41,580 --> 00:13:44,000 received by a network of ground stations. Now, these ground 171 00:13:44,000 --> 00:13:46,340 stations can be a lot more plentiful because they're a lot 172 00:13:46,340 --> 00:13:48,720 cheaper than a big spinning, rotating radar. So they're going 173 00:13:48,720 --> 00:13:51,920 to be a lot cheaper than a radar dish. This is particularly 174 00:13:51,920 --> 00:13:54,100 useful because you can also stick these ground stations on 175 00:13:54,100 --> 00:13:58,200 things like offshore oil platforms in places like the 176 00:13:58,200 --> 00:14:00,800 Gulf of Mexico where there hadn't been primary radar 177 00:14:00,800 --> 00:14:03,460 coverage before because you couldn't put a radar dish there. 178 00:14:03,860 --> 00:14:08,600 So before it was, oh, plane is entering Gulf of Mexico. We 179 00:14:08,600 --> 00:14:11,520 can't track it for, you know, a couple hours while it's flying 180 00:14:11,520 --> 00:14:14,700 over. And then it pops out the other side. You know, sort of 181 00:14:15,220 --> 00:14:18,640 a triangle thing. But now they can. The 182 00:14:18,720 --> 00:14:22,280 early pilots of this were in Alaska where it's just a very 183 00:14:22,280 --> 00:14:25,260 mountainous region that they needed to know exactly where 184 00:14:25,260 --> 00:14:27,300 they were because on landing you're basically going through 185 00:14:27,300 --> 00:14:30,300 this mountain valley. If you're a couple hundred feet either 186 00:14:30,300 --> 00:14:35,820 side, you've got problems. The certainty of location allows 187 00:14:35,820 --> 00:14:40,180 flights to be a lot closer. If you know that a flight is here 188 00:14:40,180 --> 00:14:45,460 and another flight is here, your margin of error is a lot 189 00:14:45,460 --> 00:14:48,700 smaller. Apparently I'm offline. So you can see that the 190 00:14:50,040 --> 00:14:52,300 margin of error is a lot smaller and you can pack 191 00:14:52,300 --> 00:14:55,080 flights in which means you can have more flights landing and 192 00:14:55,080 --> 00:14:59,140 increase your capacity. This protocol works in two forms. 193 00:14:59,640 --> 00:15:07,240 There's ADSB out and ADSB in. So quick graphic here. You can 194 00:15:07,240 --> 00:15:14,200 see planes using GPS to determine the location. Send a 195 00:15:14,200 --> 00:15:16,920 signal down to air traffic control. There's also some 196 00:15:16,920 --> 00:15:18,700 interplane communication which I'll get to. You can see the 197 00:15:18,720 --> 00:15:21,060 data coming back from air traffic control to the plane. 198 00:15:21,160 --> 00:15:24,160 So it's a lot more data being pushed around than previous 199 00:15:24,160 --> 00:15:29,400 systems. There we go. When you start looking at the protocol 200 00:15:29,400 --> 00:15:36,220 itself, this looks a lot like a network packet, doesn't it? So 201 00:15:36,220 --> 00:15:40,460 with ADSB out, this is from the plane out to the world and out 202 00:15:40,460 --> 00:15:44,020 to air traffic control. No interrogation needed. This is 203 00:15:44,020 --> 00:15:48,680 the automatic part. That's getting annoying. And so 204 00:15:48,720 --> 00:15:52,280 instead of the primary secondary radar system, planes 205 00:15:52,280 --> 00:15:57,420 just report their position via GPS. Send omnidirectionally 206 00:15:57,860 --> 00:16:01,600 every direction to the ground stations and other aircraft 207 00:16:01,600 --> 00:16:04,960 that are in the area. Air traffic control scope, you know, 208 00:16:04,960 --> 00:16:07,500 used to be the big sweeping arm, you know, going around in the 209 00:16:07,500 --> 00:16:11,700 old CRT tubes. That is now replaced, digital displays and 210 00:16:11,700 --> 00:16:15,340 populated from this information. Uses 1090 megahertz for the 211 00:16:15,340 --> 00:16:18,480 commercial stuff, you know, the big 747s, commercial airliners. 212 00:16:18,720 --> 00:16:24,520 General aviation uses another system on 978 megahertz, UAT. 213 00:16:24,800 --> 00:16:28,480 Slightly different link format but effectively does the same 214 00:16:28,480 --> 00:16:35,740 things. ADSB in is information flowing into the plane, which is 215 00:16:35,740 --> 00:16:39,100 something that's fairly new. It's optional equipment that can 216 00:16:39,100 --> 00:16:42,600 be installed in aircraft. It allows them to receive these 217 00:16:42,600 --> 00:16:45,780 signals. It's not mandatory but it's one of those, it's a nice 218 00:16:45,780 --> 00:16:48,700 to have. Because what it does is it allows planes to be aware of 219 00:16:48,720 --> 00:16:53,020 each other without air traffic control intervention. I'm just 220 00:16:53,020 --> 00:17:03,640 going to say go away. There we go. So suddenly you have plane to 221 00:17:03,640 --> 00:17:06,580 plane communication. You can say, hey, I'm over the Gulf of 222 00:17:06,580 --> 00:17:09,820 Mexico but I know that there's another plane, you know, not 223 00:17:09,820 --> 00:17:17,920 far off my starboard side. I'm not nautical either. For UAT, 224 00:17:18,780 --> 00:17:24,020 they're able to get weather reports in from air traffic 225 00:17:24,020 --> 00:17:26,840 control. So this is awesome if you're flying around in your 226 00:17:26,840 --> 00:17:29,160 little Cessna, you can actually know what weather is coming up. 227 00:17:29,200 --> 00:17:33,060 You're not having to guess or look at forecasts, which are 228 00:17:33,060 --> 00:17:37,760 notoriously not the most accurate thing. The amount of 229 00:17:37,760 --> 00:17:41,360 situational awareness increases dramatically. This makes air 230 00:17:41,360 --> 00:17:44,400 travel safer. You know exactly where everything is around you. 231 00:17:44,460 --> 00:17:48,180 Less chance of collisions, et cetera. Also works for ground 232 00:17:48,180 --> 00:17:52,300 equipment, taxing aircraft, other equipment on the float 233 00:17:52,300 --> 00:17:56,220 ground. It is expensive though. To put these systems into 234 00:17:56,220 --> 00:17:59,440 commercial airliners, $5,000 to $10,000 for just the broadcast 235 00:17:59,440 --> 00:18:03,820 out. Up to $20,000 for in. You got a whole new display panel 236 00:18:03,820 --> 00:18:07,780 that needs to be put in. This stuff is cheap. General aviation 237 00:18:07,780 --> 00:18:10,920 market is getting a lot cheaper, you know, nice little hand held 238 00:18:10,920 --> 00:18:14,940 GPS size units are out now. The problem is for a lot of the 239 00:18:14,940 --> 00:18:17,240 testing I was looking at doing, there's not a lot on the used 240 00:18:17,240 --> 00:18:18,160 market yet. And, of course, the airport, some of the live air, the 241 00:18:18,180 --> 00:18:24,120 so this gets to be a bit of a problem. This is as of 1.35 p.m. 242 00:18:24,120 --> 00:18:28,280 this afternoon, London. Gee, isn't there a really big event 243 00:18:28,280 --> 00:18:35,260 going on in London right now? Just looking at this, do you 244 00:18:35,260 --> 00:18:38,400 think it's a good idea that, you know, the average public is able 245 00:18:38,400 --> 00:18:43,200 to look at something like this? So the hacker, sorry, my brain 246 00:18:43,200 --> 00:18:48,160 took over when I was researching this protocol and how that, you 247 00:18:49,360 --> 00:18:51,300 know, you start looking at these things and you start 248 00:18:51,300 --> 00:18:53,840 thinking, well, how is this actually being transmitted? 249 00:18:54,080 --> 00:18:56,420 Like, what does the actual protocol look like? I showed you 250 00:18:56,420 --> 00:18:59,780 the packet there earlier. I couldn't immediately find 251 00:19:00,260 --> 00:19:02,440 anything where they talked about how they mitigate potential 252 00:19:02,440 --> 00:19:07,200 threats about this. Every answer seemed to be trust us. Well, I 253 00:19:07,200 --> 00:19:10,660 don't trust easily. Previous experience usually means that 254 00:19:10,660 --> 00:19:12,880 they either haven't thought of those risks and are trying to 255 00:19:12,880 --> 00:19:16,500 cover it up or they had thought of these risks and were just 256 00:19:16,500 --> 00:19:17,720 completely oblivious. 257 00:19:19,040 --> 00:19:25,100 I started digging and found out I'm not the only one. ADSB is 258 00:19:25,100 --> 00:19:31,400 unencrypted and unauthenticated. Right there, that sound. I love 259 00:19:31,400 --> 00:19:37,780 that sound. Anyone can listen to 1090 megahertz or 578 for 260 00:19:37,780 --> 00:19:39,840 general aviation and decode the transmissions from the 261 00:19:39,840 --> 00:19:43,820 aircraft in real time. It's a really simple pulse position 262 00:19:43,820 --> 00:19:47,940 modulation. You know, it's not a very, they want this thing to be 263 00:19:48,160 --> 00:19:51,360 very robust because, you know, you get a lightning flash or 264 00:19:51,360 --> 00:19:54,140 something like that. You don't want your signal scrambled. You 265 00:19:54,140 --> 00:19:57,740 want this to just go through. It's really simple stuff. There's 266 00:19:57,740 --> 00:20:01,360 no data level authentication of the aircraft. Just a simple 267 00:20:01,360 --> 00:20:04,360 checksum. You don't know that it actually came from that 268 00:20:04,360 --> 00:20:08,200 aircraft. There is some correlation with primary radar 269 00:20:08,200 --> 00:20:14,340 in this hybrid, you know, time as they're transitioning. They're 270 00:20:14,340 --> 00:20:16,920 starting to implement multilateration in a lot of cases. 271 00:20:19,260 --> 00:20:22,060 But I'm running a ground station at home, sitting on my desk, 272 00:20:22,160 --> 00:20:26,940 little box mode S beast that records, that soaks to a big 273 00:20:26,940 --> 00:20:30,440 like four and a half foot antenna that takes in this ADSB 274 00:20:30,440 --> 00:20:33,900 signal from the surrounding area, processes it, uploads it to 275 00:20:33,900 --> 00:20:37,000 the Internet to some of these sites. And I'm able to look at 276 00:20:37,000 --> 00:20:41,280 my own personal virtual air traffic. I'm able to see all the 277 00:20:41,280 --> 00:20:46,460 flight paths for the area around my home. And this is actually 278 00:20:46,460 --> 00:20:48,140 really interesting because there's times where, like, an 279 00:20:48,160 --> 00:20:50,520 airport at 4 o'clock in the morning, this flight goes over 280 00:20:50,520 --> 00:20:53,220 when the airport is usually closed. Where the hell is that? 281 00:20:53,820 --> 00:20:57,880 Log on, able to see, oh, that's a FedEx flight going out to 282 00:20:58,400 --> 00:21:02,420 Montreal or something. Like, five years ago, the ability for 283 00:21:02,420 --> 00:21:06,180 me to check on the air traffic in my area without relying on 284 00:21:06,180 --> 00:21:12,580 anybody else, that's nuts. Others have been able to, 285 00:21:12,640 --> 00:21:17,640 starting to look at this as well. Writer Kunkel, DEFCON 17 286 00:21:18,480 --> 00:21:21,280 did some talks where he briefly alluded to this. He was 287 00:21:21,280 --> 00:21:24,580 basically looking at existing air traffic control systems. I'm 288 00:21:24,580 --> 00:21:29,460 looking beyond that. Spench.net has been doing a huge amount of 289 00:21:29,460 --> 00:21:33,820 research with software-defined radios and also with ADSB and 290 00:21:33,820 --> 00:21:39,900 using those cheap RTL USB TV dongles, using those to actually 291 00:21:40,310 --> 00:21:47,000 become ADSB receivers. USAF Major Donald McKally, McKally, 292 00:21:48,160 --> 00:21:50,340 found his graduate research project from a couple of years 293 00:21:50,340 --> 00:21:54,120 ago where he was researching this stuff. All of these people 294 00:21:54,120 --> 00:21:57,840 so far have not, if you read their work, had not found any 295 00:21:57,840 --> 00:22:00,560 mitigations for this. They were just saying, well, there's all 296 00:22:00,560 --> 00:22:04,440 these potential threats, nobody's mitigating this. Nick 297 00:22:04,440 --> 00:22:10,400 Foster, SDR radio professional badass, has been doing a bunch 298 00:22:10,400 --> 00:22:13,560 of research in this and helped me out a great deal. But really 299 00:22:13,560 --> 00:22:17,960 no one has come up with solid answers as to is this safe or 300 00:22:17,960 --> 00:22:18,140 not. I'm not sure. I'm not sure. I'm not sure. I'm not sure. 301 00:22:18,160 --> 00:22:18,740 keinen job. I'm not sure. I'm not sure. Everything is 302 00:22:18,740 --> 00:22:24,520 conjecture and hoping and that isn't comforting. Largely a 303 00:22:24,520 --> 00:22:28,460 North American problem because the FAA's demanded that they 304 00:22:28,920 --> 00:22:32,800 order came down, that this be implemented, that every plane 305 00:22:33,640 --> 00:22:38,620 within certain criteria be equipped by 2020. Europe is 306 00:22:38,620 --> 00:22:43,080 waiting until 2030. But this is already being utilized all over 307 00:22:43,080 --> 00:22:46,400 the world. I believe Australia pretty much already implemented 308 00:22:46,400 --> 00:22:48,140 it everywhere. motionă‚“ 309 00:22:48,640 --> 00:22:52,240 UPS has equipped all of their flights with ADS-B out. They 310 00:22:52,240 --> 00:22:56,840 were an initial test bed for the FAA. There are planes over our 311 00:22:56,840 --> 00:23:01,500 head right now that are ADS-B equipped and using this. It's 312 00:23:01,500 --> 00:23:04,280 the inevitable direction. We've only got eight years before it's 313 00:23:04,280 --> 00:23:08,920 mandatory on this continent that, you know, to ask some of 314 00:23:08,920 --> 00:23:13,280 these hard questions as the flying public. I fly a lot and 315 00:23:13,280 --> 00:23:16,620 want to get home safely. I am very aware of the irony of 316 00:23:16,620 --> 00:23:18,620 talking about attacking next generation air traffic control 317 00:23:18,620 --> 00:23:22,380 when I have to fly home. But there's a multitude of threat 318 00:23:22,380 --> 00:23:27,540 vectors we need to look at. First threat, ADS-B out. So 319 00:23:27,540 --> 00:23:31,700 this is plane two air traffic control. Eavesdropping. This is 320 00:23:31,700 --> 00:23:34,580 simple, you know, as I said, unencrypted, unauthenticated 321 00:23:34,580 --> 00:23:37,800 protocols. I'm running a base station. I'm able to record 322 00:23:37,800 --> 00:23:43,760 all of this myself. Gee, this is all clear text. What can I 323 00:23:43,760 --> 00:23:46,540 data mine with that? I get multiples of these stations. 324 00:23:46,620 --> 00:23:50,620 I can do my own homebrew multilateration. Even if a plane 325 00:23:50,620 --> 00:23:55,300 is not broadcasting its GPS coordinates, if it's 326 00:23:55,300 --> 00:24:00,060 broadcasting anything that I can identify, I can still locate 327 00:24:00,060 --> 00:24:04,580 that. You know, Air Force One being a prime example of this. 328 00:24:06,080 --> 00:24:08,420 The data mining potential. We know what's in the air, when, 329 00:24:08,680 --> 00:24:12,200 where. Remember the extraordinary rendition flights 330 00:24:12,200 --> 00:24:14,400 from a few years ago where they grab a guy in one country and 331 00:24:14,400 --> 00:24:16,320 take him to another country to beat the living crap out of him? 332 00:24:17,020 --> 00:24:20,200 All of that was uncovered by a bunch of plane spotters who were 333 00:24:20,200 --> 00:24:25,660 looking at flights that weren't on normal data channels and 334 00:24:25,660 --> 00:24:29,520 tracking where they were going. Because essentially in order to 335 00:24:29,520 --> 00:24:32,240 play nice in airspace, you have to tell air traffic control who 336 00:24:32,240 --> 00:24:35,940 you are. I highly suggest you stick around for the next talk, 337 00:24:37,300 --> 00:24:41,360 busting the bar, because they're talking about this exact sort of 338 00:24:41,360 --> 00:24:45,680 stuff where they're data mining this information. Their method is 339 00:24:45,680 --> 00:24:46,600 a little different than, you know, a lot of the other 340 00:24:46,620 --> 00:24:49,740 people that are using ADS-B, but you augment their method with 341 00:24:49,740 --> 00:24:52,780 ADS-B and you're going to have a hell of a lot of data to mine. 342 00:24:54,960 --> 00:24:59,520 Another obvious attack vector, injection. What is to stop us, 343 00:24:59,560 --> 00:25:02,960 other than a very long jail sentence, from injecting ghost 344 00:25:02,960 --> 00:25:07,100 flights into air traffic control systems? Documents that discuss 345 00:25:07,890 --> 00:25:11,760 using primary radar, you know, actually bouncing signal off 346 00:25:11,760 --> 00:25:16,600 metal, that talk about fusing that with ADS-B. You know, the 347 00:25:16,600 --> 00:25:20,400 ADS-B in order to verify, okay, this plane says it's here, we 348 00:25:20,400 --> 00:25:23,340 actually have metal in the air at roughly that location. We can 349 00:25:23,740 --> 00:25:27,400 kind of trust that. The same documents that talk about using 350 00:25:27,400 --> 00:25:30,560 this system also talk about, hey, ADS-B is cheap. We can now 351 00:25:30,560 --> 00:25:36,660 turn off primary radar. That's scary. What happens if we 352 00:25:36,660 --> 00:25:40,580 introduce just slight variations of existing flights? Say, you 353 00:25:40,580 --> 00:25:44,760 know, start with broadcasting the same location of that flight 354 00:25:44,760 --> 00:25:46,580 but just sort of, you know, make them diverse. You know, 355 00:25:46,600 --> 00:25:48,080 you can't just have one flight and then you have to merge. How 356 00:25:48,080 --> 00:25:51,640 do you know which one is the real one? Generally cause 357 00:25:51,640 --> 00:25:54,460 confusion at inopportune moments. You've seen what a snowstorm will 358 00:25:54,460 --> 00:25:57,500 do around the holidays at hubs like, you know, New York or 359 00:25:57,500 --> 00:26:02,080 Atlanta or wherever. You know, it causes chaos for days. You 360 00:26:02,080 --> 00:26:05,320 know, people sleeping in airports and all that. Gee, 361 00:26:05,460 --> 00:26:07,520 there's an Olympics going on. If you could suddenly introduce a 362 00:26:07,520 --> 00:26:10,380 whole bunch of random crap because air traffic controllers 363 00:26:10,380 --> 00:26:14,140 are busy enough as it is. If you throw 50 extra flights in there 364 00:26:14,140 --> 00:26:16,340 that they're having to sit down and figure out, okay, what the 365 00:26:16,600 --> 00:26:21,680 hell is going on here? There's planes now circling. You've now 366 00:26:21,680 --> 00:26:25,700 got other, you've got things backing up. It's instantaneous. 367 00:26:26,060 --> 00:26:28,220 It is scary when you start thinking about the 368 00:26:28,220 --> 00:26:32,020 possibilities of this. Could you train the system, create a 369 00:26:32,020 --> 00:26:36,800 false signal that goes same time every Tuesday at 2 p.m., this 370 00:26:36,800 --> 00:26:40,300 random flight that never responds and is never found to have 371 00:26:40,300 --> 00:26:43,380 actually metal there. You know, do that for a few weeks and then 372 00:26:43,380 --> 00:26:46,580 gee, that's where your smuggler's flight goes. You've 373 00:26:47,880 --> 00:26:50,000 got to be careful. There is some discussion of 374 00:26:50,000 --> 00:26:52,020 multilateration in this documentation. So 375 00:26:52,020 --> 00:26:55,500 multilateration is basically sort of the opposite of 376 00:26:55,500 --> 00:26:59,460 triangulation. You have a signal being broadcast from a 377 00:26:59,460 --> 00:27:03,880 location, your plane, picked up by multiple base stations. Based 378 00:27:03,880 --> 00:27:05,940 on the differences of time between those, you can actually 379 00:27:05,940 --> 00:27:11,820 build an arc as to where that signal came from. You get three 380 00:27:11,820 --> 00:27:14,120 stations. You're able to draw three arcs. Where they 381 00:27:14,120 --> 00:27:16,580 intersect, that's where your plane is. You can actually 382 00:27:16,600 --> 00:27:19,700 do that. But there's nothing that I've found that says that 383 00:27:19,700 --> 00:27:23,440 this is actually mandatory. The systems are being set up in North 384 00:27:23,440 --> 00:27:25,780 America. The company that's implementing them is saying, 385 00:27:25,980 --> 00:27:30,740 yes, our systems are capable of doing this. We built it in 386 00:27:30,740 --> 00:27:33,980 because it's essentially the same radio. It's nothing fancy 387 00:27:33,980 --> 00:27:37,420 there. But there's nothing mandating that airports use this. 388 00:27:39,220 --> 00:27:41,500 It may be buried somewhere, but you'd think something, 389 00:27:41,700 --> 00:27:44,100 information like that, you'd want kind of out front and 390 00:27:44,100 --> 00:27:46,580 important. But it's not. It's not mandatory. It's not 391 00:27:46,600 --> 00:27:50,900 mandatory. What about jamming? You know, it happens. Radio 392 00:27:50,900 --> 00:27:53,640 misconfigured, something like that, starts broadcasting on 393 00:27:53,640 --> 00:27:58,740 1090 megahertz. Could you sit outside an airport and jam 394 00:27:58,740 --> 00:28:04,240 their ability to receive flights? Quite possibly. It 395 00:28:04,240 --> 00:28:08,700 already happens, he says. Purely by accident or malicious intent, 396 00:28:08,880 --> 00:28:12,160 who knows. You could detect these, direction find these 397 00:28:12,160 --> 00:28:15,520 fairly quickly, multilateration, you know, roll out some trucks 398 00:28:16,600 --> 00:28:19,780 and see, you know, FCC trucks or whatever to try and find this 399 00:28:19,780 --> 00:28:24,380 stuff. But does every airport have this capability? If I did 400 00:28:24,380 --> 00:28:28,780 it for ten minutes and then moved, did it, you know, another 401 00:28:28,780 --> 00:28:32,020 hour later, did it for another ten minutes, are they going to 402 00:28:32,020 --> 00:28:34,760 roll out trucks for that? I don't know. What plans do they 403 00:28:34,760 --> 00:28:39,880 have? If you target a particular location, again, the Olympics. 404 00:28:40,840 --> 00:28:44,280 If you could jam London right as the athletes and V.I.P.s are 405 00:28:44,280 --> 00:28:46,580 coming in for an hour? You're missing out. So you're not 406 00:28:46,580 --> 00:28:53,460 Imagine the amount of chaos. Coordinate jamming across multiple travel hubs. Like I said, 407 00:28:53,500 --> 00:28:56,760 you've seen what weather will do along the east coast of the U.S. during a major holiday. 408 00:28:58,360 --> 00:29:03,100 Introduce, you know, a bit of noise. It could be just a Pelican case that you just, like, 409 00:29:03,100 --> 00:29:07,960 magnet to the side of a receiving station. Something's going to happen. I don't know. 410 00:29:10,420 --> 00:29:16,060 ADS-B doesn't have a contention protocol. It's just a simple broadcast. So if you get 411 00:29:16,060 --> 00:29:20,440 too many planes in the same area, the system falls apart because there's just so much noise. 412 00:29:20,580 --> 00:29:28,780 You can't get the signal through the noise. You can augment this artificially, maybe. I don't 413 00:29:28,780 --> 00:29:36,880 know. Let's look at ADS-B in. So this is plane to plane and air traffic control into the plane. 414 00:29:39,340 --> 00:29:44,400 You could inject confusing, impossible, scary types of data to elicit a response. 415 00:29:45,240 --> 00:29:46,040 You know, you've got a lot of data in there. You've got a lot of data in there. You've got 416 00:29:46,060 --> 00:29:49,720 a flight that's been flying cross-country for a few hours. You know, pilot's a little tired or 417 00:29:49,720 --> 00:29:54,560 whatever. You inject something on his traffic display that suddenly says, yeah, there's a plane 418 00:29:54,560 --> 00:30:00,060 500 yards in front of you. I don't know. Something's going to happen. Probably something 419 00:30:00,060 --> 00:30:08,920 involving a sphincter. 500 miles an hour. You can still brown your shorts. You could introduce 420 00:30:08,920 --> 00:30:12,920 conflicting data between air traffic control and the cockpit. Air traffic control says, oh, 421 00:30:12,940 --> 00:30:15,860 everything ahead of you is clear. No. 422 00:30:16,060 --> 00:30:21,840 According to my display, there's a conga line in front of me. What's going on? Because the 423 00:30:21,840 --> 00:30:26,700 aircraft have no source of multilateration. They don't know where this signal, they have no way of 424 00:30:26,700 --> 00:30:32,480 correlating where this signal is coming from. They just get GPS coordinates. That's it. They 425 00:30:32,480 --> 00:30:37,720 can't verify which, where that signal is coming from. This is only used for a traffic display. 426 00:30:38,100 --> 00:30:43,900 So this is just sort of a nice to have. It's not as important as other systems. But we'll get to 427 00:30:43,900 --> 00:30:44,080 those. 428 00:30:46,140 --> 00:30:51,640 GPS jamming. The whole source of this thing is GPS locating. You want a really accurate 429 00:30:51,640 --> 00:30:58,780 signal. North Korea is currently running GPS jamming along their borders. So it's already 430 00:30:58,780 --> 00:31:05,160 happening. The U.K. ran a bunch of tests along their highways where they had listening posts 431 00:31:05,160 --> 00:31:11,420 listening for rogue signals on GPS frequencies and found a whole bunch of them over a couple of 432 00:31:11,420 --> 00:31:16,040 weeks. Usually trucks mounted with jammers so that they're located on the road. So they're 433 00:31:16,060 --> 00:31:20,620 able to track the road jacks so that the boss knows where you are at any time. Some guy would just 434 00:31:20,620 --> 00:31:25,420 plug this thing into a cigarette lighter to jam that so the boss couldn't track them. New York 435 00:31:25,420 --> 00:31:33,580 airport in New Jersey actually had a situation with this. On a regular basis, they would get a 436 00:31:33,580 --> 00:31:39,600 whole bunch of GPS interference at the same time every day in the same location. Couldn't figure 437 00:31:39,600 --> 00:31:44,060 it out. We finally knew, okay, it's a regular basis. We're able to track this down. We'll go out 438 00:31:44,060 --> 00:31:46,040 there. We'll camp out with direction finding. We'll go out there. We'll go out there. We'll go out 439 00:31:46,060 --> 00:31:51,320 to New York and figure this out. It was a delivery truck driver whose boss had 440 00:31:51,320 --> 00:31:56,960 low jacked his vehicle so that they could keep tabs on them. The guy would plug in this 441 00:31:56,960 --> 00:32:03,840 cigarette lighter GPS jammer and take a nap. And he would park right at the end of the runway in 442 00:32:03,840 --> 00:32:10,860 the parking lot and was jamming the frigging airport. These things are only like $20 or $30 on 443 00:32:10,860 --> 00:32:16,040 Deal Extreme. It's not like they're hard to get. Who is a fan of Deal Extreme? I'm a fan. I'm a fan. 444 00:32:16,960 --> 00:32:22,140 All right. All the crap that you should never buy. Is anybody 445 00:32:22,140 --> 00:32:24,380 actually able to order stuff from there that costs less than 446 00:32:24,380 --> 00:32:27,600 $100 for the whole order? You go there for a $3 cable and it's 447 00:32:27,600 --> 00:32:32,080 like $150 later. But these sort of things can be tucked into 448 00:32:32,080 --> 00:32:37,400 baggage. You know? Could be sitting on a timer. Okay, what's 449 00:32:37,400 --> 00:32:41,100 your fallback position now? We jammed GPS for the entirety of 450 00:32:41,100 --> 00:32:45,180 the flight. All the advantages of ADSB suddenly go out the 451 00:32:45,180 --> 00:32:48,180 window. And if you now disabled a bunch of the original primary 452 00:32:48,180 --> 00:32:53,900 stuff, okay, what do we do now? I don't know. Something's going 453 00:32:53,900 --> 00:32:59,980 to happen. GPS spoofing. We manipulate the signals from GPS 454 00:32:59,980 --> 00:33:03,400 satellites to say, oh, you're at a different latitude and 455 00:33:03,400 --> 00:33:07,860 longitude. The aircraft location tracking is no longer reliable. 456 00:33:09,540 --> 00:33:13,420 Okay. Best case, we fall back traditional navigation ads, get 457 00:33:13,420 --> 00:33:14,860 rid of some of the advantages of ADSB. 458 00:33:15,940 --> 00:33:19,680 Worst case, such as if you're flying through a mountain valley 459 00:33:19,680 --> 00:33:24,580 in Alaska, yeah, you intersect something that's a lot bigger 460 00:33:24,580 --> 00:33:29,200 than you. And that would be bad. Iran may have used this 461 00:33:29,200 --> 00:33:33,280 technique to bring down a U.S. drone earlier in the year. That 462 00:33:33,280 --> 00:33:35,660 one I don't think we'll ever actually get a complete answer 463 00:33:35,660 --> 00:33:39,120 as to what happened. But still, it's interesting to consider. 464 00:33:39,980 --> 00:33:43,500 And there's just a university team just this past month that 465 00:33:43,500 --> 00:33:45,160 was able to take over a U.S. drone. And it was able to take 466 00:33:45,180 --> 00:33:49,820 over a U.S. military drone and guide it by just spoofing GPS. 467 00:33:51,000 --> 00:33:53,500 You know, it's for like less than $1,000 worth of stuff. So 468 00:33:53,500 --> 00:33:59,060 this stuff is capable of being done right now. Some threats are 469 00:33:59,060 --> 00:34:02,500 total unknowns. I don't know. The air traffic control system 470 00:34:02,500 --> 00:34:08,980 is huge. Stacks and stacks of documents that are out there and 471 00:34:08,980 --> 00:34:11,800 publicly available. Because so many systems interact with each 472 00:34:11,800 --> 00:34:15,160 other in weird ways. I can't understand all of this. It's a 473 00:34:15,180 --> 00:34:18,020 mess. These guys, I have serious respect for that any of 474 00:34:18,020 --> 00:34:23,580 this works at all. But things like, okay, so all these ground 475 00:34:23,580 --> 00:34:27,240 stations are networked together. Could I be sitting on the west 476 00:34:27,240 --> 00:34:31,140 coast and inject something that shows up on the east coast? I'm 477 00:34:31,140 --> 00:34:34,160 sitting on the west coast but my GPS that I'm injecting says east 478 00:34:34,160 --> 00:34:39,120 coast. I don't know. I'd like to find out. Honestly, has anyone 479 00:34:39,120 --> 00:34:43,260 actually sat down and fuzzed a 747? Or an air traffic control 480 00:34:43,260 --> 00:34:45,160 tower? There's data. There's data. There's data. There's data. 481 00:34:45,160 --> 00:34:48,140 There's data going in and out of there. Yeah, there's checksums 482 00:34:48,140 --> 00:34:49,960 and everything like that. But what happens when you just start 483 00:34:49,960 --> 00:34:54,420 spewing random weird crap at it? How does it deal with that? I 484 00:34:54,420 --> 00:34:58,280 don't know. We've got very mature networking protocols that 485 00:34:58,280 --> 00:35:04,580 still fail massively with basic fuzzing techniques. Is Chris 486 00:35:04,580 --> 00:35:08,820 Roberts in the audience? No? Okay. Chris Roberts, One World 487 00:35:08,820 --> 00:35:12,920 Labs. This man scares the hell out of me. Not just because he's 488 00:35:12,920 --> 00:35:15,140 in a kilt. I'm not going to lie to you. I'm not going to lie to 489 00:35:15,160 --> 00:35:20,500 you. His work, basically, he does stuff with, you know, the onboard 490 00:35:20,500 --> 00:35:25,380 Wi-Fi on a plane, breaking that and then finding an interconnection 491 00:35:25,380 --> 00:35:28,760 between that and the engine control system. So to where he's 492 00:35:28,760 --> 00:35:31,400 looking at the output of the Intellibus network for the engine 493 00:35:31,400 --> 00:35:38,160 that's outside his window while in flight. Look up his stuff. It 494 00:35:38,160 --> 00:35:42,620 is terrifying, the stuff that he has found. And then add all this 495 00:35:42,620 --> 00:35:45,140 ADSB stuff into it. I'm not going to lie to you. I'm not going to 496 00:35:45,160 --> 00:35:49,240 lie to you. From also from his work, how do you know that the 497 00:35:49,240 --> 00:35:53,440 chip level code that is being used in these implementations is 498 00:35:53,440 --> 00:35:56,520 actually what was originally submitted? A lot of this stuff 499 00:35:56,520 --> 00:36:00,040 is made in China. We're already finding situations where the code 500 00:36:00,040 --> 00:36:03,380 that's in the chip may not be exactly what was supposed to be 501 00:36:03,380 --> 00:36:07,420 there. Could this be used as a control channel? We now have data 502 00:36:07,420 --> 00:36:10,920 going in and out in a clear text fashion. If we have a 503 00:36:10,920 --> 00:36:14,780 particular, you know, change in the checksum or some, you know, 504 00:36:15,160 --> 00:36:17,860 patching in a certain way, could we now use this for controlling 505 00:36:17,860 --> 00:36:25,000 on board malware on a plane? You hope that the engineers, the FAA, 506 00:36:25,200 --> 00:36:28,820 DHS, everybody else, looked into these threats. But I actually 507 00:36:28,820 --> 00:36:31,020 had an interesting conversation yesterday where it was pointed 508 00:36:31,020 --> 00:36:35,400 out, they're safety engineers. They're trying to get a plane 509 00:36:35,400 --> 00:36:39,680 from A to B, operating under certain circumstances as safely 510 00:36:39,680 --> 00:36:43,540 as possible. Human life, you know, the material cost of the equipment. 511 00:36:45,160 --> 00:36:50,920 not security engineers. They're not thinking what if somebody decides to go do something 512 00:36:50,920 --> 00:36:55,580 completely random or horrible. What happens, okay, they're thinking, oh, if we fly through 513 00:36:55,580 --> 00:36:59,340 an area where there's some random interference, that's fine. But what about targeted, intelligent, 514 00:37:00,460 --> 00:37:07,240 slight manipulations of data? This isn't their normal operating thing. This is new to them. 515 00:37:07,580 --> 00:37:12,520 Not for us, though. We're sort of the opposite. They're safety engineers. We're security engineers. 516 00:37:12,520 --> 00:37:16,840 They're used to thinking about getting things safely and not thinking about security. We're used 517 00:37:16,840 --> 00:37:22,800 to thinking about security, definitely not safety. Says the guy with the bottle of Crystal Head 518 00:37:22,800 --> 00:37:37,300 here. So the FAA submitted their ADSB implementation idea to NIST, National Institute for Science 519 00:37:37,300 --> 00:37:42,500 and Technology, for security certification. Great. Cool. If somebody else wants to talk about 520 00:37:42,500 --> 00:37:49,380 independent verification, but in this one document I found, the FAA specifically assessed the 521 00:37:49,380 --> 00:37:54,640 vulnerability risk of ADSB broadcast messages being used to target air carrier aircraft. This 522 00:37:54,640 --> 00:37:59,840 assessment contains sensitive security information and is controlled under 49 CFR Parts one and 523 00:37:59,840 --> 00:38:07,540 blah, blah, blah. And its content is otherwise protected from public disclosure. It gets worse. 524 00:38:08,780 --> 00:38:12,260 Well, the agency cannot comment on the data in this study. It can't confirm the 525 00:38:12,500 --> 00:38:17,080 purposes of responding that the comments in this rule-making proceeding that using ADS-B data 526 00:38:17,080 --> 00:38:21,680 does not subject any aircraft to any increased risk compared to the risk that it is experienced 527 00:38:21,680 --> 00:38:33,160 today. This is comforting. Yes, we submitted it for security evaluation. We can't tell you if it 528 00:38:33,160 --> 00:38:39,720 was crap or not. What threats were they testing against? Did they think of everything? Maybe 529 00:38:39,720 --> 00:38:45,120 somebody in this room could think of something else that I haven't or that they haven't. Why 530 00:38:45,120 --> 00:38:54,140 not threats of tomorrow? So how do we mitigate some of this? Multi-lateration is an obvious 531 00:38:54,140 --> 00:38:59,560 one. Time differential between signals, you can approximate the location of where that signal is 532 00:38:59,560 --> 00:39:04,900 coming from. But if you're relying on this, then what's the point of putting GPS and everything on 533 00:39:04,900 --> 00:39:09,700 the plane so that they know where things are? You just nullified all the things that are 534 00:39:10,540 --> 00:39:16,760 coming from the plane. No indication that this is being used everywhere. What about if the data 535 00:39:16,760 --> 00:39:23,880 doesn't match? If I'm able to introduce, you know, have multiple locations and potentially spoof 536 00:39:23,880 --> 00:39:29,940 ADS-B or spoof the multi-lateration signal, if I'm saying that there are two planes, same tail 537 00:39:29,940 --> 00:39:35,000 number and everything like that at two different locations, how is the UI of the air traffic 538 00:39:35,000 --> 00:39:39,460 control system, you know, how does this represent it? 539 00:39:39,720 --> 00:39:43,520 What are the liabilities if I decide, oh, this one is probably fake, I'm just going to not show it. 540 00:39:44,120 --> 00:39:56,520 But it's the real one. The response to most inquiries I've seen are trust us. Yeah, no. Last 541 00:39:56,520 --> 00:40:03,300 time I ran into the language from that NIST test was RFID passports the U.S. was looking at 542 00:40:03,300 --> 00:40:08,800 implementing. That turned out well, didn't it? Yes, we submitted this to NIST but we can't tell you 543 00:40:08,800 --> 00:40:09,420 what the results were. 544 00:40:11,320 --> 00:40:16,340 I'm not trying to spread a bunch of FUD here. I'm trying to raise some awareness and 545 00:40:16,340 --> 00:40:22,100 pressure. I know there are people from the FAA in the audience at the moment. I want to work with 546 00:40:22,100 --> 00:40:27,400 them. You know, I want to find out that this stuff is safe. I fly home in a couple of days. I want 547 00:40:27,400 --> 00:40:33,200 to know that this is safe. I want to know what their procedures are. How do the air traffic 548 00:40:33,200 --> 00:40:39,120 controllers deal with weird crap? I have 50 extra planes on my display. What do I do? I don't 549 00:40:39,120 --> 00:40:39,200 know. 550 00:40:39,720 --> 00:40:41,120 I'm a little bit of a nerd. I'm just going to try to figure out what I'm doing. 551 00:40:41,120 --> 00:40:44,560 If I'm saying to a room of 2500 hackers that they are suddenly now interested in air traffic 552 00:40:44,560 --> 00:40:51,420 control systems, we'll elicit a response. And if that response is me getting arrested at least I'm 553 00:40:51,420 --> 00:40:58,520 going to have a very nice looking mug shot. A common response is also going to be, oh, but 554 00:40:58,520 --> 00:41:05,620 it's too expensive for the common man. A $20 USB TV adapter can be modified to do basic ADSB 555 00:41:05,620 --> 00:41:09,700 reception. Currently working with the NIST, I'm trying to figure out if there are any other things 556 00:41:09,700 --> 00:41:15,920 Dragorn trying to get him to implement ADSB in tracking with Kismet Nucor so we can go 557 00:41:15,920 --> 00:41:24,200 war driving for airplanes. I got word while in the air on route to Poland that Nick Foster 558 00:41:24,200 --> 00:41:29,620 actually implemented ADSB out through GNU radio. You can see we actually have a valid 559 00:41:29,620 --> 00:41:36,460 packets able to go out through GNU radio. The honeymoon is over. Exploit number one is 560 00:41:36,460 --> 00:41:43,420 here. We have the potential now to putting data into the air. Radio plot for modus extended 561 00:41:43,420 --> 00:41:51,400 squirter packet. He also raised his game and impressed the hell out of me. He basically took 562 00:41:51,400 --> 00:41:58,660 ADSB in on flight gear, the open source flight simulator. Populate basically had one radio 563 00:41:59,320 --> 00:42:05,740 receiving real world ADSB packets, populate the virtual world of the flight simulator, 564 00:42:06,660 --> 00:42:18,160 and also has another radio that outputs from your little Cessna out to the real world. So got a 565 00:42:18,160 --> 00:42:32,680 little video here. You can see on the my right, Google Earth display, that is the output from the 566 00:42:32,680 --> 00:42:36,440 real ADSB receiver, the real world tracking. The virtual world tracking is the real world tracking. 567 00:42:36,460 --> 00:42:37,180 The real world tracking is the real world tracking. So you can see the actual plane there and at the 568 00:42:37,180 --> 00:42:42,560 bottom is the ADSB data stream out. Now, this is done in very controlled conditions, basically 569 00:42:42,560 --> 00:42:47,440 dummy load. Two radios connected to each other. It wasn't actually put out into the air. But 570 00:42:48,260 --> 00:43:00,940 as you can see, so just to explain what's going on here. You see, okay, you've got real planes 571 00:43:00,940 --> 00:43:06,440 there, VDR, you know, 211 and everything. Those are the real flights. You can see that there's 572 00:43:06,880 --> 00:43:13,560 your mom is not the real flight. Your mom might be as big as a 573 00:43:13,560 --> 00:43:18,180 747, but that's not her. You see, it's got valid packets, 574 00:43:18,440 --> 00:43:23,800 valid information. And I can't tell if it's showing up on the 575 00:43:23,800 --> 00:43:27,660 displays or not. Okay, so it is. You can see the flight path as 576 00:43:27,660 --> 00:43:34,440 he's turning around there over the bay. So we're generating 577 00:43:34,440 --> 00:43:37,680 packets that if you put this in front of air traffic control, 578 00:43:38,300 --> 00:43:43,240 would show up on their display. Now, does anybody think that's a 579 00:43:43,240 --> 00:43:54,260 good idea? What is he doing? Okay, is he about to buzz the 580 00:43:54,260 --> 00:44:03,620 tower? Really? It's coming right for us! So if I was air 581 00:44:03,620 --> 00:44:04,420 traffic control right now, I would have to have a lot of 582 00:44:04,420 --> 00:44:07,760 time. How fast would I be running? 583 00:44:23,500 --> 00:44:26,900 Fortunately, all of this is done in a closed environment by 584 00:44:26,900 --> 00:44:34,360 trained professionals. But, yeah, you can kind of get the idea that 585 00:44:34,420 --> 00:44:41,160 this isn't a good thing. And if he pens around at the moment here, 586 00:44:42,620 --> 00:44:46,340 and you can actually see the flight path that it took. If you 587 00:44:46,340 --> 00:44:50,120 saw that on a radar scope, oh, my God. There you go. You can see 588 00:44:50,120 --> 00:44:58,960 he spun around and came around. All right. That show is over. 589 00:45:08,460 --> 00:45:15,500 Come on. Oh, there it is. Okay. So I have the capability of 590 00:45:16,160 --> 00:45:20,320 generating arbitrary packets. I basically prodded Nick a little 591 00:45:20,320 --> 00:45:24,600 bit about this. He thought to do it, you know, a weekend. Anybody 592 00:45:24,600 --> 00:45:28,940 can do this. All the major testing was done at 900 megahertz. I didn't do it. I was doing it for the 593 00:45:28,940 --> 00:45:36,260 band. It would not be difficult to adjust this. You can use UAT 594 00:45:36,260 --> 00:45:42,100 ADSB as well. Those guys who do this might not be so nice. There 595 00:45:42,100 --> 00:45:44,480 are other things in air traffic control that scare me. Tailored 596 00:45:44,480 --> 00:45:47,760 arrival. Where air traffic uploads a flight plan for 597 00:45:47,760 --> 00:45:51,160 landing to where they basically pilot receives it, pushes a 598 00:45:51,160 --> 00:45:55,320 button, plane pretty much lands itself. Apparently this is also 599 00:45:55,320 --> 00:45:59,700 unencrypted, unauthenticated. Haven't looked into it. I can't 600 00:45:59,700 --> 00:46:02,520 confirm. Don't call me on that. The air traffic control system 601 00:46:02,520 --> 00:46:07,080 is huge and complex. Reading about one system leads you into a 602 00:46:07,080 --> 00:46:10,940 whole bunch of others. It's all tightly integrated. This will be 603 00:46:10,940 --> 00:46:13,840 mandatory by 2020. This will be the primary method of air 604 00:46:13,840 --> 00:46:19,400 traffic control. It's already used all over the world. There 605 00:46:19,400 --> 00:46:22,280 is still time to develop countermeasures like not 606 00:46:22,280 --> 00:46:25,300 turning off primary radar. There is still time to develop 607 00:46:25,320 --> 00:46:29,160 countermeasures. Basically if anybody has a 747 or an air 608 00:46:29,160 --> 00:46:32,040 traffic control tower that we can borrow, let me know after the 609 00:46:32,040 --> 00:46:35,440 talk. I promise to return it in as good condition as I take it 610 00:46:35,440 --> 00:46:39,660 from you. But also if you have access just to the avionics, 611 00:46:39,880 --> 00:46:43,140 we'd love to actually test this stuff for real. We want to find 612 00:46:43,140 --> 00:46:47,420 out. There's some suggested reading. A few documents I found 613 00:46:47,420 --> 00:46:49,340 particularly interesting. There's a lot of information out 614 00:46:49,340 --> 00:46:54,380 there. And this is a very scary stuff to consider. Who is 615 00:46:54,380 --> 00:46:55,300 thinking about taking the bus home? Who is thinking about taking 616 00:46:55,320 --> 00:47:00,480 the bus home? We should be working on finding and solving 617 00:47:00,480 --> 00:47:05,160 these sort of problems. If guys like me can find this stuff, so 618 00:47:05,160 --> 00:47:08,420 can bad guys. Significant investment. Billions of 619 00:47:08,420 --> 00:47:12,000 dollars has already been invested into this system. I 620 00:47:12,000 --> 00:47:14,720 want to hear your comments. I want to hear your ideas. I want 621 00:47:14,720 --> 00:47:19,680 to work together and research this stuff. But wait, there's 622 00:47:19,680 --> 00:47:24,800 more. Nick, get up here. So this is Nick Foster. This is the 623 00:47:25,320 --> 00:47:35,260 guy behind the video. This afternoon he was telling me 624 00:47:35,260 --> 00:47:40,040 about something he just figured out. So I figured it out after a 625 00:47:40,040 --> 00:47:44,000 night of heavy drinking last night. First of all, just to say 626 00:47:44,000 --> 00:47:46,860 this is like shooting fish in a barrel. If you're not scared 627 00:47:46,860 --> 00:47:50,460 about this, you should be. This is really easy to do without 628 00:47:50,460 --> 00:47:54,860 encryption, without any thought of security in the protocol. It's 629 00:47:54,860 --> 00:47:58,140 just not hard. So there's a collision avoidance system 630 00:47:58,140 --> 00:48:00,940 called TCAS that predates ADSB. It's called traffic collision 631 00:48:00,940 --> 00:48:04,080 avoidance system. It's how airplanes keep themselves away 632 00:48:04,080 --> 00:48:07,480 from each other. It operates on the same mode S data link that 633 00:48:07,480 --> 00:48:12,660 ADSB uses. ADSB doesn't supplant it. It works with TCAS. 634 00:48:12,680 --> 00:48:16,000 TCAS is how airplanes avoid hitting each other. ADSB is how 635 00:48:16,000 --> 00:48:19,460 airplanes know where each other are outside of that. So it 636 00:48:19,460 --> 00:48:23,260 replies on this cooperative ranging system. It's like a ping 637 00:48:23,260 --> 00:48:23,620 pong. 638 00:48:25,260 --> 00:48:29,980 And it's slave directly to the pilot. The pilot can see TCAS 639 00:48:29,980 --> 00:48:33,980 reports. If there's a plane nearby that TCAS says you should 640 00:48:33,980 --> 00:48:38,060 watch out for, it's going to show up on the pilot screen. If 641 00:48:38,060 --> 00:48:42,300 it can be spoofed, this is bad. Now the pilot is seeing false 642 00:48:42,300 --> 00:48:47,200 information. It gets worse. On Airbus and Eurocopter aircraft, 643 00:48:47,460 --> 00:48:51,020 it's actually tied into the autopilot. So if the flight 644 00:48:51,020 --> 00:48:54,260 director is turned on and TCAS says, hey, somebody is coming up 645 00:48:54,260 --> 00:48:57,640 close to you, the autopilot is going to take corrective action. 646 00:49:01,760 --> 00:49:08,100 Really. This is bad. So TCAS in normal operation, the 647 00:49:08,100 --> 00:49:11,480 interrogator sends out a ping. It gets a reply back. It does a 648 00:49:11,480 --> 00:49:14,460 little bit of math. It figures out how far the plane is. What's 649 00:49:14,460 --> 00:49:17,680 key to this is that there's a fixed 128 microsecond turnaround 650 00:49:17,680 --> 00:49:21,060 time that TCAS has in the protocol that gives the 651 00:49:21,060 --> 00:49:23,820 electronics time to gather a response and then transmit it. 652 00:49:24,260 --> 00:49:28,440 Well, I don't need a 128 microseconds. What if you're 653 00:49:28,440 --> 00:49:37,240 not cooperative? If you send out a reply sooner, if you can get 654 00:49:37,240 --> 00:49:41,100 a reply out sooner, say you can do it in 70 microseconds, now 655 00:49:41,100 --> 00:49:45,580 you can fake your distance from the aircraft much closer. You 656 00:49:45,580 --> 00:49:48,460 can create essentially an arbitrary range to the aircraft. 657 00:49:49,720 --> 00:49:53,680 Altitude is encoded in the reply. So you can create a synthetic, 658 00:49:54,260 --> 00:50:00,340 altitude that happens to match the aircraft's altitude. That's it. You can create a range 659 00:50:00,340 --> 00:50:05,840 track, a collision course between two aircraft, one of which doesn't exist, that's slaved into 660 00:50:05,840 --> 00:50:12,660 the autopilot. So that's what we just figured out last night. I'll turn it back to you. 661 00:50:13,640 --> 00:50:24,180 Thank you. So do we have time for questions? No. Okay. I think I know who you are. So 662 00:50:24,260 --> 00:50:31,700 no? All right. So apparently Kaminsky actually supplanted me out of the Q&A room. So it's 663 00:50:31,700 --> 00:50:37,160 actually going to be in the hallway outside the Q&A rooms. So out this door, down the hall, 664 00:50:37,320 --> 00:50:43,220 left, down there, look for me. I'll hang out as long as it takes to answer questions. Nick 665 00:50:43,220 --> 00:50:49,240 will be here. Thank you, Nick. Thank you, the EFF. Please talk to us about this stuff. 666 00:50:49,780 --> 00:50:50,680 Communicate. Thank you. 667 00:50:54,260 --> 00:50:55,180 Thank you, guys.