Skip to content

lesnuages/go-execute-assembly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-execute-assembly

Details

This project is mainly a Go port of metasploit-execute-assembly from @b4rtik.

It starts a notepad.exe process, use reflective DLL injection to inject the .NET CLR hosting DLL, as well as the assembly to run and its arguments.

If you don't trust the DLL, you can build your own version from here. The code will determine the offset for the RefelctiveLoader automatically.

Usage

Compile, then run with:

PS> execute-assembly.exe PATH_TO_ASSEMBLY PATH_TO_HOSTING_DLL

The main.go is an exemple, feel free to adapt to your needs.

About

Allow a Go process to dynamically load .NET assemblies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages