Implementation attack
An attack on how cryptography is realised in software or hardware rather than on the mathematics of the algorithm, such as a side channel, fault injection or a flawed library.
An implementation attack targets the way a cryptographic algorithm has been built and run, not the algorithm’s mathematics. AES or RSA can be sound on paper while a particular library, chip or configuration gives a secret away. The ISC2 outline lists implementation attacks in objective 3.7 beside side-channel, fault injection and timing, members of the same family. An implementation attack may recover a key, expose plaintext or bypass a check.
The family is commonly divided by what the attacker does. Side-channel attacks, including timing attacks and power analysis, measure leakage from a correct execution. Fault injection deliberately causes an incorrect execution and exploits the mistake. Others exploit ordinary flaws: a buffer over-read leaking key material, a padding oracle answering differently for malformed ciphertext, or a weak random number generator making keys predictable. None of these searches the key space, so a longer key does not help. Countermeasures target the specific leak or flaw: constant-time code, masking, shielding, patched and vetted libraries, and modules validated under FIPS 140-3. A countermeasure may remove one flaw or reduce one leak without making the implementation immune to others.
Exam relevance: a scenario in which a strong, correctly chosen algorithm is still defeated is likely to point to an implementation attack. Candidates are expected to reject a longer key as the fix.