Public Key Infrastructure and Applications

Slides:



Advertisements
Similar presentations
Chapter 10 Encryption: A Matter of Trust. Awad –Electronic Commerce 1/e © 2002 Prentice Hall 2 OBJECTIVES What is Encryption? Basic Cryptographic Algorithm.
Advertisements

Public Key Infrastructure and Applications
Chapter 14 – Authentication Applications
Authentication Applications. will consider authentication functions will consider authentication functions developed to support application-level authentication.
Public Key Infrastructure A Quick Look Inside PKI Technology Investigation Center 3/27/2002.
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
(n)Code Solutions A division of GNFC
© Southampton City Council Sean Dawtry – Southampton City Council The Southampton Pathfinder for Smart Cards in public services.
Internet and Intranet Protocols and Applications Lecture 9a: Secure Sockets Layer (SSL) March, 2004 Arthur Goldberg Computer Science Department New York.
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Grid Security Infrastructure Tutorial Von Welch Distributed Systems Laboratory U. Of Chicago and Argonne National Laboratory.
CSCE 715: Network Systems Security Chin-Tser Huang University of South Carolina.
Public Key Management and X.509 Certificates
Chapter 14 From Cryptography and Network Security Fourth Edition written by William Stallings, and Lecture slides by Lawrie Brown, the Australian Defence.
Authentication Cristian Solano. Cryptography is the science of using mathematics to encrypt and decrypt data. Public Key Cryptography –Problems with key.
Public Key Infrastructure (PKI) Providing secure communications and authentication over an open network.
Security+ Guide to Network Security Fundamentals, Third Edition Chapter 12 Applying Cryptography.
DESIGNING A PUBLIC KEY INFRASTRUCTURE
16.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft® Windows® Server 2003 Active Directory Infrastructure.
Chapter 9: Using and Managing Keys Security+ Guide to Network Security Fundamentals Second Edition.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 9: Planning and Managing Certificate Services.
An Introduction to Security Concepts and Public Key Infrastructure (PKI) Mary Thompson.
Introduction to PKI Seminar What is PKI? Robert Brentrup July 13, 2004.
November 1, 2006Sarah Wahl / Graduate Student UCCS1 Public Key Infrastructure By Sarah Wahl.
Presented by Xiaoping Yu Cryptography and PKI Cosc 513 Operating System Presentation Presented to Dr. Mort Anvari.
CERTIFICATES “a document containing a certified statement, especially as to the truth of something ”
TrustPort Public Key Infrastructure. Keep It Secure Table of contents  Security of electronic communications  Using asymmetric cryptography.
Controller of Certifying Authorities PKI Technology - Role of CCA Assistant Controller (Technology) Controller of Certifying Authorities Ministry of Communications.
Chapter 14 Encryption: A Matter Of Trust. Awad –Electronic Commerce 2/e © 2004 Pearson Prentice Hall 2 OBJECTIVES What is Encryption? Basic Cryptographic.
Principles of Computer Security: CompTIA Security + ® and Beyond, Third Edition © 2012 Principles of Computer Security: CompTIA Security+ ® and Beyond,
Secure Electronic Transaction (SET)
Securing Data at the Application Layer Planning Authenticity and Integrity of Transmitted Data Planning Encryption of Transmitted Data.
Cryptography and Network Security Chapter 14 Fifth Edition by William Stallings Lecture slides by Lawrie Brown.
Introduction to Secure Messaging The Open Group Messaging Forum April 30, 2003.
Chapter 9: Using and Managing Keys Security+ Guide to Network Security Fundamentals Second Edition.
Public Key Infrastructure (X509 PKI) Presented by : Ali Fanian.
Cryptography Encryption/Decryption Franci Tajnik CISA Franci Tajnik.
E-Commerce Security Professor: Morteza Anvari Student: Xiaoli Li Student ID: March 10, 2001.
Certificate-Based Operations. Module Objectives By the end of this module participants will be able to: Define how cryptography is used to secure information.
Module 9: Fundamentals of Securing Network Communication.
Secure Messaging Workshop The Open Group Messaging Forum February 6, 2003.
Public Key Infrastructure (X509 PKI) Presented by : Ali Fanian
DIGITAL SIGNATURE. GOOD OLD DAYS VS. NOW GOOD OLD DAYS FILE WHATEVER YOU WANT – PUT ‘NA’ OR ‘-’ OR SCRATCH OUT FILE BACK DATED, FILE BLANK FORMS, FILE.
ELECTROINC COMMERCE TOOLS Chapter 6. Outline 6.0 Introduction 6.1 PUBLIC KEY INFRASTRUCTURE (PKI) AND CERTIFICATE AUTHORITIES (CAs) TRUST
Advanced Database Course (ESED5204) Eng. Hanan Alyazji University of Palestine Software Engineering Department.
Security fundamentals Topic 5 Using a Public Key Infrastructure.
SSL: Secure Socket Layer By: Mike Weissert. Overview Definition History & Background SSL Assurances SSL Session Problems Attacks & Defenses.
TAG Presentation 18th May 2004 Paul Butler
Key management issues in PGP
Security is one of the most widely used and regarded network services
SSL Certificates for Secure Websites
Cryptography and Network Security
Information Security message M one-way hash fingerprint f = H(M)
TAG Presentation 18th May 2004 Paul Butler
Authentication Applications
S/MIME T ANANDHAN.
IS3230 Access Security Unit 9 PKI and Encryption
Information Security message M one-way hash fingerprint f = H(M)
Information Security message M one-way hash fingerprint f = H(M)
Using SSL – Secure Socket Layer
CompTIA Security+ Study Guide (SY0-501)
The Smart Card Architect
زير ساخت كليد عمومي و گواهي هويت
Pooja programmer,cse department
Information Security message M one-way hash fingerprint f = H(M)
Digital Certificates and X.509
Lecture 4 - Cryptography
PKI (Public Key Infrastructure)
Cryptography and Network Security
National Trust Platform
Presentation transcript:

