Search arXiv⌕ Search

arXiv subjects

Tejas Gadwalkar

Publications and source records attributed to Tejas Gadwalkar.

2 recordsLinked to original sources

Compositional Symbolic Reasoning for Diffie--Hellman Group Operations

Automated symbolic analyzers have had great success in verifying protocol security, but faithfully modeling the underlying cryptographic primitives remains a challenge. In particular, Diffie-Hellman key exchange and related protocols employ operations such as exponentiation, multiplication and inverses, whose analysis might be unsupported by these tools or lead to scalability issues. In this paper, we take a different approach, showing how to reason about Diffie-Hellman terms with an interactive protocol logic, which checks correctness proofs supplied by a user rather than attempting to prove such properties by itself. We extend Cryptis, a recent protocol logic built on the Rocq prover, with operations modeling multiplication and inverses in the group of exponents and in the Diffie-Hellman group, subject to standard equational laws. We define a set of sufficient conditions that guarantee that terms with these operations can be sent over the network safely, without compromising protocol security. Our approach is foundational: the equational laws of term operations and our safety conditions can be proved from first principles inside a proof assistant, leading to a small trusted computing base (TCB). Moreover, it enables compositional verification, where each protocol can be checked by combining independently verified components. We demonstrate our approach by providing the first machine-checked symbolic proof of security for the HMQV and OPAQUE protocols. Our OPAQUE proof is the first to model its oblivious pseudo-random function sub-protocol concretely, in terms of Diffie-Hellman operations rather than an abstract primitive.

cs.CR↗

Reverse Online Guessing Attacks on PAKE Protocols

Though not yet widely deployed, password-authenticated key exchange (PAKE) protocols have been the subject of several recent standardization efforts, partly because of their resistance against various guessing attacks, but also because they do not require a public-key infrastructure (PKI), making them naturally resistant against PKI failures. The goal of this paper is to reevaluate the PAKE model by noting that the absence of a PKI -- or, more generally, of a mechanism aside from the password for authenticating the server -- makes such protocols vulnerable to reverse online guessing attacks, in which an adversary attempts to validate password guesses by impersonating a server. While their logic is similar to traditional guessing, where the attacker impersonates a client, reverse guessing poses a unique risk because the burden of detection is shifted to the clients, rendering existing defenses against traditional guessing moot. Our results demonstrate that reverse guessing is particularly effective when an adversary attacks clients indiscriminately, such as in phishing or password-spraying attacks, or for applications with automated login processes or a universal password, such as WPA3-SAE. Our analysis suggests that stakeholders should, by default, authenticate the server using more stringent measures than just the user's password, and that a password-only mode of operation should be a last resort against catastrophic security failures when other authentication mechanisms are not available.

cs.CR↗