Authentication Protocols




CS166

Chris Pollett

Oct 31, 2012

Outline

Authentication Protocols

Authentication

Simple Authentication

Simple Authentication Messages

Authentication Attack

Simple Authentication Messages with Eavesdropper

Authentication Attack

Simple Authentication Replay Attack

Simple Authentication -- Single Message

Simple Authentication using Single Message

Better Authentication

Simple Authentication using a Hash

Challenge-Response

Nonce

Challenge-Response with Nonce

Challenge Response with Nonce Messages

Generic Challenge-Response

Generic Challenge Response Messages

Symmetric Key Notation

Authentication: Symmetric Key

Authentication with Symmetric Key

Symmetric Key Authentication Messages

Mutual Authentication?

Naive Mutual Authentication Messages

HW Problem

Problem 9.4 Consider the following mutual authentication protocol, where `K_(AB)` is a shared symmetric key.

Challenge R, Encrypt R, Encrypt R+1 mutual authentication protocol

Give two different attacks that Trudy can use to convince Bob that she is Alice.

Answer. Trudy could send the message "I'm Alice, R + 1". Then when Bob sends `E(R+1, K_(AB))`, Trudy sends the message "I'm Alice, R". When Bob sends `E(R, K_(AB))`, Trudy can reply with `E(R+1, K_(AB))` she saw earlier. Alternatively, if Trudy watched the complete exchange of Alice and Bob, she could just replay all the messages.

Mutual Authentication

Mutual Authentication -- One-way Protocol Twice

Mutual Authentication -- One-Way Twice Messages

Mutual Authentication Attack

Mutual Authentication -- One-Way Twice Attack

Mutual Authentication Observations

Symmetric Key Mutual Authentication

Symmetric Key Mutual Authentication Messages

Public Key Notation

Public Key Authentication Attempt 1

First Naive Public Key Authentication Messages

Public Key Authentication Attempt 2

First Naive Public Key Authentication Messages

Public Keys

Session Key

Authentication and Session Key (with Public Keys)

Public Key Authentication for Sessions (with Public Keys) Messages

Public Key Authentication and Session Key (with Private Keys)

Public Key Authentication for Sessions (with Private Keys) Messages

Public Key Authentication and Session Key -- At Last 1

Public Key Authentication for Sessions Messages (Public Outer)

Public Key Authentication and Session Key -- At last 2?

Public Key Authentication for Sessions Messages (Private Outer)