Design and Analysis of Cryptographic Algorithms for Mobile Communication Systems. Henri Gilbert Orange Labs.

Size: px
Start display at page:

Download "Design and Analysis of Cryptographic Algorithms for Mobile Communication Systems. Henri Gilbert Orange Labs."

Transcription

1 Design and Analysis of Cryptographic Algorithms for Mobile Communication Systems Henri Gilbert Orange Labs outline development of cryptographic algorithms for a real life application introduction cryptographic features of 2G and 3G systems algorithms development process within ETSI/SAGE approach to design / specification / evaluation links with academic research case studies 1999: KASUMI block cipher + resulting encryption (UEA1, A5/3) and MAC (UIA1) 2005: SNOW 3G stream cipher + resulting encryption (UEA2) and MAC (UIA2) 2000: MILENAGE authentication and key generation algorithm development of 3G algorithms (2)

2 security in mobile systems Radio access network Core Network External networks (PSTN, IP ) MS = ME + (U)SIM security aspects: radio access terminal core network e2e transactions development of 3G algorithms (3) cryptographic algorithms of GSM subscriber authentication authentication & key generation algorithms A3/A8 permanent subscriber key Ki (SIM & HLR) A3/A8 is not standardized (operator dependent) RAND (challenge) Ki A3/A SRES Kc traffic and signalling encryption circuit switched GSM: standard A5 algorithms A5/1, A5/2, A5/3 Kc 64 IV (frame nb.) 22 A5 114-bit keystream packet oriented GSM (GPRS): standard GEA algorithms GEA1, GEA2, GEA3 64 Kc* IV (counter, dir.) 33 GEA 5 to 1600-byte keystream development of 3G algorithms (4)

3 GSM SECURITY: OVERVIEW SIM off line on line Ki A3/A8 IV (frame nb.) plain traffic &sig. Kc ME A5 114-bit keystream RAND SRES start enc. ACK BTS Kc A5 encrypted traffic & sig. + + MSC/VLR Kc, start enc. 114-bit keystream visited network n triplets (RAND, SRES, Kc) IV (frame nb.) plain traffic& sig. checks SRES HLR/AuC RAND Ki A3/A8 SRES home network Kc development of 3G algorithms (5) limitations of GSM security no network authentication and no explicit integrity protection moreover encryption initiative is left up to the network eavesdropping attacks using false base stations turned out to be a reality UMTS: network authentication and signalling messages auth. GSM and UMTS: encryption indicator (in some mobiles) limitations of GSM encryption encryption ends at the base station => vulnerability of the BTS-BSC interface efficient attack on A5/2, gradual erosion of the protection offered by A5/1 [Biham et al.] UMTS: strong encryption (-bit key, hopefully full strength), ends at RNC GSM: move to A5/3 (derived from 3G algorithm KASUMI) development of 3G algorithms (6)

4 cryptographic features of UMTS mutual authentication (slightly simplified) subscriber auth. GSM auth generation of session keys CK and IK network auth. MAC of sequence nb. SQN SQN anonymization: mask AK f1-f5 also named AKA (auth. & key agreement) no standard AKA; example AKA: MILENAGE traffic and signalling encryption two standard f8 algorithms UEA1 derived from KASUMI UEA2 derived from SNOW 3G K CK RAND SQN AMF f2 f3 f4 f5 f1 RES CK IK AK MAC-A IV (count-c, bearer, dir.) f8 keystream message authentication two standard f9 algorithms UEA1 derived from KASUMI UEA2 derived from SNOW 3G development of 3G algorithms (7) IK message+ (count, fresh, direction) f9 32 MAC UMTS SECURITY: OVERVIEW HLR/AuC USIM ME Node-B RNC MSC/VLR RAND, SQN K n quintets (RAND,RES,IK,CK, AUTN) f1-f5 RES IK CK AUTN K RAND, AUTN f1-f5 checks AUTN IK CK RES start enc. ACK CK start enc., CK, IK checks RES home network IV f8 f8 IV { DATA MAC } count, fresh f9 development of 3G algorithms (8) + encrypted traffic & sig. + { DATA MAC } count, fresh f9 checks MAC

5 ETSI/SAGE what's that? security algorithms group of experts of European Telecommunication Standard Institute in charge of security algorithms standardisation for telecommunications mobile communication systems: 2G (GSM/GPRS), 3G (UMTS) other systems: radio lans, teleconferencing, smart cards, inter-pno exchanges, TETRA created in the early 90's initial mandate included liaison with national authorities to get export approval membership closed group: no longer for secrecy reasons, for efficiency reasons ~ 10 telecom. operators or manufacturers with strong cryptography expertise chaired by Gert Roelofsen until he left KPN research and since then by Steve Babbage, Vodafone development of 3G algorithms (9) export controls before 98 strong export restrictions on encryption, in particular for mobile systems A5/1 was much stronger than ciphers that were freely exportable at that time no transparent rules, case by case approval SAGE algorithms were not published this was needed to get export approval however, for massively deployed algorithms, secrecy does not last long since 98 (Wassenaar agreements) export controls still exist but have been considerably eased and are no longer a real issue for mobiles SAGE moved to public algorithms soon after 98 increase public confidence take advantage from publicly available designs other less decisive pros & cons: public evaluation after deployment, increased vulnerability to side channel attacks development of 3G algorithms (10)

