APQKE-DR: Entropy-Failure Analysis of a Post-Quantum-Initialized Ratcheted Channel

arXiv:2611.32024 · cs.CR, cs.AR · Submitted 2026-11-24 · Read on arXiv

Listen

Radio episode about this paper

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.

Florida Atlantic University · University of Idaho · Kansas State University

cs.CR, cs.AR

Submitted: 2026-11-24

Updated: 2026-11-24

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 76/100

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…

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

Summary

Long-lived secure channels for embedded and cyberphysical systems (CPSs) must resist quantum attacks and failures in endpoint randomness. p. 0

Where the paper says it

1 APQKE-DR: Entropy-Failure Analysis of a Post-Quantum-Initialized Ratcheted Channel Muhammad Asfand Hafeez , Graduate Student Member, IEEE, Zain Ul Abideen , Member, IEEE,,Amna Zafar , Kazi Hassan Shakib , Member, IEEE, Arslan Munir , Senior Member, IEEE Abstract—Long-lived secure channels for embedded and cyberphysical 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.

<ref:2611.32024#pg1, Long-lived secure channels for embedded and cyberphysical systems (CPSs) must resist quantum attacks and failures in endpoint randomness >

Protocol Design

The paper introduces APQKE-DR, a post-quantum secure channel that combines an authenticated postquantum key exchange with a Double Ratchet (DR) for direct node-to-server communication.<ref:2611.32024#pg2, we design and implement APQKE-DR, a post-quantum secure channel. p. 0

Where the paper says it

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.

The APQKE handshake provides authenticated postquantum key establishment using ML-KEM for key encapsulation and ML-DSA for signatures [19], [20] >. p. 1
Where the paper says it

Our contributions are as follows: • We design and implement APQKE-DR, an experimental secure channel for the smart grid node-to-server interface. The APQKE handshake provides authenticated postquantum key establishment using ML-KEM for key encapsulation and ML-DSA for signatures [19], [20], binds the derived root key to an authenticated transcript hash, and applies explicit Finished-style key confirmation [14], [21].

The APQKE handshake provides authenticated postquantum key establishment using ML-KEM for key encapsulation and ML-DSA for signatures. p. 1
Where the paper says it

Our contributions are as follows: • We design and implement APQKE-DR, an experimental secure channel for the smart grid node-to-server interface. The APQKE handshake provides authenticated postquantum key establishment using ML-KEM for key encapsulation and ML-DSA for signatures [19], [20], binds the derived root key to an authenticated transcript hash, and applies explicit Finished-style key confirmation [14], [21].

<ref:2611.32024#pg4>. It binds the derived root key to an authenticated transcript hash, and applies explicit Finished-style key confirmation [14], [21]. p. 1
Where the paper says it

Our contributions are as follows: • We design and implement APQKE-DR, an experimental secure channel for the smart grid node-to-server interface. The APQKE handshake provides authenticated postquantum key establishment using ML-KEM for key encapsulation and ML-DSA for signatures [19], [20], binds the derived root key to an authenticated transcript hash, and applies explicit Finished-style key confirmation [14], [21].

<ref:2611.32024#pg4>. The initial root key RK0 initializes the DR data channel, cryptographically linked to the authenticated handshake transcript for subsequent messaging. p. 1
Where the paper says it

The APQKE handshake provides authenticated postquantum key establishment using ML-KEM for key encapsulation and ML-DSA for signatures [19], [20], binds the derived root key to an authenticated transcript hash, and applies explicit Finished-style key confirmation [14], [21]. The initial root key RK0 initializes the DR data channel, cryptographically linked to the authenticated handshake transcript for subsequent messaging.

<ref:2611.32024#pg4, The initial root key RK0 initializes the DR data channel, cryptographically linked to the authenticated handshake transcript for subsequent messaging >

Entropy Attack Suite (EAS)

The Entropy Attack Suite (EAS) is introduced to evaluate secure channels facing endpoint randomness failures, such as low-entropy boot and Random Number Generation (RNG) path subversion.<ref:2611.32024#pg1, 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 >. p. 0

