Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Getsystem on Windows #7

Open
jabra- opened this issue Nov 27, 2013 · 2 comments
Open

Getsystem on Windows #7

jabra- opened this issue Nov 27, 2013 · 2 comments

Comments

@jabra-
Copy link

jabra- commented Nov 27, 2013

It would be great if the Java meterpreter could have the ability to getsystem when it is deployed on a Windows system.

This is very useful when exploiting Java based vulnerabilities in the browser.

@schierlm
Copy link
Contributor

I'd phrase it differently. It would be great if Metasploit could automatically detect that the currently deployed Meterpreter (be it Java or PHP or Python) does not support a command and transparently upgrade it to a Meterpreter version that does (if an upgrade path is available). I think this is not only useful from Java->win, but also PHP->win, and even POSIX->java (record_mic or screenshot for example). Of course it has to fail gracefully in case the upgraded Meterpreter is detected by AV or IPS :)

But I guess this is too much to ask for, so I'll continue dreaming...

@kernelsmith
Copy link

My only concern with that is having upgrades occur unknowingly, which may sometimes mean unwanted, like in the case of triggering AV etc as you mention. I would suggest such a feature be non-default behavior, maybe have an Option to enable such functionality. Seems like a wrapper method like upgrade_path_avail?(payload = “meterpreter”) or some such could be implemented.

On Jul 30, 2014, at 11:37 AM, Michael Schierl notifications@github.com wrote:

I'd phrase it differently. It would be great if Metasploit could automatically detect that the currently deployed Meterpreter (be it Java or PHP or Python) does not support a command and transparently upgrade it to a Meterpreter version that does (if an upgrade path is available). I think this is not only useful from Java->win, but also PHP->win, and even POSIX->java (record_mic or screenshot for example). Of course it has to fail gracefully in case the upgraded Meterpreter is detected by AV or IPS :)

But I guess this is too much to ask for, so I'll continue dreaming...


Reply to this email directly or view it on GitHub.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants