Cryptanalysis

The study of defeating cryptographic protection, recovering plaintext or keys without authorised access, by attacking an algorithm's mathematics, its implementation or its keys.

Cryptanalysis is the study of methods for defeating cryptographic protection: recovering plaintext, finding the key, or forging protected data without being given the means to do so. Research mostly targets the mathematics of algorithms, while many real compromises exploit a flawed implementation or poorly handled keys instead, since well-studied modern algorithms leave little to exploit. Following Kerckhoffs’s principle, analysis assumes the attacker knows the algorithm and lacks only the key.

Attacks on the algorithm are commonly classified by what the attacker has to work with: ciphertext only, known plaintext, chosen plaintext and chosen ciphertext, roughly in increasing order of leverage. Brute force searches the key space and is limited by key length, while frequency analysis exploits statistics that weak ciphers fail to hide. Implementation attacks, including side-channel and fault injection attacks, target how a sound algorithm is run rather than the algorithm itself. Objective 3.7 of the ISC2 outline names brute force, ciphertext only, known plaintext, frequency analysis, chosen ciphertext and implementation attacks among its methods of cryptanalytic attack.

Exam relevance: a scenario is likely to describe what the attacker holds, such as intercepted ciphertext alone or a device that will encrypt chosen input, and expect the matching attack category. Candidates are expected to recognise that implementation attacks can succeed against algorithms that remain mathematically sound.