WEBVTT

00:00.000 --> 00:02.720
So I have to apologize, the projector's not working.

00:02.720 --> 00:08.800
So I do have slides, which will be recorded into the talk, but unfortunately you can't see them.

00:11.600 --> 00:22.320
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.

00:23.080 --> 00:26.720
So I'm gonna give some real world examples, what I call the good, bad, and the ugly.

00:27.000 --> 00:31.140
Some do's and don'ts for both researchers and recipients of disclosures.

00:33.160 --> 00:39.280
So I'm Matt Gaffney, also known as Gaffers, hacker, veteran, aviation nerd.

00:39.280 --> 00:42.560
I used to be in the British Army for quite a long time.

00:42.560 --> 00:46.260
I've also worked for the UK Foreign and Commonwealth Office and various French companies.

00:46.260 --> 00:47.900
I've spent quite a bit of time in France.

00:48.000 --> 00:54.140
But I've been working in aviation since about 2016, and I was forced into research.

00:54.140 --> 01:11.120
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.

01:12.140 --> 01:24.920
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.

01:26.300 --> 01:34.080
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?

01:34.080 --> 01:35.840
So I learned about social engineering.

01:35.920 --> 01:41.720
If you've never read Jenny Radcliffe's book on social engineering, I highly recommend it.

01:41.720 --> 01:42.840
It's brilliant.

01:43.240 --> 01:45.860
Good old scouser there for stealing things.

01:46.120 --> 01:48.020
But her book is excellent.

01:48.020 --> 01:51.040
I took that on board, and yes, guess what?

01:51.040 --> 01:52.180
They fell for it.

01:54.140 --> 01:55.740
So my personal experiences.

01:55.740 --> 02:03.240
So the first one, this is, like I said, this is the one that got me into research.

02:03.560 --> 02:14.260
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.

02:14.560 --> 02:16.080
So I had to lock it down.

02:16.080 --> 02:23.580
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.

02:24.800 --> 02:28.580
And it was a five day test, and after day one, they said, we're finished, you're good.

02:28.760 --> 02:29.760
I'm like, okay, great.

02:30.660 --> 02:32.320
Got four days left, what do you want us to do?

02:32.320 --> 02:35.200
And they said, well, have a poke around in the software, see what you can find.

02:35.740 --> 02:38.700
And then, end of day two, they call us and say, hey, we've got a problem.

02:40.860 --> 02:43.740
So I'm not gonna give you the details of any of the vulnerabilities here today.

02:44.340 --> 02:50.800
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.

02:50.880 --> 02:52.540
I'm speaking purely as gaffers.

02:55.580 --> 03:04.100
So, the pen testers found some things, and we didn't really know what it was in the context of the electronic flight back.

03:04.200 --> 03:06.560
These were still relatively new to me at the time.

03:07.220 --> 03:09.640
So I went and spoke to the pilots.

03:10.280 --> 03:16.780
So I had a meeting with the chief pilot for both the fleets that were in operation in that airline at the time.

03:18.120 --> 03:25.640
And when I saw their eyes go wide like saucers as to what I could do, they were a little bit upset.

03:25.640 --> 03:37.880
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.

03:38.560 --> 03:42.720
That initial disclosure was met with, that's not a vulnerability, but a feature.

03:44.700 --> 03:46.700
That was the opening gambit.

03:46.900 --> 03:54.200
And actually, it took over nine months of challenging discourse, including discussions with the regulators, with back and forth.

03:54.200 --> 03:58.420
And eventually, they reluctantly agreed to make some changes, right?

03:59.640 --> 04:10.260
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.

04:10.620 --> 04:18.340
Eventually, we agreed a several-year action plan because in aviation, if you've never worked in vulnerabilities, you can't change things overnight.

04:18.340 --> 04:20.180
You can't patch a zero-day, right?

04:20.180 --> 04:22.640
It's like trying to sprint through treacle.

04:23.640 --> 04:26.500
You know, we measure progress in years or even decades.

04:27.060 --> 04:29.200
So, a several-year action plan was agreed.

04:30.420 --> 04:32.640
And whilst that was ongoing, the pandemic hits.

04:32.860 --> 04:35.840
I was a contractor at that airline at the time, so I get kicked out.

04:36.560 --> 04:41.260
That's how I picked up drone research because I can't afford a 737, but I can afford drones.

04:42.600 --> 04:46.600
So, I changed employer, of course.

04:46.600 --> 04:48.000
I moved here to the States.

