[00:00.000 --> 00:03.380] All right. Good afternoon, everyone. 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:11.720] Today, I'll be discussing the most important part of aviation systems development, [00:11.720 --> 00:13.540] standards and certification. [00:13.800 --> 00:19.640] But what I hope you get out of this is an understanding of how the industry has developed safe systems [00:20.200 --> 00:24.120] 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 --> 00:56.540] If you go read for the pilots in the crowd, that's part of the CFRs out there [00:56.540 --> 01:00.080] that you're legally supposed to know. [01:00.480 --> 01:06.720] So Advisory Circular 25 1309-1A, this is all public information, [01:06.720 --> 01:12.060] actually lays out all these probabilities and kind of puts together this really nice graph [01:12.060 --> 01:14.860] of probability versus consequence, right? [01:14.860 --> 01:17.980] So you have probable, improbable, and extremely improbable, [01:18.710 --> 01:23.320] 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:39.740] So as we move forward, those probabilities, those failure classifications, [01:39.740 --> 01:46.120] 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:38.820] So what you have are a nice trace of failure conditions with the severities, [02:38.820 --> 02:43.920] with the actual definitions of what that is, extremely probable, extremely remote, [02:43.920 --> 02:49.420] 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:03.800] It means that that system has a major effect on the system operation of the aircraft, [03:04.200 --> 03:06.880] has a remote possibility of failure, [03:06.880 --> 03:17.100] and has a failure probability of somewhere between 10 to the 5th to 10 to the 7th probability. [03:17.580 --> 03:27.120] So with all these probabilities, the way that the industry works through that is that we have a bunch of functional hazard assessments, [03:27.120 --> 03:34.340] which takes a functional look at the individual functions that trace down throughout the system [03:34.340 --> 03:38.660] 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:37.400] It has to be a completely independent body that does the verification of your code, [05:37.400 --> 05:39.280] of your system, of your hardware, [05:39.280 --> 05:44.260] 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:08.040] One of the most important concepts in that is this concept of IUEI, [06:08.040 --> 06:13.140] which is Intentional Unauthorized Electronic Interactions. [06:13.500 --> 06:18.500] What it means is that someone has to be doing an attack intentionally, [06:18.500 --> 06:21.520] they did not have authorization for the system, [06:21.520 --> 06:23.840] and it has to be electronic interactions. [06:23.840 --> 06:27.420] So no, birds flying, we know that they're not real, [06:27.420 --> 06:31.940] 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 --> 06:55.380] So, safety is more of a kind of a what and why questions [06:55.380 --> 07:01.560] 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:11.380] We care more about who's doing it and what systems they're touching, [07:11.380 --> 07:17.760] 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 --> 07:45.800] But what it is, is if you look at that table at the top, [07:45.800 --> 07:51.140] table 4-4, which is taken directly out of DO-356A, [07:51.140 --> 07:54.080] it gives you a threat condition, effect severity, [07:54.080 --> 07:59.660] which kind of looks a lot like the advisory circulars with the definitions, [07:59.660 --> 08:03.560] and gives you SAL levels for that mitigation. [08:03.640 --> 08:09.440] But what's unique here is that something that has an effect condition of catastrophic, [08:10.000 --> 08:13.980] 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:23.500] The big part about security development is that we look at individual threat vectors [08:23.500 --> 08:28.980] as it moves through a system, because we have to look at every point in which it could touch a system, [08:28.980 --> 08:34.960] and have a final effect that may or may not have a safety effect on the entire aircraft. [08:35.480 --> 08:41.440] So, if we do have an effect on the entire aircraft, we have to go back through our safety analyses, [08:41.440 --> 08:47.340] and we have to place mitigations, two of them in this case, of SAL-3 and SAL-2, [08:47.340 --> 08:51.720] in our system to prevent a catastrophic threat condition. [08:52.300 --> 08:59.900] So, those mitigations have to be developed with security objectives, [08:59.900 --> 09:04.760] the design objectives for SAL-3 and SAL-2. [09:04.760 --> 09:14.360] If you're developing a system, and if you look at the actual security assurance level objectives, [09:14.360 --> 09:21.120] they look very, very, very, very similar to exactly what DO-178 and DO-254, [09:21.120 --> 09:24.460] because all these documents are in concert with one another. [09:24.460 --> 09:29.000] They all feed from one another, they all use a lot of same concepts from one another, [09:29.000 --> 09:33.120] they all try to use the same structures. [09:33.240 --> 09:37.860] So, that makes it really easy for us to take our cybersecurity mitigations, [09:37.860 --> 09:46.760] 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:26.180] We're going to put hashes in place so that the values that we're adding, or subtracting, or changing around, [11:26.180 --> 11:29.240] 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:39.700] Safety analysis also said that there has to be a system B-prime, which is a secondary thread to the system, [11:39.700 --> 11:46.000] 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:31.540] Except, they found a third attack, which is actually a mode command that's sent into systems, injected at system C, [12:31.540 --> 12:36.300] which then back-propagates through the system to system A, which changes a mode, [12:36.300 --> 12:42.220] which then forces data to come out incorrectly without a pilot commanding a mode change. [12:43.400 --> 12:47.540] So you see how there's kind of a non-linearity through these systems, [12:47.540 --> 12:53.260] where you could get these system effects without having exactly changed or manipulated, [12:53.260 --> 12:57.520] or without having commanded commands B sent, [12:57.520 --> 13:04.040] and get unintentional data that was not supposed to be there without some sort of other checks, 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:12.880] You press a button, it goes through, it sends back bits that says, [13:12.880 --> 13:17.820] yes, I saw that you changed the mode, here's the new mode information. [13:18.180 --> 13:26.260] But what's unique about this is that that mode command may have also propagated back through the B' and A' systems, [13:26.260 --> 13:32.680] through the secondary thread, and has also changed those modes, [13:32.680 --> 13:37.340] which gets around our cross-checking in system C. [13:37.340 --> 13:44.280] So now a system, so the primary thread and the secondary threads are now sending the same data, [13:44.280 --> 13:48.900] valid data across, and it's not being picked up by system C. [13:51.060 --> 13:57.400] So what's interesting about this whole development here is that where safety and security really touch [13:57.400 --> 14:01.160] 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:26.240] Now I have a secondary thread that I can cross-check data against, [14:26.240 --> 14:33.620] an independent thread that somebody may not have access to that I can ensure that is part of the whole [14:33.620 --> 14:41.820] security posture of this whole entire system. So hashing memory is a great one, right? [14:41.820 --> 14:48.320] We use it in cybersecurity in order to prevent manipulation, intentional manipulation of memory [14:48.320 --> 14:55.680] spaces. Well, over on the safety side, they do that sort of stuff to prevent accidental [14:55.680 --> 15:01.700] manipulations from like, I don't know, single event upsets from the sun, right? [15:01.700 --> 15:10.340] Neutron events on memory spaces. Other areas would be like duplicating or triplicating data stored [15:10.340 --> 15:15.580] 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:20.200] And if that one's still manipulated, you can go and pick it up somewhere else and cross-check those [15:20.200 --> 15:30.340] three different memory spaces. So safety and security have to kind of be developed together in [15:30.340 --> 15:40.820] these systems because you have these concepts in here of inherited security principles or properties [15:40.820 --> 15:49.460] of the system. Security is not the only developer of the system. Safety is doing it. [15:49.460 --> 15:54.060] Implementers of code are doing this. They're developing their own requirements with how they either [15:54.060 --> 16:01.360] think the system should work or how the system has been developed in the past and how other systems [16:01.360 --> 16:10.380] have been developed. And so we have to take a look at not just security requirements, we have to [16:10.380 --> 16:17.280] look at the entire system requirements pool to see which items might be part of the security posture [16:17.280 --> 16:22.060] of the system. The reason why we want to do that is because we're going to take credit for those in [16:22.060 --> 16:28.940] our threat models at some point. And if you take credit for them in your threat models, you have to [16:28.940 --> 16:34.120] provide the documentation as part of the design objectives. And if you have to provide data as part [16:34.120 --> 16:38.200] of your design objectives, it's part of your certification baseline and you want to take that [16:38.200 --> 16:44.660] credit for it. It all comes back down to the standards and the certification of these systems. [16:46.060 --> 16:55.660] Another important piece in here is that you can also have system effects where safety and security [16:55.660 --> 17:03.280] may interact with each other in a negative manner. Where one may trigger, you might want to, you know, [17:03.280 --> 17:09.720] trigger a safety event or you have an event that triggers some safety safeguards that have been in [17:09.720 --> 17:15.380] place and the security of the system is reduced because systems have now been reset and they lost [17:15.380 --> 17:23.340] state. You might have security implementations in there where it prevents data from cross flowing [17:23.340 --> 17:30.340] from one side to another or you might have other pieces where data is unavailable because it's been [17:30.340 --> 17:37.920] encrypted that affects the safety of the system. So it's very important to look at how safety and [17:37.920 --> 17:44.440] security interplay in the requirements and determine like is this a positive or a negative part of our [17:44.440 --> 18:00.680] system. So in summary, aircraft cyber security is very young. DO-356 was first released in about 2014. [18:01.440 --> 18:10.720] In comparison to the advisory circular that I showed you at first, AC-25-1307, that was released in [18:10.720 --> 18:24.780] 88. We've had these definitions around in aviation for almost 40 years. 40 years of development time to [18:24.780 --> 18:33.560] learn how to do all these development principles with how to develop safe code, how to develop safe [18:33.560 --> 18:39.600] hardware has been going on for a very long time. But the security of these systems, because they're [18:39.600 --> 18:48.480] becoming more and more connected and even more highly connected in real time in the future, these [18:48.480 --> 18:54.460] systems need better security principles that work with how the systems are developed in order to [18:54.460 --> 19:04.920] provide certification boundaries. To touch upon the technological limitations, prior systems in the [19:04.920 --> 19:11.660] past used to have federated systems where you had multiple single purpose systems on board, which [19:11.660 --> 19:17.480] then moved into more highly integrated systems, which then moved into more highly integrated [19:17.480 --> 19:26.120] networking systems as well. So those boundaries of data that you couldn't get security issues across [19:26.560 --> 19:32.360] because of the highly federated nature of these systems is now being whittled away at as part of the [19:32.360 --> 19:39.420] development because of the demands of higher speed buses. Airing 429 is not fast at all. But Ethernet [19:39.420 --> 19:47.600] is. And we can do that deterministically. The way that security brings those direct impacts has to [19:47.600 --> 19:54.600] be developed as part of the architecture. Because in the end, you can't have a safe system with also [19:54.600 --> 19:58.340] having a cyber secure system. Thank you.