• Nebyly nalezeny žádné výsledky

Security Mechanism

N/A
N/A
Protected

Academic year: 2022

Podíl "Security Mechanism"

Copied!
32
0
0

Načítání.... (zobrazit plný text nyní)

Fulltext

(1)

Security Mechanism of

Electronic Passports

Petr ŠTURC

Coesys Research and Development

(2)
(3)
(4)
(5)
(6)

Smartcard

CPU 16/32 bit

3.57MHz (20MHz) 1.8 / 3/ 5 V

ROM 16-300 kB RAM 1-8 kB

EEPROM 8-128kB

(7)

Contactless communication

Not RFID!

f = 13.56 MHz

Near-field range <10cm (300/2πf) Power via induction

Signal via modulation

ISO 14443

(8)

Contactless communication

(9)

ePassport with Biometric Data

18.11.2009 9

Threats vs. security mechanisms

(10)

ICAO Security Mechanisms

(11)

RSA vs. ECC

Comparison on same chip of signature operation

0 500 1000 1500 2000 2500 3000

1024 2048

Key size (equivalent RSA)

Execution time in ms

RSA CRT mode RSA standard mode ECC

Comparison on same chip of verification operation

0 50 100 150 200 250 300 350

1024 2048

Key size( equivalent RSA)

Time in ms

RSA verify ECC verify

Comparison on same chip of key generation

0 10 20 30 40 50 60

1024 2048

Key size( equivalent RSA)

Time insecond

RSA key generation ECC key generation

 ECC wins the signature and Key generation match.

 RSA wins the verification match but ECC stays reasonable

 WARNING: Results are chip dependant

ECC : 113ms and 147 ms

(12)

Passive Authentication (PA)

(13)

Document Signer

Features:

 Keypair generation, CSR generation (ASN.1 templates, cross- signatures), Certificate storage

 SOD generation (from ASN.1 templates)

 Key selection strategies (explicit selection, round-robin,

“optimal”, …)

 Multiple domains

 Connector for Coesys Prod Manager

 Management GUI

 modularity

Supported crypto:

 SW (RSA, RSA-PSS, ECC)

 Luna 3000 HSM (RSA, RSA-PSS, ECC )

 KMS (RSA, RSA-PSS)

(14)

UK e-passport “attack”

(15)
(16)

ICAO PKD

(17)

Active Authentication (AA)

Accessible memory

Protected memory

Inspection System

e-passport CPU

READ AA PUB KEY

 SEND RND NOUNCE

 GET AA PRIV KEY

 ANSWER SIGNED NOUNCE

VERIFY

(18)

Active Authentication - issues

EF.COM not in SOD

Challenge semantic – Active authentication gives non-repudiation (possibility to track the passport holder and have a proof)

– Passport receives “random” string r from a terminal

and respond with signature S(Kpr, r) where Kpr is

passport’s private key. Terminal can hide a meaning

into the random r (e.g. r = date||time||location)

– Can be solved by Chip Authentication (part of EAC)

(19)

Basic Access Control (BAC)

Inspection System

MACHINE READABLE ZONE (MRZ)

PASSPORT NR. | DATE OF BIRTH | DATE OF EXPIRY

SHA-1

K

SEED

| 00000001 (for K

ENC

) SHA-1

00000002 (for K

MAC

)

K

ENC/MAC

= 3DES KEY (16 BYTES) NOT USED (4 BYTES)

(20)

Inspection System

Basic Access Control (BAC)

Accessible memory

Protected memory

e-passport CPU

K

ENC

+ K

MAC

KEY K

ENC

KEY K

MAC

SECURE CHANNEL

3DES encryption + MAC

(21)

ePassport Chip

12.05.2009 21

GET_CHALLENGE() RND.ICC

E-Passport Inspection

System

Generate random number for challenge RND.ICC Generate random number RND.IFD and

keying material K.IFD S=RND.IFD||RND.ICC||K.IFD

E_IFD=E[KENC](S) M_IFD=MAC[KMAC](E_IFD)

MUTUAL_AUTHENTICATE(E_IF D||M_IFD)

