Skip to content

Course

Practical Cryptographic Attacks

Classic cryptographic failure modes taught hands-on — padding oracles, CBC bit-flipping, ECB detection, nonce reuse, weak randomness, and the library choices that prevent them.

9 lessons

Course Q&A

Reviews

Enrolled members can rate this course.

No reviews yet.

Breaking Bad Constructions

Padding oracles, CBC malleability, and ECB pattern leakage — the attacks every practitioner should recognize on sight.

  1. 01Padding Oracles: When One Error Message Decrypts EverythingHow a tiny padding-validity signal lets an attacker decrypt CBC ciphertext byte by byte, and why error handling is a cryptographic boundary.25mOpen
  2. 02CBC Bit-Flipping: Malleability Is Not a Theoretical ProblemCBC ciphertext can be edited without the key; learn exactly which plaintext bits move, what corruption costs, and how attackers exploit predictable token layouts.22mOpen
  3. 03ECB Detection: When Ciphertext Leaks the PictureElectronic Codebook mode exposes repeated plaintext blocks; learn to detect it in tokens, files, databases, and protocols before someone else does.20mOpen

Randomness and Reuse Failures

Nonce reuse, predictable randomness, and key-management mistakes that turn strong primitives into plaintext disclosure.

  1. 01Nonce Reuse in AES-GCM: The Forbidden RepeatReusing a GCM nonce destroys confidentiality and authentication; understand the algebra, the operational causes, and safe nonce strategies.25mPremium
  2. 02Weak Randomness: Predictable Keys Are Not KeysCryptographic systems fail when keys, tokens, IVs, and nonces come from predictable random sources; learn the boundaries and correct OS-backed APIs.22mPremium
  3. 03Key Management: Where Strong Algorithms Go to DieKeys in source control, shared keys across tenants, missing rotation, and confused key versions are operational vulnerabilities with cryptographic consequences.24mPremium

Defending with Modern Libraries

Authenticated encryption, misuse-resistant APIs, key rotation, and review habits that keep crypto out of the incident report.

  1. 01Authenticated Encryption: The Default You Should Reach ForAEAD combines confidentiality and integrity in one contract; learn associated data, nonce handling, and why encrypt-then-MAC is a legacy discipline.23mPremium
  2. 02Using Libraries Without Footguns: NaCl, libsodium, and Modern APIsGood libraries remove dangerous options and encode safe contracts; learn how to evaluate APIs, avoid primitive shopping, and encode usage rules.20mPremium
  3. 03Reviewing Crypto Like an Incident ResponderA repeatable review method for cryptographic code: identify trust boundaries, invariants, failure behavior, key custody, and downgrade paths before attackers do.26mPremium