1 00:00:00,000 --> 00:00:01,120 Good morning. 2 00:00:01,120 --> 00:00:02,440 Ah, there we go. 3 00:00:02,440 --> 00:00:04,060 Good morning, everyone. 4 00:00:04,160 --> 00:00:05,840 I am Lillian Ashbaker. 5 00:00:05,840 --> 00:00:08,060 I represent the Aerospace Village. 6 00:00:08,060 --> 00:00:10,700 I do the speaker CFP process. 7 00:00:10,700 --> 00:00:16,300 The Aerospace Village, in conjunction with the Creator Stage team, is pleased to introduce Craig. 8 00:00:16,300 --> 00:00:20,900 He is presenting on an adversarial approach to airline revenue management. 9 00:00:20,900 --> 00:00:23,800 So, please welcome Craig to the stage. 10 00:00:33,100 --> 00:00:35,340 Well, hey, everyone. 11 00:00:37,500 --> 00:00:38,720 I'm Craig. 12 00:00:38,720 --> 00:00:40,400 A little about me. 13 00:00:40,580 --> 00:00:48,500 I first moved into state for work about 15 years ago and started flying a lot since then. 14 00:00:48,700 --> 00:00:57,600 By trade, I work with Splunk and but my background was Cisco and carrier sort of networking stuff. 15 00:00:58,320 --> 00:01:02,540 But yeah, so firstly, what's this talk not about? 16 00:01:02,540 --> 00:01:23,480 So, I'm not all about these big clickbait, you know, sort of travel articles where when really when you break them down at the end of the day, it's like sign up for this credit card, get a sign on bonus and, you know, pick the most expensive fare out there to advertise it through. 17 00:01:24,160 --> 00:01:26,200 So, with that, just a little disclaimer. 18 00:01:32,460 --> 00:01:33,260 Okay. 19 00:01:37,720 --> 00:01:39,000 Just a little disclaimer. 20 00:01:39,180 --> 00:01:46,700 I guess the intended audience for this talk is supposed to be, I guess, people at airlines or whatever so they can defend their systems better, right? 21 00:01:48,400 --> 00:01:51,860 But yeah, and with that, just some caveats. 22 00:01:53,460 --> 00:01:54,780 Look, I'm just a dude. 23 00:01:54,880 --> 00:01:56,400 This is an interest topic to me. 24 00:01:56,400 --> 00:01:57,260 I haven't been trained. 25 00:01:57,260 --> 00:02:00,640 I just sort of, you know, black box as I've gone along and learned stuff. 26 00:02:00,640 --> 00:02:02,660 So, hopefully I'm sharing that with you. 27 00:02:02,820 --> 00:02:04,560 There's a lot of information to cover. 28 00:02:04,600 --> 00:02:07,300 So, it probably will be a bit high level. 29 00:02:08,080 --> 00:02:08,880 Come see me later. 30 00:02:08,880 --> 00:02:10,680 I'll get us popping the slides if you like. 31 00:02:10,680 --> 00:02:14,280 But yeah. 32 00:02:15,820 --> 00:02:20,340 So, firstly, why is the airline and travel industry the way it is? 33 00:02:20,600 --> 00:02:22,100 It's high fixed costs. 34 00:02:22,100 --> 00:02:23,480 It's very regulated. 35 00:02:24,320 --> 00:02:33,580 You know, not only do airlines have to get approval from, you know, both governments to operate flights between two countries, they actually have to, you know, apply for slots. 36 00:02:33,580 --> 00:02:41,640 And so, these slots sometimes like, you know, IP4 addresses where it's pretty congested at some of the airports like London and JFK and whatnot. 37 00:02:41,760 --> 00:02:51,800 So, in fact, you see things like I think Malaysia is flying almost empty planes to London just to keep their slots because if they don't use them, they lose them, right? 38 00:02:51,800 --> 00:02:58,300 And they do trades and, you know, it's a 75 billion once for one of the slots recently sold for. 39 00:02:58,460 --> 00:03:06,580 So, with that, there's also this concept of fortress hubs, which are like the big hubs of certain airlines that they have such a dominant hold on the market. 40 00:03:09,320 --> 00:03:12,440 So, with that, what does the revenue management team do? 41 00:03:12,440 --> 00:03:17,780 And what they do is basically try and maximize the return they can get on by filling an aircraft. 42 00:03:17,780 --> 00:03:21,660 And what they're concerned about is either if you boil it down. 43 00:03:21,660 --> 00:03:24,480 So, this is a bit of an academic science. 44 00:03:24,480 --> 00:03:28,440 There's quite a lot of journal articles and research on this. 45 00:03:28,540 --> 00:03:39,620 But for our purposes, if you boil it down, really what they're trying to look out for is making sure they get the highest price for every seat, not letting it go empty or selling it out too cheap. 46 00:03:40,340 --> 00:03:45,040 So, thinking about that, how can they be disrupted? 47 00:03:45,060 --> 00:04:03,200 We're not going to really talk about any of these today, but just wanted to highlight the fact that it ranges straight from, I guess, using a same-day flight change or some of your actual benefits that they offer in some ways can reduce the return they would get. 48 00:04:03,740 --> 00:04:12,100 But in other things actually become more related, like fraud where it's credit card abuse and that sort of stuff, or by cashing out things for gift cards. 49 00:04:13,940 --> 00:04:17,020 So, with that, how do fares exist in the world? 50 00:04:17,020 --> 00:04:22,520 So, when you go to an airline website or your Expedia or whatever, what do you actually see? 51 00:04:22,520 --> 00:04:24,540 Why does it come up that way? 52 00:04:25,160 --> 00:04:29,580 I've often overheard people go, oh, the price went up because of my cookies or whatever. 53 00:04:29,580 --> 00:04:37,580 But generally, you find there are things called rules attached to them that might be days of the week or where the fare is published. 54 00:04:37,580 --> 00:04:41,080 And the other concern is the dynamic inventory that's involved. 55 00:04:41,080 --> 00:04:42,520 So, we'll talk a bit about that. 56 00:04:42,520 --> 00:04:47,920 As you can see, it's extremely complex computationally. 57 00:04:47,920 --> 00:04:49,220 And there is... 58 00:04:49,860 --> 00:05:00,440 Karl Tabarkin of ITA has written a very great presentation on the computer complexity of actually calculating these things. 59 00:05:00,440 --> 00:05:10,680 Because most international trips, so when there's multiple connections, actually it can be tens of millions of possible connections of fares and flights and whatnot. 60 00:05:10,980 --> 00:05:17,820 So, that's why sometimes when you go to book, it might say this price has expired because actually you're sort of looking at case availability. 61 00:05:19,520 --> 00:05:21,200 So, what do fares look like? 62 00:05:21,200 --> 00:05:29,680 This is an example from probably one of the tools that you can sort of buy closer access to these the actual board a travel agent would see. 63 00:05:29,680 --> 00:05:34,400 It's not the same system, but it's like a read-only one that consumers can subscribe to. 64 00:05:34,960 --> 00:05:37,360 But this is sort of what they look like. 65 00:05:37,360 --> 00:05:41,960 So, they all have like a basis or an identifier code. 66 00:05:41,960 --> 00:05:45,400 And now this code is a bunch of numbers, I mean, sorry, a bunch of letters. 67 00:05:45,420 --> 00:05:55,280 But usually these letters indicate the first one is the inventory code and the others, depending on the airline, might indicate the seasonality or other sorts of restrictions for a family of fares. 68 00:05:55,440 --> 00:05:57,060 So, this is some here. 69 00:05:57,060 --> 00:05:59,700 It's just an example for London to New York. 70 00:05:59,700 --> 00:06:05,060 You can see the round trip that those prices are actually the base fare before you add taxes and surcharges. 71 00:06:05,860 --> 00:06:10,180 And you can also see that in things like the minimum maximum stay that they have. 72 00:06:10,180 --> 00:06:17,360 So, the SU is a Sunday stay and it's an old sort of traditional concept that they used to catch business travellers with. 73 00:06:17,500 --> 00:06:25,080 Because if you forced, you know, leisure travellers are more likely to stay over a weekend, whereas business travellers, you know, want to go home on Friday or whatever. 74 00:06:27,000 --> 00:06:31,420 So, as we talked about that, they're published on two sort of bases generally. 75 00:06:31,420 --> 00:06:41,200 The routing basis where it's explicitly showing you which transit points you can book with that particular fare. 76 00:06:41,300 --> 00:06:46,140 And the other way is the mileage or an NPM basis. 77 00:06:46,260 --> 00:06:51,220 Now, I've got a little calculation there if you can see on the screen of how an NPM sort of works. 78 00:06:51,220 --> 00:07:00,320 But essentially, it's using the great circle distance that some of you may have seen with like impossible travel and whatnot. 79 00:07:01,340 --> 00:07:02,960 Alerts in your scenes. 80 00:07:03,620 --> 00:07:08,700 And then, so they can make it work through their particular hubs. 81 00:07:08,700 --> 00:07:20,200 Often, you have a concept of a ticketed point deduction, where basically you can get extra miles to finish the trip because they, because say, for instance, this one, they allow you to fly through Chicago. 82 00:07:21,100 --> 00:07:27,320 So, just a brief thing, when you're combining these fares and looking at stuff, there's quite a number of rules that are involved. 83 00:07:27,320 --> 00:07:29,000 And we just sort of looked at the routing. 84 00:07:29,000 --> 00:07:32,880 But as you can see, and I did speak about that Sunday stay. 85 00:07:32,960 --> 00:07:35,920 But yeah, there's all these other things to take into account. 86 00:07:37,160 --> 00:07:41,000 So, behind the scenes, when you actually buy a ticket, it kind of looks like this. 87 00:07:41,000 --> 00:07:44,960 So, I did have a picture earlier of a Qatar ticket on there. 88 00:07:44,960 --> 00:07:50,200 But this shows a more complex sort of ticket where, at least this is my understanding anyway. 89 00:07:50,480 --> 00:08:02,560 But the important thing to know is that when you get your reservation, your PNR, your six letter identifier, just because it says confirmed or on request or whatever in there, it doesn't actually mean you can board the flight. 90 00:08:02,560 --> 00:08:06,660 You need a, you actually need that valid e-ticket in there. 91 00:08:07,140 --> 00:08:11,420 And then when you check in, that's when it actually marks the basically coupon. 92 00:08:11,420 --> 00:08:14,360 It's similar to the old paper tickets, but marks that it's used. 93 00:08:14,640 --> 00:08:18,440 And these have to be used in order or basically the rest of your flights are cancelled. 94 00:08:19,400 --> 00:08:28,640 Just going back to that last one, we can sort of see there an example of where there's an issue with the e-ticket, even though you have a valid reservation and you can't check in on that one yet. 95 00:08:29,760 --> 00:08:49,580 So moving across to the dynamic, how they manage dynamic inventory, you might've seen things like five seats less or whatnot, but essentially they use, what they use is buckets, which are given letters and they, and the different fares will attach to different buckets. 96 00:08:49,580 --> 00:08:52,160 And that's how they sort of manage the pricing. 97 00:08:53,280 --> 00:09:04,060 So if you look in, if you look at that, here's an example of a, here's an example in what, what a travel agent would see in what they call the distribution systems that shows the availability for a particular flight. 98 00:09:04,060 --> 00:09:06,560 This is a flight from Dubai to London. 99 00:09:07,020 --> 00:09:17,440 And what you can actually see on this one is quite interesting is that because the Y is the highest price or fully flex economy, it's the highest they have, and also the generic term for that class. 100 00:09:17,440 --> 00:09:21,740 But what you can see because it's zero, it means it's like completely no seats to sell. 101 00:09:21,920 --> 00:09:28,580 And generally we know that they oversell by about 10 or 20% most flights if they can. 102 00:09:28,580 --> 00:09:32,160 So with it being zero and closed, they weren't not taking any more bookings. 103 00:09:32,160 --> 00:09:38,740 But the other interesting thing is we're seeing nine, which is the maximum for any one time that if they're only single digits. 104 00:09:39,220 --> 00:09:43,180 So the actual business and first cabin on this particular flight is quite empty. 105 00:09:43,180 --> 00:09:58,420 So there's probably a chance that people will get, there'll be a bit of a cabin roll and to sell more seats and to fill it up, some of the more frequent flyers or people traveling alone might actually get, when they go to the gate, might be given a new seat upgraded. 106 00:10:01,640 --> 00:10:04,860 So moving on, how do we handle connections? 107 00:10:04,860 --> 00:10:13,960 Now with connections, it's the same sort of thing, but what you need to keep in mind is your fare class or your availability needs to match for all segments. 108 00:10:13,980 --> 00:10:16,680 And not only that, you also need it for every person. 109 00:10:16,680 --> 00:10:23,600 So if you search for one person on this, you would get, you would see the cheaper like R fare for business. 110 00:10:23,640 --> 00:10:29,260 But if you had two people, if you're going, it would show a higher price when you actually search. 111 00:10:29,260 --> 00:10:31,180 And that's not like a cookie because you already searched. 112 00:10:31,180 --> 00:10:36,160 It's because this second connecting flight only has one seat available in that R class. 113 00:10:36,200 --> 00:10:42,000 So learning some of this can help you piece together and understand like, oh, I found a good fare. 114 00:10:42,000 --> 00:10:46,700 I want to book this, which days can I actually go and really narrow it down. 115 00:10:48,300 --> 00:10:54,660 So following the money, where it all goes and whatnot, basically there's a thing called a validating carrier. 116 00:10:54,660 --> 00:10:55,960 And that's the one that issues the ticket. 117 00:10:55,960 --> 00:10:58,220 And that's the e-ticket database they use. 118 00:10:58,320 --> 00:11:14,560 Interesting fact is American Airlines has all their serial numbers start with 001, but every, because they were the first computerized airline, but all of the airlines basically have one of these three digit identifiers that for identifying which stock that is. 119 00:11:15,140 --> 00:11:17,560 You also have a concept of a marketing carrier. 120 00:11:17,560 --> 00:11:19,400 Now that's the flight number you buy. 121 00:11:19,460 --> 00:11:27,780 And so you might, if you've heard of a code share before, or ever booked a flight like that, where you're like, maybe you've booked Finnair, but it's actually like a American or British flight. 122 00:11:27,820 --> 00:11:29,500 That's what a code share is. 123 00:11:29,500 --> 00:11:32,180 An operating carrier, obviously the metal that you're on. 124 00:11:32,660 --> 00:11:35,900 So just an example, like to tie some of these concepts together. 125 00:11:35,900 --> 00:11:44,240 This is a little bit of an unusual boarding pass because it's printed by Aer Lingus, and then it's an American flight that was sold as British Airways. 126 00:11:44,400 --> 00:11:50,780 But you can also see there with this electronic, there's the longer marking there with starting in 125. 127 00:11:51,020 --> 00:11:54,260 And that's the e-ticket serial number, right? 128 00:11:55,040 --> 00:12:11,300 The 25 below there is also like a sequence number of how, which the check-in or when they were at the outstation, when you sort of checked in online and when it went on the manifest. 129 00:12:12,500 --> 00:12:16,600 So having regard to those sort of concepts, I'll talk about some of the weaknesses. 130 00:12:16,900 --> 00:12:31,820 So why you sometimes see those fares now getting so low, like $1 or $15 as we saw before, is that a lot of the components now come up as carrier surcharges under this fuel surcharge that started in 2004. 131 00:12:33,080 --> 00:12:38,340 So yeah, initially they're only like $20 or something because the oil price was fluctuating. 132 00:12:38,400 --> 00:12:47,160 But then what happened was, I guess the airlines realized they didn't have to pay at that time, they thought they didn't have to pay commissions and other things on these amounts. 133 00:12:47,380 --> 00:12:53,020 So from my perspective, they kind of seem a bit like junk fees, like resort fees and stuff that you might pay at hotels. 134 00:12:53,980 --> 00:13:01,220 The interesting fact is that because of the way they're levied, it actually has become more complicated. 135 00:13:01,660 --> 00:13:03,720 The calculations have become more complicated. 136 00:13:03,720 --> 00:13:12,420 And one thing that's interesting to note is that the way they're published, the validating carrier decides whether to apply it or not. 137 00:13:12,420 --> 00:13:14,800 It's not necessarily the airline that you're flying on. 138 00:13:15,180 --> 00:13:21,380 So this presented some opportunities that errors could creep in. 139 00:13:21,600 --> 00:13:37,020 So as I say here, the S1 record is just a database record that has the criteria for applying the surcharge and how much it is, but when all the things that matches. 140 00:13:37,380 --> 00:13:42,280 And the fact that it has like sequence numbers, it sort of works a bit like a firewall rule. 141 00:13:43,260 --> 00:14:02,080 So when we talk about exploits for this, the good old days, what people were doing for a while was that they were actually just going over to another airline's desk and getting them to book flights, like a ticketing desk and getting them to book flights for the other airline and have them issued by one that didn't levy the surcharge. 142 00:14:02,160 --> 00:14:05,780 But there was an IATA resolution and that's kind of gone away. 143 00:14:07,180 --> 00:14:17,940 But I guess the more interesting ones and the more technical ones for us and for defenders is the way that those S1 records work and they apply it. 144 00:14:17,940 --> 00:14:24,080 So I've got a bit of an example here from one of the apps code, the fare publishing manual there. 145 00:14:24,740 --> 00:14:32,500 So some of you may also be able to see how these can sort of break or be pushed at the end of that sequence can be skipped. 146 00:14:32,720 --> 00:14:39,700 So for instance, and it might depend on whether the fare actually is compatible with other fares. 147 00:14:39,700 --> 00:14:50,720 But if it is, for instance, the last one has, if all ticketed points are wholly within the US, well, what happens if you have a domestic segment in Canada or Mexico or whatever, for instance? 148 00:14:51,380 --> 00:14:52,780 It wouldn't apply it. 149 00:14:52,780 --> 00:14:56,020 So just a demo of this, I can show you. 150 00:14:56,020 --> 00:14:57,820 This is quite an old one. 151 00:14:58,060 --> 00:15:04,340 People in the sort of travel community don't really like this stuff shared, but this is an old one. 152 00:15:04,340 --> 00:15:07,340 I found it interesting to try and even just get this stuff to work. 153 00:15:07,340 --> 00:15:15,840 It's a bit like pen testing, but this is one here where it's a fare for $727, a normal return. 154 00:15:16,080 --> 00:15:19,160 And with a surcharge of close to 60%. 155 00:15:20,160 --> 00:15:37,000 So what happens is if we actually add another segment that's compatible there and break that application, what you're doing is you're actually adding another fare on there and it's pushing the base price up. 156 00:15:37,000 --> 00:15:40,580 But because the surcharge was so low, it's actually dropped your price down. 157 00:15:41,560 --> 00:15:48,900 You've added £100 in this instance, but you've lost, it's miscalculated the price by 260. 158 00:15:49,780 --> 00:15:58,640 Another thing that's sort of interesting is the way, because of the competitive nature of markets, how there is sometimes arbitrage opportunities. 159 00:15:58,640 --> 00:15:59,980 But this can be a bit of effort. 160 00:15:59,980 --> 00:16:02,280 You might have to start your ticket there. 161 00:16:02,280 --> 00:16:04,020 But sometimes it could be worth it. 162 00:16:04,020 --> 00:16:12,120 For instance, if you're in Hong Kong and you start your journey in Japan, or you're in the US and you start it in Canada, but these things fluctuate and change. 163 00:16:12,640 --> 00:16:20,800 Another thing to look for is some of these countries with unstable currencies, some ticket, sometimes they are fixed exchange rates. 164 00:16:20,800 --> 00:16:24,060 For instance, Egypt changed their official exchange rate by 50%. 165 00:16:24,060 --> 00:16:29,340 And there was some good deals that came out of that for a period. 166 00:16:29,360 --> 00:16:33,700 But a lot of the other countries actually publish in euros or US dollars that have unstable currency. 167 00:16:33,700 --> 00:16:36,060 So it doesn't happen all the time. 168 00:16:37,160 --> 00:16:47,900 Another vulnerability that's been a bit more popularized and talked about over the last 10 years is hidden city ticketing. 169 00:16:47,920 --> 00:16:55,900 This is a very well-known practice that all airlines hate, bash up agents if they try and do it right. 170 00:16:55,900 --> 00:17:01,480 But essentially, you can see here, if you're comparing this, this is a Delta flight. 171 00:17:01,800 --> 00:17:03,120 You're trying to go to Atlanta, right? 172 00:17:03,120 --> 00:17:05,980 But if you look directly, it's going to be close to $200. 173 00:17:06,420 --> 00:17:12,740 But when a Nashville flight is tagged onto the end of it, it's less than half. 174 00:17:12,740 --> 00:17:16,160 Now, the reason for that is, I guess, business customers want to fly direct. 175 00:17:16,160 --> 00:17:19,940 Generally, people pay more for a direct and whatever competitions in the different markets. 176 00:17:19,940 --> 00:17:22,980 So they want to fill those seats, but not do it. 177 00:17:23,940 --> 00:17:29,340 The issues with these things is that it is generally against the terms of conditions of carriage. 178 00:17:29,540 --> 00:17:33,880 And what they also do is if people are checking bags, they don't short check it to your destination. 179 00:17:34,160 --> 00:17:37,140 That is, of course, unless you have an overnight or longer layover. 180 00:17:37,240 --> 00:17:49,800 So if the fare is actually flexible, you could be totally within the rules by booking one of these and say, well, I'll go to Nashville for a weekend in three weeks because you live in Atlanta, for instance. 181 00:17:49,800 --> 00:17:54,840 So sometimes you can make these things work without actually breaking the rules. 182 00:17:55,960 --> 00:17:59,480 Another thing I'll talk about is mistake fares. 183 00:17:59,480 --> 00:18:01,000 So sometimes you see things in the press. 184 00:18:01,000 --> 00:18:02,580 There's been a few good ones where 185 00:18:06,060 --> 00:18:20,920 they will... first class of 500 bucks returned from Asia or whatever, because often it's either the allowed routing has been... there's a mistake or the base fare has been uploaded incorrectly because it's still... I believe it's still kind of manual in a lot of ways. 186 00:18:20,920 --> 00:18:22,780 There's still a lot of spreadsheets that are used. 187 00:18:23,040 --> 00:18:31,060 So in the past, the USDOT used to be very aggressive in enforcing this legislation on post price increase. 188 00:18:31,180 --> 00:18:35,580 But in 2015, what happened was there was a very large issue with United. 189 00:18:35,580 --> 00:18:38,700 If you Google, you might be able to find some more information. 190 00:18:38,700 --> 00:18:42,880 But essentially this issue was they published in Danish Krona. 191 00:18:42,880 --> 00:18:46,940 They made a mistake where it was a divide by 1000 issue on the base fare. 192 00:18:46,940 --> 00:18:53,700 Now, this is because the Danish Krona uses the comma as a decimal point rather than a period. 193 00:18:54,000 --> 00:19:06,740 So the key thing to know out of this now is that that they're allowing airlines to more easily get out of these fares if they demonstrate it was a mistaken fare. 194 00:19:06,740 --> 00:19:12,620 Now, one of the ways they would do that, I guess, is there's a lot of blogs and stuff that sort of try to profit off this. 195 00:19:13,180 --> 00:19:18,880 And yeah, so I mean, as Roaring Kitty would say, as for me, I like the fare. 196 00:19:18,880 --> 00:19:20,000 It's just a good fare. 197 00:19:20,000 --> 00:19:21,520 Because sometimes you don't understand. 198 00:19:21,520 --> 00:19:28,540 It's hard to understand, I guess, when you often see them publishing base fares of $1 for transatlantic flights. 199 00:19:28,540 --> 00:19:30,920 Like, how do you know necessarily? 200 00:19:32,080 --> 00:19:34,700 So if you're an airline, what could you do, right? 201 00:19:34,700 --> 00:19:38,160 So they have a thing called an agency debit memo. 202 00:19:38,160 --> 00:19:42,040 Now, you can find those policies online as well. 203 00:19:42,040 --> 00:19:43,380 Most airlines publish them. 204 00:19:43,380 --> 00:19:49,520 And that also will show you sort of conditions of what they're actually looking for and how they go after travel agents that maliciously do stuff. 205 00:19:49,560 --> 00:19:53,740 The example of what a travel agent might do is hold stuff on a fictitious name. 206 00:19:53,740 --> 00:19:57,040 So like, you know, how you can do free holds, for instance. 207 00:19:57,040 --> 00:20:02,240 They're basically holding the seats and then they cancel it and re-hold it, you know. 208 00:20:02,320 --> 00:20:04,580 So they do chargebacks for that. 209 00:20:04,580 --> 00:20:06,600 And there's like a credit cards chargeback. 210 00:20:06,600 --> 00:20:08,340 There's like a processing fee attached to that. 211 00:20:08,380 --> 00:20:19,900 But I guess my other point is that they could kind of think like us, you know, I think fraud teams and other teams could learn a lot from how what we, the advanced detections and things we run in SOX. 212 00:20:20,260 --> 00:20:28,300 Because in a lot of ways, a lot of the detection stuff is similar and we're just used to hackers and impossible travel and things like that. 213 00:20:29,260 --> 00:20:36,800 And sort of finally, if you're interested by this and you want to know a bit more, it's great to be out of those. 214 00:20:36,800 --> 00:20:41,900 It's sometimes hard to get the same visibility into all these things that a travel agent would get. 215 00:20:42,200 --> 00:20:50,600 But with those tools like ExpertFlyer that I showed before, KBS tool, they're like subscription ones where you can actually get sort of read-only access. 216 00:20:50,720 --> 00:20:53,880 But it's not 100% what you can do. 217 00:20:53,880 --> 00:20:56,180 And they don't actually can't support pricing. 218 00:20:56,680 --> 00:21:01,100 But another one that's great, that's really, really good is the ITX Matrix. 219 00:21:01,480 --> 00:21:09,680 So that will actually give you sort of a full pricing engine that you can... it was basically the backend for Google Flights at one stage. 220 00:21:09,820 --> 00:21:13,600 And what I like about that is that you can put really advanced fairing specs in there. 221 00:21:13,600 --> 00:21:23,340 So you can say only show me, only use like for the calculation, only use fares or only show me stuff that's compatible with this particular fare basis code. 222 00:21:24,400 --> 00:21:26,220 Lock it down to all that sort of stuff. 223 00:21:26,220 --> 00:21:29,660 And the even better thing is that you can actually turn off the availability checks. 224 00:21:31,000 --> 00:21:34,720 Because to get more better use of your CPU time. 225 00:21:35,620 --> 00:21:39,880 So with that, I guess to say thanks for everyone. 226 00:21:39,880 --> 00:21:43,000 I've got a few more things here, if people are interested. 227 00:21:43,180 --> 00:21:52,100 Particularly recommend that the MIT, I guess it was for a computing course, but that MIT's computational complexity of air travel planning, really, really good. 228 00:21:52,680 --> 00:21:58,120 And I would have liked to talk about that, but I hope that's a bird's eye overview. 229 00:21:58,120 --> 00:22:01,700 And if you have any questions, come see me at the bar or something. 230 00:22:01,700 --> 00:22:02,680 Good. 231 00:22:03,320 --> 00:22:05,340 Now, conscious of time, let's crack on. 232 00:22:05,340 --> 00:22:08,380 I want to talk today about electronic flight bags. 233 00:22:08,700 --> 00:22:10,500 But before we go there, a little bit about me. 234 00:22:10,500 --> 00:22:12,100 I am a pilot. 235 00:22:12,100 --> 00:22:13,500 I'm a really bad pilot. 236 00:22:13,500 --> 00:22:16,860 I've landed at the wrong runway before, so never fly with me. 237 00:22:16,860 --> 00:22:23,480 But I also am part of a company called Pentest Partners, where we do a lot of red teaming, but also a lot of embedded system work. 238 00:22:23,520 --> 00:22:25,160 We've got multiple pilots on the team. 239 00:22:25,160 --> 00:22:27,580 So we do quite a bit with airplanes. 240 00:22:28,080 --> 00:22:32,100 And over the last few years, we've learned how to hack or not hack airplanes. 241 00:22:33,020 --> 00:22:40,920 Before we start, though, it's really, really important that we disclose vulnerabilities in aviation responsibly. 242 00:22:41,280 --> 00:22:45,520 There's something about hacking planes that drives the media into a frenzy. 243 00:22:45,520 --> 00:22:47,700 You say plane hacking, they go crazy. 244 00:22:47,700 --> 00:22:51,640 And the result, it damages industry, and I think it makes us less safe. 245 00:22:51,920 --> 00:22:53,780 My wife is a lousy flyer. 246 00:22:53,780 --> 00:22:57,820 So the last thing I want to do is make her more scared of flying. 247 00:22:58,640 --> 00:23:03,080 It does take a long time to fix bugs in aviation, and I'll explain why in a bit. 248 00:23:03,080 --> 00:23:10,400 But the most important thing you cannot do, you cannot hack an airplane sat in your seat in coach. 249 00:23:10,400 --> 00:23:12,020 It doesn't work like that. 250 00:23:12,360 --> 00:23:17,200 There have been some issues over the years with the media going crazy with stories about hacking airplanes. 251 00:23:17,200 --> 00:23:18,660 I'm not going to dwell on those. 252 00:23:19,280 --> 00:23:22,640 But before we start, how do you connect to an airplane? 253 00:23:22,640 --> 00:23:24,180 Well, there are lots of different interfaces. 254 00:23:24,180 --> 00:23:28,340 We all want in-flight Wi-Fi nowadays, but pilots have had that for years. 255 00:23:28,340 --> 00:23:34,480 You've got maintenance access, you've got quick access recorders that now spin up over Wi-Fi. 256 00:23:34,480 --> 00:23:38,040 But just to prove that point, you cannot hack an airplane from the cabin. 257 00:23:38,040 --> 00:23:44,860 And the reason for that is we have really good network segregation in the bit in the back, the bit that we sit in. 258 00:23:45,000 --> 00:23:49,720 That's called the passenger information entertainment services domain, and we consider it to be dirty. 259 00:23:49,960 --> 00:23:58,640 Up front, we have the aircraft control domain, which is really secure, really well segregated, then completely isolated from the other networks. 260 00:23:58,640 --> 00:24:06,920 But the one I want to look at at the moment is the electronic flight bag, which was one of the systems that pilots use and connect to with connectivity. 261 00:24:07,140 --> 00:24:08,400 So what is an EFB? 262 00:24:08,400 --> 00:24:14,820 Well, last time you boarded an airplane and you looked left into the cockpit as you walked in, did you see the pilots had a tablet? 263 00:24:15,120 --> 00:24:19,260 Maybe it was a little computer, maybe it was an iPad, maybe an Android tab. 264 00:24:19,260 --> 00:24:25,280 It's essentially a device that they use to make their operations safer and more efficient. 265 00:24:25,440 --> 00:24:28,260 So there's lots of different things that an EFB does. 266 00:24:28,580 --> 00:24:39,100 It's, for example, it has your roster, your passenger list, it has your weight and balance, so you can make sure the airplane is properly balanced and within its performance envelope. 267 00:24:39,100 --> 00:24:41,980 But most importantly... we're still there? 268 00:24:41,980 --> 00:24:43,220 I've just lost audio. 269 00:24:43,220 --> 00:24:44,480 Yeah. 270 00:24:45,220 --> 00:24:46,040 Can we have it? 271 00:24:46,040 --> 00:24:46,460 There we go. 272 00:24:46,460 --> 00:24:47,220 We're back again. 273 00:24:47,440 --> 00:24:54,440 Most importantly, it also is used to calculate engine performance, or perf. 274 00:24:54,460 --> 00:24:57,500 Now, performance, you might not appreciate this. 275 00:24:57,500 --> 00:25:01,580 It's very rare that we use full power when we take off. 276 00:25:01,580 --> 00:25:02,700 Really rare. 277 00:25:02,880 --> 00:25:07,720 And the reason we don't is we don't want to burn lots of fuel because it's expensive and bad for the environment. 278 00:25:07,720 --> 00:25:10,600 And we also don't want to wear the engines much. 279 00:25:10,600 --> 00:25:21,340 So if we use less power, we've got lots of runway, we're not very heavily loaded, we use a D rate, or what's called a flex temp in Airbus, or a D rate with Boeing planes. 280 00:25:22,080 --> 00:25:31,580 And we calculate that using lots and lots of different data sources, like the wind, the weight, the pressure altitude of the runway, all sorts of things that tell us how much power to use on departure. 281 00:25:31,880 --> 00:25:37,880 But before we go there, I want to look at some of the bugs, things that have gone wrong, not hacks, just things that have gone wrong. 282 00:25:38,000 --> 00:25:41,120 There's all sorts of examples of things that have just gone wrong. 283 00:25:41,120 --> 00:25:47,740 For example, Raven Air, they used a digital maintenance system, and they got ransomed, and their backup got ransomed. 284 00:25:47,740 --> 00:25:52,100 And as a result of that, they couldn't prove the airplanes were airworthy, so they didn't fly. 285 00:25:53,240 --> 00:25:57,140 American had a lockup on their electronic flight bags. 286 00:25:57,140 --> 00:26:00,440 There was a duplication in one of the Jefferson databases. 287 00:26:00,440 --> 00:26:10,200 I think they duplicated the chart, so the map of the runways, at Reagan National, and it caused the entire application to lock up, and a lot of airplanes didn't move that day. 288 00:26:10,520 --> 00:26:12,180 Southwest had a bug a few years ago. 289 00:26:12,180 --> 00:26:13,980 They lost their weather feed. 290 00:26:14,120 --> 00:26:17,800 Now, pilots, you can't just look out the window, see what the weather's doing. 291 00:26:17,800 --> 00:26:20,120 You need to know what it's doing up there, and also where you're going. 292 00:26:20,120 --> 00:26:21,380 And you need that weather feed. 293 00:26:21,380 --> 00:26:22,620 No weather, no flying. 294 00:26:22,620 --> 00:26:24,060 A lot of flights didn't go. 295 00:26:25,000 --> 00:26:27,280 Mistakes happen with weight and balance as well. 296 00:26:27,320 --> 00:26:28,660 This is a really interesting incident. 297 00:26:28,660 --> 00:26:29,300 It's published. 298 00:26:29,300 --> 00:26:30,740 You can go and read it yourself. 299 00:26:30,900 --> 00:26:36,700 And the airplane type was changed at the very last minute from an Airbus A320 to an Airbus A321. 300 00:26:37,160 --> 00:26:40,880 Primary difference is it's longer, but the load sheet wasn't changed. 301 00:26:40,880 --> 00:26:46,500 All the passengers from the shorter plane were loaded at the front, and the airplane ended up out of balance. 302 00:26:46,740 --> 00:26:50,480 Pilot goes down the runway, tries to rotate on the stick, and nothing happened. 303 00:26:50,680 --> 00:26:52,260 There's not very much runway left. 304 00:26:52,260 --> 00:26:52,840 What do you do? 305 00:26:52,840 --> 00:26:54,300 You've passed V1. 306 00:26:54,580 --> 00:26:56,060 You've got to VR. 307 00:26:56,060 --> 00:26:58,500 You're not at V2, so you can't really fly away yet. 308 00:26:58,680 --> 00:27:06,040 So the pilot, very sensible individual, gave it full power, toga, and the airplane took off. 309 00:27:06,820 --> 00:27:12,160 Primarily to do with the increased rotation moment because the engines dangle off the wings. 310 00:27:12,160 --> 00:27:15,300 So they got away because they gave it full power. 311 00:27:15,300 --> 00:27:19,000 But yeah, that was a really very, nearly very, very serious incident. 312 00:27:19,000 --> 00:27:20,560 Another one to do with performance. 313 00:27:20,560 --> 00:27:24,120 This was a confusing incident that happened at Lisbon Airport. 314 00:27:24,860 --> 00:27:27,700 Now there was some runway intersection markers. 315 00:27:27,840 --> 00:27:32,200 So quite often on the short-haul flights, you might see they don't line up for the whole runway. 316 00:27:32,200 --> 00:27:34,380 They go from a displaced threshold, right? 317 00:27:34,380 --> 00:27:38,140 They run maybe halfway along the runway sometimes, and they don't need the whole runway. 318 00:27:38,140 --> 00:27:39,020 So it's quicker. 319 00:27:39,880 --> 00:27:42,120 But the intersection markings were a bit confusing. 320 00:27:42,120 --> 00:27:43,020 They've been renamed. 321 00:27:43,020 --> 00:27:44,420 They were given temporary names. 322 00:27:44,420 --> 00:27:52,440 And when pilots were putting them into their flight bag to do their performance calculations from the engines, the calculator thought there was more runway than they actually had. 323 00:27:52,440 --> 00:27:53,980 So it said, hey, we need less power. 324 00:27:53,980 --> 00:27:55,100 We've got more runway. 325 00:27:55,160 --> 00:28:00,460 And over a period of a couple of weeks, eight flights very nearly didn't make it out of Lisbon. 326 00:28:00,460 --> 00:28:02,300 Now that was all fixed, which is great. 327 00:28:02,700 --> 00:28:04,460 We lost that audio again. 328 00:28:04,580 --> 00:28:05,420 Hello? 329 00:28:06,940 --> 00:28:07,620 Audio. 330 00:28:07,620 --> 00:28:08,220 Yeah, there we go. 331 00:28:08,220 --> 00:28:08,640 We're back. 332 00:28:08,640 --> 00:28:09,260 Good. 333 00:28:09,540 --> 00:28:11,520 Very interesting incident happened earlier this year. 334 00:28:11,520 --> 00:28:12,820 This was Alaska. 335 00:28:12,840 --> 00:28:14,320 They had two tail strikes. 336 00:28:14,320 --> 00:28:18,720 So they hit the back of the airplane when they were trying to take off on January 26th. 337 00:28:18,940 --> 00:28:20,260 Amazing response. 338 00:28:20,260 --> 00:28:24,320 So within a matter of minutes, they realized there was an issue, had a ground stop. 339 00:28:24,340 --> 00:28:26,580 Awesome, awesome response from the airline. 340 00:28:26,580 --> 00:28:34,540 And what had gone wrong, was a software bug in one of their flight bag applications that was miscalculating their load, therefore not enough power was going on. 341 00:28:34,540 --> 00:28:36,940 There was another one that happened on April 17th. 342 00:28:36,940 --> 00:28:40,280 They had a related application issue with weight and balance. 343 00:28:40,280 --> 00:28:44,020 But actually, I was really impressed just how quickly they responded to this. 344 00:28:44,360 --> 00:28:46,340 But things do go wrong sometimes. 345 00:28:46,340 --> 00:28:51,060 So this is an airplane that had a really nasty tail strike, tore the backside out of the plane. 346 00:28:51,260 --> 00:28:58,220 And yeah, they didn't realize they'd had that tail strike until they tried to pressurize the aircraft, and it wouldn't pressurize. 347 00:28:58,580 --> 00:29:01,120 And there have very sadly been deaths. 348 00:29:01,560 --> 00:29:06,600 The picture on the right is from an incident report, a crash that happened in Canada. 349 00:29:06,720 --> 00:29:11,800 A very tired 747 freight crew miscalculated the amount of weight they had on board. 350 00:29:11,800 --> 00:29:17,380 And very sadly, the airplane never made it airborne, went straight through the instrument landing system and sadly, burst into flames. 351 00:29:17,380 --> 00:29:18,980 A very, very sad incident. 352 00:29:19,220 --> 00:29:21,120 It also happens on landing as well. 353 00:29:21,120 --> 00:29:27,720 When we land in commercial airliners, we don't want to use too much brake because brake pads are expensive. 354 00:29:27,720 --> 00:29:30,380 That carbon fiber, we don't want to use too much. 355 00:29:30,460 --> 00:29:38,000 So we'll typically use an auto-brake setting that's related to our weight, the length of the runway, the amount of headwind, we've got all sorts of cool things. 356 00:29:38,640 --> 00:29:47,620 This is Quito Airport, very difficult approach, surrounded by hills and over-stressed pilots used the wrong auto-brake setting from their calculations and over-ran the end of the runway. 357 00:29:47,620 --> 00:29:52,500 They chose auto-land, so auto-brake two, and they should have been using auto-brake four. 358 00:29:52,680 --> 00:30:00,580 So where I'm getting to with all of this is, could you cause an incident like that as a result of a hack ? 359 00:30:00,700 --> 00:30:05,700 And we found some bugs that we think could in certain scenarios. 360 00:30:05,860 --> 00:30:15,340 So the first major problem you need to know about, those computers, those tablets that the pilots are using, you might be really surprised to know about the quality of the lockdown on those devices. 361 00:30:15,580 --> 00:30:26,800 Sometimes we'll find EFBs with no pin, or the pilot's birth date, or on smaller operators you find no MDM, no real lockdown. 362 00:30:26,840 --> 00:30:32,080 Even some small operators have sent their pilots off to Best Buy to buy the tablet for themselves. 363 00:30:32,200 --> 00:30:32,960 Wow. 364 00:30:33,080 --> 00:30:36,160 But also there's a lack of proper understanding. 365 00:30:36,160 --> 00:30:41,660 On the ground, cybersecurity experts, in the air, pilots, sometimes those interactions don't go so well. 366 00:30:41,660 --> 00:30:42,640 And good examples of that. 367 00:30:42,640 --> 00:30:45,380 Hey, let's use Face ID. 368 00:30:45,380 --> 00:30:48,880 Let's use Face ID to make my EFB nice and secure. 369 00:30:48,880 --> 00:30:50,020 So it's really easy. 370 00:30:50,020 --> 00:30:50,440 Great. 371 00:30:50,440 --> 00:30:57,140 Unfortunately, pilots have a habit of wearing mirrored sunglasses, which does not work well with Face ID, I promise you. 372 00:30:57,140 --> 00:31:03,280 And the one time you probably need your electronic flight bag more than anything is when shit goes down. 373 00:31:03,280 --> 00:31:15,880 Maybe you have a depressurization event, you go to your electronic quick reference handbook, which is of course on your iPad, but you're wearing an oxygen mask because the oxygen has just flown out of the door plug. 374 00:31:16,800 --> 00:31:17,620 Not a good day, right? 375 00:31:17,620 --> 00:31:20,360 So we really need to think carefully about how we unlock things. 376 00:31:20,460 --> 00:31:23,100 So first of all, we've got problems with local lockdowns. 377 00:31:23,440 --> 00:31:28,240 And with physical access to an EFB for a short period of time, we found some interesting bugs. 378 00:31:28,240 --> 00:31:29,240 I'm going to walk you through. 379 00:31:29,240 --> 00:31:33,260 One of the very first we found was in Boeing, OPT, onboard performance tool. 380 00:31:33,260 --> 00:31:36,720 And this is the tool that's used to calculate performance. 381 00:31:36,720 --> 00:31:41,040 So you'll spit in a bunch of data and it'll give you your V speeds. 382 00:31:41,040 --> 00:31:44,860 So V1, the point at which you can break and stop without going off the end. 383 00:31:45,440 --> 00:31:47,120 VR, rotation. 384 00:31:47,440 --> 00:31:50,960 V2, the point at which you can climb away safely with only one engine. 385 00:31:50,960 --> 00:31:55,300 That spot between V1 and V2 is kind of squeaky bum time if it all goes wrong. 386 00:31:55,640 --> 00:31:58,440 Now, that's actually a photograph of one of Boeing's tools. 387 00:31:58,440 --> 00:32:00,180 They brought it along to RSA a couple of years ago. 388 00:32:00,180 --> 00:32:01,660 Really, really cool thing to do. 389 00:32:01,840 --> 00:32:05,440 And we discovered that the database had no integrity text. 390 00:32:05,440 --> 00:32:08,680 So with a few moments physical access, you could change the data. 391 00:32:08,680 --> 00:32:10,920 You could make the runway look longer than it actually was. 392 00:32:10,920 --> 00:32:12,880 And therefore, we'd spit out the wrong data. 393 00:32:13,020 --> 00:32:18,940 You could extend the runway and then the V speeds went wrong and the pilots would use the wrong amount of power for departure. 394 00:32:19,680 --> 00:32:20,680 Good news. 395 00:32:21,080 --> 00:32:22,680 Boeing handled it brilliantly. 396 00:32:22,680 --> 00:32:25,880 I could not have asked for a better response to this vulnerability. 397 00:32:26,000 --> 00:32:28,460 It's kind of good news for Boeing, which I think they kind of need at the moment. 398 00:32:28,460 --> 00:32:29,240 I don't know. 399 00:32:29,240 --> 00:32:31,360 It was a really good experience. 400 00:32:31,360 --> 00:32:33,760 They responded to us really quickly. 401 00:32:33,760 --> 00:32:34,540 They acknowledged it. 402 00:32:34,540 --> 00:32:40,380 They gave us a call every month to say, this is how we're doing it and said, by the way, it's going to take two years to fix it. 403 00:32:40,380 --> 00:32:41,460 Like, what? 404 00:32:41,480 --> 00:32:44,040 You know, Google Project Zero, that's 90 days, right? 405 00:32:44,040 --> 00:32:45,520 And you drop it like it's hot. 406 00:32:46,140 --> 00:32:47,360 Aviation is different. 407 00:32:47,700 --> 00:32:50,460 It took them a couple of weeks to fix the bug. 408 00:32:50,720 --> 00:32:54,780 It took them a couple of years to recertify the code. 409 00:32:55,240 --> 00:32:58,480 Because you can't just go and update aviation systems. 410 00:32:58,480 --> 00:33:03,840 You need to recertify them to make sure they are safe in absolutely every possible scenario. 411 00:33:03,840 --> 00:33:04,660 And that was fine. 412 00:33:04,660 --> 00:33:06,320 And they published it and it was all good. 413 00:33:06,320 --> 00:33:07,420 They got it sorted. 414 00:33:07,540 --> 00:33:08,420 Another bug. 415 00:33:08,420 --> 00:33:12,780 This is a semi-installed EFB. 416 00:33:12,780 --> 00:33:15,320 It was a kiosk and a 747 we looked at. 417 00:33:15,340 --> 00:33:18,000 And it was unbelievably poorly secure. 418 00:33:18,000 --> 00:33:19,200 So it could break out. 419 00:33:19,200 --> 00:33:20,740 Password was password. 420 00:33:20,740 --> 00:33:21,580 Great. 421 00:33:21,600 --> 00:33:28,040 And there were two of them for redundancy purposes, but they were networked and it was easy to compromise one from the other. 422 00:33:28,040 --> 00:33:31,300 So that removed the value of having redundancy in a cross check. 423 00:33:31,300 --> 00:33:34,040 Because you could hack them both to spit out the same wrong data. 424 00:33:35,080 --> 00:33:36,580 This was funny. 425 00:33:37,760 --> 00:33:41,300 It had a USB port on it and a sticker saying not to use it. 426 00:33:41,480 --> 00:33:42,280 Okay. 427 00:33:44,160 --> 00:33:47,600 Now, this vendor never, ever engaged properly. 428 00:33:47,780 --> 00:33:50,180 Actually, Boeing even gave them a bit of a kick on our behalf. 429 00:33:50,180 --> 00:33:52,220 They intervened to try and help it along. 430 00:33:52,220 --> 00:33:53,160 Still nothing. 431 00:33:53,180 --> 00:34:03,800 And actually, after 18 months, we agreed with the Aviation ISAC, which is the industry's cybersecurity and sharing body, that actually it was reasonable to disclose in public once we told the airlines about it first. 432 00:34:03,800 --> 00:34:04,840 And they helped us do that. 433 00:34:04,840 --> 00:34:06,100 That was really cool. 434 00:34:06,580 --> 00:34:07,620 What about some new things? 435 00:34:07,620 --> 00:34:09,100 So we've done Boeing. 436 00:34:09,260 --> 00:34:11,020 Let's talk about Airbus. 437 00:34:11,080 --> 00:34:17,300 So this is Airbus, NavBlue, FlySmart, LPG, LPC, NG. 438 00:34:17,300 --> 00:34:20,400 There are more TLAs in aviation than there are in cybersecurity. 439 00:34:20,400 --> 00:34:24,100 LPC, less paper cockpit, NG, next generation. 440 00:34:24,260 --> 00:34:26,920 NavBlue is a company that's been acquired by Airbus. 441 00:34:26,920 --> 00:34:27,880 And we found a bug. 442 00:34:28,260 --> 00:34:30,640 Almost exactly the same as Boeing OPT. 443 00:34:30,640 --> 00:34:35,240 So you can tamper with the runway databases and make pilots use the wrong amount of power. 444 00:34:35,240 --> 00:34:37,260 So it spit out the wrong information. 445 00:34:37,260 --> 00:34:38,500 Pilots do the wrong thing. 446 00:34:38,600 --> 00:34:40,620 So we started vulnerability disclosure. 447 00:34:40,620 --> 00:34:43,720 And you're probably looking at that going, that's 2021, Ken. 448 00:34:43,720 --> 00:34:44,720 Yes, it is. 449 00:34:45,040 --> 00:34:46,220 So we sent it to Airbus. 450 00:34:46,220 --> 00:34:47,920 They've got a great PCER team. 451 00:34:47,920 --> 00:34:48,700 We sent it to them. 452 00:34:48,700 --> 00:34:49,960 They came back to us quickly. 453 00:34:49,960 --> 00:34:54,040 They replied to us after a month and said, yeah, it's the operator's problem. 454 00:34:54,240 --> 00:34:57,460 I'm summarizing about four pages of email here. 455 00:34:57,460 --> 00:34:59,300 But yeah, that's not our problem. 456 00:34:59,300 --> 00:35:00,780 That's for the airlines. 457 00:35:01,420 --> 00:35:03,700 Okay, that's a novel discussion. 458 00:35:03,700 --> 00:35:05,980 So we started going into some of the regulations. 459 00:35:05,980 --> 00:35:11,360 And I'm not going to talk about EFB regs because they're really complicated, but they are different around the world. 460 00:35:11,380 --> 00:35:17,880 EASA, European Aviation Safety Agency is actually fairly robust on EFB regs. 461 00:35:17,880 --> 00:35:19,620 FAA is slightly different. 462 00:35:19,680 --> 00:35:24,620 Installed EFBs, completely different set of regulations to a portable EFB. 463 00:35:24,620 --> 00:35:29,360 And the Civil Aviation Authority in my home country also has a different set of regs as well. 464 00:35:29,500 --> 00:35:36,360 So we looked at the regs and found AMC 2025, AMC Additional Means of Compliance. 465 00:35:36,360 --> 00:35:43,100 So this is basically the regulation that you're supposed to follow when you're keeping your EFB software up to date. 466 00:35:43,100 --> 00:35:46,280 And it actually said you're supposed to do an integrity check. 467 00:35:46,280 --> 00:35:48,100 And that's the one thing we thought was missing. 468 00:35:48,100 --> 00:35:48,780 Great. 469 00:35:49,260 --> 00:35:54,820 So we had another call with Airbus and said, hey, we think you're not following the regs. 470 00:35:55,280 --> 00:36:03,400 And this was a really weird conversation where they said, we're not going to fix it because we've analyzed your vulnerability and decided that fixing it would be a product improvement. 471 00:36:04,380 --> 00:36:05,940 I've got that in writing. 472 00:36:06,100 --> 00:36:10,800 Long version, basically, we had a near argument with their engineering team. 473 00:36:11,120 --> 00:36:16,660 And they told us that it didn't matter because you'd have to hack both EFBs at once because pilots cross-check on both. 474 00:36:16,660 --> 00:36:17,680 Well, they don't actually. 475 00:36:17,680 --> 00:36:18,600 They use one. 476 00:36:18,600 --> 00:36:25,820 Typically, one pilot will do the entry of the data, pass to the co-pilot, and they will verify the data entry, then make the calculation. 477 00:36:25,900 --> 00:36:32,220 And to prove that, most planes now have a minimum equipment list that only requires one EFB. 478 00:36:32,220 --> 00:36:33,380 So that was a shame. 479 00:36:33,960 --> 00:36:38,260 So we pushed over the period of a year. 480 00:36:38,700 --> 00:36:41,520 And they came back and said, yeah, we've evaluated it. 481 00:36:41,520 --> 00:36:43,220 We consider it as a product improvement. 482 00:36:43,220 --> 00:36:44,740 So we're not going to fix it. 483 00:36:45,080 --> 00:36:45,620 Okay. 484 00:36:46,580 --> 00:36:51,220 And then one of our friendly airline clients said, do you know what you could do? 485 00:36:51,220 --> 00:36:52,760 You could have a chat with the regulator. 486 00:36:52,760 --> 00:36:55,000 I was like, why didn't we think of this before? 487 00:36:55,000 --> 00:36:56,480 Have a chat with the regulator. 488 00:36:56,820 --> 00:37:04,640 So we spoke to EASA, who are lovely, by the way, and we said, we've got this vulnerability and Airbus have said they won't fix it. 489 00:37:04,640 --> 00:37:06,540 And we're like, what do you think? 490 00:37:06,540 --> 00:37:08,540 And they said, I think we agree. 491 00:37:08,540 --> 00:37:11,840 And then miraculously on 10th of April, it's been fixed. 492 00:37:11,960 --> 00:37:14,600 It's amazing what happens when you get the regulator involved, isn't it? 493 00:37:14,600 --> 00:37:17,620 So it has been fixed, which is great, which is why we're talking about it now. 494 00:37:17,780 --> 00:37:20,140 But why was it so hard? 495 00:37:20,680 --> 00:37:31,740 I think some of it is around some of the struggles between flight safety and engineering and cybersecurity, because some of those are competing interests. 496 00:37:31,740 --> 00:37:33,380 It's so critically important. 497 00:37:33,380 --> 00:37:40,680 Same problem we see in OT, cultural separations between cybersecurity and safety engineering. 498 00:37:40,980 --> 00:37:44,020 I think there was also a bit of a reluctance to acknowledge it. 499 00:37:44,020 --> 00:37:49,500 I've spoken to Airbus a few times about this, and they've never publicly acknowledged the detail of this vulnerability. 500 00:37:49,500 --> 00:37:58,120 And what's really weird is actually Airbus have got a really good reputation with their customers for being really engaging with them on cybersecurity. 501 00:37:58,120 --> 00:37:59,900 They've got test rigs, all sorts of stuff. 502 00:37:59,900 --> 00:38:05,940 It's actually, they do some really cool things, so we don't understand why we had to involve the regulator here. 503 00:38:06,080 --> 00:38:07,260 There's another bug we found. 504 00:38:07,260 --> 00:38:09,180 This was well handled by them. 505 00:38:09,180 --> 00:38:11,540 This is a slightly different set of the package. 506 00:38:11,540 --> 00:38:17,540 It's called Fly Smart Plus, and the updater for the iOS app had intentionally had ATS disabled. 507 00:38:17,540 --> 00:38:25,320 So application transport security, they turned it off, which meant weirdly, you could man the middle over Wi-Fi and tamper with the updates. 508 00:38:26,040 --> 00:38:28,420 And like attacks over Wi-Fi, really? 509 00:38:28,460 --> 00:38:33,520 But actually, there's one odd thing about pilots as they always stay in the same damn layover hotels every night. 510 00:38:33,560 --> 00:38:37,460 You can guarantee that layover hotel is going to have a pilot from their airline in. 511 00:38:37,460 --> 00:38:39,080 So actually, you know where they're going to be. 512 00:38:39,080 --> 00:38:41,660 So maybe a Wi -Fi attack is a bit more plausible. 513 00:38:42,360 --> 00:38:53,920 Another one, so Lufthansa, this is actually the Lufthansa systems part of the business that produce a really good charting application called eRoute manual, used by loads and loads of airlines. 514 00:38:54,120 --> 00:38:55,560 And we had a very similar issue. 515 00:38:55,680 --> 00:39:07,540 Whilst they did have an integrity check, unfortunately, the key for that integrity check was 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, twice. 516 00:39:07,860 --> 00:39:09,120 And so we flagged this to them. 517 00:39:09,120 --> 00:39:10,440 They said, yeah, that's great. 518 00:39:10,440 --> 00:39:11,440 We get we agree with you. 519 00:39:11,440 --> 00:39:12,600 We disclosed it to them. 520 00:39:12,600 --> 00:39:16,140 What it meant was you could tamper with, for example, approach plates. 521 00:39:16,140 --> 00:39:20,160 So you could tamper with, I'll walk you through this. 522 00:39:20,160 --> 00:39:23,420 So this is how you approach to an airport. 523 00:39:23,580 --> 00:39:28,600 So you're supposed to arrive at 5,000 feet at DME 14 to the BRA VOR. 524 00:39:28,600 --> 00:39:30,080 That's your initial fix. 525 00:39:30,080 --> 00:39:35,700 Your safety height's now 4,600 feet till you get to top of descent D at DME 12.4. 526 00:39:35,700 --> 00:39:41,500 You then descend on 170 degree heading to a safe point at your final fix at 3,900. 527 00:39:41,500 --> 00:39:50,720 And then you can get down to your minimum descent altitude to the point of getting to the middle marker at DME 4, so four miles from the airport, at which point you either go around or you land. 528 00:39:50,720 --> 00:39:57,080 And we discovered you could tamper with all those so you could convince the pilots to go lower and potentially have a control flight into the ground. 529 00:39:57,180 --> 00:39:58,660 I hope that doesn't happen. 530 00:39:59,000 --> 00:40:00,260 They were awesome. 531 00:40:00,680 --> 00:40:05,920 It took them two years, but they were really good, really engaging, and have since asked us out to give some talks to them. 532 00:40:06,840 --> 00:40:07,800 Yeah. 533 00:40:08,720 --> 00:40:10,380 So that is me and EFBs. 534 00:40:10,380 --> 00:40:13,460 I want to give a very quick rattle around airports next. 535 00:40:14,140 --> 00:40:15,960 The other side of things. 536 00:40:16,360 --> 00:40:20,980 Airports are incredibly complicated places with lots of really interesting things going on. 537 00:40:21,240 --> 00:40:26,260 We were asked by one airport to look at their departure boards. 538 00:40:26,260 --> 00:40:27,520 We said, yeah, we've got bugs in those. 539 00:40:27,520 --> 00:40:30,720 We think we can inject our own flights and completely tamper with everything. 540 00:40:30,720 --> 00:40:32,640 They said, what a cool organization. 541 00:40:32,640 --> 00:40:33,460 We said, go on then. 542 00:40:34,300 --> 00:40:35,620 Put a flight on our boards. 543 00:40:35,620 --> 00:40:36,640 So we did. 544 00:40:37,360 --> 00:40:39,100 But of course, that was just proving the point. 545 00:40:39,100 --> 00:40:41,940 We could have trashed that system and then there would have been chaos at the airport. 546 00:40:43,080 --> 00:40:44,860 Runway lighting is also a major issue. 547 00:40:44,860 --> 00:40:52,160 We know of one airport where their runway lighting controllers were airside and then they expanded the parking lots and they ended up landside. 548 00:40:52,260 --> 00:40:56,580 And then someone came along and stole all the controllers and the runway lights stopped working. 549 00:40:56,580 --> 00:40:57,120 Oops. 550 00:40:57,520 --> 00:40:58,400 These are really good fun. 551 00:40:58,400 --> 00:41:02,040 If you ever fly into Heathrow's Terminal 5, they use robot pushback tugs. 552 00:41:02,120 --> 00:41:04,060 Never got to have a go at them. 553 00:41:04,060 --> 00:41:09,100 Haven't managed to pen test them yet, but I'm really pushing BA and IAG to see if we can have a pop. 554 00:41:09,100 --> 00:41:10,460 Really interesting devices. 555 00:41:10,780 --> 00:41:12,540 Fueling is also a major problem. 556 00:41:12,540 --> 00:41:14,460 There's two primary providers. 557 00:41:14,460 --> 00:41:17,100 It's all API-based, all done through tablets. 558 00:41:17,200 --> 00:41:20,040 I think there's a really interesting set of research to be done there. 559 00:41:20,040 --> 00:41:22,360 And ground power is a major problem as well. 560 00:41:23,380 --> 00:41:25,640 I'm not going to talk about spoofing ADS-B. 561 00:41:25,640 --> 00:41:27,000 I'm not going to talk about that either. 562 00:41:27,000 --> 00:41:33,420 But what I really wanted to get to here is if you're doing research in aviation, please make sure you disclose it responsibly. 563 00:41:33,700 --> 00:41:35,320 Don't drop it like it's hot in the public. 564 00:41:35,320 --> 00:41:40,240 It's not going to be possible to fix that bug and publish it in 90 days data. 565 00:41:40,240 --> 00:41:41,800 It's going to take a while. 566 00:41:41,820 --> 00:41:49,280 If you're struggling to get airlines or manufacturers to listen to you, there's a couple of really awesome routes you can go. 567 00:41:49,280 --> 00:41:52,680 So the Aviation ISAC will help broker vulnerability disclosure for you. 568 00:41:52,680 --> 00:41:57,020 If you're struggling too, the DEFCON Aerospace Village, wherever there, we helped found it. 569 00:41:57,060 --> 00:41:58,080 We will help you as well. 570 00:41:58,080 --> 00:42:05,180 There's lots of really cool organizations that can help you disclose vulnerabilities to airline and get things fixed. 571 00:42:05,780 --> 00:42:07,460 Planes are very complicated. 572 00:42:07,760 --> 00:42:10,920 They have really, really important safety engineering in there. 573 00:42:10,920 --> 00:42:12,820 So it does take a while to get the bugs fixed. 574 00:42:12,820 --> 00:42:18,580 So just bear with whilst they fixed it safely and responsibly. 575 00:42:18,660 --> 00:42:21,060 It would be lovely just to push an update, wouldn't it? 576 00:42:21,080 --> 00:42:23,540 But the chance of blue screening a plane? 577 00:42:23,660 --> 00:42:24,980 Should we just not go there? 578 00:42:25,340 --> 00:42:26,440 Anyway, that is me. 579 00:42:26,440 --> 00:42:27,380 Hope you found it interesting. 580 00:42:27,380 --> 00:42:28,360 That's my email. 581 00:42:28,360 --> 00:42:29,800 That's the firm I work for. 582 00:42:29,800 --> 00:42:32,100 We're over in the Aerospace Village if you want to come and have a chat. 583 00:42:32,100 --> 00:42:35,020 We've got a flight simulator to play with, but thank you so much.