
System Vulnerability Checklist & Network Security Hardening project featuring reconnaissance, vsFTPd backdoor analysis (CVE-2011-2523), and active transport-layer mitigation using IPTables.
A security assessment and network hardening exercise conducted against a vulnerable Linux target machine. The project focuses on identifying critical vulnerabilities, assessing their impact, and implementing firewall-based mitigation using IPTables.
Project Title: Penetration Testing & Network Security Hardening
Role: Cybersecurity Analyst (DecodeLabs Internship)
Target IP: 192.168.56.128
Date: 01 August 2026
This project demonstrates a complete penetration testing workflow, including:
The target host was first verified to ensure it was online.
ping -c 4 192.168.56.128
This confirmed that the target machine was reachable.
nmap -sV -p 21,22,23,80 192.168.56.128
| Port | Service |
|---|
nmap --script ftp-anon -p 21 192.168.56.128
High
Anonymous FTP login was enabled.
nmap -sV --script vuln -p 21,23,139,445 192.168.56.128
CVE-2011-2523
Critical
The installed version of vsFTPd 2.3.4 contains a well-known malicious backdoor.
Successful exploitation can result in:
Medium
Port 23 was running the Telnet service.
Because Telnet sends data in plaintext:
To reduce the attack surface, firewall rules were implemented using IPTables.
sudo iptables -A OUTPUT -d 192.168.56.128 -p tcp --dport 21 -j DROP
sudo iptables -A OUTPUT -d 192.168.56.128 -p tcp --dport 23 -j DROP
These rules prevent communication with the vulnerable services while preserving the rest of the network connectivity.
A follow-up scan was performed to verify that the firewall rules were active.
sudo nmap -Pn -p 21,23 192.168.56.128
PORT STATE SERVICE
21/tcp filtered ftp
23/tcp filtered telnet
Both vulnerable services changed from OPEN to FILTERED, indicating that the firewall successfully blocked network access.
Target Discovery
│
▼
Port Scanning
│
▼
Service Enumeration
│
▼
Vulnerability Identification
│
▼
Risk Analysis
│
▼
Firewall Hardening (IPTables)
│
▼
Verification Scan
│
▼
Security Recommendations
This project was performed in a controlled lab environment for educational purposes only. All testing was conducted on intentionally vulnerable systems with proper authorization.
| Version |
|---|
| 21 | FTP | vsftpd 2.3.4 |
| 22 | SSH | OpenSSH 4.7p1 |
| 23 | Telnet | Linux telnetd |
| 80 | HTTP | Apache 2.2.8 |