Skip to content
ufraan
← Back

Custom Malware

this project demonstrates shellcode injection on windows using self-injection and process injection.

C++Security
Apr 2025GitHubLive

This one's an educational deep-dive into shellcode injection on Windows, written in C++. It implements two methods: self-injection, where shellcode runs in the current process, and process injection, where it's written into a remote process via VirtualAllocEx, WriteProcessMemory, and CreateRemoteThread. The whole thing is a minimal proof-of-concept—no dependencies beyond the Windows SDK, strictly for learning and authorized security testing.

Custom Malware shellcode injection diagram
Custom Malware shellcode injection diagram

The core logic uses VirtualProtect and function pointer casting for self-injection. The project is structured as a minimal proof-of-concept with no dependencies beyond the Windows SDK and is intended strictly for educational and authorized security testing purposes.