Security Architecture and Engineering

An attacker cannot submit data to the encryption system but knows every intercepted archive starts with the same standard file header. The attacker uses that header and its ciphertext to derive the keystream. Which attack is this?

Show the answer

Correct answerD. Known-plaintext attack

AWhy not this: A ciphertext-only attacker has no plaintext, but this attacker knows the fixed header.

BWhy not this: Brute force tries keys one by one, whereas this attack derives the keystream directly from the known header.

CWhy not this: A chosen-ciphertext attack needs the attacker to submit ciphertexts for decryption, which is not possible here.

DWhy this is right: Knowing part of the plaintext alongside its ciphertext is the defining condition, and here it reveals the keystream.

The attacker has matching plaintext and ciphertext for the header, which is a known-plaintext attack and exposes the keystream. A ciphertext-only attack has no plaintext at all, and a chosen-ciphertext attack would need the attacker to submit ciphertexts for decryption.