{"id":280,"date":"2008-09-12T09:57:13","date_gmt":"2008-09-12T17:57:13","guid":{"rendered":"http:\/\/www.curlybrace.com\/words\/?p=280"},"modified":"2008-10-15T22:30:51","modified_gmt":"2008-10-16T06:30:51","slug":"pe-format","status":"publish","type":"post","link":"https:\/\/www.curlybrace.com\/words\/2008\/09\/pe-format\/","title":{"rendered":"PE Format"},"content":{"rendered":"<p>While investigating Authenticode, I become curious about the Portable Executable format.  This is the file format used by all Windows executables.<\/p>\n<p><a href=\"http:\/\/blogs.msdn.com\/kstanton\/archive\/2004\/03\/31\/105060.aspx\">Here is a good overview<\/a> in the context of .Net.  And here is the referenced image which is missing from that post (originally http:\/\/jfmasmtuts.blowsearch.ws\/Ch2\/peheader2.jpg):<\/p>\n<blockquote><p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.curlybrace.com\/words\/wp-content\/uploads\/2008\/09\/peheader2.jpg\" alt=\"Windows PE Header Format\" title=\"peheader2\" width=\"282\" height=\"436\" class=\"size-full wp-image-281\" srcset=\"https:\/\/www.curlybrace.com\/words\/wp-content\/uploads\/2008\/09\/peheader2.jpg 282w, https:\/\/www.curlybrace.com\/words\/wp-content\/uploads\/2008\/09\/peheader2-194x300.jpg 194w\" sizes=\"auto, (max-width: 282px) 100vw, 282px\" \/><\/p><\/blockquote>\n<p>This missing image turns out to be part of <a href=\"http:\/\/mirror.sweon.net\/madchat\/vxdevl\/papers\/winsys\/pefile\/pefile.htm\">a fantastic overview of the PE architecture<\/a>.  While the original article appears to be long gone, it lives on in an archive (and as a <a href=\"http:\/\/www.curlybrace.com\/archive\/PE%20File%20Structure.pdf\">PDF in my own archive<\/a>).<\/p>\n<p><a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/8dkk3ek4(VS.71).aspx\">Here is a significantly more dry<\/a> introduction, from MSDN.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While investigating Authenticode, I become curious about the Portable Executable format. This is the file format used by all Windows executables. Here is a good overview in the context of .Net. And here is the referenced image which is missing &hellip; <a href=\"https:\/\/www.curlybrace.com\/words\/2008\/09\/pe-format\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[187,185,186,188],"class_list":["post-280","post","type-post","status-publish","format-standard","hentry","category-technology","tag-executable-format","tag-pe","tag-program-executable","tag-windows-pe"],"_links":{"self":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/comments?post=280"}],"version-history":[{"count":7,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/280\/revisions"}],"predecessor-version":[{"id":399,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/280\/revisions\/399"}],"wp:attachment":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/media?parent=280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/categories?post=280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/tags?post=280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}