1
$\begingroup$

What's the point of a Meet In The Middle attack while using, for example, a double AES encryption and using one time keys? You can recover the keys for a secret message already known and you can't use those keys to retrieve other secret messages. So why would an attacker use it?

$\endgroup$
1
  • 1
    $\begingroup$ First off, a meet in the middle attack on AES is not even computationally feasible, so an attacker wouldn't use it period. $\endgroup$
    – mikeazo
    Aug 27, 2014 at 15:00

1 Answer 1

4
$\begingroup$

As mikeazo points out, a meet-in-the-middle (or any other known plaintext attack) against AES is believed to be infeasible; I'll generalize your question to "if we never reuse a key, why do we care about known plaintext attacks? If the attacker already knew the message, why do we care if he could decrypt it?"

The reason is that the attacker might be able to use that attack even if he has partial information about the plaintext. For example, suppose that the attacker knew (or guessed) that the text of the message that Alice sent Bob starts off with:

"Hi, Bob! The password to my bank account is "

In that case, the attacker may be able to use the known partial plaintext to recover the key; if he is able to do that, he can then decrypt the rest of the text, including the bank password.

$\endgroup$
2
  • $\begingroup$ Never thought of that! So using an all or nothing transform will defeat any partial known plaintext attack? $\endgroup$ Aug 27, 2014 at 18:00
  • $\begingroup$ @maincodebase: not quite any such attack; if the attacker has enough partial information to limit the number of potential messages to a small bound, as in "The first letter of my password is X", then an AON transform won't help you. On the other hand, we have ciphers that are immune to known plaintext (and chosen plaintext) attacks; hence we don't worry too much about how we might work with a cipher that isn't. $\endgroup$
    – poncho
    Aug 27, 2014 at 18:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.