start	end	text
0	6400	Good morning. Ah, there we go. Good morning, everyone. I am Lillian Ashbaker. I represent
6400	12600	the Aerospace Village. I do the speaker CFP process. The Aerospace Village, in conjunction
12600	17560	with the Creator Stage team, is pleased to introduce Craig. He is presenting on an
17560	23800	adversarial approach to airline revenue management. So, please welcome Craig to the stage.
33100	43940	Well, hey, everyone. I'm Craig. A little about me. I first moved into state for work
43940	52000	about 15 years ago and started flying a lot since then. By trade, I work with Splunk and
52560	57600	but my background was Cisco and carrier sort of networking stuff.
58320	67520	But yeah, so firstly, what's this talk not about? So, I'm not all about these big clickbait,
67520	72180	you know, sort of travel articles where when really when you break them down at the end of
72180	78640	the day, it's like sign up for this credit card, get a sign on bonus and, you know, pick the most
78640	86200	expensive fare out there to advertise it through. So, with that, just a little disclaimer.
92460	102200	Okay. Just a little disclaimer. I guess the intended audience for this talk is supposed
102200	106700	to be, I guess, people at airlines or whatever so they can defend their systems better, right?
108400	116400	But yeah, and with that, just some caveats. Look, I'm just a dude. This is an interest topic to me.
116400	120640	I haven't been trained. I just sort of, you know, black box as I've gone along and learned stuff.
120640	125140	So, hopefully I'm sharing that with you. There's a lot of information to cover. So,
125140	130680	it probably will be a bit high level. Come see me later. I'll get us popping the slides if you like.
130680	140340	But yeah. So, firstly, why is the airline and travel industry the way it is?
140600	147080	It's high fixed costs. It's very regulated. You know, not only do airlines have to get approval
147080	151540	from, you know, both governments to operate flights between two countries, they actually
151540	156420	have to, you know, apply for slots. And so, these slots sometimes like, you know, IP4 addresses
156420	161640	where it's pretty congested at some of the airports like London and JFK and whatnot.
161760	167520	So, in fact, you see things like I think Malaysia is flying almost empty planes to London just to
167520	174200	keep their slots because if they don't use them, they lose them, right? And they do trades and,
174200	179280	you know, it's a 75 billion once for one of the slots recently sold for. So, with that,
179280	184400	there's also this concept of fortress hubs, which are like the big hubs of certain airlines that
184400	191620	they have such a dominant hold on the market. So, with that, what does the revenue management
191620	196940	team do? And what they do is basically try and maximize the return they can get on by filling
196940	203320	an aircraft. And what they're concerned about is either if you boil it down. So, this is a
203320	208700	bit of an academic science. There's quite a lot of journal articles and research on this.
208700	213320	But for our purposes, if you boil it down, really what they're trying to look out for
213960	218460	is making sure they get the highest price for every seat, not letting it go empty or selling
218460	225740	it out too cheap. So, thinking about that, how can they be disrupted? We're not going to really
225740	234000	talk about any of these today, but just wanted to highlight the fact that it ranges straight from,
234660	238380	I guess, using a same-day flight change or some of your actual benefits that they offer
238880	245700	in some ways can reduce the return they would get. But in other things actually become more
245700	249780	related, like fraud where it's credit card abuse and that sort of stuff, or
249780	257320	by cashing out things for gift cards. So, with that, how do fares exist in the world? So,
257320	262520	when you go to an airline website or your Expedia or whatever, what do you actually see?
262520	267720	Why does it come up that way? I've often overheard people go, oh, the price went up
267720	272500	because of my cookies or whatever. But generally, you find there are things called
272500	277580	rules attached to them that might be days of the week or where the fare is published.
277580	282520	And the other concern is the dynamic inventory that's involved. So, we'll talk a bit about that.
282520	289220	As you can see, it's extremely complex computationally. And there is...
289860	299100	Karl Tabarkin of ITA has written a very great presentation on the computer complexity of
299100	303620	actually calculating these things. Because most international trips, so when there's multiple
303620	309580	connections, actually it can be tens of millions of possible connections of fares and flights
309580	314780	and whatnot. So, that's why sometimes when you go to book, it might say this price has expired
314780	321200	because actually you're sort of looking at case availability. So, what do fares look like?
321200	326120	This is an example from probably one of the tools that you can sort of buy closer access to these
326680	332400	the actual board a travel agent would see. It's not the same system, but it's like a read-only
332400	337500	one that consumers can subscribe to. But this is sort of what they look like. So,
337500	343900	they all have like a basis or an identifier code. And now this code is a bunch of numbers,
343900	348660	I mean, sorry, a bunch of letters. But usually these letters indicate the first one is the inventory code
348660	352720	and the others, depending on the airline, might indicate the seasonality or other sorts of
352720	359020	restrictions for a family of fares. So, this is some here. It's just an example for London to
359020	363460	New York. You can see the round trip that those prices are actually the base fare before you add
363460	369400	taxes and surcharges. And you can also see that in things like the minimum maximum stay that
369400	375340	they have. So, the SU is a Sunday stay and it's an old sort of traditional concept that they used
375340	380620	to catch business travellers with. Because if you forced, you know, leisure travellers are more
380620	384280	likely to stay over a weekend, whereas business travellers, you know, want to go home on Friday
384280	391420	or whatever. So, as we talked about that, they're published on two sort of bases generally.
391420	399780	The routing basis where it's explicitly showing you which transit points you can book with that
399780	408080	particular fare. And the other way is the mileage or an NPM basis. Now, I've got a little calculation
408080	414560	there if you can see on the screen of how an NPM sort of works. But essentially, it's using the
414560	420320	great circle distance that some of you may have seen with like impossible travel and whatnot.
421340	429140	Alerts in your scenes. And then, so they can make it work through their particular hubs. Often,
429140	433660	you have a concept of a ticketed point deduction, where basically you can get extra miles to finish
433660	440200	the trip because they, because say, for instance, this one, they allow you to fly through Chicago.
441100	445840	So, just a brief thing, when you're combining these fares and looking at stuff, there's quite
445980	450220	a number of rules that are involved. And we just sort of looked at the routing. But as you can see,
450220	454960	and I did speak about that Sunday stay. But yeah, there's all these other things to take
454960	461000	into account. So, behind the scenes, when you actually buy a ticket, it kind of looks like this.
461000	466420	So, I did have a picture earlier of a Qatar ticket on there. But this shows a more complex
466420	471600	sort of ticket where, at least this is my understanding anyway. But the important thing
471600	477720	to know is that when you get your reservation, your PNR, your six letter identifier, just because
477720	481500	it says confirmed or on request or whatever in there, it doesn't actually mean you can board the
481500	488520	flight. You need a, you actually need that valid e-ticket in there. And then when you check in,
488520	492920	that's when it actually marks the basically coupon. It's similar to the old paper tickets,
492920	497640	but marks that it's used. And these have to be used in order or basically the rest of your flights
497640	503520	are cancelled. Just going back to that last one, we can sort of see there an example of where
503520	507480	there's an issue with the e-ticket, even though you have a valid reservation and you can't check
507480	516480	in on that one yet. So moving across to the dynamic, how they manage dynamic inventory,
516480	522340	you might've seen things like five seats less or whatnot, but essentially they use, what they use
522340	528980	is buckets, which are given letters and they, and the different fares will attach to different
528980	535360	buckets. And that's how they sort of manage the pricing. So if you look in, if you look at that,
535360	539260	here's an example of a, here's an example in what, what a travel agent would see in what
539260	545120	they call the distribution systems that shows the availability for a particular flight. This is a
545120	550000	flight from Dubai to London. And what you can actually see on this one is quite interesting
550000	555400	is that because the Y is the highest price or fully flex economy, it's the highest they have,
555400	559820	and also the generic term for that class. But what you can see because it's zero, it means it's like
559820	567220	completely no seats to sell. And generally we know that they oversell by about 10 or 20% most
567220	572160	flights if they can. So with it being zero and closed, they weren't not taking any more bookings.
572160	576900	But the other interesting thing is we're seeing nine, which is the maximum for any one time that
576900	581820	if they're only single digits. So the actual business and first cabin on this particular
581820	585820	flight is quite empty. So there's probably a chance that people will get, there'll be a bit
585820	592300	of a cabin roll and to sell more seats and to fill it up, some of the more frequent flyers
592300	597380	or people traveling alone might actually get, when they go to the gate, might be given a new seat
597380	606400	upgraded. So moving on, how do we handle connections? Now with connections, it's the
606400	612400	same sort of thing, but what you need to keep in mind is your fare class or your availability needs
612400	617800	to match for all segments. And not only that, you also need it for every person. So if you search
617800	623600	for one person on this, you would get, you would see the cheaper like R fare for business.
623640	628760	But if you had two people, if you're going, it would show a higher price when you actually
628760	632500	search. And that's not like a cookie because you already searched. It's because this
632500	637140	second connecting flight only has one seat available in that R class. So learning some of
637140	642820	this can help you piece together and understand like, oh, I found a good fare. I want to book this,
642820	650520	which days can I actually go and really narrow it down. So following the money, where it all goes
650520	655260	and whatnot, basically there's a thing called a validating carrier. And that's the one that
655260	659960	issues the ticket. And that's the e-ticket database they use. Interesting fact is American Airlines
659960	666380	has all their serial numbers start with 001, but every, because they were the first computerized
666380	672060	airline, but all of the airlines basically have one of these three digit identifiers that for
672060	678000	identifying which stock that is. You also have a concept of a marketing carrier. Now that's the
678000	682160	flight number you buy. And so you might, if you've heard of a code share before, or ever booked a
682160	687100	flight like that, where you're like, maybe you've booked Finnair, but it's actually like a American
687100	691340	or British flight. That's what a code share is. An operating carrier, obviously the metal that
691340	696500	you're on. So just an example, like to tie some of these concepts together. This is a little bit of
696500	701300	an unusual boarding pass because it's printed by Aer Lingus, and then it's an
701300	706580	American flight that was sold as British Airways. But you can also see there with this electronic,
706580	711960	there's the longer marking there with starting in 125. And that's the e-ticket
712540	720640	serial number, right? The 25 below there is also like a sequence number of how, which
720640	728680	the check-in or when they were at the outstation, when you sort of checked
728680	735120	in online and when it went on the manifest. So having regard to those sort of concepts,
735120	742000	I'll talk about some of the weaknesses. So why you sometimes see those fares now getting so low,
742000	746740	like $1 or $15 as we saw before, is that a lot of the components now come up as
747640	755020	carrier surcharges under this fuel surcharge that started in 2004. So yeah, initially they're
755020	760160	only like $20 or something because the oil price was fluctuating. But then what happened was, I
760160	763220	guess the airlines realized they didn't have to pay at that time, they thought they didn't have
763220	769220	to pay commissions and other things on these amounts. So from my perspective, they kind of
769220	774280	seem a bit like junk fees, like resort fees and stuff that you might pay at hotels. The
774840	780160	interesting fact is that because of the way they're levied, it actually has become more
780160	785240	complicated. The calculations have become more complicated. And one thing that's interesting to
785240	792000	note is that the way they're published, the validating carrier decides whether to apply
792000	796460	it or not. It's not necessarily the airline that you're flying on. So this presented some
796460	806120	opportunities that errors could creep in. So as I say here, the S1 record is just a database
806120	812620	record that has the criteria for applying the surcharge and how much it is, but
815060	819940	when all the things that matches. And the fact that it has like sequence numbers,
819940	825840	it sort of works a bit like a firewall rule. So when we talk about exploits for this,
825840	831340	the good old days, what people were doing for a while was that they were actually just going over
831340	835360	to another airline's desk and getting them to book flights, like a ticketing desk and getting
835360	841260	them to book flights for the other airline and have them issued by one that didn't levy the
841260	848380	surcharge. But there was an IATA resolution and that's kind of gone away. But I guess the more
848380	855720	interesting ones and the more technical ones for us and for defenders is the way that those S1
855720	862080	records work and they apply it. So I've got a bit of an example here from one of the apps code,
862080	869760	the fare publishing manual there. So some of you may also be able to see how these can sort of
869760	875840	break or be pushed at the end of that sequence can be skipped. So for instance, and it might
875840	881600	depend on whether the fare actually is compatible with other fares. But if it is, for instance,
881600	886580	the last one has, if all ticketed points are wholly within the US, well, what happens if you
886580	892780	have a domestic segment in Canada or Mexico or whatever, for instance? It wouldn't apply it.
892780	899140	So just a demo of this, I can show you. This is quite an old one. People in the sort of travel
899140	905200	community don't really like this stuff shared, but this is an old one. I found it interesting
905200	911500	to try and even just get this stuff to work. It's a bit like pen testing, but this is one here
911500	919160	where it's a fare for $727, a normal return. And with a surcharge of close to 60%.
920160	924840	So what happens is if we actually add another segment that's compatible there
924840	933660	and break that application, what you're doing is you're actually adding
933660	938620	another fare on there and it's pushing the base price up. But because the surcharge was so low,
938620	945320	it's actually dropped your price down. You've added £100 in this instance, but you've lost,
945320	952780	it's miscalculated the price by 260. Another thing that's sort of interesting is the way,
952780	958640	because of the competitive nature of markets, how there is sometimes arbitrage opportunities.
958640	963200	But this can be a bit of effort. You might have to start your ticket there. But sometimes it
963200	967680	could be worth it. For instance, if you're in Hong Kong and you start your journey in Japan,
967680	972120	or you're in the US and you start it in Canada, but these things fluctuate and change.
972640	976300	Another thing to look for is some of these countries with unstable currencies,
977660	982860	some ticket, sometimes they are fixed exchange rates. For instance, Egypt changed their official
982860	989500	exchange rate by 50%. And there was some good deals that came out of that for a period. But
989600	993700	a lot of the other countries actually publish in euros or US dollars that have unstable currency.
993700	1001880	So it doesn't happen all the time. Another vulnerability that's been a bit more popularized
1001880	1009880	and talked about over the last 10 years is hidden city ticketing. This is a very well-known practice
1009880	1017280	that all airlines hate, bash up agents if they try and do it right. But essentially, you can see
1017280	1023240	here, if you're comparing this, this is a Delta flight. You're trying to go to Atlanta, right? But
1023240	1028320	if you look directly, it's going to be close to $200. But when a Nashville flight is tagged
1028320	1034720	onto the end of it, it's less than half. Now, the reason for that is, I guess, business
1034720	1038720	customers want to fly direct. Generally, people pay more for a direct and whatever competitions
1038720	1044940	in the different markets. So they want to fill those seats, but not do it. The issues with these
1044940	1050400	things is that it is generally against the terms of conditions of carriage. And what they also do
1050400	1055020	is if people are checking bags, they don't short check it to your destination. That is, of course,
1055020	1060640	unless you have an overnight or longer layover. So if the fare is actually flexible, you could
1060640	1065440	be totally within the rules by booking one of these and say, well, I'll go to Nashville for
1065580	1070500	a weekend in three weeks because you live in Atlanta, for instance. So sometimes you can
1070500	1077480	make these things work without actually breaking the rules. Another thing I'll talk about is
1078260	1082580	mistake fares. So sometimes you see things in the press. There's been a few good ones where
1086060	1089940	they will... first class of 500 bucks returned from Asia or whatever, because
1091100	1096760	often it's either the allowed routing has been... there's a mistake or the base fare has been
1096760	1100620	uploaded incorrectly because it's still... I believe it's still kind of manual in a lot of
1100620	1106380	ways. There's still a lot of spreadsheets that are used. So in the past, the USDOT used to be very
1106920	1113260	aggressive in enforcing this legislation on post price increase. But in 2015, what happened was
1113260	1118020	there was a very large issue with United. If you Google, you might be able to find some more
1118020	1123800	information. But essentially this issue was they published in Danish Krona. They made a mistake
1123800	1129920	where it was a divide by 1000 issue on the base fare. Now, this is because the Danish Krona uses
1129920	1137500	the comma as a decimal point rather than a period. So the key thing to know out of this now is that
1138580	1145940	that they're allowing airlines to more easily get out of these fares if they demonstrate it was a
1145940	1149980	mistaken fare. Now, one of the ways they would do that, I guess, is there's a lot of blogs and
1149980	1157620	stuff that sort of try to profit off this. And yeah, so I mean, as Roaring Kitty would say,
1157620	1161520	as for me, I like the fare. It's just a good fare. Because sometimes you don't understand.
1161520	1166680	It's hard to understand, I guess, when you often see them publishing base fares of $1
1166680	1173240	for transatlantic flights. Like, how do you know necessarily? So if you're an airline,
1173240	1178380	what could you do, right? So they have a thing called an agency debit memo. Now,
1179180	1184120	you can find those policies online as well. Most airlines publish them. And that also will show
1184120	1187440	you sort of conditions of what they're actually looking for and how they go after travel agents
1187440	1193160	that maliciously do stuff. The example of what a travel agent might do is hold stuff on a fictitious
1193160	1197960	name. So like, you know, how you can do free holds, for instance. They're basically holding
1197960	1204580	the seats and then they cancel it and re-hold it, you know. So they do chargebacks for that.
1204580	1208340	And there's like a credit cards chargeback. There's like a processing fee attached to that.
1208380	1214460	But I guess my other point is that they could kind of think like us, you know, I think fraud
1214460	1218960	teams and other teams could learn a lot from how what we, the advanced detections and things we run
1218960	1224600	in SOX. Because in a lot of ways, a lot of the detection stuff is similar and we're just used to
1225800	1232320	hackers and impossible travel and things like that. And sort of finally, if you're interested
1232320	1237600	by this and you want to know a bit more, it's great to be out of those. It's sometimes hard
1237600	1243800	to get the same visibility into all these things that a travel agent would get. But with those
1243800	1248220	tools like ExpertFlyer that I showed before, KBS tool, they're like subscription ones where you can
1248220	1254700	actually get sort of read-only access. But it's not 100% what you can do. And they don't actually
1254700	1261100	can't support pricing. But another one that's great, that's really, really good is the ITX Matrix.
1261480	1266180	So that will actually give you sort of a full pricing engine that you can... it was basically
1266180	1271100	the backend for Google Flights at one stage. And what I like about that is that
1271100	1276760	you can put really advanced fairing specs in there. So you can say only show me, only use like
1276760	1281440	for the calculation, only use fares or only show me stuff that's compatible with this particular
1281440	1287540	fare basis code. Lock it down to all that sort of stuff. And the even better thing is that you
1287540	1294720	can actually turn off the availability checks. Because to get more better use of your CPU time.
1295620	1301940	So with that, I guess to say thanks for everyone. I've got a few more things here,
1301940	1306880	if people are interested. Particularly recommend that the MIT, I guess it was for a computing
1306880	1312100	course, but that MIT's computational complexity of air travel planning, really, really good.
1312680	1318120	And I would have liked to talk about that, but I hope that's a bird's eye overview. And
1319020	1321700	if you have any questions, come see me at the bar or something.
1321700	1328380	Good. Now, conscious of time, let's crack on. I want to talk today about electronic flight bags.
1328700	1333900	But before we go there, a little bit about me. I am a pilot. I'm a really bad pilot. I've landed
1333900	1339380	at the wrong runway before, so never fly with me. But I also am part of a company called Pentest
1339380	1343940	Partners, where we do a lot of red teaming, but also a lot of embedded system work. We've got
1343940	1349260	multiple pilots on the team. So we do quite a bit with airplanes. And over the last few years,
1349260	1355160	we've learned how to hack or not hack airplanes. Before we start, though, it's really, really
1355160	1362620	important that we disclose vulnerabilities in aviation responsibly. There's something about
1362620	1367700	hacking planes that drives the media into a frenzy. You say plane hacking, they go crazy.
1367700	1371640	And the result, it damages industry, and I think it makes us less safe.
1371920	1377820	My wife is a lousy flyer. So the last thing I want to do is make her more scared of flying.
1378640	1383080	It does take a long time to fix bugs in aviation, and I'll explain why in a bit.
1383080	1389300	But the most important thing you cannot do, you cannot hack an airplane sat in your seat
1389300	1394840	in coach. It doesn't work like that. There have been some issues over the years with the media
1394840	1399880	going crazy with stories about hacking airplanes. I'm not going to dwell on those. But before we
1399880	1404440	start, how do you connect to an airplane? Well, there are lots of different interfaces. We all
1404440	1410340	want in-flight Wi-Fi nowadays, but pilots have had that for years. You've got maintenance access,
1410340	1415980	you've got quick access recorders that now spin up over Wi-Fi. But just to prove that point,
1415980	1420620	you cannot hack an airplane from the cabin. And the reason for that is we have really good network
1420620	1426400	segregation in the bit in the back, the bit that we sit in. That's called the passenger information
1426400	1431460	entertainment services domain, and we consider it to be dirty. Up front, we have the aircraft
1431460	1437620	control domain, which is really secure, really well segregated, then completely isolated from
1437620	1441860	the other networks. But the one I want to look at at the moment is the electronic flight bag,
1441860	1448400	which was one of the systems that pilots use and connect to with connectivity. So what is an EFB?
1448400	1453140	Well, last time you boarded an airplane and you looked left into the cockpit as you walked in,
1453140	1457640	did you see the pilots had a tablet? Maybe it was a little computer, maybe it was an iPad,
1457640	1463380	maybe an Android tab. It's essentially a device that they use to make their operations safer
1463900	1468260	and more efficient. So there's lots of different things that an EFB does.
1468580	1474980	It's, for example, it has your roster, your passenger list, it has your weight and balance,
1474980	1479100	so you can make sure the airplane is properly balanced and within its performance envelope.
1479100	1483220	But most importantly... we're still there? I've just lost audio.
1483220	1490220	Yeah. Can we have it? There we go. We're back again. Most importantly, it also is used to
1490220	1497500	calculate engine performance, or perf. Now, performance, you might not appreciate this.
1497500	1503820	It's very rare that we use full power when we take off. Really rare. And the reason we don't
1503820	1507720	is we don't want to burn lots of fuel because it's expensive and bad for the environment.
1507720	1512340	And we also don't want to wear the engines much. So if we use less power,
1512340	1516820	we've got lots of runway, we're not very heavily loaded, we use a D rate,
1516820	1521340	or what's called a flex temp in Airbus, or a D rate with Boeing planes.
1522080	1526300	And we calculate that using lots and lots of different data sources, like the wind, the weight,
1526300	1530740	the pressure altitude of the runway, all sorts of things that tell us how much power to use on
1530740	1535540	departure. But before we go there, I want to look at some of the bugs, things that have gone wrong,
1535540	1540280	not hacks, just things that have gone wrong. There's all sorts of examples of things that
1540280	1544820	have just gone wrong. For example, Raven Air, they used a digital maintenance system,
1544820	1548740	and they got ransomed, and their backup got ransomed. And as a result of that,
1548740	1552100	they couldn't prove the airplanes were airworthy, so they didn't fly.
1553240	1559240	American had a lockup on their electronic flight bags. There was a duplication in one of the
1559240	1565360	Jefferson databases. I think they duplicated the chart, so the map of the runways, at Reagan
1565360	1569640	National, and it caused the entire application to lock up, and a lot of airplanes didn't move that
1569640	1575940	day. Southwest had a bug a few years ago. They lost their weather feed. Now, pilots, you can't
1575940	1579040	just look out the window, see what the weather's doing. You need to know what it's doing up there,
1579040	1583080	and also where you're going. And you need that weather feed. No weather, no flying. A lot of
1583080	1588200	flights didn't go. Mistakes happen with weight and balance as well. This is a really interesting
1588200	1592400	incident. It's published. You can go and read it yourself. And the airplane type was changed
1592400	1599260	at the very last minute from an Airbus A320 to an Airbus A321. Primary difference is it's longer,
1599260	1603060	but the load sheet wasn't changed. All the passengers from the shorter plane were loaded at
1603060	1608440	the front, and the airplane ended up out of balance. Pilot goes down the runway, tries to
1608440	1613020	rotate on the stick, and nothing happened. There's not very much runway left. What do you do? You've
1613020	1619680	passed V1. You've got to VR. You're not at V2, so you can't really fly away yet. So the pilot,
1620140	1628160	very sensible individual, gave it full power, toga, and the airplane took off. Primarily to do with
1628160	1633940	the increased rotation moment because the engines dangle off the wings. So they got away because
1633940	1639000	they gave it full power. But yeah, that was a really very, nearly very, very serious incident.
1639000	1643180	Another one to do with performance. This was a confusing incident that happened at Lisbon
1643180	1650060	Airport. Now there was some runway intersection markers. So quite often on the short-haul flights,
1650060	1653920	you might see they don't line up for the whole runway. They go from a displaced threshold,
1653920	1658140	right? They run maybe halfway along the runway sometimes, and they don't need the whole runway.
1658140	1663100	So it's quicker. But the intersection markings were a bit confusing. They've been renamed. They
1663100	1666980	were given temporary names. And when pilots were putting them into their flight bag to do their
1666980	1671440	performance calculations from the engines, the calculator thought there was more runway than
1671440	1676380	they actually had. So it said, hey, we need less power. We've got more runway. And over a period of
1676520	1681340	a couple of weeks, eight flights very nearly didn't make it out of Lisbon. Now that was all fixed,
1681340	1689260	which is great. We lost that audio again. Hello? Audio. Yeah, there we go. We're back. Good.
1689540	1694320	Very interesting incident happened earlier this year. This was Alaska. They had two tail strikes.
1694320	1698720	So they hit the back of the airplane when they were trying to take off on January 26th.
1698940	1703060	Amazing response. So within a matter of minutes, they realized there was an issue,
1703060	1707440	had a ground stop. Awesome, awesome response from the airline. And what had gone wrong,
1707440	1712500	was a software bug in one of their flight bag applications that was miscalculating their load,
1712500	1716940	therefore not enough power was going on. There was another one that happened on April 17th.
1716940	1721700	They had a related application issue with weight and balance. But actually, I was really impressed
1721700	1726980	just how quickly they responded to this. But things do go wrong sometimes. So this is an
1726980	1732140	airplane that had a really nasty tail strike, tore the backside out of the plane. And yeah,
1732140	1736800	they didn't realize they'd had that tail strike until they tried to pressurize the aircraft,
1736800	1742840	and it wouldn't pressurize. And there have very sadly been deaths. The picture on the right is
1742840	1750020	from an incident report, a crash that happened in Canada. A very tired 747 freight crew miscalculated
1750020	1754000	the amount of weight they had on board. And very sadly, the airplane never made it airborne,
1754000	1757740	went straight through the instrument landing system and sadly, burst into flames. A very,
1757740	1762680	very sad incident. It also happens on landing as well. When we land in commercial airliners,
1762680	1768920	we don't want to use too much brake because brake pads are expensive. That carbon fiber,
1768920	1773760	we don't want to use too much. So we'll typically use an auto-brake setting that's related to our
1773760	1778000	weight, the length of the runway, the amount of headwind, we've got all sorts of cool things.
1778640	1783840	This is Quito Airport, very difficult approach, surrounded by hills and over-stressed pilots used
1783840	1787320	the wrong auto-brake setting from their calculations and over-ran the end of the
1787320	1792500	runway. They chose auto-land, so auto-brake two, and they should have been using auto-brake four.
1792680	1800100	So where I'm getting to with all of this is, could you cause an incident like that as a result of a
1800100	1807360	hack? And we found some bugs that we think could in certain scenarios. So the first major problem
1807360	1812120	you need to know about, those computers, those tablets that the pilots are using, you might be
1812120	1816820	really surprised to know about the quality of the lockdown on those devices. Sometimes we'll find
1816820	1825860	EFBs with no pin, or the pilot's birth date, or on smaller operators you find no MDM, no real
1825860	1831020	lockdown. Even some small operators have sent their pilots off to Best Buy to buy the tablet
1831020	1837420	for themselves. Wow. But also there's a lack of proper understanding. On the ground, cybersecurity
1837420	1842260	experts, in the air, pilots, sometimes those interactions don't go so well. And good examples
1842260	1849240	of that. Hey, let's use Face ID. Let's use Face ID to make my EFB nice and secure. So it's really
1849240	1855040	easy. Great. Unfortunately, pilots have a habit of wearing mirrored sunglasses, which does not
1855040	1859880	work well with Face ID, I promise you. And the one time you probably need your electronic flight bag
1859880	1865740	more than anything is when shit goes down. Maybe you have a depressurization event,
1866310	1870860	you go to your electronic quick reference handbook, which is of course on your iPad,
1870860	1875880	but you're wearing an oxygen mask because the oxygen has just flown out of the door plug.
1876800	1880360	Not a good day, right? So we really need to think carefully about how we unlock things.
1880460	1886380	So first of all, we've got problems with local lockdowns. And with physical access to an EFB for
1886520	1889660	a short period of time, we found some interesting bugs. I'm going to walk you through. One of the
1889660	1895160	very first we found was in Boeing, OPT, onboard performance tool. And this is the tool that's used
1895160	1901040	to calculate performance. So you'll spit in a bunch of data and it'll give you your V speeds.
1901040	1908040	So V1, the point at which you can break and stop without going off the end. VR, rotation. V2,
1908040	1913100	the point at which you can climb away safely with only one engine. That spot between V1 and V2 is
1913100	1917740	kind of squeaky bum time if it all goes wrong. Now, that's actually a photograph of one of
1917740	1920980	Boeing's tools. They brought it along to RSA a couple of years ago. Really, really cool thing
1920980	1926600	to do. And we discovered that the database had no integrity text. So with a few moments physical
1926600	1930980	access, you could change the data. You could make the runway look longer than it actually was. And
1930980	1935620	therefore, we'd spit out the wrong data. You could extend the runway and then the V speeds went wrong
1935620	1941640	and the pilots would use the wrong amount of power for departure. Good news. Boeing handled
1941640	1946280	it brilliantly. I could not have asked for a better response to this vulnerability. It's kind
1946280	1949240	of good news for Boeing, which I think they kind of need at the moment. I don't know.
1949240	1954600	It was a really good experience. They responded to us really quickly. They acknowledged it. They
1954600	1958000	gave us a call every month to say, this is how we're doing it and said, by the way,
1958440	1963420	it's going to take two years to fix it. Like, what? You know, Google Project Zero, that's 90
1963420	1969180	days, right? And you drop it like it's hot. Aviation is different. It took them a couple
1969180	1976180	of weeks to fix the bug. It took them a couple of years to recertify the code. Because you can't
1976180	1981720	just go and update aviation systems. You need to recertify them to make sure they are safe in
1981720	1986320	absolutely every possible scenario. And that was fine. And they published it and it was all good.
1986320	1994340	They got it sorted. Another bug. This is a semi-installed EFB. It was a kiosk and a 747
1994340	1999760	we looked at. And it was unbelievably poorly secure. So it could break out. Password was
1999760	2005380	password. Great. And there were two of them for redundancy purposes, but they were networked
2005380	2010360	and it was easy to compromise one from the other. So that removed the value of having redundancy
2010360	2014040	in a cross check. Because you could hack them both to spit out the same wrong data.
2015080	2022280	This was funny. It had a USB port on it and a sticker saying not to use it. Okay.
2024160	2029420	Now, this vendor never, ever engaged properly. Actually, Boeing even gave them a bit of a kick
2029420	2034120	on our behalf. They intervened to try and help it along. Still nothing. And actually, after 18
2034120	2038880	months, we agreed with the Aviation ISAC, which is the industry's cybersecurity and sharing body,
2038880	2043800	that actually it was reasonable to disclose in public once we told the airlines about it first.
2043800	2049100	And they helped us do that. That was really cool. What about some new things? So we've done Boeing.
2049260	2057600	Let's talk about Airbus. So this is Airbus, NavBlue, FlySmart, LPG, LPC, NG. There are
2057600	2062680	more TLAs in aviation than there are in cybersecurity. LPC, less paper cockpit,
2062680	2067880	NG, next generation. NavBlue is a company that's been acquired by Airbus. And we found a bug.
2068260	2073580	Almost exactly the same as Boeing OPT. So you can tamper with the runway databases and make
2073580	2077820	pilots use the wrong amount of power. So it spit out the wrong information. Pilots do the wrong
2077820	2081900	thing. So we started vulnerability disclosure. And you're probably looking at that going,
2081900	2088220	that's 2021, Ken. Yes, it is. So we sent it to Airbus. They've got a great PCER team. We sent
2088220	2092580	it to them. They came back to us quickly. They replied to us after a month and said,
2092580	2097460	yeah, it's the operator's problem. I'm summarizing about four pages of email here.
2097460	2103700	But yeah, that's not our problem. That's for the airlines. Okay, that's a novel discussion.
2103700	2108520	So we started going into some of the regulations. And I'm not going to talk about EFB regs because
2108520	2113260	they're really complicated, but they are different around the world. EASA, European Aviation Safety
2113260	2121600	Agency is actually fairly robust on EFB regs. FAA is slightly different. Installed EFBs,
2121600	2125760	completely different set of regulations to a portable EFB. And the Civil Aviation Authority
2125760	2131400	in my home country also has a different set of regs as well. So we looked at the regs
2131400	2137620	and found AMC 2025, AMC Additional Means of Compliance. So this is basically the regulation
2137620	2143220	that you're supposed to follow when you're keeping your EFB software up to date. And it
2143220	2147500	actually said you're supposed to do an integrity check. And that's the one thing we thought was
2147500	2154140	missing. Great. So we had another call with Airbus and said, hey, we think you're not following the
2154140	2159500	regs. And this was a really weird conversation where they said, we're not going to fix it
2159500	2162580	because we've analyzed your vulnerability and decided that fixing it would be a product
2162580	2168620	improvement. I've got that in writing. Long version, basically, we had a near argument with
2168620	2174300	their engineering team. And they told us that it didn't matter because you'd have to hack both EFBs
2174300	2178980	at once because pilots cross-check on both. Well, they don't actually. They use one. Typically,
2178980	2184500	one pilot will do the entry of the data, pass to the co-pilot, and they will verify the data entry,
2184500	2190680	then make the calculation. And to prove that, most planes now have a minimum equipment list
2190680	2199400	that only requires one EFB. So that was a shame. So we pushed over the period of a year. And they
2199400	2203680	came back and said, yeah, we've evaluated it. We consider it as a product improvement. So we're
2203680	2210680	not going to fix it. Okay. And then one of our friendly airline clients said, do you know what
2210680	2214320	you could do? You could have a chat with the regulator. I was like, why didn't we think of
2214320	2220180	this before? Have a chat with the regulator. So we spoke to EASA, who are lovely, by the way,
2220180	2225980	and we said, we've got this vulnerability and Airbus have said they won't fix it. And we're like,
2225980	2230720	what do you think? And they said, I think we agree. And then miraculously on 10th of April,
2230720	2234600	it's been fixed. It's amazing what happens when you get the regulator involved, isn't it?
2234600	2237620	So it has been fixed, which is great, which is why we're talking about it now.
2237780	2244780	But why was it so hard? I think some of it is around some of the struggles between
2245480	2251740	flight safety and engineering and cybersecurity, because some of those are competing interests.
2251740	2257780	It's so critically important. Same problem we see in OT, cultural separations between
2257780	2263580	cybersecurity and safety engineering. I think there was also a bit of a reluctance to acknowledge
2263580	2267280	it. I've spoken to Airbus a few times about this, and they've never publicly acknowledged
2267900	2272040	the detail of this vulnerability. And what's really weird is actually Airbus have got a really
2272040	2278120	good reputation with their customers for being really engaging with them on cybersecurity.
2278120	2281940	They've got test rigs, all sorts of stuff. It's actually, they do some really cool things,
2281940	2285940	so we don't understand why we had to involve the regulator here.
2286080	2290360	There's another bug we found. This was well handled by them. This is a slightly different
2290360	2296080	set of the package. It's called Fly Smart Plus, and the updater for the iOS app had intentionally
2296080	2300380	had ATS disabled. So application transport security, they turned it off, which meant
2300380	2305320	weirdly, you could man the middle over Wi-Fi and tamper with the updates.
2306040	2311020	And like attacks over Wi-Fi, really? But actually, there's one odd thing about pilots as they always
2311020	2315820	stay in the same damn layover hotels every night. You can guarantee that layover hotel is going to
2315820	2320060	have a pilot from their airline in. So actually, you know where they're going to be. So maybe a
2320060	2325860	Wi-Fi attack is a bit more plausible. Another one, so Lufthansa, this is actually the Lufthansa
2325860	2330680	systems part of the business that produce a really good charting application called eRoute manual,
2330680	2338360	used by loads and loads of airlines. And we had a very similar issue. Whilst they did have an
2338360	2345160	integrity check, unfortunately, the key for that integrity check was 1, 2, 3, 4, 5, 6, 7, 8,
2345980	2351000	9, 10, twice. And so we flagged this to them. They said, yeah, that's great. We get we agree
2351000	2355640	with you. We disclosed it to them. What it meant was you could tamper with, for example, approach
2355640	2363140	plates. So you could tamper with, I'll walk you through this. So this is how you approach to an
2363140	2369180	airport. So you're supposed to arrive at 5,000 feet at DME 14 to the BRA VOR. That's your initial
2369180	2376180	fix. Your safety height's now 4,600 feet till you get to top of descent D at DME 12.4. You then
2376180	2382360	descend on 170 degree heading to a safe point at your final fix at 3,900. And then you can get
2382360	2386760	down to your minimum descent altitude to the point of getting to the middle marker at DME 4,
2386760	2391180	so four miles from the airport, at which point you either go around or you land. And we discovered
2391180	2395080	you could tamper with all those so you could convince the pilots to go lower and potentially
2395080	2401000	have a control flight into the ground. I hope that doesn't happen. They were awesome. It took
2401000	2404860	them two years, but they were really good, really engaging, and have since asked us out to give some
2404860	2412660	talks to them. Yeah. So that is me and EFBs. I want to give a very quick rattle around airports
2412660	2419300	next. The other side of things. Airports are incredibly complicated places with lots of really
2419300	2426260	interesting things going on. We were asked by one airport to look at their departure boards.
2426260	2430100	We said, yeah, we've got bugs in those. We think we can inject our own flights and completely tamper
2430100	2435620	with everything. They said, what a cool organization. We said, go on then. Put a flight on our boards.
2435620	2440280	So we did. But of course, that was just proving the point. We could have trashed that system and
2440280	2445080	then there would have been chaos at the airport. Runway lighting is also a major issue. We know
2445080	2449720	of one airport where their runway lighting controllers were airside and then they expanded
2449720	2455080	the parking lots and they ended up landside. And then someone came along and stole all the controllers
2455080	2459380	and the runway lights stopped working. Oops. These are really good fun. If you ever fly into Heathrow's
2459380	2464780	Terminal 5, they use robot pushback tugs. Never got to have a go at them. Haven't managed to pen
2464780	2469600	test them yet, but I'm really pushing BA and IAG to see if we can have a pop. Really interesting
2469600	2476020	devices. Fueling is also a major problem. There's two primary providers. It's all API-based, all
2476020	2480040	done through tablets. I think there's a really interesting set of research to be done there.
2480040	2485960	And ground power is a major problem as well. I'm not going to talk about spoofing ADS-B. I'm not
2485960	2490220	going to talk about that either. But what I really wanted to get to here is if you're doing research
2490220	2495080	in aviation, please make sure you disclose it responsibly. Don't drop it like it's hot in the
2495080	2500760	public. It's not going to be possible to fix that bug and publish it in 90 days data. It's going to
2500760	2507640	take a while. If you're struggling to get airlines or manufacturers to listen to you, there's a couple
2507640	2511820	of really awesome routes you can go. So the Aviation ISAC will help broker vulnerability disclosure
2511820	2517020	for you. If you're struggling too, the DEFCON Aerospace Village, wherever there, we helped found it.
2517060	2521360	We will help you as well. There's lots of really cool organizations that can help you disclose
2521360	2528720	vulnerabilities to airline and get things fixed. Planes are very complicated. They have really,
2528720	2533240	really important safety engineering in there. So it does take a while to get the bugs fixed. So just
2533240	2539860	bear with whilst they fixed it safely and responsibly. It would be lovely just to push
2539860	2544980	an update, wouldn't it? But the chance of blue screening a plane? Should we just not go there?
2545340	2550020	Anyway, that is me. Hope you found it interesting. That's my email. That's the firm I work for. We're
2550020	2553100	over in the Aerospace Village if you want to come and have a chat. We've got a flight simulator to
2553100	2555020	play with, but thank you so much.
