WinExec shellcode generator (x64/x86) from a command. Built for maldev testing. ^__^
cargo build --release# Generate a shellcode
./target/release/ember -c 'notepad.exe' -o shell.bin
# Run it (Windows) | demo runners for testing in ./demo/*
./demo/runner.exe shell.binFormats:
raw·hex·c·csharp·vba·uuid·ps1·rust·python/py·go
./target/release/ember -c 'calc.exe' -f rustWithout -o, the payload goes to stdout (handy for piping). Info messages only show up when writing to a file.
# Payload encrypted
./target/release/ember -c 'explorer.exe' -f go --encrypted
# ---- OUTPUT ------
# key := []byte{0x65, ...}
# shellcode := []byte{0x82, .... }# Payload encoded in base64
./target/release/ember -c 'explorer.exe' -f python --base64x64 by default. Use --x86 for 32-bit.
demo/ includes C and Rust runners to load and execute a .bin on Windows.