JANUS: The Cipher Had Two Faces, but the Checker Only Needed One

Rev Crypto r00t CTF :: Janus JANUS Janus is the two-faced Roman god. The challenge wears a scary mutated stream cipher on the front and keeps a four-byte XOR key on the back. Guess which face the scorer checks. 4byte key 44byte ciphertext 1decoy binary 2faces The handout The bundle ships a target (janus, plus a janus2 variant), a ciphertext file, and two scorers: check and validator. As with the rest of this set, the two scorers do not agree, and only one of them is the real one. ...

October 18, 2026 · 3 min · z3ro

Fianchetto: A 2048-Bit Modulus, Undone by a 160-Bit Secret

Crypto Medium 200 pts r00t CTF · Fianchetto FIANCHETTO An RSA public key with a 2048-bit modulus and a 2045-bit exponent. That second number is the whole story: e has been pushed almost all the way up to N, which means the matching private exponent d is necessarily small. Wiener's attack does the rest. 2048bit modulus 2045bit exponent 160bit secret d 1convergent hit The setup The challenge hands over the usual RSA triple — modulus N, public exponent e, ciphertext c — and nothing else. ...

October 15, 2026 · 4 min · z3ro

DeadBolt: Two Signatures, One Nonce, One Dead Key

Crypto Medium 200 pts r00t CTF · DeadBolt DEADBOLT A release-signing service signs its build manifests with secp256k1. It handed us the public key and two signatures over two different releases — and both of them share the same r. That single coincidence collapses the whole scheme. 2signatures 1repeated nonce 1key recovered 0brute force The setup deadbolt.json is short. It names the curve, gives us a public key, and hands over two signatures over two different messages: ...

October 14, 2026 · 4 min · z3ro