Platform: Proving Grounds

An ICMP echo response confirmed that the target was reachable.
Reconnaissance
I used RustScan to identify open ports.

The scan found ports 22 and 80 open.
Service enumeration
I followed up with Nmap for service and version detection.

The banners identified SSH and HTTP and indicated a Debian-based Linux host.
Web enumeration
I opened the HTTP service on port 80:

The page contained an image and an email address. Its source did not expose a useful lead.
I checked for additional web paths.

The scan found only the existing image file.
Initial access
I used the name gaara as a candidate SSH username and tested passwords from the rockyou wordlist.

The test returned a valid password.
I logged in as gaara and found the user flag in the home directory:

Privilege escalation
LinPEAS identified /usr/bin/gdb as a possible escalation vector.

I checked GTFOBins for a method using gdb with its SUID bit set.

The technique required the full path to the executable.

The resulting shell reported effective UID 0. I retrieved the root flag:

Outcome
A weak SSH password provided user access, and the SUID-enabled gdb binary provided root-level execution.