WEBVTT

00:00.000 --> 00:02.220
Hello, I'm Nick Exploding Lemur.

00:03.200 --> 00:05.140
I've been doing IT for a long time.

00:05.140 --> 00:07.220
I've been coming to DEF CON for a long time.

00:08.000 --> 00:09.620
It's awesome to see.

00:10.440 --> 00:11.800
So this is gonna sound weird.

00:11.800 --> 00:17.580
It's awesome to see people that were born when I first came to DEF CON that are coming to DEF CON now.

00:18.280 --> 00:19.860
And I feel old.

00:21.920 --> 00:25.240
Playing with electronics and stuff for forever.

00:25.280 --> 00:26.940
Playing with SDR for a while.

00:26.940 --> 00:29.240
I've been a ham for about 20 years.

00:30.100 --> 00:31.720
So I like radios.

00:31.720 --> 00:38.120
I like listening to stuff and monitoring and seeing what fun I can I can hear.

00:39.880 --> 00:43.900
So how many radios do we have on aircraft?

00:43.900 --> 00:45.380
A lot.

00:45.820 --> 00:52.340
We've got various systems for communication, telemetry systems.

00:52.780 --> 00:57.720
Either just one way or two way ping response.

00:58.060 --> 00:59.180
Navigation.

00:59.560 --> 01:00.780
All kinds of stuff.

01:00.780 --> 01:06.300
And then, of course, on commercial aircraft, much in the way of passenger entertainment.

01:08.340 --> 01:09.980
So let's start with the easy ones.

01:09.980 --> 01:11.380
Voice communication.

01:12.600 --> 01:19.660
Aircraft always need to talk to air traffic control, ground traffic, each other.

01:21.460 --> 01:39.300
So there is VHF, which is typically used in kind of close in, within, depending on the altitude of the aircraft, you can have about 100 miles or so of range, plus or minus, etc.

01:40.760 --> 01:42.800
And hang on.

01:43.160 --> 01:44.200
There we go.

01:44.200 --> 01:45.720
Spacebar wasn't working.

01:46.520 --> 01:52.100
The VHF voice comms are all AM, which is just amplitude modulation.

01:52.100 --> 01:56.020
It's very simple, has a carrier and two side lobes.

01:56.820 --> 02:09.080
The nifty thing about AM is from the control tower's perspective, whoever is the closer aircraft is going to be louder.

02:09.620 --> 02:22.160
Actually, it will receive as louder in their receivers because the amplitude of that signal is going to be higher than anything that's far away.

02:23.360 --> 02:41.300
If you have aircraft talking over each other, you can actually hear that there is doubling going on instead of with FM, where your receiver will capture a closer signal that is within a certain number of dB.

02:41.300 --> 02:42.500
I can't remember off the top of my head.

02:42.500 --> 02:57.020
Anyway, AM, you'll hear this fun squealing sound, which is the phase difference between the carriers of the two transmitters, but you can also kind of hear the voices kind of mixing somewhat.

02:57.880 --> 03:02.520
And that's going to be at 118 to 137 megahertz.

03:03.320 --> 03:14.340
AM being entirely analog, no encryption, no integrity checks, no authentication, etc., which you will see as a theme throughout this talk.

03:17.580 --> 03:20.240
Approach, departure and route, etc.

03:22.620 --> 03:33.340
Oh, yes, there are also the automated weather reports from the ground, so pilots can kind of tune in and hear what's going on nearby.

03:34.400 --> 03:38.160
There's also HF for transoceanic flights.

03:38.800 --> 03:45.340
That uses single sideband, which suppresses the carrier and one of the side lobes.

03:45.420 --> 03:47.200
It's more energy efficient.

03:47.780 --> 03:58.980
And that actually gives you an easier time hearing pilots talking over each other because you don't have that carrier phase interaction.

04:00.260 --> 04:04.640
So that's 2.8 to 25 megahertz or so.

04:05.880 --> 04:07.540
That also has weather reports.

04:07.540 --> 04:09.080
There we go.

04:09.080 --> 04:10.320
I thought I had another thing.

04:10.320 --> 04:14.200
Weather reports, air traffic, etc.

04:14.620 --> 04:22.580
The fun thing about HF is it is entirely dependent on solar weather.