Where the paper says it

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.

The EAS experiments show that these properties can be undermined when endpoint randomness fails. p. 0
Where the paper says it

With fresh randomness and ideal cryptographic primitives, ProVerif verifies the modeled secrecy and authentication properties. p. 0

Where the paper says it

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.

p. 0
Where the paper says it

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.

p. 0
Where the paper says it

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.

<ref:2611.32024#pg13, The EAS experiments show that these properties can be undermined when endpoint randomness fails >

Failure Modes and Recovery

The paper models two controlled randomness failures: early-boot entropy holes and RNG-path subversion.<ref:2611.32024#pg7>. The EAS experiments show that these properties can be undermined when endpoint randomness fails.<ref:2611.32024#pg13, The EAS experiments show that these properties can be undermined when endpoint randomness fails >

The early-boot entropy hole is modeled by injecting a weak-RNG interval into the experimental platform, where the RNG output stream is deterministic given a boot seed s ∈ 2 b; after Tinj, the RNG behaves as a healthy source.<ref:2611.32024#pg8>. The Boot-Window Seed Recovery Attack (BWSR) shows how an attacker exploits the injected weak-RNG interval. p. 5

Where the paper says it

(1) Boot-Window Seed Recovery Attack (BWSR): Fig. 5 shows how an attacker exploits the injected weak-RNG interval.

<ref:2611.32024#pg8>

Security Analysis and Results

ProVerif analysis confirms that APQKE handshake ensures secure communication by authenticating the ephemeral ML-KEM key exchange using long-term ML-DSA verification keys and binds the entire handshake context to the hash of the transcript T H1.<ref:2611.32024#pg9>. ProVerif verifies the modeled secrecy and authentication properties.<ref:2611.32024#pg9>

Performance Metrics

The APQKE handshake achieves a median SGN completion time of 1.99 ms on the Raspberry Pi Compute Module 5. p. 0

Where the paper says it

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.

<ref:2611.32024#pg10, On the SGN, we report confirmed completion time as tack − tstart, where ACK is a benchmarkonly confirmation sent by the server after it successfully validates M3 and derives RK0 >. p. 8
Where the paper says it

Latency is reported as p50/p95 on repeated handshakes with timestamps per-endpoint. On the SGN, we report confirmed completion time as tack − tstart, where ACK is a benchmarkonly confirmation sent by the server after it successfully validates M3 and derives RK0; this avoids undercounting due to asynchronous sends and provides an unambiguous “channel ready” completion point.

The median confirmed handshake completion time of 1. p. 9
Where the paper says it

99 remaining protocols, whose implementations are unavailable or measured on different processors, we perform a first-order normalization with respect to CPU clock frequency as tnorm = treported × freported 2. 4 GHz Cortex-A76 platform, the APQKE handshake attains a median SGN completion time of 1.

990 ms and adds 31 B per message. p. 0
Where the paper says it

82 ms (server). The ratcheted channel adds 31 bytes per message.

<ref:2611.32024#pg13, It achieves a median confirmed handshake completion time of 1. p. 9
Where the paper says it

99 remaining protocols, whose implementations are unavailable or measured on different processors, we perform a first-order normalization with respect to CPU clock frequency as tnorm = treported × freported 2. 4 GHz Cortex-A76 platform, the APQKE handshake attains a median SGN completion time of 1.

990 ms and adds 31 B per message >

Mitigation Effectiveness

TPM seeding prevents recovery in the tested early-boot cases but does not prevent RNG substitution after seeding.<ref:2611.32024#pg8>. The TPM-PCR mitigation does not rely on output “sanity”; it fails closed by refusing to establish any session under shim image. p. 2

Where the paper says it

• Aimg can install and attempt to boot a modified image but cannot forge an approved measurement or bypass the enforced TPM PCR policy. An unauthorized image, therefore, causes the node to fail closed before channel establishment.

<ref:2611.32024#pg12, TPM-PCR blocks the modified image before key establishment; therefore, no attacked sessions yield RK0 samples, and the corresponding metrics are reported as blocked >. p. 2
Where the paper says it