Public Key Infrastructure and Applications BY Nandini N.Gaikwad Assistant Professor Department of IT

Contents PKI Overview Digital Signatures Digital Certificates What is it? How does it work? Digital Certificates Public Key Infrastructure PKI Components Policies Internet Security Web Security with SSL Smart Cards Email signing – S/MIME

What’s the problem? Information over the Internet is Free, Available, Unencrypted, and Untrusted. Not desirable for many Applications Electronic Commerce Software Products Financial Services Corporate Data Healthcare Subscriptions Legal Information

Multiple Security Issues Privacy Authentication Interception Spoofing Integrity Non-repudiation Modification Proof of parties involved

Why do PKIs need Trust ? CAs could issue certificates without checking the owner identity. CAs could deliberately issues false certificates. Private keys could be disclosed by accident, ... or on purpose. False certificates could be inserted into your browser. Portals could contain false URLs. Knowing a principal’s identity does not mean that the principal can be trusted.

Security Algorithms Public Key Algorithms Symmetric Algorithms RSA, DSA, Diffie-Hellman, Elliptic Curve Symmetric Algorithms Triple-DES, DES, CAST, RC2, IDEA Hashing Algorithms SHA-1, MD5, RIPEMD

Symmetric Key Encryption If any one’s key is compromised, all keys need to be replaced Not practical or cost effective for Internet environments INTERNET

Public Key Cryptography Public-Key Cryptography is an encryption scheme that uses mathematically related, but not identical keys. Each user has a key pair (public key/private key). Public Encryption Original Document Encrypted Private Decryption Sender Receiver Information encrypted with the public key can only be decrypted using the private key.

What is a Digital Signature ? A Digital Signature is the result of encrypting the Hash of the data to be exchanged. A Hash (or Message Digest) is the process of mathematically reducing a data stream down to a fixed length field. The Hash uniquely represents the original data. The probability of producing the same Hash with two sets of different data is <.001%. Signature Process is opposite to Encryption Process Private Key is used to Sign (encrypt) Data Public Key is used to verify (decrypt) Signature