04:22.580 --> 04:36.800
So if there are any sunspots, solar flares, etc., where we are in the solar cycle and the time of day and the frequency you're using, where the transmit and receive stations are.

04:36.800 --> 04:43.280
Because at different times of day, the ionosphere will be doing different things and different signals will bounce off it in different ways.

04:43.620 --> 04:46.560
So it's not nearly as predictable.

04:50.460 --> 04:52.100
I'll stick with that.

04:52.400 --> 04:52.820
I'm sorry.

04:52.820 --> 04:55.120
I am super out of it.

04:55.300 --> 04:57.440
So bear with me.

05:00.140 --> 05:02.620
So that's pretty much it for voice.

05:03.160 --> 05:08.160
Let's go on to data, which there's even more fun stuff.

05:08.880 --> 05:16.220
There's the VHF data link, which again just is on those same VHF channels.

05:19.300 --> 05:22.560
There we go.

05:22.560 --> 05:24.200
That's what I was looking for.

05:26.920 --> 05:33.480
It's an eight-state differential phase shift keying modulation.

05:38.740 --> 05:44.540
Carries ACARS, which we'll get to shortly.

05:45.360 --> 05:52.460
There's also the HF data link, which is the same frequencies as the HF voice communications.

05:52.460 --> 05:54.420
Much lower bit rate.

05:54.480 --> 05:57.580
Maxes out at 1800 bits per second.

05:57.940 --> 06:00.360
Where's the VHF data link?

06:00.360 --> 06:03.880
It was 30 or so kilobits per second.

06:03.880 --> 06:10.460
This uses a variety of phase shift modulations, either 2, 4 or 8 way .

06:11.020 --> 06:13.260
Also carries ACARS.

06:14.520 --> 06:22.680
And then as for ACARS, it is the aircraft communication addressing and reporting system .

06:22.720 --> 06:28.620
It has telemetry, status of various systems in the aircraft.

06:28.620 --> 06:31.600
Sometimes it'll carry position information.

06:32.460 --> 06:40.500
Also communications between ground controllers and the aircraft and aircraft and ground controllers.

06:40.720 --> 06:43.320
I should be eating space more often.

06:43.620 --> 06:47.400
CPDLC is the controller pilot data link communications.

06:47.400 --> 06:55.200
It's basically cockpit to ground SMS used in commercial aircraft.

06:55.200 --> 07:06.580
They'll use it to get route clearances and such through their controllers and check in and do some various messaging in route.

07:06.760 --> 07:12.380
Saying, hey, I'd like to descend to, you know, flight level whatever.

07:12.380 --> 07:13.000
Can I do that?

07:13.000 --> 07:14.740
Yay.

07:17.000 --> 07:24.600
For position telemetry, sorry, we have a variety of systems.

07:24.600 --> 07:34.340
So the MODES transponder is the kind of predecessor to ADS-B.

07:34.520 --> 07:38.520
It's in use by the secondary surveillance radar systems.

07:38.520 --> 07:44.100
So air traffic control, think of those big spinning radar dishes.

07:44.540 --> 07:56.320
For the most part, all those that are doing is sending out a one gigahertz ping and then they get back a slightly higher one gigahertz response at 1090 megahertz.

07:56.820 --> 08:03.840
And that includes the aircraft transponder ID, squat code and altitude.

08:03.840 --> 08:06.440
It's a pretty limited subset of data.

08:07.280 --> 08:15.340
And then just through the spinning radar dish sending out that ping, it says, okay, the dish was pointing in this direction.

08:15.340 --> 08:18.100
It took this long for the response to come back.

08:18.100 --> 08:25.280
So I know that the aircraft is on that heading and I know it's that far away because I can calculate based on the speed of light.

08:28.660 --> 08:34.340
Then ADS-B is the one that everyone's having fun with these days.

08:35.320 --> 08:43.800
It's a pulse position modulation signal and carries a lot more stuff.

08:44.100 --> 08:53.340
The transponder ID, squat code, flight or tail number, altitude, speed, heading, location, climb rate.

08:54.680 --> 08:56.180
Yes, I said altitude.

08:56.220 --> 09:00.040
So that's essentially just the aircraft transmitting constantly.

09:00.040 --> 09:00.800
This is where I am.

