Failover Under Load: Qualifying the Crypto Path That Must Survive Its Own Redundancy

Space link cryptography usually passes qualification on a test bench where nothing else is happening. On that bench the security header, the anti-replay counter and the active key all behave, because one telecommand arrives every few seconds and nothing fails at the same time. They behave very differently when the uplink is saturated, a jammer is forcing retransmissions and the primary crypto unit drops out halfway through a rekey. That combination is where a spacecraft locks itself out, and it is the only one worth building a test around.

Where the redundancy actually breaks

The redundant crypto unit does not inherit the primary's live state. It inherits the last checkpoint. Under light traffic the gap between that checkpoint and the last accepted frame is zero or one frame, so every failover test run at nominal rates looks clean. Under saturation the gap grows. A backup whose receive counter sits behind the real sequence will accept frames an attacker recorded seconds earlier, so the failover has opened a replay window. Worse, if the switchover lands between activating a new key and the ground confirming it, the backup holds the old key, rejects every correctly authenticated frame, and the authentication failures look exactly like jamming to the ground's fault management. The usual recovery path for an operator who has lost commanding during a pass is to fall back to clear mode, and that fallback is precisely what an adversary wants.

The test: saturate, jam, kill, then rekey

Run the flight crypto units in a hardware-in-the-loop rig that drives the uplink at its maximum sustained telecommand frame rate with valid authenticated traffic, and interleave recorded frames from earlier in the run as replay candidates. Overlay jamming bursts on the hop channels that are sized to push the frame acceptance and reporting machinery into retransmission, so the counters are moving fast and irregularly instead of in neat increments. Then kill the primary unit at randomized points, biased deliberately toward the worst instants: just before the next state checkpoint, which in a typical design is written every 500 ms, and inside the over-the-air rekey window between key activation and confirmation. Instrument three outputs only: replayed frames accepted, which must be zero, elapsed time until the first authenticated command is accepted after takeover, and whether any recovery path touched clear mode or a ground-forced counter reset. At saturated rate, an estimated several tens of frames can pass between checkpoints, and that number sets how far the backup's counter can lag.

Decision rule

Accept the design only if the backup unit, on takeover, advances its receive counter past the checkpointed value by at least the number of frames the link can carry in one checkpoint interval at full rate, holds both the pending and the active key until the ground confirms which is live, and recovers authenticated commanding without clear mode or a manual counter reset, however long that recovery takes.

The trade-off that stays on the table

Jumping the counter forward closes the replay window but guarantees that legitimate frames already in flight get rejected, so you are choosing a short, bounded command outage over a silent security gap. That choice is correct, but the outage has to fit inside the pass budget, and the test above is how you measure it rather than argue about it. The CCSDS space link security family, meaning SDLS and its extended procedures for key management, specifies the counters and the key states but leaves checkpoint policy and failover behaviour to the implementer, which is why this belongs in your qualification plan and not in a compliance matrix. Post-quantum key exchange tightens everything: the larger key material is estimated to need several times as many uplink frames as a classical exchange, which widens the rekey window that the kill schedule has to target. If the program is moving to post-quantum rekeying, rerun the campaign with the new message sizes before reusing any margin from the classical runs.

Why not qualify failover, jamming and rekey as separate test cases?

Each one passes on its own because the failure needs all three at once: jamming makes the counter jump unpredictably, saturation widens the gap behind the checkpoint, and the rekey window decides which key the backup wakes up with. Testing them one at a time verifies each mechanism but never produces the moment when they overlap, and that overlap is what locks the spacecraft out.

Back to NTNSecurity · Domains

← Back to NTNSecurity
Engineering & Architecture Brief

Failover Under Load: Qualifying the Crypto Path That Must Survive Its Own Redundancy

Space link cryptography usually passes qualification on a test bench where nothing else is happening. On that bench the security header, the anti-replay counter and the active key all behave, because one telecommand arrives every few seconds and nothing fails at the same time. They behave very differently when the uplink is saturated, a jammer is forcing retransmissions and the primary crypto unit drops out halfway through a rekey. That combination is where a spacecraft locks itself out, and it is the only one worth building a test around.

Where the redundancy actually breaks

The redundant crypto unit does not inherit the primary's live state. It inherits the last checkpoint. Under light traffic the gap between that checkpoint and the last accepted frame is zero or one frame, so every failover test run at nominal rates looks clean. Under saturation the gap grows. A backup whose receive counter sits behind the real sequence will accept frames an attacker recorded seconds earlier, so the failover has opened a replay window. Worse, if the switchover lands between activating a new key and the ground confirming it, the backup holds the old key, rejects every correctly authenticated frame, and the authentication failures look exactly like jamming to the ground's fault management. The usual recovery path for an operator who has lost commanding during a pass is to fall back to clear mode, and that fallback is precisely what an adversary wants.

The test: saturate, jam, kill, then rekey

Run the flight crypto units in a hardware-in-the-loop rig that drives the uplink at its maximum sustained telecommand frame rate with valid authenticated traffic, and interleave recorded frames from earlier in the run as replay candidates. Overlay jamming bursts on the hop channels that are sized to push the frame acceptance and reporting machinery into retransmission, so the counters are moving fast and irregularly instead of in neat increments. Then kill the primary unit at randomized points, biased deliberately toward the worst instants: just before the next state checkpoint, which in a typical design is written every 500 ms, and inside the over-the-air rekey window between key activation and confirmation. Instrument three outputs only: replayed frames accepted, which must be zero, elapsed time until the first authenticated command is accepted after takeover, and whether any recovery path touched clear mode or a ground-forced counter reset. At saturated rate, an estimated several tens of frames can pass between checkpoints, and that number sets how far the backup's counter can lag.

Decision rule

Accept the design only if the backup unit, on takeover, advances its receive counter past the checkpointed value by at least the number of frames the link can carry in one checkpoint interval at full rate, holds both the pending and the active key until the ground confirms which is live, and recovers authenticated commanding without clear mode or a manual counter reset, however long that recovery takes.

The trade-off that stays on the table

Jumping the counter forward closes the replay window but guarantees that legitimate frames already in flight get rejected, so you are choosing a short, bounded command outage over a silent security gap. That choice is correct, but the outage has to fit inside the pass budget, and the test above is how you measure it rather than argue about it. The CCSDS space link security family, meaning SDLS and its extended procedures for key management, specifies the counters and the key states but leaves checkpoint policy and failover behaviour to the implementer, which is why this belongs in your qualification plan and not in a compliance matrix. Post-quantum key exchange tightens everything: the larger key material is estimated to need several times as many uplink frames as a classical exchange, which widens the rekey window that the kill schedule has to target. If the program is moving to post-quantum rekeying, rerun the campaign with the new message sizes before reusing any margin from the classical runs.

Technical FAQ: Why not qualify failover, jamming and rekey as separate test cases?

Each one passes on its own because the failure needs all three at once: jamming makes the counter jump unpredictably, saturation widens the gap behind the checkpoint, and the rekey window decides which key the backup wakes up with. Testing them one at a time verifies each mechanism but never produces the moment when they overlap, and that overlap is what locks the spacecraft out.

Related Architecture Specifications (NONTERRESTRIALNETWORK): satellitebackhaul.com · subthz.com · fsocommunication.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 →Failing Over a Space Link Crypto Unit at Full Rate Without Reusing a Nonce →The Lockout That Only Appears at Saturation: Testing SDLS Failover Under Load →NTNSecurity: Reference Architecture, Interoperability & Deterministic Telemetry →