WEBVTT

00:00.610 --> 00:01.620
Hello, everyone.

00:01.620 --> 00:04.100
Thank you so much for coming to my talk today.

00:04.100 --> 00:14.130
Today I'll be speaking a little bit about ADS-B security and a personal project I've worked on on the intersection of aid aviation and signals intelligence called Flycatcher.

00:15.700 --> 00:19.320
So a quick overview of the device I created.

00:19.320 --> 00:28.040
It's called Flycatcher and it's made for effective ADS-B monitoring and detecting foreign instances of aircraft spoofing.

00:28.780 --> 00:31.120
It's low cost and reliable.

00:31.120 --> 00:38.960
It's created using the Raspberry Pi and it's compatible with multiple software-defined radio signal sources.

00:39.100 --> 00:48.960
And I created my own convolutional neural network that parses ADS-B inputs in order to detect for reliable and unreliable aircraft signals.

00:49.620 --> 00:51.900
A little bit about my background.

00:51.900 --> 01:06.120
I'm still upstarting in my cybersecurity field, but I've been a software developer for about a decade and I've been focusing on aerospace security for the past few years with an emphasis on aviation due to my piloting experience.

01:07.500 --> 01:10.760
And a little bit of recap on what ADS-B is.

01:10.760 --> 01:19.040
It stands for Automatic Dependent Surveillance Broadcast and it's a mandated technology for performing surveillance and signals intelligence on airplanes.

01:19.480 --> 01:26.300
And if we break the acronym down, it's automatic, meaning it doesn't require any manual input from the pilot itself.

01:26.300 --> 01:33.620
It's dependent, meaning that it requires GPS signals from satellites in order to transmit the aircraft's information and positioning.

01:34.400 --> 01:46.520
It's meant for surveillance, so it contains complete comprehensive information about the data of the aircraft transmitted itself, such as its airspeed, positioning, altitude, and so forth.

01:46.520 --> 02:02.040
And lastly, it continuously beacons out and broadcasts data, allowing for ground-based ATC or other pilots to receive that information in order to triangulate where the aircraft is positioned in the sky.

02:03.300 --> 02:08.620
So here's an imagery conceptual overview of how ADS-B works.

02:08.620 --> 02:25.500
All ADS-B signals are derived from the Global Navigational Satellite System, which provides positioning aircraft, positioning information to the aircraft itself, which is then beaconed out via the ADS-B out hardware components internally on the airplane.

02:25.500 --> 02:40.240
And once that information is beaconed out via packets on the 1090 megahertz protocol, it can be received by other airplanes alongside ground-based receivers and antennas alongside air traffic control in order for those receivers to figure out where the airplane is positioned.

02:43.140 --> 02:50.100
So this technology works using three core components that allow for ADS-B to be broadcasted on airplanes.

02:50.100 --> 02:55.160
There's the GPS receiver that receives the positioning information from the satellites themselves.

02:55.160 --> 03:02.020
And then the ADS-B packets are transmitted via the transponder on the plane, which is required on all planes.

03:02.020 --> 03:08.280
And it typically uses the MOD-S protocol in order to send comprehensive data about the plane itself.

03:08.560 --> 03:18.140
And internally on the plane, it has an ADS-B in, allowing for continuous monitoring by the pilots themselves of other air traffic in the vicinity.

03:21.200 --> 03:29.540
Although ADS-B is relied on by a wide range of airplanes and pilots worldwide, it has some core vulnerabilities.

03:29.780 --> 03:32.540
It is unauthenticated and unencrypted.

03:32.540 --> 03:36.160
Unauthenticated meaning that there is no verification of the transmission.

03:36.160 --> 03:42.900
So any ground-based hacker can transmit ADS-B packets and it'll automatically be received as a packet.

03:42.900 --> 03:53.380
There's no amount of verification alongside its unencrypted nature, making it transparent to anyone who tunes into that frequency.

03:54.880 --> 04:01.580
This reveals a lot of attack vectors, especially on the communications end.

04:01.880 --> 04:07.780
The four core ones are jamming, spoofing, replay attacks, and message injection.

04:07.780 --> 04:14.820
Jamming is when a ground-based transmitter can flood the ADS-B frequency with a bunch of garbled data.

04:14.820 --> 04:23.620
There's also spoofing, where it's more of a selective based jamming attack, where you can custom fabricate data packets and then transmit it.

04:23.620 --> 04:33.340
This can effectively create something called a ghost plane, where a ghost airplane would show up and pop up on the ADS-B feed that isn't really a plane itself.

04:33.340 --> 04:39.220
There's replay attacks, where you capture ADS-B packets from at an earlier time and then replay it.