6 SAGE approach to algorithms development "balance the benefits of public evaluation against industry timescales" [S. Babbage] 1. take the best from available research results investigate most promising public designs adapt design to specific requirements of the intended application taking most recent advances in cryptanalysis into account 2. algorithm design /specification / evaluation work set-up a project team with clear timescales and allocation of tasks split participants into separate design and evaluation teams requirements capture (all) design team: 1st design, 2 nd design, final design evaluation team: mathematical evaluation, statistical testing output: specification, ref. implementation and spec.testing, design & eval. report 3. Independent evaluation and follow-on research evaluation reports by well known academic expert teams (limited evaluation time) monitoring of (and often contribution to) follow-on public research development of 3G algorithms (11) Case study 1: KASUMI, UEA1, UIA1 (1999) requirements (in brief) stream cipher f8 and MAC f9 security: full strength low H/W complexity good H/W and S/W performance f8: good IV agility block cipher with stream cipher & MAC modes for flexibility reasons available research results to start from strategies to thwart statistical attacks: [Daemen-Rijmen]: wide trail strategy [Vaudenay]: decorrelation theory and resulting block ciphers [Nyberg-Knudsen, Aoki]: differential & linear bounds on 3R-Feistel schemes [Matsui]: application to the embedded construction of MISTY block cipher MISTY (a 64-bit block cipher) was selected as the starting point for the design MISTY's designer, M. Matsui (Mitsubishi) joined SAGE KASUMI ( "misty" in Japanese) was designed CK IK IV count-c bearer dir. f8 keystream message, count, fresh, dir. f9 MAC development of 3G algorithms (12)

7 KASUMI plaintext (64 bits) KL1 KO1, KI1 FL1 FO1 16 FIi1 32 KOi1 KIi S9 zero-extend KO2, KI2 KL2 FO2 FL2 FIi2 KOi2 KIi2 S7 truncate KIij1 KIij2 F KL3 KO3, KI3 FL3 FO3 KO4, KI4 KL4 FO4 FL4 FIi3 KOi3 KIi3 S9 S7 zero-extend truncate KL5 KO5, KI5 FL5 FO5 KO6, KI6 KL6 FO6 FL6 KL7 KO7, KI7 FL7 FO7 KO8, KI8 KL8 FO8 FL8 ciphertext (64 bits) FO KLi1 FL KLi2 bitwise AND operation bitwise OR operation one bit left rotation FI Main changes from MISTY1-4th round in FI - FL: modified location, rotation - new S-boxes S7 and S9 - simplified key schedule same conjectured security slightly lower H/W complexity development of 3G algorithms (13) KASUMI-based f8: UEA1 IV (64 bits) CK( bits) non-standard mode, combination of: -"prewhitening" (computation of secret A), - CNT mode - OFB mode 64-bit blocksize => standard modes would have resulted in strong block distinguishers keystream KS development of 3G algorithms (14)

8 KASUMI-based f9: UIA1 data IK ( bits) non-standard mode again - CBC-MAC variant - -bit "chaining variable" instead of 64 motivation: standard CBC-MAC would have resulted in a forgery attack after 2 32 messages auth. tag (32 bits) development of 3G algorithms (15) KASUMI, UEA1, UIA1 (end) independent evaluation from three well known academic teams coordinated by leading ECRYPT partners in overall, confirmed soundness of proposed algorithms (some suggested variations not supported by strong cryptanalytic arguments against the evaluated specification were not retained) follow on research f9 forgery from 2 48 chosen message MACs [Knudsen-Mitchell] whether forgery from 2 32 chosen message MACs feasible as for standard modes is still open super-pseudo-randomness of 5-round MISTY [2 ind. papers at FSE 00] pseudo-randomness of expanding functions inspired from f8 and MILENAGE [Gilbert] algebraic interpretation of higher order differential properties of MISTY [Babbage-Frisch] research on modes of operation development of 3G algorithms (16)

9 Case study 2: SNOW 3G, UEA2, UIA2 (2005) requirements (in brief) same as UEA1, UIA1, but fallback algorithms set maximize "cryptographic distance" from KASUMI minimize potential vulnerability to algebraic attacks stream cipher + UH MAC approach seemed worth being investigated available research results to start from (stream ciphers) NESSIE had failed selecting a stream cipher, but: had stimulated the design of IV-dependent stream ciphers had resulted in cryptanalytic advances, e.g. linear masking attacks [Coppersmith et al.] ECRYPT / estream stream ciphers project had just started SASC workshop gave an accurate picture of the state of the art SNOW 2.0 [Ekdahl-Johansson] was retained as a starting point for the design with permission of its authors. its resistance to linear masking & algebraic attacks had been analysed [Watanabe et al., Billet-Gilbert] development of 3G algorithms (17) from SNOW 2.0 α -1 α s 15 s 11 s 5 s 2 s 0 R 1 S R 2 current state: - LFSR: bit words - FSM memory: 2 32-bit words 32x32 S-box S - based on AES development of 3G algorithms (18)

10 to SNOW 3G α -1 α s 15 s 11 s 5 s 2 s 0 R 1 S 1 R 2 S 2 R 3 Main changes from SNOW 2.0: -additional memory word R 3 -additional 32x32 S-box S 2 based on Dickson polynomials => extra security margin against algebraic & linear masking attacks development of 3G algorithms (19) SNOW 3G, UEA2, UIA2 (cont.) available research results to start from: UH function-based MACs Wegman-Carter paradigm: MAC(M) = h k (M) OTP, where {h k } is an almost 2-universal family of hash functions many efficient UH MACs based on polynomials had been recently proposed h k (M) = Poly M (k), typically over GF(2 n ) how to best derive k and OTP from IK using a streamcipher was unclear development of 3G algorithms (20)

11 message authentication f9: UIA2 computations are done over GF(2 64 ) 32 bit OTP, but also -bit hash key (P,Q), is derived fom IK using SNOW 3G (conservative choice) IK COUNT-C BEARER DIRECTION IV SNOW 3G P Q M = (M 0,..,M t ) MAC = h PQ (M) OTP where h PQ (M) = (Poly M (P) Q) truncated to 32 bits h PQ Poly M (P) OTP multiplication by Q allows to keep forgery proba. Truncate close to ideal value 2-32, even for long messages: 2-stage MAC construction [Stinson 92, Bierbrauer MAC et al. 93, Neversteen-Preneel 99, Bernstein 05] 32 bits development of 3G algorithms (21) SNOW 3G, UEA2, and UIA2 (end) independent evaluation two well known academic teams (coordinated by leading ECRYPT partners ) various potential lines of attack were investigated in overall, confirmed SAGE confidence in proposed design follow on research improved linear masking on SNOW 2.0 [Nyberg-Wallen] note about how to improve truncated G-MAC [Nyberg-Gilbert-Robshaw] warning about key recovery attacks on some polynomial based UH MACs when unlike in UIA2 hash key is not renewed [Handschuh-Preneel, Crypto 08] development of 3G algorithms (22)

