312-50V11 · Question #361
An attacker has captured a target file that is encrypted with public key cryptography. Which of the attacks below is likely to be used to crack the target file?
The correct answer is D. Chosen plain-text attack. When an attacker has a file encrypted with public key cryptography, they can use a chosen plaintext attack because the public key is openly available, allowing them to encrypt arbitrary plaintexts and compare outputs.
Question
An attacker has captured a target file that is encrypted with public key cryptography. Which of the attacks below is likely to be used to crack the target file?
Options
- ATiming attack
- BReplay attack
- CMemory trade-off attack
- DChosen plain-text attack
How the community answered
(26 responses)- A12% (3)
- B4% (1)
- C8% (2)
- D77% (20)
Why each option
When an attacker has a file encrypted with public key cryptography, they can use a chosen plaintext attack because the public key is openly available, allowing them to encrypt arbitrary plaintexts and compare outputs.
A timing attack exploits variations in execution time to infer secret key information, but does not directly decrypt a captured ciphertext file without access to the decrypting system.
A replay attack involves retransmitting captured authentication or session tokens to impersonate a user, and does not help decrypt an encrypted file.
A memory trade-off (time-memory trade-off) attack is used to crack password hashes by precomputing lookup tables, and is not applicable to asymmetric encrypted file content.
In public key cryptography, the encryption key (public key) is known to everyone, meaning an attacker can freely encrypt chosen plaintexts and observe the resulting ciphertexts. By encrypting candidate plaintexts and comparing them to the captured ciphertext, the attacker can deduce the original plaintext. This is the defining characteristic of a chosen plaintext attack applied to asymmetric encryption.
Concept tested: Chosen plaintext attack against public key encryption
Source: https://csrc.nist.gov/glossary/term/chosen_plaintext_attack
Topics
Community Discussion
No community discussion yet for this question.