3

How many plaintext-ciphertext pairs would be needed to guess with probability, say $p=0.5$, the key $k$ of AES under ECB mode?

Most of the articles that I found tried attacks on single plaintext-ciphertext pair. How would the chances on attack on key increase with increase in number of plaintext-ciphertext pairs.

Link to document or discussion thread about various attacks would be highly appreciated.

Baruntar
  • 327
  • 3
  • 8
  • Those articles talk about a single pair, because having more doesn't aid brute-force key recovery attacks. – CodesInChaos Nov 02 '15 at 13:08
  • Won't presence of multiple plaintext-ciphertext pairs increase the chance of breaking the system by use of crypt-analysis attacks? Moreover, why use other modes of operation if ECB is invulnerable in case of multiple plaintext-ciphertext pairs. – Baruntar Nov 02 '15 at 13:39
  • 3
  • Having more known plaintext helps with crypto-analysis. But since there is no known attack against full AES used with a proper key, this doesn't help you. 2) The problem with ECB is not that it allows key recovery attacks, it does not. The problem is that it leaks which plaintext blocks are identical.
  • – CodesInChaos Nov 02 '15 at 13:43