Files
Valak/docs/BUILD.md
T
2026-07-18 09:30:00 +01:00

671 B

build the dll

requires zig 0.16.x

cd evasion
zig build -Dtarget=x86_64-windows-gnu -Doptimize=ReleaseFast
# → zig-out/bin/valak.dll

cross-compiles from any OS. output is a PE32+ DLL for x64 Windows, about 80KB.

build the loader (optional)

if you need a minimal shellcode loader to get your implant running:

# place your Sliver shellcode as valak.bin in the kage directory
cd ../kage
python3 embed.py
zig build -Dtarget=x86_64-windows-gnu -Doptimize=ReleaseFast
# → zig-out/bin/kage.exe

integrate with sliver

./scripts/integrate.sh ~/projects/sliver

see sliver-integration.md for details.