HackerDNA

HackerDNA CTF walkthroughs covering web exploitation, privilege escalation, and practical capture-the-flag methodology.

hackerdna

Query Quake

CTF writeup for NexaTech Solutions: bypassing a login with a UNION-based MySQL injection, turning it into RCE by writing a PHP webshell with INTO OUTFILE to grab the user flag, then escalating to root by overwriting a world-writable supervisord.cron script that cron runs as root to read the root flag.
Read Article
hackerdna

SSRF Attack - Steal Cloud Metadata Credentials

CTF writeup exploiting a server-side request forgery in a link preview service to reach the AWS instance metadata endpoint, retrieve IAM credentials, and use them to read the root flag from an internal control-plane API.
Read Article
hackerdna

Reverse Engineering - License Key Crackme

CTF writeup static-analyzing an ARM64 aarch64 license activation client, XOR-decoding an embedded encrypted flag from g_token_enc, reverse-engineering derive_key to forge the admin license, and activating an admin account to receive the root flag.
Read Article
hackerdna

Password Cracking - Custom Wordlist - OSINT to MD5 to Portal to ZIP

CTF writeup building a custom wordlist from a game studio's own website to crack unsalted MD5 hashes from a leaked forum export, using password reuse to reach the internal portal and a protected vault.zip, then zip2john to open the final archive.
Read Article
hackerdna

Mythos Leak - Headless CMS Draft Exposure

CTF writeup exploiting a Sanity headless CMS mock: retrieving unpublished draft posts via GROQ, mining the document transaction log for a deleted briefing, recovering its historical revision with an embedded API token, and using the token to access a separate internal dataset that leaks a launch briefing containing the root flag.
Read Article
hackerdna

Infiltrator - JWT Secret Cracking to Admin Panel to Root

CTF writeup cracking an HS256 JWT secret from rockyou to forge an admin token, leaking SSH credentials from the admin page, then escalating to root by injecting commands into a world-writable log file that a cron job evals.
Read Article
hackerdna

Host Hijack

CTF writeup for MediTrack Health: exploiting a Host header vulnerability in the password reset flow to take over the admin account, leaking the full reset token from an exposed mail-log by shortening the Host header, then achieving root via a misconfigured NOPASSWD sudo find in a ping-tool command injection.
Read Article