09:00.800 --> 09:03.080
This is what I'm doing, etc., etc.

09:03.340 --> 09:08.580
ADS-B is automated dependent surveillance broadcast.

09:08.900 --> 09:11.540
So it's constantly broadcasting.

09:11.540 --> 09:12.820
It's automated.

09:12.820 --> 09:14.580
It's doing it whenever it wants.

09:14.980 --> 09:18.300
And it is a dependent surveillance system.

09:18.300 --> 09:26.280
So the air traffic control depends on the aircraft actually sending this, which is the dependent part.

09:26.540 --> 09:33.440
Whereas the mode S transponder is, I guess, a semi-independent system.

09:34.720 --> 09:45.060
Then primary radar systems are really just, I send out a ping, I get a response, I see there's something there, something on that heading, and that's all I know.

09:48.520 --> 09:53.020
RenderMan is doing some ADS-B receiver workshops, or was.

09:53.020 --> 09:55.020
I don't know what the schedule is for that.

09:55.440 --> 10:03.860
If you had a chance to go to that, if they've happened, or if they haven't happened, see if you can get a chance to go to those, build your own ADS-B receiver, see what's in the air, it's pretty cool.

10:05.720 --> 10:10.460
RenderMan also has a bunch of talks on ADS-B and the terribleness within.

10:10.540 --> 10:21.480
Again, unencrypted, unauthenticated, that one is super easy to just throw anything into the air and make stuff appear on people's screens.

10:21.600 --> 10:23.400
So it's not so great.

10:25.460 --> 10:36.220
There is also the universal access transceiver, which is a 978 megahertz system that is in the US only.

10:37.060 --> 10:44.580
It's utilized for general aviation craft that fly under 18,000 feet.

10:44.920 --> 10:56.800
So commercial aircraft, even though they, if they're in that 0 to 18,000 foot window, they fly above 18,000 feet eventually, so they stick to ADS-B.

10:56.800 --> 11:02.220
The reason this is set up is just because of the sheer amount of general aviation traffic in the US.

11:02.860 --> 11:11.220
And ADS-B doesn't have any sort of carrier sense, so they are just constantly squawking and easily talk over each other in crowded areas.

11:14.220 --> 11:26.220
So as an incentive to get general aviation pilots to spend a bunch of money on these systems, the FAA said, okay, let's put some nifty stuff in here.

11:26.340 --> 11:39.560
So in addition to the transponder sending their telemetry data out, they can also receive from ground stations, weather, NOTAMs, TFRs, other in route data.

11:40.960 --> 12:00.060
And there's also a system that will, once it, once a ground station receives a UAT packet from something in the area, it will start retransmitting ADS-B stuff that it receives that is in the vicinity of that aircraft.

12:00.060 --> 12:09.120
So it gets the benefit of seeing all of the ADS-B stuff, even though it's not on that, on that frequency.

12:11.980 --> 12:25.860
And then also SiriusXM, really, they have a aircraft service that also gives them, it gives pilots NOTAMs and TFRs, et cetera, weather data.

12:25.920 --> 12:33.680
Their selling point, according to their website, is that it's higher resolution stuff and you get it more frequently.

12:34.540 --> 12:42.200
I haven't looked to confirm that, but I don't know how much is just marketing BS or not.

12:42.260 --> 12:51.780
So, but you also get music from, from their 180 channels of, you know, whatever.

12:53.240 --> 12:59.260
And then there's also data communications and telemetry systems.

12:59.380 --> 13:09.000
Inmarsat is one that is commonly seen in the news after the Malaysia air flight disappearance.

13:09.540 --> 13:17.320
So the aero service carries, I'll get there, carries ACARS data.

13:18.700 --> 13:25.160
And it's actually pretty easy to receive the ground station to aircraft transmissions.

13:25.160 --> 13:31.660
You just need a tiny patch antenna for about 1.6 gigahertz, circular polarized.

13:31.660 --> 13:33.100
An amplifier will help.

13:33.100 --> 13:36.240
And then an SDR will let you pull that down.

13:36.400 --> 13:47.840
To get the other direction, which is aircraft to ground, you need a, like eight foot or so dish to receive C band transmissions.

13:47.840 --> 13:50.780
So it goes one way and then the other.

