Files
Whitecat18 28e7fac1d3 Upload
Rust-for-Malware-Development is an collection of proof of concepts with techniques and advanced evasion methods
2026-06-06 14:53:10 +05:30
..
2026-06-06 14:53:10 +05:30
2026-06-06 14:53:10 +05:30
2026-06-06 14:53:10 +05:30
2026-06-06 14:53:10 +05:30
2026-06-06 14:53:10 +05:30
2026-06-06 14:53:10 +05:30

Custom Shellcode

Welcome to the Custom_Shellcode directory of Rust-for-Malware-Development. Drop-in shellcode samples for testing your own loaders, plus a small helper for pulling shellcode out of a compiled binary. Every payload in this folder just pops calc.exe, so it is safe to detonate inside a VM.

Cargo Projects

  • shellcode_extract: Reads a PE on disk and dumps the bytes of a chosen section (.text by default) as raw shellcode. Handy for turning your own Rust binary into a payload.

Standalone Calc Payloads

Each of these is a Rust source file containing a different calc.exe shellcode variant. Copy the byte array straight into your loader.

How to Use

git clone https://github.com/Whitecat18/Rust-for-Malware-Development.git
cd Rust-for-Malware-Development/Custom_Shellcode

For shellcode_extract, cd into the folder and run cargo build --release. For the loose .rs files, copy the shellcode array into your loader's source.