Thread: C# packer
View Single Post
  #5  
Old 07-08-2005, 00:40
caki caki is offline
Registered User
 
Join Date: Dec 2004
Location: UK
Posts: 899
Thanks: 0
Thanked 0 Times in 0 Posts
caki is on a distinguished road
Actually DABhand,

With C# and VB.net files the code is compiled into Microsoft Intermediate Language. Then, once you run the exe a Just in Time compiler will compile the
Microsoft Intermediate Language code into native code and then execute it. Also, I think that the Just In Time compiler also checks the PE header to see if it has been changed, because if you change the PE header, the exe wont run. Since most exe packers change the PE header, the exe will not be able to run because the JIT detects these changes and wont run. CEXE packed exes, however, when unpacked do not have any changes in the PE header, thereby allowing the packed VB.net exe or C# exe to run.
Reply With Quote