• No results found

Encryption-based 2FA for Server-side Qualified Signature Creation

N/A
N/A
Protected

Academic year: 2021

Share "Encryption-based 2FA for Server-side Qualified Signature Creation"

Copied!
32
0
0

Loading.... (view fulltext now)

Full text

(1)

S C I E N C E P A S S I O N T E C H N O L O G Y

Encryption-based 2FA

for Server-side Qualified

Signature Creation

Christof Rath, [email protected]

Institute for Applied Information Processing and Communications Graz University of Technology, Austria

(2)

2

Encryption-based Two-factor Authentication

The Beginning: Smartcard-based Solutions

Rollout costs:

10€ per card + overheads

Smartcard-based solutions require:

Smartcard reader

Driver/middleware software installation

Usability issue!

since 2003: 150k activations

Mitigation strategies: Online middleware (Java Applet)

(3)

2

Encryption-based Two-factor Authentication

The Beginning: Smartcard-based Solutions

Rollout costs:

10€ per card + overheads

Smartcard-based solutions require:

Smartcard reader

Driver/middleware software installation

Usability issue!

since 2003: 150k activations

Mitigation strategies: Online middleware (Java Applet)

(4)

3

Encryption-based Two-factor Authentication

Alternative: Mobile Signatures

Signature creation is triggered by mobile phone:

No additional hard-/software

Reduced rollout costs (existing user devices) Usable with mobile computing

Increased usability and acceptance

(5)

4

Encryption-based Two-factor Authentication

Mobile Signature Solutions

Mobile Signatures

SIM-based

Server-side

+

Private key on SIM

Special SIM card

Vendor lock-in

Roaming

Privacy issues

+

Only SMS required

+

Ordinary SIM card

+

Roaming

Private key at server

(6)

4

Encryption-based Two-factor Authentication

Mobile Signature Solutions

Mobile Signatures

SIM-based

Server-side

+

Private key on SIM

Special SIM card

Vendor lock-in

Roaming

Privacy issues

+

Only SMS required

+

Ordinary SIM card

+

Roaming

Private key at server

(7)

5

Encryption-based Two-factor Authentication

Server-side Qualified Signature Creation

EU Signature Directive: Advanced electronic signature:

Created using means that the signatory can maintain under their sole control

Signing server

stores

private signing key in DB:

Encrypted by HSM wrapping key Encrypted by user password

Private signing key can only be

used

:

With user consent (password)

(8)

5

Encryption-based Two-factor Authentication

Server-side Qualified Signature Creation

EU Signature Directive: Advanced electronic signature:

Created using means that the signatory can maintain under their sole control

Signing server

stores

private signing key in DB:

Encrypted by HSM wrapping key Encrypted by user password

Private signing key can only be

used

:

With user consent (password)

(9)

5

Encryption-based Two-factor Authentication

Server-side Qualified Signature Creation

EU Signature Directive: Advanced electronic signature:

Created using means that the signatory can maintain under their sole control

Signing server

stores

private signing key in DB:

Encrypted by HSM wrapping key Encrypted by user password

Private signing key can only be

used

:

With user consent (password)

(10)

6

Encryption-based Two-factor Authentication

Server-side Qualified Signature Creation

To issue a signature the following steps are necessary:

1. Authenticate using phone number and password 2. Prepare decryption of private signing key

3. Send one-time password (OTP) via SMS 4. Verify OTP via web form

5. Decrypt and load private signing key into HSM 6. Sign document

(11)

7

Encryption-based Two-factor Authentication

Drawbacks of the SMS-based Authorization

Cost-factor:

In Austria, about 10,000 signatures/day at 5¢/SMS ⇒ ≈180,000 €/year

Could be payed by users acceptance, feasibility

Security issues:

Malicious software can access SMS (on some platforms) e.g., Euro Grabber

(12)

7

Encryption-based Two-factor Authentication

Drawbacks of the SMS-based Authorization

Cost-factor:

In Austria, about 10,000 signatures/day at 5¢/SMS ⇒ ≈180,000 €/year

Could be payed by users acceptance, feasibility

Security issues:

Malicious software can access SMS (on some platforms) e.g., Euro Grabber

(13)

8

Encryption-based Two-factor Authentication

Server-side Qualified Signature Creation

To issue a signature the following steps are necessary:

1. Authenticate using phone number and password 2. Prepare decryption of private signing key

3. Send one-time password (OTP) via SMS 4. Verify OTP via web form

5. Decrypt and load private signing key into HSM 6. Sign document

(14)

9

Encryption-based Two-factor Authentication

Requirements of a New Solution

Usability

Platform independence

Transaction binding

Security

Feasibility

Cost efficiency

(15)

9

Encryption-based Two-factor Authentication

Requirements of a New Solution

Usability

Platform independence

Transaction binding

Security

Feasibility

Cost efficiency

7

Billing

Feasibility

7

Reverse SMS

Usability

7

Standard OTP

Transaction binding

(16)

10

Encryption-based Two-factor Authentication

Basic Concept

Proof of possession:

Of a device (a pre-shared key)

By decrypting an authorization code (OTP)

Security features:

Forward secrecy by changing IV Data transfer via HTTPS connections

Hardware keystore/ARM TrustZone support possible Cryptographic transaction binding

(17)

10

Encryption-based Two-factor Authentication

