FTP (21) enumeration and exploitation — anonymous/weak login, writable directories, cleartext capture, FTP bounce scanning, and known server CVEs (vsftpd backdoor, ProFTPD mod_copy). Tier 1. Use when 21 is open to grab files, gain a foothold, or scan via bounce.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ftp Enumeration?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-ftp-enumeration)
---
name: ftp-enumeration
description: FTP (21) enumeration and exploitation — anonymous/weak login, writable directories, cleartext capture, FTP bounce scanning, and known server CVEs (vsftpd backdoor, ProFTPD mod_copy). Tier 1. Use when 21 is open to grab files, gain a foothold, or scan via bounce.
---
# FTP Enumeration
FTP is cleartext and frequently allows anonymous access or ships with a vulnerable server. Check anon login, writable dirs (often a web root → RCE), bounce scanning, and version CVEs.
## Trigger phrases
`ftp, 21, anonymous, ftp-anon, ftp bounce, vsftpd, proftpd, writable ftp, cleartext`
## Method
1. **Scan:** `nmap -p21 --script ftp-anon,ftp-syst,ftp-bounce -sV <IP>`.
2. **Anonymous login:** `ftp <IP>` → `anonymous` / any email. List and `get` everything readable; `wget -r ftp://anonymous@<IP>/` to mirror.
3. **Writable test:** `put test.txt` — a writable dir that maps to a web root → upload a webshell → RCE (reference ${CLAUDE_PLUGIN_ROOT}/payloads/file-upload.md + command-exec.md).
4. **Weak/default creds:** `hydra -L users.txt -P pass.txt ftp://<IP>` (respect lockout); try vendor defaults on appliances.
5. **Cleartext capture:** on-path, FTP creds/data are plaintext — sniff where you have L2 (pairs with poisoning/MITM skills).
## Modern / rare techniques
- **[FTP bounce] `nmap -b anonymous@<ftp>:21 <target>`** — abuse the `PORT` command to port-scan a third host through the FTP server, hiding your source and reaching otherwise-filtered internal targets.
- **Server CVEs (confirm, don't assume):** vsftpd 2.3.4 `:)` backdoor (cmd on 6200), ProFTPD `mod_copy` (`SITE CPFR`/`CPTO` unauth file copy → web-root write), ProFTPD 1.3.5. Validate with a safe PoC.
## Escalation / chaining
Writable web root → webshell RCE → linux/windows privesc; downloaded configs/keys → credential skills; bounce scan → internal host discovery; foothold → pivoting.
## Backend & tooling
Kali/WSL or HexStrike. Standard ftp/nmap/hydra work from most vantage points; route CVE exploitation through the operator host.
## Verification (background, before reporting)
Confirm anonymous access actually lists/reads files (not just banner); for writable dirs prove the file lands and is retrievable/executable; validate any CVE by exploitation or safe PoC, not banner version alone.
## Evidence
Login proof, file listing/downloaded data, write-to-webroot RCE proof or bounce-scan output, CVE PoC, impact. Remediation: disable anonymous, switch to FTPS/SFTP, remove write perms on served dirs, patch the FTP server.