Details reconstructed from memory of my own completed walkthrough — exact commands/outputs may be paraphrased.
Platform: VulnHub
Difficulty: Easy
Category: Web enumeration, Linux privilege escalation
Basic Pentesting 1 is a beginner-friendly VulnHub machine designed to walk through the fundamentals of a simple Linux penetration test. I treated it as a structured exercise in the classic pattern: scan, enumerate web and ancillary services, gain a foothold through a web-facing weakness or exposed service, then escalate locally. It was one of the boxes that helped me build confidence in repeating a methodology without relying on walkthroughs for every step.
I started with nmap, using a standard service detection scan to identify what the host exposed. On beginner VulnHub boxes like this, I typically find HTTP on port 80, sometimes FTP or other common services, and SSH for post-exploitation access.
My enumeration workflow:
- gobuster / dirb against the web root to discover hidden directories, admin panels, or backup files.
- Manual inspection of anything interesting — login forms, upload functionality, default pages.
- nikto for quick web vulnerability hints.
- If FTP or similar file services appeared in the scan, I checked for anonymous access and readable content before moving on.
- enum4linux or basic SMB checks if the scan suggested Windows-adjacent or Samba services (less common on this specific box, but part of my default checklist).
The objective was to build a short list of plausible entry points ranked by likelihood, not to exhaust every tool before acting on the first lead.
Initial access on a box at this difficulty usually comes from a web-facing misconfiguration or weak credential pattern uncovered during enumeration — for example, a hidden administrative path, a service leaking useful information, or credentials recoverable from an exposed channel.
My approach:
- Follow the strongest enumeration lead first (hidden directory, default credentials, injectable parameter).
- Confirm the vulnerability manually with minimal, targeted requests.
- Translate that access into usable credentials or command execution on the host.
- Establish an interactive shell — most often through SSH once I had valid user credentials.
I avoided jumping to public exploit code until I understood what the box was actually running. Beginner machines reward reading what you find over spraying Metasploit modules.
With a low-privileged shell, I ran my standard local enumeration pass:
sudo -lto identify passwordless or misconfigured sudo rules.- Search for SUID binaries and cross-reference unusual entries.
- Inspect cron jobs and writable paths in scheduled tasks.
- Look for password reuse, readable shadow-adjacent files, or private keys in home directories.
Basic Pentesting 1 typically teaches a straightforward privesc lesson — often a simple sudo misconfiguration, a known SUID pattern, or credentials that work at a higher privilege level. I validated each finding before attempting escalation and confirmed root access once the technique succeeded.
This box reinforced the value of a repeatable baseline methodology. When every step follows scan → enumerate → exploit → privesc, even unfamiliar machines feel manageable. It also reminded me that beginner boxes intentionally place useful artifacts in places directory brute force will find — training me to trust gobuster output and actually visit the paths it reports.
Basic Pentesting 1 connects to the broader skill stack I am building: web enumeration habits from TryHackMe coursework, local privesc checklists from Linux-focused rooms, and the discipline of documenting what worked so the next box starts faster. It is not glamorous, but that is the point — most real engagements begin exactly this simply.