Fawn introduces FTP anonymous access — one of the most frequently encountered misconfigurations in internal network pentests. File Transfer Protocol (FTP) was designed in the early days of the internet with no security in mind. When anonymous login is enabled, anyone can connect and browse files without a password.
| Skill | Why it matters |
|---|---|
| FTP enumeration with Nmap scripts | Nmap's ftp-anon script auto-detects anonymous access during scanning |
| Anonymous FTP login | A staple finding in internal assessments — file servers, legacy NAS devices |
| FTP client navigation | Listing, downloading, and inspecting files via the FTP CLI |
| Sensitive data exposure | Anonymous FTP often exposes config files, backups, and credentials |
What you're seeing: Nmap's default scripts (-sC) include ftp-anon which automatically tests for anonymous login and lists the directory. You can already see flag.txt before even connecting.
Connect using the FTP client. Use anonymous as the username and either a blank password or any email-format string.
| Command | What it does |
|---|---|
| ls / dir | List files in the current remote directory |
| cd <dir> | Change remote directory |
| get <file> | Download a single file to the local directory |
| mget * | Download all files in the current directory |
| put <file> | Upload a file (if write permission is granted) |
| binary | Switch to binary mode — required for non-text files |
| passive | Toggle passive mode — needed when behind a NAT/firewall |
| bye / quit | Close the connection |
| Concept | Real-world relevance |
|---|---|
| Anonymous FTP enabled | Commonly found on internal file servers, printers, and legacy NAS — always test port 21 with anonymous login |
| FTP is plaintext | Like Telnet, FTP sends credentials and data unencrypted — use SFTP or FTPS in production |
| Nmap scripts save time | Default scripts (-sC) catch anonymous FTP, HTTP titles, SMB shares and more automatically |
| Write access = code execution | If anonymous FTP allows uploads to a web-accessible directory, it becomes a webshell upload vector |
Anonymous FTP is a quick win that shows up surprisingly often in real internal audits — network printers, embedded devices, and old file servers are common offenders.
