Files
trickster0-OffensiveRust/memN0ps/arsenal-rs/shellcode_runner_classic-rs/README.md
T

1.3 KiB

Classic Shellcode Runner in Rust

Classic Shellcode in Rust using NTDLL functions directly with the NTAPI library.

Encoding (XOR)

The shellcode used is a msfvenom payload that is simply XOR encoded:

The shellcode is then decoded in the program at runtime using the following:

let mut shellcode : Vec<u8> = Vec::with_capacity(buf.len());
for x in &buf {
    shellcode.push(*x ^ 0xBE); //change this byte for different XOR.
}

Comment out the appropriate line if you don't want to use any encoding and if you do then make sure you encode your shellcode with the appropriate byte.

Detections

I had 0 detections on Virus Total but this will change after making the project public, also don't rely 100% on virus total results.

Detections

https://www.virustotal.com/gui/file/34d2ad3a0c5d603df03ddca8cdaff47545ab427aa9c32dd60e15764b3615abab?nocache=1

References and Credits