Skip to content Skip to footer

Ground Control to Major Threat: Hacking the Space Link Extension Protocol

Written by: Andy Olchawa, Milenko Starcik @visionspace

Abstract

Space missions have increasingly been the subject of security breaches and satellite hacks. Most discussions revolve around direct communication and access to spacecraft through means such as Software Defined Radio. However, the reality is that this approach isn’t practical for most adversaries, as it requires substantial resources and is easily detectable due to the power and radio frequencies required to command a spacecraft. Instead, adversaries might shift their focus away from the Space Segment and opt for a more practical approach, such as accessing and exploiting the Ground Segment vulnerabilities and flaws to gain control over spacecraft. Every space mission comprises custom-made hardware and software components, which interact with each other utilizing dedicated protocols and standards designed and developed for this sole purpose. Numerous potential failure points can adversely impact a space mission, many of which persist on the ground. Considering the essential services they facilitate and the extent to which contemporary society relies on space technology, each component utilized in space missions should be regarded as integral to critical infrastructure and treated as such, particularly from a security standpoint. This study centres on the Space Link Extension (SLE) protocol, employed as a standard for communication between mission data systems and ground stations by various space agencies and organizations, including NASA and ESA. We will address the security concerns inherent in the SLE protocol. At the same time, we demonstrate methods and techniques malicious actors can employ to conduct a Denial of Service (DoS) or tap into the ground station communications, gaining control over an actual spacecraft. We will conclude this publication by presenting the reader with a possible mitigation strategy that we believe should be employed at the SLE protocol level. Additionally, we will outline a forecast for future work, detailing both planned endeavours and those already in progress, to further expand on this research. 

1 Introduction

This document represents the culmination of our efforts to explore the exploitation of the SLE protocol. Initially, it outlines the motivation behind this research, the intended audience, and the potential applications of our findings (Chapter 1.1). Subsequently, it provides a foundational understanding of the space and ground segments involved (Chapter 2.1), elucidates the role of the SLE protocol (Chapter 2.2), and presents several real-world scenarios where SLE is employed (Chapter 2.3). Following this, we enumerate and discuss the security considerations associated with SLE (Chapter 3). The document’s core describes and demonstrates a methodology adversaries could leverage to compromise the protocol (Chapter 4). Finally, we discuss prospective directions for future research in this domain (Chapter 5).

1.1 Motivation

The primary aim of this study is to elucidate the potential capabilities of adversaries who might attempt to carry out malicious activities, such as inducing a DoS attack or seizing control of a spacecraft. Achieving such feats requires more than mere knowledge of the SLE protocol. Adversaries must comprehensively understand Telemetry and Telecommand definitions, the internal network configuration, and other facets of the ground segment infrastructure. Historical precedents suggest that, given sufficient time and resources, the defences of any system can be compromised. Consequently, we hope that the findings of this research will be considered in the design, implementation, and maintenance of ground segments that utilize the SLE protocol for communication. 

Suppose there is one insight we wish for readers to gain from this study. In that case, it is the recognition and understanding that securing every ground segment component is critical. VPN solutions are not infallible, encryption keys may be compromised, and firewalls can be misconfigured without even broaching the subject of 0-day exploits, which Advance Persistence Thread actors (APTs) most certainly have access to. This work underscores the imperative that security measures be comprehensive and robust, as determined adversaries could exploit vulnerabilities in any part of the system. It is crucial for the security of space communications that these risks are acknowledged and mitigated to the greatest extent possible. 

At this point, it is pertinent to mention that while the authors of this white paper possess extensive experience in the space industry, one might assume this to be a prerequisite for implementing and executing the exploitation techniques detailed herein. However, it is imperative to clarify that all information and technical details contained within this paper have been acquired through Open Source Intelligence (OSINT), as duly listed in the final section of this publication. 

2 Background

2.1 Space and Ground

