Jump to content
Tuts 4 You

Creating and exe from zero


Pancake

Recommended Posts

Hello everyone. Today i bumped onto one very crazy idea :D


I am trying to preapre an exe file from scratch, not using any compiler, just create hex file. Im goin to create PE header, fill all values, create sections, directories, imports etc. So here comes my question. How much work has to be done to make windows loader successfully load the exe, map it and run the code inside? Is it only about creating the header with all its dependiences, or somehing more?


Link to comment

When i load the tiny.exe into olly i see ntvdm instead of the tiny.exe, and no info in memory map. Is that okay? And the 133 byte one gives error "program is to big to fit memory"


Edited by Pancake
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...