Wraith: Unwrapping the Bytecode VM Inside a 2 KB wasm Module

Rev Medium 200 pts r00t CTF · Wraith WRAITH One file in the handout: wraith.wasm, two kilobytes, a single exported function called check_flag, and no strings worth reading. It turns out to be a stack VM running a hidden bytecode program that tests the flag one byte at a time. Every check inverts in closed form, so there is nothing to brute force. 2 KBwasm module 331hidden bytes 29byte checks 0brute force The handout The zip contains exactly one file. No README, no source, no hints: ...

October 18, 2026 · 8 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