Upon examining the composition of space missions, they can be broadly categorized into two primary segments: the Space, Ground, and User Segments. In the context of this study, however, we decided not to separate the Ground and User segments and refer to both as Ground Segment for the sake of simplicity. Each holds pivotal importance; however, the Ground Segment frequently encompasses a more intricate web of interconnected components, each introducing distinct risks. Figure 2 provides a high-level depiction of the typical components involved in a space mission. It is evident from this representation that the Space Segment principally consists of a singular element in the communication chain – the spacecraft (or other types of space assets). While the spacecraft embodies a highly complex component within this system, it serves as a solitary node for receiving telecommands and transmitting telemetry data. Communicating with a spacecraft often presents considerable challenges, attributed to its visibility from the ground—arising from its orbital path, which may limit visibility to specific global regions—or its distance from Earth, as is the case with interplanetary or deep-space missions—which necessitate the use of substantial and powerful antennae, exemplified by the 35-meter diameter Deep Space Antenna 2 (see Figure 1). This type of physical infrastructure requires a significant investment, and although APTs might have access to it, transmitting radio signals at such power is easily detectable. 

Figure 1: Cebreros – Deep Space Antenna 2 (credit: ESA)

Conversely, the Ground Segment, albeit depicted in a simplified manner in Figure 2, introduces multiple potential points of vulnerability that could be exploited in cyber-attacks, even without sophisticated equipment. While intercepting telemetry and sending telecommands directly to spacecraft, particularly those in geostationary orbit is not beyond the realm of possibility, the Ground Segment’s extensive array of potential entry points for cyber threats renders it a more likely target for malicious actors. This increased vulnerability underscores the imperative for robust security measures within the Ground Segment to mitigate the risk of malicious interventions. 

Figure 2: High-Level Space Mission Description 

During standard mission operations, spacecraft operators engage with a Mission Control System (MCS) either from individual workstations or through systems installed within a dedicated control room. The MCS enables operators to monitor the spacecraft by acquiring telemetry data and exert control over it by formulating and dispatching telecommands. These data exchanges, which comprise telemetry and telecommands, transit via a ground station, typically in a location distinct from the control center. Furthermore, the terrestrial communication infrastructure is characteristically segmented into various networks with their constituent elements, which can also be dispersed across multiple geographical locations.  

Many security measures can be implemented to safeguard the communication between different elements within and across multiple networks. These protective strategies may include but are not limited to, techniques such as tunneling and utilizing Virtual Private Networks (VPNs). 

2.2 SLE Role

SLE is an Internet Protocol, also called Internet SLE Protocol One (ISP1), that defines a set of transfer services enabling missions to send forward space link data units to a spacecraft and receive return space link data units from it. Designed atop the TCP/IP layers, SLE incorporates several additional layers to support the communication’s transport, encoding, and authentication aspects. 

Figure 3: High-Level Depiction of SLE Role in the Space Mission Environment

SLE is essentially a standard specifying the following [1]: 

a) the necessary operations for executing the transfer service;  

b) the data parameters associated with each operation;  

c) the outcomes triggered by executing each operation; 

d) the logical sequence and relationship of operations and their consequent actions. 

This standard does not specify the methods or technologies for communication. Its primary purpose is to define a protocol for transferring SLE Protocol Data Units (PDUs) using TCP/IP for data transfer and Abstract Syntax Notation One (ASN.1) for data encoding. In practical terms, as depicted in Figure 3, the protocol is utilized to communicate between the SLE User (e.g., Mission Control System) and SLE Provider (e.g., Ground Station). Its main aim is to support the exchange of Telemetry and Telecommand frames. 

2.3 Real-world Applications

The Space Link Extension (SLE) protocol was specifically developed to facilitate communication between Control Centres and Ground Stations, positioning it predominantly within the space sector’s domain of use. As an integral component of the Consultative Committee for Space Data Systems (CCSDS), SLE’s adoption extends across a vast majority of global space agencies and corporations. As of the current writing, the CCSDS standardization body comprises the following member agencies, listed in alphabetical order [1][2][3][4][5][6][8][10][12][13][16]:  

– Agenzia Spaciale Italiana (ASI) 

– Canadian Space Agency (CSA) 

– Centre National d’Etudes Spatiales (CNES) 

– China National Space Administration (CNSA) 

– Deutsche Zentrum für Luft- und Raumfahrt (DLR) 

– European Space Agency (ESA) 

– Instituto National de Pesquisas Espaciais (INPE) 

– Japan Aerospace Exploration Agency (JAXA) 

– National Aeronautics and Space Administration (NASA) 

– State Space Corporation (ROSCOSMOS) 

– United Kingdom Space Agency (UKSA) 

