TheWover / donut

Generates x86, x64, or AMD64+x86 position-independent shellcode that loads .NET Assemblies, PE files, and other Windows payloads from memory and runs them with parameters
BSD 3-Clause "New" or "Revised" License
3.53k stars 628 forks source link

Verify .NET 5 compatability #55

Open TheWover opened 4 years ago

TheWover commented 4 years ago

With .NET 5, .NET Core and Framework are merging into one platform that will be standard across OSes. Before releasing v0.9.3, we should validate that Donut works with .NET 5 and document any relevant findings.

uberhalit commented 2 years ago

Any news on this? .NET 6 released already and the updated MS official hosting sample is terrible clunky and bloated: https://github.com/dotnet/samples/blob/main/core/hosting/src/NativeHost/nativehost.cpp

checkymander commented 1 year ago

Bumping this while @TheWover is on a roll doing stuff ;)

checkymander commented 1 year ago

This is how I generate NativeAOT payloads for Athena (as requested by Wover)

dotnet publish Athena -r win-x64 --self-contained true /p:PublishSingleFile=false /p:PublishAOT=true /p:EnableCompressionInSingleFile=true /p:PublishTrimmed=true /p:DebugType=None /p:DebugSymbols=false