Skip to content
/ mistRust Public

Learning rust via implementing some stupid simple shellcode droppers

License

Notifications You must be signed in to change notification settings

maK-/mistRust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mistRust

Making a start at learning rust through implementing a stupid/simple shellcode dropper. Eventually I'll add some functionality like XOR or encryption and different methods or places to obfuscate/deobfuscate the shellcode. Ideally the final project will build both elf and PE executables.

Make sure toolchains installed (with rustup target add [chain])

  • stable-x86_64-pc-windows-gnu
  • nightly

Building Binary

For linux (assuming you are using it)

cargo build

For Windows

cargo build --target x86_64-pc-windows-gnu

Reduce the size of the executable binary

To make smaller binaries you can export RUSTFLAGS='-C prefer-dynamic' before building. You can also use the linux native strip droppin_a_load to remove all symbols from object files etc.

About

Learning rust via implementing some stupid simple shellcode droppers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published