13:51.100 --> 13:54.920
And that translation happens in the satellite itself.

13:55.420 --> 13:58.100
So that one is the more interesting one.

13:58.100 --> 14:02.440
If you want to see aircraft location data off of the satellite.

14:03.940 --> 14:10.740
There's also within that signal, there's ADSC which is sort of a pub sub model.

14:12.540 --> 14:19.040
The ground station will send up a signal and say, Hey, I would like this data from you.

14:19.040 --> 14:23.120
And then the aircraft will say, okay, here, I'll send it to you now and start beaconing it.

14:23.120 --> 14:27.660
And that will include a variety of different things, not just location.

14:27.800 --> 14:38.180
It will also have, you can subscribe to other aircraft telemetry systems and get a whatever.

14:38.900 --> 14:40.720
There's also digital voice.

14:41.100 --> 14:46.900
That one will make use of the Ambi codec or LPC.

14:47.300 --> 14:52.720
Digital voice codecs, easy to find decoders for those.

14:53.680 --> 14:58.480
And then there's also Swift 64, which is this one's fun.

14:58.480 --> 15:00.900
It's actually ISDN.

15:00.900 --> 15:05.680
So for the old telecom people, yay.

15:06.580 --> 15:14.560
Navigation, satellites, GPS, clone-ass Baidu, Galileo, et cetera.

15:14.560 --> 15:18.940
This is magical relativistic atomic space clock pixie dust.

15:19.040 --> 15:36.880
This works by every satellite carrying an atomic clock that is corrected for general relativistic differences where the higher you get from the earth, the faster your clock runs.

15:37.780 --> 15:39.840
You can do some fun experiments.

15:39.840 --> 15:53.480
If you have a couple of nice, like, cesium time sources, you can set one down on the ground and then go up to like a, you know, 5,000 foot mountaintop and then come back down and the one that was on the mountaintop will be a little bit faster.

15:54.660 --> 15:57.660
You know, great, great outing for the kids.

16:00.700 --> 16:06.760
Anyway, so the satellites have that corrected signal.

16:06.760 --> 16:12.700
They send out their, just the time beacon basically, and your receiver gets that.

16:12.700 --> 16:18.280
It sees the difference in time on each of the received signals.

16:18.280 --> 16:27.060
It has its own internal almanac that is transmitted by the satellites that tell it where the satellites are at any given time in the sky.

16:27.100 --> 16:32.120
And so from that, it can calculate, okay, satellites are supposed to be here.

16:32.120 --> 16:35.120
I'm getting a time of this and this and this and this.

16:35.120 --> 16:36.940
I must be here.

16:37.540 --> 16:42.320
And yeah, that's how that fun magic pixie dust works.

16:44.680 --> 17:00.600
One that is, yeah, anyway, VOR, VHF Omnidirectional Ranging is a beacon system, 108 to 118 megahertz, encodes the station ID, other data.

17:01.200 --> 17:02.220
And there are two systems.

17:02.220 --> 17:14.180
There's the conventional VOR, which has a single or one omnidirectional carrier signal, and then a secondary signal that's transmitted from a phased array antenna.

17:14.180 --> 17:30.020
And it has a phase delay of its signal in relation to the carrier signal that changes across the entire rotation of that antenna.

17:30.240 --> 17:46.060
So if you are, so if you get the main signal and then the secondary signal is 90 degrees out of phase with the first one, that means you're on a bearing of 90 degrees from that beacon.

17:48.320 --> 17:54.300
The 270 degrees out of phase, you're 270 degrees from that beacon.

17:56.960 --> 18:07.700
And that's, yeah, that just tells you basically where you are in relation to the beacon from zero degrees is going to be north.

18:07.700 --> 18:08.260
Anyway.

18:08.680 --> 18:17.260
And then there's also the Doppler VOR, which has an array of antennas that are spread much further apart.

18:18.480 --> 18:28.780
And those are, you rotate the carrier signal through those, either mechanically or electrically.

18:29.500 --> 18:40.860
The mechanically is literally just like a servo with a piece of coax that kind of spins around and vaguely goes next to the feed lines of all the other antennas.

18:40.860 --> 18:50.920
So it kind of, as it starts to couple with one, it'll, it'll slowly stop coupling with another, goes around, gives you a nice constant rotation instead of a stepped rotation.

