start	end	text
0	3380	All right. Good afternoon, everyone. I am Lillian Ashbaker.
3380	7140	I'm a product security engineer at the Boeing company in Whisk Aero.
7160	11720	Today, I'll be discussing the most important part of aviation systems development,
11720	13540	standards and certification.
13800	19640	But what I hope you get out of this is an understanding of how the industry has developed safe systems
20200	24120	and considers security in those designs.
24280	28960	First, we need to discuss the safety of these systems.
28960	33820	And I'll make you all aware of what safe actually means in the aerospace industry.
33820	36780	I hope you find this as interesting as I have.
36780	39620	I still can't shut up about it 15 years later.
40440	46300	So the first principles of safety that we have to talk about are failure conditions and probabilities, right?
46300	51680	All of this information comes out of Advisory Circular 25 or 23.
51680	56540	If you go read for the pilots in the crowd, that's part of the CFRs out there
56540	60080	that you're legally supposed to know.
60480	66720	So Advisory Circular 25 1309-1A, this is all public information,
66720	72060	actually lays out all these probabilities and kind of puts together this really nice graph
72060	74860	of probability versus consequence, right?
74860	77980	So you have probable, improbable, and extremely improbable,
78710	83320	as well as an acceptability of those failures and faults.
83320	87680	And there's a line that runs right between it that says acceptable and unacceptable, right?
87680	94200	So you have to develop the system in order to understand what the system effects are going to be of that.
95000	99740	So as we move forward, those probabilities, those failure classifications,
99740	106120	actually have probabilities behind them as defined in the Advisory Circulars, right?
106120	111540	So when we talk about safety, we talk about the probabilities of failure.
111540	117780	So for a minor classification, that's a probable failure condition on the order of 10 to the minus 5th.
117780	122360	Major is 10 to the minus 9th, that got reclassified as 10 to the 7th.
122800	125800	Hazardous is now 10 to the 7th.
125980	128940	Catastrophic is 10 to the 9th or less.
129620	132460	So that means that probabilities of 10 to the 9th...
132460	139340	So think about the systems that you currently see in IT and how often they have to stay up and operate.
139940	142960	Our stuff has to operate and not fail.
143880	151640	So the design assurance levels are a major component of how we develop these systems, right?
151640	158820	So what you have are a nice trace of failure conditions with the severities,
158820	163920	with the actual definitions of what that is, extremely probable, extremely remote,
163920	169420	and the probabilities themselves that tie off to the functional DAL assignments.
169420	176540	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.
176540	183800	It means that that system has a major effect on the system operation of the aircraft,
184200	186880	has a remote possibility of failure,
186880	197100	and has a failure probability of somewhere between 10 to the 5th to 10 to the 7th probability.
197580	207120	So with all these probabilities, the way that the industry works through that is that we have a bunch of functional hazard assessments,
207120	214340	which takes a functional look at the individual functions that trace down throughout the system
214340	218660	and look at all the points in which that function can be impacted.
219280	229700	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.
231600	239000	So, once we do that, these probabilities go into the functional DAL assignments.
239300	242920	If you go take a look, here's where the standards start to come in.
242920	254360	DO-178, DO-254, and DO-278 for ground systems operations, as well as ARP-4754 for systems development.
254360	260940	What those standards actually define is not how you develop a system.
261320	267860	It is, a very important piece here, the development objectives that you have to meet.
267860	271140	So, that means that you can't just go write code.
271140	273580	You have to have requirements for the code.
273640	276340	You have to have traceability down to the code itself.
276340	280060	You have to have traceability to the actual compiled code.
280060	282120	And then you actually have to test all that code.
282120	291080	And it's defined in tables and design objectives throughout these different documents.
292580	298220	Those design objectives that you work through are the deliverables that go to a regulatory body.
298220	300480	In the U.S., that would be the FAA.
300580	302280	Over in Europe, that would be EASA.
302280	306700	If you have dual use between the two of them, it will be shared between the two of them.
306840	310100	Those documents are the proof that you did the work.
310320	314360	You have to prove that you did the operations and did the work.
314860	319880	So, as you have a higher DAO level, so DAO-A would have the most stringent.
319880	325320	What's unique about DAO-A is that there is a required independence in the testing.
325320	332040	Which means, the person who developed the system cannot be the one who has tested the system.
332040	337400	It has to be a completely independent body that does the verification of your code,
337400	339280	of your system, of your hardware,
339280	344260	to ensure that there is independence between the developers and the test teams.
346220	349400	Alright, so now you all are experts on safety.
349980	355260	So now as we move forward, we start to talk about what DO-356-A is.
355260	362220	So, DO-356-A defines the cyber security development objectives for aircraft systems.
362700	368040	One of the most important concepts in that is this concept of IUEI,
368040	373140	which is Intentional Unauthorized Electronic Interactions.
373500	378500	What it means is that someone has to be doing an attack intentionally,
378500	381520	they did not have authorization for the system,
381520	383840	and it has to be electronic interactions.
383840	387420	So no, birds flying, we know that they're not real,
387420	391940	birds flying into engines do not count, right?
391940	395360	That's not intentional by the bird to do that.
396700	405820	So, this is what makes security threats different from safety threats in our system development.
406240	411340	But, how we develop our systems around the two of them kind of starts to touch.
411340	415380	So, safety is more of a kind of a what and why questions
415380	421560	of how all these unintended adverse effects happen within systems operation.
421960	426360	Security looks at more of the who and where questions, right?
426360	431380	We care more about who's doing it and what systems they're touching,
431380	437760	because they should not have access to certain systems within security boundaries and other places.
437760	441800	Where the safety and security meet is in the how.
441800	448240	How these events can happen so that we can mitigate the effects of those faults and the manipulation.
450020	450760	All right?
450760	455180	So, 356 brings in a new concept of SAL.
455180	462780	SAL is not directly tied to DAL, despite what a lot of people like to talk about with this.
462780	465800	But what it is, is if you look at that table at the top,
465800	471140	table 4-4, which is taken directly out of DO-356A,
471140	474080	it gives you a threat condition, effect severity,
474080	479660	which kind of looks a lot like the advisory circulars with the definitions,
479660	483560	and gives you SAL levels for that mitigation.
483640	489440	But what's unique here is that something that has an effect condition of catastrophic,
490000	493980	all of a sudden has these two SAL levels, right?
493980	494940	That's kind of weird.
494940	497000	Why would you do two SAL levels?
497900	503500	The big part about security development is that we look at individual threat vectors
503500	508980	as it moves through a system, because we have to look at every point in which it could touch a system,
508980	514960	and have a final effect that may or may not have a safety effect on the entire aircraft.
515480	521440	So, if we do have an effect on the entire aircraft, we have to go back through our safety analyses,
521440	527340	and we have to place mitigations, two of them in this case, of SAL-3 and SAL-2,
527340	531720	in our system to prevent a catastrophic threat condition.
532300	539900	So, those mitigations have to be developed with security objectives,
539900	544760	the design objectives for SAL-3 and SAL-2.
544760	554360	If you're developing a system, and if you look at the actual security assurance level objectives,
554360	561120	they look very, very, very, very similar to exactly what DO-178 and DO-254,
561120	564460	because all these documents are in concert with one another.
564460	569000	They all feed from one another, they all use a lot of same concepts from one another,
569000	573120	they all try to use the same structures.
573240	577860	So, that makes it really easy for us to take our cybersecurity mitigations,
577860	586760	and place them into software or hardware, and have the process look the same for development.
588780	594200	So, we're going to do a little bit of a safety analysis on the system, right?
594200	598580	So, we have system A, we have system B, we have system C, and then we have a user display, right?
598580	601000	It could be any sort of function here.
601100	609660	So, we do our functional hazardous assessment, and it says that this system has a function that is DAL-B, okay?
609660	617000	So, we're looking at a path of DAL-B, Hazardously Misleading Data, to a display.
617360	620920	And what we're going to do is we're going to apply safety requirements onto this system.
620920	625940	So, we add in some monitors for failures, and then we'll enunciate those.
625940	630800	We check the validity of the inputs, we check the system B and system C, right?
630800	634660	System B is just going to do a really simple operation of adding something on there.
634700	642960	It could be either changing data, or manipulating data, or merging data at some points.
643980	646600	And now what we're going to do is we're going to look at a threat.
646860	651280	We have an attack that modifies code or memory, and changes that 2 to a 4.
652360	653560	That's pretty bad.
654840	657180	Don't know how they managed to do that.
657180	661560	But when we look at this system, there's erroneous data that's now flowing through the system, right?
661560	664920	This is the hazard effect that we're looking at.
665120	673380	We're looking at how we can cause Hazardously Misleading Data, DAL-B impacts to the system.
674040	676180	So, fine, guess what?
676520	679700	We're going to hash the memory spaces so that none of that changes, right?
679700	686180	We're going to put hashes in place so that the values that we're adding, or subtracting, or changing around,
686180	689240	the whole memory spaces are then hashed, right?
689880	694020	And we'll get back to why I picked hashing in the first place.
694020	699700	Safety analysis also said that there has to be a system B-prime, which is a secondary thread to the system,
699700	706000	so that system C merges data from both system B and system B-prime.
706820	711940	Kind of looks a lot like what we do for pilot-side, co-pilot-side in aircraft.
712940	717700	Oh, there was another attack that our pen-testing team came up with.
719260	726340	They flooded the interface, they did a DDoS attack on our system C, and it prevented data from going through to the user display.
726400	727560	Crashed the system.
728100	732960	Well, I guess we need to go through and put together another mitigation.
732960	738380	So now we're going to need some sort of DDoS protection, some sort of rate-limiting in there.
739780	742000	It's a pretty secure system so far.
744180	751540	Except, they found a third attack, which is actually a mode command that's sent into systems, injected at system C,
751540	756300	which then back-propagates through the system to system A, which changes a mode,
756300	762220	which then forces data to come out incorrectly without a pilot commanding a mode change.
763400	767540	So you see how there's kind of a non-linearity through these systems,
767540	773260	where you could get these system effects without having exactly changed or manipulated,
773260	777520	or without having commanded commands B sent,
777520	784040	and get unintentional data that was not supposed to be there without some sort of other checks, right?
784040	788920	So a lot of aircraft systems, it's not just that we press a button and the mode comes through.
788920	792880	You press a button, it goes through, it sends back bits that says,
792880	797820	yes, I saw that you changed the mode, here's the new mode information.
798180	806260	But what's unique about this is that that mode command may have also propagated back through the B' and A' systems,
806260	812680	through the secondary thread, and has also changed those modes,
812680	817340	which gets around our cross-checking in system C.
817340	824280	So now a system, so the primary thread and the secondary threads are now sending the same data,
824280	828900	valid data across, and it's not being picked up by system C.
831060	837400	So what's interesting about this whole development here is that where safety and security really touch
837400	841160	is some of the implementations that we actually have here.
841160	849280	So you take a look at system B, and we applied hashing memory.
849680	856220	Our safety analysis also came back and said that B' needed to be added as a safety mitigation on the system.
856560	861900	But what does that do for the safety or security of the system, right?
862120	866240	Now I have a secondary thread that I can cross-check data against,
866240	873620	an independent thread that somebody may not have access to that I can ensure that is part of the whole
873620	881820	security posture of this whole entire system. So hashing memory is a great one, right?
881820	888320	We use it in cybersecurity in order to prevent manipulation, intentional manipulation of memory
888320	895680	spaces. Well, over on the safety side, they do that sort of stuff to prevent accidental
895680	901700	manipulations from like, I don't know, single event upsets from the sun, right?
901700	910340	Neutron events on memory spaces. Other areas would be like duplicating or triplicating data stored
910340	915580	across the system so that if you have manipulation in one place, you can go pick it up in another place.
915580	920200	And if that one's still manipulated, you can go and pick it up somewhere else and cross-check those
920200	930340	three different memory spaces. So safety and security have to kind of be developed together in
930340	940820	these systems because you have these concepts in here of inherited security principles or properties
940820	949460	of the system. Security is not the only developer of the system. Safety is doing it.
949460	954060	Implementers of code are doing this. They're developing their own requirements with how they either
954060	961360	think the system should work or how the system has been developed in the past and how other systems
961360	970380	have been developed. And so we have to take a look at not just security requirements, we have to
970380	977280	look at the entire system requirements pool to see which items might be part of the security posture
977280	982060	of the system. The reason why we want to do that is because we're going to take credit for those in
982060	988940	our threat models at some point. And if you take credit for them in your threat models, you have to
988940	994120	provide the documentation as part of the design objectives. And if you have to provide data as part
994120	998200	of your design objectives, it's part of your certification baseline and you want to take that
998200	1004660	credit for it. It all comes back down to the standards and the certification of these systems.
1006060	1015660	Another important piece in here is that you can also have system effects where safety and security
1015660	1023280	may interact with each other in a negative manner. Where one may trigger, you might want to, you know,
1023280	1029720	trigger a safety event or you have an event that triggers some safety safeguards that have been in
1029720	1035380	place and the security of the system is reduced because systems have now been reset and they lost
1035380	1043340	state. You might have security implementations in there where it prevents data from cross flowing
1043340	1050340	from one side to another or you might have other pieces where data is unavailable because it's been
1050340	1057920	encrypted that affects the safety of the system. So it's very important to look at how safety and
1057920	1064440	security interplay in the requirements and determine like is this a positive or a negative part of our
1064440	1080680	system. So in summary, aircraft cyber security is very young. DO-356 was first released in about 2014.
1081440	1090720	In comparison to the advisory circular that I showed you at first, AC-25-1307, that was released in
1090720	1104780	88. We've had these definitions around in aviation for almost 40 years. 40 years of development time to
1104780	1113560	learn how to do all these development principles with how to develop safe code, how to develop safe
1113560	1119600	hardware has been going on for a very long time. But the security of these systems, because they're
1119600	1128480	becoming more and more connected and even more highly connected in real time in the future, these
1128480	1134460	systems need better security principles that work with how the systems are developed in order to
1134460	1144920	provide certification boundaries. To touch upon the technological limitations, prior systems in the
1144920	1151660	past used to have federated systems where you had multiple single purpose systems on board, which
1151660	1157480	then moved into more highly integrated systems, which then moved into more highly integrated
1157480	1166120	networking systems as well. So those boundaries of data that you couldn't get security issues across
1166560	1172360	because of the highly federated nature of these systems is now being whittled away at as part of the
1172360	1179420	development because of the demands of higher speed buses. Airing 429 is not fast at all. But Ethernet
1179420	1187600	is. And we can do that deterministically. The way that security brings those direct impacts has to
1187600	1194600	be developed as part of the architecture. Because in the end, you can't have a safe system with also
1194600	1198340	having a cyber secure system. Thank you.
