1 Web Security Web now widely used by business, government, individuals but Internet & Web are...

16
1 Web Security • Web now widely used by business, government, individuals • but Internet & Web are vulnerable • have a variety of threats – integrity – confidentiality – denial of service – authentication • need added security mechanisms

Transcript of 1 Web Security Web now widely used by business, government, individuals but Internet & Web are...

Page 1: 1 Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats –integrity –confidentiality.

1

Web Security

• Web now widely used by business, government, individuals

• but Internet & Web are vulnerable• have a variety of threats

– integrity– confidentiality– denial of service– authentication

• need added security mechanisms

Page 2: 1 Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats –integrity –confidentiality.

2

A Comparison of Threats on the Web

Page 3: 1 Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats –integrity –confidentiality.

3

Relative Location of Security Facilities in the TCP/IP Protocol

Stack

Page 4: 1 Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats –integrity –confidentiality.

4

Secure Electronic Transactions (SET)

• open encryption & security specification• to protect Internet credit card transactions• developed in 1996 by MasterCard, Visa etc• not a payment system• rather a set of security protocols & formats

– Provides a secure communications amongst parties– Provides trust from use of X.509v3 certificates– Ensures privacy by restricted info to those who need it

Page 5: 1 Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats –integrity –confidentiality.

5

Requisiti di sicurezza forniti dallo standard SET

• Confidenzialità dell’informazione– Encryption DES

• Integrità dei dati– Firma digitale RSA (using SHA-1)

• Autenticazione del possessore di una carta di pagamento o del mercante– Firma digitale RSA + certificato X.509v3

Page 6: 1 Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats –integrity –confidentiality.

6

SET Components

Page 7: 1 Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats –integrity –confidentiality.

7

SET Transaction

1. customer opens account2. customer receives a certificate3. merchants have their own certificates4. customer places an order5. merchant is verified6. order and payment are sent7. merchant requests payment authorization8. merchant confirms order9. merchant provides goods or service10.merchant requests payment

Page 8: 1 Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats –integrity –confidentiality.

8

Dual Signature

• customer creates dual messages– order information (OI) for merchant– payment information (PI) for bank

• neither party needs details of other

• but must know they are linked

• use a dual signature for this– signed concatenated hashes of OI & PI

Page 9: 1 Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats –integrity –confidentiality.

9

Construction of Dual Signature

Page 10: 1 Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats –integrity –confidentiality.

10

Page 11: 1 Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats –integrity –confidentiality.

11

Purchase Request Transaction

Initiate Request• The costumer requests the

certificates• The message includes other

informations

Initiate Response• The merchant includes the

certificates• The message includes other

informations

Purchase Request

•Verifies the merchant and gateway certificates•Creates the purchase request message (described later)

Purchase Response•(described later)

costumer merchant

Page 12: 1 Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats –integrity –confidentiality.

12

Purchase Request – Customer

Page 13: 1 Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats –integrity –confidentiality.

13

1)verifies cardholder certificates using CA signs2)verifies dual signature using customer's public signature key to ensure order has not been tampered with in transit & that it was signed using cardholder's private signature key3)processes order and forwards the payment information to the payment gateway for authorization (described later)4)sends a purchase response(*) to cardholder

PurchaseRequest - Merchant

(*) Includes a response block that acknowledges the order and references the corresponding transaction number (signed using merchant’s private signature key)

Page 14: 1 Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats –integrity –confidentiality.

14

Payment Gateway Authorization Transaction

Authorization Request• Purchase-related

information (obtained from the costumer)

• Authorization-related information (generated by the merchant)

• Certificates

AuthorizationResponse• (described later)

merchant payment gateway

Page 15: 1 Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats –integrity –confidentiality.

15

Tasks performed by Payment Gateway

1. verifies all certificates

2. decrypts digital envelope of authorization block to obtain symmetric key & then decrypts authorization block

3. verifies merchant's signature on authorization block

4. decrypts digital envelope of payment block to obtain symmetric key & then decrypts payment block

5. verifies dual signature on payment block

6. verifies that transaction ID received from merchant matches that in PI received (indirectly) from customer

7. requests & receives an authorization from issuer

8. sends authorization response(*) back to merchant

(*) - Authorization-related information

- Capture token information (to effect payment later)

- Certificate

Page 16: 1 Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats –integrity –confidentiality.

16

Payment Capture Transaction

• merchant sends to payment gateway a payment capture request

• gateway checks request

• then causes funds to be transferred to merchants account

• notifies merchant using capture response