Welcome to the Persistence directory of Rust-for-Malware-Development.
Techniques that make a payload survive reboots, hide inside legitimate startup flows, or pretend to be spawned by a different parent than it really was.
InitializeProcThreadAttributeList + UpdateProcThreadAttribute to hand a fake parent handle to CreateProcess. Useful for hiding lineage from EDR.StartupApproved registry keys that Windows uses to allow or block autostart entries.git clone https://github.com/Whitecat18/Rust-for-Malware-Development.git
cd Rust-for-Malware-Development/Persistence
For the Cargo project, cd into it and run cargo build --release. For the loose .rs snippets, drop the file into your own projectβs src/ and call it from main.