GhostPack Necromancy: Reforging C# Tools with WasmForge
Praetorian’s WasmForge toolchain compiles heavily-signatured GhostPack C# tools (Rubeus, Seatbelt) to WebAssembly via .NET’s NativeAOT-WASI, evading YARA signatures, AMSI hooks, and ETW tracing by running entirely outside the .NET runtime. The build pipeline combines source patching, C bridges for calling conventions, and BCL backfills; the resulting WASM modules are wrapped in signed PE binaries for C2 delivery. This eliminates the detection surface of CLR loading and IL bytecode analysis, addressing the most heavily-signatured tools in offensive security toolkits.
This post is licensed under CC BY 4.0 by the author.