Maherilaza/rust-shellcode-injection — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a small Rust learning project for Windows that demonstrates process injection in a controlled lab. I want it to start Notepad in a paused state, reserve memory inside that process, copy a harmless demo shellcode payload into it, queue it with an APC call, then resume the thread so the payload runs. Use the Windows API from Rust and keep the code simple enough for someone learning systems programming to follow.

Please make it compile with cargo in release mode, put the risky parts behind clear function names, and add comments explaining each step in plain English. The demo payload should only do something harmless like opening Calculator, and include warnings that this is for education on my own machine only. Add a short README with how to build and run it on Windows, what should happen, and any common troubleshooting notes. Look up current docs online if you need to.

Want more depth? Deep Reverse