04:39.220 --> 04:45.280
So you're effectively creating a duplicate airplane that is then transmitted and then received.

04:45.800 --> 04:58.400
And then there's also message injection, where you play around with the ADS-B packets individually themselves in order to mess with specific telemetry, like the altitude, airspace, airspeed, positioning, and so forth.

04:58.740 --> 05:05.640
The one I chose to focus on for this project is spoofing, because I enjoyed its customized nature.

05:05.720 --> 05:16.080
A lot of spoofing can be detected using artificial intelligence, and I wanted to pursue that kind of modality for detecting spoofed airplanes for this project.

05:17.880 --> 05:31.220
So how spoofing on ADS-B works is that a ground-based hacker can transmit ghost aircraft into the sky by creating custom-fabricated packets that mimic the ADS-B protocol.

05:31.320 --> 05:38.400
And these spoofed airplanes can be tracked by other airplanes in the sky alongside ground-based receivers.

05:40.200 --> 05:45.640
So I went through a four-step build process as I was constructing this device.

05:45.640 --> 05:53.920
Firstly, I set up a ADS-B reception ground station using four components that I'll be outlining later.

05:53.920 --> 05:58.980
I went about constructing a device so it was portable and I could stow it on the back of an airplane.

05:59.120 --> 06:08.280
Then I went about training a deep neural network in order to detect for instances of aircraft spoofing.

06:08.280 --> 06:22.200
And then lastly, I stowed the device itself on the back of a sport cruiser and flew it around the South Bay in order to get access to data in order to train the artificial intelligence machine learning model that I created.

06:24.400 --> 06:33.440
So one thing I wanted to mention is there's a wide range of credible data sources in order to get access to ADS-B data that you can actually access right now.

06:33.440 --> 06:36.780
There's ADS-B Exchange, FlightAware, ADS-B Hub.

06:36.780 --> 06:42.520
For this project, I wanted to go about manually getting these transmitted signals.

06:42.520 --> 06:46.180
So I set up my own ADS-B reception ground station.

06:46.180 --> 07:03.460
This consisted of a FlightAware Pro Stick Plus SDR as my software-defined radio option in order to get specialized ADS-B signals, which relies on the RTL2832U chipset, which is really configurable with a lot of dumb 1090 decoders.

07:03.460 --> 07:20.760
I used a 1090 megahertz rubber ducky antenna for a cheap and reliable setup, the Raspberry Pi in order to analyze the ADS-B packets alongside the FlightAware GUI display in order to have a visual output of the ADS-B display data I was getting.

07:22.680 --> 07:31.880
So once you're able to receive the ADS-B signals that are propagated on the 1090 megahertz frequency, you need to go about decoding these signals.

07:32.160 --> 07:36.680
And the signals I chose to decode were the ones transmitted on the mode S.

07:36.680 --> 07:38.660
There's different modes of ADS-B.

07:38.660 --> 07:40.500
There's A, C, and S.

07:40.500 --> 07:47.740
S is the most comprehensive of all the modes and contains advanced mode with comprehensive data about the aircraft itself.

07:48.400 --> 07:53.020
And on the bottom is a mesh structure breakdown of ADS-B packets.

07:53.020 --> 07:59.220
You can see it starts with the first few bits outlining the downlink format.

07:59.220 --> 08:15.740
There's the transponder capability, the ICAO designation, which all aircraft has its own ICAO identifier to identify it alongside its message taking up the 33 to 88 bit sequence alongside with a parity ID appended to the end of it.

08:18.130 --> 08:24.130
So the way I integrated 1090 was I embedded it directly on the Raspberry Pi itself.

08:24.130 --> 08:36.990
And as soon as the 1090 megahertz ADS-B antenna was able to retrieve the signals, it fed it through the DUM1090 decoder software protocol, which you can download and install directly onto the Pi.

08:37.030 --> 08:43.490
And then it creates a JSON output, which you can parse and visualize on a wide range of GUI sources.

08:45.890 --> 08:52.630
I also wanted to add some sort of plotting and visualization for both my ground station and the device itself.

08:52.630 --> 09:04.390
So once the JSON output was tabulated by the DUM1090 decoder, I fed it into the FlightAware visualization dashboard in order to see the live ADS-B broadcasts.

09:06.720 --> 09:25.800
Once I was able to get a sufficient ground station running and it was able to pick up some sort of signals, I wanted to convert it into a device so I could make it portable and have it bestowed on the back of an airplane in order to get access to more comprehensive data in a wide range of locations.

09:25.800 --> 09:29.460
Here's a build outline of materials that I used.

09:29.460 --> 09:41.880
I used the Raspberry Pi 3B, a custom case enclosure alongside a TFT display case on top alongside my 1090 megahertz rubber ducky antenna.

