Cross-platform, Cross-Arch .NET to .NET injector. Built with Zig.
Targets running .NET 5+ processes via hostfxr, injects into the default AssemblyLoadContext.
Zig 0.16.0 and dotnet required
Run ./build.sh.
Knobs:
./build.sh --no-zig/--no-dotnetto skip a side./build.sh --zig-targets "x86_64-linux-gnu x86_64-windows-gnu"to narrow targetsCONFIG=Debug OPTIMIZE=Debug ./build.shfor debug builds
./Hauyne.Injector <process-name> [payload-path]
<process-name> is the process base name (no .exe). [payload-path] is optional; if omitted, the Bootstrap falls back to Hauyne.Payload.dll next to its own .so/.dll.
- Target must be a running .NET 5+ process
- Matching .NET version with target
- Matching arch with target
- x86-64 and aarch64
- Root, or
ptrace_scopeshuttered:echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope