Network Penetration Test — Recon & Enumeration
Overview
A simulated penetration test against a deliberately vulnerable Linux target (a lab machine used for security training). The goal was to work through the reconnaissance and enumeration phases the way an auditor would for a client engagement — discovering what the machine exposes, what runs on it, and where it can be broken into — and to write it up as a professional security assessment.
This was one of four security projects completed for a Network and Computer Systems Engineering course, supervised at ESTG-IPVC.
Scope & tooling
The engagement was limited to reconnaissance, enumeration, and proof-of-access on an isolated lab network. Primary tools: Nmap (with NSE scripts), Metasploit, and a range of service-specific enumeration scripts on Kali Linux.
What I did
Port and OS discovery. A full nmap -A sweep of the target surfaced more than
twenty open ports and fingerprinted the host as a Debian-based Linux system running
Samba, confirming the operating system through SMB OS-discovery.
Service and version enumeration. A version scan (nmap -sV) identified the exact
service and version behind every open port — FTP, SSH, Telnet, SMTP, HTTP, MySQL,
PostgreSQL, VNC, IRC, and more. Pinning down versions is what turns a list of open
ports into a list of candidate vulnerabilities.
Web surface mapping. Using http-enum and http-sql-injection NSE scripts, I
mapped the web applications hosted on the target, enumerating hidden directories,
admin panels, config files, and pages flagged as potentially injectable.
Vulnerability identification. A --script vuln scan combined with the vulners
script correlated the discovered service versions against known CVEs, surfacing a
long list of exploitable issues — an FTP backdoor, RMI registry remote code
execution, SSL/TLS weaknesses (POODLE, CCS injection, weak Diffie-Hellman), and a
Slowloris DoS exposure — each with its exploit reference.
Proof of access. To demonstrate impact, I exploited one identified vulnerability to obtain a remote root shell on the target, confirming that reconnaissance findings translated into real, controllable access.
Deliverable
The work was written up as an audit-style report: an ordered inventory of every open port with its service and version, the vulnerabilities tied to each, and the evidence of exploitation — the format a client would receive at the end of the reconnaissance and enumeration phase of a real engagement.
What I learned
The value of this project was in the discipline of the process, not any single exploit. Version enumeration drives everything downstream — a service is only as safe as its patch level, and methodically correlating versions to CVEs is what separates a structured assessment from random probing. It also drove home why exposed service banners and default configurations are a risk in themselves: half the findings came from services simply announcing exactly what they were.