A significant application of SLE is its role in facilitating intercommunication among various space agencies through adherence to CCSDS standards. An example of such collaboration is the communication link established between the ESA Control Centre (ESOC) and NASA’s Deep Space Network (DSN) [6][9].  

Beyond space agencies, many space and defense corporations, including but not limited to Airbus, Boeing, Lockheed Martin, and Thales, also use SLE [1][2][3][4][13]. Although the direct application of SLE may appear limited compared to other application layer protocols such as SFTP or HTTPS and seemingly exclusive to space-related endeavors, its indirect impact is of a global scale. This is attributed to the pivotal services that space missions provide, which we use on a day-to-day basis.

3 SLE FCLTU Overview

The FCLTU service allows its users to transmit Communication Link Transmission Units (CLTUs) to a spacecraft through a previously set up forward space link channel. This channel is a physical medium that conveys an asynchronous flow of CLTUs, as mentioned in reference [1][2][3][4]. Users input CLTUs wrapped in SLE-SDUs using the CLTUTRANSFER-DATA operation. The FCLTU service provider’s role involves processing these submitted CLTUs, adjusting them as necessary to modulate the Radio Frequency (RF) carrier channel used for uplink communication with the spacecraft [1][2][3][4]. 

CLTUs are sent in the sequence they are received from the user by the FCLTU service. The provider might verify if a CLTU meets specific criteria, such as whether its length falls within the maximum allowed by the service’s rules. Nevertheless, the provider does not alter or examine the content of the CLTU in any way; CLTUs are relayed precisely as provided by the user, bit by bit. Whether or not these CLTUs adhere to the format specified in reference [4], the FCLTU service can handle any bit pattern that is aligned by octet.  

Recommended Standard details how an FCLTU service user can engage with a service provider to:  

a) set up a connection with the provider;  

b) dispatch marked CLTUs to the provider;  

c) receive updates and reports about the service’s status, settings, and efficiency;  

d) pause and subsequently resume CLTU transmission;  

e) terminate a connection. 

The FCLTU service is exclusively available in the online delivery mode, as outlined in reference [1][2], with the offline delivery mode remaining under review. 

Offering the FCLTU service to connect a single user to one physical channel represents a singular instance of the service. For each physical channel, only one instance of the FCLTU service can be active at any given time. 

[1][2] describes in detail a number of CLTU operations that can be performed at the protocol level. However, for the purpose of this work, we will focus on only a few of them just to present the reader with some examples of how the protocol could be exploited: 

CLTU-BIND: used to establish an association between the initiator and responder 

CLTU-UNBIND: used to release an association previously established 

CLTU-START: used to request that the FCLTU service provider prepare to receive CLTU-TRANSFER-DATA 

CLTU-STOP: used to request the provider to stop the production 

CLTU-TRANSFER_DATA: used to transfer the CLTUs 

3.1 Security Aspects

As described in [1][2], SLE addresses several security issues either by introducing mechanisms at the protocol level or deferring it to a third party, assuming that whoever uses the SLE they are in charge of implementing those security measures. In this work, we focus mainly on the following security considerations: 

Data Privacy (Confidentiality) 

SLE does not identify any requirements nor implement any mechanisms to support the following security aspects of confidentiality. This means that there’s no encryption involved in the communication (as is the case in HTTPS, for instance). Lack of encryption enables adversaries to attempt a number of different attacks, one of which we demonstrate in a later chapter. Deferring this aspect to 3rd party gives an opportunity for weak encryption or lack of it altogether. 

Data Integrity 

SLE FCLTU service requires that each CLTU has a sequence number (cltu-identification) [2], which must be increased monotonically. Otherwise, the CLTU will be rejected. The purpose of this mechanism is to constrain the ability of a third party to inject operations and seize control of an active FCLTU service instance. As we present later, this mechanism is very weak, and given the lack of encryption, it is very easy to bypass this security control. 

Authentication 

The FCLTU service defines authentication requirements to perform the SLE transfer service authentication. There are three levels of authentication: ALL (every CLTU transfer has to be authenticated), BIND (only BIND invocation will be authenticated), and NONE (no authentication required). 

Depending on the implementation, the credentials could be encrypted using different encryption algorithms when in use (either SHA-1 or SHA-256, depending on the SLE protocol version). However, as we later present, due to other configuration items, this security control is susceptible to various man-in-the-middle attacks.

