ILC: a Calculus for Composable, Computational Cryptography

Total Page:16

File Type:pdf, Size:1020Kb

ILC: a Calculus for Composable, Computational Cryptography ILC: A Calculus for Composable, Computational Cryptography Kevin Liao Matthew A. Hammer Andrew Miller University of Illinois DFINITY, USA University of Illinois Urbana-Champaign, USA [email protected] Urbana-Champaign, USA [email protected] [email protected] Abstract 1 Introduction The universal composability (UC) framework is the estab- In cryptography, a proof of security in the simulation-based lished standard for analyzing cryptographic protocols in a universal composability (UC) framework is considered the modular way, such that security is preserved under concur- gold standard for demonstrating that a protocol “does its job rent composition with arbitrary other protocols. However, securely” [16]. In particular, a UC-secure protocol enjoys the although UC is widely used for on-paper proofs, prior at- strongest notion of compositionality—it maintains all secu- tempts at systemizing it have fallen short, either by using a rity properties even when run concurrently with arbitrary symbolic model (thereby ruling out computational reduction other protocol instances. This is in contrast with weaker proofs), or by limiting its expressiveness. property-based notions that only guarantee security in a In this paper, we lay the groundwork for building a con- standalone setting [37] or under sequential composition [26]. crete, executable implementation of the UC framework. Our Thus, the benefit of using UC is modularity—it supports an- main contribution is a process calculus, dubbed the Inter- alyzing complex protocols by composing simpler building active Lambda Calculus (ILC). ILC faithfully captures the blocks. However, the cost of using UC is that security proofs computational model underlying UC—interactive Turing tend to be quite complicated. We believe that applying a PL- machines (ITMs)—by adapting ITMs to a subset of the c- style of systemization to UC can help simplify its use, bring calculus through an affine typing discipline. In other words, new clarity, and provide useful tooling. We envision a future well-typed ILC programs are expressible as ITMs. In turn, ILC’s where modularity of cryptographic protocol composition strong confluence property enables reasoning about crypto- translates to modular implementation as well. graphic security reductions. We use ILC to develop a simpli- Reviewing prior efforts of applying PL techniques to cryp- fied implementation of UC called SaUCy. tography, we find they run up against challenges when im- porting the existing body of UC theory. Either they do not CCS Concepts • Security and privacy → Formal secu- support computational reasoning (which considers issues rity models. of probability and computational complexity) [10], do not Keywords Provable security, universal composability, pro- support message-passing concurrency for distributed proto- cess calculus, type systems cols [4], or are too expressive (allow for expressing nonde- terminism with no computational interpretation) [2]. ACM Reference Format: Our observation is that these approaches diverge from Kevin Liao, Matthew A. Hammer, and Andrew Miller. 2019. ILC: UC at a low level: UC is defined atop the underlying (con- A Calculus for Composable, Computational Cryptography. In Pro- current) computational model of interactive Turing machines ceedings of the 40th ACM SIGPLAN Conference on Programming (ITMs). The significance of ITMs is that they have a clear com- Language Design and Implementation (PLDI ’19), June 22–26, 2019, putational interpretation, so it is straightforward to relate Phoenix, AZ, USA. ACM, New York, NY, USA, 31 pages. https: execution traces to a probabilistic polynomial time computa- //doi.org/10.1145/3314221.3314607 tion, as is necessary for cryptographic reduction proofs. The presence of (non-probabilistic) nondeterminism in alterna- Permission to make digital or hard copies of all or part of this work for tive models of concurrency would frustrate such reduction personal or classroom use is granted without fee provided that copies are not proofs. ITMs sidestep this issue by having a deterministic made or distributed for profit or commercial advantage and that copies bear (modulo random coin tosses), “single-threaded” execution se- this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with mantics. That is, processes pass control from one to another credit is permitted. To copy otherwise, or republish, to post on servers or to each time a message is sent so that exactly one process is ac- redistribute to lists, requires prior specific permission and/or a fee. Request tive at any given time, and, moreover, the order of activations permissions from [email protected]. is fully determined. PLDI ’19, June 22–26, 2019, Phoenix, AZ, USA In this paper, we take up the challenge of faithfully cap- © 2019 Association for Computing Machinery. turing these idioms by designing a new process calculus ACM ISBN 978-1-4503-6712-7/19/06...$15.00 https://doi.org/10.1145/3314221.3314607 called the Interactive Lambda Calculus (ILC), which adapts PLDI ’19, June 22–26, 2019, Phoenix, AZ, USA Kevin Liao, Matthew A. Hammer, and Andrew Miller ITMs to a subset of the c-calculus [43] through an affine 2 Overview typing discipline. In other words, well-typed ILC programs We first provide background on the universal composability are expressible as ITMs. We then use ILC to build a concrete, framework and then give a tour of ILC. executable implementation of a simplified UC framework, dubbed SaUCy. 2.1 Background on Universal Composability Security proofs in the UC framework follow the real/ideal 1.1 Interactive Lambda Calculus paradigm [26]. To carry out some cryptographic task in the real world, we define a distributed protocol that achieves the Why do we need another process calculus in the first place? task across many untrusted processes. Then, to show that it Where do existing ones fall short? On the one hand, process is secure, we compare it with an idealized protocol in which calculi such as the c-calculus [43] and its cryptography- processes simply rely on a single trusted process to carry out oriented variants [1, 2, 35] are not a good fit to ITMs, since the task for them (and so security is satisfied trivially). they permit non-confluent reductions by design (i.e., non- The program for this single trusted process is called an probabilistic nondeterminism). On the other hand, various ideal functionality as it provides a uniform way to describe all other calculi that do enjoy confluence are overly restrictive, the security properties we want from the protocol. Roughly only allowing for fixed or two-party communications [10, speaking, we say a protocol c realizes an ideal functionality 24, 30]. F (i.e., it meets its specification) if every adversarial behavior ILC fills this gap by adapting ITMs to a subset ofthe c- in the real world can also be exhibited in the ideal world. calculus through an affine typing discipline. To maintain Once we have defined c and F , proving realization for- that only one process is active (can write) at any given time, mally follows a standard rhythm: processes implicitly pass around an affine “write token” by virtue of where they perform read and write effects: When 1. The first step is a construction: We must provide a sim- c process 퐴 writes to process 퐵, process 퐴 “spends” the write ulator S that translates any attack A on the protocol token and process 퐵 “earns” the write token. Moreover, to into an attack on F . maintain that the order of activations is fully determined, 2. The second step is a relational analysis: We must show c the read endpoints of channels are (non-duplicable) affine that running under attack by any adversary A (the real resources, and so each write operation corresponds to a world) is indistinguishable from running F under attack single, unique read operation. Together, these give ILC its by S (the ideal world) to any distinguisher Z called the central metatheoretic property of confluence. environment. The importance of confluence is that the only nondeter- In particular, Z is an adaptive distinguisher: It interacts with minism in an ILC program is due to random coin tosses taken both the real world and the ideal world, and the simulation by processes, which have a well-defined distribution. Addi- is sound if no Z can distinguish between the two. tionally, any apparent concurrency hazards, such as adversar- As mentioned, the primary goal of this framework is com- ial scheduling of messages in an asynchronous network, are positionality. Suppose a protocol c is a protocol module that due to an explicit adversary process rather than uncertainty realizes a functionality F (a specification of the module), built into the model itself. This eliminates non-probabilistic and suppose a protocol d, which relies on F as a subroutine, nondeterminism, and so ILC programs are amenable to the in turn realizes an application specification functionality G. reasoning patterns necessary for establishing computational Then, the composed protocol d ◦ c, in which calls to F are security guarantees. replaced by calls to c, also realizes G. Instead of analyzing the composite protocol consisting of d and c, it suffices to analyze the security of d itself in the simpler world with F , 1.2 Contributions the idealized version of c. To summarize, our main contributions are these: Finally, the UC framework is defined atop the underlying computational model of interactive Turing machines (ITMs). • We design a foundational calculus for the purpose of sys- In the ITM model, processes pass control from one to another temizing UC called the Interactive Lambda Calculus, which each time a message is sent so that exactly one process is active exhibits confluence and is a faithful abstraction of ITMs. at any given time, and, moreover, the order of activations • We use ILC to build a concrete, executable implementation is fully determined.
Recommended publications
  • A Second Note on the Feasibility of Generalized Universal Composability
    A final version of this paper appeared in Math. Struct. in Comp. Science, 2016. This is the preliminary full version. A Second Note on the Feasibility of Generalized Universal Composability ALONSOGONZ ALEZ´ y and A L E J A N D R O H E V I Az Departamento de Ciencias de la Computaci´on,Universidad de Chile. [email protected], [email protected]. Received 2 October 2014; revised 11 May 2016 Yao et al. (YYZ09a; YYZ07) claimed a potential limitation on the class of protocols that could be securely implemented in the Generalized Universal Composability (GUC) framework proposed by Canetti et al. (CDPW07). Specifically, Yao et al. presented a concrete attack on a GUC Zero Knowledge (GUCZK) protocol, a natural adaptation Blum's ZK proof for Directed Hamiltonicity using the general GUC feasibility of (CDPW07). Interestingly, the attack was not analyzed in the GUC model in (YYZ09a) but in the FUC model, a new UC-like framework proposed in the same work. Nonetheless, Yao et al. (YYZ09a) argued that, in light of this attack, GUC would lose its concurrent general composability and proof of knowledge properties. Concretely, they argue that GUC composability would now be with respect to some adversaries with limited access to external arbitrary protocols. In this work, we show that the claimed attack from Yao et al. is indeed harmless and does not contradict the security of the mentioned GUCZK protocol, thus restoring the general feasibility for GUC. 1. Introduction The Universal Composability framework (UC), introduced by Canetti (Can01), allows designing protocols whose security is maintained even when composed with any other arbitrary protocol (i.e.
    [Show full text]
  • Universally Composable Security: a New Paradigm for Cryptographic Protocols∗
    Universally Composable Security: A New Paradigm for Cryptographic Protocols∗ Ran Canettiy February 11, 2020 Abstract We present a general framework for describing cryptographic protocols and analyzing their security. The framework allows specifying the security requirements of practically any crypto- graphic task in a unified and systematic way. Furthermore, in this framework the security of protocols is preserved under a general composition operation, called universal composition. The proposed framework with its security-preserving composition operation allows for mod- ular design and analysis of complex cryptographic protocols from simpler building blocks. More- over, within this framework, protocols are guaranteed to maintain their security in any context, even in the presence of an unbounded number of arbitrary protocol sessions that run concur- rently in an adversarially controlled manner. This is a useful guarantee, which allows arguing about the security of cryptographic protocols in complex and unpredictable environments such as modern communication networks. Keywords: cryptographic protocols, security analysis, protocol composition, universal composi- tion. ∗An extended abstract of this work appears in the proceedings of the 42nd Foundations of Computer Science conference, 2001. This is an updated version. While the overall spirit and the structure of the definitions and results in this paper has remained the same, many important details have changed. We point out and motivate the main differences as we go along. Earlier versions of this work appeared in December 2018, July 2013, Decem- ber and January 2005, and October 2001, under the same title, and in December 2000 under the title \A unified framework for analyzing security of protocols". These earlier versions can be found at the ECCC archive, TR 01-16 (http://eccc.uni-trier.de/eccc-reports/2001/TR01-016); however they are not needed for understanding this work and have only historic significance.
    [Show full text]
  • Careful with Composition: Limitations of Indifferentiability and Universal Composability
    A preliminary version of this paper appeared in: T. Ristenpart, H. Shacham, and T. Shrimpton. Careful with Composition: Limitations of the Indifferentia- bility Framework. Advances in Cryptology – EUROCRYPT ’11, LNCS vol. 6632, pp. 487–506, Kenneth Paterson ed., Springer, 2011. Careful with Composition: Limitations of Indifferentiability and Universal Composability Thomas Ristenpart∗ Hovav Shachamy Thomas Shrimptonz June 22, 2011 Abstract We exhibit a hash-based storage auditing scheme which is provably secure in the random-oracle model (ROM), but easily broken when one instead uses typical indifferentiable hash constructions. This contradicts the widely accepted belief that the indifferentiability composition theorem applies to any cryptosystem. We characterize the uncovered limitation of the indifferentiability framework by show- ing that the formalizations used thus far implicitly exclude security notions captured by experiments that have multiple, disjoint adversarial stages. Examples include deterministic public-key encryption (PKE), password-based cryptography, hash function nonmalleability, key-dependent message security, and more. We formalize a stronger notion, reset indifferentiability, that enables an indifferentiability- style composition theorem covering such multi-stage security notions, but then show that practical hash constructions cannot be reset indifferentiable. We discuss how these limitations also affect the universal composability framework. We finish by showing the chosen-distribution attack security (which requires a multi-stage game) of some important public-key encryption schemes built using a hash construction paradigm introduced by Dodis, Ristenpart, and Shrimpton. 1 Introduction The indifferentiability framework of Maurer, Renner, and Holenstein (MRH) [51] supports modular proofs of security for cryptosystems. It can be viewed, informally, as a special case of the Universal Composition (UC) framework [27, 53], which inspired it.
    [Show full text]
  • Universally Composable RFID Identification and Authentication
    Universally Composable RFID Identification and Authentication Protocols MIKE BURMESTER Florida State University, Tallahassee TRI VAN LE and BRENO DE MEDEIROS Google, Inc. 1600 Amphitheatre, Parkway Mountain View and GENE TSUDIK University of California, Irvine As the number of RFID applications grows and RFID tags begin to enter many aspects of everyday life, concerns about their security and privacy become greatly amplified. At the same time, the acutely restricted and cost-sensitive nature of RFID tags rules out simple re-use of existing traditional security/privacy solutions and calls for a new generation of extremely lightweight identification and authentication protocols. This paper describes a universally composable security framework tuned especially for RFID applications. By making RFID-specific setup, communication, and concurrency assumptions, we arrive at a model that guarantees strong security, privacy and availability properties, while per- mitting the design of practical RFID protocols. The framework supports modular deployment, which is most appropriate for ubiquitous applications. As an instantiation of the proposed frame- work, this paper describes a set of simple, efficient, secure and anonymous (untraceable) RFID identification and authentication protocols. These protocols involve minimal interaction between a tag and a reader and place only a small computational load on the tag. They also impose little computational burden on the back-end server. We show that our protocols are provably secure within the proposed universally composable framework. Categories and Subject Descriptors: K.6.5 [Management of Computing and Information Systems]: Security and Protection—Authentication; K.6.5 [Management of Computing and Information Systems]: Miscellaneous—Security; C.3 [Special-Purpose and Application- Based Systems]: Real-time and embedded systems General Terms: Design, Security, Theory Additional Key Words and Phrases: RFID Security, Authentication and Key-Exchange Protocols, Universal Composability 1.
    [Show full text]
  • Hawk: the Blockchain Model of Cryptography and Privacy-Preserving Smart Contracts
    Hawk: The Blockchain Model of Cryptography and Privacy-Preserving Smart Contracts Ahmed Kosba∗, Andrew Miller∗, Elaine Shiy, Zikai Weny, Charalampos Papamanthou∗ ∗University of Maryland and yCornell University fakosba, [email protected], frs2358, [email protected], [email protected] Abstract—Emerging smart contract systems over decentralized privacy. Such a blockchain provides a powerful abstraction for cryptocurrencies allow mutually distrustful parties to transact the design of distributed protocols. safely without trusted third parties. In the event of contrac- The blockchain’s expressive power is further enhanced by tual breaches or aborts, the decentralized blockchain ensures that honest parties obtain commensurate compensation. Existing the fact that blockchains naturally embody a discrete notion systems, however, lack transactional privacy. All transactions, of time, i.e., a clock that increments whenever a new block including flow of money between pseudonyms and amount is mined. The existence of such a trusted clock is crucial transacted, are exposed on the blockchain. for attaining financial fairness in protocols. In particular, We present Hawk, a decentralized smart contract system that malicious contractual parties may prematurely abort from a does not store financial transactions in the clear on the block- chain, thus retaining transactional privacy from the public’s view. protocol to avoid financial payment. However, with a trusted A Hawk programmer can write a private smart contract in an clock, timeouts can be employed to make such aborts evident, intuitive manner without having to implement cryptography, and such that the blockchain can financially penalize aborting our compiler automatically generates an efficient cryptographic parties by redistributing their collateral deposits to honest, protocol where contractual parties interact with the blockchain, non-aborting parties.
    [Show full text]
  • Theoretical Computer Science a Note on Universal Composable
    Theoretical Computer Science 410 (2009) 1099–1108 Contents lists available at ScienceDirect Theoretical Computer Science journal homepage: www.elsevier.com/locate/tcs A note on universal composable zero-knowledge in the common reference string modelI Andrew C.C. Yao a, Frances F. Yao b, Yunlei Zhao c,∗ a Institute for Theoretical Computer Science, Tsinghua University, Beijing, China b Department of Computer Science, City University of Hong Kong, China c Software School, Fudan University, Shanghai, China article info a b s t r a c t Keywords: Pass observed that universal composable zero-knowledge (UCZK) protocols in the common Cryptographic protocols reference string (CRS) model lose deniability that is a natural security property and Universal composability implication of the ZK functionality in accordance with the UC framework. An open problem Zero-knowledge Proof of knowledge (or, natural query) raised in the literature is: are there any other essential security Common reference string properties, other than the well-known deniability property, that could be lost by UCZK in the CRS model, in comparison with the ZK functionality in accordance with the UC framework? In this work, we answer this open question (or, natural query), by showing that when running concurrently with other protocols UCZK in the CRS model can lose proof of knowledge (POK) property that is very essential and core security implication of the ZK functionality. This is demonstrated by concrete attack against naturally existing UCZK protocols in the CRS model. Then, motivated by our attack, we make further clarifications of the underlying reasons beneath the concrete attack, and investigate the precise security guarantee of UC with CRS.
    [Show full text]
  • Universally Composable Protocols with Relaxed Set-Up Assumptions ¡ Boaz Barak Ran Canetti Jesper Buus Nielsen Rafael Pass Inst
    Universally Composable Protocols with Relaxed Set-up Assumptions ¡ Boaz Barak Ran Canetti Jesper Buus Nielsen Rafael Pass Inst. for Advanced Study IBM Research ETH Zurich¨ MIT [email protected] [email protected] [email protected] [email protected] Abstract of instances of the protocol, as well as arbitrary other pro- tocols. Indeed, it has been demonstrated time and again A desirable goal for cryptographic protocols is to guar- that adversarially-coordinated interactions between differ- antee security when the protocol is composed with other ent protocol instances can compromise the security of pro- protocol instances. Universally Composable (UC) protocols tocols that were demonstrated to be secure when run in provide this guarantee in a strong sense: A protocol re- isolation (see, e.g., [GK90, DDN00, KSW97, DNS98]). A nat- mains secure even when composed concurrently with an un- ural way for guaranteeing security of protocols in such bounded number of instances of arbitrary protocols. How- complex execution environments is to require that pro- ever, UC protocols for carrying out general tasks are known tocols satisfy a notion of security that provides a gen- to exist only if a majority of the participants are honest, or eral secure composability guarantee. That is, it should in the common reference string (CRS) model where all par- be guaranteed that a secure protocol maintains its se- ties are assumed to have access to a common string that curity even when composed with (i.e., runs alongside) is drawn from some pre-defined distribution. Furthermore, arbitrary other protocols. Such a general notion of secu- carrying out many interesting tasks in a UC manner and rity is provided by the universally composable (UC) security without honest majority or set-up assumptions is impos- framework [C01], which provides a very general com- sible, even if ideally authenticated communication is pro- posability property: A secure protocol is guaranteed to vided.
    [Show full text]
  • New Notions of Security: Achieving Universal Composability Without Trusted Setup
    New Notions of Security: Achieving Universal Composability without Trusted Setup Manoj Prabhakaran∗ Amit Sahai† Princeton University Princeton University June 12, 2004 Preliminary Version Abstract We propose a modification to the framework of Universally Composable (UC) security [3]. Our new notion, involves comparing the protocol executions with an ideal execution involving ideal functionalities (just as in UC-security), but allowing the environment and adversary access to some super-polynomial computational power. We argue the meaningfulness of the new notion, which in particular subsumes many of the traditional notions of security. We generalize the Universal Composition theorem of [3] to the new setting. Then under new com- putational assumptions, we realize secure multi-party computation (for static adversaries) without a common reference string or any other set-up assumptions, in the new framework. This is known to be impossible under the UC framework. 1 Introduction Over the last two decades, there has been tremendous success in placing cryptography on a sound theoretical foundation, and building an amazingly successful theory out of it. The key elements in this Modern Cryp- tographic Theory are the definitions capturing the intuitive, yet elusive notions of security in the various cryptographic settings. The definitions of early 80’s proved to be extremely successful in this regard. But with time, as the theory started addressing more and more complex concerns, further notions of security had to be introduced. One of the most important concerns theory ventured into is of complex environments where the different parties are communicating with each other concurrently in many different protocols. The original definitions turned out to be inadequate to handle this.
    [Show full text]
  • Universally Composable Key-Management Steve Kremer, Robert Kunnemann, Graham Steel
    Universally Composable Key-Management Steve Kremer, Robert Kunnemann, Graham Steel To cite this version: Steve Kremer, Robert Kunnemann, Graham Steel. Universally Composable Key-Management. 2012. hal-00686535 HAL Id: hal-00686535 https://hal.inria.fr/hal-00686535 Preprint submitted on 10 Apr 2012 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Universally Composable Key-Management Steve Kremer1, Robert Kunnemann¨ 2, and Graham Steel2 1 LORIA & INRIA Nancy { Grand-Est 2 LSV & INRIA Saclay { ^Ile-de-France Abstract. We present the first key-management functionality in the Universal Composability (UC) framework. It allows the enforcement of a wide range of security policies and can be extended by diverse key usage operations with no need to repeat the security proof. We illustrate its use by proving an implementation of a Security API secure with respect to arbitrary key-usage operations and explore a proof technique that allows the storage of cryptographic keys externally, a novel development in the UC framework. Keywords: Key management, Security APIs, Universal Composability Table of Contents Universally Composable Key-Management ::::::::::::::::::::::::::: 1 Steve Kremer, Robert Kunnemann,¨ and Graham Steel 1 Introduction...................................................2 2 A key-management functionality .
    [Show full text]
  • Adaptive Universal Composability Framework for Server-Aided Threshold Signature
    Research Journal of Applied Sciences, Engineering and Technology 5(1): 270-274, 2013 ISSN: 2040-7459; e-ISSN: 2040-7467 © Maxwell Scientific Organization, 2013 Submitted: June 02, 2012 Accepted: June 23, 2012 Published: January 01, 2013 Adaptive Universal Composability Framework for Server-Aided Threshold Signature Xuan Hong and Luqun Li Department of Computer Science and Technology, Shanghai Normal University, Shanghai 200234, China Abstract: The threshold signature scheme is a protocol that allows any subset of t parties out of n to generate a signature. Since the t members can cooperate together to compute the secret key, we introduce the server-aided threshold signature, which provides controllability for activating the signing function in a certain enhanced way. In this study, we present a server-aided threshold RSA signature protocol against the adaptive attacks. We give the universally composable secure model for the server-aided threshold signature primitive and prove that the proposed protocol is claimed to be well-formed, correct and unforgeability. As a separate contribution we also prove that it is also secure in the adaptive universal composability framework. After the discussion about the security and the performance, we claim that the protocol is practical and efficient. Keywords: Adaptive security, server-aided, threshold signature, universal composability framework INTRODUCTION that the password is divided into several pieces which are shared among a group of members. Only at least t A threshold signature scheme is a protocol that members together have the privilege to access the allows any subset of t parties out of n to generate a classified file. However, when some t members are signature.
    [Show full text]
  • A Framework for Practical Universally Composable Zero-Knowledge Protocols?
    A Framework for Practical Universally Composable Zero-Knowledge Protocols? Jan Camenisch1, Stephan Krenn2, and Victor Shoup3 1 IBM Research { Zurich, R¨uschlikon, Switzerland [email protected] 2 Bern University of Applied Sciences, Biel-Bienne, Switzerland, and University of Fribourg, Switzerland [email protected] 3 Department of Computer Science, New York University, USA [email protected] Abstract. Zero-knowledge proofs of knowledge (ZK-PoK) for discrete logarithms and related problems are indispensable for practical crypto- graphic protocols. Recently, Camenisch, Kiayias, and Yung provided a specification language (the CKY-language) for such protocols which al- lows for a modular design and protocol analysis: for every zero-knowledge proof specified in this language, protocol designers are ensured that there exists an efficient protocol which indeed proves the specified statement. However, the protocols resulting from their compilation techniques only satisfy the classical notion of ZK-PoK, which is not retained are when they used as building blocks for higher-level applications or composed with other protocols. This problem can be tackled by moving to the Universal Composability (UC) framework, which guarantees retention of security when composing protocols in arbitrary ways. While there exist generic transformations from Σ-protocols to UC-secure protocols, these transformation are often too inefficient for practice. In this paper we introduce a specification language akin to the CKY- language and a compiler such that the resulting protocols are UC-secure and efficient. To this end, we propose an extension of the UC-framework addressing the issue that UC-secure zero-knowledge proofs are by defini- tion proofs of knowledge, and state a special composition theorem which allows one to use the weaker { but more efficient and often sufficient { notion of proofs of membership in the UC-framework.
    [Show full text]
  • Key Confirmation and Adaptive Corruptions in the Protocol Security
    Key confirmation and adaptive corruptions in the protocol security logic Prateek Gupta and Vitaly Shmatikov The University of Texas at Austin Abstract. Cryptographic security for key exchange and secure session estab- lishment protocols is often defined in the so called “adaptive corruptions” model. Even if the adversary corrupts one of the participants in the middle of the proto- col execution and obtains the victim’s secrets such as the private signing key, the victim must be able to detect this and abort the protocol. This is usually achieved by adding a key confirmation message to the protocol. Conventional symbolic methods for protocol analysis assume unforgeability of digital signatures, and thus cannot be used to reason about security in the adaptive corruptions model. We present a symbolic protocol logic for reasoning about authentication and key confirmation in key exchange protocols. The logic is cryptographically sound: a symbolic proof of authentication and secrecy implies that the protocol is secure in the adaptive corruptions model. We illustrate our method by formally proving security of an authenticated Diffie-Hellman protocol with key confirmation. 1 Introduction The two dominant models for analysis of security protocols are the conventional cryptographic model, which aims to prove that the protocol is secure against any efficient adversarial algorithm, and the so called “Dolev-Yao” model, in which proofs are carried out in a symbolic logic or a process calculus. For many (but by no means all) cryptographic primitives, the Dolev-Yao abstraction is computationally sound, that is, symbolic proofs of security for protocols in which the primitive is replaced by its Dolev-Yao abstraction imply cryptographic security.
    [Show full text]