WEBVTT

00:00.000 --> 00:00.760
All right.

00:00.760 --> 00:01.980
Good afternoon, everyone.

00:01.980 --> 00:03.380
I am Lillian Ashbaker.

00:03.380 --> 00:07.140
I'm a product security engineer at the Boeing company in Whisk Aero.

00:07.160 --> 00:13.540
Today, I'll be discussing the most important part of aviation systems development, standards and certification.

00:13.800 --> 00:24.120
But what I hope you get out of this is an understanding of how the industry has developed safe systems and considers security in those designs.

00:24.280 --> 00:28.960
First, we need to discuss the safety of these systems.

00:28.960 --> 00:33.820
And I'll make you all aware of what safe actually means in the aerospace industry.

00:33.820 --> 00:36.780
I hope you find this as interesting as I have.

00:36.780 --> 00:39.620
I still can't shut up about it 15 years later.

00:40.440 --> 00:46.300
So the first principles of safety that we have to talk about are failure conditions and probabilities, right?

00:46.300 --> 00:51.680
All of this information comes out of Advisory Circular 25 or 23.

00:51.680 --> 01:00.080
If you go read for the pilots in the crowd, that's part of the CFRs out there that you're legally supposed to know.

01:00.480 --> 01:14.860
So Advisory Circular 25 1309-1A, this is all public information, actually lays out all these probabilities and kind of puts together this really nice graph of probability versus consequence, right?

01:14.860 --> 01:23.320
So you have probable, improbable, and extremely improbable, as well as an acceptability of those failures and faults.

01:23.320 --> 01:27.680
And there's a line that runs right between it that says acceptable and unacceptable, right?

01:27.680 --> 01:34.200
So you have to develop the system in order to understand what the system effects are going to be of that.

01:35.000 --> 01:46.120
So as we move forward, those probabilities, those failure classifications, actually have probabilities behind them as defined in the Advisory Circulars, right?

01:46.120 --> 01:51.540
So when we talk about safety, we talk about the probabilities of failure.

01:51.540 --> 01:57.780
So for a minor classification, that's a probable failure condition on the order of 10 to the minus 5th.

01:57.780 --> 02:02.360
Major is 10 to the minus 9th, that got reclassified as 10 to the 7th.

02:02.800 --> 02:05.800
Hazardous is now 10 to the 7th.

02:05.980 --> 02:08.940
Catastrophic is 10 to the 9th or less.

02:09.620 --> 02:12.460
So that means that probabilities of 10 to the 9th...

02:12.460 --> 02:19.340
So think about the systems that you currently see in IT and how often they have to stay up and operate.

02:19.940 --> 02:22.960
Our stuff has to operate and not fail.

02:23.880 --> 02:31.640
So the design assurance levels are a major component of how we develop these systems, right?

02:31.640 --> 02:49.420
So what you have are a nice trace of failure conditions with the severities, with the actual definitions of what that is, extremely probable, extremely remote, and the probabilities themselves that tie off to the functional DAL assignments.

02:49.420 --> 02:56.540
So whenever you're talking about aviation systems, if you see something that says that it is a DAL-C system, this is what it means.

02:56.540 --> 03:17.100
It means that that system has a major effect on the system operation of the aircraft, has a remote possibility of failure, and has a failure probability of somewhere between 10 to the 5th to 10 to the 7th probability.

03:17.580 --> 03:38.660
So with all these probabilities, the way that the industry works through that is that we have a bunch of functional hazard assessments, which takes a functional look at the individual functions that trace down throughout the system and look at all the points in which that function can be impacted.

03:39.280 --> 03:49.700
So, if it moves through three or four systems, all the systems in the chain have to have some sort of way of preventing failure conditions from occurring.

03:51.600 --> 03:59.000
So, once we do that, these probabilities go into the functional DAL assignments.

03:59.300 --> 04:02.920
If you go take a look, here's where the standards start to come in.

04:02.920 --> 04:14.360
DO-178, DO-254, and DO-278 for ground systems operations, as well as ARP-4754 for systems development.

04:14.360 --> 04:20.940
What those standards actually define is not how you develop a system.

04:21.320 --> 04:27.860
It is, a very important piece here, the development objectives that you have to meet.

04:27.860 --> 04:31.140
So, that means that you can't just go write code.

04:31.140 --> 04:33.580
You have to have requirements for the code.

04:33.640 --> 04:36.340
You have to have traceability down to the code itself.

