• No results found

Cryptography & Network Security

N/A
N/A
Protected

Academic year: 2021

Share "Cryptography & Network Security"

Copied!
10
0
0

Loading.... (view fulltext now)

Full text

(1)

Cryptography & Network Security

Lecture 1: Introduction & Overview

2002. 3. 27

임 채훈

[email protected]

세종대학교 인터넷학과

Common Terms(1)

‰

Cryptography

:

The study of mathematical techniques related to aspects of information security

‰

Cryptanalysis

: The study of

mathematical techniques for attempting to defeat cryptographic techniques

‰

Cryptology

: The study of cryptography and cryptanalysis

‰

Cryptosystem

: A general term referring to a set of cryptographic

primitives used to provide information security

(2)

Common Terms(2)

‰

Cipher

: Block cipher, Stream cipher, Public key cipher

‰

Plaintext/Cleartext

(평문)

,

Ciphertext

(암호문)

‰

Encryption/Encipherment

,

Decryption/Decipherment

‰

Key

(or Cryptographic key)

¾

Secret key

¾

Private key / Public key

‰

Authentication

¾

Message authentication

¾

User authentication

‰

Digital signature

Security Threats

‰

Interruption/Denial of service

‰

Interception: eavesdropping, wiretapping, theft …

‰

Modification

‰

Fabrication/Forgery

‰

Unauthorized access

(3)

Security Services

‰

Security services

¾

A service that enhances information security using one or

more security mechanisms

‰

Confidentiality/Secrecy

↔ Interception

‰

Authentication

↔ Forgery

‰

Integrity

↔ Modification

‰

Nonrepudiation

↔ Denial of facts

‰

Access control

↔ Unauthorized access

‰

Availability

↔ Interruption

Security Mechanisms

‰

Security mechanism

¾

A mechanism designed to detect, prevent, or recover from

a security attack

‰

Encryption

‰

Authentication

Digital signature

(4)

Models for Evaluating Security

‰

Conditional vs Unconditional

¾

Unconditional security

¾

Computational security

‰

Provable vs Ad hoc

¾

Provable security

¾

Ad hoc security

Summary: Security Needs for Network Communications

Interception Confidentiality

Is Private?

Modification Integrity

Has been altered?

Forgery Authentication

Who am I dealing with?

Claim Non-Repudiation

Who sent/received it? Not SENT ! Denial of Service Availability Wish to access!! Access Control

Have you privilege? Unauthorised access

(5)

¾ Encryption with MAC : Confidentiality, Authentication, Integrity Protection ¾ Digital Certificate : Identification

¾ Digital Signature : Authentication, Integrity Protection, Non-Repudiation ¾ Security mechanisms are combined to provide a security service

9 Virtual Private Network(VPN), Firewall, IDS, etc.

Solutions for Security Needs

CO NFI

DEN

TIAL ¾ Temper-evident sealed envelope

¾ ID-card, Passport, Drivers license ¾ Signature

Physical Solutions

Cryptographic Solutions

Classical Encryption Techniques

‰

Basic building blocks of all encryption techniques

¾

Substitution: replacement

¾

Transposition: relocation

‰

Substitution ciphers

¾

Caesar cipher

¾

Monoalphabetic ciphers

¾

Playfair cipher

(6)

Confusion and Diffusion

‰

Diffusion

¾ Ideally, ciphertext should look as if it is a random string of letters.

¾ Distributes or disperses the statistical structure of plaintext over the

ciphertext.

¾ Hides the statistical relationships between the

ciphertext

and the

underlying

plaintext

.

¾ Changes in the plaintext should affect many parts of the ciphertext.

¾ Substitution + Transposition

‰

Confusion

¾ The principle of confusion prevents the cryptanalyst from using

ciphertext to figure out the secret encryption key.

¾ Hides the statistical relationship between

ciphertext

and

secret key

.

¾ The interceptor should not be able to predict what changing one

character in the plaintext will do to the ciphertext.

¾ Substitution (Well-designed & Complex)

Cryptographic Primitives

¾

Unkeyed Primitives

9 Hash functions 9 One-way Permutations 9 Random Sequence

¾

Symmetric Key Primitives

9 Symmetric Key Ciphers : Block ciphers, Stream ciphers 9 Message authentication schemes: Keyed hash functions(MAC) 9 Pseudorandom Sequences

¾

Public Key Primitives