4 SLE FCLTU Exploitation

4.1 Testing Environment

Space Link Extension (SLE) is a protocol that outlines the standards for communication between an SLE Provider and an SLE User, without mandating specific implementation methods. However, it notably lacks comprehensive security measures. To validate our hypotheses on exploiting it, we have opted to utilize an existing implementation of SLE provided by the European Space Agency (ESA) known as SLE-API. Our primary interest in this particular implementation stems from its development and utilization by a reputable space agency, which likely extends to its role in facilitating communication between the ESA Control Centre and the NASA Deep Space Network (DNS), among others. Additionally, the decision to employ ESA’s SLE-API in our research was influenced by the availability of its source code on GitHub [21], complete with a test harness designed to facilitate and assess the communication between an SLE Provider and an SLE User. For the SLE Provider, we utilized ESA’s SLE-API. Conversely, for the SLE User, we adopted the python-sle library developed by LibreCube [17]. This approach allowed us to diversify our testing environment by incorporating multiple SLE implementations. Furthermore, it provided us with enhanced flexibility by utilizing the Python version of the SLE User, which will be advantageous as we develop an exploit aimed at taking control of the SLE session. 

Figure 4: Ground Segment Test Environment 

To focus solely on SLE Protocol testing, we kept the testing environment as simple as possible, with no firewall or tunnelling. The environment is enclosed within a single VLAN and consists of three hosts: 

– SLE Provider: plays the role of a ground station (GS), which runs Debian with the ESA SLE-API implementation. 

– SLE User: plays the role of a Mission Control System (MCS), which runs Debian with the python-sle implementation. 

– Attacker: a Kali host from which the attack is conducted. 

Figure 4 depicts how this simple environment looks, just for completion. The IP addresses listed on the diagram reflect those in the test environment. 

The SLE Provider and SLE User configurations are provided at the end of this document. 

4.2 Technique Overview

As previously noted, the SLE protocol lacks inherent encryption mechanisms, leaving it vulnerable to exploitation by adversaries seeking to execute various forms of attacks. Among these, the Man-in-the-Middle (MitM) attack emerges as a significant concern (see Figure 5). In our investigative endeavor, our principal objective centered on intercepting spacecraft-bound packets, subsequently modifying them in a manner that avoids immediate detection. Central to achieving this aim is establishing access to an active communication link between the SLE User (Mission Control System) and the SLE Provider (Ground Station). By spoofing the ARP tables of both the target hosts, we gain the requisite access while also creating a brief yet exploitable window to engage in malicious activities undetected. This approach requires operating at the TCP frame level, being able to decode the ISP1 frames that traverse the network in the TCP frame data field, and manipulating the content of CLTU data units. 

Figure 5: Ground Segment Test Environment with ARP Spoofing

With a framework firmly established to facilitate the interception and manipulation of CLTU frames, we successfully devised multiple distinct attack scenarios, which we then used to showcase the breadth of potential threats as well as the consequential impact of such attacks. 

4.3 Exploitation

ARP Spoofing

Section 4.2 describes the overall idea of how SLE protocol could be exploited. Figure 6 shows the state in which the involved systems must be. It is a classic MiTM attack; however, instead of the victim and the gateway, we poison the ARP tables of two victim hosts (MCS and GS), making the traffic go through the Attacker host. Once the packets arrive at the Attacker hosts, instead of being forwarded immediately, they are queued in the netfilter_queue for processing. This approach puts the attack in the control of the TCP Frames that are being exchanged between MCS and GS. 

Figure 6: SLE FCLTU Exchange Between MCS and Ground Station through Attacker’s Host

Processing CLTU Frames 

There are a number of considerations one needs to take into account in order to process the CLTU Frames.  

a) In the communication between the SLE User and the SLE Provider, the TCP Frame data field contains SLE PDUs in the ISP1 format. 

b) ISP1 makes use of ASN.1 encoding to successfully transfer the SLE PDUs between the SLE Provider and the SLE User. Every TCP Frame that goes through the Attacker host and contains an SLE PDU must be decoded following the ASN.1 TLV (Tag-Length-Value) of BER (Basic Encoding Rules). [2].  

c) For the privative data types, ISP1 uses the standard TLV. 

d) Apart from standard TLV, ISP1 implements its own custom, context-specific structures [sle ref]. For the purpose of our exploitation demo, we focus only on the tags related to CLTU. 

