Introduction to Information Security


Using Timestamps to Establish Freshness



Download 1,39 Mb.
bet39/44
Sana01.04.2022
Hajmi1,39 Mb.
#522548
1   ...   36   37   38   39   40   41   42   43   44
Bog'liq
CSS

Using Timestamps to Establish Freshness

A: => KDC (A,B);

KDC: => A (E((KAB,TKDC),KA), E((KAB,TKDC),KB));

A: => B (E((KAB,TKDC),KB));

Where TKDC is a timestamp from the KDC’s clock and:

  • Alice and Bob’s clocks are both synchronized with the KDC’s
  • Alice and Bob both check the KDC’s message to make sure it was generated recently

Using Nonces to Establish Freshness

  • A nonce is a randomly-generated value that:
    • Is never reused
    • Can be used to prove the freshness of a message
    • A: => KDC (A,B,NA);

      B: => KDC (A,B, NB);

      KDC: => A (E((KAB,NA),KA));

      KDC: => B (E((KAB,NB),KB));

Key-Exchange with Public-Key Cryptography

  • Alice learns Bob’s public key (by either asking Bob or some third party)
  • Alice generates a random session key, KAB
  • Alice encrypts the session key with Bob’s public key
  • Alice sends Encrypt(KAB,BPublic) to Bob
  • Bob receives Alice’s message and decrypts it with his private key
  • Alice and Bob encrypt their subsequent communications with KAB

Attacking the Protocol

  • Recall the man-in-the-middle attack
    • If Mallory can trick Alice into thinking that MPublic is Bob’s public key
      • Mallory can decrypt Alice’s first message to Bob
      • Encrypt(KAB,MPublic)

      • Mallory learns the proposed session key KAB
      • Mallory can send Bob: Encrypt(KAB,BPublic)
      • Alice and Bob will encrypt their subsequent communications with KAB thinking that it is secure
  • This is a very serious problem because it’s often difficult to be sure you know somebody’s public key

Authentication

  • Authentication is the process of proving your identity to someone else
    • One-way
    • Two-way
  • Authentication protocols are often designed using a challenge and response mechanism

Download 1,39 Mb.

Do'stlaringiz bilan baham:
1   ...   36   37   38   39   40   41   42   43   44




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish