Docsity

Applied Cryptography -Project Assignments | CSE 543, Study notes of Computer Science

Partial preview of the text

Download Applied Cryptography -Project Assignments | CSE 543 and more Study notes Computer Science in PDF only on Docsity!

CSE543 Computer (and Network) Security - Fall 2007 - Professor Jaeger Page

CSE 543 - Computer Security

Lecture 6 - Applied Cryptography

September 13, 2007

URL: http://www.cse.psu.edu/~tjaeger/cse543-f07/

CSE543 Computer (and Network) Security - Fall 2005 - Professor McDanielCSE543 Computer (and Network) Security - Fall 2007 - Professor Jaeger

Project Assignments

  • Pretty narrow selection
    • 23 people picked IM security
    • Some projects untouched
  • 7 project groups defined (26 students)
  • 9 students not assigned
    • Pick again among (by 5pm tonite -- 9/13)
    • Secure Network Computing
    • Password Cracking/Keylogging
    • User-compatible Security
  • Students
    • Murthy, Bala, Borcic, Chen, Gopalrathnam, Srikar, Shawaran, Tannous, McLaughlin

CSE543 Computer (and Network) Security - Fall 2005 - Professor McDanielCSE543 Computer (and Network) Security - Fall 2007 - Professor Jaeger

Meet Alice and Bob ….

  • Alice and Bob are the canonical players in the

cryptographic world.

  • They represent the end points of some interaction
  • Used to illustrate/define a security protocol
  • Other players occasionally join …
  • Trent - trusted third party
  • Mallory - malicious entity
  • Eve - eavesdropper
  • Ivan - an issuer (of some object)

CSE543 Computer (and Network) Security - Fall 2005 - Professor McDanielCSE543 Computer (and Network) Security - Fall 2007 - Professor Jaeger

Some notation …

  • You will generally see protocols defined in terms of

exchanges containing some notation like

  • All players are identified by their first initial
    • E.g., Alice=A, Bob=B
  • d is some data
  • pw A is the password for A
  • kAB is a symmetric key known to A and B
  • KA
    • ,KA - is a public/private key pair for entity A
  • E( k , d ) is encryption of data d with key k
  • H( d ) is the hash of data d
  • Sig(K A - , d ) is the signature (using A’s private key) of data d
  • “+” is used to refer to concatenation

CSE543 Computer (and Network) Security - Fall 2005 - Professor McDanielCSE543 Computer (and Network) Security - Fall 2007 - Professor Jaeger

Basic (User) Authentication

Alice Bob

  • Bob wants to authenticate Alice’s identity
    • (is who she says she is) [pw

A

] 1 [Y/N] 2

CSE543 Computer (and Network) Security - Fall 2005 - Professor McDanielCSE543 Computer (and Network) Security - Fall 2007 - Professor Jaeger

Hash User Authentication

Alice Bob

  • Bob wants to authenticate Alice’s identity
    • (is who she says she is) [h(pw

A

)] 1 [Y/N] 2

CSE543 Computer (and Network) Security - Fall 2005 - Professor McDanielCSE543 Computer (and Network) Security - Fall 2007 - Professor Jaeger

User Authentication vs. Data Integrity

  • User authentication proves a property about the

communicating parties

  • E.g., I know a password
  • Data integrity ensures that the data transmitted...
  • Can be verified to be from an authenticated user
  • Can be verified to determine whether it has been modified
  • Now, lets talk about the latter, data integrity

CSE543 Computer (and Network) Security - Fall 2005 - Professor McDanielCSE543 Computer (and Network) Security - Fall 2007 - Professor Jaeger

Simple Data Integrity?

Alice Bob

  • Alice wants to ensure any modification of the data in

flight is detectable by Bob (integrity)

[d,h(d)] 1

CSE543 Computer (and Network) Security - Fall 2005 - Professor McDanielCSE543 Computer (and Network) Security - Fall 2007 - Professor Jaeger

Signature Integrity

Alice Bob

  • Alice wants to ensure any modification of the data in

flight is detectable by Bob (integrity)

[d, Sig(KA

1 , d)]

CSE543 Computer (and Network) Security - Fall 2005 - Professor McDanielCSE543 Computer (and Network) Security - Fall 2007 - Professor Jaeger

Data Integrity vs. Non-repudiation

  • If the integrity of the data is preserved, is it provably

from that source?

  • Hash integrity says what about non-repudiation?
  • Signature integrity says what about non-repudiation?

CSE543 Computer (and Network) Security - Fall 2007 - Professor Jaeger Page

Question

  • If I already have an authenticated channel (e.g., the

remote party’s public key), why don’t I simply make

up a key and send it to them?

CSE543 Computer (and Network) Security - Fall 2005 - Professor McDanielCSE543 Computer (and Network) Security - Fall 2007 - Professor Jaeger

  • Alice wants to ensure that the data is not exposed to

anyone except the intended recipient (confidentiality)

  • But, Alice and Bob have never met !!!!
  • Alice randomly selects key kx to encrypt with

Confidentiality

Alice Bob [E(kx,d), hmac(kx, d),E(KB

,kx)] 1

CSE543 Computer (and Network) Security - Fall 2007 - Professor Jaeger Page

Kerberos

  • History: from UNIX to Networks (late 80s)
    • Solves: password eavesdropping
    • Online authentication
      • Variant of Needham-Schroeder protocol
    • Easy application integration API
    • First single sign-on system (SSO)
    • Genesis: rsh, rcp
      • authentication via assertion
  • Most widely used (non-web) centralized password

system in existence (and lately only ..)

  • Now: part of Windows 2K, XP network authentication
    • Windows authentication was a joke.

CSE543 Computer (and Network) Security - Fall 2007 - Professor Jaeger Page

An aside …

  • Authentication
    • Assessing identity of users
    • By using credentials …
  • Authorization
    • Determining if users have the right to perform requested action (e.g., write a file, query a database, etc.)
  • Kerberos authenticates users, but does not perform

any authorization functions …

  • … beyond identify user as part of Realm
  • Typically done by application.
  • Q: Do you use any “ Kerberized ” programs?
  • How do you know?