Does anyone know why the PE DOS stub often includes repetitive looking data that does not seem to be valid 16bit commands?

enter image description here

  • did you try to open the file with pe explorer ?
    – Abr001am
    Jan 12 '18 at 16:47

This is the so-called "Rich header", added by Microsoft's link.exe (you can see the text "Rich" at the end of the mysterious block). It contains information about the versions of compilers and other tools which participated in producing the code of the executable. Some references:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.