18:51.360 --> 18:55.760
Electronically you can do that with just RF switches.

18:56.420 --> 19:27.880
And then the redshift and blueshift of the signal as it rotates towards you and then away from you, you can tell at what point it is on a center and basically when, when the, so yeah, so as it is at this point and it's coming towards you, that's going to be the maximum blueshift.

19:27.900 --> 19:37.140
And then it's going to hit a point where it's going to stop blueshift, stop blueshifting and start redshifting away from you.

19:37.840 --> 19:41.020
Which is to say the, the frequency as it approaches you is going to be a little bit higher.

19:41.020 --> 19:42.900
As it leaves you, it's going to be a little bit lower.

19:42.920 --> 19:47.020
And then from there you can tell, okay, I am on this bearing from it.

19:51.440 --> 20:00.900
DMA, sorry, DME, distance measuring equipment, is UHF, microwave-ish.

20:01.300 --> 20:04.240
It is literally just ping response.

20:04.960 --> 20:11.720
You send out a signal and say, hey, and the station receives it.

20:11.720 --> 20:16.460
It waits a set amount of time, which I think is typically 50 microseconds.

20:16.460 --> 20:18.540
Then it sends you the response back.

20:18.880 --> 20:27.300
And thanks to the wonders of knowing the constant speed of light, you can figure out how far you are, how far away you are from it.

20:28.140 --> 20:37.260
The DMA, sorry, DME system, I'm playing with DOS computers at home, so DMA settings are stuck in my mind.

20:37.440 --> 20:38.800
Don't ask me why.

20:40.160 --> 20:49.480
It has to do a bit of math to understand where you are in relation to it from a ground distance perspective.

20:49.580 --> 20:58.100
Because if you're up in the air here, and the station is here, the distance is going to be this section of a triangle.

20:58.680 --> 21:03.280
And fortunately, you also know your altitude, which is this section of the triangle.

21:03.280 --> 21:05.860
So then you can easily solve for this section.

21:05.860 --> 21:08.100
A squared plus B squared equals C squared.

21:08.120 --> 21:09.300
Yay, Pythagoras!

21:09.300 --> 21:11.380
Helps us know where we are.

21:14.000 --> 21:18.120
TACAN is a military VR DMA system.

21:18.180 --> 21:24.880
It can be co-located with civilian systems to provide DME service for civil aircraft.

21:25.700 --> 21:32.400
But the VOR stuff is not available for civil use.

21:35.250 --> 21:46.550
Navigation, the ILS, that previous talk, if you were here for that, was fantastic for a guide on how ILS works.

21:47.550 --> 21:54.530
So basically you have two transponders, one VHF, one UHF.

21:55.290 --> 22:06.810
They send out two signals, one to the left of the runway, one to the right, one kind of low, one kind of high, and those are modulated at either 90 or 150 hertz.

22:07.150 --> 22:19.690
And from the relative signal power of those two signals, you can tell if you are to one side or the other, or on center line, laterally and vertically, coming into your glide slope.

22:23.470 --> 22:30.110
As far as passenger entertainment goes, you have all of your fun internet services.

22:30.110 --> 22:33.590
NMARSat provides the Swift broadband service.

22:33.670 --> 22:36.590
There's Viasat and GoGo.

22:36.950 --> 22:43.710
GoGo has some satellite service, but I believe most of it is actually ground-based.

22:43.710 --> 22:47.750
So they have ground stations that talk to the aircraft instead of through a satellite.

22:49.610 --> 22:52.130
Benefit of that, less ping time.

22:55.690 --> 23:10.910
Admiral Grace Hopper has this great little thing that she did, which was she carried around a nanosecond with her, just a piece of wire that was precisely one nanosecond long in terms of the speed of light.

23:11.050 --> 23:18.770
She would, when other generals would ask her, why does it take so long to get stuff from a satellite back, she'd say, well, there are a lot of these between here and the satellite.

23:20.190 --> 23:27.130
The geosynchronous ones are 25,000 miles up, 20 to 20...

23:27.130 --> 23:28.050
22,000.

23:28.050 --> 23:28.830
Thank you.

23:29.710 --> 23:31.530
So, yeah, it takes a bit.

23:35.170 --> 23:39.850
So, yes, those are all the fun passenger hamlet systems.

