1. Trang chủ
  2. » Giáo án - Bài giảng

Network systems security by mort anvari lecture8

38 113 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 38
Dung lượng 330,5 KB

Nội dung

Message Authentication Network Systems Security Mort Anvari Message Authentication  Message authentication is concerned with     protecting the integrity of a message validating identity of originator non-repudiation of origin (dispute resolution) Three alternative functions to provide message authentication    message encryption message authentication code (MAC) hash function 9/21/2004 Providing Authentication by Symmetric Encryption   Receiver knows sender must have created it because only sender and receiver know secret key Can verify integrity of content if message has suitable structure, redundancy or a checksum to detect any modification 9/21/2004 Providing Authentication by Asymmetric Encryption     Encryption provides no confidence of sender because anyone potentially knows public key However if sender signs message using its private key and then encrypts with receiver’s public key, we have both confidentiality and authentication Again need to recognize corrupted messages But at cost of two public-key uses on message 9/21/2004 Providing Authentication by Asymmetric Encryption 9/21/2004 Message Authentication Code (MAC)  Generated by an algorithm that creates a small fixed-sized block      depending on both message and some key like encryption though need not to be reversible Appended to message as a signature Receiver performs same computation on message and checks it matches the MAC Provide assurance that message is unaltered and comes from sender 9/21/2004 Uses of MAC 9/21/2004 MAC Properties  Cryptographic checksum MAC = CK(M)     condenses a variable-length message M using a secret key K to a fixed-sized authenticator Many-to-one function   potentially many messages have same MAC make sure finding collisions is very difficult 9/21/2004 Requirements for MACs   Should take into account the types of attacks Need the MAC to satisfy the following: knowing a message and MAC, it is infeasible to find another message with same MAC MACs should be uniformly distributed MAC should depend equally on all bits of the message 9/21/2004 Using Symmetric Ciphers for MAC   Can use any block cipher chaining mode and use final block as a MAC Data Authentication Algorithm (DAA) is a widely used MAC based on DES-CBC    using IV=0 and zero-pad of final block encrypt message using DES in CBC mode and send just the final block as the MAC   or the leftmost M bits (16≤M≤64) of final block But final MAC is now too small for security 9/21/2004 10 MD5 Compression Function 9/21/2004 24 Security of MD5    MD5 hash is dependent on all message bits Rivest claims security is good as can be However known attacks include      Berson in 1992 attacked any round using differential cryptanalysis (but can’t extend) Boer & Bosselaers in 1993 found a pseudo collision (again unable to extend) Dobbertin in 1996 created collisions on MD compression function (but initial constants prevent exploit) Wang et al announced cracking MD5 on Aug 17, 2004 (paper available on Useful Links) Thus MD5 looks vulnerable soon 9/21/2004 25 Secure Hash Algorithm (SHA1)   Designed by NIST & NSA in 1993, revised 1995 as SHA-1 US standard for use with DSA signature scheme     standard is FIPS 180-1 1995, also Internet RFC3174 Produce hash values of 160 bits (20 bytes) Now the generally preferred hash algorithm Based on design of MD4 with key differences 9/21/2004 26 SHA-1 Overview pad message so its length is 448 mod 512 append a 64-bit length value to message initialize 5-word (160-bit) buffer (A,B,C,D,E) to (67452301,efcdab89,98badcfe,10325476,c3d2e1f0) process message in 16-word (512-bit) chunks:    expand 16 words into 80 words by mixing & shifting use rounds of 20 bit operations on message block & buffer add output to input to form new buffer value output hash value is the final buffer value 9/21/2004 27 SHA-1 Compression Function  Each round has 20 steps which replaces the buffer words thus: (A,B,C,D,E)

Ngày đăng: 09/01/2018, 11:57

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN