Security Architecture and Engineering

A server's RSA algorithm is mathematically sound, yet an attacker extracts the private key by exploiting a buffer over-read bug in its cryptographic library. Which attack type is this?

Show the answer

Correct answerA. Implementation attack

AWhy this is right: A flaw in the library's code, not in the algorithm, leaks the key, which defines an implementation attack.

BWhy not this: No ciphertexts are submitted to a decryption oracle; the attacker abuses a memory-handling bug.

CWhy not this: Nothing is measured, such as power, timing or emissions; a software bug exposes the key directly.

DWhy not this: The key is read out of memory, not found by trying every possible key.

The algorithm is intact; the attacker exploits a coding flaw in how it was implemented, which is an implementation attack. Side-channel attacks infer secrets from measured physical or timing behavior, not from a software bug that exposes the key.