[00:00.000 --> 00:07.360] Thanks and welcome to my talk on analyzing the security of satellite-based air traffic control. [00:07.360 --> 00:13.560] My name is Martin Strohmeyer. I work at the cyber defense campus, which is part of the [00:14.080 --> 00:17.700] procurement agency and part of the Swiss Department of Defense. [00:19.000 --> 00:28.100] So DEF CON and other conferences have a long range of talks about attacks on air traffic control. [00:28.100 --> 00:32.180] It's obviously an interesting critical infrastructure. [00:34.020 --> 00:39.020] If you are able to attack something, it could have potentially catastrophic consequences. [00:39.500 --> 00:46.540] This is an overview of typical technologies, communications, protocols that are being used by [00:48.460 --> 00:52.700] commercial aircraft and other aircraft in flight. [00:53.340 --> 01:02.640] And basically, since around the early 2010s, a lot of practical attacks on pretty much all of these [01:03.540 --> 01:07.720] communication technologies in aviation have been shown and demonstrated. [01:08.540 --> 01:14.900] The principle is always the same. You examine these standards, aviation standards, they are [01:14.900 --> 01:21.820] known, they're available. There's no security, no authentication in them. You implement them, [01:21.820 --> 01:28.620] you build a receiver. These might also be useful for enthusiasts, plane spotters, [01:28.620 --> 01:35.180] that stuff powers flight radar or flight aware. But from a security perspective, [01:35.180 --> 01:40.180] if you have a receiver, it's also not difficult to implement a sender or a transmitter using [01:40.180 --> 01:45.860] software defined radios. And when you do that, you can do security analysis and you profit. [01:45.860 --> 01:51.100] And that's something that has been done for all of these technologies, whether it's aircraft, [01:51.100 --> 01:59.560] aircraft ground, or also GPS is well known. And since they all have no security built in, [01:59.560 --> 02:08.700] it's not difficult to attack them. It's quite obvious. But a few technologies nicely fitting [02:08.700 --> 02:16.300] in with the aerospace topic have come up over the past decade or so, where aircraft are talking to [02:16.300 --> 02:21.780] satellites and kind of trying to replace some of these technologies or at least enhance them. [02:21.780 --> 02:29.440] So that's what this talk will be about. Just a quick teaser. My colleagues will have a talk [02:29.440 --> 02:36.360] tomorrow on Creative Stage 2, attacking the collision avoidance system. So that was one [02:36.360 --> 02:41.960] of the last technologies that hadn't been demonstrated from this whole overview. So [02:42.600 --> 02:50.540] tomorrow, 14-15, that's your opportunity to see a real attack on this as well. [02:50.900 --> 02:55.080] But this talk is about space-based air traffic control. So what do we understand [02:55.880 --> 03:02.360] under that? There's two different technologies, actually. One I'll touch on briefly and one more [03:02.360 --> 03:09.860] in detail. First one is satellite ADS-B. And the second one is the so-called ADS-C, ADS contract. [03:10.740 --> 03:19.980] So let's look at that. Satellite ADS-B. You all probably have heard of these ADS-B attacks. [03:19.980 --> 03:26.160] There have been talks since 2010. People like RenderMan have had main stage talks [03:26.160 --> 03:32.240] demonstrating the problem here. It's well known to be vulnerable. The terrestrial [03:32.880 --> 03:40.180] transponder technology, aircraft sending data to the ground, trivial to receive, [03:40.180 --> 03:47.900] send ghost aircraft, everything's possible. The problem is space-based ADS-B is essentially just [03:47.900 --> 03:54.440] the same. Some companies have built constellations in low Earth orbit and they're simply picking up [03:54.440 --> 04:03.180] these same terrestrial signals and then giving them to navigation service providers to air traffic [04:03.180 --> 04:08.940] control. That is obviously helpful where you don't have terrestrial receivers, so over the oceans or [04:08.940 --> 04:15.280] in mountainous areas. One of these providers, Aerion, also on the homepage, they say, yeah, [04:15.280 --> 04:22.460] it's just ADS-B. There's nothing else here. What they, however, also said when they went [04:25.580 --> 04:35.760] widely public with it, said, OK, we're 485 miles up in space, so you can't attack that. It's not [04:35.760 --> 04:41.700] like somebody is attacking that signal. They could attack GPS, which they can, and obviously is a [04:41.700 --> 04:46.380] widespread problem, in particular over the past year now. But they're not going to attack the [04:46.380 --> 04:53.980] actual terrestrial ADS-B signal. 500 miles up in space, too far away. And at the time, we already [04:53.980 --> 04:59.680] thought, honestly, there's bullshit. It's just an engineering problem. You need more power. You [04:59.680 --> 05:07.120] can do just the same. They pick up the signals from aircraft flying 30,000 feet, 10 kilometers. [05:08.560 --> 05:14.740] They pick that up in space, right? So what's 10 kilometers more ascending from the ground? It's [05:14.740 --> 05:22.520] not a problem, quite obviously. And yes, space is quite obviously not inherently secure. We've seen [05:22.520 --> 05:29.460] this last year, latest last year here at Hackersat. Of course, you can communicate with satellites [05:29.460 --> 05:41.000] in two way and attack them. I think there's no doubt about this. And yeah, back then, at least [05:41.000 --> 05:48.360] we postulated a theoretic attack. We didn't actually send to their satellites. Would not be [05:48.360 --> 05:54.380] legal. But we said, hey, here, these are kind of the requirements that you have to think about [05:55.920 --> 06:01.900] relation, position relation to the aircraft and the satellites. And then you can simply [06:02.900 --> 06:06.960] send ghost aircraft also to these satellites. Not a problem. [06:08.300 --> 06:14.500] So very much possible. We haven't done it in practice for regulatory reasons, but [06:16.780 --> 06:22.200] it's certainly not secure. There's no reason to believe so. That brings me to the second [06:22.200 --> 06:29.720] technology, ADS-C, which is much less well known, I would say. It's been developed [06:30.740 --> 06:37.900] already late 90s, but only become quite popular over the past five or 10 years. Also in the wake [06:37.900 --> 06:46.500] of the MH-A70 incident, tracking aircraft over oceans has become quite a popular topic. [06:47.360 --> 06:53.900] So what does ADS-C or full name Automatic Dependent Surveillance contract actually do? [06:54.040 --> 07:00.620] Well, it picks up aircraft information and sends it to air traffic service units, [07:00.620 --> 07:06.700] they call it, which is basically ground stations. There are dozens or even hundreds around the world. [07:06.700 --> 07:13.360] And this information includes aircraft position, altitude, speed, navigational intent, [07:13.360 --> 07:18.300] metrological data. Of course, this is all very useful for air traffic control, air traffic [07:18.300 --> 07:23.900] surveillance, route monitoring, in particular, if you're over the Atlantic or Pacific and have [07:23.900 --> 07:31.100] no updates from your aircraft and where they are. This is roughly the setup. [07:32.800 --> 07:38.920] Aircraft gets their position, of course, also from GNSS, GPS services, [07:38.920 --> 07:45.640] and then connects to different types of satellites, typically geostationary satellites from [07:45.640 --> 07:52.640] Enmasat, but it can also be actually LEO Constellations also offer these services. [07:52.840 --> 07:58.920] And then the satellites forward the data to the ground, and there it's being routed to the [07:59.400 --> 08:08.140] navigation service provider who require that content. There's also VHF, HF version of all of [08:08.140 --> 08:18.080] this, but that's not what we're looking at here. What's the purpose? I think I alluded to it. [08:18.220 --> 08:24.600] Goal is really to enable aircraft monitoring in very remote areas. We don't have terrestrial [08:24.600 --> 08:29.720] surveillance of aircraft. If you do that, if you know where the aircraft are, [08:29.720 --> 08:37.720] rather than just roughly estimating from, you know, leaving US mainland towards Europe, [08:37.720 --> 08:42.740] after two hours, you might not really know where they are anymore. If you know where they are, [08:42.740 --> 08:47.920] you can more efficiently utilize the airspace because you can minimize separation between [08:47.920 --> 08:55.320] different aircraft. And the second effect, you reduce the reliance on traditional voice [08:55.320 --> 09:01.480] communication between pilots and controllers. These channels are quite congested, quite busy, [09:01.480 --> 09:07.600] and it can, like this, if you put a lot of the data on these digital satellite channels, [09:07.600 --> 09:16.340] you can use these for more urgent correspondence. With roughly comparison, this is a image from [09:16.340 --> 09:25.780] ASB exchange. And it shows roughly where you can have crowdsourced terrestrial reception [09:25.780 --> 09:36.900] of aircraft signals. So by and large, that's where a lot of people live. And also a lot of, [09:36.900 --> 09:42.600] let's say, more wealthy people live who can put up receivers on the ground and feed it [09:42.600 --> 09:50.740] to these systems. All of the red areas, you will never have any reception, any surveillance of [09:50.740 --> 09:58.740] aircraft. So if we overlay this with ADC coverage, we can see that this sort of satellite coverage [09:59.500 --> 10:07.080] fills in a lot of the red gaps, certainly Pacific, Atlantic, even Indian Ocean. And [10:07.900 --> 10:11.120] also partly you can see over Africa and some other [10:11.880 --> 10:17.320] terrestrial areas. So how does ADC actually work? [10:19.940 --> 10:23.740] Let's look first at uplink and then downlink messages. [10:24.620 --> 10:31.000] Basically, edge of a controller, they initiate the connection always. So they request a certain [10:31.000 --> 10:39.200] aircraft that's flying to provide them with a so-called contract that can either be periodic. [10:39.780 --> 10:45.060] With that sort of periodic contract, you maybe get regular updates every 10 minutes or so [10:45.060 --> 10:50.700] of position, altitude and the other information they want. Or they can ask for certain events. [10:51.300 --> 10:59.060] So for example, when they want a waypoint change, so an aircraft is flying towards a [10:59.060 --> 11:04.400] certain waypoint and they know that and they can request a change of that waypoint through these [11:04.400 --> 11:14.160] contracts. That's roughly how the message is looking, but we won't get into detail here. [11:15.080 --> 11:19.680] And then we have the probably more interesting downlink part. So this is where the aircraft [11:20.660 --> 11:28.740] answers with ADC reports, which go to the air traffic control service provider. The aircraft [11:28.740 --> 11:36.260] sends, as I said, for example, periodic updates, position everything every 10 minutes, or in these [11:36.260 --> 11:45.700] events, if change events cases, it sends certain reports regarding that. Again, that's what the [11:45.700 --> 11:51.100] messages look like. They will include position, latitude, longitude, altitude, some timestamp, [11:51.100 --> 11:56.060] and then depending on the type of the report, it will include some more information. [11:57.300 --> 12:04.840] So why is all that important? I slightly alluded to this already. If we don't have this kind of [12:04.840 --> 12:11.060] new modern technology, the air traffic controllers will have to rely on pre-computed aircraft [12:11.060 --> 12:18.580] trajectories, roughly guesstimating where the aircraft is, which is not so great for surveillance. [12:18.580 --> 12:23.740] And they will use voice communication, just the same finding out where the aircraft is and what [12:23.740 --> 12:32.100] they're doing, in particular in remote areas, using HF and the likes, and that's not the most precise [12:32.100 --> 12:38.460] technology or the most available one. So in short, ADC is very crucial for aircraft monitoring in [12:38.460 --> 12:44.100] these areas. It's being rolled out, as we've seen on the on the map, quite a lot of commercial [12:44.100 --> 12:51.500] aircraft have it now and use it. And in contrast to many of the other technologies that were in [12:51.500 --> 12:58.360] the earlier slides, this hasn't been studied at all. Not in terms of use cases, really, in the [12:58.360 --> 13:04.900] scientific community, but also in the security community in terms of, well, what can we do with [13:04.900 --> 13:14.520] it? What can we do against it? So what about security? There is a paper on this, on what I'm [13:14.520 --> 13:22.220] going to say. So we talked about this at this year's SpaceX workshop already. But if you want to [13:22.540 --> 13:30.080] refer it in written form, you can look it up. But I cover most of this in the following slides. [13:30.500 --> 13:37.700] So that's our system model and our threat model. Basically, we have the satellite in the middle, [13:37.700 --> 13:44.040] we have the ground earth station, as they call it, and we have the aircraft earth station, which [13:44.040 --> 13:49.500] might sound a bit weird, but, you know, aircraft is still on the earth while a satellite is not. [13:49.500 --> 13:55.720] So that's why they call it that way. Different frequencies that we have to look at. So the [13:55.720 --> 14:02.080] aircraft uses the 1.6 gigahertz frequency to talk to the satellite. And then there's a different up [14:02.080 --> 14:08.280] and down in frequency from the satellite to the ground station, 3.6 gigahertz and 6.5 gigahertz. [14:08.680 --> 14:13.020] And we have three different types of attackers that we consider. The first one is a passive [14:13.020 --> 14:20.860] attacker, you could also call it an eavesdropper. The eavesdropper simply needs to be in range of [14:20.860 --> 14:27.280] the whole satellite beam of the geostationary satellite. So that's not very complicated. [14:28.580 --> 14:35.240] We have realized that at least in Europe, you need to be in a 5g free zone to listen to the [14:35.240 --> 14:43.000] downlink because the 3.6 gigahertz area frequency is exactly at least in Europe, the 5g frequency [14:44.140 --> 14:50.080] or one of the 5g frequencies. And if you have one of these transmitters, ground stations nearby, [14:50.080 --> 14:54.220] you will not be able to receive the very weak satellite signals. [14:54.240 --> 14:57.520] So that was an issue that we had to contend with. [14:58.860 --> 15:03.760] Then we have two active attackers. One is attacking the downlink. So basically, [15:03.760 --> 15:10.980] transmitting the same data as we see on the downlink towards the earth station. And an uplink [15:10.980 --> 15:16.880] attacker. So somebody who sends to the satellite, which is more complicated, absolutely, you need [15:16.880 --> 15:24.020] more power. And we've been speaking to some experts, depending on the satellite setup, [15:24.940 --> 15:31.940] there may be some beamforming going on. So you might, it might not be sufficient to stay in [15:32.740 --> 15:37.460] just anywhere in the satellite beam. You may also need to be close to a ground station, [15:37.460 --> 15:44.040] depending on the satellite setup. So let's go through it one by one. [15:44.040 --> 15:50.260] What can we do with eavesdropping on ADC messages? The content we've seen is mostly position, [15:50.260 --> 15:57.200] waypoints. There's some meta information such as the aircraft ID, some identifiers. [15:57.200 --> 16:06.720] And mostly this is useful for reconnaissance on aircraft. So you know where they are, [16:06.720 --> 16:13.700] you know what they sent, you know where they're going. That is quite nice. It can be used for [16:14.320 --> 16:20.540] attacks on aircraft, also on other protocols, or for active attacks on ADC itself. [16:20.780 --> 16:25.780] We can link these identifiers to databases that are available online. [16:26.720 --> 16:32.280] And then from there, you may imagine a lot of privacy violations. I'm sure you've seen [16:32.280 --> 16:38.800] all the kerfuffle about people tracking Elon Musk or Taylor Swift's aircraft, right? [16:39.200 --> 16:44.500] If you haven't, then I can recommend my talk at The Village last year. [16:44.760 --> 16:49.580] I think it's just been put online last week, so you can find it on YouTube. [16:51.700 --> 16:59.640] So let's move on towards the active attacks. First on the uplink. And here, [17:00.280 --> 17:06.140] mostly what you can do is different sorts of denial of service attacks. So if we look at the [17:06.140 --> 17:14.000] protocol here, the aircraft locks on, it will be confirmed, it will be acknowledged. And of course, [17:14.000 --> 17:22.420] if you attack this handshake, then you might simply be able to prevent the lock on, [17:22.420 --> 17:30.260] and then there is no ADC connection. That's a denial of service of ADC. You have other [17:30.880 --> 17:36.400] technologies available, of course, so it's not immediately safety relevant at all. [17:36.420 --> 17:43.600] But it's certainly an attack. And there are several places in the protocol where you can do [17:43.600 --> 17:51.540] this. On the downlink end, it gets a bit more interesting. Here, you can do spoofing of aircraft [17:51.540 --> 18:02.860] positions towards the air traffic control provider. What you can't do, just to preface this, [18:02.860 --> 18:10.580] is to inject ghost aircraft. Why? Because as we've seen earlier, the air traffic controller [18:10.580 --> 18:17.500] always initiates the connection to an aircraft. So they will do that towards an aircraft they [18:17.500 --> 18:25.540] know is already flying. And if they get a response, okay, great. But if they get a response from an [18:25.540 --> 18:30.300] aircraft they haven't initiated a connection with, it will just be discarded and ignored. [18:30.620 --> 18:35.760] If, however, they already have a connection, then it's absolutely possible to send different [18:35.760 --> 18:41.440] positions than the one from the aircraft. And we've illustrated this here with our own setups. [18:41.480 --> 18:49.200] So on the left, we have real aircraft positions that we received. And you can just send, you know, [18:49.200 --> 18:54.820] for the same aircraft, 10 positions clustering together, and it would be displayed this way. [18:56.060 --> 19:02.100] Likewise, you can flood ground stations with emergency mode messages from basically all [19:02.100 --> 19:07.300] the existing aircraft that they have a contract with. That's the picture of the flight management [19:07.300 --> 19:13.160] system here. That's where the pilot can put this on. And then of course, they will be flagged with [19:13.160 --> 19:21.180] the edge of your controller and get priority, get certain routines set up. And here you can [19:21.180 --> 19:26.780] basically do this for all the aircraft at the same time, which would again be causing some chaos [19:26.780 --> 19:35.320] and some denial of service. We've done some real world evaluation as far as that is legally [19:35.320 --> 19:43.020] possible. That's our receiver setup. So we've both set up downlink and uplink receivers. [19:44.740 --> 19:50.780] The pipelines for the receivers are available online on GitHub, [19:50.780 --> 19:57.140] having a later slide. But mostly you can download it, put it together with your [19:57.140 --> 20:01.580] software defined radios and antennas. Then you have to look, follow tutorials, [20:01.580 --> 20:07.440] look at the channels, and you can receive the data. You have to look, check also which [20:07.440 --> 20:12.460] satellite is in your area. So this is the InMarsat coverage of the [20:13.980 --> 20:19.140] geo satellites. So for us, it would be the AlphaSat. If we look at it in Europe, [20:19.140 --> 20:23.960] in the US, you would get different satellites and their aircraft connections. [20:25.260 --> 20:31.220] That's the pipeline, the setup. Definitely credit to all these people who've written the [20:31.900 --> 20:40.080] super interesting, super useful receiver software, SDR receiver, Jero, and a lot of tutorials. [20:40.340 --> 20:45.400] You set the whole thing up, save the data, and analyze it. That's what we did. [20:45.400 --> 20:51.980] That's how these setups look like. The uplink, much easier, as you see, can be a super small [20:51.980 --> 21:00.160] antenna on the left. For the downlink, you need something in the eight feet dish size. So [21:02.040 --> 21:07.560] your house might be, you might have to have a decent sized garden for this. [21:08.400 --> 21:14.180] Some data insights. We just looked at this for a few weeks, collected a lot of messages to see [21:14.180 --> 21:22.320] the black points, which are the positions here. 2,500 aircraft communicating with 50, 60 ground [21:22.320 --> 21:28.260] stations. If you want to see more on this, other people are collecting the data as well. So tbg [21:28.260 --> 21:38.280] airframes.io, you always get the last two days. These are typical routes that you can follow [21:38.280 --> 21:46.480] with that setup. Then, as I've mentioned, we arrested, we built a transmitter, and it works. [21:46.620 --> 21:52.240] It's straightforward student work, building a transmitter from a receiver, from all of these [21:54.620 --> 22:02.160] existing SDR implementations. We tested it. It's fairly binary. We set up our own ground station. [22:02.160 --> 22:09.160] We tested the transmitter. It can generate arbitrary messages on ADS-C, including all [22:09.160 --> 22:15.600] of the sub layers. So we injected these messages into our dish, into our ground stations. [22:16.980 --> 22:23.940] And lo and behold, it works. So if you have a receiver software, ADS-C, you can simply [22:23.940 --> 22:30.900] inject any legitimately looking message, and you cannot tell it apart from the messages that we [22:30.900 --> 22:39.200] get from an aircraft. That brings me to the conclusion of my talk today. I hope I could [22:39.200 --> 22:45.820] explain that satellite edge of control certainly helps increase airspace efficiency in many areas. [22:45.820 --> 22:49.580] Unfortunately, security was never a concern. There's no authentication, [22:49.580 --> 22:56.480] which is as problematic in space as on the ground. Passive attackers can eavesdrop and [22:57.200 --> 23:03.620] follow aircraft, do whatever they might find interesting with it. [23:03.620 --> 23:08.180] And you can follow a lot of aircraft just with a single receiver, which is nice. [23:08.960 --> 23:15.140] Active attackers can inject signals and disrupt air traffic control to a certain extent. [23:15.600 --> 23:21.900] And the resources certainly are quite straightforward or trivial. So it's [23:21.900 --> 23:28.160] basically a master's thesis here. A student can do this and set up costs for [23:28.780 --> 23:33.380] the transmitters are a few hundred euros, so not a problem. [23:34.180 --> 23:41.320] That's it for me. Just another teaser. If you're interested in injection of [23:42.500 --> 23:50.380] signals into satellite dishes, there's also a talk on the DEFCON main stage tomorrow, [23:50.380 --> 23:56.520] track three, breaking the beam at 2.15. And next week at USENET security, [23:56.520 --> 24:01.800] the paper is online under this link. So just I hope I could do this as well. Thank you.