12 conclusion cryptographic research and standardisation are distinct processes distinct objectives, distinct timescales research must not be entirely driven by the requirements of applications standardisation may have to deal with problems research did not / cannot solve but they must interact closely standardisation groups and the research community must not be disjoint the research and scientific exchanges promoted by ECRYPT and ECRYPT II in the future are quite useful to achieve this kind of interaction next cryptography standardization challenges in mobiles? other security aspects (underway) massively deployed public key cryptography in (U)SIMs? development of 3G algorithms (23)

Contents. GSM and UMTS Security. Cellular Radio Network Architecture. Introduction to Mobile Telecommunications

Contents. GSM and UMTS Security. Cellular Radio Network Architecture. Introduction to Mobile Telecommunications Royal Holloway, University of London, IC3 Network Security, 13 November 2006 Contents GSM and UMTS Security Introduction to mobile telecommunications Second generation systems - GSM security Third generation

More information

New mobile phone algorithms a real world story

New mobile phone algorithms a real world story New mobile phone algorithms a real world story Steve Babbage 17 February 2011 1 LTE algorithms, for SKEW 2011 C1 - Unrestricted Standards groups 2 LTE algorithms, for SKEW 2011 C1 - Unrestricted First

More information

3GPP TS V4.0.0 ( )

3GPP TS V4.0.0 ( ) TS 35.205 V4.0.0 (2001-04) Technical Specification 3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; 3G Security; Specification of the MILENAGE Algorithm Set:

More information

ETSI TS V3.4.0 ( )

ETSI TS V3.4.0 ( ) TS 133 103 V3.4.0 (2000-10) Technical Specification Universal Mobile Telecommunications System (UMTS); 3G Security; Integration Guidelines (3GPP TS 33.103 version 3.4.0 Release 1999) 1 TS 133 103 V3.4.0

More information

Security functions in mobile communication systems

Security functions in mobile communication systems Security functions in mobile communication systems Dr. Hannes Federrath University of Technology Dresden Security demands Security functions of GSM Known attacks on GSM Security functions of UMTS Concepts

More information

Network Security: Cellular Security. Tuomas Aura T Network security Aalto University, Nov-Dec 2013

Network Security: Cellular Security. Tuomas Aura T Network security Aalto University, Nov-Dec 2013 Network Security: Cellular Security Tuomas Aura T-110.5241 Network security Aalto University, Nov-Dec 2013 Outline Cellular networks GSM security architecture and protocols Counters UMTS AKA and session

More information

ETSI TS V5.0.0 ( )

ETSI TS V5.0.0 ( ) TS 135 205 V5.0.0 (2002-06) Technical Specification Universal Mobile Telecommunications System (UMTS); 3G Security; Specification of the MILENAGE Algorithm Set: An example algorithm set for the 3GPP authentication

More information

Does Lightweight Cryptography Imply Slightsecurity?

Does Lightweight Cryptography Imply Slightsecurity? Intro Security Examples Conclusions Does Lightweight Cryptography Imply Slightsecurity? Orr Dunkelman Computer Science Department University of Haifa 7 th July, 2014 Orr Dunkelman Lightweight? Slightsecurity

More information

Weak Keys of the Full MISTY1 Block Cipher for Related-Key Cryptanalysis

Weak Keys of the Full MISTY1 Block Cipher for Related-Key Cryptanalysis 3. 2 13.57 Weak eys for a Related-ey Differential Attack Weak eys of the Full MISTY1 Block Cipher for Related-ey Cryptanalysis Institute for Infocomm Research, Agency for Science, Technology and Research,

More information

Applications of Cryptography in Wireless Communication

Applications of Cryptography in Wireless Communication Applications of Cryptography in Wireless Communication Bergen 18th June 2003 Kaisa Nyberg Nokia Research Center 1 NOKIA Outline Mobile Networks GSM 3GPP UMTS Other RATs Bluetooth WLAN Key management If

More information

GPRS Security for Smart Meters

GPRS Security for Smart Meters GPRS Security for Smart Meters Martin Gilje Jaatun 1, Inger Anne Tøndel 1, and Geir M. Køien 2 1 Department of Software Engineering, Safety and Security SINTEF ICT NO-7465 Trondheim, Norway {martin.g.jaatun,inger.a.tondel}@sintef.no

More information

City Research Online. Permanent City Research Online URL:

City Research Online. Permanent City Research Online URL: Komninos, N. & Dimitriou, T. (2006). Adaptive authentication and key agreement mechanism for future cellular systems. Paper presented at the 15th IST Mobile & Wireless Communications Summit, 04-08 June

More information

2 Overview of existing cipher mode setting procedure

2 Overview of existing cipher mode setting procedure 3GPP TSG SA WG3 Security SA3#33 S3-040262 10-14 May 2004 Beijing, China Source: Title: Document for: Agenda Item: Vodafone Analysis of the authenticated GSM cipher command mechanism Discussion and decision

More information

Wireless Communications and Mobile Computing

Wireless Communications and Mobile Computing WNMC-MPR-Sec 1 Wireless Communications and Mobile Computing MAP-I Jaime Dias, Manuel Ricardo Faculdade de Engenharia da Universidade do Porto SECURITY - BASIC CONCEPTS WNMC-MPR-Sec 2 WNMC-MPR-Sec 3 Symmetric

More information

Mobile Security Fall 2013

Mobile Security Fall 2013 Mobile Security 14-829 Fall 2013 Patrick Tague Class #3 Telecom Security from 1G to 4G Basics of Telecom Security Different players in the mobile ecosystem have different security concerns Security concerns

More information

Lecture 2: Secret Key Cryptography

Lecture 2: Secret Key Cryptography T-79.159 Cryptography and Data Security Lecture 2: Secret Key Cryptography Helger Lipmaa Helsinki University of Technology helger@tcs.hut.fi 1 Reminder: Communication Model Adversary Eve Cipher, Encryption

