S3cur3Th1sSh1t / WinPwn

Automation for internal Windows Penetrationtest / AD-Security
BSD 3-Clause "New" or "Revised" License
3.34k stars 518 forks source link

How can I pass parameters to mimiload command? #49

Closed iamalsaher closed 2 years ago

iamalsaher commented 2 years ago

I am looking to pass parameters to mimiload command so that it can be completely non interactive, but the mimiload directly loads the obfuscated mimikatz

How can I pass commands, I am looking for something like

mimiload -consoleoutput -noninteractive -command "coffee exit"

This doesn't seem to work

S3cur3Th1sSh1t commented 2 years ago

It's not possible to pass arguments to this function. You would need to take the script, and modify it. In the very end it's Invoke-ReflectivePEInjection with a customized Mimikatz Version, so you can pass parameters with the -exeArgs flag from Invoke-ReflectivePEInjection.

But it's also not meant to be used noninteractively here.