• Aimg can install and attempt to boot a modified image but cannot forge an approved measurement or bypass the enforced TPM PCR policy. An unauthorized image, therefore, causes the node to fail closed before channel establishment.

The TPM seeding removes the predictable boottime dependence in this model. p. 1
Where the paper says it

• We introduce an EAS to model early-boot entropy holes and RNG-path subversion, demonstrating offline recovery of the root key (RK0) from public transcripts and enabling evaluation of the handshake-plus-channel protocol under degraded entropy conditions rather than idealized randomness assumptions [22]. • We compare Trusted Platform Module (TPM) seeding with Platform Configuration Register (PCR)-bound measuredboot gating.

<ref:2611.32024#pg13>

Conclusion

APQKE-DR offers a practical post-quantum-initialized secure channel for smart grid endpoints.<ref:2611.32024#pg13>. The EAS experiments show that these properties can be undermined when endpoint randomness fails.<ref:2611.32024#pg13, The EAS experiments show that these properties can be undermined when endpoint randomness fails > 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 X25519-based post-compromise recovery, entropy-failure evaluation with tested mitigations, and integration beneath ANSI C12. p. 8

Where the paper says it

Table I compares handshake security, channel security, entropy robustness, and implementation evidence. 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 X25519- based post-compromise recovery, entropy-failure evaluation with tested mitigations, and integration beneath ANSI C12.

22 and DNP3. p. 0
Where the paper says it

We assess APQKE-DR’s performance and security for smart grid communication, and integrate it beneath ANSI C12. 22 and DNP3 without altering payload formats.

<ref:2611.32024#pg9, 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 X25519-based post-compromise recovery, entropy-failure evaluation with tested mitigations, and integration beneath ANSI C12. p. 8
Where the paper says it

Table I compares handshake security, channel security, entropy robustness, and implementation evidence. 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 X25519- based post-compromise recovery, entropy-failure evaluation with tested mitigations, and integration beneath ANSI C12.

22 and DNP3 >. p. 0
Where the paper says it

We assess APQKE-DR’s performance and security for smart grid communication, and integrate it beneath ANSI C12. 22 and DNP3 without altering payload formats.

The paper presents APQKE-DR and evaluates its performance and resilience to endpoint randomness failures using EAS as proposed. p. 0
Where the paper says it

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.

<ref:2611.32024#pg13>

REFERENCES

[1] G. Alagic, Q. Dang, D. Moody et al., “Module-lattice-based keyencapsulation mechanism standard,” 2024. p. 1

Where the paper says it

Motivated by “record now, decrypt later” threats and the susceptibility of RSA/ECC to quantum algorithms [10], [11], recent work has explored integrating PQ primitives into smart grid and AMI security architectures. Prototypes have investigated Kyber and FrodoKEM-like mechanisms and their feasibility for embedded AMI deployments [29], [30], while other proposals develop lattice-based mutual authentication and key exchange protocols designed for smart grid communication [31].

<ref:2611.32024#pg13, Module-lattice-based keyencapsulation mechanism standard >

[5] E. Kabalci and Y. Kabalci, “Introduction to smart grid architecture,” in Smart grids and their communication systems. p. 0

Where the paper says it

INTRODUCTION Modern embedded and cyber-physical systems (CPSs) rely on continuous communication between field devices and centralized control services, carrying measurements to control software and returning commands that drive system operation. Smart grids apply this model to electricity distribution: smart meters and other field devices send usage and grid measurements to supervisory control and data acquisition (SCADA) backends, which monitor conditions and coordinate control actions [3]– [5].

Springer, 2018.<ref:2611.32024#pg7>

[9] Y. Yan,. “The overview of elliptic curve cryptography (ecc),” IOP Publishing, p. p. 0

Where the paper says it

