FTP 21
checklist
Anonymous login
OS version
Other software: Check
Program Files
,yum.log
,/bin
Password files
DLLs: Use for msfpescan / BOF targets
Upload potential: Do you have the ability to upload files?
Can you trigger execution of uploads?
Swap binaries
Public exploits: Check for any public exploits for FTP server software
Download All Directories and Files
Mirror FTP directories with anonymous login:
If PASV transfer is disabled:
If PASV is enabled:
FTP Information Gathering
Grab FTP Banner via telnet:
Grab FTP Certificate if available:
Nmap FTP scan:
Scan FTP with scripts:
Basic FTP scan with version detection:
Alternative (without brute forcing):
Connect with Browser:
Brute Force FTP Login
Hydra Brute Force (Need Username):
Hydra with Sparta custom list (Requires Sparta tool):
Msfconsole FTP scanning:
SSH Key Deployment via FTP
Generate SSH key:
Upload SSH key via FTP:
SSH into target:
FTP Passive Mode Detection
Passive mode at login: Indicates potential presence of a firewall in the system.
Exploiting MS Office Evil Macros
First Stage: Set up Reverse Shell
Search for Office macro:
Set up Meterpreter reverse listener:
Second Stage: Upload and Execute Macro
Change file extension:
Start Meterpreter listener:
Upload via FTP:
Catch Meterpreter session.
Last updated