• No results found

What is a Smart Card?

N/A
N/A
Protected

Academic year: 2021

Share "What is a Smart Card?"

Copied!
7
0
0

Loading.... (view fulltext now)

Full text

(1)

An Introduction to An Introduction to Smart Cards and RFIDs Smart Cards and RFIDs

An Introduction to An Introduction to Smart Cards and RFIDs Smart Cards and RFIDs

Prof. Keith E. Mayes

[email protected] [email protected]

Director of the ISG - Smart Card Centre www.scc.rhul.ac.uk

Keith Mayes 2

Learning

Learning Objectives (Objectives (MScMSc))

 Identify the various types of smart cards, RFIDs and readers

 Understand the main components of the cards and chips

 Recognise the main strengths of the card

 Consider the limitations and effect on usage

 Understand the Issuer control of a card

 Contrast the main uses of smart cards and associated security mechanisms

 Compare a range of application development routes/cycles

 Be aware of security threats to smart cards

 Appreciate the importance of life cycle management

[Full list of Learning Objectives on www.scc.rhul.ac.uk]

Keith Mayes 3

The Course Book The Course Book

What is a Smart Card?

Keith Mayes 4

(2)

Keith Mayes 5

What Properties to we look for?

What Properties to we look for?

Tamper Resistant Security!!

 For Information Storage

 For Information Processing

 Portability

 Ease of Use

 ….and it is often very useful if we can have…

 Multiple Value Added Applications

 All this is achieve by a mixture of engineering and cryptographic techniques

Keith Mayes 6

Magnetic Stripe Cards Magnetic Stripe Cards

Flagstar Bank Image

Keith Mayes 7

Cards with Contacts are not Cards with Contacts are not

always smart always smart

Image from LA Phone Cards

Keith Mayes 8

Smart Cards with Contacts Smart Cards with Contacts

[Gemplus Images]

Chip module interface via metal contacts Card reader makes physical contact

(3)

Keith Mayes 9

Contact

Contact--less Smart Cardsless Smart Cards

[Gemplus Images]

Chip module interface via antenna Reader uses RF field

Keith Mayes 10

Powering by Radio Powering by Radio

From “RFID Handbook”

 A passive contact-less smart card/RFID is powered by electromagnetic induction – from a field produced by the reader

Keith Mayes 11

Smart Card/RFID Trade

Smart Card/RFID Trade--offsoffs

Keith Mayes 12

Tags

Tags -- Passive/Active Passive/Active

 There are many different contact-less tag/device formats

 The main classes are passive and active (powered)

(4)

Keith Mayes 13

Coming Soon…

Coming Soon…

Near Field Communication Near Field Communication

 The latest standards for mobile phones support Near Field Communications (NFC)

 NFC is a equivalent to a contact-less interface for the phone

 The phone can behave as a smart card or token

 The phone can behave as the reader

 <<Demo>>

Keith Mayes 14

And in the Future?...

And in the Future?...

From Kodak patent

 Digestible Tags!

Keith Mayes 15

RAM

Wire- bonds EEPROM

ROM Processor

Source: ORGA Systems UK, “ORGA - Smart Cards Basics”

Smart Card Chip Smart Card Chip

Keith Mayes 16

Examples of Smart Card Use Examples of Smart Card Use

 Mobile Communication

 Banking

 Transport

 Identity Cards

 Physical Access Control

 IT Access Control

 Satellite TV chip card

(5)

Keith Mayes 17

Chip Card Market by Application Chip Card Market by Application

in 2011 in 2011

Sourec Infineon

 In 2011 over 6.5 Bn units shipped

 By 2014 estimated to > 8Bn units

 Excludes RFID (+3 Bn?)

 Revenue growth in all sectors

 Memories growth in Transport sector

 Micros growth in Payment and Embedded sectors

Keith Mayes 18

Smart Cards and Mobile Smart Cards and Mobile

Communication Communication

 Mobile Communication

 Every GSM phone contains a Smart Card called a SIM

 The SIM started life as a hardware security token for supporting authentication and encryption

 Earlier analog systems had been cloned

 The SIM became useful for storing additional information

 Telephone numbers, SMS messages, communication settings..

 The SIM/ME interface became richer

 It was possible to host programs, menus and simple STK applications – usually implemented in a proprietary manner

 SIMs today can be based on multi-application Java Cards

 Wide range of applications are possible and new Vendor independent development routes are possible

Keith Mayes 19

A3/8