More information

An Introduction to new Stream Cipher Designs

An Introduction to new Stream Cipher Designs An Introduction to new Stream Cipher Designs Ways of Turning Your Data into Line Noise T. E. Bjørstad The Selmer Center, Department of Informatics University of Bergen, Norway 25th Chaos Communications

More information

Lightweight Privacy Preserving Authentication for RFID Using a Stream Cipher

Lightweight Privacy Preserving Authentication for RFID Using a Stream Cipher Lightweight Privacy Preserving Authentication for RFID Using a Stream Cipher Olivier Billet, Jonathan Etrog, and Henri Gilbert Orange Labs RFID systems tags readers back end many types of systems system

More information

GSM Security Overview

GSM Security Overview GSM Security Overview Mehdi Hassanzadeh Mehdi.Hassanzadeh@ii.uib.no Selmer Center, University of Bergen, Norway Norsk ryptoseminar, Bergen, November 9-10, 2011 Agenda A5 Overview : Attack History on A5/1

More information

Questioning the Feasibility of UMTS GSM Interworking Attacks

Questioning the Feasibility of UMTS GSM Interworking Attacks Questioning the Feasibility of UMTS GSM Interworking Attacks Christoforos Ntantogian 1, Christos Xenakis 2 1 Department of Informatics and Telecommunications, University of Athens, Greece 2 Department

More information

Cryptography III: Symmetric Ciphers

Cryptography III: Symmetric Ciphers Cryptography III: Symmetric Ciphers Computer Security Lecture 12 David Aspinall School of Informatics University of Edinburgh 14th February 2008 Outline Stream ciphers Block ciphers DES and Rijndael Summary

More information

ETSI TS V3.5.0 ( )

ETSI TS V3.5.0 ( ) TS 133 102 V3.5.0 (2000-07) Technical Specification Universal Mobile Telecommunications System (UMTS); 3G Security; Security Architecture (3G TS 33.102 version 3.5.0 Release 1999) 1 TS 133 102 V3.5.0 (2000-07)

More information

Internet Engineering Task Force (IETF) Category: Standards Track March 2011 ISSN:

Internet Engineering Task Force (IETF) Category: Standards Track March 2011 ISSN: Internet Engineering Task Force (IETF) D. McGrew Request for Comments: 6188 Cisco Systems, Inc. Category: Standards Track March 2011 ISSN: 2070-1721 Abstract The Use of AES-192 and AES-256 in Secure RTP

More information

Winter 2011 Josh Benaloh Brian LaMacchia

Winter 2011 Josh Benaloh Brian LaMacchia Winter 2011 Josh Benaloh Brian LaMacchia Symmetric Cryptography January 20, 2011 Practical Aspects of Modern Cryptography 2 Agenda Symmetric key ciphers Stream ciphers Block ciphers Cryptographic hash

More information

Symmetric Encryption. Thierry Sans

Symmetric Encryption. Thierry Sans Symmetric Encryption Thierry Sans Design principles (reminder) 1. Kerkoff Principle The security of a cryptosystem must not rely on keeping the algorithm secret 2. Diffusion Mixing-up symbols 3. Confusion

More information

ETSI TS V3.1.0 ( )