e) To access the actual data the PDUs are carrying, the PDU must first be decoded using the ASN.1 notation and then interpreted using the FCLTU Data Type Specification (sle5 ref). 

Example of Decoding 

FCLTU BIND Message 

FCLTU BIND Message is responsible for establishing an association between the initiator (SLE User or Mission Control System in this context) and responder (SLE Provider or Ground Station in this context). Figure 7 highlights the breakdown of the BIND message, which is then described in detail [14][15]. 

Figure 7: Breakdown of a CLTU-BIND Highlighting Different Parts of Message

RAW format

01000000000000a0bf64819c8128302604085e5501d0c6a802ec02042ff003f90414d4668ba4379f76ded162d48486911ea4a16d9b671a07746573746572311a0e4861726e6573735f506f72745f310201100201033051310e300c06072b7004030102341a0133311b301906072b7004030102351a0e666163696c6974792d5041535331310e300c06072b70040301020e1a01313112301006072b7004030102071a05636c747533 

The following points from a) through j) present the reader with a breakdown of the Bind Message, depicting its structure and content [1][2][4][14][15]. 

Detailed Breakdown

a) Part 1 

ISP1 Header 

RAW HEX: 01000000000000a0 

Note:  

ISP1 Frame consists of a header (8 bytes) and a message (variable length). 

ISP1 Header consists of the following fields: 

– Type ID (4 bytes) 

– Reserved (3 bytes of 00) 

– Length (4 bytes) 

Type ID can have one of the following values: 

– 01 – SLE PDU Message 

– 02 – TML Context Message 

– 03 – TML Heartbeat Message 

The above header breaks down as follows: 

RAW HEX: 01000000000000a0 

– 01: SLE PDU Message 

– 000000: reserverd (zeros) 

– 000000a0: 160 decimal and indicates the length of the SLE message in bytes 

b) Part 2 

This part contains the ASN.1 encoded SLE Message body. The message described below can be decoded with an ASN.1 decoder [22] 

[tool] (). 

Main structure (class and length) 

RAW HEX: bf64 

Note:  

bf is 10111111. According to [14] and [15], 10 bits indicate a specific context class; the next 1 bit means that the type is constructed or sequence; the last 5 bits, 11111, are all set to 1, given that the tag value is > 127. Furthermore, this means that the actual tag cannot be encoded in the remaining 5 bits and, therefore, is encoded in the whole second byte, whose value is 64 (100 decimal). 

64 is 100 decimal, is the actual tag, and it indicates that this is a CLTU Bind message. 

Given that the type is constructed, the following bytes are the beginning of the embedded structure instead of the length. 

c) Part 2.1 

CLTU Bind message structure (class and length) 

RAW HEX: 819c 

Note: 

81 is 10000001. 10 bits indicate a specific context class; the next 0 bit means that it’s a primitive; the last 5 bits, 11111, are all set to 1, given that the tag value is > 127. 

9c is 156 decimals, and it is the actual length of the embedded sequence. This contains the actual CLTU Bind data. 

d) Part 2.2 

CLTU Bind invoker-credentials structure (class and length) 

RAW HEX: 8128 

Note: 

81 is 10000001. 10 bits indicate a specific context class; the next 0 bit means that it’s a primitive; the last 5 bits, 11111, are all set to 1, given that the tag value is > 127. 

28 is 40 decimals, and it is the actual length of the embedded sequence. 

e) Part 2.3 

CLTU Bind invoker-credentials 

RAW HEX: 302604085e5501d0c6a802ec02042ff003f90414d4668ba4379f76ded162d48486911ea4a16d9b67 

Note: 

This data is an ASN.1 encoded as per the following structure [4][22]: 

HashInput ::= SEQUENCE 

{ time OCTET STRING (SIZE(8)) 

, randomNumber INTEGER (0 .. 2147483647) 

, userName VisibleString 

, passWord OCTET STRING 

} 

f) Part 2.4 

CLTU Bind initiator-identifier 

RAW HEX: 1a0774657374657231 

Note: 

1a is 00011010. 00 bits indicate a universal class; the next 0 bit means that it’s a primitive; the last 5 bits, 11010, is the tag 26, which is VisibleString. 

07 is the length of the visible string 

74657374657231 is the visible string, tester1. 