04:48.000 --> 04:50.520
I'm now working for a new employer in the same business.

04:51.100 --> 04:53.420
And I asked to follow up five years later.

04:53.980 --> 05:00.720
And their response, after four years of stonewalling me, four years, four months of stonewalling me, was, oh, you're no longer our client.

05:00.720 --> 05:02.360
We won't discuss anything with you.

05:02.520 --> 05:05.060
Oh, when our code is IP, you can't talk about it.

05:06.640 --> 05:10.840
Basically, the corporate phrase of telling me to go fornicate with myself.

05:13.880 --> 05:15.080
And yes, they're right.

05:15.080 --> 05:17.040
The code is IP, but the vulnerability isn't.

05:17.040 --> 05:24.460
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.

05:24.920 --> 05:32.820
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.

05:34.680 --> 05:38.500
So, the second issue is actually kind of recent.

05:39.700 --> 05:47.360
So, through, and my boss loves this because I said to her, look, I wasn't looking for anything.

05:47.940 --> 05:49.240
Because she gave me that look.

05:49.240 --> 05:50.380
She said, really, Matt?

05:52.640 --> 05:56.600
And I wasn't looking for anything, but I found it by accident.

05:56.680 --> 05:59.660
And it was through another incident, actually, that I was investigating.

06:00.660 --> 06:07.140
And it was a gap in regulation and the way certain things were implemented.

06:08.880 --> 06:15.000
And that, again, and the reason I'm including it here is because the initial disclosure, it was a multiple OEMs.

06:15.220 --> 06:16.660
It wasn't just one thing.

06:16.660 --> 06:17.480
It was a multiple thing.

06:17.480 --> 06:26.440
It's actually going to lead to a change in instructions for continued worthiness and changes in procedures across most airlines in the world.

06:27.080 --> 06:31.580
But it was a massive gap and, excuse me a moment,

06:35.590 --> 06:39.770
the initial pushback is the reason I'm including it here.

06:41.290 --> 06:46.310
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.

06:46.310 --> 06:47.930
I knew them like the back of my hands.

06:48.650 --> 06:54.950
And I actually successfully argued my case.

06:54.950 --> 07:07.690
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.

07:08.290 --> 07:12.090
And actually, it's been documented for other operators to follow suit.

07:12.090 --> 07:16.710
The change to the ICAs are coming out and there's an agreed timeline for distribution as well.

07:17.410 --> 07:23.710
And, of course, this is something we informed the regulator about and we've kept them informed all the way through.

07:24.090 --> 07:27.170
So , it's kind of like a good and bad one, that one.

07:27.210 --> 07:28.810
Not ugly like the first one.

07:31.450 --> 07:35.710
The next one here, I had to change the slide about five times.

07:38.170 --> 07:48.730
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.

07:50.370 --> 07:53.610
So, of course, initially we went, okay, that should not be happening.

07:53.710 --> 07:54.970
What have we done wrong?

07:55.290 --> 07:57.030
Basically, an oh shit moment.

07:58.290 --> 08:05.330
So, I actually investigated this through the night and discovered that, actually, it wasn't ours.

08:05.910 --> 08:09.270
It actually belonged to this company who reported it to us.

08:09.410 --> 08:12.210
It was their own testing environment they provide to us.

08:13.530 --> 08:16.350
And they hadn't followed their own guidance for implementing it.

08:17.750 --> 08:20.610
So, yes, that was quite embarrassing for them.

08:21.130 --> 08:27.530
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.

08:27.530 --> 08:30.290
So, it's a bit of an own goal, that one.

08:30.990 --> 08:41.150
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.

08:43.910 --> 08:47.610
And then, as some of you may know, I'm also a volunteer at the Aerospace Village.

08:48.470 --> 08:53.210
So, a few years ago, there was a talk which was disclosed.

08:53.210 --> 08:58.530
If you've ever disclosed a talk to the village, you have to go through a number of questions.

08:58.530 --> 08:59.790
Are you disclosing a vulnerability?

08:59.790 --> 09:00.270
Yes, no.

09:00.270 --> 09:06.310
If yes, have you approached the manufacturer and gone through the whole VDP process?

09:06.310 --> 09:07.350
Yes, no.

09:08.090 --> 09:09.710
And if they say yes, then you go, okay.

09:09.730 --> 09:10.810
And we do our due diligence.

09:10.810 --> 09:13.250
We go behind and say, hey guys, are you aware of this?

09:13.490 --> 09:15.190
So, this is what happened in this case.