09:43.620 --> 09:46.660
The final build looks something like that.

09:46.660 --> 09:55.500
It was good because it had a battery case attached to the bottom of it, making it so I could use it wherever I wanted to.

09:55.500 --> 10:00.520
It was highly portable, it didn't take up that much space, and it was a durable design.

10:02.640 --> 10:12.240
So once the device was constructed, I went about architecting the algorithm that was supposed to be classifying for spoofed airplanes.

10:12.240 --> 10:16.180
And there's a wide range of indicators of spoofed aircraft.

10:16.700 --> 10:22.740
And here's a graph of the altitude and speed graph of a typical and genuine aircraft.

10:22.740 --> 10:28.320
You can see that it outlines the main phases of flight itself.

10:28.320 --> 10:36.780
So you can see in the beginning, it will have like a ascension as the airspeed goes up and the altitude goes up as the airplane is taking off.

10:36.780 --> 10:42.380
You can see the cruising indication near the middle of the flight.

10:42.380 --> 10:48.000
And finally, you see a decrease of all the values as the airplane is landing.

10:48.760 --> 10:57.640
You can check for spoofed airplanes by checking for inconsistencies of telemetry values, such as positioning.

10:57.640 --> 11:08.840
If it has weird GPS coordinates that don't outline its phase of flight or its location or just abruptly pops up in different locations, that's an indication.

11:08.840 --> 11:15.980
There's also altitude, if there's a lot of variance in the altitude being displayed on some of the ADS-B plotline charts.

11:16.560 --> 11:18.060
Also, identification.

11:18.060 --> 11:21.560
Spoofed airplanes are not really identified.

11:21.560 --> 11:32.740
So within the ADS-B message structure itself, you'll see a null or you won't see a lot of values for any of the identification fields in the data packet.

11:36.540 --> 11:47.280
So once I was able to get the feature vectors derived from the ADS-B inputs, I went about creating a dense neural network in order to classify for these spoofed signals.

11:47.500 --> 11:56.440
A dense neural network overlays a neural network itself, which is an artificial intelligence model that's derived from the human brain.

11:56.440 --> 11:59.460
It consists of multiple interconnected layers.

11:59.480 --> 12:03.040
In a dense one, you'll see all the layers connected together.

12:03.180 --> 12:20.380
And as each neuron process the input from the feature vectors, it applies some weight and bias to it, and then it passes the result through an activation function in order to make an accurate guess of whether an airplane is spoofed and running it through a binary classifier.

12:22.800 --> 12:35.780
So I went about creating the DNN by custom coding a Python script that utilized the library in order to accurately detect for the spoofed airplane.

12:35.780 --> 12:52.980
And I used the ReLU activation functions at each of the three layers consisting of the DNN, and those were three densely connected interconnected nodes, and the final layer contained a sigmoid function in order to make a binary classification.

12:52.980 --> 12:59.220
Zero indicating that the airplane was not spoofed, and one being that the airplane was spoofed.

13:02.850 --> 13:11.410
As for the training data I used for the model, I used historical ADS-B records from a wide range of ADS-B data sources.

13:11.470 --> 13:23.310
ADS-B Exchange had ADS-B datasets going back to the 2000s that I was able to leverage, FlightAware being another great source, and OpenSky.

13:23.470 --> 13:35.590
And I was able to download archives of their ADS-B data from CSB records they had in the past, and I was able to get data from my own ground station alongside the device itself.

13:35.590 --> 13:46.650
What I did was I would take all those signals, and once it passed through the DUM1090 decoder, I saved all the data into a CSB record for it to be put into the model.

13:48.750 --> 14:09.590
As for testing the device itself, I really wanted to get a wide range of data from a lot of locations, and although it could have traveled to different locations via car or anything in order to get the data, I wanted to go full-on with this project, so I put the device on the back of a sport cruiser,

14:09.590 --> 14:17.410
which is a single-engine airplane, and I flew it around a lot of different areas within the South Bay area in Los Angeles.

14:17.830 --> 14:24.610
And you can see that's a picture of me loading it on the on the sport cruiser, and me flying the plane to all those different locations.

14:26.130 --> 14:47.150
And as for the data collection process, the device just sat on the back of the airplane, and it was continuously monitoring the ADS-B signals around me using a 1090 megahertz antenna, and it was just keeping a file in the Raspberry Pi itself, which contained ADS-B records of all the airplanes nearby.

14:47.710 --> 14:48.430
Wow.

14:49.770 --> 15:03.090
As for the scan locations in this project, I went pretty much all the South Bay Los Angeles area, Santa Monica, Torrance, Malibu, Palisades, Burbank, and downtown Los Angeles.