g) Part 2.5 

CLTU Bind responder-port-identified 

RAW: 1a0e4861726e6573735f506f72745f31 

Note: 

1a is 00011010. 00 bits indicate a universal class; the next 0 bit means that it’s a primitive; the last 5 bits, 11010, is the tag 26, which is VisibleString. 

0e is the length of the visible string. 

4861726e6573735f506f72745f31 is the visible string, Harness_Port_1. 

h) Part 2.6 

CLTU Bind service-type 

RAW HEX: 020110 

Note: 

02 is 00000010. 00 bits indicate a universal class; the next 0 bit means that it’s a primitive; the last 5 bits, 00010, is the tag 2, which is INTEGER. 

01 is the length of the data. 

10 is 16 decimals, the value that corresponds to the service-type. 

i) Part 2.7 

CLTU Bind version number 

RAW HEX: 020103 

Note: 

02 is 00000010. 00 bits indicate a universal class; the next 0 bit means that it’s a primitive; the last 5 bits, 00010, is the tag 2, which is INTEGER. 

01 is the length of the data. 

03 is the value that corresponds to the version number. 

j) Part 2.8 

CLTU Bind service-instance-identifier 

RAW HEX: 3051310e300c06072b7004030102341a0133311b301906072b7004030102351a0e666163696c6974792d5041535331310e300c06072b70040301020e1a01313112301006072b7004030102071a05636c747533 

Note: 

30 is 00110000. 00 bits indicate a universal class; the next 1 bit means that the type is constructed/sequence; the last 5 bits, 10000, is the tag 16, which is SEQUENCE. 

51 is 81 decimals, and it is the length of the data 

310e300c06072b7004030102341a0133311b301906072b7004030102351a0e666163696c6974792d5041535331310e300c06072b70040301020e1a01313112301006072b7004030102071a05636c747533 is the value that corresponds to the structure of service-instance-id (sagr=3.spack=facility-PASS1.fsl-fg=1.cltu=cltu3), encoded following the same rules as described above. 

A detailed breakdown of other messages (such as unbind, transfer data, and abort) is described in the APPENDIX. 

4.4 Exploitation Scenarios (Demo) 

As part of our study, we have devised several attack scenarios to illustrate the potential impact of various attacks on the SLE protocol. To facilitate this, we have developed a tool (called SLEuth) that enables users to execute a range of malicious actions targeting the communication between the Mission Control System and the Ground Station.  

To facilitate better comprehension of the subsequent demonstrations, the initial demo illustrates the typical exchange between the SLE User and the SLE Provider. The top window displays the SLE User, while the bottom window depicts the SLE Provider. Observing the interaction, once the Provider is operational, the user undertakes the following actions sequentially: 

  • Establishing the connection by transmitting the CLTU-BIND. 
  • Initiating the Service Instance via the transmission of CLTU-START. 
  • Sending the data using CLTU-TRANSFER_DATA. 
  • Halting the Service Instance by dispatching CLTU-STOP. 
  • Closing the connection by issuing the CLTU-UNBIND. 

Preventing FCLTU BIND

As previously mentioned, the CLTU BIND message is used to establish an association between the initiator and responder. By understanding how to decode this type of message, we can capture the TCP Frame containing the BIND PDU and manipulate the bytes containing the user credentials, as an example. This approach allows us to prevent the SLE User (MCS) from connecting to the SLE Provider (Ground Station). The scenario is demonstrated through the following screenshots and recorded demo. 

The execution of this exploit can be outlined through the following steps: 

  • Capture of the TCP frame exchanges between the SLE User and the SLE Provider. 
  • Processing of the Data Field within the TCP Frame. 
  • Validation to determine if the TCP Frame includes user BIND credentials. 
  • Modification of specific bytes within the credentials structure, if found.

In the provided demonstration, the window is segmented into three sections: the SLEuth tool on the left-hand side, the SLE Provider on the bottom right, and the SLE User on the top right. Throughout this presentation, the following events transpire: 

  • Initiation of the SLEuth tool. 
  • Launch of the SLE Provider. 
  • Transmission of a CLTU-BIND by the SLE User. 
  • Due to SLEuth having tampered with the credential structure, the SLE Provider rejects the authentication attempt, signaling an authentication failure, and terminates the connection. 

