Hello, I'm Randy Tinney. I represent the Aerospace Corporation. And today I'm going to be talking about SPARTA techniques and how easy they are. If I can get my slide deck working. There we go. So a little bit about me. I first got into this industry back in 2018. I was hired on as a contractor at NASA's Independent Verification and Validation Center. In 2022, I was hired on at the Aerospace Corporation, kind of as a jack-of-all-trades, let's say. I do a little bit of everything. Exploit developer, vulnerability researcher, website developer, because I am the main developer for the Space Attack Research and Tactic Analysis Framework, also known as SPARTA. And then finally, my last kind of name to fame is last year, I was part of the team that won the Red Alert ICS CTF, where we got a black badge. So that's pretty exciting. So let's kind of back up and talk about SPARTA. In case anybody didn't know about SPARTA, SPARTA is a cybersecurity framework that we launched back in October of 2022. We're actually coming up on our second year anniversary. And it is a cybersecurity matrix that mainly focuses on spacecraft and space-related systems. It's very similar to the MITRE ATT&CK framework, where it looks at all of the threats, tactics, techniques, and procedures. Only this one focuses on the space systems, while MITRE ATT&CK focuses on more on the ground side of things. And really, we built this tool for both the commercial and the government users to mainly stay up to date for the various attacks that may threaten their field. And it's really gotten a lot of attention from the industry itself. We've had a lot of good feedback, and it's really grown thanks to the contributions that everybody's done. Unfortunately, because everything is kind of unclassified, a lot of the, let's say, attacks that we've talked about are more from a tabletop perspective. We can't really give any kind of actual attacks that have occurred. Nobody wants to reveal that information. And so a lot of people that are just getting into this industry don't know what they look like. They don't know where they can be detected. They don't know how to really block them. And so that's another reason why I did the research that I did in order to actually do these attacks in a simulated environment to help people see where things are going to be detected and how they actually look like. To do this, though, I need to kind of take a step back and really look at how a spacecraft, how we can communicate with it. And so I'm a very simple person. So I designed this very simple image. And really the idea is, you know, you have a person behind a computer. We call that command and control server. And they're pressing buttons, sending commands up to the spacecraft. That command will then flow over to the front-end processor, which then travels to a modem. Now, sometimes, not always, a mission or a operation will have a encryptor or authenticator. We call that the bulk crypto unit. Usually it's placed between the front-end processor and your modem. So right before those packets are transferred to the RF signal. This is not always the case. We are encouraging that more often, but still, it's a slow thing to be included. But anyways, after it either goes through the bulk crypto unit or it doesn't exist, it goes to the modem, gets transferred to the RF signal, to the ground satellite, up to the spacecraft, and there we go. Same with telemetry. It just comes back in the reverse direction. And then, of course, I added this little feature where you can see where it goes from human readable to spacecraft communication to the RF signal. So knowing this and seeing this very simplified manner, I immediately thought about where could the best method of attack be for this system. Because a lot of the people in the space industry think that their systems are untouchable just because they're in space. They're, you know, high above Earth, hard to talk to, radio frequency is hard to decode. So in my mind, the most logical attack vector was to the left of that bulk crypto unit or the modem if it doesn't exist. And really focusing on either the person itself, the command and control server, or the front end processor, or any combination of the between. So the idea is you're going to be actually compromising that ground station in some way and attacking at that point. Now, unfortunately, because I've been on a lot of missions as a cyber assessor, I've heard a lot of excuses of why this won't work. Actually, people do not like it whenever you say that their mission operation center could be compromised. They think because they have a lot of, you know, guards with guns, you know, different fences with barbed wires, that they're untouchable. In fact, they really don't even like acknowledging that there could be a breach in their system. And they come up with a ton of different excuses. Some of my favorites are, you know, we got a lot of firewalls. They're not going to get past that, obviously. Everybody knows that's the case. We're air-gapped. Our systems don't even touch the network at all. Okay. And then they also say that we just accept that risk of insider threat. You know, the guy behind the command and control server, he may send a bad command, but we've got mitigations. Not always the case. And we show them that. Unfortunately, just it's a lot easier to assume that at any point in time, you're going to get, you're going to have a breach. You're going to be attacked in some manner. It doesn't matter how. There's always going to be a vulnerability available. So if you assume that that is a possibility, you'll be more likely to patch it. We definitely promote defense in depth. And that's where this comes from. So whenever I say that we are assuming that our initial access vector is the compromised ground system, I am referring to the actual Sparta TTP that we've created of the compromised ground system. And this is one of the ones that has the highest notional risk score as well. So we definitely take this very seriously. And we're saying like, this is going to happen. So just assume it, accept it, and be done. And like I said earlier, I'm a very simple person. So my attack that I did was very simple. In fact, it's so simple that I just did a man in the middle to prove that all these attacks can be done. Specifically, I do an ARP spoof between the command and control server and the front end processor. Now, once again, I kind of feel what you all are saying. No, nobody's going to do an ARP spoof on a very complex system. This is too hard. That's script kitty stuff. Well, a couple of weeks back, we were actually at a training event where we were testing some things and we did these attacks and they couldn't detect us because they also thought they were too simple. So even in these complex systems, please don't overlook the simple stuff. Script kitties exist and they will try to attack you at all times. So that's what I'm saying. And that's what I've done for this entire presentation. So I created a tool that was just a very simple man in the middle. I called it the Sparta Cyber Exploiter just because I liked acronyms. I'm not here to promote the tool because I will tell you the tool itself is a Python Flask server running Scapi and the Netfilter queue. So you too can create your own Space Invader if you wish. Very simple. You just have to know what those three things are and some CCSDS decoding. So let's talk about the actual environment because these are the attacks. You can read what the attacks are going to do later. But the actual environment we're going to be attacking is NASA's open source NOS cube. You can go to GitHub. I've included the link here. It's a very, very awesome tool if you want to play with a realistic spacecraft system. And you're going to see how realistic it is in these demos. All right, so let's go actually start talking about some TTPs. The very first one is just exfiltrating telemetry and command. This one really is kind of overlooked because, once again, it's just packets. Nobody knows what to do with them. Actually, this is kind of pretty serious. You're going to see why in a little bit. Everything that you see here will actually be used in future attacks. I will not force you to decode CCSDS. Just know that if it starts with a zero, it's a telemetry. If it starts with a one, it's a command. Okay, very simple. And this is all done just because we're man-in-the-middle, not doing anything special, just printing out those packets to the screen. So the second attack that we're going to do is actually falsifying the telemetry that's downlinked. In a mission operations center, the telemetry is probably the most important information that a person can get because that tells them the health and status of their spacecraft. So what we're going to do is we're going to degrade that confidence. And we're going to do that by manipulating packets. So I have a video here where we've captured a telemetry packet, and we're actually going to change every telemetry that has a specific AP ID or application ID, so that the ground station is going to see what we want them to see, and they're just going to start communicating. So here I'm sending a bunch of no-op commands to a camera. No-op stands for no operation. And really, that's just going to send the command counter up. But since we're falsifying telemetry, they don't see that information at all. So they are probably thinking, oh, we've lost complete control of our spacecraft, or our flight application isn't working. However, after we stop the command, you will see that command counter go up by, like, you know, a lot since I sent a bunch of commands. So yeah, that's an immediate degrade of confidence level in your ground system, which is, I don't know, kind of terrifying in my mind. The next one is very similar. We're modifying the packets on the fly. So in this example, we're taking a very specific, or we're watching for a very specific command, and we're changing it to something else. In this example, we're going to be modifying the camera no-op just to the executive services no-op, just to show and demonstrate what this does. But this can actually be pretty dangerous. You know, let's say you captured a command that was changing a registry key on the system, and you sent that off, and you wanted to block the ground station from, you know, changing it back. This is a specific way in which to do that, where it's going to block every attempt to change it with very little effort on your part. Yeah, so we just send in those commands just to show that they've sent, and then we come back. The next one is super easy. It's jamming. Your man in the middle just blocked the packets. Once again, this stops, this degrades the confidence in your downlinked telemetry, and it can also stop any commands from going up. So once again, if you've attacked the spacecraft in any way, you can just stop them from communicating entirely. In this case, all you need to know is the whatever port and IP you wanted to block. In this case, we're blocking the command and control server and the telemetry downlink. And yeah, telemetry is not going. And then whenever we stop it, it's going back. Once again, it's a very simplistic attack, but it's detrimental to the mission operation center. And the other way on the other spectrum of that is flooding attack. Flooding, you're just sending a bunch of information to whatever port you want. In this case, and just for a visual effect, I send it to the telemetry just so you can see what information's there. There's actually two different flooding attacks that we follow in Sparta. One is the valid commands and the other one's just random data. I'm going to be showing the random data one just to show how you can degrade confidence in that ground station again. And as you can see, it's just complete chaos on the ground station itself. The idea of this, though, is that you want to basically block all communications. You could also send a bunch of random data up to the satellite. The only reason I didn't do that here is because due to the simulation, it has to be pretty beefy, thanks to the 42 simulator, which we're going to talk about in a little bit. So really, it didn't show any kind of good visual effects. But yeah, you could totally do that. And if you send it up to the bird, you could do everything from locking it up or crashing it, really. Oh, skipped too far ahead. All right, so this is probably one of my favorite ones that we're going to do. It's the rogue ground station. You do not have to be man-in-the-middle for this. In fact, this one's probably even more dangerous. It's another initial access vector with a very high notional risk score. The only thing you really need to know is what IP and port the front-end processor is talking on. A lot of front-end processors that I've looked at does not have any kind of authentication enabled to talk to that port. So you can send whatever data you want. I'm just doing it in this tool just because I like everything. Simple, together, and a nice GUI for visual effect. That's the only reason it's here. Now, for the rogue ground station, you actually need to have the command-and-control server or command-and-control database, or you need to be having captured packets like in the man-in-the-middle. In this case, as a good hacker, I have had the command-and-control database, and I'm going to upload that to my system. Command-and-control database is probably crown jewels of your operation. For some reason, it gets leaked or it's captured. Yeah, your system's done if they can figure out how to decode it. In this case, I upload it. I know how to do everything. I send it to that front-end processor, and I just send it a bunch of commands just to make sure that it works. In this case, just no ops, not really caring, just to show that I have access to it. But I thought it would be really cool if we combine some attacks. So I'm going to work with the reaction wheel. Now, the reaction wheel on a spacecraft is how it turns in space to point to where it needs to go. So I thought it'd be fun if we activated one. But I'm actually going to combine this with an attack previously, where we were changing the telemetry down. So I captured a telemetry packet that we had, and I go back to my changing packet attack. I'm just going to change it to whatever that is, so the ground operations doesn't know that I'm doing anything. Launch the attack, go back to my road ground station. I really don't care, you know, what wheel I use. Oh, so this is the 42 server, by the way. This is what makes it so beefy. This CubeSat will actually rotate around Earth and spin, which is really nice. And that's another reason why this NOSCube simulator is pretty awesome. It'll spin with every tick, so you'll actually see it. So yeah, with the reaction wheel, I don't care. I'm just going to set the torque to 10 and let it fly. So every tick in the 42 server, it actually, you know, flops along. So eventually, you'll start seeing that CubeSat rotate on that wheel as it's been activated. And of course, the ground operators, they're not aware. I'm completely blocking them. They have no clue. And yeah, so they think everything's fine and dandy. Pretty awesome. Now, they would see it if I went back into my, you know, my ground station and I stopped that attack, which I'll go ahead and do just to show you what that would look like. And if you look over on the Cosmos packet, you'll actually see that wheel zero start to change. And that's how you're going to see that the reaction wheel is changing. But once again, they had not a single clue. Man in the middle. Who would have known it's that powerful? All right. So for my last attack, and this is the one that, you know, I had a lot of help with this. I did not write this rogue flight application. It was actually written by some of my friends at the IV&T facility, specifically the JSTAR team. And they wrote this rogue flight application that they called Havoc, which is a backdoor into CFS. I just kind of modified a little bit to fit our needs. But this is pretty dangerous. This assumes that the initial access vector was the supply chain risk. And in this idea, because supply chain risk, our flight application is uploaded. The ground operation is not aware. And because we can talk to the front end processor, we can then talk to our flight app. Specifically, this flight app does three things. It can upload a file, download a file, and basically give us full command access to the satellite. Because a lot of satellites right now are running on a Linux system. So we have full Linux terminal with this. So yeah, let me show you. So once again, all I have to do is just point it at the front end processor IP and port. And just select which command I want. I set a quick no op just to make sure it's working. But really, I'm more interested in uploading a file. As a good hacker, I was trying to think of a way to take over the satellite and make sure it was mine and nobody else can touch it. So I created a ransomware script. You know, because why not? I thought that'd be fun. So we send that up. I wanted it to be low and slow so that nobody could really detect me. So it takes a good couple minutes. But it's a pretty fun idea to think that you're going to ransomware a satellite, right? Because then you're the only ones that are going to attack it. I'm going to get Buku money and, you know, whatever mission is just, you know, SOL. So yeah, I uploaded the satellite. And now I'm going to run my command literally like I was on a Linux terminal. So make sure it can execute and encrypt the system. Now, the fun thing with CFS and the reason why this works is all of their flight applications are actually in their own individual startup scripts. So I can encrypt everything except for the command ingestion, the base CFS, the, you know, the bus. And of course, my own application, because I want to be able to talk to myself. And once that's encrypted, I just do a hardware reboot, because I have the command and telemetry database, because who doesn't need a good reboot after a while? And then we just wait for it to come back up. Now, I will tell you that this takes a long time to come up. So I'm just going to talk about Havoc and how awesome it is. Because with this tool, and I'm really excited to continue researching on this, we can do so much more. I can actually start doing way more Sparta TTPs with this one tool than I could with the actual man-in-the-middle-road ground station. Because I'm going to have access to the actual bus. So we can do bus replay attacks. We'll be able to do GPS spoofing, attack the hardware. There's all kinds of things we can do. So while it's getting ready, I was just opening up some command centers so you can see that they have no access. Because I really want to prove that point of how in the dark they are. Because there is no, especially in this system, there's no way to run a script like I just did. So literally, I am the only one that's able to do anything. They can't even upload a file. So they're really not doing good. So telemetry is down. They're not even getting telemetry back. They're not sending any commands. Nothing's happening. I've already sent my ransom. I want to get paid a lot of money for whatever system this is. And if I was a good hacker, of course, I'm going to go decrypt it. Make sure they get their stuff back. I don't want to keep that running. And that's what I'm just doing here. I'm just going to send a quick decrypt command because I'm not going to encrypt my own script. And make sure it's decrypted. Do another reboot of the system and then wait for it to come back up. And then they'll have full access again. So if you ever wanted to know how to ransomware a satellite, there you go. All right. So while this is running, that was the end of my attacks. And if any of these kind of gave you like heartburn, made you worry, you know, like, oh, my God, what's happening? Why are this so simple? Are she able to do this with nothing but an ARP spoof? Luckily, every single attack I did is described in Sparta. And with those descriptions, we've actually included countermeasures. So these countermeasures will tell you exactly how to, you know, how to block it. It'll tell you all of the different NIST controls that you can add. If you're an ISO 27001 person, those are in there, too. We've tried to map it to every single thing that people that we know in the industry use. So, yeah, I would definitely recommend going and looking and reading on that and just making sure that you are, you know, you have those controls enabled. All right. So in summary, defense in depth is very important. There are a lot of different ways that these attacks could be blocked. But, you know, really, we wouldn't have realized that until I did this research. For example, the best way that these attacks could have been blocked, which I mentioned here, is either including in the bulk crypto unit way earlier on in the system, which, you know, I would not have been able to communicate with my rogue app. The rogue ground station wouldn't have worked without the encryption keys. So that would have definitely blocked a vast majority of this information or these attacks. And I also include the space data link security. If you do use CCSCS, it's another protocol that they've released to include both authentication and encryption to their packets. So once again, it's very simple things that you can add just to block these kind of attacks. I've also included in this PowerPoint some reading material, because I know you guys like to read and you want more things to read. So a lot of these briefs are on Sparta, like how we thought of the idea. We've also included a lot of links to Sparta, like how to get started with it, where to get started with it, because it's a huge application. And there's a lot of different media examples of other talks that have been done on this kind of sort of same topic. I've also included these more DEF CON talks that my colleague Brandon Bailey have done, also including some of the SISAT work he's done, and a lot of different papers and articles that also talk about different attack vectors and countermeasures that you can include. And that's it. So, thank you very much. I can't see anything. All right, I can't see, that light is blocked. Are there any questions? I can't see if they have any questions, though. Anybody have any questions? So, this is just assuming CFS, which CFS, if you're not aware, is NASA's open source satellite kind of information. So, you can actually go to their GitHub, download CFS, and build your own spacecraft. So, CFS has this methodology in which, like I said, it uploads, or it starts all of its flight applications through those .so files. So, if, you know, say I wanted to do a supply chain attack, I would just find that development server and just put my .so file in there. Or if they had, like, upload file protocol, like CFTP, then I would be able to upload my own startup script and just do another reboot. So, there's a lot of different methods in which I could get that flight application onto the actual system. Yeah. Yes. Any other questions? All right. Thanks, guys.