09:16.410 --> 09:18.890
And the response was, no, it's not complete.

09:18.890 --> 09:20.430
You can't talk about that at DEF CON.

09:21.450 --> 09:22.090
Okay.

09:22.310 --> 09:26.830
So, we go back to the researchers and they dropped all the receipts.

09:26.830 --> 09:29.250
They'd gone through the whole responsible disclosure process.

09:29.370 --> 09:36.650
They took it through to closure and the manufacturer had simply just accepted the risk without making a change.

09:36.810 --> 09:40.230
They'd failed to negotiate with the researchers about holding back public disclosure.

09:40.570 --> 09:43.270
They'd failed to agree on a communication plan.

09:44.450 --> 09:47.710
And actually, it was something that's quite difficult to fix, so I couldn't understand why.

09:47.930 --> 09:50.430
But the whole thing was mismanaged all the way through.

09:52.510 --> 09:54.030
And then wider experience.

09:54.310 --> 09:58.430
This was seven years ago, I think.

09:59.550 --> 10:04.130
So, authentication bypass vulnerability was discovered on a publicly facing website.

10:04.130 --> 10:09.750
And the researcher tried contacting the aerospace company through various means, no response.

10:10.870 --> 10:15.490
There was no official VDP, like, you know, Vulnerability Disclosure Program at the time.

10:15.490 --> 10:17.970
And that made submission challenging for them.

10:19.590 --> 10:25.850
So, after, you know, exhausting all avenues, the researcher then went to social media and that provoked a reaction.

10:26.410 --> 10:29.750
And at this point, I want to say the story gets a bit weird.

10:29.990 --> 10:33.250
So, an official submission was made and it was here at DEF CON actually at the time.

10:34.670 --> 10:36.930
Again, there's accusations on both sides.

10:37.030 --> 10:41.330
There's, you know, claim and counter-claim about where, what happened where.

10:41.510 --> 10:45.670
I don't know who to believe, but my understanding is that the bridges between them are still broken.

10:45.670 --> 10:47.470
I think they did fix the vulnerability, though.

10:48.950 --> 10:56.990
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.

11:00.280 --> 11:05.200
And these are all responses that he's had when disclosing vulnerabilities.

11:07.700 --> 11:09.920
And I'll give a few examples here.

11:10.020 --> 11:12.660
We've had no reports of our product being hacked before.

11:17.110 --> 11:19.030
Our normal users would never do that.

11:19.030 --> 11:19.990
It's not a problem.

11:21.010 --> 11:24.390
My personal favorite, we use military-grade encryption, okay?

11:26.250 --> 11:27.610
I was in the army.

11:27.690 --> 11:32.210
Whenever I see something that says, oh, I used to, you know, military-grade this or that, I run a mile.

11:33.030 --> 11:33.830
Yes.

11:36.810 --> 11:38.430
What's another good one here?

11:39.930 --> 11:42.030
Yes, that is intended functionality.

11:42.250 --> 11:43.350
Same as what I got there.

11:43.350 --> 11:45.250
It's not a vulnerability, but it's a feature.

11:46.950 --> 12:03.610
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.

12:03.610 --> 12:05.990
So, make sure you have a vulnerability disclosure program.

12:05.990 --> 12:09.610
And remember, it's more than just a web page on your website, right?

12:10.030 --> 12:13.650
Quoting Jeff Troy there from the Aviation ISAC.

12:14.550 --> 12:20.990
Think about having, you know, security.txt files in your website and security at yourdomain.com.

12:20.990 --> 12:22.810
Make sure it's active and monitored.

12:23.510 --> 12:31.250
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.

12:31.690 --> 12:34.470
And communicate, communicate, communicate, right?

12:34.470 --> 12:37.930
In aviation pilots, they, you know, aviate, navigate, communicate.

12:37.930 --> 12:40.290
But in VDP, it's communicate, communicate, communicate.

12:40.290 --> 12:42.530
If you've got no update, tell them, right?

12:42.530 --> 12:45.630
Because if you don't, they're just going to sit there and think you're being ignored.

12:46.490 --> 12:48.630
Trust me, that's how you feel.

12:50.130 --> 12:55.270
And this one's a little bit contentious, but only use legal representation when necessary.

12:55.530 --> 13:00.430
Sometimes when you engage legal in conversations with hackers, they run a mile.

13:00.430 --> 13:02.430
They go under a rock, they hide away.

