Skip to content

walkingsk/simplest_pe32_loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

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.

Simple MessageBox application

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.

MessageBox loaded

Run in Visual Studio

Run in local CMD Prompt

ALSR

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

Static anaylyzer recommended

PVS-Studio is a wonderful static analyzer and helps improve the quality of projects

About

The most simple-stupid demo on a PE32 loader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published