A3/8 –– SIM ApplicationSIM Application

 The SIM contents include

 A3/8 algorithm

 IMSI

 Secret key Ki

 1-2kbytes memory for A3/8 implementation

 The card receives a random number (RAND) from the network

 The A3/8 algorithm computes a result (SRES) based on RAND & Ki

 An encryption key Kcis also calculated and delivered to the phone

PHONE

..Searching..

SRES

Kc

SIM

A3/8 Ki

IMSI RAND

Keith Mayes 20

Smart Cards in Banking Smart Cards in Banking

 Swipe Cards

Swipe cards are widespread, simple and low-cost, relying on information embossed onto the card and stored on its magnetic stripe

 Swipe Card Fraud

Skimming

This is when the mag-stripe information from one card is simply copied

Counterfeiting

A counterfeit card would look like a normal embossed credit/debit card, but the mag-stripe info may be different

 Chip Cards

In order to combat Swipe Card fraud - Europay, Mastercard

& Visa came together to create the EMV specifications

(6)

Keith Mayes 21

EMV

EMV –– OffOff--line Authentication line Authentication Static Data

Static Data

Issuer Private

Key SI

Issuer Public Key

PI

Issuer

CA Private

Key SCA

CA Public

Key PCA

Certification Authority

PICertified with SCA

 Card to Terminal

 PIcertified by CA

 +Data with digital signature

 Terminal

 Uses PCA to verify Issuers PI

 Uses PIto verify data signature

Acquirer

Distributed to Acquirer (Resides in Terminal)

Terminal & Card Communication

Keith Mayes 22

EMV

EMV –– OffOff--line Authentication line Authentication Dynamic Data

Dynamic Data

ICC - Private

Key SIC

ICC – Public

Key PIC

PIC Certified

with SI

 Card to Terminal

 PICcertified by Issuer + PIcertified by CA +Data with digital signature

 Terminal

 Uses PCAto verify Issuers PI

 Uses PIto verify Card’s PIC

 Uses PICto verify data signature Issuer

Private Key

SI

Issuer

Issuer Public Key

PI

CA Private

Key SCA

CA Public

Key PCA

Certification Authority

PICertified with SCA

Acquirer

Distributed to Acquirer (Resides in Terminal)

Terminal & Card Communication

Keith Mayes 23

Attacks on Card Security Attacks on Card Security

 Logical

 Repeated attempts (brute force)

 Overflow

 Look for bugs/errors

 Physical

 Probe circuit

 Change tracks

 Change voltages/ temperature etc

 Side Channel

 Monitor supply current or RF emissions

 Timing attacks

 DPA – Differential power analysis

 DFA – Differential Fault Analysis

Keith Mayes 24

Attacks (Logical) Attacks (Logical)

 Attacks against the design of algorithms/protocols

 Use or eavesdrop the normal interfaces

 Various tools available to help attacks

 RFID Sniffer

 Key cracker

(7)

Keith Mayes 25

Attacks: Physical Attacks: Physical

& Side

& Side--ChannelChannel

 Direct physical attack on chip/circuit to monitor or modify functionality and data

 Usually requires high skill level and specialist equipment

 Probe station

 FIB for track/circuit modification

 Side channel attacks normally monitor leakage via power, emissions and/or timing

 Requires modest skill and readily available equipment

 In hardware security modules chip level physical protection include:

Physical barriers

Active shields

Circuit scrambling

Encrypted busses

Encrypted memories

Environment/fault sensors

26

Physical & Side

Physical & Side--Channel Channel Attack Countermeasures Attack Countermeasures

Source Gemalto

Side Channel protection includes

Power smoothing

Additive noise

Randomised delays

Differential logic

Keith Mayes 26

Keith Mayes 27

Smart Card Data Smart Card Data

<SIM Demo>

Keith Mayes 28

Thank you…

Thank you…

Any Questions?

Any Questions?

References

Related documents

If PS2 port was selected, the reader will simulate keyboard pressed key to return code set II type magnetic tracks data and iButton serial number, those data will be

All chip cards are issued with the card security code on the track data stored on the magnetic stripe and chip card security code stored on the chip... Combined DDA/Application

Several drafting and design courses are being offered in the Construction Management Program at Sam Houston State University using an intense two week format.. The classes meet

chip cards and swipe reader for magnetic stripe cards, contact- less reader Options Fixing plate,.

9.2 How to Process a Credit Purchase Transaction using a Magnetic Stripe Card Please refer to your Point of Sale (POS) manual to initiate transaction.. SWIPE OR

Depending on the type of card, the card must be slipped through the magnetic swipe reader, inserted into the chip card reader or tapped to the contactless reader.. If the

Idle Prompt Swipe card or manually enter credit card number.. Expiration date (manual) Enter card expiration