9 Public Key Ciphers 9 Digital Signatures 9 Identification Primitives

(7)

Symmetric Encryption Model

E

D

Shared Secret Key Shared Secret Key

Key

K

Secure Channel Insecure Channel Plaintext M Ciphertext C Plaintext M Cryptanalyst Adversary M′ K′ C = EK(M) DK(C) = M

Asymmetric Encryption Model

E

Insecure Channel

D

Plaintext Ciphertext Plaintext

Cryptanalyst Adversary MKA_d

Alice

Bob

(8)

Symmetric Authentication Model

MAC

Shared Secret Key Shared Secret Key

Key

K

Secure Channel Insecure Channel Message M M + mac Cryptanalyst Adversary K′

mac = MACK(M) MACK(M′) = mac′ ?

Regenerated mac = Received mac ?

MAC

= ? Success Or Failure Received Regenerated Mmac′

Asymmetric Authentication Model

SIGN

Insecure Channel Message M M + sig Cryptanalyst Adversary KA_d(M′, sig′) = Success ? Success Or Failure M′ + sig′ Obtain Alice’s public Key

Alice’s Public Key KA_e Authentic Channel

Alice’s Private Key KA_d

Bob

Alice

(9)

Secret Key vs Public Key Systems

¾Symmetric Key Cryptosystem

9 Both parties must share the same secret key

9 Encrypt/Decrypt & MAC generate/verify

9 Very fast : Bulk data encryption, User/message authentication

9 Block/Stream Cipher : AES, DES, IDEA, SEED, Crypton…; RC4, SEAL… 9 MAC schemes: Keyed hash (HMAC), CBC-MAC …

9Problem of Key Sharing; Cannot provide Non-repudiation

¾Public Key Cryptosystem

9 A pair of (Public Key, Private Key) for each user

9 Encrypt/Verify with peer’s Public Key; Decrypt/Sign with its own Private Key

9 Encryption scheme: RSA, ElGamal 9 Key exchange: DH(Diffie-Hellman), ECDH

9 Signature schemes: RSA, DSA, KCDSA, ECDSA, EC-KCDSA … 9 Slow : Key exchange, Authentication, Non-repudiation 9Problem : How to get the right peer’s Public Key

¾

Hash Function

9 Generate a fixed length “Fingerprint” for an arbitrary Message

9 No Key involved 9 One Way Function 9 MD5, SHA1, SHA2, HAS160

¾

Applications

Hash Functions

H

Message M

(10)

¾

Purposes

9 Secure tag for authentication 9 Message origin authentication 9 User authentication

9 Message integrity

¾

Schemes

9 Keyed hash: HMAC

9 Block cipher: CBC-MAC, XCBC-MAC 9 Dedicated MAC: UMAC

Message Authentication Code(MAC)

MAC SEN D MAC MAC Shared Secret Key

¾

Digital Signature

9 Combine Hash with Digital Signature and use PKC 9 Provide Authenticationand Non-Repudiation

9 RSA; DSA, KCDSA, ECDSA, EC-KCDSA

Digital Signature

Sender’s Private

Key

Hash Algorithm

Hash Hash Algorithm

Hash1 Hash2 Sender’s Public Key SEND Signature Signature Signin g Ve rify in g

References

Related documents

providing services shall ensure that a representative of the private school attends each meeting conducted to develop review or revise a service plan and that the local education

Appendix A, table 2 provides summary statistics on corporate governance and financial variables. The statistics are shown for each year separately and as totals for all 5

The test of the uncovered interest rate parity hypothesis at the dollar targeting stage up until February 2005 shows that the interest rate spread and the domestic MosIBOR rate

A recent study has suggested a Child-Pugh score of 8 and a Model for End-Stage Liver Disease (MELD) score of 14 as the cutoff values above which surgery poses too much risk for

30 of the respondents representing 30% of the respondents agreed that Continuous supervision to ensure purposeful use of the loan is highly effective in credit recovery approach

Knife 51 and Jolly Green 43 diverted to the western beach, and they too were able to land their reinforcing marines, increasing the US force to about 200.. Knife

I will begin with a detailed description of two rival projects of mate- rialist philosophy. For the analysis of the contemporary materialist dialec- tic , I will turn to the

Because of its structure and practical aims, this book can also be used as a second book on programming for someone who already knows a bit of C++ or for someone who programs in