ETSI TS V3.1.0 ( ) ETSI TS 133 103 V3.1.0 (2000-01) Technical Specification Universal Mobile Telecommunications System (UMTS); 3G Security; Integration Guidelines (3G TS 33.103 version 3.1.0 Release 1999) (3G TS 33.103 version

More information

A Chosen-key Distinguishing Attack on Phelix

A Chosen-key Distinguishing Attack on Phelix A Chosen-key Distinguishing Attack on Phelix Yaser Esmaeili Salehani* and Hadi Ahmadi** * Zaeim Electronic Industries Co., Tehran, Iran. ** School of Electronic Engineering, Sharif University of Technology,

More information

Information Security CS526

Information Security CS526 Information CS 526 Topic 3 Ciphers and Cipher : Stream Ciphers, Block Ciphers, Perfect Secrecy, and IND-CPA 1 Announcements HW1 is out, due on Sept 10 Start early, late policy is 3 total late days for

More information

AEGIS. A Fast Authenticated Encryption Algorithm. Nanyang Technological University KU Leuven and iminds DIAC 2014 AEGIS 1

AEGIS. A Fast Authenticated Encryption Algorithm. Nanyang Technological University KU Leuven and iminds DIAC 2014 AEGIS 1 AEGIS A Fast Authenticated Encryption Algorithm Hongjun Wu Bart Preneel Nanyang Technological University KU Leuven and iminds 1 AEGIS: A shield carried by Athena and Zeus 2 Different Design Approaches:

More information

A Very Compact Hardware Implementation of the MISTY1 Block Cipher

A Very Compact Hardware Implementation of the MISTY1 Block Cipher A Very Compact Hardware Implementation of the MISTY1 Block Cipher Dai Yamamoto, Jun Yajima, and Kouichi Itoh FUJITSU LABORATORIES LTD. 4-1-1, Kamikodanaka, Nakahara-ku, Kawasaki, 211-8588, Japan {ydai,jyajima,kito}@labs.fujitsu.com

More information

Computer Security CS 526

Computer Security CS 526 Computer Security CS 526 Topic 4 Cryptography: Semantic Security, Block Ciphers and Encryption Modes CS555 Topic 4 1 Readings for This Lecture Required reading from wikipedia Block Cipher Ciphertext Indistinguishability

More information

3 Symmetric Key Cryptography 3.1 Block Ciphers Symmetric key strength analysis Electronic Code Book Mode (ECB) Cipher Block Chaining Mode (CBC) Some

3 Symmetric Key Cryptography 3.1 Block Ciphers Symmetric key strength analysis Electronic Code Book Mode (ECB) Cipher Block Chaining Mode (CBC) Some 3 Symmetric Key Cryptography 3.1 Block Ciphers Symmetric key strength analysis Electronic Code Book Mode (ECB) Cipher Block Chaining Mode (CBC) Some popular block ciphers Triple DES Advanced Encryption

More information

New Time-Memory-Data Trade-Off Attack on the Estream Finalists and Modes of Operation of Block Ciphers

New Time-Memory-Data Trade-Off Attack on the Estream Finalists and Modes of Operation of Block Ciphers New Time-Memory-Data Trade-Off Attack on the Estream Finalists and Modes of Operation of Block Ciphers Khoongming Khoo DSO National Laboratories, 20 Science Park Drive, S118230, Singapore. kkhoongm@dso.org.sg

More information

Modes of Operation. Raj Jain. Washington University in St. Louis

Modes of Operation. Raj Jain. Washington University in St. Louis Modes of Operation Raj Jain Washington University in Saint Louis Saint Louis, MO 63130 Jain@cse.wustl.edu Audio/Video recordings of this lecture are available at : http://www.cse.wustl.edu/~jain/cse567-06/

More information

CSC 474/574 Information Systems Security

CSC 474/574 Information Systems Security CSC 474/574 Information Systems Security Topic 2.2 Secret Key Cryptography CSC 474/574 Dr. Peng Ning 1 Agenda Generic block cipher Feistel cipher DES Modes of block ciphers Multiple encryptions Message

More information

Content of this part

Content of this part UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Introduction to Cryptography ECE 597XX/697XX Part 5 More About Block Ciphers Israel Koren ECE597/697 Koren Part.5.1 Content of this

More information

Network Working Group Request for Comments: S. Moriai Sony Computer Entertainment Inc. April 2004

Network Working Group Request for Comments: S. Moriai Sony Computer Entertainment Inc. April 2004 Network Working Group Request for Comments: 3713 Category: Informational M. Matsui J. Nakajima Mitsubishi Electric Corporation S. Moriai Sony Computer Entertainment Inc. April 2004 Status of this Memo

More information

Introduction to cryptology (GBIN8U16)

Introduction to cryptology (GBIN8U16) Introduction to cryptology (GBIN8U16) Finite fields, block ciphers Pierre Karpman pierre.karpman@univ-grenoble-alpes.fr https://www-ljk.imag.fr/membres/pierre.karpman/tea.html 2018 01 31 Finite fields,

More information

Private Identification, Authentication and Key Agreement Protocol with Security Mode Setup

Private Identification, Authentication and Key Agreement Protocol with Security Mode Setup Private Identification, Authentication and Key Agreement Protocol with Security Mode Setup Farshid Farhat, Somayeh Salimi, Ahmad Salahi ICT Security Faculty Iran Telecommunication Research Centre Tehran,

More information

Modifying Authentication Techniques in Mobile Communication Systems

Modifying Authentication Techniques in Mobile Communication Systems Zakaria Zakaria Hassan et al Int. Journal of Engineering Research and Applications RESEARCH ARTICLE OPEN ACCESS Modifying Authentication Techniques in Mobile Communication Systems Zakaria Zakaria Hassan,

More information

Stream Ciphers and Block Ciphers

Stream Ciphers and Block Ciphers Stream Ciphers and Block Ciphers Ruben Niederhagen September 18th, 2013 Introduction 2/22 Recall from last lecture: Public-key crypto: Pair of keys: public key for encryption, private key for decryption.

More information

The Salsa20 Family of Stream Ciphers

The Salsa20 Family of Stream Ciphers The Salsa20 Family of Stream Ciphers Based on [Bernstein, 2008] Erin Hales, Gregor Matl, Simon-Philipp Merz Introduction to Cryptology November 13, 2017 From a security perspective, if you re connected,

More information

ETSI TR V ( )

ETSI TR V ( ) TR 131 900 V14.0.0 (2017-04) TECHNICAL REPORT Universal Mobile Telecommunications System (UMTS); LTE; SIM/USIM internal and external interworking aspects (3GPP TR 31.900 version 14.0.0 Release 14) 1 TR

More information

Cryptography and Network Security. Sixth Edition by William Stallings

Cryptography and Network Security. Sixth Edition by William Stallings Cryptography and Network Security Sixth Edition by William Stallings Chapter 3 Block Ciphers and the Data Encryption Standard All the afternoon Mungo had been working on Stern's code, principally with

More information

EXAM IN TTM4137 WIRELESS SECURITY

EXAM IN TTM4137 WIRELESS SECURITY English Norwegian University of Science and Technology Department of Telematics EXAM IN TTM4137 WIRELESS SECURITY Contact person: Professor Danilo Gligoroski. (Tel. 95089319). Date of exam: December 04,

More information

3GPP security. Valtteri Niemi 3GPP SA3 (Security) chairman Nokia

3GPP security. Valtteri Niemi 3GPP SA3 (Security) chairman Nokia 3GPP security Valtteri Niemi 3GPP SA3 (Security) chairman Nokia 1 Some history and background 2 Some history 1/2 SA3 took over the responsibility of specifications created by ETSI SMG10, e.g. TS 43.020

More information

Solutions to exam in Cryptography December 17, 2013

Solutions to exam in Cryptography December 17, 2013 CHALMERS TEKNISKA HÖGSKOLA Datavetenskap Daniel Hedin DIT250/TDA351 Solutions to exam in Cryptography December 17, 2013 Hash functions 1. A cryptographic hash function is a deterministic function that

More information

A Brief Outlook at Block Ciphers

A Brief Outlook at Block Ciphers A Brief Outlook at Block Ciphers Pascal Junod École Polytechnique Fédérale de Lausanne, Suisse CSA 03, Rabat, Maroc, 10-09-2003 Content Generic Concepts DES / AES Cryptanalysis of Block Ciphers Provable

More information

ECE 646 Lecture 8. Modes of operation of block ciphers

ECE 646 Lecture 8. Modes of operation of block ciphers ECE 646 Lecture 8 Modes of operation of block ciphers Required Reading: I. W. Stallings, "Cryptography and Network-Security," 5 th and 6 th Edition, Chapter 6 Block Cipher Operation II. A. Menezes, P.

More information

Stream Ciphers An Overview

Stream Ciphers An Overview Stream Ciphers An Overview Palash Sarkar Indian Statistical Institute, Kolkata email: palash@isicalacin stream cipher overview, Palash Sarkar p1/51 Classical Encryption Adversary message ciphertext ciphertext

More information

Mobile Security Fall 2014

Mobile Security Fall 2014 Mobile Security Fall 2014 Patrick Tague Class #3 Telecom Security Issues 1 Class #3 Brief history of telecom security Attacks on telecom networks A few project pitches 2 A3 RES A8 Kc RAND K more than And

More information

International standards for stream ciphers: A progress report

International standards for stream ciphers: A progress report International standards for stream ciphers: A progress report Chris J. Mitchell and Alexander W. Dent Information Security Group, Royal Holloway, University of London Egham, Surrey TW20 0EX, UK {c.mitchell,

More information

ON THE IMPACT OF GSM ENCRYPTION AND MAN-IN-THE-MIDDLE ATTACKS ON THE SECURITY OF INTEROPERATING GSM/UMTS NETWORKS

ON THE IMPACT OF GSM ENCRYPTION AND MAN-IN-THE-MIDDLE ATTACKS ON THE SECURITY OF INTEROPERATING GSM/UMTS NETWORKS ON THE IMPACT OF GSM ENCRYPTION AND MAN-IN-THE-MIDDLE ATTACKS ON THE SECURITY OF INTEROPERATING GSM/UMTS NETWORKS Ulrike Meyer, Susanne Wetzel Darmstadt University of Technology, Department of Computer

More information

GLOBAL SYSTEM FOR MOBILE COMMUNICATION (2) ETI2511 Friday, 31 March 2017

GLOBAL SYSTEM FOR MOBILE COMMUNICATION (2) ETI2511 Friday, 31 March 2017 GLOBAL SYSTEM FOR MOBILE COMMUNICATION (2) ETI2511 Friday, 31 March 2017 1 SYLLABUS GSM General architecture and interfaces of cellular system and the PSTN and Internet networks: BTS, MSC, Internetworking,

More information

The Rectangle Attack

The Rectangle Attack The Rectangle Attack and Other Techniques for Cryptanalysis of Block Ciphers Orr Dunkelman Computer Science Dept. Technion joint work with Eli Biham and Nathan Keller Topics Block Ciphers Cryptanalysis

More information

Mobile Security Fall 2015

Mobile Security Fall 2015 Mobile Security Fall 2015 Patrick Tague #4: Telecom System Security Issues 2015 Patrick Tague 1 Class #4 Finish up our telecom security history lesson Interesting effects of telecom evolution Analysis

More information

T Cryptography and Data Security. Lecture 11 Bluetooth Security. Outline

T Cryptography and Data Security. Lecture 11 Bluetooth Security. Outline T-79.4501 Cryptography and Data Security Lecture 11 Bluetooth Security Outline Security threats Objectives of Bluetooth security The Bluetooth Baseband security Pairing procedure Authentication/Encryption

More information

Analysis of MARS. January 12, 2001

Analysis of MARS. January 12, 2001 Analysis of MARS January 12, 2001 Executive Summary This report presents the results of a limited evaluation of the block cipher MARS. No important weaknesses or flaws were found on MARS. The round function

More information

Security Analysis of Extended Sponge Functions. Thomas Peyrin

Security Analysis of Extended Sponge Functions. Thomas Peyrin Security Analysis of Extended Sponge Functions Hash functions in cryptology: theory and practice Leiden, Netherlands Orange Labs University of Versailles June 4, 2008 Outline 1 The Extended Sponge Functions

More information

2 nd ETSI Security Workshop: Future Security. Smart Cards. Dr. Klaus Vedder. Chairman ETSI TC SCP Group Senior VP, Giesecke & Devrient

2 nd ETSI Security Workshop: Future Security. Smart Cards. Dr. Klaus Vedder. Chairman ETSI TC SCP Group Senior VP, Giesecke & Devrient 2 nd ETSI Security Workshop: Future Security Smart Cards Dr. Klaus Vedder Chairman ETSI TC SCP Group Senior VP, Giesecke & Devrient ETSI TC SCP, the Smart Card Committee 19 Years of Dedication and Real-life

More information

Secure and Authentication Communication in GSM, GPRS, and UMTS Using Asymmetric Cryptography.

Secure and Authentication Communication in GSM, GPRS, and UMTS Using Asymmetric Cryptography. Secure and Authentication Communication in GSM, GPRS, and UMTS Using Asymmetric Cryptography T K Mohanta 1, R K Samantaray 2, S Panda 3 1. Dept.of Electronics & Communication.Engg, Sudhananda Engg & Research

More information

Some Aspects of Block Ciphers

Some Aspects of Block Ciphers Some Aspects of Block Ciphers Palash Sarkar Applied Statistics Unit Indian Statistical Institute, Kolkata India palash@isical.ac.in CU-ISI Tutorial Workshop on Cryptology, 17 th July 2011 Palash Sarkar

More information

COZMO - A New Lightweight Stream Cipher

COZMO - A New Lightweight Stream Cipher COZMO - A New Lightweight Stream Cipher Rhea Bonnerji 0000-0002-5825-8800, Simanta Sarkar 0000-0002-4210-2764, Krishnendu Rarhi 0000-0002-5794-215X, Abhishek Bhattacharya School of Information Technology,

More information

Block Ciphers Introduction

Block Ciphers Introduction Technicalities Block Models Block Ciphers Introduction Orr Dunkelman Computer Science Department University of Haifa, Israel March 10th, 2013 Orr Dunkelman Cryptanalysis of Block Ciphers Seminar Introduction

More information

Dumb Crypto in Smart Grids

Dumb Crypto in Smart Grids Dumb Crypto in Smart Grids Practical Cryptanalysis of the Open Smart Grid Protocol Philipp Jovanovic 1 (@daeinar) Samuel Neves 2 (@sevenps) 1 University of Passau, Germany 2 University of Coimbra, Portugal

More information

c Eli Biham - March 13, Cryptanalysis of Modes of Operation (4) c Eli Biham - March 13, Cryptanalysis of Modes of Operation (4)

c Eli Biham - March 13, Cryptanalysis of Modes of Operation (4) c Eli Biham - March 13, Cryptanalysis of Modes of Operation (4) Single Modes: the S Modes of Operation Modes of Operation are used to hide patterns in the plaintexts, protect against chosen plaintext attacks, and to support fast on-line encryption with precomputation.

More information

On the Design of Secure Block Ciphers

On the Design of Secure Block Ciphers On the Design of Secure Block Ciphers Howard M. Heys and Stafford E. Tavares Department of Electrical and Computer Engineering Queen s University Kingston, Ontario K7L 3N6 email: tavares@ee.queensu.ca

More information

Daniel J. Bernstein University of Illinois at Chicago & Technische Universiteit Eindhoven

Daniel J. Bernstein University of Illinois at Chicago & Technische Universiteit Eindhoven Goals of authenticated encryption Daniel J. Bernstein University of Illinois at Chicago & Technische Universiteit Eindhoven More details, credits: competitions.cr.yp.to /features.html Encryption sender

More information

Weak Keys. References

Weak Keys. References Weak Keys The strength of the encryption function E K (P) may differ significantly for different keys K. If for some set WK of keys the encryption function is much weaker than for the others this set is

More information

Past & Future Issues in Smartcard Industry

Past & Future Issues in Smartcard Industry Past & Future Issues in Smartcard Industry Ecrypt 2 Summer School Guillaume Dabosville Oberthur Technologies Oberthur Technologies the group its divisions payment, mobile, transport and digital TV markets

More information

Lecture 6: Symmetric Cryptography. CS 5430 February 21, 2018

Lecture 6: Symmetric Cryptography. CS 5430 February 21, 2018 Lecture 6: Symmetric Cryptography CS 5430 February 21, 2018 The Big Picture Thus Far Attacks are perpetrated by threats that inflict harm by exploiting vulnerabilities which are controlled by countermeasures.

More information

1 Achieving IND-CPA security

1 Achieving IND-CPA security ISA 562: Information Security, Theory and Practice Lecture 2 1 Achieving IND-CPA security 1.1 Pseudorandom numbers, and stateful encryption As we saw last time, the OTP is perfectly secure, but it forces

More information

Secret Key Algorithms (DES) Foundations of Cryptography - Secret Key pp. 1 / 34

Secret Key Algorithms (DES) Foundations of Cryptography - Secret Key pp. 1 / 34 Secret Key Algorithms (DES) Foundations of Cryptography - Secret Key pp. 1 / 34 Definition a symmetric key cryptographic algorithm is characterized by having the same key used for both encryption and decryption.

More information

Vortex: A New Family of One-way Hash Functions Based on AES Rounds and Carry-less Multiplication

Vortex: A New Family of One-way Hash Functions Based on AES Rounds and Carry-less Multiplication Vortex: A New Family of One-way Hash Functions Based on AES Rounds and Carry-less ultiplication Shay Gueron 2, 3, 4 and ichael E. Kounavis 1 1 Corresponding author, Corporate Technology Group, Intel Corporation,

More information

Cryptography III: Symmetric Ciphers

Cryptography III: Symmetric Ciphers Cryptography III: Symmetric Ciphers Computer Security Lecture 4 David Aspinall School of Informatics University of Edinburgh 26th January 2012 Outline Stream ciphers Block ciphers DES and Rijndael Summary

More information

Upgrade of Bluetooth Encryption and Key Replay Attack

Upgrade of Bluetooth Encryption and Key Replay Attack Upgrade of Bluetooth Encryption and Key Replay Attack Kaarle Ritvanen and Kaisa Nyberg Nokia Research Center Helsinki, Finland {kaarle.ritvanen,kaisa.nyberg}@nokia.com Abstract After adoption of the Advanced

More information

Double-DES, Triple-DES & Modes of Operation

Double-DES, Triple-DES & Modes of Operation Double-DES, Triple-DES & Modes of Operation Prepared by: Dr. Mohamed Abd-Eldayem Ref.: Cryptography and Network Security by William Stallings & Lecture slides by Lawrie Brown Multiple Encryption & DES

More information

AEGIS. A Fast Authenticated Encryption Algorithm. Nanyang Technological University KU Leuven and iminds DIAC 2015 AEGIS 1

AEGIS. A Fast Authenticated Encryption Algorithm. Nanyang Technological University KU Leuven and iminds DIAC 2015 AEGIS 1 AEGIS A Fast Authenticated Encryption Algorithm Hongjun Wu Bart Preneel Nanyang Technological University KU Leuven and iminds 1 AEGIS: A shield carried by Athena and Zeus 2 Different Design Approaches:

More information

Private-Key Encryption

Private-Key Encryption Private-Key Encryption Ali El Kaafarani Mathematical Institute Oxford University 1 of 50 Outline 1 Block Ciphers 2 The Data Encryption Standard (DES) 3 The Advanced Encryption Standard (AES) 4 Attacks

More information

Symmetric Cryptography

Symmetric Cryptography CSE 484 (Winter 2010) Symmetric Cryptography Tadayoshi Kohno Thanks to Dan Boneh, Dieter Gollmann, John Manferdelli, John Mitchell, Vitaly Shmatikov, Bennet Yee, and many others for sample slides and materials...

More information

ECE596C: Handout #7. Analysis of DES and the AES Standard. Electrical and Computer Engineering, University of Arizona, Loukas Lazos

ECE596C: Handout #7. Analysis of DES and the AES Standard. Electrical and Computer Engineering, University of Arizona, Loukas Lazos ECE596C: Handout #7 Analysis of DES and the AES Standard Electrical and Computer Engineering, University of Arizona, Loukas Lazos Abstract. In this lecture we analyze the security properties of DES and

More information

Master of Science Program in Computer Engineering

Master of Science Program in Computer Engineering Cybersecurity for IoT Secure Hardware Department of Electrical, Computer and Biomedical Engineering of University of Pavia Master of Science Program in Computer Engineering Instructor: Paris Kitsos http://diceslab.cied.teiwest.gr

More information

Cryptography for Resource Constrained Devices: A Survey

Cryptography for Resource Constrained Devices: A Survey Cryptography for Resource Constrained Devices: A Survey Jacob John Dept. of Computer Engineering Sinhgad Institute of Technology Pune, India. jj31270@yahoo.co.in Abstract Specifically designed and developed

More information

Comp527 status items. Crypto Protocols, part 2 Crypto primitives. Bart Preneel July Install the smart card software. Today

Comp527 status items. Crypto Protocols, part 2 Crypto primitives. Bart Preneel July Install the smart card software. Today Comp527 status items Crypto Protocols, part 2 Crypto primitives Today s talk includes slides from: Bart Preneel, Jonathan Millen, and Dan Wallach Install the smart card software Bring CDs back to Dan s

More information

New Privacy Issues in Mobile Telephony: Fix and Verification

New Privacy Issues in Mobile Telephony: Fix and Verification New Privacy Issues in Mobile Telephony: Fix and Verification Myrto Arapinis, Loretta Mancini, Eike Ritter, Mark Ryan, Kevin Redon, Nico Golde, Ravi Borgaonkar CCS 2012, Raleigh, NC October 2012 In my bag

More information

EP B1 (19) (11) EP B1 (12) EUROPEAN PATENT SPECIFICATION

EP B1 (19) (11) EP B1 (12) EUROPEAN PATENT SPECIFICATION (19) (11) EP 1 432 271 B1 (12) EUROPEAN PATENT SPECIFICATION (4) Date of publication and mention of the grant of the patent:.06. Bulletin /26 (1) Int Cl.: H04W 12/06 (09.01) H04L 9/32 (06.01) H04W 12/02

More information

Summary on Crypto Primitives and Protocols

Summary on Crypto Primitives and Protocols Summary on Crypto Primitives and Protocols Levente Buttyán CrySyS Lab, BME www.crysys.hu 2015 Levente Buttyán Basic model of cryptography sender key data ENCODING attacker e.g.: message spatial distance

More information

Automatic Search for Related-Key Differential Characteristics in Byte-Oriented Block Ciphers

Automatic Search for Related-Key Differential Characteristics in Byte-Oriented Block Ciphers Automatic Search for Related-Key Differential Characteristics in Byte-Oriented Block Ciphers 1 June 2010 1 Block Ciphers 2 The tool 3 Applications 4 Conclusion Basics P Block cipher E K (P) Input: Plaintext

More information

Cryptography (cont.)

Cryptography (cont.) CSE 484 / CSE M 584 (Autumn 2011) Cryptography (cont.) Daniel Halperin Tadayoshi Kohno Thanks to Dan Boneh, Dieter Gollmann, John Manferdelli, John Mitchell, Vitaly Shmatikov, Bennet Yee, and many others

More information

Stream Ciphers and Block Ciphers

Stream Ciphers and Block Ciphers Stream Ciphers and Block Ciphers 2MMC10 Cryptology Fall 2015 Ruben Niederhagen October 6th, 2015 Introduction 2/32 Recall: Public-key crypto: Pair of keys: public key for encryption, private key for decryption.

More information

CS155. Cryptography Overview

CS155. Cryptography Overview CS155 Cryptography Overview Cryptography Is n n A tremendous tool The basis for many security mechanisms Is not n n n n The solution to all security problems Reliable unless implemented properly Reliable

More information

On the Applicability of Distinguishing Attacks Against Stream Ciphers

On the Applicability of Distinguishing Attacks Against Stream Ciphers On the Applicability of Distinguishing Attacks Against Stream Ciphers Greg Rose, Philip Hawkes QUALCOMM Australia {ggr, phawkes}@qualcomm.com Abstract. We demonstrate that the existence of distinguishing

More information

A Methodology for Differential-Linear Cryptanalysis and Its Applications

A Methodology for Differential-Linear Cryptanalysis and Its Applications A Methodology for Differential-Linear Cryptanalysis and Its Applications Jiqiang Lu Presenter: Jian Guo Institute for Infocomm Research, Agency for Science, Technology and Research, 1 Fusionopolis Way,

More information

Authenticated Encryption in TLS

Authenticated Encryption in TLS Authenticated Encryption in TLS Same modelling & verification approach concrete security: each lossy step documented by a game and a reduction (or an assumption) on paper Standardized complications - multiple

More information

(2½ hours) Total Marks: 75

(2½ hours) Total Marks: 75 (2½ hours) Total Marks: 75 N. B.: (1) All questions are compulsory. (2) Makesuitable assumptions wherever necessary and state the assumptions made. (3) Answers to the same question must be written together.

More information

Lecture 1 Applied Cryptography (Part 1)

Lecture 1 Applied Cryptography (Part 1) Lecture 1 Applied Cryptography (Part 1) Patrick P. C. Lee Tsinghua Summer Course 2010 1-1 Roadmap Introduction to Security Introduction to Cryptography Symmetric key cryptography Hash and message authentication

More information

Cryptography MIS

Cryptography MIS Cryptography MIS-5903 http://community.mis.temple.edu/mis5903sec011s17/ Cryptography History Substitution Monoalphabetic Polyalphabetic (uses multiple alphabets) uses Vigenere Table Scytale cipher (message

More information

3GPP TR V ( )

3GPP TR V ( ) TR 35.934 V12.0.0 (2014-12) Technical Specification 3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; Specification of the TUAK algorithm set: A second example

More information

Nexus8610 Traffic Simulation System. Intersystem Handover Simulation. White Paper

Nexus8610 Traffic Simulation System. Intersystem Handover Simulation. White Paper Traffic Simulation System Intersystem Handover Simulation White Paper Notice Every effort has been made to ensure that the information in this document was accurate at the time of printing. However, the

More information

L3. An Introduction to Block Ciphers. Rocky K. C. Chang, 29 January 2015

L3. An Introduction to Block Ciphers. Rocky K. C. Chang, 29 January 2015 L3. An Introduction to Block Ciphers Rocky K. C. Chang, 29 January 2015 Outline Product and iterated ciphers A simple substitution-permutation network DES and AES Modes of operations Cipher block chaining

More information