Tag: CTF
All the articles with the tag "CTF".
Field Rules — volgaCTF 2025
Factoring a modulus built from small primes, brute-forcing the key residue modulo each prime, and combining the residues with the Chinese remainder theorem to recover the flag from repeated modular exponentiations.
Unpwnable Shop — PascalCTF 2025
Exploiting a 5-byte buffer overflow in an intentionally unpwnable shop: overwriting the username length, hijacking the return address with a win function, and getting a shell in Go and Bash.
DNS e Pancetta — PascalCTF 2025
Recovering a flag hidden in DNS queries: third-level domains encode chunks of hex that a small Go packet parser assembles back into text.
MindBlowing — PascalCTF 2025
Recovering a flag from a bitwise-AND number generator: extract 40-bit windows of the message with crafted seeds and combine them with OR in a Go solver.
My Favourite Number — PascalCTF 2025
How to guess Alice's favourite number without decrypting anything: re-encrypt candidate binary-search answers with Bob's public RSA key and match them against the ciphertexts in output.txt.
AES-CBC — Padding Oracle Attack
How to decrypt AES-CBC ciphertext without the key, and forge ciphertext that decrypts to chosen plaintext, by exploiting PKCS#7 padding-validation responses.
Prometheus 2077 — Tinkoff CTF 2024
Extracting the flag from the Sacred table of a Tinkoff CTF 2024 web task via SQL injection in the password field, reading each character through the age field.
Galera — Tinkoff CTF 2024
Reversing an iOS app to reconstruct its REST API, then exploiting a race condition with one-time referral codes to earn enough points to buy freedom and capture the flag.
Wysi Prime — osu!gaming CTF 2024
Recovering RSA primes made only of the digits 2 and 7 with a breadth-first search, then decrypting the ciphertext in the crypto/wysi-prime challenge from osu!gaming CTF 2024.
Robotrickster — Tinkoff CTF 2024
Reversing an Android shell-game app from Tinkoff CTF 2024: decompiling it to find the API endpoints and XOR key, then writing a Go client to win the game and decrypt the flag.