FTP File Server - Metasploit
This page contains detailed information about how to use the auxiliary/server/ftp metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: FTP File Server
Module: auxiliary/server/ftp
Source code: modules/auxiliary/server/ftp.rb
Disclosure date: -
Last modification time: 2020-05-12 22:15:21 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): -
List of CVEs: -
This module provides a FTP service
Module Ranking and Traits
Module Ranking:
- normal: The exploit is otherwise reliable, but depends on a specific version and can't (or doesn't) reliably autodetect. More information about ranking can be found here.
Basic Usage
msf > use auxiliary/server/ftp
msf auxiliary(ftp) > show targets
... a list of targets ...
msf auxiliary(ftp) > set TARGET target-id
msf auxiliary(ftp) > show options
... show and set options ...
msf auxiliary(ftp) > exploit
Go back to menu.
Msfconsole Usage
Here is how the server/ftp auxiliary module looks in the msfconsole:
msf6 > use auxiliary/server/ftp
msf6 auxiliary(server/ftp) > show info
Name: FTP File Server
Module: auxiliary/server/ftp
License: Metasploit Framework License (BSD)
Rank: Normal
Provided by:
hdm <[email protected]>
Available actions:
Name Description
---- -----------
Service Serve files via FTP
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
FTPPASS no Configure a specific password that should be allowed access
FTPROOT /tmp/ftproot yes The FTP root directory to serve files from
FTPUSER no Configure a specific username that should be allowed access
PASVPORT 0 no The local PASV data port to listen on (0 is random)
SRVHOST 0.0.0.0 yes The local host or network interface to listen on. This must be an address on the local machine or 0.0.0.0 to listen on all addresses.
SRVPORT 21 yes The local port to listen on.
SSL false no Negotiate SSL for incoming connections
SSLCert no Path to a custom SSL certificate (default is randomly generated)
Description:
This module provides a FTP service
Module Options
This is a complete list of options available in the server/ftp auxiliary module:
msf6 auxiliary(server/ftp) > show options
Module options (auxiliary/server/ftp):
Name Current Setting Required Description
---- --------------- -------- -----------
FTPPASS no Configure a specific password that should be allowed access
FTPROOT /tmp/ftproot yes The FTP root directory to serve files from
FTPUSER no Configure a specific username that should be allowed access
PASVPORT 0 no The local PASV data port to listen on (0 is random)
SRVHOST 0.0.0.0 yes The local host or network interface to listen on. This must be an address on the local machine or 0.0.0.0 to listen on all addresses.
SRVPORT 21 yes The local port to listen on.
SSL false no Negotiate SSL for incoming connections
SSLCert no Path to a custom SSL certificate (default is randomly generated)
Auxiliary action:
Name Description
---- -----------
Service Serve files via FTP
Advanced Options
Here is a complete list of advanced options supported by the server/ftp auxiliary module:
msf6 auxiliary(server/ftp) > show advanced
Module advanced options (auxiliary/server/ftp):
Name Current Setting Required Description
---- --------------- -------- -----------
ListenerComm no The specific communication channel to use for this service
SSLCipher no String for SSL cipher spec - "DHE-RSA-AES256-SHA" or "ADH"
SSLCompression false no Enable SSL/TLS-level compression
VERBOSE false no Enable detailed status messages
WORKSPACE no Specify the workspace for this module
Auxiliary Actions
This is a list of all auxiliary actions that the server/ftp module can do:
msf6 auxiliary(server/ftp) > show actions
Auxiliary actions:
Name Description
---- -----------
Service Serve files via FTP
Evasion Options
Here is the full list of possible evasion options supported by the server/ftp auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(server/ftp) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
TCP::max_send_size 0 no Maximum tcp segment size. (0 = disable)
TCP::send_delay 0 no Delays inserted before every send. (0 = disable)
Go back to menu.
Related Pull Requests
- #13443 Merged Pull Request: Add descriptions to auxiliary modules Actions
- #8716 Merged Pull Request: Print_Status -> Print_Good (And OCD bits 'n bobs)
- #8338 Merged Pull Request: Fix msf/core and self.class msftidy warnings
- #6795 Merged Pull Request: File.exists? must die
- #6655 Merged Pull Request: use MetasploitModule as a class name
- #6648 Merged Pull Request: Change metasploit class names
- #2525 Merged Pull Request: Change module boilerplate
- #1228 Merged Pull Request: MSFTIDY cleanup #1 - auxiliary
Go back to menu.
See Also
Check also the following modules related to this module:
- auxiliary/fuzzers/ftp/ftp_pre_post
- auxiliary/scanner/ftp/ftp_login
- auxiliary/scanner/ftp/ftp_version
- exploit/mainframe/ftp/ftp_jcl_creds
- auxiliary/dos/windows/ftp/filezilla_admin_user
- auxiliary/dos/windows/ftp/filezilla_server_port
- auxiliary/dos/windows/ftp/guildftp_cwdlist
- auxiliary/dos/windows/ftp/iis75_ftpd_iac_bof
- auxiliary/dos/windows/ftp/iis_list_exhaustion
- auxiliary/dos/windows/ftp/solarftp_user
- auxiliary/dos/windows/ftp/titan626_site
- auxiliary/dos/windows/ftp/vicftps50_list
- auxiliary/dos/windows/ftp/winftp230_nlst
- auxiliary/dos/windows/ftp/xmeasy560_nlst
- auxiliary/dos/windows/ftp/xmeasy570_nlst
- auxiliary/fuzzers/ftp/client_ftp
- auxiliary/scanner/ftp/anonymous
- auxiliary/scanner/ftp/bison_ftp_traversal
- auxiliary/scanner/ftp/colorado_ftp_traversal
- auxiliary/scanner/ftp/easy_file_sharing_ftp
- auxiliary/scanner/ftp/konica_ftp_traversal
- auxiliary/scanner/ftp/pcman_ftp_traversal
- auxiliary/scanner/ftp/titanftp_xcrc_traversal
- auxiliary/server/capture/ftp
- auxiliary/server/tftp
Authors
- hdm
Version
This page has been produced using Metasploit Framework version 6.1.24-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.