APQKE-DR: Entropy-Failure Analysis of a Post-Quantum-Initialized Ratcheted Channel
summary
The gist
Long-lived secure channels for embedded and cyberphysical systems (CPSs) must resist quantum attacks and failures in endpoint randomness.<ref:2611.32024#pg1…
In short
APQKE-DR is a post-quantum secure channel combining ML-KEM/ML-DSA key exchange with a Double Ratchet for direct communication in embedded systems. It introduces an Entropy Attack Suite (EAS) to test resilience against endpoint randomness failures, such as low-entropy boot or RNG path subversion. The work demonstrates how these failures undermine security and proposes mitigations like TPM seeding.
Key concepts
- APQKE-DR
- A post-quantum secure channel designed for embedded systems. It uses ML-KEM for key encapsulation and ML-DSA for signatures in the handshake, followed by a Double Ratchet (DR) to ensure forward secrecy and post-compromise recovery during ongoing communication.
- Entropy Attack Suite (EAS)
- A testing framework introduced to evaluate secure channels when endpoint randomness fails. It specifically tests scenarios like low-entropy boot or subverted Random Number Generation (RNG) paths, showing that these failures can compromise the security properties of the channel.
- Double Ratchet (DR)
- A mechanism used for direct node-to-server communication that provides forward secrecy and post-compromise recovery. It uses a root key initialized during the authenticated handshake to drive subsequent messaging, ensuring that compromising one session key does not compromise past or future keys.
- TPM Seeding
- A mitigation technique involving Trusted Platform Module (TPM) seeding used to prevent recovery in early-boot entropy failures. It works by blocking session establishment if modified firmware is detected, preventing attackers from exploiting predictable boot times.
Terminology used across episodes
This episode discusses
- APQKE-DR: Entropy-Failure Analysis of a Post-Quantum-Initialized Ratcheted Channel · Paper Radio
- LSEG: A Lightweight and Secure Key Exchange Protocol for Smart Grid Communication
- AmphiKey: A Dual-Mode Secure Authenticated Key Encapsulation Protocol for Smart Grid
The paper
APQKE-DR: Entropy-Failure Analysis of a Post-Quantum-Initialized Ratcheted Channel · Read on arXiv
Florida Atlantic University · University of Idaho · Kansas State University
Long-lived secure channels for embedded and cyber-physical systems (CPSs) must resist quantum attacks and failures in endpoint randomness. While several post-quantum key exchange protocols exist, their security assumes reliable randomness at the endpoint, but this assumption is not always true in embedded devices. In this paper, we introduce the Entropy Attack Suite (EAS) to evaluate secure channels facing endpoint randomness failures, such as low-entropy boot and Random Number Generation (RNG) path subversion. As a case study, we design and implement APQKE-DR, a post-quantum secure channel. Its handshake uses ML-KEM [1] and ML-DSA [2], producing a root key for an X25519 Double Ratchet. We assess the performance of APQKE-DR and security for smart grid communication, and integrate it beneath ANSI C12.22 and DNP3 without altering payload formats. On a Raspberry Pi Compute Module 5, the APQKE handshake exchanges 9,610 bytes with median latencies of 1.99 ms (node) and 0.82 ms (server). The ratcheted channel adds 31 bytes per message. With fresh randomness and ideal cryptographic primitives, ProVerif verifies the modeled secrecy and authentication properties. If randomness fails, EAS can recover the RNG stream and root key from public transcripts. Under RNG-path subversion, a weak generator exposes the root key across sessions. If subversion also affects X25519 keys, attackers may access ratchet keys and plaintexts. TPM seeding prevents early-boot attacks but not later subversion, while measured boot can block modified firmware. Secure deployment thus requires integrity along the entire entropy path, not just strong cryptographic primitives.
Transcript
Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.
Nadia: We're looking at the paper: "APQKE-DR: Entropy-Failure Analysis of a Post-Quantum-Initialized Ratcheted Channel".
Title and authors: Nadia: So we're looking at this paper titled "APQKE-DR: Entropy-Failure Analysis of a Post-Quantum-Initialized Ratcheted Channel" and the authors are Hafeez, Abideen, Zafar, Shakib, and Munir. It sounds like they’re tackling a real problem for smart grid hardware because long lived secure channels need to fight both quantum attacks and problems with random bits on the device itself.
Elias: Yeah it seems like they're focusing specifically on those randomness failures that we don't always think about when designing post-quantum systems. The paper is about introducing a specific channel called APQKE-DR which combines a post-quantum key exchange with a Double Ratchet mechanism for direct communication between the node and the server.
Priya: So what’s actually new here? It seems they’ve focused on how endpoint randomness failures can undermine these secure channels, specifically looking at low entropy during boot and issues with the random number generation path.
Nadia: Right, that's exactly it. They introduce something called the Entropy Attack Suite or EAS to test how resilient this setup is when you have those kinds of hardware or software randomness problems. They do a case study using an actual platform, a Raspberry Pi Compute Module five and they test it against two specific failure modes: early boot entropy holes and RNG path subversion <ref:2611.32024#pg1,a Raspberry Pi Compute Module 5>.
Elias: And what they found in those tests is that these properties can be undermined when the endpoint randomness fails, which is a pretty serious finding for any system relying on good randomness. They model the early boot entropy hole by injecting a weak random number generator interval into the experimental platform where the output stream becomes predictable based on a boot seed.
Priya: That’s concerning because if you can predict part of the randomness during startup, it could affect things before anything secure is even established, and they show that an attacker can exploit this with something called the Boot-Window Seed Recovery Attack or BWSR.
Nadia: It means we can't just rely on a healthy boot sequence to keep everything safe; we have to account for these weaknesses in the initial setup phase. And they also looked at RNG path subversion, where someone tries to trick the random number generation process itself.
Elias: That’s where the Double Ratchet mechanism comes in, and they point out that even though it's post-quantum initialized, its Xtwenty-five thousand five hundred nineteen ratchet only offers classical post-compromise recovery. This means if an attacker manages to lose access to the channel state, later messages can still become confidential again if a key update introduces a shared secret that the attacker doesn't know.
Priya: So it’s not perfect protection against losing control of the channel entirely, but it does offer some resilience after a compromise. The paper also mentions that they assume things like secure erasure of ephemeral key secrets and correct cryptographic implementations for this whole setup to work as intended.
Nadia: What's really interesting is how they integrate this post-quantum channel beneath existing protocols like ANSI C12 point 22 and DNP3 without changing the data formats, which makes it practical for smart grid deployment where you can't just rip out the communication stack <ref:2611.32024#pg1,ANSI C12.22 and DNP3 without>.
Elias: They’ve designed APQKE-DR to combine an authenticated post-quantum key exchange using ML-KEM and signatures with that Double Ratchet structure, making it a coherent solution for node to server communication. The handshake itself uses ML-KEM for key encapsulation and MLDSA for signatures, producing a root key that initializes the Double Ratchet data channel linked to the authenticated handshake transcript.
Priya: From a privacy standpoint, it’s good that they explicitly state what their system relies on: trustworthy provisioning authority and correct cryptographic implementations, because without those assumptions holding true, the security claims fall apart. The way they handle things like unauthorized images is also pretty solid, as an unauthorized image causes the node to fail closed before any session is established.
Nadia: They also model how a TPM measured boot policy can block modified firmware before key establishment even happens, which removes that early-boot dependence in their model and helps prevent certain attacks. It shows that hardware defenses are still important even with these advanced cryptographic layers.
Elias: The performance metrics they report are pretty concrete too, showing the APQKE handshake achieves a median confirmed handshake completion time of one point nine nine zero milliseconds on the Raspberry Pi Compute Module five and adds thirty one bytes per message over the channel <ref:2611.32024#pg1,Raspberry Pi Compute Module 5>. That’s a measurable overhead we can work with.
Priya: I see that measurement is helpful for engineers, but what I’m watching is the gap between theoretical security and real-world failure scenarios, which is where this paper really shines by testing those randomness failures directly.
Nadia: So to wrap up the findings of "APQKE-DR: Entropy-Failure Analysis of a Post-Quantum-Initialized Ratcheted Channel," they show that APQKE-DR integrates an ML-KEM/ML-DSA handshake with transcript binding and explicit key confirmation, an authenticated data channel with per message key evolution, classical Xtwenty-five thousand five hundred nineteen based post compromised recovery, entropy failure evaluation with tested mitigations, and integration beneath ANSI C12 point 22 and DNP3 <ref:2611.32024#pg1,APQKE-DR: Entropy-Failure Analysis of a Post-Quantum-Initialized Ratcheted Channel>.
Elias: It presents a practical post-quantum initialized secure channel for smart grid endpoints while evaluating its resilience to endpoint randomness failures using the EAS as proposed in this paper.
Priya: And I think the most important thing is that they show how those properties can be undermined when endpoint randomness fails, which is a sobering reminder that hardware assumptions aren't always true and we need more robust testing like this.
Nadia: Exactly. So we see APQKE-DR as a tool for securing smart grid endpoints, but the EAS experiments show us exactly where the vulnerabilities are hidden when randomness goes wrong. Next up, we’re going to look at how these secure channels stack up against other protocols in Table I.
The paper's summary: Nadia: So we’re looking at the summary of this paper now, "APQKE-DR: Entropy-Failure Analysis of a Post-Quantum-Initialized Ratcheted Channel." Basically, they’re showing how this new secure channel handles those nasty failures in randomness that happen on hardware.
Elias: Exactly. It boils down to testing if the system can still keep talking securely even when the device isn't generating truly random numbers as it should be, especially during startup or when the random number generator itself gets messed with.
Priya: What’s really interesting from what they say is that they use this Entropy Attack Suite, which is like a stress test for randomness. They show that if you have a low-entropy boot process or if the random number generation path is subverted, those security properties can completely break down.
Nadia: And it gives us this Boot-Window Seed Recovery Attack, or BWSR. So an attacker exploits that weak random number generator interval to steal the root key even if you think you’re safe because of some boot seed. It shows that just having a post-quantum algorithm isn't enough if the initial setup is flawed.
Elias: Right, and they also looked at RNG path subversion. They use a simple linear congruential generator to model this, and it proves that even if the output looks normal on the surface, an attacker can still reconstruct that initial root key offline by just looking at what’s coming out of the generator.
Priya: That means output sanity checks aren't enough to trust these systems. You need structural checks, not just checking if the current random number looks right. It highlights a huge gap between what the math says about security and what actually happens in real hardware environments.
Nadia: The good news is they’ve built APQKE-DR to handle this by binding the initial root key to a hash of the entire handshake transcript and adding explicit key confirmation steps. This makes it much harder for an attacker to exploit those initial weaknesses because they have to compromise multiple things at once.
Elias: Yeah, so the Double Ratchet mechanism provides forward secrecy and post-compromise recovery using Xtwenty-five thousand five hundred nineteen based on classical security assumptions. That means even if someone gets a live ratchet state compromised, it only affects what happens from that point onward, because you can recover the key using something classical.
Priya: But we gotta remember those assumptions matter. The paper explicitly states that these properties rely on correct cryptographic implementations and trustworthy provisioning authority to work as claimed. If those are wrong, the whole post-quantum structure falls apart instantly.
Nadia: And they’ve modeled some mitigation strategies, like using a trusted platform module or TPM seeding to block session establishment if modified firmware is detected. That tries to stop the early-boot attacks we talked about by failing closed before any key exchange even happens.
Elias: It shows that hardware defenses can play a role alongside the cryptography, but it also proves that you still need strong cryptographic mechanisms layered on top of those hardware checks for true post-quantum resilience.
Priya: So what this means for us is that when we design these secure channels for things like smart grids, we can’t just assume the device has perfect randomness. We have to design the system to explicitly handle and test those failure modes, and maybe even layer on hardware checks to make sure the initial state is solid before we rely on the post-quantum math.
Nadia: Exactly. Next up, we’re going to look at how this new channel stacks up against other protocols in Table I.
The paper's improvements: Tom: So we’re talking about how the authors suggest making APQKE-DR even better now, focusing on ways to fix those randomness issues they found in their experiments.
Nadia: They propose using TPM seeding combined with measured boot gating to block session setup if modified firmware is detected. This is an attempt to stop those early-boot attacks we mentioned earlier by physically stopping the key exchange before it even starts.
Elias: That’s a hardware gate trying to enforce policy, but they also stress that this doesn't fix the problem of RNG substitution after seeding. So you can stop someone from changing the boot code, but if they manage to trick the random number generator later on, that door is still open.
Priya: Right, so it’s a layered defense then. You get the hardware gate for integrity and then you still need to worry about what’s happening inside the actual random number generation process itself. That tells us we can't just rely on one layer of security here; it has to be comprehensive.
Nadia: They also highlight that the Double Ratchet data channel uses classical Xtwenty-five thousand five hundred nineteen based post-compromise recovery. This is a way to keep confidentiality even if an attacker gets the live ratchet state compromised, because you can still recover the key later using something classical.
Elias: It’s important to note that this recovery relies on those classical security assumptions, which keeps the overhead down and makes it computationally cheaper than some other methods, but it means we're trading some of that full quantum protection for efficiency in this specific recovery mechanism.
Priya: So the improvement is balancing quantum safety with practical performance and a path to recover if things go sideways in a way that doesn't require breaking the entire post-quantum scheme every time. It’s about managing risk when you can’t eliminate all potential hardware or software flaws.
Nadia: What they suggest is integrating this whole thing beneath protocols like ANSI C12 and DNP3, making it practical for smart grid deployments without rewriting the core communication standards. That integration itself is a big part of the improvement for real-world application.
Elias: It shows they’re focused on being useful, not just theoretically sound. They are trying to make this complex post-quantum setup something that an engineer can actually deploy in a field device without needing a PhD in cryptography just to get it running.
Priya: I think the implication is that for any critical infrastructure, we need to move beyond just proving security against perfect math and start proving resilience against imperfect hardware and messy real-world execution.
Nadia: So, the paper’s main suggestion is to be proactive: use hardware checks for integrity, use the Double Ratchet for key evolution recovery, and accept that randomness failures are a real threat that needs specific testing like the EAS.
Elias: And they are pointing toward future work needing more rigorous testing of those failure modes, because right now we have tests that show these properties can be undermined when endpoint randomness fails.
Priya: It’s a call for more robust evaluation tools, so we don't just build things and hope the randomness holds up in the real world.
Conclusion: Tom: So we’re wrapping up this look at "APQKE-DR: Entropy-Failure Analysis of a Post-Quantum-Initialized Ratcheted Channel." It really shows how crucial it is to test these secure channels against real randomness failures, and how APQKE-DR handles them by combining post-quantum key exchange with that Double Ratchet mechanism.
Nadia: Yeah, the main point is that you can’t just trust a perfectly coded algorithm if the hardware or the operating system running it has poor entropy sources or predictable boot sequences.
Elias: It boils down to this: even with post-quantum math and key evolution, if your initial root key setup is compromised by a weak random number generator, the security chain breaks right there.
Priya: I just want to emphasize that the data shows us that these properties can be undermined when endpoint randomness fails, which means we need to focus our privacy checks on those initial states of things.
Nadia: The improvements they suggest, like using TPM seeding to block modified firmware, are practical ways to stop those early-boot attacks from ruining the post-quantum setup before it even begins.
Elias: That hardware gate is a good addition, but it’s not a silver bullet because they also show you still need that classical Xtwenty-five thousand five hundred nineteen recovery mechanism for post-compromise safety.
Priya: So the implication is that we need to design systems where integrity checks and key evolution recovery work together to handle these different types of failures, instead of just relying on one perfect component.
Nadia: Exactly. The paper presents APQKE-DR as a tool for securing smart grid endpoints by integrating all these pieces—the handshake, the transcript binding, and the entropy failure evaluation—into one cohesive system.
Elias: It’s a solid foundation for practical post-quantum secure communication that can be deployed beneath things like ANSI C12 and DNP3.
Priya: The caveat is that the security claims still rely on correct cryptographic implementations being in place, which means the data only shows what happens when everything is built right.
Nadia: So we see APQKE-DR as a practical post-quantum initialized secure channel for smart grid endpoints that explicitly tests its resilience to randomness failures using the EAS as proposed.
Elias: It’s a good example of how researchers are pushing the boundaries by testing security against real, messy conditions rather than just perfect theoretical math.
Priya: It’s a sobering reminder that hardware assumptions aren't always true and we need more robust testing like this to be truly confident in these systems.
Tom: Well, that covers the core of "APQKE-DR: Entropy-Failure Analysis of a Post-Quantum-Initialized Ratcheted Channel." It really highlights the practical challenges of deploying post-quantum security in real hardware environments.
Nadia: Yeah, it’s about moving beyond theoretical proofs to see how these systems behave when they actually run on imperfect chips.
Elias: Exactly. The key is understanding those failure modes like low-entropy boot and RNG path subversion so we can build mitigations for them, not just design the math in a vacuum.
Priya: It shows that for any critical infrastructure, we need to be proactive about testing these things against the messy reality of hardware and software execution.
Nadia: Alright everyone, that’s our time on this paper. We’ve seen how APQKE-DR tackles randomness failures in post-quantum channels.
Elias: It was interesting to see how the Double Ratchet mechanism interacts with those classical recovery assumptions.
Priya: I think the data strongly supports the need for layered defenses against hardware and software randomness issues in smart grid setups.
More episodes
- The day in conversation for 2026-12-05
- Daily Summary for 2026-12-05
- 2607.15118-Automated Template-free Synthesis of Instruction-Centric Leakage Contracts for Black-Box CPUs
- 2610.37722-FVH-Bench: Evaluating Image Generator Safety Beyond Overtly Harmful Imagery
- 2512.23849-Security Without Detection: Economic Denial as a Primitive for Edge and IoT Defense
- 2605.05807-LCC-LLM: Leveraging Code-Centric Large Language Models for Malware Attribution
- 2607.02932-PromptPET: Prompt Obfuscation Against Profiling by AI Agents
- 2309.05646-A Novel Supervised Deep Learning Solution to Detect Distributed Denial of Service (DDoS) attacks on Edge Systems using Convolutional Neural Networks (CNN)
- The day in conversation for 2026-12-04
- Daily Summary for 2026-12-04