start	end	text
0	7660	Grab a drink and find a seat, because it's time for the Pentest Partners Power Hour, presented by Pentest Partners.
7760	16380	Today we have Ken Monroe and Alex Lomas to regale the audience in their further adventures in hacking electronic flight bags, or EFB.
16400	23180	And to close out the first day of presentations at the Aerospace Village, they'll rant about all the terrible aviation hacking in the movies.
23180	25880	So let's give a warm welcome to Ken and Alex.
25880	26800	Hit it!
31750	34170	If everyone's ready, let's begin.
34870	36230	So thank you, everyone.
36490	39350	Thank you for making it through the first day of the Aerospace Village.
39790	41670	We have two talks for you for this hour.
41670	46490	The first one is kind of semi-serious, and the last one is very much not serious.
46610	49410	So I guess I'm the serious one, and Ken is not.
49550	56110	So I'm going to talk to you about electronic flight bags, but the sequel, as we did talk about them last year, but there's more.
57610	61330	So for those of you that didn't come last year, what is an electronic flight bag?
61330	67870	Well, it's a tablet computer that is used instead of paper charts.
70870	77450	Basically, EFBs have replaced paper charts and manuals.
77450	78710	These are really heavy.
78710	80830	They are really difficult to update.
80830	86450	So now pilots basically just take an iPad with them, which has a suite of applications on it instead.
86450	87750	This is much easier.
89330	90610	What do these apps do?
90610	91930	Well, there are lots of things.
91930	97030	So firstly, we want to compute takeoff performance, or perf.
97050	106710	And the reason we want to do this is that, firstly, we want to know if it's safe to take off from a given runway of a given length, but we also want to be really efficient in our engine use.
106710	110130	We don't want to use maximum thrust all the time.
110310	113810	That's expensive in fuel, increases wear, all that good stuff.
113810	119510	So we want to reduce the amount of thrust we use to take off, but to a safe level.
122530	125310	Weight and balance is also really important on aircraft.
125570	130430	We need to make sure the center of gravity is correct for a given loading.
130430	133150	So passengers and freight and all that kind of stuff.
133330	135250	And this is an example of a mistake.
135630	141450	So here we have an A320 that was switched out at the last minute for an A321.
141650	147930	The pilots should have changed the calculation for the model, the type, and they didn't.
148210	150470	And it was actually kind of a close call.
150690	154330	But no one hurt, nothing was damaged, everything is fine.
154730	159010	But one of the great things about aviation is that we publish our mistakes.
159110	166210	We hold our hands up and we publish for everyone to see this is what went wrong, don't make our mistake again.
166210	170750	And I think IT can learn quite a lot from the aerospace industry in that regard.
172590	176310	So here's another thing that we need to know is landing.
177950	184010	So the amount of runway we need to land can change quite dramatically depending on the weather conditions, for example.
184010	188170	So if it's snowy, icy, rainy, it's going to take longer to break.
188170	195210	But also air traffic control want us to turn off the runway for efficiency at a certain point.
195210	198610	So they might ask us to use certain auto braking parameters.
198670	203510	So it's really important that we calculate our landing distances accordingly.
204270	207330	So what is the kind of stuff that can go wrong?
207330	219590	Well, in extreme cases, a miscalculation of our takeoff speeds, weight and balance, whatever, could lead to the rather euphemistically termed runway excursion.
219590	221470	So that's going off the end of the runway.
221790	229450	Or if we miscalculate our takeoff speeds, we could rotate too early, scrape the tail on the runway in a tail strike.
229950	232170	Now, pilots are really well trained.
232170	233710	They plan for this.
233710	236330	They train in simulators for exactly this.
236350	241930	So injuries, fatalities are extremely rare even if we do have one of these kinds of incidents.
242610	247090	We might lose or damage the airframe, but everyone generally walks away.
248170	249730	So back to our AFBs then.
249730	252390	Our iPads, typically, is what these are.
252850	258950	We found that airline operators are maybe not treating these mobile devices with enough pardoning.
258950	261970	So no pin or really simple pin.
262190	266430	They are even asked to go out and buy their own from the local store.
266610	267910	They don't have an MDM.
267910	269310	They are not really locked down.
269950	287930	But even operators that do have a corporate device and enroll them in an MDM, it's not really just a matter of turning on every option in your MDM because a lot of things like, you know, enabling a face unlock isn't really going to work with pilots who are showing you sunglasses.
288270	294610	Or if there's a decompression and they have to don a full face mask, then this isn't going to really work out.
294610	299170	So there's quite a lot of thought required when implementing these things.
300230	303390	But it's not also just about these performance apps.
303390	308890	These iPads typically go home with a pilot or to a layover hotel.
309270	314350	So they're not only just used for their performance calculations, they have access to corporate data like email.
315370	318770	They often have all of the passenger data on them as well.
318770	322490	So your frequent flyer status, all that kind of good stuff.
322790	329350	But we've also heard of pilots giving their EFBs to their kids so they can watch videos because it's just handy.
331330	339710	Now, last year, previously in Aerospace Village, we disclosed vulnerabilities in Boeing's performance tool, OPT.
340130	347790	And the issue that we had with OPT is that all the data is stored inside plaintext SQLite databases.
347790	349710	There was no signing mechanism.
350070	354410	There's no integrity checks to prove that the data came from a trusted source.
354490	358690	So an attacker who's got local access can change these values.
359290	361830	And that has impacts on the calculation.
361830	365030	So, for example, we've got the runway length here at Heathrow.
365030	366670	This is the correct value.
367050	370350	But we could modify it to be 10 kilometers long in this case.
370350	374630	Now, something like this, a massively gross change would typically be picked up by a pilot.
374630	376870	This is not what you would expect to see.
377330	387650	But if we're operating on the margins of performance, what we would term hot, high, and heavy, then a small change might go undetected, and that's when we might start to see problems.
390130	392710	These distances also have an impact on our speed.
392710	395050	So these are real takeoff speeds.
395110	400110	These are modified speeds based on our injected data.
400150	403990	So, again, wrong, this could lead to a tail strike or something.
405250	407110	So Boeing were awesome.
407250	410970	I'm not just saying that, but they were genuinely great during the disclosure process.
410970	412250	They were really responsive.
412870	414570	They kept us informed.
414570	417410	It took two years for this to be fixed.
417410	422210	So this is not like a Google project zero, 90-day, publish and be damned thing.
422270	435910	And I think that's really important for the researchers to understand, is that sometimes we can push companies into making a change, and that actually has a greater safety impact than just leaving things as they were.
435910	443110	So it takes quite a long time to test and make sure that there isn't a regression when we push out a fix.
443430	445430	So this is all nicely fixed.
446150	448710	This year, some more issues.
449170	455010	So first up is Airbus fly smart paperless cockpit, I believe LPC stands for.
455010	456650	Again, this is a really similar thing.
456650	458530	There are plain text files.
458790	470150	In this case, these are the obstacles that are erected around a runway, so it's really important to know if there's a crane or chimneys or pylons, stuff like that.
470150	472230	So in this case, we can change them.
473350	476870	Or, again, we can change runway lengths at Heathrow.
477350	481790	So this is reflected back into the fly smart UI.
483570	491470	So we disclosed this to Airbus in 2021, and Airbus felt that this didn't really need addressing.
491470	499450	This was a known risk, and they actually described it as a product improvement if this vulnerability were to be fixed.
499450	501790	So it's still kind of present.
501990	505990	The mitigation obviously is that operators need to harden their AFPs.
505990	509490	This needs kind of local access to modify.
509850	514050	So I think that's reasonable, but we think they could probably go a bit further.
516550	527270	So the fly smart updater, this is a separate application that is used to update all of the charts and other data every month on what's called the ARAC cycle.
528950	533550	And I think one of the things to remember is that there are usually two AFPs in the cockpit.
533550	534950	Each pilot has one.
534990	539290	So if there's a mismatch between the values, then they're probably going to be picked up.
539290	541850	Or if I could impact both at the same time.
541850	551550	And this was kind of the issue with fly smart updater, which is that they had consciously disabled TLS certificate checking in the app.
551730	556290	So pilots tend to frequent the same layover hotels.
557290	566430	So we can spin up a Wi-Fi access point with the same hotel name, sit there and intercept traffic and actually modify this data on the way through.
567130	570350	So remember that they've got to keep these updated every month as well.
570350	573550	So it's just kind of a matter of lying in wait, I guess.
574930	581010	So this was a conscious decision, but this is now fixed in fly smart updater.
583500	589300	So Lufthansa have their own product called Lido, which is a charting application.
590400	593240	This has similar issues, but kind of different.
593760	598260	So their data integrity checks were not good.
598560	607300	So it's interesting that Lufthansa had decided to actually add cryptographic integrity updates, but the way that they implemented it was flawed.
607320	613200	So they calculated an MD5 hash of the data and then encrypted it with an AES key.
613540	619800	And then the client software did the same computation and compared that with the value that was shipped with the update.
620280	624660	But unfortunately, those encryption keys were in the client software.
624980	631160	So we could just make our own data with, you know, the correct hash.
632260	643440	What's kind of interesting is that the encryption key by default, there were several, but the default one that was in use was 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3.
643440	644460	You get the idea.
644560	645840	So that was kind of amusing.
646520	647860	So here's some examples.
647920	650080	It's like a vector-based charting application.
650080	658480	So in this case, we could change the real descent profiles to one that is lower, potentially bringing the aircraft into conflict with terrain, for example.
659260	668760	Here's another one that could lead to a really bad day, which is that if you're flying through Iranian airspace, you need to call up Iranian radar and make yourselves aware.
668760	671640	Otherwise, bad things will happen.
671640	674000	So we could change that to say, yeah, you're good.
674000	674500	No problem.
674500	675800	No restrictions apply.
675800	676860	Walk on in.
677520	679220	That would not be good.
679640	682420	So again, a really, really great interaction with Lufthansa.
682420	684860	We disclosed in May 2021.
685480	688340	They kept us informed all the way along.
688340	689820	It was all really great.
690000	693880	We published in conjunction with them in May 2023.
694540	703580	And actually, the version that we had tested, taken from a real-life aircraft in 2021, was actually already end of life in 2021.
703580	706840	So the software was out of date in 2017.
707560	713520	And I think it's quite a timely thing for operators to remember is that they kind of need to keep these things updated.
713520	721320	It's really hard and needs lots of checks, but they do need to keep up to date with vendor support, just like everything else in life.
722900	730620	So it does kind of feel like there's a common thread throughout many of these big EFB apps for multiple vendors.
731300	734200	Now, aviation is a really highly regulated business.
734960	745560	All the national regulators kind of have their own standards with EFBs, but mostly in theory, the airlines and operators, they're the ones that are responsible for hardening the EFBs themselves.
745560	747320	That's their job.
747880	753880	But should each operator be really be looking at this software on their own every single time?
754140	760680	Is it not better that there should be some guidance to vendors to make these things more secure from the get-go?
761820	766540	So there's been an update recently, a draft set of regulations.
767520	774100	And this does improve things a little bit in EFBs, we think.
775240	780660	There's still discussion of integrity, and I think that's still open to discussion.
781980	786500	Interpretation, does that mean a CRC, or does it mean cryptographic integrity?
786640	789260	So I think this needs to be improved still.
789260	793520	And the emphasis is still on operators to harden the EFBs.
793520	796240	So it's great for a pentest company like us.
796340	800080	Please, operators, come to us, and we'll tell you the same thing over and over again.
800080	805420	But overall, that's probably not great for the industry that we're having to deal with this all the time.
807540	813940	Now, I don't know whether people have come across this, but it's a risk analogy in aviation.
813940	816820	It's maybe not the best, but it's called the Swiss cheese model.
817240	822420	So each of our wholly slices of cheese is a hazard.
822420	828680	And it's only when all of the holes align in our cheese that there's an accident opportunity.
828700	833600	So we're not saying that EFBs on their own are going to lead to a safety critical issue.
833600	836060	They don't fly the plane for you.
836060	841200	There is still a pilot who ultimately makes those decisions and flies the aircraft.
841320	846080	But, well, yes, they can't change the aircraft.
846080	855980	But if the charts are wrong, in bad weather, with a high cockpit workload, that's when we feel that an accident is more likely to happen through this kind of issue.
857060	862560	So that's kind of a run through really quickly the more serious stuff on EFBs.
863400	865020	Surely you've got a drink.
865300	872160	Please go avail yourself to the free bar at the back, and Ken will be back in a minute talking about crappy things in the movies.
872620	874140	Have we got time for questions?
874660	876040	I can do questions.
876040	877340	Oh, my God, many questions.
877340	881980	So most of your research has looked at compromising the data once it's on the EFB.
882100	891940	Have you looked at the supply chain issue of the data coming from the state agencies to organizations like Jefferson, and then Jefferson pushing it out to the end user and compromising that in some way, shape, or form?
892140	894820	So the supply chain is an interesting one.
894820	896920	Different operators take a different approach.
897940	902380	Some will just take a data feed directly from Airbus or Lufthansa, for example.
902380	906020	And, yes, behind the scenes, I'm sure there's supply chain issues.
906020	912060	I mean, we're less easy to look at because we can't go pen test them without their say-so.
912220	919120	Other operators are different, and actually most of these apps have the capability to define their own data sources.
919440	924740	So some operators have their own systems for generating these databases and pushing them out.
924740	930760	So, again, that's another really interesting opportunity for getting in the way of these online updates.
930980	933500	Some aircraft will even do it through the cockpit.
933920	943700	So when the aircraft is at the gate, there is a way to update some of these EFBs through the aircraft itself, through TFTP, of all things.
944360	947320	So, yes, there's quite a lot of scope for this, yes.
947440	949000	Should we crack straight on with this, then?
949000	949940	What do you think?
950240	953760	So this is the less serious of the two talks.
953760	955660	It's the first time I've given this talk.
955820	957420	Kind of made it up a little bit.
957420	962560	But I thought it'd be quite good fun to look at some of the airplane hacks that we've seen in the movies.
964620	965340	More?
965420	966320	You want more?
966320	967640	Okay, we can do more.
967640	968520	So, quick recap.
968520	969300	Who the heck are we?
969300	971280	Alex kind of forgot to introduce us.
972420	976480	There's a bunch of us somewhere between Oxford and Cambridge in the UK.
977300	978800	There's a few of us are pilots, too.
978900	980560	I'm a really lousy pilot.
980560	982760	I successfully landed at the wrong airport once.
982760	983980	That was quite an achievement.
984800	986280	That took some doing.
988300	991080	We joined a group off the back of the experience with Boeing.
991080	995880	They asked us to give us some advice and they've been the most cool organization to work with ever.
996440	1013020	We helped get involved with the Descon Aerospace Village back in the day and we've done all sorts of really cool and fun work, including hacking 747s, 320s, and all sorts of fun airplanes that we found retired in boneyards.
1013400	1020120	It's amazing if you give the boneyard operator a bit of cash, they'll let you fire up the airplane and have a play.
1020120	1020640	It's great.
1020640	1022120	So, anyway, airplane hacking in the movies.
1022120	1027800	Why on earth am I spending my time and wasting your time talking about plane hacking in the movies?
1027800	1031420	Hey, TV shows and movies are there to entertain us, right?
1031420	1033660	We all like a bit of jeopardy, right?
1033660	1034760	That's important.
1035000	1037320	And why piss on their chips?
1037320	1038620	Why make a movie?
1038620	1039800	Why tear it apart?
1040060	1041960	Because it's not factually accurate.
1041960	1053140	Well, actually, I think it's really important because there are some very misleading narratives that are set in the media by journalists about airplane hacking.
1053420	1057100	And unfortunately, a lot of those myths persist in the movies.
1057100	1058500	They persist in TV shows.
1058500	1059440	And do you know what they do?
1059440	1061920	They actually set a narrative that damages industry.
1061920	1068300	So I think it's really important that we spend time looking at some of those insane plot holes.
1068300	1070420	Of course, there's only one place to start, right?
1070420	1073340	It's got to be Die Hard 2.
1073640	1080620	Yippee-ki-yay, mother... Anyway, every time I say that, you've got to drink.
1081700	1083500	This might be coming again.
1083500	1086360	Anyway, John McClane, isn't he the best?
1086360	1086620	Right.
1086620	1090180	So, who hasn't seen Die Hard 2?
1090680	1094940	Okay, you're screwed then because I'm going to go through the entire plot right now.
1095320	1097680	So, what is the plot of Die Hard 2?
1097680	1111420	Fundamentally, Dulles Airport, a terrorist team attack the instrument landing system and make it appear that it's 200 feet lower than it actually is.
1111420	1119400	So the airplane's flying in, hit the ground 200 feet before they're supposed to, and they crash and explode in flames, right?
1119400	1119740	Great.
1119740	1120780	What an awesome movie.
1120780	1123300	Now, there's a couple of issues here.
1123300	1128400	First of all, in order to do that landing, you need to be doing what's called a Cat 3 auto-land.
1128400	1131800	Now, Cat 3 is for when the weather's completely socked in.
1132280	1140960	There's a problem though, because in the movie, you can actually see the entire runway, but Cat 3 conditions don't make for great movies because you can't see shit.
1141200	1143000	Now, that's what Cat 3 really looks like.
1143000	1144920	You cannot see very much at all.
1144920	1148540	Once you can see the runway lights, yes, you go through the decision, you can land.
1148720	1154680	Now, the entire east coast of the USA is socked in with a snowstorm.
1154680	1157240	There's so many issues around this, it's nuts.
1157260	1174500	So when we take off in an airplane, we have to file an IFR, instrument flight rules flight plan, and we have to nominate alternate aerodromes, and we have to make sure that we can divert after making an approach to the next airport, and then hold for a specified period of time.
1175380	1180600	If the entire east coast was socked in with a snowstorm, no one would be taking off, right?
1180600	1181760	We know the weather's coming.
1182370	1187080	Some storm systems move quickly, but not quickly enough to outrun airplanes.
1187080	1191320	So the whole plot doesn't work.
1191400	1193260	But let's just roll that, right?
1193260	1194380	So I don't know.
1194380	1202900	So the whole piece was about an airplane landing, and the terrorists had a gun at its head, effectively.
1203020	1205120	And they were running low on fuel.
1205160	1210480	But there's a kind of an issue there, because if you were running low on fuel, you wouldn't carry on holding.
1210660	1213240	You'd just go somewhere else.
1213460	1214440	You'd go to alternate.
1214440	1218020	And if you look at Dulles, that's actually one of the Jefferson charts.
1218020	1220880	You can see downtown D.C., bottom middle.
1220880	1222420	You've got Dulles on the left there.
1222420	1224640	You've got Baltimore top right.
1224640	1226260	You've got Reagan National in the middle.
1226260	1230240	And in an emergency, you could stick something big into Reagan National if you really needed to.
1230240	1233280	It would be a lot better than crashing into a runway, right?
1233280	1236440	You can even land at a military base in an emergency.
1236940	1241140	So the whole plot concept just doesn't kind of work.
1241160	1243660	Now, this is where, I mean, I'd forgotten about this.
1243660	1250120	Alex found this for me, is apparently in A.T.C., they have an altitude dial.
1250180	1252480	So they can dial up and down the instrument landing.
1252480	1253720	So this is amazing.
1253720	1260760	Even better than that, they actually had a touch pen, and they took the instrument landing system, you can kind of make it out there, and dragged it down.
1261240	1262120	Wow.
1262280	1263280	That's incredible.
1263340	1265400	I wish I knew how to do this stuff.
1265400	1268600	So they moved it down.
1268600	1270880	But then there's another plot problem.
1271080	1278700	Because your typical rate of descent on an instrument landing system is about 700 feet per minute, maybe a bit more, maybe a bit less, depending on the wind.
1278700	1281000	But call it 700 feet per minute.
1281080	1289080	If they had put the instrument landing system 200 feet lower, you'd just hit the ground at 700 feet per minute.
1289080	1292480	Now, that's actually a survivable incident for an airplane.
1292480	1300100	It's going to cause a heavy landing, there's going to be an engineering inspection, you might have some maintenance to do, but it's probably not going to destroy the airplane.
1300940	1305520	Certain types are certified for landings up to 1400 feet per minute vertical.
1305720	1309020	It's going to be heavy, but you're not going to destroy the airplane.
1309420	1311140	I might spill my beer, though, Ken.
1311140	1312800	You would definitely spill your beer.
1312800	1317040	Alex, do you want to just talk us through a little bit about the way that an instrument landing system works?
1317120	1319280	Oh, now I have to remember my instrument training.
1320580	1327660	So I think this is a slight myth in ILS, but it holds, I think, for our discussion.
1328240	1332040	There are two beams, two radio beams, the localizer and the glide slope.
1332340	1340480	And you can think of the localizer as sort of two lobes, the top diagram, sort of a left hand and a right hand.
1340600	1343300	And where they overlap, that's your center line.
1343300	1349640	So if you fly to the left or fly to the right, then the beams are slightly stronger and you get that deflection on your instruments.
1349680	1352360	Sort of similar for the glide slope.
1353580	1361240	Think of it like an invisible beam coming from the end of the runway about on a three degree slope is what we would normally land on.
1361280	1362260	So in a nutshell.
1362560	1362840	Yeah.
1362840	1365840	So you fly up, you fly down, you fly left, you fly right, you land.
1365840	1367620	Now, how do they present it?
1367620	1369780	Now, you need a transmitter, a great big antenna.
1369780	1375780	When you've been on an airplane and you take off, look straight down and you'll see the instrument landing system antenna.
1376240	1380160	And of course, the big question is, can you really screw with an ILS?
1380160	1382000	Well, sort of.
1382000	1384640	So there's one thing you can do.
1384900	1388700	So the instrument landing system is usually configured about three degrees.
1388700	1395980	But there are a few airports around the world because of various skyscrapers in the vicinity where you can make it steeper.
1395980	1397980	And this is London City Airport.
1397980	1400760	If you've ever flown into it, they have a lot of short haul flights.
1400760	1404160	There's a lot of skyscrapers on the approach.
1404160	1406980	So they have a 5.5 degree glide slope.
1406980	1413140	And they have to have special software on the airplane so that the autopilot can cope with the steep descent.
1413140	1417220	But what you can't do is change the intersection.
1417220	1423380	And that's what they try to do in Die Hard 2, is they try to present the intersection being much lower than it actually was.
1423380	1427280	Now, you kind of could.
1427280	1436900	But in order to do that, you would need to dig a 200 feet deep hole at the end of the runway and also grade it at three degrees so that the signal would come out.
1436900	1438020	So you could do it.
1438020	1440240	This is Lelystad Airport in the Netherlands.
1440240	1442660	So what you would have to do is dig a quarry.
1442740	1444460	And then you could do your hack.
1444620	1446060	Then it would really work.
1446060	1447460	Or you could also go to St.
1447460	1450480	Helena, which is an island in the middle of nowhere.
1450660	1452580	And they built it over a cliff.
1452580	1455580	So what you could do is put the instrument landing antenna down there.
1455720	1460020	But given that only one or two airplanes go there a week, it's not going to kind of work, is it?
1460020	1462160	Dulles is a bit busier.
1462740	1463840	And there's more.
1464560	1468080	So we don't just rely on the instrument landing system when we're landing.
1468080	1475220	In Cat 3 auto land conditions when you can't see anything, we use the radio altimeter, or the radout.
1475220	1479080	And that tells the autopilots when to flare.
1479580	1483320	So we use the radout and check.
1483320	1484760	Yep, 50 feet.
1484760	1485680	Start the flare.
1485680	1486280	Descend.
1486280	1486920	Throttle's back.
1486920	1487380	Great.
1487380	1490680	Now, yeah, there are some really interesting things going on with the radio altimeters.
1490680	1497020	You probably saw a lot of press coverage last summer when we talked about the interference with 5G with radouts.
1497100	1502620	But, you know, worst case, yeah, you might just flare a bit high or flare a bit low.
1502620	1509820	We actually think that interfering with the radout is far more interesting than tampering with the ILS like die hard.
1509820	1512700	We also use DME, so distance measuring equipment.
1512700	1516100	It's used a little bit less nowadays, but it used to be very much how we did stuff.
1516100	1519540	Bottom left on the image, 7.4 nautical miles.
1519540	1526240	And it's a cross check on your approach to tell you that you're at the right altitude for the distance from the threshold.
1526900	1528440	And there's other crazy stuff, too.
1528440	1533680	So we don't just sit there and fly the ILS on autopilot.
1533680	1539340	We monitor everything, including the barometric altimeter, which you set manually.
1540180	1542700	There's also ground proximity warning systems.
1542700	1544720	Alex, tell us a bit more about those.
1544920	1551580	Yeah, so there is a system that will tell you if you're close to the ground, and it does change its state depending on what mode the aircraft is in.
1551820	1566020	But during landing, if you've come and flown our flight sim out there, you might have had this happen to you, which is if you're exceeding a certain excessive descent rate, then you'll get a warning about it.
1566020	1572620	So even if you can't see anything, the system will tell you to pull up because you're going too quickly.
1573100	1575540	That's kind of what ground proximity is, right?
1575580	1576580	There's more.
1576580	1581040	So the integrity of the instrument landing system is also monitored and managed by ATC.
1581040	1583320	So if it's going wrong, they know about it straight away.
1583320	1588060	There are systems, so that's one from Leonardo, that monitors the integrity of the approach systems.
1588060	1591220	And if you do get low, ATC will tell you as well.
1591220	1592720	So there's so many things going wrong.
1592720	1596500	How would we have done this hack?
1597220	1598580	We're the terrorists.
1599280	1601780	How would we have outfoxed John McClane?
1601840	1602660	How would we do it?
1602660	1616760	Well, I suppose what you could have done, you could have taken the instrument landing system, the legitimate one, you could take it offline, and then you could build another one about half a mile further away from the runway so the airplanes would come down.
1617340	1619360	That's not really going to work.
1619380	1629020	A much better attack would be to take the instrument landing system offline in those marginal conditions and force the airplanes to use a non-precision approach.
1629020	1634980	And by non-precision, we mean like a VOR letdown, we mean... what else do we do, Alex?
1634980	1636120	Using our eyes.
1636220	1637900	We're not very precise with our eyes.
1637900	1639060	That wouldn't be great, would it?
1639060	1640580	So okay, let's look at that.
1640580	1645100	And amazingly, this stuff happens.
1645120	1649580	So this is an interesting incident that happened at Charles de Gaulle airport a couple of years ago.
1650220	1656140	And an incoming, I think it was an A320, was given the wrong barometric pressure setting.
1656660	1661120	So the correct pressure setting was 1011 QNH, right?
1661120	1664120	So would we do it in millipascals in the UK?
1664120	1665720	No, no, no, no, hectopascals.
1665720	1667340	Sorry, hectopascals in the UK.
1667340	1669900	So over here you do it in inches of mercury.
1669900	1673140	So 29.98, I think, would be about the equivalent, right?
1673360	1675040	I don't understand those units, sorry.
1675040	1676420	It means nothing to me.
1676420	1678220	We'll start talking Fahrenheit next, right?
1678280	1684600	Anyway, and what happened is the ATC guy gave them the wrong pressure setting.
1684600	1685580	They missed out a one.
1685580	1689700	So instead of reading out 1011, they read out 1001.
1689700	1695360	That might sound like a little change, but actually the effect of that was nearly 300 feet of vertical distance.
1695460	1712940	And because of the lousy weather conditions and the non-precision approach conditions, the airplane approached, went straight through its decision height, went straight through, and amazingly, the captain figured something was a bit wrong, even though all the systems were misconfigured because of the wrong data,
1712940	1719060	went around toga, full power, and came within six feet of hitting the ground.
1719200	1720320	Six feet.
1720320	1722500	It's a fascinating accident report.
1722560	1724720	Really, really worth looking into.
1724720	1733200	So they nearly hit the ground about 0.7 of a mile from the true threshold just because someone read out the wrong number twice.
1733480	1734560	Bad day.
1734940	1736720	So it's possible.
1737000	1742740	But anyway, frankly, most approaches nowadays are moving to GPS, right?
1743000	1751200	And it's so much more plausible to spoof some GPS.
1751200	1752560	Difficult, don't get me wrong.
1752560	1758920	It's practically difficult because the receivers are on the top of the airplane, so you've got to be on top of the plane to spoof it, so you need another plane to do the spoofing.
1758920	1762360	But it's kind of more plausible.
1763120	1765140	So what we say is bullshit.
1765380	1766680	Die hard, too.
1767260	1768520	And let's have a drink.
1769380	1769980	Cheers.
1769980	1774300	So that is one hacking scene in the movies dismantled.
1774300	1775320	Let's go somewhere else.
1775320	1776460	I think there's a question.
1776460	1777380	Oh, sorry.
1777380	1779660	Is it a Christmas movie or not?
1779680	1782420	Yes, it's a Christmas movie.
1785600	1786600	Okay.
1786600	1789740	Next, we're talking about TV shows and movies.
1789740	1794340	I want to talk about a Netflix show that made me really, really mad.
1794680	1795900	I want to walk through the plot.
1795900	1797180	Has anyone watched this one?
1797500	1798320	MH370?
1798320	1799280	Okay.
1799620	1800520	Awesome.
1800540	1802240	This is Bananas.
1802240	1804860	So they did three episodes.
1805260	1812760	A journalist got really involved, and the first episode talked about the most commonly accepted theory, which was a pilot murder-suicide.
1812760	1816280	A horrible, horrible incident, but plausible.
1816280	1834180	In the second episode, I shouted at my TV, right, because they suggested this insane conspiracy where a Russian special ops team took control of the airplane from the avionics bay whilst transmitting fake satellite tracking signals.
1834500	1835140	Okay.
1835140	1835800	Let's go through it.
1835800	1836480	So what did they do?
1836480	1858140	The first thing they suggested in the documentary was that the special ops team caused a distraction in the airplane whilst one of the team opened up the avionics bay hatch, which is forward, just behind the cockpit, and then got down there without anyone noticing and put both the hatch and the carpet back undisturbed.
1858140	1858560	Wow.
1858560	1863460	I mean, we've been into avionics bays a good few times, and, yeah, it's not easy.
1863460	1864240	They're quite tight.
1864240	1878800	So next thing they did, and this is the bit where I got really mad, is the hacker connected their Windows laptop to one of the avionics systems and took control of the flight control systems.
1878980	1879820	It's like, wow.
1880160	1883440	We were looking at the connector going, like, wow.
1883660	1884620	That's Windows.
1884620	1886980	The great thing is avionics bays don't run Windows.
1886980	1887700	So let's go further.
1887700	1890000	So what they did, they did some horrible things.
1890000	1901900	They reduced the cabin pressure, which is doable from the avionics bay, and then they turned off the emergency effort cockpit, which is kind of doable, and the idea was that everyone died, and then they had control of the airplane, right?
1902840	1912720	And, of course, the next thing they did is then to control the plane, and they used a UEFI BIOS exploits to control the plane and some DNS exfiltration.
1912720	1916400	We zoomed in on that to prove it, and, of course, it's always DNS, right?
1917420	1920560	This is the most implausible thing I think I've ever seen.
1920680	1933640	The next bit they did is they fooled the SATCOM terminal into giving the wrong timing pings, and given that the, I think it was Inmarsat who knew this SATCOM terminal, even they didn't really know their terminal did this stuff until a few days later.
1933900	1935100	This is just insane.
1935100	1943100	And the idea was that instead of this plane going south on an arc, it was flown north in an arc into one of the stands, and they were going to land there.
1943120	1947240	And this all coincided, as you might remember, with the first invasion of Crimea.
1948080	1955840	And the conspiracy theory was it was there to distract the rest of the world from what was going on in Ukraine.
1956620	1958820	Yeah, let's look at this.
1958820	1964900	So they talked about depressurizing the cabin in order to kill everybody.
1965100	1971520	Now, as soon as the cabin pressure rises, typically over 10,000 feet, there will be alarms going off in the cockpit.
1971900	1977240	And there are some planes, actually, if the cabin pressure rises to a certain point, it will do a crash dive by itself.
1977460	1978680	Certain modern planes.
1978680	1987980	But even if the oxygen supplies to the crew were interrupted, there's still time to put it into a crash dive, to get it to take a lower height, down to 10,000 feet where we can live.
1988420	1990420	They might have passed out for a couple of minutes.
1990660	1991880	But killing everybody?
1991880	1992480	No.
1992480	1993920	Just isn't going to happen.
1994280	1998760	They were also taking control of the airplane systems from the avionics bay.
1998760	2000980	So you'd argue they were taking control of flight by wire.
2000980	2003240	Now, this airplane was a 777.
2003480	2004780	It does have flight by wire.
2004780	2006220	I actually learned this recently.
2006220	2011520	But actually, as I understand it, there are still some physical interconnections to certain of the flight control systems.
2011520	2013880	So there would have been resistance from the flight crew.
2014240	2020300	And then if you were going to hack a plane, the one plane you don't hack is the 777.
2020660	2021400	Why?
2021440	2024060	Because it's got a unique protocol.
2024320	2030280	Everything else flies with a protocol called ARINC 429, which is relatively easy to decode.
2030280	2032320	You can decode it with a PicoScope, I think.
2032520	2034120	You can do it with a Raspberry Pi if you want.
2034680	2036480	Raspberry Pi would do it great.
2037020	2046800	Anything later like the A380, the Boeing 787, they use a bit more familiar to all of us.
2046820	2056680	But the 777 uses a custom protocol called ARINC 629, which is incredibly difficult to decode without some exceptionally expensive gear.
2056680	2059200	Alex, how much was that decoder that you got hold of?
2059340	2061020	That was $20,000.
2061240	2062580	I had to give it back.
2062920	2064000	They wanted it back.
2064000	2064920	What a shame.
2064920	2066400	I look old there, by the way.
2066400	2067160	I don't know why.
2067160	2068800	So they chose the wrong airplane.
2068920	2071700	That was another massive mistake they made as well, which is just crazy.
2071700	2075440	And then uploading software in the avionics bay.
2075500	2076580	What were they doing?
2076580	2089940	So as you've probably seen, I think one of the most watched DEF CON Village talks ever was Alex's talk during COVID where we talked about how you upload software using floppy disks in certain older airplanes.
2089940	2092900	That's the data loader from a 737, I think.
2092900	2095020	It's quite old, deprecated now.
2095020	2099180	But it's difficult to get software to go onto avionics.
2099180	2100360	There's so many controls.
2100360	2101720	So you want weight on wheels.
2101840	2103200	Landed, so it's safe.
2103320	2108580	And the software assigned, so the concept of loadable software air parts.
2108580	2109880	And even dedicated loaders.
2109880	2111500	You don't do it from a damn laptop.
2111500	2112900	So how would we have done it?
2113820	2117720	Well, if this ridiculous conspiracy theory was possible.
2117720	2120880	So the only way you do it is compromising engineering teams.
2120880	2122080	You'd have to have a rogue agent.
2122080	2124120	You'd need to re-sign the code yourself.
2124160	2126060	You'd have to code some rogue firmware.
2126060	2129820	But frankly, it's just making shit up.
2130140	2147020	It was really, really annoying to see a very sad and distressing episode commercialized for views and clicks and entertainment was something I think was probably a bit disrespectful to those who passed away.
2147020	2154000	So I think it was really, really sad that someone made up an unbelievable hack.
2154520	2155180	All right.
2155180	2156300	That's that one done.
2156420	2158380	Let's talk about Scorpion.
2158860	2162620	Has anyone seen the movies, sorry, the TV show Scorpion?
2162620	2164400	Was it 2014 or 16, Alex?
2164400	2165680	It's quite a while ago.
2165680	2166440	Do you remember this?
2166440	2171900	So this is the maddest script I think I've ever seen.
2171900	2178240	So this is an airplane that can't land because of some crazy something to do with the software.
2178260	2190820	And kid drives along in a Ferrari, pops the soft top off, stands up, grabs an ethernet cable from the copilot who's hanging out of the undercarriage and downloads some software from it.
2190820	2192300	So let's look at this.
2192440	2193920	Let's look at this.
2194800	2195380	Okay.
2195380	2198600	The plot is not a plot.
2199680	2203820	So that's the avionics bay in this short-haul airplane.
2203820	2209650	I think based upon what it looked like, I think it was a 737 and that's the avionics bay.
2209650	2212490	Has anyone here been in an avionics bay?
2212490	2213170	Anybody?
2213270	2213950	Okay.
2213950	2215250	Do they look like that?
2215250	2217530	No, they look like that.
2217790	2220630	And they are full of sharp edges.
2220990	2221930	They're very tight.
2221930	2224630	So that one is about four and a half feet high.
2224630	2227370	That's the avionics bay on an A320, right?
2227990	2230950	It's really not very tall.
2230950	2238670	It's full of incredibly noisy equipment and there is not a shred of RJ45 or ethernet cabling in there.
2238670	2241010	It's that particular one.
2241570	2244950	So they dangled a network cable out.
2244950	2247910	So that's the scorpion flight control network connector.
2247910	2256530	Now, okay, airplanes don't use IP, but when they do on some very specific networks, that's the real one, right?
2256530	2261510	That's a genuine aviation ethernet connector, but that's not used for flight control.
2261630	2263870	But it's obviously got screws on so they don't fall out.
2263870	2267190	So that is a real hatch.
2267190	2270070	Because remember, the guy climbs down.
2270290	2279090	It goes out of the avionics bay door, climbs down the undercarriage, down the gear, but actually that hatch is nowhere near the gear.
2279830	2285750	And I don't know if any of you have tried sticking your head out of your car window at like 100 miles an hour.
2285870	2287090	Doesn't work, does it?
2287090	2293030	Try it at 160 miles an hour, which is like 140 something knots, which is what an airplane enters short finals at.
2293190	2296230	You aren't going to hang on to that undercarriage.
2296230	2296970	It ain't going to happen.
2296970	2299030	You see he's got the ethernet cable dangling.
2299030	2301330	So other crazy plot holes.
2301330	2310690	Now, during the entire segment of the TV show, the undercarriage, the gear, is down.
2311830	2313210	What is going on over there?
2313210	2316950	The undercarriage is up, right?
2317130	2319770	And he's also flying towards some lights as well.
2319770	2320950	That seems a little brave.
2320950	2322210	Other crazy stuff.
2322210	2332150	So when the Ferrari has done its thing and starts braking, it brakes really, really hard, but somehow it ends up on the ramp.
2332170	2332970	How did that happen?
2332970	2336130	With like lamps behind as well.
2336210	2345210	And then I don't know if you remember this bit from the show is as they're climbing away, having downloaded the software to the car, they then buzzed the tower.
2345210	2347550	So they had so much time left over.
2347550	2351090	They had time to download the software and then go and buzz the tower just because they could.
2351090	2353690	They left the runway center line just to go and buzz the tower.
2353690	2354330	Genius.
2354690	2359990	So was there really a legitimate hack in there?
2359990	2363810	Well, we think there is.
2364530	2365930	But it's not very serious.
2365930	2367390	We actually made a little video for you.
2367390	2377230	We actually went down to an airfield in the UK and we recorded a little video of what you could genuinely do that might stand up to Scorpion.
2377230	2377850	So here we go.
2377850	2379230	Let's see if it's going to play.
2382770	2383810	Right.
2384670	2388490	So that's the external hatch on a Boeing 747.
2388490	2390270	You can see the undercarriage down there.
2390270	2394110	There is genuinely an RJ45 Ethernet connector in the EE bay.
2394110	2395450	We dangled it out.
2395490	2398950	Yeah, we didn't drive anywhere.
2399790	2401730	We've got a laptop ready because it's Windows.
2401730	2402970	Remember, we can do this stuff.
2402970	2404050	Got the laptop open.
2404050	2405770	My colleague is hanging on for dear life.
2405770	2408330	Yeah, anyway, we uploaded some software.
2408330	2417570	And what we discovered we can do by dangling is we actually could upload Scorpion, the TV show, to the in-flight entertainment system from a car outside.
2419330	2420250	There you go.
2423070	2425230	That was mad.
2425510	2426330	Yay!
2426330	2427430	There you go.
2429130	2431770	There's one last movie I want to comment on.
2432030	2434510	Transformers, what an awesome movie.
2434850	2442930	Now, there is one point where Air Force One is compromised by one of the bad guys in Transformers.
2443350	2444090	Autobots.
2444090	2444630	No, the other ones.
2444630	2445410	What are they called?
2447750	2455850	And they go into the avionics bay of this Air Force One, and in there, they find a mainframe.
2457370	2459670	What is it about mainframes in the movies?
2459670	2461050	I have no idea.
2461050	2463470	You can even see P-O-U-T-S right at the top.
2463650	2465370	So yeah, they found a mainframe in an airplane.
2465370	2467530	I do not know how on earth they did that.
2467530	2471750	So kind of where I want to leave all this is airplanes are complicated things.
2471750	2480630	But there is so much that the movies and TV shows could do to actually show something sensible.
2480650	2481510	And if we go back to Mr.
2481510	2491390	Robot, which has got some people at DEF CON on the script writing crew, plausible, demonstrable hacks, why don't they do that rather than just making shit up?
2491530	2499650	It really, really riles me when we find unbelievable, unhelpful hacks demonstrated in the movie.
2499650	2503450	It took me and Alex quite a while to find the various sources of this.
2503450	2508670	So if anyone else knows any TV shows with airplane hacking in, please send them in to us.
2508670	2509670	This is us.
2509670	2511110	You will find our details there.
2511110	2512130	Thank you so much.
2512130	2512870	Enjoy the beer.
2512870	2513550	Thank you.
