I'm doing some research on corrupted PE files and I wanted to hear your thoughts and experiences with them. I've been processing a ton of samples which are essentially corrupted Windows Portable Executable files. They will not run on XP or Windows 7 and they won't run on 32 bit or 64 bit. If I open them in a hex editor, it's very clear that they are missing entire header data structures, the MZ and surrounding data is missing or altered, etc... When I attempt to execute these .exe files, I get errors along the lines of "This is not a valid Windows executable" and/or "This executable cannot be run on this system, it may be designed for 64 bit and you are on a 32 bit or vice versa." Not verbatim but that's the general idea. Basically, I cannot get these to run or operate at all. So the question is, why do they exist? Are they files which could possibly come packaged with other files that when run, repair these files before loading them into memory as a sort of "obfuscated library file?" I feel like this is an unlikely scenario.
Another possibility is, perhaps these files are made for a much older version of Windows? I've done some deep study of the PE file format though and am not aware of any previous PE format with altered headers, etc..
EXAMPLE:
See first a regular PE file that runs fine:
Now see the above compared with a specimen file:
Finally, I was able to locate "PE" much further down then normal, amongst a bunch of binary data:
This is all just one example but this is the kind of thing I'm talking about.
0x9c0000
(yes, four zeroes) inSHEZ-WONTRUN.EXE
?