05-01-2022, 11:26 AM
If your main goal is to build dotnet dll that can execute code located on its own "DllMain like" just by loading it without any "trick or Export to call" or help of another NATIVE Dll
.Ithink there is no known way to acheave that
.Dotnet Dlls by design has no default Entrypoint to execute when it loaded like native dll behavior
.you need to Export the method then call it when you inject your target
.Injection + call exported method
.Ithink there is no known way to acheave that
.Dotnet Dlls by design has no default Entrypoint to execute when it loaded like native dll behavior
.you need to Export the method then call it when you inject your target
.Injection + call exported method