23:40.210 --> 23:46.230
So that was my fun, super fast, vague run through all of the aircraft radio systems.

23:47.570 --> 23:51.110
I am going to put up this online.

23:51.110 --> 23:52.610
I'll show you links in a minute.

23:53.250 --> 23:57.170
I'll also have information on how to receive all of these things if you want to.

23:57.590 --> 23:59.370
It's a lot of really cool stuff.

23:59.970 --> 24:13.350
For those that do have ADS-B receive stations or want to set them up, I highly encourage you, if you're in the US, to get a second SDR dongle, set it up for 978 megahertz because there's a lot more cool stuff there.

24:13.910 --> 24:19.990
Low-level, general aviation stuff that you are not going to see from just ADS-B transponders.

24:20.430 --> 24:23.030
So that is very nifty stuff.

24:23.430 --> 24:27.910
Anyway, after that spiel, does anybody have any questions?

24:28.790 --> 24:29.570
Yes?

24:35.780 --> 24:37.280
I'm sorry, say that again.

24:48.620 --> 24:49.900
Okay.

24:51.740 --> 24:56.860
Anyone else?

24:58.040 --> 24:58.940
Okay.

25:06.880 --> 25:15.720
I'm going to do a quick spiel on ADS-B and UAT systems then on how to optimize your system for RF performance.

25:18.300 --> 25:25.240
So high-gain antennas on these systems actually can hurt you in some cases, especially for UAT.

25:25.420 --> 25:32.500
The higher gain an antenna goes, the lower the receive lobes are vertically.

25:32.860 --> 25:44.700
So with UAT stuff, there's a lot of low-level things flying pretty close to you, above you, and your antennas are just really not going to get that if it's a super high-gain antenna.

25:47.020 --> 25:53.980
That can help you for ADS-B stuff if you're looking for things far off.

25:53.980 --> 25:58.860
But again, as commercial aircraft overfly you, you're just not going to see stuff straight up.

25:59.960 --> 26:04.220
Locating your receiver next to the antenna is the best thing you can do.

26:05.740 --> 26:15.020
You can also use an in-line low noise amplifier at your antenna and have your receiver located a little further away.

26:16.380 --> 26:18.820
Feed line matters.

26:18.820 --> 26:26.760
The thinner the feed line, usually the higher the loss per foot or meter of the feed line, especially at those higher frequencies.

26:27.940 --> 26:40.140
If you can manage to run it and you want to, you can use LMR 400, which is nearly half an inch in diameter, but it's pretty low loss at those microwave frequencies.

26:43.660 --> 26:44.940
Filters are good.

26:45.880 --> 26:56.080
Filtering before your amplifier, you probably want to do that if you have a lot of really high-level local RF stuff so you don't overload your amplifier.

26:56.180 --> 27:01.940
However, having the filter before the amplifier means that you increase the overall noise floor of your system.

27:02.040 --> 27:04.960
The filter is going to introduce some loss.

27:05.940 --> 27:09.900
And so the signal you're receiving is going to drop down a little.

27:09.900 --> 27:11.260
Noise floor is pretty constant here.

27:11.260 --> 27:14.200
And then your LNA is just going to kind of raise everything up like that.

27:14.460 --> 27:23.860
So the signal itself in relation to the noise floor is not going to be, the ratio is not going to be great.

27:23.860 --> 27:25.840
The signal to noise ratio is going to be worse.

27:26.480 --> 27:27.920
Let's see what else.

27:30.180 --> 27:34.660
Flight aware sells 1090 and 978 megahertz antennas.

27:34.660 --> 27:37.300
They sell a 1090 filter.

27:38.640 --> 27:44.160
Oputronics sells 1090 and 978 megahertz filtered amplifiers.

27:45.020 --> 27:51.640
I actually have a reel of 100, 978 megahertz soft filters that I forgot to bring with me.

27:51.640 --> 27:53.040
They're in my room.

27:53.220 --> 27:54.420
So I can go grab those and bring them back.

27:54.420 --> 28:04.940
If anybody has really good soldering skills to solder a QFN three by three and a half millimeter surface bound device.

28:05.960 --> 28:07.420
So anyway, that's it.

28:07.420 --> 28:07.940
Thanks.

