Demonstration

Total Page:16

File Type:pdf, Size:1020Kb

Demonstration Outline • Some Math Essentials & History • Asymmetric signatures and key exchange ISA 662 • Asymmetric encryption Internet Security Protocols • Symmetric MACs Lecture 2 ISA 662 1 2 Beauty of Mathematics Prime Numbers (I) x Percentage Percentage x/(ln x - 1) Percentage Demonstration 1,000 168 16.8% 169 16.9% 10,000 1,229 12.3% 1,218 12.2% Pick a number from 10 to 99 100,000 9,592 9.6% 9,512 9.5% At the 2 digits, for example: 1,000,000 78,498 7.8% 78,030 7.8% 10,000,000 664,579 6.6% 661,459 6.6% If you chose 51, you would add 5+1=6 100,000,000 5,761,455 5.8% 5,740,304 5.7% Then subtract the result from the original number 1,000,000,000 50,847,534 5.1% 50,701,542 5.1% 10,000,000,000 455,052,511 4.6% 454,011,971 4.5% So 51-6=45 • Prime numbers “thin out” as the numbers get larger (Demonstration shown in class) • There are 25primes <100, so density is 1 in 4. • Ten digit number, density is 1 in 23. • Hundred digit number, density is 1 in 230. 3 4 Division (I) Division (II) (also called counting numbers) 5 6 1 Division (III) Common Divisors (I) 7 8 Common Divisors (II) Euler’s Totient Function (I) • Leonhard Euler – Swiss mathematician and physicist – First to use the term function. – Lived in the 1700’s in Z * • Totient function ø(n): |Zn | – number of integers less than n and relatively prime to n – If n is prime, ø(n)= n-1 – If n=p∗q, and p, q are primes, ø(n)=( p-1)( q-1) – If p is prime and k>0, ø(pk) =( p-1) pk-1 9 10 Euler’s Totient Function (II) Motivation 1- Key Distribution Problem • Examples: • In a secret key cryptosystem, the secret key must be ø(7)= 7*(1-(1/7))=6 {1,2,3,4,5,6} transmitted via a secure channel Or ø(7) =7-1=6, because 7 is prime • Inconvenient – nparties want to communicate with each other, how many keys total keys are needed and how many other keys must each n ø(10)= 10*(1-(1/2)*(1-(1/5))=4 {1,3,7,9} store? n entities – There will be n(n-1) / 2 keys total ø(18)= 18*(1-(1/2)*(1-(1/3))=6 {1,5,7,11,13,17} Each entity has to store n-1 keys • Insecure ø(21)= 21*(1-(1/3)*(1-(1/7))=12 – Is the secure channel really secure? {1,2,4,5,8,10,11,13,16,17,19,20} Or ø(21)= ø(3.7)= ø(3). ø(7)= 2.6 = 12 • Public key cryptosystem solves the problem – Public key known by everyone – telephone directory – Privacy key is never transmitted 11 12 2 How many Symmetric Keys needed? Motivation 2- Digital Signature Administration Problems: Total Keys n Keys Stored • In a secret key cryptosystem, authentication and – Adding new entities 2 2 1 non-repudiation may be difficult – Removing existing entities 3 3 2 4 6 3 – Changing keys 5 10 4 • Authentication 6 15 5 – You must share a secret key with someone in order to 7 21 6 8 28 7 verify his signature 9 36 8 10 45 9 • Non-repudiation 11 55 10 – “I didn’t sign it. You did since you also have the key” 12 66 11 13 78 12 • Public key cryptosystem solves the problem 14 91 13 15 105 14 – Verification of signature needs only the public key – One is solely responsible for his private key 13 14 Public Key Algorithms Requirements for Public-Key Algorithms • Public key algorithms covered in this class • It is computationally easy to – RSA: encryption and digital signature – generate a (public, private) keypair. – to generate a ciphertext using thepublic key. – Diffie-Hellman: key exchange – to decrypt the ciphertext using theprivate key. – DSA: digital signature – to sign with theprivate key. • Number theory underlies most of public key – to verify the signature with thepublic key. algorithms. • It is computationally infeasible to – determine the private key from thepublic key. – recover the message from the ciphertext and thepublic key. – forge a signature. 15 16 The Big Picture The Basic Idea • Confidentiality: encipher using public key, decipher using private key Plain- Plain- • Integrity/authentication: encipher using private text Encryption Ciphertext Decryption text key, decipher using public key Algorithm INSECURE CHANNEL Algorithm A B Plain- Plain- A B text Encryption Ciphertext Decryption text B's Public Key B's Private Key Algorithm Algorithm RE ‘Signature’ LIA BL E C HA NN EL B's Public Key B's Private Key B's Public Key B 17 AA B18 3 Public Key Model Public Key Encryption 19 20 Public Key Signatures Use of Public-Key Cryptosystems • Encryption/decryption – The sender encrypts a message with the receiver’s public key – Only the receiver can decrypt the message. • Digital signature – The sender signs a message with itsprivate key. – Authentication and non-repudiation • Key exchange – Two sides cooperate to exchange a session key. – Secret key cryptosystems are often used with the session key. 21 22 Goals of Public-Key Cryptanalysis Public-Key Cryptanalysis • Given the public key, cipher text, signature, to • Brute-force attack – Try allpossible keys – find out the private key • Derivation of private key from public key – find out the message encrypted – Try to find the relationshipbetween the public key and the private key and compute theprivate key from the public one. – forge the signature • Probable-message attack – Thepublic key is known. – Encrypt allpossible messages – Try to find a matchbetween the ciphertext and one of the above encrypted messages. – Example: Prof. sends encrypted messages of letter grades to his studentsbased on their public key. 23 24 4 History of Public-Key Schemes Revolution in Cryptography • 1976 – Diffie & Hellman suggested the public-key model • Diffie & Hellman sought to solve 2 problems for encryption and signatures – Find a secure way to distribute keys in the public • 1976 – Diffie & Hellman developed public-key protocol for key-exchange based on Discrete Log Problem – Provide digital signature for document • 1977- Rivest, Shamir, Adelman developed RSA public- • Public key cryptography is based on rigorous key scheme for encryption and signatures based on the mathematical theory, rather than substitutions and Number Factoring Problem permutations. • 1980’s- El-Gamal developed public-key protocols for encryption and signatures based on Discrete Log Problem • It is asymmetric – requires two different keys: private key & public key 25 26 Diffie-Hellman Key Exchange (I) Diffie-Hellman Key Exchange (II) • Published in – W. Diffie and ME Hellman, " New Directions in Cryptography ", in IEEE Transactions on Information Theory, IT-22 no 6 (November 1976) p. 644-654 • The first public key algorithm • Allows two users to agree on a secret key over public channel • No encryption, decryption, nor authentication • What’s involved? – p is a large prime number (about 512 bits), g < p and g is a primitive root of p. – p and g are publicly known 27 28 Diffie-Hellman Key Exchange (III) Diffie-Hellman Man-in-the-middle 29 30 5 Diffie-Hellman Example Hard Number Theory Problems Alice and Bob want to establish a shared secret key • T = gs mod p • Have agree on the value n=353 (prime) and g=3 – Given T, g, p , it is computationally infeasible to compute the • Select the random secret values: value of s (discrete logarithm) – Alice chooses Xa=97, Bob chooses Xb=233 – This is thebasis of the Diffie-Hellman, El-Gamal, and DSS • Derive the public keys: Public-Key Schemes. Xa 97 –Ta= g mod n = 3 mod 353 = 40 (Alice’s) • Another difficult number theory problem, it is to compute Xb 233 –Tb= g mod n = 3 mod 353 = 248 (Bob’s) the product of two primes p and q to obtain n=pq. But it is • Derive the shared secret key difficult to factor the composite number n into its two Xa 97 – K = Tb mod n = 248 mod 353 = 160 (Alice’s) prime factors p and q. Xb 233 – K = Ta mod n = 40 mod 353 = 160 (Bob’s) – This is thebasis of the RSA Public-Key scheme 31 32 Diffie-Hellman Scheme Diffie-Hellman in Phone Book Mode • Security factors • DH is subject to active man-in-the-middle attack – Discrete logarithm very difficult. because their public key-component may be intercepted and substituted – Shared key (the secret) itself never transmitted. • Phone book mode allows everyone to generate the • Disadvantages: public key-component in advance and publish them – Expensive exponential operation through other reliable means – Cannot be used to encrypt anything. • All communicating parties agree on their common < g, – No authentication, so you can not sign anything. p> • Essential requirement : authenticity of the public key. 33 34 RSA (Rivest, Shamir, Adleman) Number Factoring • Published in – R. Rivest, A. Shamir, and L. Adleman, " A Method for Obtaining Digital Signatures and Public-Key Cryptosystems ", CACM 21, pp. 120--126, Feb. 1978 – The first public key encryption and signature system • Support both public key encryption and digital signature. • Assumption/theoretical basis: – Factorization of large primes is hard. • Variable key length (usually 1024 bits). • Variable plaintext block size. – Plaintext must be “smaller” than the key. – Ciphertext block size is the same as the key length. How about Tomorrow’s computers? 35 36 6 Quantum Computing The RSA Algorithm • A classical computer has a memory made up of bits, where each bit holds either a one or a zero. The device computes by manipulating those bits, i.e.
Recommended publications
  • The Order of Encryption and Authentication for Protecting Communications (Or: How Secure Is SSL?)?
    The Order of Encryption and Authentication for Protecting Communications (Or: How Secure is SSL?)? Hugo Krawczyk?? Abstract. We study the question of how to generically compose sym- metric encryption and authentication when building \secure channels" for the protection of communications over insecure networks. We show that any secure channels protocol designed to work with any combina- tion of secure encryption (against chosen plaintext attacks) and secure MAC must use the encrypt-then-authenticate method. We demonstrate this by showing that the other common methods of composing encryp- tion and authentication, including the authenticate-then-encrypt method used in SSL, are not generically secure. We show an example of an en- cryption function that provides (Shannon's) perfect secrecy but when combined with any MAC function under the authenticate-then-encrypt method yields a totally insecure protocol (for example, ¯nding passwords or credit card numbers transmitted under the protection of such protocol becomes an easy task for an active attacker). The same applies to the encrypt-and-authenticate method used in SSH. On the positive side we show that the authenticate-then-encrypt method is secure if the encryption method in use is either CBC mode (with an underlying secure block cipher) or a stream cipher (that xor the data with a random or pseudorandom pad). Thus, while we show the generic security of SSL to be broken, the current practical implementations of the protocol that use the above modes of encryption are safe. 1 Introduction The most widespread application of cryptography in the Internet these days is for implementing a secure channel between two end points and then exchanging information over that channel.
    [Show full text]
  • Multi-Device for Signal
    Multi-Device for Signal S´ebastienCampion3, Julien Devigne1, C´elineDuguey1;2, and Pierre-Alain Fouque2 1 DGA Maˆıtrisede l’information, Bruz, France [email protected] 2 Irisa, Rennes, France, [email protected], [email protected] Abstract. Nowadays, we spend our life juggling with many devices such as smartphones, tablets or laptops, and we expect to easily and efficiently switch between them without losing time or security. However, most ap- plications have been designed for single device usage. This is the case for secure instant messaging (SIM) services based on the Signal proto- col, that implements the Double Ratchet key exchange algorithm. While some adaptations, like the Sesame protocol released by the developers of Signal, have been proposed to fix this usability issue, they have not been designed as specific multi-device solutions and no security model has been formally defined either. In addition, even though the group key exchange problematic appears related to the multi-device case, group solutions are too generic and do not take into account some properties of the multi-device setting. Indeed, the fact that all devices belong to a single user can be exploited to build more efficient solutions. In this paper, we propose a Multi-Device Instant Messaging protocol based on Signal, ensuring all the security properties of the original Signal. Keywords: cryptography, secure instant messaging, ratchet, multi-device 1 Introduction 1.1 Context Over the last years, secure instant messaging has become a key application ac- cessible on smartphones. In parallel, more and more people started using several devices - a smartphone, a tablet or a laptop - to communicate.
    [Show full text]
  • A Novel Asymmetric Hyperchaotic Image Encryption Scheme Based on Elliptic Curve Cryptography
    applied sciences Article A Novel Asymmetric Hyperchaotic Image Encryption Scheme Based on Elliptic Curve Cryptography Haotian Liang , Guidong Zhang *, Wenjin Hou, Pinyi Huang, Bo Liu and Shouliang Li * School of Information Science and Engineering, Lanzhou University, Lanzhou 730000, China; [email protected] (H.L.); [email protected] (W.H.); [email protected] (P.H.); [email protected] (B.L.) * Correspondence: [email protected] (G.Z.); [email protected] (S.L.); Tel.: +86-185-0948-7799 (S.L.) Abstract: Most of the image encryption schemes based on chaos have so far employed symmetric key cryptography, which leads to a situation where the key cannot be transmitted in public channels, thus limiting their extended application. Based on the elliptic curve cryptography (ECC), we proposed a public key image encryption method where the hash value derived from the plain image was encrypted by ECC. Furthermore, during image permutation, a novel algorithm based on different- sized block was proposed. The plain image was firstly divided into five planes according to the amount of information contained in different bits: the combination of the low 4 bits, and other four planes of high 4 bits respectively. Second, for different planes, the corresponding method of block partition was followed by the rule that the higher the bit plane, the smaller the size of the partitioned block as a basic unit for permutation. In the diffusion phase, the used hyperchaotic sequences in permutation were applied to improve the efficiency. Lots of experimental simulations and cryptanalyses were implemented in which the NPCR and UACI are 99.6124% and 33.4600% Citation: Liang, H.; Zhang, G.; Hou, respectively, which all suggested that it can effectively resist statistical analysis attacks and chosen W.; Huang, P.; Liu, B.; Li, S.
    [Show full text]
  • Trivia: a Fast and Secure Authenticated Encryption Scheme
    TriviA: A Fast and Secure Authenticated Encryption Scheme Avik Chakraborti1, Anupam Chattopadhyay2, Muhammad Hassan3, and Mridul Nandi1 1 Indian Statistical Institute, Kolkata, India [email protected], [email protected] 2 School of Computer Engineering, NTU, Singapore [email protected] 3 RWTH Aachen University, Germany [email protected] Abstract. In this paper, we propose a new hardware friendly authen- ticated encryption (AE) scheme TriviA based on (i) a stream cipher for generating keys for the ciphertext and the tag, and (ii) a pairwise in- dependent hash to compute the tag. We have adopted one of the ISO- standardized stream ciphers for lightweight cryptography, namely Triv- ium, to obtain our underlying stream cipher. This new stream cipher has a state that is a little larger than the state of Trivium to accommodate a 128-bit secret key and IV. Our pairwise independent hash is also an adaptation of the EHC or \Encode-Hash-Combine" hash, that requires the optimum number of field multiplications and hence requires small hardware footprint. We have implemented the design in synthesizable RTL. Pre-layout synthesis, using 65 nm standard cell technology under typical operating conditions, reveals that TriviA is able to achieve a high throughput of 91:2 Gbps for an area of 24:4 KGE. We prove that our construction has at least 128-bit security for privacy and 124-bit security of authenticity under the assumption that the underlying stream cipher produces a pseudorandom bit stream. Keywords: Trivium, stream cipher, authenticated encryption, pairwise independent, EHC, TriviA. 1 Introduction The emergence of Internet-of-Things (IoT) has made security an extremely im- portant design goal.
    [Show full text]
  • Cryptanalysis of Globalplatform Secure Channel Protocols
    Cryptanalysis of GlobalPlatform Secure Channel Protocols Mohamed Sabt1;2, Jacques Traor´e1 1 Orange Labs, 42 rue des coutures, 14066 Caen, France fmohamed.sabt, [email protected] 2 Sorbonne universit´es,Universit´ede technologie de Compi`egne, Heudiasyc, Centre de recherche Royallieu, 60203 Compi`egne,France Abstract. GlobalPlatform (GP) card specifications are the de facto standards for the industry of smart cards. Being highly sensitive, GP specifications were defined regarding stringent security requirements. In this paper, we analyze the cryptographic core of these requirements; i.e. the family of Secure Channel Protocols (SCP). Our main results are twofold. First, we demonstrate a theoretical attack against SCP02, which is the most popular protocol in the SCP family. We discuss the scope of our attack by presenting an actual scenario in which a malicious entity can exploit it in order to recover encrypted messages. Second, we inves- tigate the security of SCP03 that was introduced as an amendment in 2009. We find that it provably satisfies strong notions of security. Of par- ticular interest, we prove that SCP03 withstands algorithm substitution attacks (ASAs) defined by Bellare et al. that may lead to secret mass surveillance. Our findings highlight the great value of the paradigm of provable security for standards and certification, since unlike extensive evaluation, it formally guarantees the absence of security flaws. Keywords: GlobalPlatform, secure channel protocol, provable security, plaintext recovery, stateful encryption 1 Introduction Nowadays, smart cards are already playing an important role in the area of in- formation technology. Considered to be tamper resistant, they are increasingly used to provide security services [38].
    [Show full text]
  • The RSA Algorithm
    The RSA Algorithm Evgeny Milanov 3 June 2009 In 1978, Ron Rivest, Adi Shamir, and Leonard Adleman introduced a cryptographic algorithm, which was essentially to replace the less secure National Bureau of Standards (NBS) algorithm. Most impor- tantly, RSA implements a public-key cryptosystem, as well as digital signatures. RSA is motivated by the published works of Diffie and Hellman from several years before, who described the idea of such an algorithm, but never truly developed it. Introduced at the time when the era of electronic email was expected to soon arise, RSA implemented two important ideas: 1. Public-key encryption. This idea omits the need for a \courier" to deliver keys to recipients over another secure channel before transmitting the originally-intended message. In RSA, encryption keys are public, while the decryption keys are not, so only the person with the correct decryption key can decipher an encrypted message. Everyone has their own encryption and decryption keys. The keys must be made in such a way that the decryption key may not be easily deduced from the public encryption key. 2. Digital signatures. The receiver may need to verify that a transmitted message actually origi- nated from the sender (signature), and didn't just come from there (authentication). This is done using the sender's decryption key, and the signature can later be verified by anyone, using the corresponding public encryption key. Signatures therefore cannot be forged. Also, no signer can later deny having signed the message. This is not only useful for electronic mail, but for other electronic transactions and transmissions, such as fund transfers.
    [Show full text]
  • Post-Quantum TLS Without Handshake Signatures Full Version, September 29, 2020
    Post-Quantum TLS Without Handshake Signatures Full version, September 29, 2020 Peter Schwabe Douglas Stebila Thom Wiggers Max Planck Institute for Security and University of Waterloo Radboud University Privacy & Radboud University [email protected] [email protected] [email protected] ABSTRACT Client Server static (sig): pk(, sk( We present KEMTLS, an alternative to the TLS 1.3 handshake that TCP SYN uses key-encapsulation mechanisms (KEMs) instead of signatures TCP SYN-ACK for server authentication. Among existing post-quantum candidates, G $ Z @ 6G signature schemes generally have larger public key/signature sizes compared to the public key/ciphertext sizes of KEMs: by using an ~ $ Z@ ss 6G~ IND-CCA-secure KEM for server authentication in post-quantum , 0, 00, 000 KDF(ss) TLS, we obtain multiple benefits. A size-optimized post-quantum ~ 6 , AEAD (cert[pk( ]kSig(sk(, transcript)kkey confirmation) instantiation of KEMTLS requires less than half the bandwidth of a ss 6~G size-optimized post-quantum instantiation of TLS 1.3. In a speed- , 0, 00, 000 KDF(ss) optimized instantiation, KEMTLS reduces the amount of server CPU AEAD 0 (application data) cycles by almost 90% compared to TLS 1.3, while at the same time AEAD 00 (key confirmation) reducing communication size, reducing the time until the client can AEAD 000 (application data) start sending encrypted application data, and eliminating code for signatures from the server’s trusted code base. Figure 1: High-level overview of TLS 1.3, using signatures CCS CONCEPTS for server authentication. • Security and privacy ! Security protocols; Web protocol security; Public key encryption.
    [Show full text]
  • ECE596C: Handout #15
    ECE596C: Handout #15 Key Distribution Electrical and Computer Engineering, University of Arizona, Loukas Lazos Abstract. In this lecture we describe different key distribution schemes for establishing a shared secret among two or multiple parties. Particularly we present the Diffie-Hellman key distribution scheme and the Blom’s key predistribution scheme. 1 Key Distribution Problem The key distribution problem (KDP) is the problem of establishing and maintaining security asso- ciations (shared secrets) between a network of n users connected via insecure links. The KDP can be classified into the following two stages. – Initialization: During the initialization phase, a trusted party also referred to as Trusted Au- thority (TA) distributes keying information to relevant parties in a secure manner. The keying material can be either used directly to encrypt data, or it can be used to establish new security associations. – Maintenance: During the maintenance phase, the TA, or the network users themselves renew relevant cryptographic secrets to maintain secrecy of the communications (How is maintenance different from the initialization phase?) For the initialization phase, key material can be either preloaded to the network entities before deployment, or can be issued using a temporary secure channel. Using the secure channel, the TA assigns long lived keys to network entities, that are usually only used to derive other keys and not to encrypt data (they are also called key encryption keys). Nodes who wish to securely communicate use their long lived keys to establish a session key that has a much shorter expiration time. Question What determines the expiration time of a key? What are the advantages of having a session key? Parameters considered when designing a key distribution scheme – Resistance to node compromise and collusion.
    [Show full text]
  • Secure Channels Secure Channels • Example Applications – PGP: Pretty Good Privacy CS 161/194-1 – TLS: Transport Layer Security Anthony D
    Main Points • Applying last week’s lectures in practice • Creating Secure Channels Secure Channels • Example Applications – PGP: Pretty Good Privacy CS 161/194-1 – TLS: Transport Layer Security Anthony D. Joseph – VPN: Virtual Private Network September 26, 2005 September 26, 2005 CS161 Fall 2005 2 Joseph/Tygar/Vazirani/Wagner What is a Secure Channel? Plaintext Plaintext Creating Secure Channels Encryption / Internet Encryption / • Authentication and Data Integrity Decryption Decryption Ciphertext and MAC – Use Public Key Infrastructure or third-party server to authenticate each end to the other • A stream with these security requirements: – Add Message Authentication Code for – Authentication integrity • Ensures sender and receiver are who they claim to be – Confidentiality • Confidentiality • Ensures that data is read only by authorized users – Data integrity – Exchange session key for encrypt/decrypt ops • Ensures that data is not changed from source to destination • Bulk data transfer – Non-repudiation (not discussed today) • Ensures that sender can’t deny message and rcvr can’t deny msg • Key Distribution and Segmentation September 26, 2005 CS161 Fall 2005 3 September 26, 2005 CS161 Fall 2005 4 Joseph/Tygar/Vazirani/Wagner Joseph/Tygar/Vazirani/Wagner Symmetric Key-based Symmetric Key-based Secure Channel Secure Channel Alice Bob • Sender (A) and receiver (B) share secret keys KABencrypt KABencrypt – One key for A è B confidentiality KABauth KABauth – One for A è B authentication/integrity Message MAC Compare? Message – Each message
    [Show full text]
  • Further Simplifications in Proactive RSA Signatures
    Further Simplifications in Proactive RSA Signatures Stanislaw Jarecki and Nitesh Saxena School of Information and Computer Science, UC Irvine, Irvine, CA 92697, USA {stasio, nitesh}@ics.uci.edu Abstract. We present a new robust proactive (and threshold) RSA sig- nature scheme secure with the optimal threshold of t<n/2 corruptions. The new scheme offers a simpler alternative to the best previously known (static) proactive RSA scheme given by Tal Rabin [36], itself a simpli- fication over the previous schemes given by Frankel et al. [18, 17]. The new scheme is conceptually simple because all the sharing and proac- tive re-sharing of the RSA secret key is done modulo a prime, while the reconstruction of the RSA signature employs an observation that the secret can be recovered from such sharing using a simple equation over the integers. This equation was first observed and utilized by Luo and Lu in a design of a simple and efficient proactive RSA scheme [31] which was not proven secure and which, alas, turned out to be completely in- secure [29] due to the fact that the aforementioned equation leaks some partial information about the shared secret. Interestingly, this partial information leakage can be proven harmless once the polynomial sharing used by [31] is replaced by top-level additive sharing with second-level polynomial sharing for back-up. Apart of conceptual simplicity and of new techniques of independent interests, efficiency-wise the new scheme gives a factor of 2 improvement in speed and share size in the general case, and almost a factor of 4 im- provement for the common RSA public exponents 3, 17, or 65537, over the scheme of [36] as analyzed in [36].
    [Show full text]
  • Private Authentication
    Private Authentication Mart´ınAbadi University of California at Santa Cruz C´edricFournet Microsoft Research Abstract Frequently, communication between two principals reveals their identities and pres- ence to third parties. These privacy breaches can occur even if security protocols are in use; indeed, they may even be caused by security protocols. However, with some care, security protocols can provide authentication for principals that wish to com- municate while protecting them from monitoring by third parties. We discuss the problem of private authentication and present two protocols for private authentica- tion of mobile principals. Our protocols allow two mobile principals to communicate when they meet at a location if they wish to do so, without the danger of tracking by third parties. We also present the analysis of one of the protocols in the applied pi calculus. We establish authenticity and secrecy properties. Although such properties are fairly standard, their formulation in the applied pi calculus makes an original use of process equivalences. In addition, we treat identity-protection properties, thus exploring a formal model of privacy. 1 Privacy, authenticity, and the applied pi calculus Although privacy may coexist with communication, it often does not, and there is an intrinsic tension between them. Often, effective communication be- tween two principals requires that they reveal their identities to each other. Still, they may wish to reveal nothing to others. Third parties should not be able to infer the identities of the two principals, nor to monitor their move- ments and their communication patterns. For better or for worse, they often can. In particular, a mobile principal may advertise its presence at a location in order to discover and to communicate with certain other principals at the location, thus revealing its presence also to third parties.
    [Show full text]
  • Employing Security Channel Protocol in the NFC Environment
    WHITEPAPER | Employing Security Channel Protocol In the NFC Environment ‘Global Platform’ (GP) created specifications that enabled different players to provide digital services and allow devices to be trusted and managed securely by protecting their privacy. In this regard, GP introduced Secure Channel Protocol (SCP) in smart cards to enable devices to exchange data in open channel and to protect against data skimming and establish secure communication. This white paper throws light on the comprehensive design and lucid implementation of Secure Channel Protocol variant three (SCP03) with a dedicated focus towards contactless smart cards. These cards are based on Near Field Communication (NFC) which is used for user authentication for a secure device. Every approach behind the secure communication, the management of ‘encryption keys’, creation of boundaries that form ‘security domain’s’ and how these enable to create a ‘secure channel’ has been discussed. The document lists out various NIST specification which sets the strength of the encryption keys and enables common compliance criteria. Read on. Authored by: Ravikiran HV Chaitra Patil Reviewed by: Shreeranganath Gupta © 2010-2020 PathPartner Technology Pvt. Ltd. • 1 www.pathpartnertech.com Whitepaper | Securing NFC Environment The Growth of NFC Short range wireless communication is a major feature of NFC technology. With this inherent nature of short range, smart cards evolved to become contactless smart card as it enabled to have contactless feature with communication happening in vicinity of user, which established physical level trust and security for data exchange. Rapid growth of NFC based mobile units and low-cost deployment allowed various industries to adopt this technology for financial transactions, user authentication, secure login to workplace, secure PC login etc.
    [Show full text]