Skip to main content

CTF

Detailed walkthroughs and flag solutions for CTF competitions.

Egypt National CTF 2025: Smart Move
Egypt National CTF 2025: Smart Move

A research-based approach to breaking Elliptic Curve Cryptography defined over the ring $Z_p^3$ using the Smart-Satoh-Araki p-adic lifting attack.

Egypt National CTF 2025: PrivExec
Egypt National CTF 2025: PrivExec

An in-depth analysis of a SUID binary logic flaw where unsafe environment variable parsing enables arbitrary file read and full root compromise.

Egypt National CTF 2025: Keep Them On Their Toes
Egypt National CTF 2025: Keep Them On Their Toes

A detailed technical walkthrough of Linux privilege escalation via sudoers env_keep misconfiguration and BASH_ENV environment injection.