Basic Concept

Proof of possession:

Of a device (a pre-shared key)

By decrypting an authorization code (OTP)

Security features:

Forward secrecy by changing IV Data transfer via HTTPS connections

Hardware keystore/ARM TrustZone support possible Cryptographic transaction binding

(18)

11

Encryption-based Two-factor Authentication

Basic Concept – Pairing

To bind a mobile device to a user account:

1. S: Start Activation Generate code Send SMS

2. M: Continue Activation Open OTP-App Send activation code 3. Both

DH key exchange Store shared secret

(19)

11

Encryption-based Two-factor Authentication

Basic Concept – Pairing

To bind a mobile device to a user account:

1. S: Start Activation Generate code Send SMS

2. M: Continue Activation Open OTP-App Send activation code 3. Both

DH key exchange Store shared secret

(20)

11

Encryption-based Two-factor Authentication

Basic Concept – Pairing

To bind a mobile device to a user account:

1. S: Start Activation Generate code Send SMS

2. M: Continue Activation Open OTP-App Send activation code 3. Both

DH key exchange Store shared secret

(21)

12

Encryption-based Two-factor Authentication

Basic Concept – Usage

To authenticate a user:

1. S: Verify password 2. M: Request OTP 3. S: Send encrypted OTP 4. M: Return decrypted OTP 5. S: Verify OTP

(22)

13

Encryption-based Two-factor Authentication

TanApp

The TanApp was a first prototype:

HTML5/Javascript-based ✓Platform independence

Web clip icons to provide app style UI ✓Usability, Acceptance

Keys stored in HTML5 local storage

(23)

14

Encryption-based Two-factor Authentication

TanApp – Usage

To issue a signature:

1. S: Verify password 2. M: Request OTP

3. M: Receive encrypted OTP 4. M: Display decrypted OTP 5. S: Verify OTP

(24)

14

Encryption-based Two-factor Authentication

TanApp – Usage

To issue a signature:

1. S: Verify password 2. M: Request OTP

3. M: Receive encrypted OTP 4. M: Display decrypted OTP 5. S: Verify OTP

(25)

14

Encryption-based Two-factor Authentication

TanApp – Usage

To issue a signature:

1. S: Verify password 2. M: Request OTP

3. M: Receive encrypted OTP 4. M: Display decrypted OTP 5. S: Verify OTP

(26)

15

Encryption-based Two-factor Authentication

TanApp – User Test Findings

HTML5 well suited for platform-independent development HTML5 local storage unsuited for key material

No hardware security features

Binding lost when clearing browser cache Usability issue: Too similar to SMS-based solution

(27)

16

Encryption-based Two-factor Authentication

QR-TanApp

The QR-TanApp was our second approach:

Native Android app ✓Usability, Acceptance

7 Platform independence requires multiple apps Support for hardware security features

✓Security

Support for offline operation ✓Acceptance

(28)

17

Encryption-based Two-factor Authentication

QR-TanApp – Usage

To issue a signature:

1. S: Verify password

2. M: Take picture of QR-tag 3. M: Encrypt OTP

4. M: Send encrypted OTP 5. S: Verify OTP

(29)

17

Encryption-based Two-factor Authentication

QR-TanApp – Usage

To issue a signature:

1. S: Verify password

2. M: Take picture of QR-tag 3. M: Encrypt OTP

4. M: Send encrypted OTP 5. S: Verify OTP

(30)

17

Encryption-based Two-factor Authentication

QR-TanApp – Usage

To issue a signature:

1. S: Verify password

2. M: Take picture of QR-tag 3. M: Encrypt OTP

4. M: Send encrypted OTP 5. S: Verify OTP

(31)

17

Encryption-based Two-factor Authentication

QR-TanApp – Usage

To issue a signature:

1. S: Verify password

2. M: Take picture of QR-tag 3. M: Encrypt OTP

4. M: Send encrypted OTP 5. S: Verify OTP

(32)

18

Encryption-based Two-factor Authentication

Conclusion

SMS-delivered OTPs must be regarded outdated We have proposed a novel authentication scheme

Higher level of security

strong cryptographic algorithms hardware security support completely avoid SMS Enhanced usability

QR-codes prevent users from manually copying unintelligible OTPs

References

Related documents

– Data contained in app server’s request, session, application scopes App Server Server-side Code (Java servlets, JSP) Browser http request html response?.

Activation server can not generate activate code for this license at the moment of

• the activation code, which can be copied and pasted to the Quest Soft Token for Windows Mobile Activation Key field on the device.. • An option to send these details to your

Connect the Internet-Radio tuner’s external power supply to a mains outlet and to the tuner’s DC-socket. 1) Turn on the tuner’s power switch on the cabinet’s rear. 2) Turn

The proposed methodology of composites quality assurance is adjusted on the specified reference sample for system calibration and control samples for the

We estimated the cumulative incidence of suicide among adults aged 65 years and older in nursing homes by abstracting resident cen- sus data published in the Nursing Home Com-

At the beginning of the 21st century, the first randomized controlled scienti fic studies that demonstrated the superior- ity of the surgical treatment in patients with temporal

If playback does not start automatically, select in the [Video], [Music], or [Photo] category, and press ENTER.. Some BD-ROMs with the “BD-LIVE” logo* have bonus contents