Malware development in Rust
About us
Cargo
Optimise Cargo
Cross-compilation
Dynamic library
System APIs
Windows API
Libc API
Cryptography
Introduction
Asymmetric encryption
Symmetric encryption
Hashing
Diffie-Hellman
Sockets with OpenSSL
Code injection
Injection with PTRACE
CreateRemoteThread
Process Hollowing
Obfuscation
Strings encryption
Polymorphism
Metamorphism
Self deletion
Dynamic imports
Evasion
Query wmi
Anti-debug with PTRACE
IsDebuggerPresent
Detect sandbox
Fileless on Linux
Direct syscall
Hook detection
Hell's Gate
Patch ETW
Shellcode
Call assembly in Rust
Execute shellcode in local process
Generate shellcode for Linux
Generate shellcode for Windows
Conclusion
Credits and ressources
🔎
Code injection
<
>