mirror of
https://codeberg.org/smukx/Rust-for-Malware-Development
synced 2026-06-06 20:22:59 +00:00
28e7fac1d3
Rust-for-Malware-Development is an collection of proof of concepts with techniques and advanced evasion methods
MessageBoxes
Welcome to the MessageBoxes directory of Rust-for-Malware-Development.
The cheapest "hello world" for WinAPI work in Rust — just pop a message box. Useful for sanity-checking your build pipeline, your ANSI vs Unicode string handling, and your basic FFI calls before you wire up anything more dangerous.
Sections & Links
-
MessageBoxA: Shows a message box using the ANSI (
CHAR*) variant. Strings go in as plainCStringbytes. -
MessageBoxW: Shows a message box using the Unicode (
WCHAR*) variant. Strings are encoded as UTF-16 before being passed across the FFI boundary.
How to Use
git clone https://github.com/Whitecat18/Rust-for-Malware-Development.git
cd Rust-for-Malware-Development/MessageBoxes
Each sub-folder is its own Cargo project. Build with cargo build --release.