Docsity

Confidentiality Using Symmetic Encryption-Computer Security-Lecture Slides, Slides of Computer Security

Partial preview of the text

Download Confidentiality Using Symmetic Encryption-Computer Security-Lecture Slides and more Slides Computer Security in PDF only on Docsity!

Dr. Hanif Durad

Lecture Outline  Placement of Encryption Function  Potential Locations for Confidentiality Attacks  Link versus end-to-end Encryption  Placement of Encryption  Encryption vs. Protocol Level  Traffic Confidentiality  Key Distribution  Key Hierarchy  Key Distribution Issues  Random Numbers

Dr. Hanif Durad

7.1 Placement of EncryptionFunction  Traditionally symmetric encryption is used toprovide message confidentiality  But last several decades have been used forauthentication, integrity, digital signatures andpublic key cryptography

Dr. Hanif Durad

Example Scenario  Snooping from another workstation  Use dial-in to LAN or server to snoop  Physically tap line in wiring closet  Use external router link to enter & snoop  Monitor and/or modify traffic one external links

Dr. Hanif Durad

7.1.2 Link versus end-to-endEncryption (1/2)

^ Traditionally symmetric encryption is used toprovide message confidentiality ^ have two major placement alternatives^ ^ link encryption^ ^ end-to-end encryption

Dr. Hanif Durad

Placement of Encryption Function

Dr. Hanif Durad

Placement of Encryption Function(1/2)  When using end-to-end encryption must leaveheaders in clear  So network can correctly route information  Hence although contents protected, trafficpattern flows are not  Ideally want both at once  end-to-end protects data contents over entire pathand provides authentication  link protects traffic flows from monitoring

Dr. Hanif Durad

Relationship between Encryption and

Protocol Levels (1/2) (a) Application-Level Encryption (on links and at routers and gateways)(b) TCP-Level Encryption

Shading indicates encryption. TCP-H = TCP headerIP-H = IP headerNet-H = Network-level header (e.g., X.25 packet header, LLC header)Link-H = Data link control protocol headerLink-T = Data link control protocol trailer

Dr. Hanif Durad

Relationship between Encryption and

Protocol Levels (2/2)^ (c) Link-Level Encryption Shading indicates encryptionTCP-H = TCP headerIP-H = IP headerNet-H = Network-level header (e.g., X.25 packet header, LLC header)Link-H = Data link control protocol headerLink-T = Data link control protocol trailer

The figure actually shows but onealternative. It is also possible to encryptpart or even all of the link header andtrailer except for the starting and endingframe flags.

Dr. Hanif Durad

7.3 Key Distribution (1/5)

^ Symmetric schemes require both parties to share acommon secret key ^ Issue is how to securely distribute this key? ^ key distribution scheme refers to the means ofdelivering a key to two parties who wish toexchange data, without allowing others to see thekey ^ Often secure system failure due to a break in thekey distribution scheme

Dr. Hanif Durad

Key Distribution (2/5)  given parties A and B have various

key

distribution

alternatives:

1.^ A can select key and physically deliver to B2.^ third party can select & deliver key to A & B3.^ if A & B have communicated previously can useprevious key to encrypt a new key4.^ if A & B have secure communications with a thirdparty C, C can relay key between A & B

Dr. Hanif Durad

Key Distribution (4/5)  Option 3 can be used in both link and end-to-end communication  again dangerous gaining access to one key will getaccess to all subsequent keys.

Dr. Hanif Durad

Key Distribution (5/5)  Option 4 is the most commonly used for end-to-end encryption  a key distribution center (KDC) is used  a hierarchy of keys, at least two levels^ ^ a unique

master key

for each host for communicating with KDC  session keys

for communicating between the end hosts

Dr. Hanif Durad

The Use of a Key Hierarchy

[N(N-1)/2= (e.g. physical delivery N= ?)

(^2) O (N ))

Dr. Hanif Durad

7.3.2 Key Distribution Scenario

K^ =Master key of Aa^ K^ =Master key of Bb K^ = One time session keys^ N= Noncef= a function that performssome transformation