Digital Signature Process Data Hash Encrypt Digital Signature Private Step 1. Step 2. Step 3. Public Step 1. Hash (digest) the data using one of the supported Hashing algorithms, e.g., MD2, MD5, or SHA-1. Step 2. Encrypt the hashed data using the sender’s private key. Step 3. Append the signature (and a copy of the sender’s public key) to the end of the data that was signed.

Signature Verification Process Data Hash Decrypt Digital Signature Public Key Step 2. Step 3. Step 1. Step 1. Hash the original data using the same hashing algorithm. Step 2. Decrypt the digital signature using the sender’s public key. All digital signatures contain a copy of the signer’s public key. Step 3. Compare the results of the hashing and the decryption. If the values match then the signature is verified. If the values do not match, then the data or signature was probably modified in transit.

The Critical Questions How can the recipient know with certainty the sender’s public key? (to validate a digital signature) How can the sender know with certainty the recipient’s public key? (to send an encrypted message)

Digital Certificates ~~~~ Digital Signature Before two parties exchange data using Public Key cryptography, each wants to be sure that the other party is authenticated Before B accepts a message with A’s Digital Signature, B wants to be sure that the public key belongs to A and not to someone masquerading as A on an open network One way to be sure, is to use a trusted third party to authenticate that the public key belongs to A. Such a party is known as a Certification Authority (CA) Once A has provided proof of identity, the Certification Authority creates a message containing A’s name and public key. This message is known as a Digital Certificate.

Digital Certificates A Digital Certificate is simply an X.509 defined data structure with a Digital Signature. The data represents who owns the certificate, who signed the certificate, and other relevant information When the signature is generated by a Certification Authority (CA), the signature can be viewed as trusted. Since the data is signed, it can not be altered without detection. Extensions can be used to tailor certificates to meet the needs of end applications. Version # Serial # Signature Algorithm Issuer Name Validity Period Subject Name Subject Public Key Issuer Unique ID Subject Unique ID Extensions Digital Signature X.509 Certificate CA Authorized

Certificate Life Cycle Key pair generated Certificate issued Key pair in use Private key compromised Certificate revoked Certificate expires Key pair lifetime exceeded? New key pair generated Re-certify

Certificate Revocation Lists CA periodically publishes a data structure called a certificate revocation list (CRL). Described in X.509 standard. Each revoked certificate is identified in a CRL by its serial number. CRL might be distributed by posting at known Web URL or from CA’s own X.500 directory entry.

PKI Players Registration Authority (RA) to identity proof users Certification Authorities (CA) to issue certificates and CRL’s Repositories (publicly available databases) to hold certificates and CRLs

Certification Authority (CA) Trusted (Third) Party Enrolls and Validates Subscribers Issues and Manages Certificates Manages Revocation and Renewal of Certificates Establishes Policies & Procedures What’s Important Operational Experience High Assurance Security Architecture Scalability Flexibility Interoperability Outsource vs. Inhouse Trustworthiness Certification Authority = Basis of Trust

Registration Authority (RA) Enrolling, de-enrolling, and approving or rejecting requested changes to the certificate attributes of subscribers. Validating certificate applications. Authorizing requests for key-pair or certificate generation and requests for the recovery of backed-up keys. Accepting and authorizing requests for certificate revocation or suspension. Physically distributing personal tokens to and recovering obsolete tokens from people authorized to hold and use them.

Certificate Policy (CP) is … the basis for trust between unrelated entities not a formal “contract” (but implied) a framework that both informs and constrains a PKI implementation a statement of what a certificate means a set of rules for certificate holders a way of giving advice to Relying Parties

Certification Authorities Public Key Security Services Public Key Technology Digital Certificates Certification Authorities Security Management Technology Infrastructure PRIVACY AUTHENTICATION INTEGRITY NON-REPUDIATION Public Key Technology Best Suited to Solve Business Needs Infrastructure = Certification Authorities

Authentication/Access Control Can Public Key Technology be used to perform Authentication and Access Control? Sure Can How? Digital Signature Using Digital Signatures and Digital Certificates

