Professional Documents
Culture Documents
Information Security: By: Muhammad Hanif
Information Security: By: Muhammad Hanif
Information Security: By: Muhammad Hanif
stream
Attacking a conventional encryption scheme
There are 2 general approaches to attack a conventional encryption scheme:
Cryptanalysis : The attacker exploits characteristics of the algorithm or some
knowledge of the general characteristics of the plaintext in an attempt to deduce a
specific plaintext or to deduce the key being used
Brute Force Attack: An attacker tries all possible combination of keys on a piece of
cipher text until an intelligible translation into plaintext is obtained. On average, half
of the all possible keys must be tried to achieve success
Cryptanalysis
The term cryptanalysis comes from the Greek words ‘Kryptos’ standing for ‘hidden’
and ‘analyein’ standing for ‘to loosen’. The term therefore best paraphrased as
‘loosen the hidden word’.
The paraphrase refers to the process of destroying cryptographic protection or more
generally, to study the security properties an possibilities to break cryptographic
techniques and systems.
According to RFC 2828, Cryptanalysis refers to ‘mathematical science that deals
with the analysis of a cryptographic system in order to gain knowledge needed to
break the protection that the system is designed to provide’
Cryptanalytic Attacks
➢ ciphertext only
⚫ only know algorithm & ciphertext, is statistical, know or can identify
plaintext
➢ known plaintext
⚫ know/suspect plaintext & ciphertext
➢ chosen plaintext
⚫ select plaintext and obtain ciphertext
➢ chosen ciphertext
⚫ select ciphertext and obtain plaintext
➢ chosen text
⚫ select plaintext or ciphertext to en/decrypt
Brute Force Search
always possible to simply try every key
most basic attack, proportional to key size
assume either know / recognise plaintext
168 2168 = 3.7 1050 2167 µs = 5.9 1036 years 5.9 1030 years