To kick off the Aerospace Village at DEFCON 31 is Henry Haswell. Henry is a research engineer at Southwest Research Institute or SWRI. His focus is primarily on cyber-physical system security and embedded software systems. He's no stranger to our stage as he presented a vulnerability assessment of a satellite simulator at the Aerospace Village during DEFCON 30. Now give a round of applause for Henry's presentation on secure micropatching on the ISS. Hey everybody, so the robot, the voice there, introduced me already, so my introduction slide here, it was supposed to be me doing that, but hey, we're covered. So since this is the very first presentation of the day, I'm just gonna, you know, we'll give a bit of background here, what we're looking at here, talk about what is, what the current state of, over there, updating is in for space. So, obviously space, the industry has been way back, the further you go, if you want to go down back to the 60s, 70s, over there, updating wasn't even a thing. You would program your satellite once, launch it, that's it, you're good. Or, well, you're done, I should say. But over there, updating has been a thing on more recent satellites. You usually have a pretty small window to send out these updates, because since they're in orbit, you have to be in range of the satellite, your ground station, to the satellite in order to be able to send out this update. At best, if you fail to send your update in that time frame that you have to send out your deployment, then you have to resend your update once you're back in range. At worst, if you have an update that fails and has some sort of error in the update, you could cause some sort of system error on the satellite. And if some bad actor is sending out their own malicious updates, they could even try to modify the behavior of the satellite in some way. Now, of course, space cybersecurity in general has been a growing focus to both the cyber industry and the space industry as well. You're looking at things like the Ukraine conflict recently, where there were internet satellites that were all hacked and shut down right before that invasion launched. And so there's been a lot more focus on this more recently. So these data errors, some common mitigations for these here. So it's pretty much standard these days in the CCSDS communication standard to use a CRC, which is a Cyclic Redundancy Check. And essentially what this is, is at the end of each CCSDS data packet that you're sending, there is an area which is some data to try to verify that the data in that packet is valid or correct. One of the most common ways is doing a checksum, basically sum up the bits and then add that sum to the end of the bits and you check, okay, yes, that checksum matches what I calculate for that summation, so we're good. There's also for error detection and correction, like when you have your data on your satellite to prevent, protect it from being altered while it's on there, whether that be bit flipping from radiation or other ways that in space with all sorts of interference can go on of altering that data, the error detection and correction is used to try to detect those bit errors and correct them without having to resend those updates. So BCH and Reed-Solomon are some common error detection and correction algorithms used on space assets today. Now, the thing about these EDAC methods is the larger these bit errors are, the greater the memory requirements are on the space system to be able to correct those bit errors. So for reference, our company, a lot of the satellite systems we work with, we have around three bits error detection and correction for our systems or give or take depending on the situation. So if you're dealing with really large files, if they have larger errors in them that are in the several bytes range, then it would just cause a large amount of memory to be able to address those. So one thing that we've worked on in the past has been secure micro-patching for ground systems. The idea behind the secure micro-patching is if you're seeing an over-the-air update, you are able to detect any modification of bits but also insertion or deletion of bits and try to correct those. There we go. So a bit of background on our previous work in secure micro-patching. So as I mentioned before, it allows for correction of insertion, deletion or modification of data. That's important because regular EDAC usually is only for correcting a modification of data. If you're adding in your own packets, if those packets were marked as authentic by whatever system you're using to authenticate your packets, then it'll be added into your data. The goal of our secure micro-patching is to reduce the transmit time of correcting an update when compared to having to resend that update. So if you're looking at a situation where you send out your update and then you check and oh well, it didn't send right for interference or the wrong file got sent or whatever, what have you, instead of having to resend that full update, only the bits that were corrupted will be resend. That's reducing your retransmit time and as we mentioned before, in space where you sometimes have a very limited time frame to transmit, that's valuable and every minute can count for that. In the past we've deployed this on ground vehicles. We've done work with DOD clients on ground vehicles deploying secure over there updating. And so we decided we want to do a demo of our secure micro-patching on the International Space Station. So we teamed with Axiom Space to do this demo. They have an AWS Snowcone that's riding along in the ISS on the US side. Then we did our micro-patching tool running on the AWS Snowcone and on a ground station on the ground communicating between each other in order to demonstrate a cyber use case of our secure micro-patching for space systems. But on the Axiom side, they're using this as a use case of space servers because their long-term business model is having servers running in space to communicate with other space assets and this is a potential use case for it. Now at a high level, what's going on here with this demo, we have, if you work up from the top left and then around here, you have some kind of data file, you know, whether that be a firmware update or any kind of binary file really could work for this. It's living on this Snowcone and there is, on the server side of the Snowcone, the data protection code script is running to send out this data file and get it sent through from the ISS down to a guy, uh, ground station through the T-distometric. Uh, that's the use case we used for this demo but the idea is this is something you could also use for deployment of, you know, space to space updating as well. Uh, and on this ground station, whether there's some sort of perturbation of the data, whether that be from, uh, RF interference, radiation, some, uh, bad actor trying to modify the data of that update and it has some sort of errors in there whether that be, you know, some data got inserted, some data, some packets got removed or modified. Uh, then on the ground station, uh, we have the other side of the micropatching script running and it's trying to communicate with the, uh, space side in order to verify which of these bits have been altered in whatever fashion. Uh, then it requests the, those bits to be recent so that it can, uh, patch or micropatch the file to have a, uh, corrected file which has the original intended data. So there's 3 phases, uh, to this, uh, research we did. Uh, it's, uh, the first phase we did a hardware in the loop test environment, uh, to, we had our own ADOS no-cone that we ordered and hooked it up to our own, uh, computer to simulate a ground, to be akin to the ground station. Uh, and then phase 2, uh, we made some modifications to our micropatching script to, uh, optimize them for the space environment for the ISS network. And then 3rd we, uh, did our demonstration of the micropatching on the, uh, IOSS snow cone. Uh, so first off, a little bit of background here on the AWS snow cone. The purpose of the AWS snow cone, it's a compact server for edge computing that is, they, they market it as a edge computing device. So not just space applications but also, you know, ground applications as well for that. Uh, it uses, uh, what they call, uh, Amazon EC2 Linux instance. It's kind of akin to Docker images. Uh, it's running a version of Linux on it. Uh, and they have a, despite being about the size of a shoebox, they're pretty beefy. You got about 14 terabytes of SSD storage in the model we were using, uh, because these are meant to be, like, data servers, uh, for their original use case. But we're all, in this case it's being used as a, uh, space server. For our ground simulation, so we have our snow cone on, on, acting as the space asset. We have our lab laptop acting as a ground station. And we implemented this, the client server communications for our micropatching script. And the, uh, you can see we have a little diagram here. Uh, on the left side we got our ground PC, which is really just our laptop, uh, running the ground part of the micropatching script. And then we have the, uh, AWS snow cone being the space system, which is getting the, the, uh, space server side of the script. So in our ground simulation, uh, we simulated what we expected the, uh, latency and network transmission, uh, limitations, uh, on our trend ground, uh, this simulated ground to space transmission to see how our algorithm would perform in this higher latency environment. Because compared to a ground system set up, uh, for ground to ground communications, if you're talking to a ground vehicle, you have a much lower latency because you're, you know, communicating across, you know, maybe a few miles versus going all the, going all the way up, uh, to the ISS, right? Uh, and we, for, to act as a benchmark, a point of reference, what we have is we, uh, did a, uh, we full resend of the packets that were, uh, detected as being corrupted through, uh, like a legacy edep script, uh, that was running a Python, uh, implementation of edep on a lot of space systems. You'd probably be running, uh, you know, hardware level or, or see, uh, edep script, which may be faster than the one we're using, but we're using this as a starting, uh, point of reference. Uh, and in our simulations, we saw that in, uh, most cases when we're, depending on the file size you're using, uh, it was faster for us to use, uh, one of the, use our, uh, micropatching algorithm to correct these, uh, uh, errors rather than rely on, uh, using the edep or, uh, resending the, uh, packet. There was some situations though when we were looking at very small size, size files, like less than a megabyte, uh, where doing the full resend was actually faster. And what we realized was in this situation, uh, the, the issue was actually the, uh, sending the message count because this, the micropatching script, it uses more messages compared to just doing a full resend all at once. And when you're dealing with high latency environments, uh, that could become a bottleneck. So what we did is we have our second, uh, algorithm, which we're calling a recursive algorithm, uh, which try, try to, uh, reduce the amount of messages needed to be used in order to do the micropatch in order to, uh, reduce how that latency impacts our, uh, micropatching script. So we realized we needed to, uh, reduce the latency of our micropatching to, to be efficient here. And we also needed to account for, uh, potential loss of service. So in the network that we were testing on, uh, around, on an average of around every 40 minutes, there was a loss of service. So by default in the network that was used to send out update files to the Snowcone, uh, if you had that loss of service while you were sending, uh, update file out, well, you lose the file and you have to start from the beginning once you have service again and resend that full file. Um, but because we had our micropatching script running, uh, the way we implemented it, you, you're basically just pausing the update while, while you have that loss of service. Then once you have a connection, you continue right from where you left off. Now for running the actual demo, uh, we worked with, uh, the Axiom Space on, they, uh, staff on the ground. They have a ground station that, uh, communicates up to the AWS Snowcone, uh, that, and we worked with them to run the ground side of the micropatching script. And on the space side, we had an astronaut who, you know, powered up the Snowcone and started up the space side of the script. Uh, we have a little, uh, I, I like, this is my favorite picture in this presentation of the Snowcone, uh, floating on the space station there. Uh, and so just so you know what type of network we're dealing with here, uh, on the uplink we had about 5 megabits per second of transfer speed. Uh, on the downlink we had way less. It was like 0.1 megabits per second, I think. Uh, and then we had around 8 me- me- millisec- 100, sorry, 100 milliseconds of latency to send a message from ground to space or vice versa. So, we're talking about almost a second from the time you send the message to when it gets to, uh, the space station. And we also expected based on, uh, you know, previous, uh, network communications on this network that every 40 minutes or so we'd get a, a loss of service. Now, on the actual demo of our script on the international space station, uh, we saw that our micropatching script in, if you, if you're dealing with, uh, around larger than a megabyte file, uh, it was faster in terms of pure, uh, time needed to do, to, uh, correct the update than just relying on our Python implementation of EDAC. Uh, and also another ben- benefit here was there was multiple lo- losses of service because this is such a small network. We sent a variety of file sizes if we're dealing with a very large, like, say, 100 megabyte file, uh, uh, 5 megabits per second. That's still gonna take a little while and so we experienced some losses of service but the, uh, micropatching version of the script was able to just restart from, from where they left off. Uh, now, the, if we're talking smaller than a megabyte, then it was, uh, not as, not as fast in terms of pure transfer time but there's some other benefits that I don't, I wanna get into here in terms of future work. So, uh, the, uh, at, at the base level, right, ultimately reduced downtime is, is one goal here. The other time is cyber security being able to, uh, in terms, being able to secure these, uh, updates to make sure that not just, uh, modification but you're also protecting insertion and deletion and you're reducing, uh, your, uh, repair time by, uh, having these, um, uh, this micropatching service. Uh, so we, this is the first time that we're aware of, of a micropatching deployment being deployed to an asset on this ISS. Uh, we see this as a good starting point going forward to look at, uh, deploying micropatching on other space assets or to maybe even something like space and space communications as well. Um, we're starting to look at ways of, uh, upgrading this, right, and, and making it, uh, something that we can deploy on other systems as well to help, uh, keep these, uh, over there updating secure. So, I went through that, uh, way faster than I thought I would, but, uh, I can, we can have a, uh, Q&A session here if there's any questions, uh, from the audience about the presentation here. Thank you. I was just gonna ask if it's source available or is it just enclosed? Uh, oh, so, yeah, so this is, uh, Swery owned, owned code, uh, yes. Oh, are you, uh, do you have plans to make it, like, the source available as sort of open source of project or are you just gonna be, like, what's the, what's the deployment model if it, if you want to have, like, operators use it? Is it gonna be, like, licensable, like commercial license? So, the way we plan to take this and integrate it into project going forward is we want to work with, uh, you know, whether that be commercial or government, uh, to, uh, implement these onto their systems because every system's gonna be a little different and we want to work with them to make sure we can, uh, customize this to fit with their solutions, uh, so, so that, so, yeah. No more questions from the audience? Okay. Well, uh, thank you guys.