04:36.340 --> 04:40.060
You have to have traceability to the actual compiled code.

04:40.060 --> 04:42.120
And then you actually have to test all that code.

04:42.120 --> 04:51.080
And it's defined in tables and design objectives throughout these different documents.

04:52.580 --> 04:58.220
Those design objectives that you work through are the deliverables that go to a regulatory body.

04:58.220 --> 05:00.480
In the U.S., that would be the FAA.

05:00.580 --> 05:02.280
Over in Europe, that would be EASA.

05:02.280 --> 05:06.700
If you have dual use between the two of them, it will be shared between the two of them.

05:06.840 --> 05:10.100
Those documents are the proof that you did the work.

05:10.320 --> 05:14.360
You have to prove that you did the operations and did the work.

05:14.860 --> 05:19.880
So, as you have a higher DAO level, so DAO-A would have the most stringent.

05:19.880 --> 05:25.320
What's unique about DAO-A is that there is a required independence in the testing.

05:25.320 --> 05:32.040
Which means, the person who developed the system cannot be the one who has tested the system.

05:32.040 --> 05:44.260
It has to be a completely independent body that does the verification of your code, of your system, of your hardware, to ensure that there is independence between the developers and the test teams.

05:46.220 --> 05:49.400
Alright, so now you all are experts on safety.

05:49.980 --> 05:55.260
So now as we move forward, we start to talk about what DO-356-A is.

05:55.260 --> 06:02.220
So, DO-356-A defines the cyber security development objectives for aircraft systems.

06:02.700 --> 06:13.140
One of the most important concepts in that is this concept of IUEI, which is Intentional Unauthorized Electronic Interactions.

06:13.500 --> 06:23.840
What it means is that someone has to be doing an attack intentionally, they did not have authorization for the system, and it has to be electronic interactions.

06:23.840 --> 06:31.940
So no, birds flying, we know that they're not real, birds flying into engines do not count, right?

06:31.940 --> 06:35.360
That's not intentional by the bird to do that.

06:36.700 --> 06:45.820
So, this is what makes security threats different from safety threats in our system development.

06:46.240 --> 06:51.340
But, how we develop our systems around the two of them kind of starts to touch.

06:51.340 --> 07:01.560
So, safety is more of a kind of a what and why questions of how all these unintended adverse effects happen within systems operation.

07:01.960 --> 07:06.360
Security looks at more of the who and where questions, right?

07:06.360 --> 07:17.760
We care more about who's doing it and what systems they're touching, because they should not have access to certain systems within security boundaries and other places.

07:17.760 --> 07:21.800
Where the safety and security meet is in the how.

07:21.800 --> 07:28.240
How these events can happen so that we can mitigate the effects of those faults and the manipulation.

07:30.020 --> 07:30.760
All right?

07:30.760 --> 07:35.180
So, 356 brings in a new concept of SAL.

07:35.180 --> 07:42.780
SAL is not directly tied to DAL, despite what a lot of people like to talk about with this.

07:42.780 --> 08:03.560
But what it is, is if you look at that table at the top, table 4-4, which is taken directly out of DO-356A, it gives you a threat condition, effect severity, which kind of looks a lot like the advisory circulars with the definitions, and gives you SAL levels for that mitigation.

08:03.640 --> 08:13.980
But what's unique here is that something that has an effect condition of catastrophic, all of a sudden has these two SAL levels, right?

08:13.980 --> 08:14.940
That's kind of weird.

08:14.940 --> 08:17.000
Why would you do two SAL levels?

08:17.900 --> 08:34.960
The big part about security development is that we look at individual threat vectors as it moves through a system, because we have to look at every point in which it could touch a system, and have a final effect that may or may not have a safety effect on the entire aircraft.

08:35.480 --> 08:51.720
So, if we do have an effect on the entire aircraft, we have to go back through our safety analyses, and we have to place mitigations, two of them in this case, of SAL-3 and SAL-2, in our system to prevent a catastrophic threat condition.

08:52.300 --> 09:04.760
So, those mitigations have to be developed with security objectives, the design objectives for SAL-3 and SAL-2.

09:04.760 --> 09:24.460
If you're developing a system, and if you look at the actual security assurance level objectives, they look very, very, very, very similar to exactly what DO-178 and DO-254, because all these documents are in concert with one another.

09:24.460 --> 09:33.120
They all feed from one another, they all use a lot of same concepts from one another, they all try to use the same structures.

