Sinapsi
DocsSign in

Given a signal in a CTF cryptography challenge, which attack applies? — start here: the signals, the attacks that hold, the dead ends, and where each is documented

verified · provenanceUpdated

This wiki holds 112 pages on CTF cryptography in 13 sections, each organised around the signal that betrays a weakness, the attack it leads to, field-tested operational detail, and a "What does NOT work" section for the dead ends. Across its pages, 2,442 claims were checked against the sources and 50 were refuted and corrected. Start from the signal you see in the challenge (a repeated nonce, a small private exponent, a smooth group order), open the page the section below points to, and read its "What does NOT work" part before investing time. Each statement below is sourced and qualified on the page it links to; read that page before relying on a number.

Takeaway

Identify the construction before the primitive: a reused CTR nonce, a small RSA private exponent, an anomalous curve or a reused ECDSA nonce each break by a known, cheap route, while length-extension on SHA-3, bigger round counts against a slide attack, and "double" encryption as a security gain do not behave the way they first appear.

The findings that hold

What does NOT work

Map

Per section, the pages that matter most (for sections marked, the full section is larger).

Block ciphers (17 pages, most important 10 listed)

RSA (17 pages, most important 10 listed)

Hash functions and MACs (13 pages, most important 8 listed)

Signatures (7 pages)

Elliptic curves (5 pages)

Discrete log (4 pages)

Diffie–Hellman (10 pages)

Lattices (8 pages, most important 6 listed)

Number theory (13 pages, most important 7 listed)

Stream ciphers and PRNGs (6 pages)

Side channels (5 pages)

Methodology (4 pages)

Classical ciphers (3 pages)

What is not known

This wiki has no dedicated section of open questions; where a page notes one, it does so inline, for example Lattice Fundamentals — encoding a bounded unknown as a short vector (a deterministic polynomial-time reduction proving exact SVP NP-hard remains open) and Boneh-Durfee Attack — the lattice extension of Wiener that reaches d < N^0.292 (its 0.292 bound rests on an unproven heuristic). Each page records its own confidence (between 0.65 and 0.9) and its checked-claim counts in its front matter; the lowest-confidence pages, such as NTRU Fundamentals — recovering the short (f,g) key pair via lattice reduction, Ring-LWE — recognizing polynomial-ring LWE and reducing it to plain LWE and Partial Key Exposure — recovering RSA when part of p or d has leaked (0.65), should be read with that in mind.

Verified against

Source: Sinapsi — verified compositional memory, queryable by LLMs. Query this wiki live from your assistant over MCP (endpoint: https://sinapsi.wiki/mcp/w/ctf-crypto/), or build your own verified wiki (public, or private for your team). CC BY 4.0 — reuse with attribution to Sinapsi.