13:02.850 --> 13:10.550
They either don't disclose, or they might just, you know, find another avenue for disclosing it, maybe somewhere you wouldn't like it.

13:11.370 --> 13:19.230
And, you know, if you're having a discourse, agree on any disclosure, timelines, message, details, et cetera, and follow the agreed plan.

13:19.810 --> 13:21.310
Don't ignore the problem.

13:21.370 --> 13:24.350
Don't belittle the concerns in the submission, like I got.

13:25.510 --> 13:27.330
Don't force an NDA either.

13:27.330 --> 13:37.010
Now, that's an interesting one, because sometimes you might want to share some information with the researcher to improve their knowledge, right?

13:37.010 --> 13:38.670
Because they might be able to help you, actually.

13:39.610 --> 13:42.230
But in those cases, you might need to force an NDA on them.

13:42.670 --> 13:45.030
So, there's really, in this area, there's really three types of people.

13:45.030 --> 13:50.570
There are your researchers who have had to get a kudos, you know, public recognition.

13:50.830 --> 13:54.090
There are researchers trying to make the aviation industry a better place.

13:54.090 --> 13:59.270
And then there are people who are just interested in learning more, like Ken Munro.

14:00.450 --> 14:04.450
Those latter two are most likely to engage with you with an NDA.

14:04.610 --> 14:12.270
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.

14:12.490 --> 14:14.910
But he did that so he could learn more about what he was looking into.

14:17.270 --> 14:19.270
Don't make threats or intimidate people.

14:19.270 --> 14:21.130
Don't go after the researcher's reputation.

14:21.130 --> 14:23.390
That has been done so many times.

14:23.390 --> 14:29.190
And this is a personal message here for the aerospace industry in the room.

14:29.470 --> 14:33.030
Don't rely on security by obscurity alone.

14:33.290 --> 14:35.410
It doesn't work.

14:35.830 --> 14:42.870
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.

14:42.990 --> 14:47.370
But relying on security by obscurity by itself does not work.

14:49.970 --> 14:55.970
And if you're in the position of submitting a vulnerability, well, again, check if they have a VDP program, follow it.

14:56.270 --> 14:59.510
Engage responsibly, make every effort to go through those formal channels.

14:59.510 --> 15:01.010
Consider using the Aviation ISAC.

15:01.010 --> 15:03.790
They're actually really good at getting you into the right people.

15:04.070 --> 15:09.530
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.

15:10.610 --> 15:14.650
Communicate all the details, stick to facts, and leave a motion at the door.

15:14.970 --> 15:18.710
And understand that the 60-day unwritten rule may not apply.

15:18.710 --> 15:20.850
Fixes, like I said, can take years, right?

15:20.850 --> 15:26.270
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?

15:28.590 --> 15:32.990
And then understand, like I said, you might have to enter a restrictive agreement.

15:33.430 --> 15:44.550
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.

15:46.710 --> 15:51.130
So if you're a researcher, don't get upset when the mitigation details can't be shared with you.

15:51.130 --> 15:54.770
Like I said, we don't share everything, right?

15:55.370 --> 16:01.450
Don't breach your NDA, don't ignore laws, and don't disregard any agreements you've made or requests.

16:02.030 --> 16:07.990
And finally, because I've been on the receiving end of this as well, don't use it as a business opportunity.

16:08.090 --> 16:15.430
When you forward that meeting invite onto your head of marketing and business relationship managers, we can see that.

16:16.010 --> 16:16.870
And guess what?

16:16.870 --> 16:23.830
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.

16:23.830 --> 16:25.810
This is not a vulnerability disclosure at all.

16:26.450 --> 16:28.450
I've seen it done many, many times.

16:31.670 --> 16:32.890
So that's it.

16:32.890 --> 16:33.770
Thank you.

16:33.770 --> 16:36.170
I've got any questions from the crowd that I can answer?

16:46.710 --> 16:48.070
Not seeing any hands.

16:49.450 --> 16:50.150
OK.

16:50.150 --> 16:52.890
Seeing one of the latest trends you've seen.

16:54.870 --> 16:59.970
Yes, the question was, what are the latest trends that I've seen with the submissions?

17:06.350 --> 17:08.070
Let's see.

17:08.210 --> 17:10.650
Can I answer that one?

17:12.190 --> 17:14.210
Probably not.

17:14.930 --> 17:18.450
But we do still get them.

17:19.090 --> 17:20.870
There's a lot of...

17:21.750 --> 17:28.290
You know, as connectivity in the aircraft is increasing, as you know, the attack services are getting larger and larger.