09:33.240 --> 09:46.760
So , that makes it really easy for us to take our cybersecurity mitigations, and place them into software or hardware, and have the process look the same for development.

09:48.780 --> 09:54.200
So, we're going to do a little bit of a safety analysis on the system, right?

09:54.200 --> 09:58.580
So, we have system A, we have system B, we have system C, and then we have a user display, right?

09:58.580 --> 10:01.000
It could be any sort of function here.

10:01.100 --> 10:09.660
So, we do our functional hazardous assessment, and it says that this system has a function that is DAL-B, okay?

10:09.660 --> 10:17.000
So, we're looking at a path of DAL-B, Hazardously Misleading Data, to a display.

10:17.360 --> 10:20.920
And what we're going to do is we're going to apply safety requirements onto this system.

10:20.920 --> 10:25.940
So, we add in some monitors for failures, and then we'll enunciate those.

10:25.940 --> 10:30.800
We check the validity of the inputs, we check the system B and system C, right?

10:30.800 --> 10:34.660
System B is just going to do a really simple operation of adding something on there.

10:34.700 --> 10:42.960
It could be either changing data, or manipulating data, or merging data at some points.

10:43.980 --> 10:46.600
And now what we're going to do is we're going to look at a threat.

10:46.860 --> 10:51.280
We have an attack that modifies code or memory, and changes that 2 to a 4.

10:52.360 --> 10:53.560
That's pretty bad.

10:54.840 --> 10:57.180
Don't know how they managed to do that.

10:57.180 --> 11:01.560
But when we look at this system, there's erroneous data that's now flowing through the system, right?

11:01.560 --> 11:04.920
This is the hazard effect that we're looking at.

11:05.120 --> 11:13.380
We're looking at how we can cause Hazardously Misleading Data, DAL-B impacts to the system.

11:14.040 --> 11:16.180
So, fine, guess what?

11:16.520 --> 11:19.700
We're going to hash the memory spaces so that none of that changes, right?

11:19.700 --> 11:29.240
We're going to put hashes in place so that the values that we're adding, or subtracting, or changing around, the whole memory spaces are then hashed, right?

11:29.880 --> 11:34.020
And we'll get back to why I picked hashing in the first place.

11:34.020 --> 11:46.000
Safety analysis also said that there has to be a system B-prime, which is a secondary thread to the system, so that system C merges data from both system B and system B-prime.

11:46.820 --> 11:51.940
Kind of looks a lot like what we do for pilot-side, co-pilot-side in aircraft.

11:52.940 --> 11:57.700
Oh, there was another attack that our pen-testing team came up with.

11:59.260 --> 12:06.340
They flooded the interface, they did a DDoS attack on our system C, and it prevented data from going through to the user display.

12:06.400 --> 12:07.560
Crashed the system.

12:08.100 --> 12:12.960
Well, I guess we need to go through and put together another mitigation.

12:12.960 --> 12:18.380
So now we're going to need some sort of DDoS protection, some sort of rate-limiting in there.

12:19.780 --> 12:22.000
It's a pretty secure system so far.

12:24.180 --> 12:42.220
Except, they found a third attack, which is actually a mode command that's sent into systems, injected at system C, which then back-propagates through the system to system A, which changes a mode, which then forces data to come out incorrectly without a pilot commanding a mode change.

12:43.400 --> 13:03.600
So you see how there's kind of a non-linearity through these systems, where you could get these system effects without having exactly changed or manipulated, or without having commanded commands B sent, and get unintentional data that was not supposed to be there without some sort of other checks,

13:03.600 --> 13:04.040
right?

13:04.040 --> 13:08.920
So a lot of aircraft systems, it's not just that we press a button and the mode comes through.

13:08.920 --> 13:17.820
You press a button, it goes through, it sends back bits that says, yes, I saw that you changed the mode, here's the new mode information.

13:18.180 --> 13:37.340
But what's unique about this is that that mode command may have also propagated back through the B' and A' systems, through the secondary thread, and has also changed those modes, which gets around our cross-checking in system C.

13:37.340 --> 13:48.900
So now a system, so the primary thread and the secondary threads are now sending the same data, valid data across, and it's not being picked up by system C.

13:51.060 --> 14:01.160
So what's interesting about this whole development here is that where safety and security really touch is some of the implementations that we actually have here.

14:01.160 --> 14:09.280
So you take a look at system B, and we applied hashing memory.

