The Lockout That Only Appears at Saturation: Testing SDLS Failover Under Load

An authenticated telecommand chain rarely fails because the cipher breaks. It fails when the ground security processor switches over while the uplink is saturated and comes back with a sequence counter the spacecraft no longer trusts. From then on, every frame it sends is discarded as a replay, including the frame that would fix the problem. Nominal qualification never sees this, because it needs retransmissions, a rekey and a hardware switchover to overlap within the same few seconds.

Why the lockout hides at low load

Under the CCSDS space link security recommendations, each security association carries an anti-replay sequence number, and the receiver accepts frames only inside a sliding window, which in the configuration we qualify is 64 frames wide. With light traffic, the standby processor takes over a counter that trails the primary by a handful of frames, well inside the window, so failover looks clean on every bench run. Now saturate the link and add burst jamming that forces COP-1 to retransmit. The primary may have used sequence numbers it never checkpointed to the standby before it died, so the standby resumes more than a full window behind the onboard high-water mark. The spacecraft then does exactly what the specification tells it to do and drops everything. The system has failed closed, which is correct, but it has no authenticated way back.

The test that provokes it

Drive the telecommand uplink to saturation with a traffic generator that interleaves routine commands with a scheduled over-the-air rekey. Put a jammer emulator in the RF path that erases frames in bursts timed against the COP-1 retransmission timer. Then kill the primary security processor with a power cut rather than a clean shutdown command, at the moment in-flight frames have used up at least half of the replay window. The switchover always happens, so that is not what you are measuring: the observable is whether the onboard side accepts the first authenticated frame from the standby, and how long the ground takes to notice when it does not. Sweep the relative phase between rekey, jam burst and power cut, because the lockout lives in a narrow band of that phase space and a single fixed timing will miss it, and log the onboard frame acceptance reports and the ground counter against one time reference so a genuine pass can be told apart from a lucky one.

Decision rule

If the only way to recover depends on a frame that the failure itself can reject, the design is defective, and no number of nominal passes makes up for it, so the plan has to show that the fallback works while the primary association is already locked out, whether that fallback is a pre-provisioned emergency association or a counter resynchronisation on a separate key.

What the fix costs

The usual remedy is to checkpoint the counter by reservation. The primary claims sequence numbers in blocks, and on takeover the standby jumps to the end of the last claimed block, giving up the numbers that were never used. That turns a lockout into a gap, which the receiver accepts because the window rejects old numbers, not skipped ones. The cost is that sequence numbers run out sooner and force more frequent rekeys, which loads the very key management chain the test just stressed. Make the block too small and the race comes back under load; make it too large and, as an estimate, rekey frequency can roughly double on busy passes, so the block size should come from the phase sweep rather than from a design review.

Why not let the spacecraft accept unauthenticated commands as a last resort?

An attacker who can jam the link into a lockout can then force that downgrade, which turns a denial of service into command injection. The emergency path has to stay authenticated, using a separate key and counter that a failure of the primary cannot reach.

Back to NTNSecurity · Domains

← Back to NTNSecurity
Engineering & Architecture Brief

The Lockout That Only Appears at Saturation: Testing SDLS Failover Under Load

An authenticated telecommand chain rarely fails because the cipher breaks. It fails when the ground security processor switches over while the uplink is saturated and comes back with a sequence counter the spacecraft no longer trusts. From then on, every frame it sends is discarded as a replay, including the frame that would fix the problem. Nominal qualification never sees this, because it needs retransmissions, a rekey and a hardware switchover to overlap within the same few seconds.

Why the lockout hides at low load

Under the CCSDS space link security recommendations, each security association carries an anti-replay sequence number, and the receiver accepts frames only inside a sliding window, which in the configuration we qualify is 64 frames wide. With light traffic, the standby processor takes over a counter that trails the primary by a handful of frames, well inside the window, so failover looks clean on every bench run. Now saturate the link and add burst jamming that forces COP-1 to retransmit. The primary may have used sequence numbers it never checkpointed to the standby before it died, so the standby resumes more than a full window behind the onboard high-water mark. The spacecraft then does exactly what the specification tells it to do and drops everything. The system has failed closed, which is correct, but it has no authenticated way back.

The test that provokes it

Drive the telecommand uplink to saturation with a traffic generator that interleaves routine commands with a scheduled over-the-air rekey. Put a jammer emulator in the RF path that erases frames in bursts timed against the COP-1 retransmission timer. Then kill the primary security processor with a power cut rather than a clean shutdown command, at the moment in-flight frames have used up at least half of the replay window. The switchover always happens, so that is not what you are measuring: the observable is whether the onboard side accepts the first authenticated frame from the standby, and how long the ground takes to notice when it does not. Sweep the relative phase between rekey, jam burst and power cut, because the lockout lives in a narrow band of that phase space and a single fixed timing will miss it, and log the onboard frame acceptance reports and the ground counter against one time reference so a genuine pass can be told apart from a lucky one.

Decision rule

If the only way to recover depends on a frame that the failure itself can reject, the design is defective, and no number of nominal passes makes up for it, so the plan has to show that the fallback works while the primary association is already locked out, whether that fallback is a pre-provisioned emergency association or a counter resynchronisation on a separate key.

What the fix costs

The usual remedy is to checkpoint the counter by reservation. The primary claims sequence numbers in blocks, and on takeover the standby jumps to the end of the last claimed block, giving up the numbers that were never used. That turns a lockout into a gap, which the receiver accepts because the window rejects old numbers, not skipped ones. The cost is that sequence numbers run out sooner and force more frequent rekeys, which loads the very key management chain the test just stressed. Make the block too small and the race comes back under load; make it too large and, as an estimate, rekey frequency can roughly double on busy passes, so the block size should come from the phase sweep rather than from a design review.

Technical FAQ: Why not let the spacecraft accept unauthenticated commands as a last resort?

An attacker who can jam the link into a lockout can then force that downgrade, which turns a denial of service into command injection. The emergency path has to stay authenticated, using a separate key and counter that a failure of the primary cannot reach.

Related Architecture Specifications (NONTERRESTRIALNETWORK): oislmesh.com · rel21ready.com · spaceorchestration.com

More Technical Articles on ntnsecurity.com

GPS/GNSS Spoofing Detection and Mitigation for LEO Satellite Orbital Navigation →Implementing Post-Quantum Key Encapsulation (ML-KEM) for Satellite Downlink Protection →Choosing the Security Termination Point in Non-Terrestrial Networks: A Reference Architecture for CCSDS SDLS, BPSec and 3GPP NTN →NTNSecurity: Reference Architecture, Interoperability & Deterministic Telemetry →