arXiv Science⌕ Search

arXiv subjects

Muhammad Asfand Hafeez

Publications and source records attributed to Muhammad Asfand Hafeez.

4 recordsLinked to original sources

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

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.

cs.CR↗

HDKEM: Authentication Allocation for Deniable Hybrid Key Exchange

A deniable authenticated key exchange (DAKE) establishes an authenticated shared key without giving third parties proof of participation. Post-quantum DAKEs use ring signatures, message authentication codes, or split key-encapsulation mechanisms, which differ in who can authenticate and how deniability is achieved. We introduce \emph{authentication allocation} to classify which parties hold secrets that produce accepted authentication messages. For protocols using a fixed two-member ring, we prove that an accuser can simulate a session by either sharing the accused party's authentication key or signing with its own ring key. Thus, deniability relies on key sharing or the ring signature's ability to hide its signer. We propose \HDKEM, combining ML-KEM-768, X25519, and an optional pre-shared or quantum key distribution (QKD)-delivered key $k_3$ through a split-key pseudorandom function. The session key remains secret if at least one input remains secure. Since provisioning services and QKD key managers may know $k_3$, the client always authenticates with its own ring key; the mode determines whether other holders of $k_3$ can impersonate the server. Four modes are supported: \emph{source-backed} authenticates the server through key confirmation under $k_3$, allowing its holders to impersonate the server; \emph{hide} also encrypts the client's signature; \emph{mutual} adds a server ring signature to prevent such impersonation; and \emph{source-less} authenticates both endpoints with ring signatures without $k_3$. We prove extended Canetti--Krawczyk (eCK) session-key secrecy in the quantum random-oracle model, explicit authentication, forward secrecy, and session-partner deniability, with a concrete deniability bound in the classical random-oracle model. With FalconRS, source-backed mode sends 3,813~bytes in about 26~ms, versus 5,101~bytes and 47~ms in mutual mode.

cs.CR↗

AmphiKey: A Dual-Mode Secure Authenticated Key Encapsulation Protocol for Smart Grid

AmphiKey, a dual-mode post-quantum/traditional (PQ/T) hybrid authenticated key exchange mechanism (AKEM) has been designed to secure smart grid communications against both classical and quantum threats. AmphiKey offers two distinct operational modes within a single framework: an Authenticated Mode and a Deniable Mode. The Authenticated Mode employs a blackbox approach, combining ephemeral ML-KEM-768 and X25519 with long-term Raccoon DSA keys to provide forward secrecy and strong, non-repudiable authenticity. This design achieves "OR" confidentiality, where security holds if either of the KEMs is unbroken, and robust "AND" authenticity. For the signature operation, it leverages the 'masking-friendly' Raccoon digital signature (DSA), which is specifically designed for side-channel attack resistance, though this protection is localized to the signing key and does not provide deniability. In contrast, Deniable Mode provides deniable authentication, preserving privacy. The protocol used ML-KEM-768 (AKEM-1), Ephemeral X25519 (AKEM-2), Raccoon-based DSA (Rac) (compared performance to ML-DSA-65), and the Ascon cipher to deliver its security guarantees. Key contributions include providing a flexible protocol with enhanced security, optional deniability, and efficiency adapted to the diverse needs of the smart grid infrastructure. We present a comprehensive performance evaluation on a heterogeneous testbed featuring a powerful server and client (AMD Ryzen 5) and a resource-constrained client (Raspberry Pi). In efficient Deniable mode, the full handshake completes in 0.15 ms on the server and 0.41 ms on the Raspberry Pi client. In contrast, the Authenticated Mode is bottlenecked by the client-side signature generation; the handshake takes 4.8 ms for the Raspberry Pi client to initiate and 0.84 ms for the server to verify.

cs.CR↗

LSEG: A Lightweight and Secure Key Exchange Protocol for Smart Grid Communication

The increasing deployment of the Internet of Things (IoT) edge devices in modern smart grid environments requires secure and efficient communication protocols specifically designed for resource-constrained environments. However, most existing authentication schemes either impose excessive computational overhead or lack robustness against advanced cyber threats, making them unsuitable for resource-limited smart grid deployments. To address these limitations, this paper proposes a lightweight authentication and secure key exchange protocol for smart grid (LSEG) environments. The proposed LSEG protocol utilizes a unified elliptic curve key pair, enabled by birational mapping between Ed25519 and Curve25519, for signing and key exchange. Initial keys are derived using the hash based message authentication code (HMAC) based key derivation function (HKDF), while ephemeral key pairs, generated through the Elliptic Curve Diffie Hellman Ephemeral (ECDHE), are used in each session to ensure forward secrecy. Session communication is protected using ASCON128a, a lightweight, NIST-standardized, authenticated encryption algorithm. Formal security proofs in the random oracle model validate the security properties of LSEG, including mutual authentication, forward secrecy, and resistance to impersonation, replay, and man in the middle attacks. Experimental results on both Raspberry Pi and Intel Core i9-based systems demonstrate practical efficiency, achieving execution times under 5.5 milliseconds on embedded hardware and a communication cost of only 1024 bits for the protocol's message exchanges. The results demonstrate that LSEG effectively balances security, efficiency, and compliance, making it a scalable solution for secure communication in smart grid infrastructures.

cs.CR↗