ZeroLP / SharpNativeDLL

NativeAOT assisted native .NET DLL injection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SharpNativeDLL

NativeAOT assisted native .NET DLL injection

This is an example project to inject a NAOT compiled native .NET DLL. It implements a custom UnmanagedCallersOnly DllMain entrypoint which handles DLL_PROCESS_ATTACH protocol, and can be modified to further accept other protocols.

REQUIREMENTS: .NET 7

Limitations

The limitations for this particular implementation is outlined in the official documentation for NativeAOT

The most notable limitation is that it is bound to x64 and ARM64 architectures.

Screenshot

About

NativeAOT assisted native .NET DLL injection

License:GNU Affero General Public License v3.0


Languages

Language:C# 100.0%