14:09.680 --> 14:16.220
Our safety analysis also came back and said that B' needed to be added as a safety mitigation on the system.

14:16.560 --> 14:21.900
But what does that do for the safety or security of the system, right?

14:22.120 --> 14:37.840
Now I have a secondary thread that I can cross-check data against, an independent thread that somebody may not have access to that I can ensure that is part of the whole security posture of this whole entire system.

14:38.520 --> 14:41.820
So hashing memory is a great one, right?

14:41.820 --> 14:49.400
We use it in cybersecurity in order to prevent manipulation, intentional manipulation of memory spaces.

14:49.760 --> 15:01.700
Well, over on the safety side, they do that sort of stuff to prevent accidental manipulations from like, I don't know, single event upsets from the sun, right?

15:01.700 --> 15:03.980
Neutron events on memory spaces.

15:04.380 --> 15:15.580
Other areas would be like duplicating or triplicating data stored across the system so that if you have manipulation in one place, you can go pick it up in another place.

15:15.580 --> 15:23.240
And if that one's still manipulated, you can go and pick it up somewhere else and cross-check those three different memory spaces.

15:23.400 --> 15:42.260
So safety and security have to kind of be developed together in these systems because you have these concepts in here of inherited security principles or properties of the system.

15:42.860 --> 15:47.560
Security is not the only developer of the system.

15:47.560 --> 15:49.460
Safety is doing it.

15:49.460 --> 15:51.420
Implementers of code are doing this.

15:51.420 --> 16:03.880
They're developing their own requirements with how they either think the system should work or how the system has been developed in the past and how other systems have been developed.

16:04.340 --> 16:18.280
And so we have to take a look at not just security requirements, we have to look at the entire system requirements pool to see which items might be part of the security posture of the system.

16:18.880 --> 16:24.580
The reason why we want to do that is because we're going to take credit for those in our threat models at some point.

16:25.820 --> 16:32.580
And if you take credit for them in your threat models, you have to provide the documentation as part of the design objectives.

16:32.580 --> 16:39.260
And if you have to provide data as part of your design objectives, it's part of your certification baseline and you want to take that credit for it.

16:39.260 --> 16:44.660
It all comes back down to the standards and the certification of these systems.

16:46.060 --> 16:59.540
Another important piece in here is that you can also have system effects where safety and security may interact with each other in a negative manner.

16:59.540 --> 17:16.380
Where one may trigger, you might want to, you know, trigger a safety event or you have an event that triggers some safety safeguards that have been in place and the security of the system is reduced because systems have now been reset and they lost state.

17:17.080 --> 17:33.540
You might have security implementations in there where it prevents data from cross flowing from one side to another or you might have other pieces where data is unavailable because it's been encrypted that affects the safety of the system.

17:33.920 --> 17:45.460
So it's very important to look at how safety and security interplay in the requirements and determine like is this a positive or a negative part of our system.

17:46.740 --> 17:52.600
So in summary, aircraft cyber security is very young.

17:53.480 --> 18:00.680
DO-356 was first released in about 2014.

18:01.440 --> 18:11.860
In comparison to the advisory circular that I showed you at first, AC-25-1307, that was released in 88.

18:12.040 --> 18:20.760
We've had these definitions around in aviation for almost 40 years.

18:22.080 --> 18:37.520
40 years of development time to learn how to do all these development principles with how to develop safe code, how to develop safe hardware has been going on for a very long time.

18:37.540 --> 18:57.180
But the security of these systems, because they're becoming more and more connected and even more highly connected in real time in the future, these systems need better security principles that work with how the systems are developed in order to provide certification boundaries.

19:00.800 --> 19:19.420
To touch upon the technological limitations, prior systems in the past used to have federated systems where you had multiple single purpose systems on board, which then moved into more highly integrated systems, which then moved into more highly integrated networking systems as well.

19:19.420 --> 19:35.660
So those boundaries of data that you couldn't get security issues across because of the highly federated nature of these systems is now being whittled away at as part of the development because of the demands of higher speed buses.

19:35.660 --> 19:38.620
Airing 429 is not fast at all.

19:38.860 --> 19:40.420
But Ethernet is.

19:40.420 --> 19:42.640
And we can do that deterministically.

19:43.480 --> 19:50.500
The way that security brings those direct impacts has to be developed as part of the architecture.

19:50.500 --> 19:57.520
Because in the end, you can't have a safe system with also having a cyber secure system.

19:57.580 --> 19:58.340
Thank you.

