This project is entirely a POC, it was my research into looking at how execute-assembly works within Cobalt Strike. The project contains two solutions:
- ConsoleApp1: An example C# Project that will be executed via the unmanaged code
- InMemoryNET: The unmanaged code to execute .NET
As well as executing the .NET Assembly, it will patching AMSI and ETW and is intended to be purely a reference piece.
Referenced projects: