[go: nahoru, domu]

Skip to content

My malware developpement exercices / experiments primarly in Rust, cross-compiled from Linux

License

Notifications You must be signed in to change notification settings

standard3/maldev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maldev

My malware developpement exercices / experiments primarly in Rust, cross-compiled from Linux

Cross-compiling

To build the project on Linux, follow these instructions. You have to install MSVC.

$ rustup target add x86_64-pc-windows-msvc
# add target for each build
$ cargo build --target x86_64-pc-windows-msvc ...

Note

My Nix Flake is private for this repository, if want to use one you can create it and :

$ git add --intent-to-add flake.nix
$ git update-index --assume-unchanged flake.nix

Available features

Payload Placement

$ cargo build --features payloadplacement

Note

We can compile our resources.rc file and do not use crate embed-resource. To do so, we need x86_64-w64-mingw32-windres, this can be installed on Nix within a shell :

$ nix-shell -p pkgsCross.mingwW64.stdenv.cc

We can then use it :

$ x86_64-w64-mingw32-windres -i resources.rc -O coff -o resources.res

Resources

About

My malware developpement exercices / experiments primarly in Rust, cross-compiled from Linux

Resources

License

Stars

Watchers

Forks

Languages