Okay, so I'm going to start. My name is Andy. I work as an open source security in space industry in Europe. How many of you know... or how many of you work in space industry? How many of you... okay, that's some hands up. How many of you know what the SLE is? Okay, that's like three people. Excellent. So, hacking satellites is not a new thing, obviously. However, most of the discussion revolves around the space segment and the means of directly hacking or accessing the satellite. However, I would argue that it is the ground segment that is more likely to be targeted by the adversaries and that's because of its... that's mainly because of the large attack surface that it presents. So, in this presentation, I will briefly compare the space segment with the ground segment as in terms of attack surface. I will introduce you to the SLE protocol. And some security aspects of it. And then I will proceed to demonstrate how you can exploit some exploitation methods of the protocol and some mitigations against them. So, just very briefly, every space mission can be divided loosely into a space segment and the ground segment. And the ground segment, in general, the space segment usually is much more complex than the ground segment. However, if you think about it, it is just like one node in the whole system. So, the satellite is a very complete node. However, there is only one interface, one entry point interface. And because of that, it has a very small attack surface. And the ground segment, on the other hand, has less complex elements to it, but there are many available. And because of that, it imposes a much larger attack surface. On top of that, communicating directly with spacecraft is quite challenging. And not because of the technical aspect of it, but because of the environmental aspects like visibility, orbit, and also the distance from Earth. And on the other hand, the ground segment, it uses main or it uses standard infrastructure, which means that most of its components are also vulnerable to the vulnerabilities that are present in any other infrastructure or software that we are using on a daily basis. And because most of the applications that are used in the space industry on the ground segment are custom development, I would say that that creates some additional avenues to find new vulnerabilities in it. And then again, to try to hack the ground segment components, there is no sophisticated equipment required. So this is an extremely high level representation of a space mission where we divide the space segment and separate it from the ground segment. Obviously, on the space segment, you have a space asset, which this might be a spacecraft. And then you have a ground station that communicates with the spacecraft. You have a mission control that uses ground station to communicate with the spacecraft. And then you have users that use the mission control applications. And they either work internally on dedicated workstations or they connect remotely through a VPN or jump host or whatever you might have. Now, my argument is that it's going to be much easier to hack this thing that you see on the screen than actually build it in order to communicate with many satellites, which you would like to hack. So what is SLE? SLE is a protocol developed or created by CCSDS standardization body. It's a standard. It is used to send telecommands and receive telemetry from spacecraft. It is based on TCPIP. It supports transport layer and encoding and authentication. And you can have two roles. One is the SLE provider, which is in our case is like a ground station. And then you have SLE user, which is like a mission control system. Now, so in a nutshell, it defines a protocol to transfer the PDUs using the TCP for transfer, for data transfer, and ASL1 for data encoding. And in the system, there are two places. Well, okay, there could be many places, but in principle, there are at least two places where the SLE is used. It is in the communication between the MCS, which is mission control system and the ground station, and also between the ground station and the space asset, right? But because we are hacking the ground statement, we are focusing only on the link that is highlighted on the slide. So here is this slide. Here you can see all the organizations and most of the companies that use, or the most famous companies that use the SLE to some extent. If you look on the standard itself for the documentation, here is a list of all agencies that are responsible for development of the standard. So there are quite a few of them, and there are at least three times more different organizations, public and private companies, using the standard for space operations. Also, some of the ground segment specialized equipment comes with support to SLE. If you look at the, for instance, Safran Cortex devices, they all support SLE. And also here, NASA space, New Space Network, they proudly share that they are also supporting SLE protocols on the list of their interfaces and capabilities. So for the purpose of this research, we focus only on the commanding capabilities. So it is called FCLT, which is Forward Communication and Transport Unit, transmission unit. And it is basically the thing that you are sending to spacecraft. It combines it, or the service that you are using to send telecommands to spacecraft. It defines a number of, quite a decent list of different types of operations. But for this research, we are focusing only on the bind and unbind to establish a connection and disconnect, and then start and stop to set up certain properties on the ground station equipment. And then we also look at the transfer data operation, which is used to send the actual telecommands to spacecraft. Now, as per documentation, there is no data privacy that comes with the SLE as a protocol, or as a standard. It comes with a sequence numbering. And this is supposed to be helped in preventing injection as potentially seizing control of spacecraft, but that doesn't really work. There is an easy way to bypass this restriction. And also, there is an authentication that is provided out of the box, however, is very susceptible to many of the middle attacks because of the lack of encryption. So later, I will show you the demos how this actually can work in practice. We have a very simple test environment, where we assume that... so this is assumed bridge testing. We assume that the adversaries are in the network already. And we have SLE provider that plays a role as a ground station, which is like a simple Debian VM, and with European Space Agency SLE API implementation installed on it. SLE user is another VM, which plays a role as a mission control system. It's also Debian, and the SLE implementation used there is the simple Python SLE, which is like a PIB package. You can download it. And this is just to demonstrate that it doesn't really matter what is the implementation of the SLE. As long as you're using any SLE or any implementation that follows the standard, your operations are going to be vulnerable to those attacks, which I'm going to demonstrate. So because there is no encryption, the best idea would be to wrap our attack scenarios within the man-in-the-middle attack technique. So at the high level, we do the ARP spoofing. We capture the data at the TCP frame level. We decode them using the ISP1... we decode the ISP1 frames. I will explain what it is in a second. And then we manipulate the content of the CLTUs that are going to be sent to SpaceCraft, we update the TCP frame, and then push it forward to the receiving part. Okay, everyone knows how the ARP spoofing works, so I'm going to skip that part. We basically grab the packets and put it in the net filter queue, and then we process them. So the interesting part is the processing part. As I mentioned before, the data is obviously in the TCP frame data field, and these are the SLEPDUs elements, which are in the ISP1 format. Now ISP1 is based on the ASN1 encoding, which is basically a simple tagline value data, which is very easy to decode. However, apart from the TLV, there are a few custom structures and context-related sequences, which you would have to struggle a little bit to decode, but the standard is pretty well described, so it didn't take too much time to figure out what they are. And as I mentioned before, in our demo we are focusing only on the telecommanding part, because our goal is to start sending something to SpaceCraft to the ground station. Once you decode the data using the ASN1 encoding, you have to map it to the FCLTU structures, and this is also something that is described in the standard, so it's available to everyone, and that's what we used. So this is an example of a bind message or bind operation between the mission control system and the ground station. So we can see that we have an ISP header, then you have a main structure, which is followed by the additional structure, and then somewhere in the middle we have the credentials, and there's also some additional elements which you can overwrite or you can play with. Again, there is no encryption, so all those bytes are... they mean what it says, right? So in terms of demo, just to establish the baseline, I will show you how the typical communication between the NCS and the ground station looks like. In this demo you will see that first we are doing the binding between the two nodes, then we are sending the... we are asking the receiving node to start the operations, we are sending some data, then we are stopping, and then we are unbinding it, and I'll try to play the video. Let me know if you can see it. Okay, so on the top screen you see the... on the bottom part you see the SLE provider, on the top you see the SLE user. The provider is the ground station and the user is the machine control system. So we start the SLE provider and then we run our test. You can see that we have first established the connection, we send the bind, which was the successful operation, and then we are... we are sending the start operation and then we are sending the data... we are sending the data to the ground station. So this string of bytes is what's gonna get eventually to the spacecraft, like some of those bytes. And then we stop it, and then we unbind, right? So that's like the nominal situation. So what happens then? So one of the things, the worst thing which we can do is to cause a little bit of denial of service by preventing the users from authenticating to the ground station. And the reason why it's an annoying way of doing this for the user is because the SLE provider, when the user fails authentication, the SLE provider simply drops the connection. There is no feedback whatsoever. So the users don't know what is the reason of failing the connection. It's only the ground station that knows. So in this case, we basically do the same. We try to grab the bind operation, which has a very well-defined structure. So when you're monitoring what's happening on the wire, you can easily find patterns and then you can simply mangle the bytes which are responsible for the authentication. So what's gonna happen is the following. On the right-hand side, you have our exploit. And then on the right-hand side, you have at the bottom, you again have SLE provider, and on the top is our MCS, Mission Control System, that connects to the ground station. So we start the R-spoofing and we start observing the communication between the both. And then you can see, despite the fact that we have sent the start, the bind request, we didn't succeed. There is an exception on the SLE implementation, but there is no feedback going back to the user. So at this point, we cannot really do anything. We see the authentication failure. So this way, you can create a denial of service as long as you're in the network. So the next demo, this is also quite similar to the previous one, but here we are actually grabbing the credentials, because as I mentioned before, we can actually reuse them. So here you will see, here you will see grabbing the credentials from the bind message and then display them on the screen. It's a similar situation. So we start the SLE provider, we started our exploit, we start the SLE provider, we started our MCS, we captured the credentials, the bind is successful, but we did capture the credentials, so now we can reuse them. The credentials are encrypted, but it doesn't matter because you will see later that SLE as a protocol is vulnerable to replay attacks. So you can just grab them and then you can use them for your own connection. I'm trying to... okay. So as I mentioned before, we can let the management operations go as they are, and instead we can, in a stealth mode, try to tamper with the data themselves, the ones that are going to get to the spacecraft. So we're going to, in this case, we're not going to do anything to the operations, we only capture the frames which contain the transfer data PDFs. And then we change the content of the commands that are being sent to spacecraft. So here, basically, at the bottom screen, at the bottom side, you can see on the left side, you can see the SLE provider or the ground station and then mission control system on the right side. And then on top, you can see our exploit, which is searching for a specific string of bytes and then replaces it with something else. So because there is absolutely no verification of what the MCS is actually sending to the ground station, and the ground station simply takes it and forwards it to the spacecraft, this can be done in a stealth mode and it's going to be very difficult, unless you are monitoring for our spoofing, it's going to be difficult for the operators to realize that they are sending something that they have not meant to send. So this is the string which we, this is what the MCS sent and this is what has been received at the ground station. However, you can see that in the communication, everything is verified, everything is fine, and neither MCS nor ground station complain about it. So this way we can send whatever we want to spacecraft. And so I think the most interesting demo is where you can actually take all those all those elements together and you can prepare and exploit in a way that it will take over or let you take over the SLE session. So here we are capturing the bind and manipulate the credential structures in order to prevent authentication. Then we reuse the credentials which we have captured for our own SLE session. And we can keep on using those credentials for as long as it is defined in the authentication delay of the SLE provider configuration. And from what I have seen so far, it is a very long delay because of the propagation delay and all the distance, depending on the distance between the earth and the spacecraft. By default, this value is usually around 600 seconds, so that's a lot of time to actually cause a damage and start sending something that is going to make some trouble on the spacecraft side. So here it is. It is a semi-automated exploit because I wanted to show you how you can actually how this works in details. So we are starting on the right-hand side, we are starting the SLE provider. On the right-hand side, on the top, we are starting the MCS. MCS tries to bind but it fails. Our exploit caught the credentials and then we are gonna copy those credentials and reuse them in another exploit. As you can see, nothing really happened on the ground station. There is an exception but that's because that implementation doesn't handle it properly. But from the ground segment, from the ground station point of view, that's a nominal situation because someone tried to authenticate, they failed, so nothing happened on the ground station. We're gonna keep on waiting and then in the meantime the adversaries can actually bind to the ground station as if they were a legitimate mission control system. And then we managed to bind to the ground station. We are starting the typical management operations and then we are sending the data as adversaries or as the MCS but we are adversaries in this case. So that's basically how you take over control of a spacecraft if you have access to the ground station. So in conclusion, it was just one of the methods that you can take over the control of spacecraft using SLE protocol. As mentioned before, we focus only on the commanding parts but there is also telemetry part which if you can imagine there are quite nasty things you can do with telemetry and how you can mangle the bytes and how you can affect the operations by changing the telemetry that the spacecraft is receiving. So important bit is that all that knowledge which I presented here is based on OSINT. All the standards, all the documentations are public. So you can go and have a look. CCSDS is trying to mitigate those issues of providing space data link security. However, this is only between the ground station and the spacecraft itself. The ground segment is still going to be vulnerable. And our argument would be that CCSDS PKI concept could be used instead of SDS to enable TSL-like features on the ISP level and therefore all the communication would be encrypted and everything, all the issues which I'm presenting today, they would go away. Currently we are discussing with European Space Agency to, currently we are discussing space agency with, we want to make some additional tests. And here is the list of all resources. You can have a look. And the publication is going to be available as of today on this website. So you can have a look at all the details, how it is, what I have just described in this presentation. So thanks. Thank you very much.