As a consequence of this exploit, the SLE Provider will reject the authentication attempt and promptly terminate the connection. 

Capturing Credentials

Each FCLTU contains a user credential structure, facilitating the straightforward capture and extraction of sensitive data from any message. Initially, ESA’s SLE API implementation appears robust, intending to deter credential theft through encryption. However, given the protocol’s inherent lack of comprehensive security measures, attackers can circumvent decryption attempts and opt for the reuse of credentials in a replay attack. 

The exploit steps can be summarized as follows: 

  • Capture the TCP frame exchanges between the SLE User and the SLE Provider. 
  • Process the Data Field of the TCP Frame. 
  • Check whether the TCP Frame contains user BIND credentials. 
  • Capture and display/store the credentials. 

In the provided demonstration, the window is segmented into three sections: the SLEuth tool on the left-hand side, the SLE Provider on the bottom right, and the SLE User on the top right. Throughout this presentation, the following events transpire: 

  • Initiation of the SLEuth tool. 
  • Launch of the SLE Provider. 
  • Transmission of a CLTU-BIND by the SLE User. 
  • The SLEuth captures and displays the user credentials. 
  • SLE User continues through the rest of the exchange to demonstrate that there is no interferences in the process. 

Tampering the Data

The exploitation technique demonstrated in this study has enabled the development of a highly potent feature: the ability to tamper with CLTU PDU on the fly. This allows attackers to intercept communication between the SLE User and the SLE Provider, capture CLTU PDU data, dynamically modify bytes, and relay the modified frames to the receiving end. To effectively utilize this attack, the attacker must be familiar with the format of Telecommand frames. However, this technique operates relatively stealthily; attackers can eavesdrop on the communication between the MCS and the Ground Station for an extended period, providing ample opportunity for further analysis. Additionally, Telecommand formats typically adhere to the CCSDS standard. While each spacecraft may possess unique attributes, the core services outlined in CCSDS are generally standardized across spacecraft utilizing this protocol. 

The exploit steps can be summarized as follows: 

  • Capture the TCP Frame containing the CLTU-TRANSFER_DATA PDU, which includes the telecommanding products destined for the spacecraft. 
  • Update the content of the TCP Frame with the desired telecommanding data. 
  • Forward the updated TCP Frame to the receiving end. 

In the provided demonstration, the window is segmented into three sections: the SLEuth tool on the left-hand side, the SLE Provider on the bottom right, and the SLE User on the top right. Throughout this presentation, the following events transpire: 

  • Initiation of the SLEuth tool with the filter and value replacement option, providing values in hex format 
  • Launch of the SLE Provider. 
  • Transmission of a CLTU-BIND by the SLE User. 
  • Initiating the Service Instance via the transmission of CLTU-START. 
  • SLEuth detects the bytes it is filtering for, replaces the bytes with the attacker-defined values, and forwards it as part of the same CLTU-TRANSFER_DATA PDU to the SLE Provider. 
  • Halting the Service Instance by dispatching CLTU-STOP. 
  • Closing the connection by issuing the CLTU-UNBIND. 

It’s important to note that the entire exchange was completed without detection by either the SLE Provider or the SLE User regarding the data tampering conducted by the malicious actor. 

Taking Over the SLE Session

Undoubtedly, the most intriguing exploitation with the most severe impact involves the attacker seizing control of the SLE session. While numerous methods exist to achieve this objective, we have opted for combining the techniques outlined above into a single exploitation chain for simplicity and clarity. In this scenario, we exploit the absence of a robust mechanism to counter replay attacks in ESA’s SLE API implementation. The sole attempt to mitigate this attack is through the AUTHENTICATION_DELAY configuration variable, which specifies the validity duration of given credentials. As of the time of writing, the default value for ESA’s SLE API is set to 600 seconds [21]. However, considering the profound impact this attack can have on the system, even a brief period of vulnerability can result in catastrophic consequences. 

This exploitation chain can be summarized in the following steps: 

  • Capture the BIND and manipulate the credential structure bytes to hinder successful authentication. 
  • The attacker reuses the captured credentials and sends their own crafted BIND message to the SLE Provider, enabling the establishment of a session between the Attacker and the SLE Provider. 
  • With the successful session establishment, the attacker gains the ability to command both the SLE provider and the spacecraft itself for the duration defined in the AUTHENTICATION_DELAY configuration, leveraging the captured credentials.

