Offensive Security Research Notes

Hands-on offensive security research focused on Active Directory, web exploitation, privilege escalation, attack methodologies, bug bounty workflows, and practical lab-based learning.

Research Areas

Latest Technical Notes

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

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
thm

Tutorial - TryHackMe room Writeup

TryHackMe Tutorial room walkthrough — beginner-friendly introduction to web enumeration, privilege escalation, and basic penetration testing methodology.

Read Article
research

Imaginary CTF 2023 WriteUps

Imaginary CTF 2023 competition writeups — solutions for web exploitation, cryptography, and reverse engineering challenges from this CTF event.

Read Article