Lecture 3 - Credit Card Protocols
Lecture 3 - Credit Card Protocols
Lecture 3 - Credit Card Protocols
Protocols
Outline
• Credit card participants (7)
• Secure Sockets Layer (SSL)
– security with public keys
• Secure Electronic Transactions (SET)
– authentication with certificates
• 3-D Secure
– authentication without certificates
• Fraud
• Online card reading
Participants
Processor Processor
Card
Association
Merchant
• Issuing Bank Consumer • Merchant Bank (Acquirer)
• Issues card • Sets up merchant
• Extends credit • Extends credit
• Assumes risk of card • Assumes risk of merchant
• Cardholder reporting • Funds merchant
Credit Cards on the Internet
• Problem: communicate credit card and purchasing
data securely to gain consumer trust
– Authentication of buyer and merchant
– Confidential transmissions
• Systems vary by
– type of public-key encryption
– type of symmetric encryption
– message digest algorithm
– number of parties having private keys
– number of parties having certificates
Credit Card Protocols
• SSL 1 or 2 parties have private keys
VERY IMPORTANT.
• TLS (Transport Layer Security) USAGE INCREASING
– IETF version of SSL
Merchant
Non-Internet (telephone) line
Credit Card
Secure Acquirer
“tunnel”
through the • Consumer must
Internet trust merchant with
card Acquirer
• Similar to ordinary notifies
phone order
Internet Issuer
• High transaction
costs
Credit Card
Consumer Issuer bills Consumer Issuer
Internet
Credit Card
Acquirer
Credit Card
Issuer
Consumer Issuer bills Consumer
CARD-
Internet payment info, authorization capture capture
HOLDER authorization response + request response
CERT request capture token + token
AT PURCHASE AT END OF DAY
es sing
ro c payment
tion p
GATEWAY
ri z a CERT
autho ro cessin
g gateway
re p
captu
payment network
money transfer
issuer acquirer
(cardholder’s bank) (merchant’s bank)
SET Message Flow
Payment
Card Issuer
Gateway
9. 5. Auth. Request
Payment Capture 6. Auth.
10. Response
Payment Capture
Request Response
SET
1.
7.
3. Init
Inquiry
Request
PurchaseRequest
Request
Card 2. Init Response
Response Merchant
8.
4. Inquiry
Purchase Response
Holder
SET
SOURCE: HUTTER/STEPHAN
Dual Signature
• Links two messages intended for different recipients
SENDER’S
PRIVATE KEY
data1 hash
hash sign
DUAL
SIGNATURE
data2 hash
RECIPIENT 1 RECIPIENT 2
RECEIVES: RECEIVES:
data1 data2
HASH OF HASH OF
DATA 2 DATA 1
DUAL
SIGNATURE
Using the Dual Signature
PI Hash Bank
PIMD
Customer’s
private key
OI Hash
Merchant
Internet
Merchant
Cardholder
eMerchant Server
Wallet Server
Issuer Acquirer
Payment
Association
Issuer Domain Interoperability Domain Acquirer Domain
SOURCE: MASTERCARD
3-D Secure Process Flow
SSL
Merchant
Cardholder 2. Determine
issuer
MPI
SSL Merchant Plug-In
3. Check user
participation Global 5. Verify user
Directory participation
SSL
Issuer 4. Verify user
participation Payment Gateway
ACS Acquirer
Access Control Server
SOURCE: MASTERCARD
3-D Secure Process Flow
Merchant
SSL
Cardholder
Global
Directory
Issuer
Payment Gateway
SOURCE: MASTERCARD
3-D Secure (1)
1. Customer enters details at
merchant site Active Merchant Merchant
Customer 3-D Secure
Acquirer Plug-in
Merchant Plug-in
3-D Secure
Access Control Payment
Server Visanet Gateway
Issuer Acquirer
SOURCE: KMIS
3-D Secure (2)
6. Merchant Plug-in redirects
customer’s browser to issuer’s Access
Control Server with transaction details Active Merchant Merchant
Customer 3-D Secure
Acquirer Plug-in
Merchant Plug-in
3-D Secure
Access Control Payment
Server Visanet Gateway
Issuer Acquirer
SOURCE: KMIS
3-D Secure (3)
Active Merchant Merchant
Customer 3-D Secure
Acquirer Plug-in
Merchant Plug-in
8. Customer presents
password into issuer system Visa
Directory
9. Issuer’s Access Control
Server validates password,
signs response and redirects
customer to Merchant Plug-in
3-D Secure
Access Control Payment
Server Visanet Gateway
Issuer Acquirer
SOURCE: KMIS
3-D Secure (4)
14. Merchant confirms transaction
and issues receipt to customer Active Merchant Merchant
Customer 3-D Secure
Acquirer Plug-in
Merchant Plug-in
13. Acquirer
sends transaction
response back to
merchant
10. Merchant
Visa submits normal
Directory transaction to
acquirer
HANDLES COMMUNICATION
WITH THE APPLICATION
Protocols
INITIALIZES COMMUNCATION
BETWEEN CLIENT & SERVER
HANDLES DATA
COMPRESSION
SSL Handshake Messages
CLIENT SIDE SERVER SIDE
OFFER CIPHER SUITE SELECT A CIPHER SUITE
MENU TO SERVER
SEND CERTIFICATE AND
CHAIN TO CA ROOT
ACTIVATE
ENCRYPTION
CLIENT PORTION ( SERVER CHECKS OPTIONS )
DONE
ACTIVATESERVER
ENCRYPTION
( CLIENT CHECKS OPTIONS ) SERVER PORTION
DONE
NOW THE PARTIES CAN USE SYMMETRIC ENCRYPTION
SOURCE: VISA
3-D Secure Transaction Flow
Cardholder visits merchant site 2 Merchant Plug-in queries
1 and selects “Buy” Directory for account
participation
MERCHANT
Cardholder
Merchant
Plug-in
Directory
Issuer 3 Directory
response
5
Access
Control indicates
Merchant verifies the signature
4 Server CH is/not and sends an Authorization
enrolled Request with selected
Authentication
Issuer prompts for password (and chip card History authentication data (ECI and
insertion), validates password (and Server CAVV) to the Acquirer
cryptogram), calculates CAVV, digitally
signs response to Merchant, sends copy to
Authentication History Server
ISSUER
Visa Acquirer
Net Payment
Processor
8
Acquirer formats
Issuer verifies CAVV (or 7 6 message with ECI
interrogates VisaNet and CAVV
codes), authorizes the VisaNet verifies CAVV, forwards to Issuer
transaction, sends
response to the Acquirer
3. SPA Applet requests
SPA (1)
authentication information
from the user 1. SPA Applet detects SPA-enabled
merchant page
Customer Merchant
SPA Applet Acquirer Plug-in
2. SPA Applet reads information from
merchant’s websites
SPA Payment
Server Banknet Gateway
Issuer Acquirer
SOURCE: KMIS
SPA (2)
6. SPA Applet embeds the authentication token in the
merchant’s site and optionally fills the online form
Customer Merchant
SPA Applet 11. Merchant confirms transaction and Acquirer Plug-in
issues receipt to customer
7. Merchant sends
authorization request
and authentication
token to acquirer
SOURCE: http://www.software.ibm.com/commerce/payment/specsheetetill.html
MasterCard Banknet
• Closed TCP/IP network
• Payment authorization in 130 milliseconds avg.
• Capacity: 2.5M transactions/hour, 700/second
• Busiest day: 36M authorizations, 40M debits
• 210 countries (more than SWIFT!)
• 25,000 issuing banks
• 650 service delivery points
– 13 global hubs
– 32 country hubs
SOURCE: MASTERCARD
END.