start	end	text
0	2720	So I have to apologize, the projector's not working.
2720	8800	So I do have slides, which will be recorded into the talk, but unfortunately you can't see them.
11600	22320	So this is a talk about vulnerability in aviation, vulnerability disclosure, and basically give you some examples of how it should not be done, and then some advice on how to do it better.
23080	26720	So I'm gonna give some real world examples, what I call the good, bad, and the ugly.
27000	31140	Some do's and don'ts for both researchers and recipients of disclosures.
33160	39280	So I'm Matt Gaffney, also known as Gaffers, hacker, veteran, aviation nerd.
39280	42560	I used to be in the British Army for quite a long time.
42560	46260	I've also worked for the UK Foreign and Commonwealth Office and various French companies.
46260	47900	I've spent quite a bit of time in France.
48000	54140	But I've been working in aviation since about 2016, and I was forced into research.
54140	71120	When I say forced, it was actually through the VDP process and disclosing vulnerabilities that that happened, because I was told that stuff I knew to be right was not right, and so I had to research the heck out of it to basically fight my corner.
72140	84920	And been doing research into electronic flight bags, also known as EFBs, PKI in aircraft, drones, website vulnerabilities, CVEs for Java, and my personal favorite, social engineering.
86300	94080	The reason that's my personal favorite is because when we talk about insider threats in our risk assessments, and we're told, ah, we'll never fall for that, and guess what?
94080	95840	So I learned about social engineering.
95920	101720	If you've never read Jenny Radcliffe's book on social engineering, I highly recommend it.
101720	102840	It's brilliant.
103240	105860	Good old scouser there for stealing things.
106120	108020	But her book is excellent.
108020	111040	I took that on board, and yes, guess what?
111040	112180	They fell for it.
114140	115740	So my personal experiences.
115740	123240	So the first one, this is, like I said, this is the one that got me into research.
123560	134260	Because , so we did a, part of an entry into service for a new aircraft, one of the tasks I had was to build a secure build for an electronic flight bag.
134560	136080	So I had to lock it down.
136080	143580	And through several iterations, I managed to get it down to a point where I was happy, and we sent it off to some pen testers, a third party, to check my work.
144800	148580	And it was a five day test, and after day one, they said, we're finished, you're good.
148760	149760	I'm like, okay, great.
150660	152320	Got four days left, what do you want us to do?
152320	155200	And they said, well, have a poke around in the software, see what you can find.
155740	158700	And then, end of day two, they call us and say, hey, we've got a problem.
160860	163740	So I'm not gonna give you the details of any of the vulnerabilities here today.
164340	170800	One thing I did mention, it would have been perfectly obvious, is that I'm not talking on behalf of my employer today, or any employer of mine.
170880	172540	I'm speaking purely as gaffers.
175580	184100	So, the pen testers found some things, and we didn't really know what it was in the context of the electronic flight back.
184200	186560	These were still relatively new to me at the time.
187220	189640	So I went and spoke to the pilots.
190280	196780	So I had a meeting with the chief pilot for both the fleets that were in operation in that airline at the time.
198120	205640	And when I saw their eyes go wide like saucers as to what I could do, they were a little bit upset.
205640	217880	So they explained what the safety impacts were to that vulnerability, and I wrote it all up and made a disclosure to the company in question, the company who supplied the EFP software.
218560	222720	That initial disclosure was met with, that's not a vulnerability, but a feature.
224700	226700	That was the opening gambit.
226900	234200	And actually, it took over nine months of challenging discourse, including discussions with the regulators, with back and forth.
234200	238420	And eventually, they reluctantly agreed to make some changes, right?
239640	250260	But over that time, over that nine months, I was researching the whole time to counter what they were telling me, which was really not the best way for them to go about.
250620	258340	Eventually, we agreed a several-year action plan because in aviation, if you've never worked in vulnerabilities, you can't change things overnight.
258340	260180	You can't patch a zero-day, right?
260180	262640	It's like trying to sprint through treacle.
263640	266500	You know, we measure progress in years or even decades.
267060	269200	So, a several-year action plan was agreed.
270420	272640	And whilst that was ongoing, the pandemic hits.
272860	275840	I was a contractor at that airline at the time, so I get kicked out.
276560	281260	That's how I picked up drone research because I can't afford a 737, but I can afford drones.
282600	286600	So, I changed employer, of course.
286600	288000	I moved here to the States.
288000	290520	I'm now working for a new employer in the same business.
291100	293420	And I asked to follow up five years later.
293980	300720	And their response, after four years of stonewalling me, four years, four months of stonewalling me, was, oh, you're no longer our client.
300720	302360	We won't discuss anything with you.
302520	305060	Oh, when our code is IP, you can't talk about it.
306640	310840	Basically, the corporate phrase of telling me to go fornicate with myself.
313880	315080	And yes, they're right.
315080	317040	The code is IP, but the vulnerability isn't.
317040	324460	So, if there are any operators in the audience today who would like to learn about this vulnerability in the EFP software, we'll make a formal contact.
324920	332820	And once I am confident that I'm speaking to somebody in the industry who needs to know this information, I will gladly share it.
334680	338500	So, the second issue is actually kind of recent.
339700	347360	So, through, and my boss loves this because I said to her, look, I wasn't looking for anything.
347940	349240	Because she gave me that look.
349240	350380	She said, really, Matt?
352640	356600	And I wasn't looking for anything, but I found it by accident.
356680	359660	And it was through another incident, actually, that I was investigating.
360660	367140	And it was a gap in regulation and the way certain things were implemented.
368880	375000	And that, again, and the reason I'm including it here is because the initial disclosure, it was a multiple OEMs.
375220	376660	It wasn't just one thing.
376660	377480	It was a multiple thing.
377480	386440	It's actually going to lead to a change in instructions for continued worthiness and changes in procedures across most airlines in the world.
387080	391580	But it was a massive gap and, excuse me a moment,
395590	399770	the initial pushback is the reason I'm including it here.
401290	406310	Because I didn't have to do research for this one because I'd already done two years of research into the regulations I was talking about.
406310	407930	I knew them like the back of my hands.
408650	414950	And I actually successfully argued my case.
414950	427690	And actually, once we got past that hurdle, there were multiple collaborative work sessions across not just multiple OEMs but multiple time zones, actually, with on-wing tests and everything else to get things changed.
428290	432090	And actually, it's been documented for other operators to follow suit.
432090	436710	The change to the ICAs are coming out and there's an agreed timeline for distribution as well.
437410	443710	And, of course, this is something we informed the regulator about and we've kept them informed all the way through.
444090	447170	So , it's kind of like a good and bad one, that one.
447210	448810	Not ugly like the first one.
451450	455710	The next one here, I had to change the slide about five times.
458170	468730	So, we were informed by a third party that we had a relationship with who supplied us with some software that you have a sensitive system visible to the internet.
470370	473610	So, of course, initially we went, okay, that should not be happening.
473710	474970	What have we done wrong?
475290	477030	Basically, an oh shit moment.
478290	485330	So, I actually investigated this through the night and discovered that, actually, it wasn't ours.
485910	489270	It actually belonged to this company who reported it to us.
489410	492210	It was their own testing environment they provide to us.
493530	496350	And they hadn't followed their own guidance for implementing it.
497750	500610	So, yes, that was quite embarrassing for them.
501130	507530	But in the end, it was like, well, we need to get legal and third party involved because they're not following the contract that we've signed with them.
507530	510290	So, it's a bit of an own goal, that one.
510990	521150	But I guess the lesson there is to make sure you know what you're looking at before you start engaging with third parties and not, I wouldn't say slinging mud, but pointing fingers.
523910	527610	And then, as some of you may know, I'm also a volunteer at the Aerospace Village.
528470	533210	So, a few years ago, there was a talk which was disclosed.
533210	538530	If you've ever disclosed a talk to the village, you have to go through a number of questions.
538530	539790	Are you disclosing a vulnerability?
539790	540270	Yes, no.
540270	546310	If yes, have you approached the manufacturer and gone through the whole VDP process?
546310	547350	Yes, no.
548090	549710	And if they say yes, then you go, okay.
549730	550810	And we do our due diligence.
550810	553250	We go behind and say, hey guys, are you aware of this?
553490	555190	So, this is what happened in this case.
556410	558890	And the response was, no, it's not complete.
558890	560430	You can't talk about that at DEF CON.
561450	562090	Okay.
562310	566830	So, we go back to the researchers and they dropped all the receipts.
566830	569250	They'd gone through the whole responsible disclosure process.
569370	576650	They took it through to closure and the manufacturer had simply just accepted the risk without making a change.
576810	580230	They'd failed to negotiate with the researchers about holding back public disclosure.
580570	583270	They'd failed to agree on a communication plan.
584450	587710	And actually, it was something that's quite difficult to fix, so I couldn't understand why.
587930	590430	But the whole thing was mismanaged all the way through.
592510	594030	And then wider experience.
594310	598430	This was seven years ago, I think.
599550	604130	So, authentication bypass vulnerability was discovered on a publicly facing website.
604130	609750	And the researcher tried contacting the aerospace company through various means, no response.
610870	615490	There was no official VDP, like, you know, Vulnerability Disclosure Program at the time.
615490	617970	And that made submission challenging for them.
619590	625850	So, after, you know, exhausting all avenues, the researcher then went to social media and that provoked a reaction.
626410	629750	And at this point, I want to say the story gets a bit weird.
629990	633250	So, an official submission was made and it was here at DEF CON actually at the time.
634670	636930	Again, there's accusations on both sides.
637030	641330	There's, you know, claim and counter-claim about where, what happened where.
641510	645670	I don't know who to believe, but my understanding is that the bridges between them are still broken.
645670	647470	I think they did fix the vulnerability, though.
648950	656990	And it's a shame I can't show you the slide right now because Ken Monroe at Pentest Partners gave me this brilliant bingo sheet.
660280	665200	And these are all responses that he's had when disclosing vulnerabilities.
667700	669920	And I'll give a few examples here.
670020	672660	We've had no reports of our product being hacked before.
677110	679030	Our normal users would never do that.
679030	679990	It's not a problem.
681010	684390	My personal favorite, we use military-grade encryption, okay?
686250	687610	I was in the army.
687690	692210	Whenever I see something that says, oh, I used to, you know, military-grade this or that, I run a mile.
693030	693830	Yes.
696810	698430	What's another good one here?
699930	702030	Yes, that is intended functionality.
702250	703350	Same as what I got there.
703350	705250	It's not a vulnerability, but it's a feature.
706950	723610	So, if you work in the industry, the aerospace industry, there are some, you know, do's and don'ts, really, about dealing with researchers and people who approach you from inside the industry as well.
723610	725990	So, make sure you have a vulnerability disclosure program.
725990	729610	And remember, it's more than just a web page on your website, right?
730030	733650	Quoting Jeff Troy there from the Aviation ISAC.
734550	740990	Think about having, you know, security.txt files in your website and security at yourdomain.com.
740990	742810	Make sure it's active and monitored.
743510	751250	Do engage with researcher submissions, because if you don't, well, you know, they may go off and do things that you wouldn't like.
751690	754470	And communicate, communicate, communicate, right?
754470	757930	In aviation pilots, they, you know, aviate, navigate, communicate.
757930	760290	But in VDP, it's communicate, communicate, communicate.
760290	762530	If you've got no update, tell them, right?
762530	765630	Because if you don't, they're just going to sit there and think you're being ignored.
766490	768630	Trust me, that's how you feel.
770130	775270	And this one's a little bit contentious, but only use legal representation when necessary.
775530	780430	Sometimes when you engage legal in conversations with hackers, they run a mile.
780430	782430	They go under a rock, they hide away.
782850	790550	They either don't disclose, or they might just, you know, find another avenue for disclosing it, maybe somewhere you wouldn't like it.
791370	799230	And, you know, if you're having a discourse, agree on any disclosure, timelines, message, details, et cetera, and follow the agreed plan.
799810	801310	Don't ignore the problem.
801370	804350	Don't belittle the concerns in the submission, like I got.
805510	807330	Don't force an NDA either.
807330	817010	Now, that's an interesting one, because sometimes you might want to share some information with the researcher to improve their knowledge, right?
817010	818670	Because they might be able to help you, actually.
819610	822230	But in those cases, you might need to force an NDA on them.
822670	825030	So, there's really, in this area, there's really three types of people.
825030	830570	There are your researchers who have had to get a kudos, you know, public recognition.
830830	834090	There are researchers trying to make the aviation industry a better place.
834090	839270	And then there are people who are just interested in learning more, like Ken Munro.
840450	844450	Those latter two are most likely to engage with you with an NDA.
844610	852270	Like, there's at least two that Ken is working on that he won't talk about publicly, because he signed an NDA, and that's his agreement.
852490	854910	But he did that so he could learn more about what he was looking into.
857270	859270	Don't make threats or intimidate people.
859270	861130	Don't go after the researcher's reputation.
861130	863390	That has been done so many times.
863390	869190	And this is a personal message here for the aerospace industry in the room.
869470	873030	Don't rely on security by obscurity alone.
873290	875410	It doesn't work.
875830	882870	Okay, I understand there are lots of things you don't want to bring out into sunlight, and that's fine, that's normal, I agree with that.
882990	887370	But relying on security by obscurity by itself does not work.
889970	895970	And if you're in the position of submitting a vulnerability, well, again, check if they have a VDP program, follow it.
896270	899510	Engage responsibly, make every effort to go through those formal channels.
899510	901010	Consider using the Aviation ISAC.
901010	903790	They're actually really good at getting you into the right people.
904070	909530	And if they don't have access to the right people in that company, they'll know somebody adjacent, and they can definitely help you.
910610	914650	Communicate all the details, stick to facts, and leave a motion at the door.
914970	918710	And understand that the 60-day unwritten rule may not apply.
918710	920850	Fixes, like I said, can take years, right?
920850	926270	You may have to enter into an agreement where you don't talk about things for a certain amount of time, or not at all, right?
928590	932990	And then understand, like I said, you might have to enter a restrictive agreement.
933430	944550	So with my EFB vulnerability, I didn't enter into any agreement with them, but I'm keeping hold of that information, and only sharing it with those people I feel necessary, who actually need it.
946710	951130	So if you're a researcher, don't get upset when the mitigation details can't be shared with you.
951130	954770	Like I said, we don't share everything, right?
955370	961450	Don't breach your NDA, don't ignore laws, and don't disregard any agreements you've made or requests.
962030	967990	And finally, because I've been on the receiving end of this as well, don't use it as a business opportunity.
968090	975430	When you forward that meeting invite onto your head of marketing and business relationship managers, we can see that.
976010	976870	And guess what?
976870	983830	We know a little bit about OSINT as well, so we can figure out, oh, yes, OK, you just basically put your sales team to the call.
983830	985810	This is not a vulnerability disclosure at all.
986450	988450	I've seen it done many, many times.
991670	992890	So that's it.
992890	993770	Thank you.
993770	996170	I've got any questions from the crowd that I can answer?
1006710	1008070	Not seeing any hands.
1009450	1010150	OK.
1010150	1012890	Seeing one of the latest trends you've seen.
1014870	1019970	Yes, the question was, what are the latest trends that I've seen with the submissions?
1026350	1028070	Let's see.
1028210	1030650	Can I answer that one?
1032190	1034210	Probably not.
1034930	1038450	But we do still get them.
1039090	1040870	There's a lot of...
1041750	1048290	You know, as connectivity in the aircraft is increasing, as you know, the attack services are getting larger and larger.
1048290	1051750	That's why I said security by obscurity doesn't work, right?
1051830	1056230	Aircraft are more and more dependent on communications now because they're flying data sensors, right?
1056230	1060910	They're generating, you know, gigabytes of data every single flight.
1062130	1066170	You know, so we rely on that connectivity and that increases the attack surface.
1067250	1069650	So people are going to find stuff, you know?
1069650	1075190	So you've got to figure out how you're going to deal with it when this, you know, when this happens to you.
1077110	1077910	Yes?
1077990	1083050	So you said that there's three kinds of researchers to all of these...
1083930	1084530	Yeah.
1086630	1087370	Sure.
1087370	1089390	I was a bit generalistic, but you're probably right.
1089410	1089490	Yeah .
1092310	1093110	Yes.
1093370	1097910	So what do you do with the scenarios where, like, you get someone who is asking
1102160	1103080	for...
1103080	1103960	Right .
1105600	1111860	So this is why I wanted to do this, you know, with my employer hat on because we have a pretty good reimbursement program.
1112400	1115960	But a lot of companies do have reimbursement programs.
1115960	1121160	So they might go through, you know, bug bounties and official, you know, bug bounty programs.
1122240	1124740	Others, some airlines actually provide miles.
1126320	1131160	So I found vulnerabilities in our own stuff, disclosed, and then realized I couldn't get anything for it.
1131160	1132320	But, you know...
1134520	1137040	And again, it was always by accident.
1137040	1138220	It wasn't that I went looking.
1138240	1139840	I just found stuff by accident.
1139840	1140660	So , yeah.
1141060	1142720	Police boss, believe me.
1142900	1143380	Yeah .
1143560	1144460	Yes.
1158320	1160240	So vulnerability submissions.
1161580	1166200	Where I work, they get tracked as an incident if they are confirmed as valid.
1168340	1170200	I can't talk about anyone else.
1171960	1173920	Are you talking about CVEs and things like that?
1173920	1174420	Yeah.
1176080	1185820	So that's an interesting one because there was the TCAS CVE vulnerability that was publicly disclosed earlier this year.
1185820	1186880	Was it in January?
1186880	1187520	Yes.
1193600	1195540	So the answer is yes.
1195680	1200760	And often times that would be an exception.
1200760	1206000	There was a direct CVE relating to like, say, avionics equipment or things like that.
1206100	1208980	That's not generally stuff that is known about.
1208980	1216820	But often times it's more about CVEs more generally which then have an impact on, say, our ground systems or the tooling that we use and all that kind of stuff.
1217880	1221340	So they're not specific to aviation, but they can have an effect on aviation.
1225540	1226220	Yes.
1226220	1227120	How does the bot work?
1227120	1228800	Is anything possible for the bot?
1229820	1232160	Well, if you... do you work for an airline?
1232970	1233540	No.
1233540	1234460	Sorry.
1237460	1241300	If you get a job at an airline we'll connect and we can discuss.
1243740	1244900	Alright.
1254790	1256270	Well, yeah.
1256270	1257910	The cloud is one.
1259890	1260950	Yeah.
1261530	1263190	That's where I was going.
1263690	1265190	No, inside a threat.
1265190	1266830	Inside a threat.
1267490	1268170	Yeah.
1269010	1270390	Inside a threat.
1271430	1273170	That's our biggest focus.
1278760	1279720	Alright.
1279980	1280800	That's it.
1280800	1281780	Thank you very much.