17:28.290 --> 17:31.750
That's why I said security by obscurity doesn't work, right?

17:31.830 --> 17:36.230
Aircraft are more and more dependent on communications now because they're flying data sensors, right?

17:36.230 --> 17:40.910
They're generating, you know, gigabytes of data every single flight.

17:42.130 --> 17:46.170
You know, so we rely on that connectivity and that increases the attack surface.

17:47.250 --> 17:49.650
So people are going to find stuff, you know?

17:49.650 --> 17:55.190
So you've got to figure out how you're going to deal with it when this, you know, when this happens to you.

17:57.110 --> 17:57.910
Yes?

17:57.990 --> 18:03.050
So you said that there's three kinds of researchers to all of these...

18:03.930 --> 18:04.530
Yeah.

18:06.630 --> 18:07.370
Sure.

18:07.370 --> 18:09.390
I was a bit generalistic, but you're probably right.

18:09.410 --> 18:09.490
Yeah .

18:12.310 --> 18:13.110
Yes.

18:13.370 --> 18:17.910
So what do you do with the scenarios where, like, you get someone who is asking

18:22.160 --> 18:23.080
for...

18:23.080 --> 18:23.960
Right .

18:25.600 --> 18:31.860
So this is why I wanted to do this, you know, with my employer hat on because we have a pretty good reimbursement program.

18:32.400 --> 18:35.960
But a lot of companies do have reimbursement programs.

18:35.960 --> 18:41.160
So they might go through, you know, bug bounties and official, you know, bug bounty programs.

18:42.240 --> 18:44.740
Others, some airlines actually provide miles.

18:46.320 --> 18:51.160
So I found vulnerabilities in our own stuff, disclosed, and then realized I couldn't get anything for it.

18:51.160 --> 18:52.320
But, you know...

18:54.520 --> 18:57.040
And again, it was always by accident.

18:57.040 --> 18:58.220
It wasn't that I went looking.

18:58.240 --> 18:59.840
I just found stuff by accident.

18:59.840 --> 19:00.660
So , yeah.

19:01.060 --> 19:02.720
Police boss, believe me.

19:02.900 --> 19:03.380
Yeah .

19:03.560 --> 19:04.460
Yes.

19:18.320 --> 19:20.240
So vulnerability submissions.

19:21.580 --> 19:26.200
Where I work, they get tracked as an incident if they are confirmed as valid.

19:28.340 --> 19:30.200
I can't talk about anyone else.

19:31.960 --> 19:33.920
Are you talking about CVEs and things like that?

19:33.920 --> 19:34.420
Yeah.

19:36.080 --> 19:45.820
So that's an interesting one because there was the TCAS CVE vulnerability that was publicly disclosed earlier this year.

19:45.820 --> 19:46.880
Was it in January?

19:46.880 --> 19:47.520
Yes.

19:53.600 --> 19:55.540
So the answer is yes.

19:55.680 --> 20:00.760
And often times that would be an exception.

20:00.760 --> 20:06.000
There was a direct CVE relating to like, say, avionics equipment or things like that.

20:06.100 --> 20:08.980
That's not generally stuff that is known about.

20:08.980 --> 20:16.820
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.

20:17.880 --> 20:21.340
So they're not specific to aviation, but they can have an effect on aviation.

20:25.540 --> 20:26.220
Yes.

20:26.220 --> 20:27.120
How does the bot work?

20:27.120 --> 20:28.800
Is anything possible for the bot?

20:29.820 --> 20:32.160
Well, if you... do you work for an airline?

20:32.970 --> 20:33.540
No.

20:33.540 --> 20:34.460
Sorry.

20:37.460 --> 20:41.300
If you get a job at an airline we'll connect and we can discuss.

20:43.740 --> 20:44.900
Alright.

20:54.790 --> 20:56.270
Well, yeah.

20:56.270 --> 20:57.910
The cloud is one.

20:59.890 --> 21:00.950
Yeah.

21:01.530 --> 21:03.190
That's where I was going.

21:03.690 --> 21:05.190
No, inside a threat.

21:05.190 --> 21:06.830
Inside a threat.

21:07.490 --> 21:08.170
Yeah.

21:09.010 --> 21:10.390
Inside a threat.

21:11.430 --> 21:13.170
That's our biggest focus.

21:18.760 --> 21:19.720
Alright.

21:19.980 --> 21:20.800
That's it.

21:20.800 --> 21:21.780
Thank you very much.

