start	end	text
0	4680	Hello, I'm Nick Exploding Lemur. I've been doing IT for a long
4680	8640	time. I've been coming to DEF CON for a long time. It's awesome
8640	12400	to see. So this is gonna sound weird. It's awesome to see
12400	16080	people that were born when I first came to DEF CON that are
16080	22560	coming to DEF CON now. And I feel old. Playing with
22560	26480	electronics and stuff for forever. Playing with SDR for a
26480	31820	while. I've been a ham for about 20 years. So I like radios. I
31820	36440	like listening to stuff and monitoring and seeing what fun
36440	44480	I can I can hear. So how many radios do we have on aircraft? A
44480	51340	lot. We've got various systems for communication, telemetry
51340	57720	systems. Either just one way or two way ping response.
58060	62300	Navigation. All kinds of stuff. And then, of course, on
62300	65240	commercial aircraft, much in the way of passenger
65240	70180	entertainment. So let's start with the easy ones. Voice
70180	75400	communication. Aircraft always need to talk to air traffic
75400	85040	control, ground traffic, each other. So there is VHF, which
85040	91500	is typically used in kind of close in, within, depending on
91500	94500	the altitude of the aircraft, you can have about 100 miles or
94500	104200	so of range, plus or minus, etc. And hang on. There we go.
104200	110700	Spacebar wasn't working. The VHF voice comms are all AM, which
110700	114080	is just amplitude modulation. It's very simple, has a carrier
114080	121060	and two side lobes. The nifty thing about AM is from the
121060	126620	control tower's perspective, whoever is the closer aircraft
126620	133420	is going to be louder. Actually, it will receive as louder in
134040	137880	their receivers because the amplitude of that signal is
137880	144060	going to be higher than anything that's far away. If you
144060	149820	have aircraft talking over each other, you can actually hear
149820	153780	that there is doubling going on instead of with FM, where your
153780	160640	receiver will capture a closer signal that is within a certain
160640	163400	number of dB. I can't remember off the top of my head. Anyway,
163420	167440	AM, you'll hear this fun squealing sound, which is the
167440	169840	phase difference between the carriers of the two
169840	174820	transmitters, but you can also kind of hear the voices kind of
174820	181300	mixing somewhat. And that's going to be at 118 to 137
181300	187840	megahertz. AM being entirely analog, no encryption, no
188780	191900	integrity checks, no authentication, etc., which you
191900	199040	will see as a theme throughout this talk. Approach, departure
199040	205760	and route, etc. Oh, yes, there are also the automated weather
205760	211720	reports from the ground, so pilots can kind of tune in and
211720	216500	hear what's going on nearby. There's also HF for
216500	222080	transoceanic flights. That uses single sideband, which
222080	225700	suppresses the carrier and one of the side lobes. It's more
225700	230940	energy efficient. And that actually gives you an easier
230940	234140	time hearing pilots talking over each other because you
234140	242760	don't have that carrier phase interaction. So that's 2.8 to
242760	248880	25 megahertz or so. That also has weather reports. There we
248880	253160	go. I thought I had another thing. Weather reports, air
253160	258560	traffic, etc. The fun thing about HF is it is entirely
258560	264320	dependent on solar weather. So if there are any sunspots,
264320	271740	solar flares, etc., where we are in the solar cycle and the
271740	275240	time of day and the frequency you're using, where the
275240	277540	transmit and receive stations are. Because at different times
277540	280920	of day, the ionosphere will be doing different things and
280920	283860	different signals will bounce off it in different ways. So
283860	292500	it's not nearly as predictable. I'll stick with that. I'm
292500	300800	sorry. I am super out of it. So bear with me. So that's
300800	306420	pretty much it for voice. Let's go on to data, which there's
306420	312840	even more fun stuff. There's the VHF data link, which again
312840	322720	just is on those same VHF channels. There we go. That's
322720	330000	what I was looking for. It's an eight-state differential
330000	342340	phase shift keying modulation. Carries ACARS, which we'll get
342340	349980	to shortly. There's also the HF data link, which is the same
349980	353360	frequencies as the HF voice communications. Much lower bit
353360	359980	rate. Maxes out at 1800 bits per second. Where's the VHF data
359980	365180	link? It was 30 or so kilobits per second. This uses a
365180	369740	variety of phase shift modulations, either 2, 4 or 8
369740	379380	way. Also carries ACARS. And then as for ACARS, it is the
379380	381620	aircraft communication addressing and reporting
381960	387720	system. It has telemetry, status of various systems in the
387720	393260	aircraft. Sometimes it'll carry position information. Also
393880	398020	communications between ground controllers and the aircraft
398020	401680	and aircraft and ground controllers. I should be
401680	405680	eating space more often. CPDLC is the controller pilot data
405680	412140	link communications. It's basically cockpit to ground SMS
413280	418600	used in commercial aircraft. They'll use it to get route
418600	423880	clearances and such through their controllers and check in
423880	429660	and do some various messaging in route. Saying, hey, I'd like
429660	433000	to descend to, you know, flight level whatever. Can I do that?
433000	443180	Yay. For position telemetry, sorry, we have a variety of
443180	450880	systems. So the MODES transponder is the kind of
451510	456600	predecessor to ADS-B. It's in use by the secondary
456600	461840	surveillance radar systems. So air traffic control, think of
461840	465960	those big spinning radar dishes. For the most part, all
465960	471820	those that are doing is sending out a one gigahertz ping and
471820	474160	then they get back a slightly higher one gigahertz response
474160	479480	at 1090 megahertz. And that includes the aircraft
480280	484960	transponder ID, squat code and altitude. It's a pretty limited
484960	491220	subset of data. And then just through the spinning radar dish
491220	494020	sending out that ping, it says, okay, the dish was pointing in
494020	497720	this direction. It took this long for the response to come
497720	501120	back. So I know that the aircraft is on that heading and
501120	504260	I know it's that far away because I can calculate based on
504260	512740	the speed of light. Then ADS-B is the one that everyone's
512740	517420	having fun with these days. It's a pulse position modulation
517420	526860	signal and carries a lot more stuff. The transponder ID,
526860	530740	squat code, flight or tail number, altitude, speed,
530740	537340	heading, location, climb rate. Yes, I said altitude. So that's
537340	540340	essentially just the aircraft transmitting constantly. This is
540340	544500	where I am. This is what I'm doing, etc., etc. ADS-B is
544500	549800	automated dependent surveillance broadcast. So it's
549800	553280	constantly broadcasting. It's automated. It's doing it
553280	558300	whenever it wants. And it is a dependent surveillance system.
558300	563280	So the air traffic control depends on the aircraft
563280	567160	actually sending this, which is the dependent part. Whereas the
567160	573440	mode S transponder is, I guess, a semi-independent system.
574720	581360	Then primary radar systems are really just, I send out a ping,
581360	583620	I get a response, I see there's something there, something on
583620	589580	that heading, and that's all I know. RenderMan is doing some
589580	593940	ADS-B receiver workshops, or was. I don't know what the
593940	596780	schedule is for that. If you had a chance to go to that, if
596780	598980	they've happened, or if they haven't happened, see if you can
598980	602060	get a chance to go to those, build your own ADS-B receiver,
602060	606660	see what's in the air, it's pretty cool. RenderMan also has
606720	611260	a bunch of talks on ADS-B and the terribleness within. Again,
611260	616240	unencrypted, unauthenticated, that one is super easy to just
616240	620580	throw anything into the air and make stuff appear on people's
620580	628700	screens. So it's not so great. There is also the universal
628700	634940	access transceiver, which is a 978 megahertz system that is in
634940	641520	the US only. It's utilized for general aviation craft that fly
641520	649500	under 18,000 feet. So commercial aircraft, even though
649500	653260	they, if they're in that 0 to 18,000 foot window, they fly
653260	657060	above 18,000 feet eventually, so they stick to ADS-B. The
657060	660040	reason this is set up is just because of the sheer amount of
660040	664400	general aviation traffic in the US. And ADS-B doesn't have any
664400	667220	sort of carrier sense, so they are just constantly squawking
667780	675660	and easily talk over each other in crowded areas. So as an
675660	679100	incentive to get general aviation pilots to spend a bunch
679100	684300	of money on these systems, the FAA said, okay, let's put some
684300	689640	nifty stuff in here. So in addition to the transponder
689640	693260	sending their telemetry data out, they can also receive from
693260	698480	ground stations, weather, NOTAMs, TFRs, other in route
698480	705920	data. And there's also a system that will, once it, once a
705920	709440	ground station receives a UAT packet from something in the
709440	715220	area, it will start retransmitting ADS-B stuff that
715220	720280	it receives that is in the vicinity of that aircraft. So
721040	726160	it gets the benefit of seeing all of the ADS-B stuff, even
726160	734020	though it's not on that, on that frequency. And then also
734020	740340	SiriusXM, really, they have a aircraft service that also
740340	744180	gives them, it gives pilots NOTAMs and TFRs, et cetera,
744420	748400	weather data. Their selling point, according to their
748400	752520	website, is that it's higher resolution stuff and you get it
752520	759020	more frequently. I haven't looked to confirm that, but I
759020	763760	don't know how much is just marketing BS or not. So, but
763760	769100	you also get music from, from their 180 channels of, you
769100	777080	know, whatever. And then there's also data communications
777080	783960	and telemetry systems. Inmarsat is one that is commonly seen in
783960	790760	the news after the Malaysia air flight disappearance. So the
790760	798840	aero service carries, I'll get there, carries ACARS data. And
800460	803900	it's actually pretty easy to receive the ground station to
803900	806720	aircraft transmissions. You just need a tiny patch antenna
808060	812380	for about 1.6 gigahertz, circular polarized. An amplifier
812380	817140	will help. And then an SDR will let you pull that down. To get
817140	820740	the other direction, which is aircraft to ground, you need
821060	827840	a, like eight foot or so dish to receive C band transmissions.
827840	832560	So it goes one way and then the other. And that translation
832560	837320	happens in the satellite itself. So that one is the more
837320	841240	interesting one. If you want to see aircraft location data off
841240	847440	of the satellite. There's also within that signal, there's ADSC
847440	854760	which is sort of a pub sub model. The ground station will
854760	859040	send up a signal and say, Hey, I would like this data from you.
859040	861700	And then the aircraft will say, okay, here, I'll send it to you
861700	865900	now and start beaconing it. And that will include a variety of
865900	869660	different things, not just location. It will also have, you
869660	877080	can subscribe to other aircraft telemetry systems and get a
877080	883420	whatever. There's also digital voice. That one will make use of
883420	890900	the Ambi codec or LPC. Digital voice codecs, easy to find
890900	895800	decoders for those. And then there's also Swift 64, which is
896920	903780	this one's fun. It's actually ISDN. So for the old telecom
903780	913560	people, yay. Navigation, satellites, GPS, clone-ass Baidu, Galileo,
913560	917420	et cetera. This is magical relativistic atomic space clock
917420	923000	pixie dust. This works by every satellite carrying an atomic
923000	928480	clock that is corrected for general relativistic differences
929580	935840	where the higher you get from the earth, the faster your clock
935840	940940	runs. You can do some fun experiments. If you have a couple
940940	945260	of nice, like, cesium time sources, you can set one down on
945260	948500	the ground and then go up to like a, you know, 5,000 foot
948500	951400	mountaintop and then come back down and the one that was on the
951400	956080	mountaintop will be a little bit faster. You know, great, great
956080	965900	outing for the kids. Anyway, so the satellites have that
965900	970000	corrected signal. They send out their, just the time beacon
970000	974760	basically, and your receiver gets that. It sees the difference
974760	980240	in time on each of the received signals. It has its own internal
980240	983360	almanac that is transmitted by the satellites that tell it
983860	987300	where the satellites are at any given time in the sky. And so
987300	991220	from that, it can calculate, okay, satellites are supposed to
991220	995120	be here. I'm getting a time of this and this and this and this.
995120	1000700	I must be here. And yeah, that's how that fun magic pixie dust
1000700	1010280	works. One that is, yeah, anyway, VOR, VHF Omnidirectional
1010280	1017520	Ranging is a beacon system, 108 to 118 megahertz, encodes the
1017520	1022340	station ID, other data. And there are two systems. There's
1022340	1028820	the conventional VOR, which has a single or one omnidirectional
1028820	1031880	carrier signal, and then a secondary signal that's
1031880	1037560	transmitted from a phased array antenna. And it has a phase
1037560	1044340	delay of its signal in relation to the carrier signal that
1044340	1051860	changes across the entire rotation of that antenna. So if
1051860	1057760	you are, so if you get the main signal and then the secondary
1057760	1061880	signal is 90 degrees out of phase with the first one, that
1061880	1066060	means you're on a bearing of 90 degrees from that beacon.
1068320	1073480	The 270 degrees out of phase, you're 270 degrees from that
1073480	1079580	beacon. And that's, yeah, that just tells you basically where
1079580	1086720	you are in relation to the beacon from zero degrees is
1086720	1090220	going to be north. Anyway. And then there's also the Doppler
1090220	1095780	VOR, which has an array of antennas that are spread much
1095780	1104680	further apart. And those are, you rotate the carrier signal
1104680	1109800	through those, either mechanically or electrically. The
1109800	1113960	mechanically is literally just like a servo with a piece of
1113960	1119260	coax that kind of spins around and vaguely goes next to the
1119260	1122740	feed lines of all the other antennas. So it kind of, as it
1122740	1125420	starts to couple with one, it'll, it'll slowly stop
1125420	1127480	coupling with another, goes around, gives you a nice
1127480	1131960	constant rotation instead of a stepped rotation. Electronically
1131960	1141300	you can do that with just RF switches. And then the redshift
1141300	1147160	and blueshift of the signal as it rotates towards you and then
1147160	1153380	away from you, you can tell at what point it is on a center
1154400	1161820	and basically when, when the, so yeah, so as it is at this
1161820	1166480	point and it's coming towards you, that's going to be the
1166480	1169860	maximum blueshift. And then it's going to hit a point where
1169860	1175600	it's going to stop blueshift, stop blueshifting and start
1175600	1179000	redshifting away from you. Which is to say the, the
1179000	1180680	frequency as it approaches you is going to be a little bit
1180680	1182900	higher. As it leaves you, it's going to be a little bit lower.
1182920	1185780	And then from there you can tell, okay, I am on this
1185780	1195020	bearing from it. DMA, sorry, DME, distance measuring
1195020	1202640	equipment, is UHF, microwave-ish. It is literally
1202640	1209980	just ping response. You send out a signal and say, hey, and
1209980	1213820	the station receives it. It waits a set amount of time,
1213820	1217140	which I think is typically 50 microseconds. Then it sends
1217140	1220800	you the response back. And thanks to the wonders of
1220800	1223700	knowing the constant speed of light, you can figure out how
1223700	1230460	far you are, how far away you are from it. The DMA, sorry,
1230460	1235240	DME system, I'm playing with DOS computers at home, so DMA
1235240	1241100	settings are stuck in my mind. Don't ask me why. It has to do
1241200	1245080	a bit of math to understand where you are in relation to it
1246380	1250700	from a ground distance perspective. Because if you're
1250700	1255620	up in the air here, and the station is here, the distance
1255620	1260080	is going to be this section of a triangle. And fortunately,
1260080	1262560	you also know your altitude, which is this section of the
1262560	1265860	triangle. So then you can easily solve for this section.
1265860	1269300	A squared plus B squared equals C squared. Yay, Pythagoras!
1269300	1271380	Helps us know where we are.
1274000	1279460	TACAN is a military VR DMA system. It can be co-located
1279460	1283780	with civilian systems to provide DME service for civil
1283780	1292400	aircraft. But the VOR stuff is not available for civil use.
1295250	1300970	Navigation, the ILS, that previous talk, if you were here
1300970	1307850	for that, was fantastic for a guide on how ILS works. So
1307850	1314530	basically you have two transponders, one VHF, one UHF.
1315290	1320210	They send out two signals, one to the left of the runway,
1320210	1323830	one to the right, one kind of low, one kind of high, and
1323830	1328210	those are modulated at either 90 or 150 hertz. And from the
1328210	1331870	relative signal power of those two signals, you can tell if
1331870	1335450	you are to one side or the other, or on center line,
1336030	1339690	laterally and vertically, coming into your glide slope.
1343470	1348190	As far as passenger entertainment goes, you have all
1348190	1351650	of your fun internet services. NMARSat provides the Swift
1351650	1358170	broadband service. There's Viasat and GoGo. GoGo has some
1358170	1361690	satellite service, but I believe most of it is actually
1362570	1365430	ground-based. So they have ground stations that talk
1365430	1370170	to the aircraft instead of through a satellite. Benefit of
1370170	1378910	that, less ping time. Admiral Grace Hopper has this
1378910	1382570	great little thing that she did, which was she carried
1382570	1387170	around a nanosecond with her, just a piece of wire that was
1387170	1390910	precisely one nanosecond long in terms of the speed of light.
1391050	1393350	She would, when other generals would ask her, why does it take
1393350	1395590	so long to get stuff from a satellite back, she'd say,
1395590	1398770	well, there are a lot of these between here and the satellite.
1400190	1407130	The geosynchronous ones are 25,000 miles up, 20 to 20...
1407130	1411530	22,000. Thank you. So, yeah, it takes a bit.
1415170	1420670	So, yes, those are all the fun passenger hamlet systems. So
1420670	1424670	that was my fun, super fast, vague run through all of the
1424670	1431110	aircraft radio systems. I am going to put up this online.
1431110	1433970	I'll show you links in a minute. I'll also have
1433970	1436570	information on how to receive all of these things if you want
1436570	1441350	to. It's a lot of really cool stuff. For those that do have
1441350	1445310	ADS-B receive stations or want to set them up, I highly
1445310	1448390	encourage you, if you're in the US, to get a second SDR
1448390	1451910	dongle, set it up for 978 megahertz because there's a lot
1451910	1456150	more cool stuff there. Low-level, general aviation
1456150	1458910	stuff that you are not going to see from just ADS-B
1458910	1465670	transponders. So that is very nifty stuff. Anyway, after that
1465670	1476400	spiel, does anybody have any questions? Yes? I'm sorry, say
1476400	1509380	that again. Okay. Anyone else? Okay. I'm going to do a quick
1509380	1513540	spiel on ADS-B and UAT systems then on how to optimize your
1513540	1521080	system for RF performance. So high-gain antennas on these
1521080	1524280	systems actually can hurt you in some cases, especially for
1524280	1529600	UAT. The higher gain an antenna goes, the lower the receive
1529600	1535260	lobes are vertically. So with UAT stuff, there's a lot of
1535260	1541100	low-level things flying pretty close to you, above you, and
1541100	1543280	your antennas are just really not going to get that if it's a
1543280	1551880	super high-gain antenna. That can help you for ADS-B stuff
1551880	1555440	if you're looking for things far off. But again, as commercial
1555440	1557940	aircraft overfly you, you're just not going to see stuff
1557940	1562660	straight up. Locating your receiver next to the antenna is
1562660	1569880	the best thing you can do. You can also use an in-line low
1569880	1573200	noise amplifier at your antenna and have your receiver
1573200	1579180	located a little further away. Feed line matters. The thinner
1579180	1583080	the feed line, usually the higher the loss per foot or
1583080	1585680	meter of the feed line, especially at those higher
1585680	1591380	frequencies. If you can manage to run it and you want to, you
1591380	1597760	can use LMR 400, which is nearly half an inch in diameter, but
1597760	1604100	it's pretty low loss at those microwave frequencies. Filters
1604100	1611020	are good. Filtering before your amplifier, you probably want to
1611020	1613940	do that if you have a lot of really high-level local RF
1613940	1616840	stuff so you don't overload your amplifier. However, having
1616840	1620040	the filter before the amplifier means that you increase the
1620040	1623260	overall noise floor of your system. The filter is going to
1623260	1628840	introduce some loss. And so the signal you're receiving is
1628840	1630880	going to drop down a little. Noise floor is pretty constant
1630880	1632920	here. And then your LNA is just going to kind of raise
1632920	1639700	everything up like that. So the signal itself in relation to
1639700	1643540	the noise floor is not going to be, the ratio is not going to be
1643540	1646960	great. The signal to noise ratio is going to be worse. Let's see
1646960	1653200	what else. Flight aware sells 1090 and 978 megahertz
1653920	1660660	antennas. They sell a 1090 filter. Oputronics sells 1090
1660660	1666660	and 978 megahertz filtered amplifiers. I actually have a
1666660	1671360	reel of 100, 978 megahertz soft filters that I forgot to bring
1671360	1674160	with me. They're in my room. So I can go grab those and bring
1674160	1676480	them back. If anybody has really good soldering skills to
1676480	1683660	solder a QFN three by three and a half millimeter surface
1683660	1687940	bound device. So anyway, that's it. Thanks.
