CYBERSECURITY • CTF

CTF & Writeups

Hands-on security labs, machine solves, privilege escalation, web exploitation, and writeups documenting the path from enumeration to root.

Web Exploitation Linux Privilege Escalation Writeups

CURRENT PLATFORM

RatCTF — The XSS Rat

View RatCTF Profile
PUBLIC PROFILE

dreamsoftragedy

#219 overall

Total Points1,868
Total Solves26
User Flags13
Root Flags13
Badges14
Linux 6 Web Exploitation 6 Privilege Escalation 5

COMPLETED MASTERY PATHS

SSH, LDAP & SMB mastery

The recent Bindforge and CORP-DC01 solves also completed the associated mastery tracks shown in RatCTF.

SSH100%

SSH Mastery

2 modules • 2 machines • 2 / 2 rooted.

FingerprintingPort ForwardingTunneling
LDAP100%

LDAP Mastery

2 modules • 2 machines • 2 / 2 rooted.

Anonymous BindldapsearchAD Enum
SMB100%

SMB Mastery

2 modules • 1 machine • 1 / 1 rooted.

Null SessionSYSVOLCredential Exposure

CURRENT PATH

Web & Bug Bounty

Applied web hacking and bug bounty training focused on mapping attack surface, testing real bug classes, and completing machines inside a scoped programme.

IN PROGRESS

Web & Bug Bounty

5 / 38
Modules8
Machines38
Completed5
Progress13%
Recon Access Control Client-Side Injection Account Takeover

CTF WRITEUPS

Completed machines

Writeups focus on methodology and the path to compromise without publishing live credentials or reusable secrets.

RATCTF COMPLETED

Corp Webcrawl

A full machine solve covering enumeration, foothold, and privilege escalation through both the user and root flags.

USER FLAG ✓ ROOT FLAG ✓
Enumeration Foothold Privilege Escalation
RATCTF COMPLETED

Corp Headers

A machine solve using Burp Repeater to uncover debug-header credentials, SSH for the foothold, and passwordless Python3 sudo access for root.

USER FLAG ✓ ROOT FLAG ✓
Burp Suite SSH Privilege Escalation
RATCTFCOMPLETED

Listeria

Public backup credentials led to SSH access and a passwordless AWK sudo escape, with a separate unauthenticated cmd.php RCE finding.

USER FLAG ✓ROOT FLAG ✓
Credential DisclosureSSHAWK
RATCTFCOMPLETED

Corp Docs

DOCX XMP metadata exposed temporary SSH credentials; passwordless Python3 sudo access provided the route to root.

USER FLAG ✓ROOT FLAG ✓
MetadataSSHPython3
RATCTFCOMPLETED

Broadscope

Historical configuration exposed a forgotten staging host, an internal key in .env, and an internal export endpoint containing the final flag.

USER FLAG ✓ROOT FLAG ✓
ReconVirtual Hosts.env
RATCTFCOMPLETED

Bindforge

Anonymous LDAP enumeration exposed a Base64 credential, leading to SSH access and a passwordless Ruby sudo escape.

USER FLAG ✓ROOT FLAG ✓
LDAPSSHRuby
RATCTFCOMPLETED

CORP-DC01

Anonymous SMB exposed logon scripts and service credentials; a restricted backup share and Python3 sudo rule led to root.

USER FLAG ✓ROOT FLAG ✓
SMBCredential ExposurePython3
RATCTFCOMPLETED

Walkabout

SNMP credential disclosure, SSH access, and sudo Vim to root.

USER FLAG ✓ROOT FLAG ✓
SNMPSSHVim
RATCTFCOMPLETED

Bootleak

Exposed configuration leaked SSH credentials; sudo find provided root.

USER FLAG ✓ROOT FLAG ✓
HTTPSSHfind
RATCTFCOMPLETED

Bifrost

HTTP backup disclosure led through SMB and an exposed SSH key to sudo Python3.

USER FLAG ✓ROOT FLAG ✓
SMBSSH KeyPython3
RATCTFCOMPLETED

Driftsync

Anonymous rsync exposed an SSH key; sudo less provided the root shell.

USER FLAG ✓ROOT FLAG ✓
rsyncSSH Keyless
RATCTFCOMPLETED

Anferia

AXFR exposed SSH credentials; insecure account configuration enabled UID 0 access.

USER FLAG ✓ROOT FLAG ✓
AXFRSSHUID 0
RATCTFCOMPLETED

Postmark

SMTP enumeration and a seasonal SSH password led to a root cron flag disclosure.

USER FLAG ✓ROOT FLAG ✓
SMTPSSHCron
RATCTF ACTIVE

More solves coming

New completed machines will be added here as the Web & Bug Bounty path progresses.

Web Exploitation Linux Privilege Escalation

WRITEUP FORMAT

Short, reproducible, and focused.

Each walkthrough follows the same core structure so the useful technical path is easy to scan later.

01 Enumeration 02 Foothold 03 Privilege Escalation