Skip to main content
Challenges Odd or Even? The RSA Oracle
Cryptography Hard AIFT-2026 Solves: 23

Odd or Even? The RSA Oracle

Author: CyberSamSU
Points
70

The old accountant of the Samarkand observatory built a mysterious RSA service. It hands you your personal flag encrypted with RSA-1024 but flatly refuses to decrypt anything. It only tells you one thing: for any x you send, is xd mod n even or odd?

That sounds like very little - but it is enough. Recover the flag.

Connect: nc lab2.cybersamsu.uz 31337. Send your personal token as the first line (the "Personal token" block on this challenge page). The exact protocol is in the attached file. Limit: n.bit_length()+16 queries and 15 minutes. Flag format: AIFT{...}.

Attached files
README_protokol.txt Log in to download
SHA-256 checksums
README_protokol.txt: 7253d84260c2d0ba2c993b67687f7d47527aa93dbd9dcb859a5f3affda1d836c
To get your personal token, log in.
Hints 2
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −10 pts Log in
Hint 2 −25 pts Log in
To submit a flag, log in.

First solvers

1. SECRE 12.11.2026
2. robbengut 12.11.2026
3. Noxr 12.11.2026
4. Humoyunshoh Abduhalimov 12.11.2026
5. Rajab Xalilov 12.11.2026
6. NullStrike 12.11.2026
7. Zaza_5030 12.11.2026
8. Sherqobil Ishqobilov 12.11.2026
9. arcanum 12.11.2026
10. redjohn 12.11.2026