Skip to content
FTP
Service

FTP

FTP file transfer service. Attackers check banners, anonymous access, writable dirs, cleartext creds, CVEs, and backdoors, then exploit for shells, brute-force, or data exfiltration

:21 23 guides 4 phases
1 min read Created: Dec 28, 2025 Updated: Jul 13, 2026

FTP (File Transfer Protocol) runs on TCP port 21 for control and TCP port 20 for active-mode data transfer. Passive mode uses a negotiated high port instead. Nmap identifies it as ftp and most servers respond with a banner on connection.

FTP transmits credentials and data in plaintext. Anonymous login, weak credentials, and writable directories are common findings. Older FTP servers (vsftpd 2.3.4, ProFTPD 1.3.5) have known backdoors and RCE vulnerabilities.

Start with banner grabbing and anonymous login checks. If credentials are available, look for sensitive files, writable upload directories, and version-specific exploits.

Enumeration

FTP banners, anonymous access, dirs, perms, and NSE scripts

6
FTP Anonymous Access Enumeration

FTP Anonymous Access Enumeration

Enumerate FTP servers allowing anonymous login to discover exposed files, directories, and sensitive data using tools like Nmap, ftp client, and Metasploit.

Dec 29, 2025 • 3 min read

FTP Banner & Server Enumeration

Techniques for extracting FTP server banners, identifying software versions, and enumerating service details to map attack surface during reconnaissance.

Dec 29, 2025 • 3 min read

FTP Directory & File Enumeration

Active FTP enumeration techniques covering anonymous access, directory traversal, file discovery, and permission analysis using tools like Nmap, Hydra, and raw FTP commands.

Dec 29, 2025 • 3 min read

FTP Manual Enumeration Techniques

Active FTP enumeration using banner grabbing, anonymous login testing, Nmap scripts, and manual command probing to identify misconfigurations and exposed data.

Dec 29, 2025 • 3 min read

FTP NSE Script Enumeration

Enumerate FTP services using Nmap NSE scripts to identify anonymous access, brute-force credentials, and disclose vulnerabilities on port 21.

Dec 29, 2025 • 3 min read

FTP Permission & Upload Testing

Enumerate FTP server permissions, test anonymous access, and identify upload/write capabilities to assess misconfigurations and potential exploitation vectors.

Dec 29, 2025 • 5 min read

Vulnerability Discovery

FTP vulns: anonymous access, cleartext creds, writable dirs, CVEs, backdoor

7

FTP Anonymous Access Check

Detect misconfigured FTP servers allowing unauthenticated anonymous logins, exposing sensitive files or enabling unauthorised data upload/download.

Mar 16, 2026 • 3 min read

FTP Bounce Attack Check

Exploits misconfigured FTP servers using PORT command to proxy scans or connections through a third-party host, bypassing firewall restrictions.

Mar 16, 2026 • 3 min read

FTP Cleartext Credential Transmission

Identifies FTP services transmitting credentials in cleartext, demonstrating sniffable authentication and the risks of unencrypted legacy file transfer protocols.

Mar 16, 2026 • 3 min read

FTP Version Vulnerability Check

Identifies FTP server versions with known CVEs by banner grabbing and cross-referencing against vulnerability databases to detect unpatched or outdated daemons.

Mar 16, 2026 • 3 min read

FTP Writable Directory Check

Identifies writable FTP directories by testing anonymous or authenticated access, enabling upload of malicious files or further exploitation of misconfigured servers.

Mar 29, 2026 • 3 min read

ProFTPD 1.3.3c Backdoor Detection

Detect and exploit the ProFTPD 1.3.3c supply-chain backdoor (CVE-2010-4221) introduced via compromised source, enabling unauthenticated remote root access.

Mar 16, 2026 • 3 min read

Exploitation

FTP exploitation via backdoors, brute-force, shells, and bounce attacks

7

FTP Anonymous Login Exploitation

Exploit anonymous FTP login to gain unauthorised access, enumerate files, and extract sensitive data using tools like ftp, Nmap, and Metasploit.

Mar 16, 2026 • 3 min read

FTP Authentication Attacks

Exploiting FTP authentication weaknesses via brute force, credential stuffing, and anonymous login abuse to gain unauthorised access to FTP services.

Dec 29, 2025 • 4 min read

FTP Bounce Attack Exploitation

Exploit FTP PORT command misuse to proxy scans and connections through misconfigured FTP servers, bypassing firewalls and obscuring attack origin.

Mar 16, 2026 • 3 min read

FTP Credential Exploitation

Exploit FTP authentication weaknesses using anonymous access, brute-force attacks, and credential stuffing to gain unauthorised access to FTP servers.

Mar 16, 2026 • 3 min read

FTP Web Shell Upload

Upload web shells via FTP to gain remote code execution. Covers anonymous/authenticated access, shell deployment, and triggering execution through a web server.

Mar 16, 2026 • 2 min read

ProFTPD 1.3.3c Backdoor

Exploit the ProFTPD 1.3.3c backdoor (CVE-2010-4221) introduced via a compromised source tarball, granting unauthenticated remote root shell access.

Dec 29, 2025 • 2 min read

Post-Exploitation

FTP exfiltration, config looting, and log analysis guides

3

FTP Configuration File Loot

Extracting credentials and sensitive data from FTP configuration files during post-exploitation to identify cleartext passwords and pivot opportunities.

Mar 16, 2026 • 3 min read

FTP Data Exfiltration

Covers FTP-based data exfiltration techniques post-compromise, including anonymous access abuse, credential reuse, and transferring sensitive files via FTP commands.

Dec 29, 2025 • 4 min read

FTP Log Analysis

Analyze FTP server logs to detect unauthorized access, lateral movement, and data exfiltration by identifying suspicious commands, failed auths, and anomalous transfer patterns.

Mar 16, 2026 • 4 min read