sirp Posted September 15, 2010 Posted September 15, 2010 Tiny PECreating the smallest possible PE executableThis work was inspired by the Tiny PE challenge by Gil Dabah. The object of the challenge was to write the smallest PE file that downloads a file from the Internet and executes it.In the process of writing increasingly smaller PE files for the challenge I learned a lot of interesting details about the PE file format and the Windows loader. The goal of this document is to preserve this knowledge for future reference. In this, I have followed the example of the famous Whirlwind Tutorial on Creating Really Teensy ELF Executables for Linux.TinyPe
Peter Ferrie Posted September 15, 2010 Posted September 15, 2010 Tiny PECreating the smallest possible PE executableThe file no longer loads on Win7, and never worked on x64.The smallest possible compatible files are 252 bytes long for 32-bit and 268 bytes long for x64.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now