In the provided demonstration, the window is segmented into four sections: the SLEuth tool on the top left-hand side, the attacker’s SLE client on the bottom left side, the SLE Provider on the bottom right, and the SLE User on the top right. Throughout this presentation, the following events transpire: 

  • Initiation of the SLEuth tool. 
  • Launch of the SLE Provider. 
  • Transmission of a CLTU-BIND by the SLE User. 
  • SLEuth displays the valid credentials, mangles the credential structure bytes, and forwards the corrupted FCLTU PDU to the SLE Provider. 
  • The SLE Provider fails the authentication and drops the connection with the SLE User.
  • The attacker uses the captured credentials and establishes their SLE session with the SLE Provider.
  • The attacker continues the typical exchange with the SLE Provider as if they were the valid SLE User. 

5 Conclusions

It is noteworthy that various methods are available to mitigate such attacks. For instance, one may choose to establish connections via SSH tunnels or utilize VPN solutions [1][2][7]. However, recent historical instances, exemplified by the ViaSat hack [11][18][19], underscore the reality that even heightened security measures, such as VPN implementation, do not guarantee absolute safety. Therefore, it is imperative to meticulously assess the security posture of each node implicated in the ground-space communication chain to mitigate the risk of potential incidents effectively. The SLE Protocol offers the opportunity to implement security measures on a case-by-case basis [1][2]. Nonetheless, we assert that these measures should be intrinsic to the protocol. As we have consistently emphasized throughout this discourse, the SLE protocol is paramount and should not be subject to vague definitions or lack of security aspects and requirements. 

6 Future Work

One of the forthcoming major activities is finalising the SLEuth tool, fully automating the SLE Session Capture functionality described above. Additionally, the tool will be enhanced to incorporate additional exploitation techniques. 

We have submitted a request for access to one of the ESA Smile Labs [20], which is essentially a ground station equipped with the Cortex and SLE systems available for utilization and testing purposes. The ESA Smile Lab represents an accessible and adaptable mission control and validation environment at ESA’s operations centre, making it ideal for conducting space/ground communication tests with SDR and Cortex. We aim to broaden our research scope beyond solely software-centric testing environments to encompass a fusion of software and hardware components, thereby emulating the functionality of a real ground station. 

7 References

[1] Space Link Extension – Forward CLTU Service Specification, CCSDS 912.1-B-5, July 2023 

[2] Space Link Extension – Internet Protocol for Transfer Services, CCSDS 913.1-B-2, September 2015 

[3] Cross Support Transfer Service Specification Framework Concept, CCSDS 920.0-G-1, 2023  

[4] Cross Support Transfer Service – Specification Framework, CCSDS 921.1-B-2  

[5] Near Earth Network (NEN) Users’ Guide, Goddard Space Flight Center, 2019  

[6] Space Link Extension (SLE) Emulation for High-Throughput Network Communication, NASA Glenn Research Center  

[7] CCSDS Recommended Procedures for Cloud-Based Interoperability Testing,  

[8] DLR Portfolio – Ground Station Weilheim, accessed 2024-03-20 

[9] Network Interface System, ESA’s Next Generation CCSDS SLE Interface System, SpaceOps 2006  

[10] Cortex SLE Provider System – From prototype, to product, to successful operations. SpaceOps 2006 

[11] Space Cybersecurity Lessons Learned from The ViaSat Cyberattack, 2022 

[12] Near Space Network Brochure, accessed 2024-03-20  

[13] Space Agencies, Ground Products and Solutions, SAFRAN, accessed 2024-03-20  

[14] ASN.1 BER, accessed 2024-03-20 

[15] ASN.1 Tags, accessed 2024-03-20 

[16] Development of JAXA’s SLE Gateway, SpaceOps 2004 

[17] LibreCube SLE User Implementation in Python, GitHub, accessed 2024-03-20 

[18] Viasat Hack, Wikipedia, accessed 2024-03-20 

[19] Lessons Learned from the KA-SAT Cyberattack, Black Hat USA 2023, accessed 2024-03-20 

[20] ESA SMILE Lab, ESA, accessed 2024-03-20 

[21] ESA SLE-API, GitHub, accessed 2024-03-20 

[22] ASN.1 JavaScript decoder (containing the SLE PDU), accessed 2024-03-20