15:03.090 --> 15:06.550
I made sure to go through pretty popular airspaces.

15:06.950 --> 15:09.530
LAX was really popular.

15:09.570 --> 15:11.270
Burbank was also popular.

15:11.270 --> 15:27.650
And I also went to local airports like Santa Monica airports, Van Nuys, in order to get a wide range of data, because especially at commercial airports, you'll get like 747s, but you won't get single-engine airplanes.

15:27.650 --> 15:40.550
While if I went to a more local airport, I would get a bigger range or a bigger breadth of data, because that's where you get like multi-engines, helicopters, single-engine airplanes.

15:40.550 --> 15:46.930
So I wanted to have data that reflected both general aviation and commercial aviation as well.

15:49.010 --> 15:59.630
Once I was able to collect and tabulate this data in a CSV format, I fed it into the deep neural network model I created using TensorFlow.

15:59.950 --> 16:12.770
And then in order to get a visual plot of the classification, once the spoofed aircraft was classified, I used a library called Folium in order to make a visual plot of the spoofed airplanes.

16:16.620 --> 16:18.620
Build improvements going forward.

16:18.620 --> 16:23.160
One is using more proper signals intelligence techniques.

16:23.160 --> 16:27.240
This was a pretty straightforward scan of it.

16:27.240 --> 16:30.860
So it wasn't really analyzing the signals themselves.

16:30.860 --> 16:33.520
It was analyzing the data contained within the signals.

16:33.520 --> 16:42.820
But another approach of detecting for ADS-B spoofing is looking for the first phase of the retrieval process where you analyze the signals themselves.

16:42.820 --> 16:47.380
And one modality of doing this is a technique called RSSI fingerprinting.

16:47.380 --> 16:51.020
RSSI indicating the signal strength of the aircraft.

16:52.220 --> 16:53.610
ADS-B out transmission.

16:54.300 --> 17:03.800
So as each airplane transmits the ADS-B message using its ADS-B out, it will have its own unique RSSI identifier.

17:03.800 --> 17:12.580
And this could be a more proper technique of analyzing each of the individual RF characteristics of the signals themselves.

17:12.580 --> 17:20.280
And you can localize the signals where they come out of in order to identify the airplanes.

17:20.280 --> 17:31.700
And typically when you're doing RSSI fingerprinting for a spoofed plane, you get more deviations and deflections of the RSSI signal, while for a valid plane, you'll have more of a consistent output.

17:31.720 --> 17:35.900
So that would be a signals intelligence way of improving this build.

17:36.400 --> 17:39.240
And secondly, is to use more refined algorithms.

17:39.240 --> 17:45.280
I use the DNN for this approach, but there's a lot of exploration with other models that could be done.

17:45.280 --> 18:00.260
So using other deep learning models like recurrent neural networks, or long short term memory networks could be sufficient, alongside adding reinforcement techniques in order to improve the accuracy of the current convolutional network.

18:00.660 --> 18:09.880
The tests I ran with this convolutional network reflected accuracy rates of 90%, but that could be improved using these approach.

18:11.840 --> 18:16.040
Additional enhancements would be the training data itself.

18:16.340 --> 18:25.720
One huge constraint with this project was the training data, because a lot of the training data for the spoofed data set, so there was a valid data set and there was a spoofed data set.

18:25.800 --> 18:35.840
The valid data set was very easy to get because there's huge tabulated records of ADSB messages that are from a wide range of sources.

18:35.840 --> 18:43.740
But when you're dealing with spoofed sources, I can only get it from very specialized people within the aviation signals intelligence techniques.

18:43.740 --> 18:51.360
And you're also dealing with a legality issue in that regard, because it's really hard to get access to spoofed data, you can train a model on.

18:51.440 --> 18:58.660
So, I would say for half the spoofed signals, half of them had to be generated myself.

18:58.660 --> 19:10.300
So, I had to go into the perspective of a person who would be spoofing these signals in order to manually generate ADSB messages that would be spoofed in nature in order to train this model.

19:10.300 --> 19:20.780
However, having more realistic data in order to train this data set would make this neural network model more accurate.

19:21.920 --> 19:40.480
And one way for increasing the accuracy rate of another way of doing it would also be using a technique called data augmentation, which would further refine the approach of manually generating these spoofed signal messages that I could directly feed into the neural network itself,

19:40.480 --> 19:48.120
allowing me to have a more comprehensive data array of spoofed signals that I could train this model on.

19:50.580 --> 19:51.280
Thank you.

19:51.280 --> 19:52.180
That's about it.

19:52.180 --> 19:56.000
If you have any questions, feel free to come up or ask them right now.

19:56.320 --> 19:59.620
That's my contact information, but thank you so much for coming today.

