Failing Over a Space Link Crypto Unit at Full Rate Without Reusing a Nonce

A redundant frame security processor can switch over cleanly on the bench and still give the link a duplicated initialisation vector the first time it fails at peak telemetry rate. You will not see this at low load, because the checkpointed sequence counter and the live counter never drift far enough apart to matter. Under saturation they do. With an authenticated encryption mode such as AES-GCM, one repeated nonce under the same key exposes more than one frame. It gives an attacker what they need to forge authentication tags.

Why the spare starts behind

CCSDS space link security standards, meaning SDLS for frame protection and its extended procedures for key and association management, leave it to the implementation to decide how the sequence number survives a reset. Most designs checkpoint the counter to protected memory on a timer, because writing it on every frame uses up write endurance on radiation-hardened parts and adds latency to the frame path. Take a 100 ms checkpoint interval. At housekeeping rates the counter moves a handful of frames between writes. On a high-rate payload downlink with short frames it can move by several thousand (an estimate for a link running at a few hundred megabits). When the prime unit dies, the spare loads the last checkpoint, resumes from it, and re-emits under the same key every counter value the prime had already used. The uplink side shows the mirror image: the spare's expected sequence number falls behind the true one, so the anti-replay window opens again for frames an adversary recorded seconds earlier.

The test that exposes it

Put the flight-representative prime and spare security units in a hardware-in-the-loop rig, with the ground SDLS endpoint behind a channel emulator. Drive the downlink at the maximum frame rate the transfer frame service allows, while the uplink carries COP-1 telecommand traffic and a pulsed jammer profile forces retransmissions. Kill the prime by cutting its power rail rather than commanding a switchover, and randomise the moment against the checkpoint timer. A commanded switchover lets the software flush its state, which hides exactly the defect you are looking for. On the ground side, capture every frame and index the security header by key identifier and IV. A single duplicate is a fail, even if every frame decrypted. At the same time, an injector replays uplink frames recorded in the second before failover, and the rig logs whether the spare accepts any of them. Repeat the run across load levels, because the useful result is a curve of counter lag against frame rate, not one pass.

The decision rule

The spare must jump its restored counter forward by more than the checkpoint interval times the maximum frame rate, plus margin for the slowest memory write, and if that jump would go past the anti-replay window the ground accepts, the design has to force a rekey on failover instead of resuming under the old key.

What may degrade and what may not

A forced rekey under jamming may never finish, because the key management traffic has to cross the same degraded uplink that triggered the retransmissions. So the spare needs a pre-positioned recovery association, with its own key and its own counter space, that accepts only key management commands. Run a second campaign where failover happens while the jammer keeps the rekey from completing. Check that the spare stays in the recovery association, rejects ordinary telecommands, keeps authenticating telemetry under a dedicated downlink key, and never falls back to clear mode just to keep the link alive. That recovery association is still a standing key on orbit, and its counter has to survive failover just like the operational one. This works only because its traffic is rare enough to checkpoint on every use, and the test must prove that assumption holds when an operator retries a stalled rekey again and again.

Why not simply checkpoint the counter on every frame?

At high frame rates, a write per frame wears out protected memory and adds a dependency on that write in the timing of every emitted frame. A common alternative is to split the nonce. The high-order part is an epoch counter that is persisted and incremented once per boot or failover event. The low-order part is a volatile frame counter. With that split, a spare that restarts from zero still produces nonces it has never used, as long as the epoch write is confirmed before the first frame goes out.

Back to NTNSecurity · Domains

← Back to NTNSecurity
Engineering & Architecture Brief

Failing Over a Space Link Crypto Unit at Full Rate Without Reusing a Nonce

A redundant frame security processor can switch over cleanly on the bench and still give the link a duplicated initialisation vector the first time it fails at peak telemetry rate. You will not see this at low load, because the checkpointed sequence counter and the live counter never drift far enough apart to matter. Under saturation they do. With an authenticated encryption mode such as AES-GCM, one repeated nonce under the same key exposes more than one frame. It gives an attacker what they need to forge authentication tags.

Why the spare starts behind

CCSDS space link security standards, meaning SDLS for frame protection and its extended procedures for key and association management, leave it to the implementation to decide how the sequence number survives a reset. Most designs checkpoint the counter to protected memory on a timer, because writing it on every frame uses up write endurance on radiation-hardened parts and adds latency to the frame path. Take a 100 ms checkpoint interval. At housekeeping rates the counter moves a handful of frames between writes. On a high-rate payload downlink with short frames it can move by several thousand (an estimate for a link running at a few hundred megabits). When the prime unit dies, the spare loads the last checkpoint, resumes from it, and re-emits under the same key every counter value the prime had already used. The uplink side shows the mirror image: the spare's expected sequence number falls behind the true one, so the anti-replay window opens again for frames an adversary recorded seconds earlier.

The test that exposes it

Put the flight-representative prime and spare security units in a hardware-in-the-loop rig, with the ground SDLS endpoint behind a channel emulator. Drive the downlink at the maximum frame rate the transfer frame service allows, while the uplink carries COP-1 telecommand traffic and a pulsed jammer profile forces retransmissions. Kill the prime by cutting its power rail rather than commanding a switchover, and randomise the moment against the checkpoint timer. A commanded switchover lets the software flush its state, which hides exactly the defect you are looking for. On the ground side, capture every frame and index the security header by key identifier and IV. A single duplicate is a fail, even if every frame decrypted. At the same time, an injector replays uplink frames recorded in the second before failover, and the rig logs whether the spare accepts any of them. Repeat the run across load levels, because the useful result is a curve of counter lag against frame rate, not one pass.

The decision rule

The spare must jump its restored counter forward by more than the checkpoint interval times the maximum frame rate, plus margin for the slowest memory write, and if that jump would go past the anti-replay window the ground accepts, the design has to force a rekey on failover instead of resuming under the old key.

What may degrade and what may not

A forced rekey under jamming may never finish, because the key management traffic has to cross the same degraded uplink that triggered the retransmissions. So the spare needs a pre-positioned recovery association, with its own key and its own counter space, that accepts only key management commands. Run a second campaign where failover happens while the jammer keeps the rekey from completing. Check that the spare stays in the recovery association, rejects ordinary telecommands, keeps authenticating telemetry under a dedicated downlink key, and never falls back to clear mode just to keep the link alive. That recovery association is still a standing key on orbit, and its counter has to survive failover just like the operational one. This works only because its traffic is rare enough to checkpoint on every use, and the test must prove that assumption holds when an operator retries a stalled rekey again and again.

Technical FAQ: Why not simply checkpoint the counter on every frame?

At high frame rates, a write per frame wears out protected memory and adds a dependency on that write in the timing of every emitted frame. A common alternative is to split the nonce. The high-order part is an epoch counter that is persisted and incremented once per boot or failover event. The low-order part is a volatile frame counter. With that split, a spare that restarts from zero still produces nonces it has never used, as long as the epoch write is confirmed before the first frame goes out.

Related Architecture Specifications (NONTERRESTRIALNETWORK): ntnnavigation.com · ntnspace.com · oislcomm.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 →Proving the Link Survives Its Own Security: Load Tests for Encrypted TT&C →The Lockout That Only Appears at Saturation: Testing SDLS Failover Under Load →NTNSecurity: Reference Architecture, Interoperability & Deterministic Telemetry →