Shakib is with Department of Computer Science, Kansas State University, Kansas, USA (e-mail: kshakib@ksu. Rivest-Shamir-Adleman (RSA) or elliptic-curve cryptography (ECC) [9].

012019, 2022.<ref:2611.32024#pg9>

[14] E. Rescorla, “RFC 8446: The transport layer security (TLS) protocol version 1. p. 0

Where the paper says it

Existing protocols provide an authenticated key establishment mechanism for updating encryption keys. Transport Layer Security (TLS) 1.

3,” IETF, 2018.<ref:2611.32024#pg9>

[17] T. Perrin and M. Marlinspike,. “The double ratchet algorithm,” GitHub wiki, vol. p. 3

Where the paper says it

Double-Ratcheted Data Channel The DR channel, outlined in Algorithm 1 secures smart grid traffic after the APQKE handshake by evolving keys across messages and sessions with minimal steady-state overhead. It uses X25519 for both bootstrap and DH-ratchet updates, so initialization is post-quantum; however, recovery after ratchetstate disclosure relies on classical security assumptions in order to minimize the overhead and reduce computational and bandwidth costs.

112, no. 4, 2016.<ref:2611.32024#pg9>

[39] M. A. Hafeez and A. p. 0

Where the paper says it

1 APQKE-DR: Entropy-Failure Analysis of a Post-Quantum-Initialized Ratcheted Channel Muhammad Asfand Hafeez , Graduate Student Member, IEEE, Zain Ul Abideen , Member, IEEE,,Amna Zafar , Kazi Hassan Shakib , Member, IEEE, Arslan Munir , Senior Member, IEEE Abstract—Long-lived secure channels for embedded and cyberphysical 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.

p. 0
Where the paper says it

1 APQKE-DR: Entropy-Failure Analysis of a Post-Quantum-Initialized Ratcheted Channel Muhammad Asfand Hafeez , Graduate Student Member, IEEE, Zain Ul Abideen , Member, IEEE,,Amna Zafar , Kazi Hassan Shakib , Member, IEEE, Arslan Munir , Senior Member, IEEE Abstract—Long-lived secure channels for embedded and cyberphysical 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.

Munir,. “A novel post-quantum cryptography-based authentication and secret key establishment protocol for smart grid,” ACM Transactions on Cyber-Physical Systems, 2026. p. 8
Where the paper says it

Property APQKE-DR C TLS 1. 3 C Hybrid TLS C PQXDH [18] H PQC-SG [39] H Kyber-AMI [29] A PUF-Auth [40] A LLRA [28] A LSEG [27] A Handshake security PQ-resistant authenticated key establishment ✓ × ∼ ∼ ✓ ∼ × × × Mutual authentication and replay resistance ✓ ∼ ∼ ∼ ∼ × ✓ ✓ ✓ Transcript binding and explicit key confirmation ✓ ✓ ✓ ∼ – – – – ∼ Channel security Authenticated application-data channel ✓ ✓ ✓ – – ✓ ∼ ∼ ✓ Per-message forward secrecy ✓ ∼ ∼ – – × × × ∼ Ratcheted messaging ✓ × × – – × × × × Classical post-compromise recovery ✓ × × – – × × × × Post-quantum post-compromise recovery × × × – – × × × × Entropy robustness Endpoint RNG-failure attacks evaluated ✓ – – – – – – – – Entropy/boot mitigation evaluated ✓ – – – – – – – – Implementation evidence Smart-grid endpoint/protocol integration ✓ – – – ∼ ✓ ∼ ∼ ✓ Backend/gateway scalability evaluated × – – – ✓ ∼ – – – ✓ = supported; ∼ = partial or configuration-dependent; × = not provided; – = outside the scheme’s stated scope or not evaluated.

p. 8
Where the paper says it

Property APQKE-DR C TLS 1. 3 C Hybrid TLS C PQXDH [18] H PQC-SG [39] H Kyber-AMI [29] A PUF-Auth [40] A LLRA [28] A LSEG [27] A Handshake security PQ-resistant authenticated key establishment ✓ × ∼ ∼ ✓ ∼ × × × Mutual authentication and replay resistance ✓ ∼ ∼ ∼ ∼ × ✓ ✓ ✓ Transcript binding and explicit key confirmation ✓ ✓ ✓ ∼ – – – – ∼ Channel security Authenticated application-data channel ✓ ✓ ✓ – – ✓ ∼ ∼ ✓ Per-message forward secrecy ✓ ∼ ∼ – – × × × ∼ Ratcheted messaging ✓ × × – – × × × × Classical post-compromise recovery ✓ × × – – × × × × Post-quantum post-compromise recovery × × × – – × × × × Entropy robustness Endpoint RNG-failure attacks evaluated ✓ – – – – – – – – Entropy/boot mitigation evaluated ✓ – – – – – – – – Implementation evidence Smart-grid endpoint/protocol integration ✓ – – – ∼ ✓ ∼ ∼ ✓ Backend/gateway scalability evaluated × – – – ✓ ∼ – – – ✓ = supported; ∼ = partial or configuration-dependent; × = not provided; – = outside the scheme’s stated scope or not evaluated.

<ref:2611.32024#pg13, A novel post-quantum cryptography-based authentication and secret key establishment protocol for smart grid >

[45] M. Festa, “Anchoring self-sovereign identity to a hardware tpm 2. p. 1

Where the paper says it

Handshakes do not contact the authority. Nodes may have a hardware entropy source or TPM.

p. 1
Where the paper says it

Handshakes do not contact the authority. Nodes may have a hardware entropy source or TPM.

0,” Ph.D. dissertation, Politecnico di Torino, 2025.<ref:2611.32024#pg13, Anchoring self-sovereign identity to a hardware tpm 2. p. 1
Where the paper says it

Handshakes do not contact the authority. Nodes may have a hardware entropy source or TPM.

p. 1
Where the paper says it

Handshakes do not contact the authority. Nodes may have a hardware entropy source or TPM.

0 >

[44] B. Bera and B. Sikdar, “Securing post-quantum communication for smart grid applications,” in 2024 IEEE International Conference on Communications, Control, and Computing Technologies for Smart Grids (SmartGridComm). p. 0

Where the paper says it

INTRODUCTION Modern embedded and cyber-physical systems (CPSs) rely on continuous communication between field devices and centralized control services, carrying measurements to control software and returning commands that drive system operation. Smart grids apply this model to electricity distribution: smart meters and other field devices send usage and grid measurements to supervisory control and data acquisition (SCADA) backends, which monitor conditions and coordinate control actions [3]– [5].

p. 0
Where the paper says it

INTRODUCTION Modern embedded and cyber-physical systems (CPSs) rely on continuous communication between field devices and centralized control services, carrying measurements to control software and returning commands that drive system operation. Smart grids apply this model to electricity distribution: smart meters and other field devices send usage and grid measurements to supervisory control and data acquisition (SCADA) backends, which monitor conditions and coordinate control actions [3]– [5].

IEEE, 2024. p. 0
Where the paper says it

1 APQKE-DR: Entropy-Failure Analysis of a Post-Quantum-Initialized Ratcheted Channel Muhammad Asfand Hafeez , Graduate Student Member, IEEE, Zain Ul Abideen , Member, IEEE,,Amna Zafar , Kazi Hassan Shakib , Member, IEEE, Arslan Munir , Senior Member, IEEE Abstract—Long-lived secure channels for embedded and cyberphysical 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.

p. 0
Where the paper says it

1 APQKE-DR: Entropy-Failure Analysis of a Post-Quantum-Initialized Ratcheted Channel Muhammad Asfand Hafeez , Graduate Student Member, IEEE, Zain Ul Abideen , Member, IEEE,,Amna Zafar , Kazi Hassan Shakib , Member, IEEE, Arslan Munir , Senior Member, IEEE Abstract—Long-lived secure channels for embedded and cyberphysical 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.

<ref:2611.32024#pg13, Securing post-quantum communication for smart grid applications >

[38] S. Checkoway, R. Niederhagen, A. Everspaugh et al., “On the practical exploitability of dual EC in TLS implementations,” in 23rd USENIX security symposium (USENIX security 14), 2014. p. 0

Where the paper says it

Existing protocols provide an authenticated key establishment mechanism for updating encryption keys. Transport Layer Security (TLS) 1.

p. 0
Where the paper says it

Existing protocols provide an authenticated key establishment mechanism for updating encryption keys. Transport Layer Security (TLS) 1.

<ref:2611.32024#pg9>

[36] S. Muller, “Entropy source and drng manager,” 2024. p. 1

Where the paper says it

Handshakes do not contact the authority. Nodes may have a hardware entropy source or TPM.

p. 1
Where the paper says it

Handshakes do not contact the authority. Nodes may have a hardware entropy source or TPM.

<ref:2611.32024#pg8>

[37] D. Eastlake 3rd, J. Schiller, and S. Crocker, “Randomness requirements for security,” Tech. p. 0

Where the paper says it

However, its post quantum (PQ) extended Diffie-Hellman (PQXDH) handshake still relies on classical elliptic-curve cryptography for mutual authentication [18]. To address these authentication and recovery requirements, arXiv:2611.

p. 0
Where the paper says it

However, its post quantum (PQ) extended Diffie-Hellman (PQXDH) handshake still relies on classical elliptic-curve cryptography for mutual authentication [18]. To address these authentication and recovery requirements, arXiv:2611.

Rep., 2005.<ref:2611.32024#pg8>

[41] K. H. Shakib, M. A. Hafeez, and A. p. 0

Where the paper says it

1 APQKE-DR: Entropy-Failure Analysis of a Post-Quantum-Initialized Ratcheted Channel Muhammad Asfand Hafeez , Graduate Student Member, IEEE, Zain Ul Abideen , Member, IEEE,,Amna Zafar , Kazi Hassan Shakib , Member, IEEE, Arslan Munir , Senior Member, IEEE Abstract—Long-lived secure channels for embedded and cyberphysical 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.

Munir, “Amphikey: A dual-mode secure authenticated key encapsulation protocol for smart grid,” arXiv preprint arXiv:2509. p. 1
Where the paper says it

Our contributions are as follows: • We design and implement APQKE-DR, an experimental secure channel for the smart grid node-to-server interface. The APQKE handshake provides authenticated postquantum key establishment using ML-KEM for key encapsulation and ML-DSA for signatures [19], [20], binds the derived root key to an authenticated transcript hash, and applies explicit Finished-style key confirmation [14], [21].

01701, 2025.<ref:2611.32024#pg9>

[43] H. Shekhawat and D. S. Gupta, “Quantum-resistance blockchain-assisted certificateless data authentication and key exchange scheme for the smart grid metering infrastructure,” Pervasive and Mobile Computing, vol. p. 8

Where the paper says it

Property APQKE-DR C TLS 1. 3 C Hybrid TLS C PQXDH [18] H PQC-SG [39] H Kyber-AMI [29] A PUF-Auth [40] A LLRA [28] A LSEG [27] A Handshake security PQ-resistant authenticated key establishment ✓ × ∼ ∼ ✓ ∼ × × × Mutual authentication and replay resistance ✓ ∼ ∼ ∼ ∼ × ✓ ✓ ✓ Transcript binding and explicit key confirmation ✓ ✓ ✓ ∼ – – – – ∼ Channel security Authenticated application-data channel ✓ ✓ ✓ – – ✓ ∼ ∼ ✓ Per-message forward secrecy ✓ ∼ ∼ – – × × × ∼ Ratcheted messaging ✓ × × – – × × × × Classical post-compromise recovery ✓ × × – – × × × × Post-quantum post-compromise recovery × × × – – × × × × Entropy robustness Endpoint RNG-failure attacks evaluated ✓ – – – – – – – – Entropy/boot mitigation evaluated ✓ – – – – – – – – Implementation evidence Smart-grid endpoint/protocol integration ✓ – – – ∼ ✓ ∼ ∼ ✓ Backend/gateway scalability evaluated × – – – ✓ ∼ – – – ✓ = supported; ∼ = partial or configuration-dependent; × = not provided; – = outside the scheme’s stated scope or not evaluated.

100, p. 101919, 2024.<ref:2611.32024#pg9>

[35] J. Brendel, K. Fiedler, F. Gunther ¨ et al., “Post-quantum asynchronous deniable key exchange and the signal handshake,” Journal of Cryptology, vol. p. 0

Where the paper says it

The Signal protocol [16] addresses this limitation by incorporating fresh shared secrets through ratcheted messaging, including classical and post-quantum updates in its Triple Ratchet [17]. However, its post quantum (PQ) extended Diffie-Hellman (PQXDH) handshake still relies on classical elliptic-curve cryptography for mutual authentication [18].

35, no. 3, p. 17, 2022.<ref:2611.32024#pg9>

[40] H. M. S. Badar, S. Qadri, S. Shamshad et al., “An identity based authentication protocol for smart grid environment using physical uncloneable function,” IEEE Transactions on Smart Grid, vol. p. 1

Where the paper says it

Motivated by “record now, decrypt later” threats and the susceptibility of RSA/ECC to quantum algorithms [10], [11], recent work has explored integrating PQ primitives into smart grid and AMI security architectures. Prototypes have investigated Kyber and FrodoKEM-like mechanisms and their feasibility for embedded AMI deployments [29], [30], while other proposals develop lattice-based mutual authentication and key exchange protocols designed for smart grid communication [31].

p. 1
Where the paper says it

Motivated by “record now, decrypt later” threats and the susceptibility of RSA/ECC to quantum algorithms [10], [11], recent work has explored integrating PQ primitives into smart grid and AMI security architectures. Prototypes have investigated Kyber and FrodoKEM-like mechanisms and their feasibility for embedded AMI deployments [29], [30], while other proposals develop lattice-based mutual authentication and key exchange protocols designed for smart grid communication [31].

12, no. 5, pp. 4426–4434, 2021.<ref:2611.32024#pg9>

[31] H. Shekhawat and D. S. Gupta, “Quantum-safe lattice-based mutual authentication and key-exchange scheme for the smart grid,” Transactions on Emerging Telecommunications Technologies, vol. p. 1

Where the paper says it

Motivated by “record now, decrypt later” threats and the susceptibility of RSA/ECC to quantum algorithms [10], [11], recent work has explored integrating PQ primitives into smart grid and AMI security architectures. Prototypes have investigated Kyber and FrodoKEM-like mechanisms and their feasibility for embedded AMI deployments [29], [30], while other proposals develop lattice-based mutual authentication and key exchange protocols designed for smart grid communication [31].

35, no. 7, p. e5017, 2024.<ref:2611.32024#pg9>

[33] J. Alwen, S. Coretti, and Y. Dodis,. “The double ratchet: security notions, proofs, and modularization for the signal protocol,” in Annual International Conference on the Theory and Applications of Cryptographic Techniques. p. 1

Where the paper says it

3 (transcript hash and Finished) [14], [21], as well as modular handshake frameworks, such as noise [32]. For long-lived encrypted messaging, the Signal Double Ratchet is a widely deployed construction for forward secrecy and post-compromise recovery, with formal security analyses [33], [34].

Springer, 2019.<ref:2611.32024#pg9>

[34] C. Cremers, C. Jacomme, and A. Naska, “Formal analysis of sessionhandling in secure messaging: Lifting security from sessions to conversations,” in 32nd USENIX Security Symposium (USENIX Security 23). p. 1

Where the paper says it

For long-lived encrypted messaging, the Signal Double Ratchet is a widely deployed construction for forward secrecy and post-compromise recovery, with formal security analyses [33], [34]. Parallel work has also explored post-quantum directions for secure-messaging handshakes [35].

USENIX Association, 2023.<ref:2611.32024#pg9>

[45] M. Festa, “Anchoring self-sovereign identity to a hardware tpm 2.0,” Ph.D. dissertation, Politecnico di Torino, 2025.<ref:2611.32024#pg13, Anchoring self-sovereign identity to a hardware tpm 2.0 >

[44] B. Bera and B. Sikdar, “Securing post-quantum communication for smart grid applications,” in 2024 IEEE International Conference on Communications, Control, and Computing Technologies for Smart Grids (SmartGridComm). IEEE, 2024.<ref:2611.32024#pg13, Securing post-quantum communication for smart grid applications >

[39] M. A. Hafeez and A. Munir,. “A novel post-quantum cryptography-based authentication and secret key establishment protocol for smart grid,” ACM Transactions on Cyber-Physical Systems, 2026.<ref:2611.32024#pg13, A novel post-quantum cryptography-based authentication and secret key establishment protocol for smart grid >

[40] H. M. S. Badar, S. Qadri, S. Shamshad et al., “An identity based authentication protocol for smart grid environment using physical uncloneable function,” IEEE Transactions on Smart Grid, vol. 12, no. 5, pp. 4426–4434, 2021.<ref:2611.32024#pg9>

[38] S. Checkoway, R. Niederhagen, A. Everspaugh et al., “On the practical exploitability of dual EC in TLS implementations,” in 23rd USENIX security symposium (USENIX security 14), 2014.<ref:2611.32024#pg9>

[37] D. Eastlake 3rd, J. Schiller, and S. Crocker, “Randomness requirements for security,” Tech. Rep., 2005.<ref:2611.32024#pg8>

[36] S. Muller, “Entropy source and drng manager,” 2024.<ref:2611.32024#pg8>

TABLE I

COMPARISON OF APQKE-DR WITH SOTA SMART GRID PROTOCOLS. <ref:2611.32024#pg9>

TABLE II

APQKE HANDSHAKE BANDWIDTH AND LATENCY IN BYTES. <ref:2611.32024#pg10>

TABLE III

DR CHANNEL STEADY-STATE ON-WIRE OVERHEAD AND EFFICIENCY VS. PLAINTEXT PAYLOAD SIZE. p. 9

Where the paper says it

10 TABLE III DR CHANNEL STEADY-STATE ON-WIRE OVERHEAD AND EFFICIENCY VS. PLAINTEXT PAYLOAD SIZE.

<ref:2611.32024#pg10>

TABLE IV

INTEGRATED ANSI C12.22/DNP3 PROTOTYPE RESULTS WITH APQKE-DR (FIVE READINGS). p. 9

Where the paper says it

For the TABLE IV INTEGRATED ANSI C12. 22/DNP3 PROTOTYPE RESULTS WITH APQKE-DR (FIVE READINGS).

<ref:2611.32024#pg9>

TABLE V

APPROXIMATE COMPARISON OF CLIENT-SIDE TIMING USING FIRST-ORDER FREQUENCY NORMALIZATION TO 2.4 GHZ. <ref:2611.32024#pg9>

The paper is 2611.32024.<ref:2611.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Enhanced resilience against endpoint randomness failures through an Entropy Attack Suite (EAS) allows AI systems to detect and recover a root key even when low-entropy boot or Random Number Generation (RNG) paths are subverted, as demonstrated by the ability to recover the RNG stream and root key from public transcripts.

  2. Integration of APQKE-DR beneath existing protocols like ANSI C12.22 and DNP3 enables AI systems to secure SCADA traffic without altering payload formats, providing a practical security shim for field devices.

  3. Implementation of TPM seeding in conjunction with measured boot gating allows AI systems to block session establishment when modified firmware is detected, preventing early-boot attacks from undermining the post-quantum key exchange.

  4. The Double Ratchet data channel provides forward secrecy and post-compromise recovery based on X25519, allowing AI systems to maintain confidentiality even after a live ratchet state compromise, relying on classical security assumptions in order to minimize the overhead and reduce computational and bandwidth costs.

  5. Evaluation of the RNG path subversion attack against a diagnostic 16-bit low-byte Linear Congruential Generator demonstrates that while output-only checks might appear normal, deterministic replay still reconstructs RK0 offline, necessitating structural checks rather than just output sanity checks.

Abstract

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.

Sources

Related papers