Simple Shellcode Runner in Rust Language
Downloads a binary file from a specified URL, stores the data in a byte array, allocates memory for that data, copies the data to the allocated memory, and then creates a thread to execute the code at the location where the data has been copied.
Using D\Invoke Technique + Donut.exe in Mimikatz.exe and Python server http to download using wrequest
winapi = { version = "0.3", features = ["memoryapi", "processthreadsapi", "synchapi", "winnt"] } reqwest = "0.11" tokio = { version = "1", features = ["full"] }
It provides a runtime and functions that allow the use of asynchronous I/O
Access Folder > Execute command
cargo build cargo run
Reference: https://github.com/cdong1012/Crab-Runner https://learn.microsoft.com/en-us/windows/dev-environment/rust/rust-for-windows https://gist.github.com/matterpreter/03e2bd3cf8b26d57044f3b494e73bbea