Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN...

54
Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Transcript of Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN...

Page 1: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Agenda SSN Week 3● Protocolanalyse Wireshark● Doorlopen boek● Voorbereiding SSN Project● Secret key● Public Key● Hashes● DES● AES● Praktikum: Cryptool en RSAFAQ

Page 2: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Wireshark● Open Source● Vroeger Ethereal● Wireless kan lastig zijn

Page 3: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Boek● Hoofdstuk 1 volledig● Hoofdstuk 2 volledig● Hoofdstuk 3 volledig nadruk op DES en AES● Hoofdstuk 4 volledig let ook op de sheets● Hoofdstuk 5 volledig nadruk op MD5 en SHA● Hoofdstuk 6 alleen de in het college behandelde stof ● Hoofdstuk 7 en 8 alleen als achtergrondinfo bij de door

Karst behandelde sheets

Page 4: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Boek 2● Hoofdstuk 9 volledig● Hoofdstuk 10 volledig● Hoofdstuk 11.1 tot en met 11.3 let ook op de sheets● Hoofdstuk 12 alleen een keer lezen● Hoofdstuk 13 en 14 alleen wat op de sheets staat● Hoofdstuk 15 lezen maar tentamen gaat alleen de op

de sheets behandelde stof

Page 5: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Boek 3● Hoofdstuk 16 volledig● Hoofdstuk 17 18 en 19 lezen maar tentamen gaat

alleen de op de sheets behandelde stof● Hoofdstuk 20-26 slechts gedeeltes voor zover we er

aan toekomen.

Page 6: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Projecten

● Consultancy vraag ● Werken in groepen van 4● Niet in de samenstelling van RP1 ● Security Onderwerp uit lijst● Geen onderwerp waar je al eerder aan gewerkt hebt● Duidelijke verdeling van werk● Alle vrije practica+ extra tijd.....

Page 7: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Onderwerpen● Face recognition● Chipcards● RFID● PKI's● Stemmen op papier● USB encryption● Encrypting filesystems

● Quantum crypto● Fingerprint readers● VPN's● IPSEC● Proprietary encryption● Vista● Password schemes

Page 8: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Onderdelen● Wat gaan we doen

– Projectvoorstel● Wat is er al gedaan

– Wetenschappelijk onderzoek● Wat doet de markt

– Producten tools kennis● Wat is jullie advies

– Is dit bruikbaar en op welke wijze

Page 9: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Projectvoorstel● Maximaal 2 A4tjes● Aanpak● Werkverdeling !!!!● Planning● Onderzoeksvraag● Korte beschrijving wat je weet na 1 uur zoeken

Page 10: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Presentaties

● Minimaal 30 minuten per groep● Je aanpak● Papers vinden en beoordelen● Open standaarden● Open Source implementaties● Voorbeeldimplementatie of demo● Je oordeel

Page 11: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Verslagen

● Verdere uitwerking van hetzelfde onderwerp● Duidelijke verdeling van werk ook in het eindresultaat● Tussentijdse versie ● Na 24 december inleveren is een onvoldoende

Page 12: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Crypto Eisen ● Deniable Encryption● Plausible Deniability● Perfect Forward Secrecy

Page 13: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

13

Hash

● Anders dan parity of CRC !● Ook wel Message Digest genoemd● Neemt input en levert vaste lengte output● cryptographische hash

– one-way (Niet mogelijk om terug te rekenen)– collision-resistant (Geen twee inputs die dezelfde

hash opleveren)– output moet zo random mogelijk zijn

● (cryptool demo)

Page 14: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

14

Werking HASH

Page 15: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Merkle-Damgård

Page 16: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

HASH Algorithms● MD● MD2● MD4● MD5 (IETF RFC1321)● SHA● SHA-1 (Nist)● SHA-2 (verzamelnaam)

Page 17: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Demo fraude tentamencijfers● Birthday Attack

Page 18: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

SHA● Secure Hash Algorithm● 1993 NIST FIPS● Lijkt erg op MD5● Veel onderzoek ● van 2^80 tot 2^69● Zorg voor toekomst

Page 19: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

HMAC● Keyed-hash message authentication code● MAC + Encryptie● HMAC-MD5 ● HMAC-SHA-1

Page 20: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Symetric Assymetric

Page 21: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Secret Key Encryption ● Ook wel Symetrische encryptie● DES (Tripple DES)● IDEA● AES

Page 22: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Sleuteldistributie● Duur● Kwetsbaar● Niet schaalbaar

Page 23: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Public Key Cryptography● Ook wel Asymetrische encryptie● Diffie Hellmann● RSA● PGP

Page 24: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

El Gamal●Dr. Taher Elgamalطاهر الجمل●●Egyptian American cryptographer●Beschreef basis

Page 25: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Diffie Hellman Merkle

Page 26: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Public Key Encryption

Page 27: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ
Page 28: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ
Page 29: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

http://tools.ietf.org/html/rfc2631RFC 2631

Diffie-Hellman Key Agreement Method

Page 30: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

William Stanley Jevons

William Stanley Jevons (September 1, 1835 - August 13, 1882), English economist and logician,

Page 31: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Non Secret Encryption● James Ellis Clifford Cocks● Geheim onderzoek bij GCHQ

file:///Codebook/bmp/ellis3.bmp

Page 32: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

RSA● Ron Rivest, Adi Shamir en Len Adleman

Page 33: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Stream Ciphers

Page 34: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Block Ciphers

Page 35: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

DES● DEA is algoritme● 64 bits key met parity ● Effectief 56 bits● Theoretisch beschouwd als gekraakt

Page 36: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ
Page 37: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ
Page 38: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Deep Crack

Page 39: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Tripple DES● Driemaal● Maar op slimme manier● Effectieve keylenget tussen 80 en 112 bits● EEE● EDE met K1, K2, K3, maar vaak is K1 gelijk aan

K3.

Page 40: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

40

ECB

M1 M2 M3 M4

C1 C2 C3 C4

Page 41: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ
Page 42: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

42

CBC (Cipher Block Chaining)

IV M1 M2 M3 M4

IV C1 C2 C3 C4

E E E E

Page 43: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Cipher Block Chaining

Page 44: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ
Page 45: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ
Page 46: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Output Feedback Mode

Page 47: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Gebruikt met error correcting codes

Page 48: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ
Page 49: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Counter (CTR) Mode

Counter (CTR)

Ook bekend als Segmented Integer Counter (SIC) mode

Random Access mogelijkEigenschappen OFB

Page 50: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

AES Wedstrijd● Nist 1997-2001

– MARS– RC-6– Rijndael– Twofish– Serpent

Page 51: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ

Rijndael● Winaar AES● Joan Daemen en Vincent Rijmen

Page 52: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ
Page 53: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ
Page 54: Agenda SSN Week 3 · Agenda SSN Week 3 Protocolanalyse Wireshark Doorlopen boek Voorbereiding SSN Project Secret key Public Key Hashes DES AES Praktikum: Cryptool en RSAFAQ