This demo is created according to the Writing A PE Packer article series from wirediver
I found some readers posted comments like "when running, the application gives an 'access denied' error", so I decided to try it once. That's the reason this reposity exists.
I'm NOT the original author.
The MessageBox.exe
application is written in NASM, showing a simple "Hello World" message
This app will serve as the input of our PE32 loader.
Run in Visual Studio
Run in local CMD Prompt
ChatGPT's answer about the ASLR support on Windows
Since we specify 0x00400000 in our program to load the PE32 image.
We specify another ImageBase for our loader
System ASLR settings on Win11
MessageBox in the memory region of the loader
This reminds you of something during unpacking
View in VMMap
PVS-Studio is a wonderful static analyzer and helps improve the quality of projects