A small utility to act as a "proxy" when sideloading an exe
file. It will forward all command line arguments to the real, pre-specified binary just after executing your payload.
- Adjust the payload in
exeproxy.nim
'sp4yl0ad()
to your needs - Build using either a Docker container or the locally install
nim
PROXYBIN
= absolute or relative path onto which the command line arguments will be forwarded/proxiedBINNAME
= output name of the exeproxy
make indocker PROXYBIN='C:\\Windows\\system32\\whoami.exe' BINNAME='whoami.exe'
make local PROXYBIN='C:\\Windows\\system32\\whoami.exe' BINNAME='whoami.exe'