start	end	text
610	4100	Hello, everyone. Thank you so much for coming to my talk today.
4100	8960	Today I'll be speaking a little bit about ADS-B security and a personal project I've
8960	14130	worked on on the intersection of aid aviation and signals intelligence called Flycatcher.
15700	21740	So a quick overview of the device I created. It's called Flycatcher and it's made for
21740	28040	effective ADS-B monitoring and detecting foreign instances of aircraft spoofing.
28780	35120	It's low cost and reliable. It's created using the Raspberry Pi and it's compatible with
35120	41820	multiple software-defined radio signal sources. And I created my own convolutional neural network
41820	48960	that parses ADS-B inputs in order to detect for reliable and unreliable aircraft signals.
49620	54600	A little bit about my background. I'm still upstarting in my cybersecurity field, but
55160	60340	I've been a software developer for about a decade and I've been focusing on aerospace
60340	66120	security for the past few years with an emphasis on aviation due to my piloting experience.
67500	72720	And a little bit of recap on what ADS-B is. It stands for Automatic Dependent Surveillance
72720	77760	Broadcast and it's a mandated technology for performing surveillance and signals intelligence
77760	84060	on airplanes. And if we break the acronym down, it's automatic, meaning it doesn't require any
84060	88740	manual input from the pilot itself. It's dependent, meaning that it requires GPS
88740	93620	signals from satellites in order to transmit the aircraft's information and positioning.
94400	100720	It's meant for surveillance, so it contains complete comprehensive information about the
100720	106520	data of the aircraft transmitted itself, such as its airspeed, positioning, altitude, and so forth.
106520	112420	And lastly, it continuously beacons out and broadcasts data, allowing for ground-based ATC
112420	119740	or other pilots to receive that information in order to triangulate where the aircraft is
119740	128620	positioned in the sky. So here's an imagery conceptual overview of how ADS-B works.
128620	134380	All ADS-B signals are derived from the Global Navigational Satellite System,
134380	138940	which provides positioning aircraft, positioning information to the aircraft itself,
138940	145500	which is then beaconed out via the ADS-B out hardware components internally on the airplane.
145500	150200	And once that information is beaconed out via packets on the 1090 megahertz protocol,
150200	155440	it can be received by other airplanes alongside ground-based receivers and antennas alongside
155440	160240	air traffic control in order for those receivers to figure out where the airplane is positioned.
163140	169160	So this technology works using three core components that allow for ADS-B to be broadcasted
169160	173780	on airplanes. There's the GPS receiver that receives the positioning information from the
173780	180280	satellites themselves. And then the ADS-B packets are transmitted via the transponder on the plane,
180280	185500	which is required on all planes. And it typically uses the MOD-S protocol in order to send
185500	191920	comprehensive data about the plane itself. And internally on the plane, it has an ADS-B in,
191920	198140	allowing for continuous monitoring by the pilots themselves of other air traffic in the vicinity.
201200	207300	Although ADS-B is relied on by a wide range of airplanes and pilots worldwide,
207300	212540	it has some core vulnerabilities. It is unauthenticated and unencrypted.
212540	216800	Unauthenticated meaning that there is no verification of the transmission. So any
216800	222900	ground-based hacker can transmit ADS-B packets and it'll automatically be received as a packet.
222900	230240	There's no amount of verification alongside its unencrypted nature, making it transparent to anyone
231030	238500	who tunes into that frequency. This reveals a lot of attack vectors, especially
238500	246240	on the communications end. The four core ones are jamming, spoofing, replay attacks,
246240	251260	and message injection. Jamming is when a ground-based transmitter can flood the ADS-B
251260	257660	frequency with a bunch of garbled data. There's also spoofing, where it's more of a selective
257660	263620	based jamming attack, where you can custom fabricate data packets and then transmit it.
263620	269640	This can effectively create something called a ghost plane, where a ghost airplane would show up
269640	274960	and pop up on the ADS-B feed that isn't really a plane itself. There's replay attacks, where you
274960	281200	capture ADS-B packets from at an earlier time and then replay it. So you're effectively creating a
281200	286700	duplicate airplane that is then transmitted and then received. And then there's also message
286700	291960	injection, where you play around with the ADS-B packets individually themselves in order to mess
291960	298400	with specific telemetry, like the altitude, airspace, airspeed, positioning, and so forth.
298740	305640	The one I chose to focus on for this project is spoofing, because I enjoyed its customized nature.
305720	311440	A lot of spoofing can be detected using artificial intelligence, and I wanted to
311440	316080	pursue that kind of modality for detecting spoofed airplanes for this project.
317880	323740	So how spoofing on ADS-B works is that a ground-based hacker can transmit
323740	329920	ghost aircraft into the sky by creating custom-fabricated packets that mimic the ADS-B
329920	336460	protocol. And these spoofed airplanes can be tracked by other airplanes in the sky alongside
336460	344380	ground-based receivers. So I went through a four-step build process as I was constructing
344380	352500	this device. Firstly, I set up a ADS-B reception ground station using four components that I'll
352500	357540	be outlining later. I went about constructing a device so it was portable and I could stow it on
357540	365380	the back of an airplane. Then I went about training a deep neural network in order to detect for
365380	372780	instances of aircraft spoofing. And then lastly, I stowed the device itself on the back of a sport
372780	378340	cruiser and flew it around the South Bay in order to get access to data in order to train the
378340	386140	artificial intelligence machine learning model that I created. So one thing I wanted to mention
386140	391720	is there's a wide range of credible data sources in order to get access to ADS-B data that you can
391720	398020	actually access right now. There's ADS-B Exchange, FlightAware, ADS-B Hub. For this project, I wanted
398020	405080	to go about manually getting these transmitted signals. So I set up my own ADS-B reception
405080	412440	ground station. This consisted of a FlightAware Pro Stick Plus SDR as my software-defined radio
412440	419740	option in order to get specialized ADS-B signals, which relies on the RTL2832U chipset,
419740	425660	which is really configurable with a lot of dumb 1090 decoders. I used a 1090 megahertz rubber
425660	431920	ducky antenna for a cheap and reliable setup, the Raspberry Pi in order to analyze the ADS-B
431920	438660	packets alongside the FlightAware GUI display in order to have a visual output of the ADS-B
438660	447280	display data I was getting. So once you're able to receive the ADS-B signals that are propagated on
447280	453420	the 1090 megahertz frequency, you need to go about decoding these signals. And the signals I chose
453420	459320	to decode were the ones transmitted on the mode S. There's different modes of ADS-B. There's A,
459320	464940	C, and S. S is the most comprehensive of all the modes and contains advanced mode with
464940	471580	comprehensive data about the aircraft itself. And on the bottom is a mesh structure breakdown
471580	479220	of ADS-B packets. You can see it starts with the first few bits outlining the downlink format.
479220	484040	There's the transponder capability, the ICAO designation, which all aircraft has its own
484040	491360	ICAO identifier to identify it alongside its message taking up the 33 to 88 bit sequence
491360	501450	alongside with a parity ID appended to the end of it. So the way I integrated 1090 was I embedded
501450	508130	it directly on the Raspberry Pi itself. And as soon as the 1090 megahertz ADS-B antenna was able
508130	514390	to retrieve the signals, it fed it through the DUM1090 decoder software protocol, which you can
514390	519970	download and install directly onto the Pi. And then it creates a JSON output, which you can parse
519970	528410	and visualize on a wide range of GUI sources. I also wanted to add some sort of plotting and
528410	534270	visualization for both my ground station and the device itself. So once the JSON output was
534270	540670	tabulated by the DUM1090 decoder, I fed it into the FlightAware visualization dashboard
540670	549840	in order to see the live ADS-B broadcasts. Once I was able to get a sufficient ground station running
550860	557360	and it was able to pick up some sort of signals, I wanted to convert it into a device so I could
557360	562280	make it portable and have it bestowed on the back of an airplane in order to get access to
562280	568540	more comprehensive data in a wide range of locations. Here's a build outline of materials
568540	576560	that I used. I used the Raspberry Pi 3B, a custom case enclosure alongside a TFT display case
577120	581880	on top alongside my 1090 megahertz rubber ducky antenna.
583620	591600	The final build looks something like that. It was good because it had a battery case attached to the
591600	596920	bottom of it, making it so I could use it wherever I wanted to. It was highly portable,
596920	600520	it didn't take up that much space, and it was a durable design.
602640	609080	So once the device was constructed, I went about architecting the algorithm that was
609080	615240	supposed to be classifying for spoofed airplanes. And there's a wide range of indicators of spoofed
615240	621300	aircraft. And here's a graph of the altitude and speed graph of a typical and genuine
621880	629020	aircraft. You can see that it outlines the main phases of flight itself. So you can see in the
629020	635620	beginning, it will have like a ascension as the airspeed goes up and the altitude goes up as the
635620	642640	airplane is taking off. You can see the cruising indication near the middle of the flight. And
642640	648000	finally, you see a decrease of all the values as the airplane is landing.
648760	656560	You can check for spoofed airplanes by checking for inconsistencies of telemetry values,
656560	662200	such as positioning. If it has weird GPS coordinates that don't outline its phase of
662200	668840	flight or its location or just abruptly pops up in different locations, that's an indication.
668840	673340	There's also altitude, if there's a lot of variance in the altitude being displayed on
673340	679280	some of the ADS-B plotline charts. Also, identification. Spoofed airplanes are not
679280	686340	really identified. So within the ADS-B message structure itself, you'll see a null or you won't
686340	697760	see a lot of values for any of the identification fields in the data packet. So once I was able to
697760	703400	get the feature vectors derived from the ADS-B inputs, I went about creating a dense neural
703400	710860	network in order to classify for these spoofed signals. A dense neural network overlays a neural
710860	716560	network itself, which is an artificial intelligence model that's derived from the human brain. It
716560	721980	consists of multiple interconnected layers. In a dense one, you'll see all the layers connected
721980	728360	together. And as each neuron process the input from the feature vectors, it applies some weight
728360	733980	and bias to it, and then it passes the result through an activation function in order to make
733980	740380	an accurate guess of whether an airplane is spoofed and running it through a binary classifier.
742800	750580	So I went about creating the DNN by custom coding a Python script that utilized the
750580	757920	library in order to accurately detect for the spoofed airplane. And I used the ReLU activation
757920	764560	functions at each of the three layers consisting of the DNN, and those were three densely connected
764560	771580	interconnected nodes, and the final layer contained a sigmoid function in order to make a binary
771580	777740	classification. Zero indicating that the airplane was not spoofed, and one being that the airplane
777740	788750	was spoofed. As for the training data I used for the model, I used historical ADS-B records from a
788750	797190	wide range of ADS-B data sources. ADS-B Exchange had ADS-B datasets going back to the 2000s that
797190	804530	I was able to leverage, FlightAware being another great source, and OpenSky. And I was able to
804530	810810	download archives of their ADS-B data from CSB records they had in the past, and I was able to
811330	817570	get data from my own ground station alongside the device itself. What I did was I would take all
817570	822890	those signals, and once it passed through the DUM1090 decoder, I saved all the data into a CSB
822890	832570	record for it to be put into the model. As for testing the device itself, I really wanted to get
833050	837530	a wide range of data from a lot of locations, and although it could have traveled to different
837530	846050	locations via car or anything in order to get the data, I wanted to go full-on with this project,
846050	851310	so I put the device on the back of a sport cruiser, which is a single-engine airplane,
851310	857410	and I flew it around a lot of different areas within the South Bay area in Los Angeles.
857830	861670	And you can see that's a picture of me loading it on the on the sport cruiser,
861670	864610	and me flying the plane to all those different locations.
866130	871750	And as for the data collection process, the device just sat on the back of the airplane,
871750	877910	and it was continuously monitoring the ADS-B signals around me using a 1090 megahertz antenna,
877910	883110	and it was just keeping a file in the Raspberry Pi itself, which contained
883850	887150	ADS-B records of all the airplanes nearby.
887710	888430	Wow.
889770	897550	As for the scan locations in this project, I went pretty much all the South Bay Los Angeles area,
897550	904010	Santa Monica, Torrance, Malibu, Palisades, Burbank, and downtown Los Angeles. I made sure to go
904010	912250	through pretty popular airspaces. LAX was really popular. Burbank was also popular. And I also went
912250	921010	to local airports like Santa Monica airports, Van Nuys, in order to get a wide range of data,
921010	925890	because especially at commercial airports, you'll get like 747s, but you won't get
925890	933150	single-engine airplanes. While if I went to a more local airport, I would get a bigger range
933150	938250	or a bigger breadth of data, because that's where you get like multi-engines, helicopters,
939030	944490	single-engine airplanes. So I wanted to have data that reflected both general aviation and
944490	954790	commercial aviation as well. Once I was able to collect and tabulate this data in a CSV format,
954790	960850	I fed it into the deep neural network model I created using TensorFlow. And then in order to
960850	966170	get a visual plot of the classification, once the spoofed aircraft was classified,
966170	972770	I used a library called Folium in order to make a visual plot of the spoofed airplanes.
976620	983160	Build improvements going forward. One is using more proper signals intelligence techniques.
983160	990200	This was a pretty straightforward scan of it. So it wasn't really analyzing the signals
990200	995000	themselves. It was analyzing the data contained within the signals. But another approach of
995000	1000900	detecting for ADS-B spoofing is looking for the first phase of the retrieval process where you
1000900	1006000	analyze the signals themselves. And one modality of doing this is a technique called RSSI
1006000	1013610	fingerprinting. RSSI indicating the signal strength of the aircraft. ADS-B out transmission.
1014300	1021720	So as each airplane transmits the ADS-B message using its ADS-B out, it will have its own unique
1021720	1028400	RSSI identifier. And this could be a more proper technique of analyzing each of the
1028400	1036300	individual RF characteristics of the signals themselves. And you can localize the signals
1036300	1041400	where they come out of in order to identify the airplanes. And typically when you're doing
1041400	1047120	RSSI fingerprinting for a spoofed plane, you get more deviations and deflections of the RSSI
1047120	1052980	signal, while for a valid plane, you'll have more of a consistent output. So that would be a
1052980	1059440	signals intelligence way of improving this build. And secondly, is to use more refined algorithms.
1059440	1064540	I use the DNN for this approach, but there's a lot of exploration with other models that could
1064540	1071040	be done. So using other deep learning models like recurrent neural networks, or long short
1071040	1075760	term memory networks could be sufficient, alongside adding reinforcement techniques
1075760	1080260	in order to improve the accuracy of the current convolutional network.
1080660	1085940	The tests I ran with this convolutional network reflected accuracy rates of 90%,
1086840	1089880	but that could be improved using these approach.
1091840	1098300	Additional enhancements would be the training data itself. One huge constraint with this project
1098300	1103320	was the training data, because a lot of the training data for the spoofed data set, so there
1103320	1107980	was a valid data set and there was a spoofed data set. The valid data set was very easy to get
1107980	1115840	because there's huge tabulated records of ADSB messages that are from a wide range of sources.
1115840	1120680	But when you're dealing with spoofed sources, I can only get it from very specialized people
1120680	1125120	within the aviation signals intelligence techniques. And you're also dealing with a
1125480	1129440	legality issue in that regard, because it's really hard to get access to spoofed data,
1129440	1137040	you can train a model on. So, I would say for half the spoofed signals, half of them had to be
1137040	1142920	generated myself. So, I had to go into the perspective of a person who would be spoofing
1142920	1149080	these signals in order to manually generate ADSB messages that would be spoofed in nature in order
1149080	1154720	to train this model. However, having more realistic data in order to train this data set would make
1155500	1166020	this neural network model more accurate. And one way for increasing the accuracy rate
1166560	1171080	of another way of doing it would also be using a technique called data augmentation,
1171080	1176700	which would further refine the approach of manually generating these spoofed signal messages
1176700	1182620	that I could directly feed into the neural network itself, allowing me to have a more comprehensive
1183600	1192340	data array of spoofed signals that I could train this model on. Thank you. That's about it. If you
1192340	1197880	have any questions, feel free to come up or ask them right now. That's my contact information,
1197880	1199620	but thank you so much for coming today.