E_ICC||M_ICC

Check M_IFD Decrypt E_IFD

Check that RND.ICC from S is the correct value Generate keying material K.ICC

R=RND.ICC||RND.IFD||K.ICC E_ICC=E[KENC](R) M_ICC=MAC[KMAC](E_ICC) Check M_ICC

Decrypt E_ICC

Check that RND.IFD from R is the correct value

Basic Access Control - Detailed

(22)

Belgian passport “attack”

(23)

Extended Access Control (EAC)

(24)

Chip Authentication (CA)

Ephemeral–Static (EC)-Diffie-Hellman

Chip:

Chip individual static key pair

Public Key stored in the DG14(signed) Private Key stored in secure memory Terminal:

Ephemeral key pair dynamically chosen by the terminal

ECDH (224Bit) asymmetric key agreement

3DES (112Bit) symmetric encryption / integrity protection

Diffie-Hellman key exchange (DH or ECDH)

Inspection System Accessible memory

Protected memory

e-passport CPU

Secure channel

(3DES + MAC)

(25)

Chip Authentication - Detailed

READ_BINARY() PKICC,DICC

E-Passport Inspection System

Read Chip Authentication public key of the ICC (PKICC) and domain parameters

DICC from the EF.DG14

MSE_SET_KAT(PKIFD) Generate ephemeral key pair PKIFD,

SKIFD

K=KA(SKICC, PKIFD, DICC) K=KA(SKIFD, PKICC, DICC)

(26)

Terminal Authentication (TA)

Accessible memory

e-passport CPU

Inspection System

Present certificate(s)

CVCA

Send RND challenge

Challenge signed by private key RSA or ECDSA

Problem!

Verify cert = signature + expiration + revocation

VERIFY

VERIFY

(27)

Terminal Authentication – Detailed

E-Passport Inspection System

EF.CVCA READ_BINARY()

MSE_SET_DST PSO_VERIFY_CERTIFICATE

MSE_SET_AT GET_CHALLENGE

EXTERNAL_AUTHENTICATE Read CVCA references

Set the reference to the public key Verify certificate Set the reference to the

public key

RICC

Calculate signature SIFD= Sign( SKIFD,

IDICC||RICC||H(PKIFD)) Verify signature

(28)

EAC Cross-certification

(29)

Machine Readable Travel Documents – Extended Access Control

CVCA

DV

IS

Examples of validity periods:

– CVCA certificate : 2 years – DV Certificate : 3 months – IS Certificate : 1 month

Certificate renewal

(30)

Extended Access Control v2

a.k.a “3 rd generation e-passport”

(31)

PACE v2

Password Authenticated Connection Establishment

(32)

Benin 2010

Training of operators

Odkazy

Související dokumenty

This non-negative functional tF was shown to be lower semi-continuous on the set of Lipschitz functions with the 1: I topology and hence could be extended to

montre qu'on pout d6terminer los 6quations de structure de tous sos sous-groupes par des pI'oc6d6s purement alg6briques et il applique eette m6thode s des eas

l~otamment dans mon m6moire Sur les fonctions d rggion d'existence born~e ~ sont indiqu6es de nombreuses expressions de cette catdgorie, ainsi que de nouvelles

Toutefois nous avons une restriction indispensable ~ faire; car on peut trouver deux s6ries divergentes telles que toute s6rie ayant ses termes plus petits que

where φ is the roll angle, Θt represents the pitch angle which is assumed to be a random stationary process, Mt represents the wave random excitation, ζ is a linear damping factor, ω

Podle současných doporučení pro kardiopulmonální resuscitaci (KPR) může v průběhu KPR intubaci provádět pouze zkušený záchranář, který dokáže intubovat

Komunitní kompostárna nenakládá s odpady, složení vstupní suroviny se však velmi blíží některým katalogovým číslům odpadů jako je 20 02 01

Nesouhlasí-li Hráč nebo Klub s jeho posouzením, předloží vše neprodleně nezávislému specialistovi (znalci), který zdravotní způsobilost či nezpůsobilost