SSL Protocol Secure Socket Layer (SSL) is a Network Layer protocol used to secure data on TCP/IP networks. Secure Socket Layer Application and so on ….. HTTP TCP/IP Layer Network Layer FTP NNTP

SSL 2.0 Protocol SSL 2.0 provides encryption between the server and the browser. Browser Connects to Secure Server CertS {SessKeyB } CertS {Data} SessKeyB Browser verifies signature on CertS Browser generates session key (SessKeyB) Browser encrypts SessKeyB using CertS Server sends copy of Server certificate (CertS) to Browser, indicating that SSL 2.0 is enabled Server decrypts SessKeyB using it’s private key Browser and Server use SessKeyB to encrypt all data exchanged over the Internet

SSL 3.0 with Client Authentication Browser Connects to Secure Server CertS - SSL 3.0 {SessKeyB } CertS + CertB {Data} SessKeyB Browser verifies signature on CertS Browser generates session key (SessKeyB) Browser encrypts SessKeyB using CertS Browser asks operator to select a Browser certificate (CertB) to access server Server sends copy of Server certificate (CertS) to Browser, indicating that SSL 3.0 is enabled with client authentication Server verifies signature on CertB (Server can check other information as well) Server decrypts SessKeyB using it’s private key Browser and Server use SessKeyB to encrypt all data exchanged over the Internet

Smart Cards Microprocessor with memory that can generate and store keys and certificates Different form factors and interface mechanisms Cryptographic functions using private key are processed on the card itself

Microprocessor based smart card

Smart Cards and PKI Smart cards are «certificate wallets» Secure storage for: Owner private key Trusted root certificates Smart Cards are a «PC-in-your-Pocket» Generation of owner’s digital signature Smart cards provide: Mobility Security Transparency Issuer branding, loyalty

Digital ID Asymmetric key-pair public key private key X.509 certificate ISO standard credentials

Smart card application example: Digital Signature

Smart card in heterogeneous environments Smart cards need readers and drivers Readers desktop or embedded (keyboard, floppy slot) optional display and keypad PC world ready for installation Mac, Unix & Linux ‘waiting’ for USB Drivers PC/SC standard for Windows PC custom developments

ISO 7816 vs USB

Certificate Portability: Smart Cards Holding Certificates Pros Tamper-proof device Portable Visible security/theft indicator Upgradeable Branding, Photos,Mag-stripe Biometric cards, readers coming Cons More expensive than a pure software solution infrastructure Standards issues Multi-application issues

Pay-TV, did you know it’s PKI ? Pay-TV systems installed worldwide 22 millions customers pay-per-view electronic purse Internet Managed and secured with a very high proprietary secured PKI solution based on a smartcard

Signed and Encrypted Email – S/MIME S/MIME – Secure Multipurpose Internet Mail Extensions Prevent email spoofing Helps preventing forged email Helps preventing spam Protect sensitive messages & documents Secure business processes Signed messages S/MIME-based applications

Using PKI Certificates in Outlook (1)   Open Outlook. Select Tools from the main menu then choose Options from the drop-down menu.

Using PKI Certificates in Outlook (2)   Click on the Security tab.

Using PKI Certificates in Outlook (3)   Click the Settings button.

Using PKI Certificates in Outlook (4)   In the Security Settings Name field, enter a name for the new Security Setting . Type S/MIME in the Secure Message Format field. Click the Choose button next to the Signing Certificate field.

Using PKI Certificates in Outlook (5)   Click on the certificate issued by C3 Mail CA. This is your Email Signing certificate. Click OK.

Using PKI Certificates in Outlook (6)   Choose SHA1 from the Hash Algorithm drop down menu. Click on the Choose button next to the Encryption Certificate field.

Using PKI Certificates in Outlook (7)   Click on the certificate issued by C3 Mail CA. This is your Email Encryption certificate. Click OK.

Using PKI Certificates in Outlook (8)   Choose 3DES from the Encryption Certificate drop down box. Check all 3 boxes in the Change Security Settings window. Click OK.

Using PKI Certificates in Outlook (9)   Click the Apply button then click OK.

THANK YOU