pentesting, updated

FTP service checks

Check an FTP service for anonymous access, cleartext credentials and writable directories.

Goal

Determine whether FTP allows anonymous or weakly-protected access to files, and whether it leaks credentials in cleartext.

How to test

ftp 10.10.10.5                       # try user "anonymous", any password
nmap --script ftp-anon,ftp-syst -p21 10.10.10.5
hydra -l admin -P rockyou.txt ftp://10.10.10.5   # credential brute force: see [Hydra](/docs/pentest-cheatsheets/tools/exploitation/hydra)

What to look for

Anonymous login succeeding, a writable upload directory (can be combined with a web root for a webshell if the FTP root is served over HTTP), or credentials captured in a packet capture since FTP is cleartext by design.

§ home
~/knubertus/home/
1,1 Top