[Full-disclosure] Re: Windows PE Checksums

Piotr Bania bania.piotr at gmail.com
Sat Sep 9 05:49:50 BST 2006


 >I was checking out Windows PE checksums.
 >And found they do not seem to get checked when executing a .exe file.

Windows surely take care of PE checksum, specially when executing files 
that are protected by System File Checker (windows file protection).

 >Neither does 'dumpbin' check the checksum.
 >Does anyone know of a program (Ideally free and ideally open source) 
 >that checks PE checksums ?

CheckSumMappedFile:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/checksummappedfile.asp

You shouldn't have problems with writing your own checksumer.

best regards,
pb





-- 
--------------------------------------------------------------------
Piotr Bania - <bania.piotr at gmail.com> - 0xCD, 0x19
Fingerprint: 413E 51C7 912E 3D4E A62A  BFA4 1FF6 689F BE43 AC33
http://www.piotrbania.com  - Key ID: 0xBE43AC33
--------------------------------------------------------------------

               - "The more I learn about men, the more I love dogs."




Full-Disclosure is hosted and sponsored by Secunia.