I'm taking a grad level network security course. We are discussing programs that alter the PE header to change the size of the executable file. I have done alot of research on the PE header file and I have found a LOT of information about it's structure but nothing about how to gain access to it.
We just got our first project assigned and we have to alter the PE header for the project using C++ in a windows (XP if it matters) environment. Does anyone know any resource for me to take a look at? I have found plenty about the values store and what they are used for but nothing about how to alter them. At http://msdn.microsoft.com/msdnmag/issues/02/02/PE/ it describes how to find the Relative Virtual Address and how to find the real address based on the RVA and the actual load address. I'm assuming the key here is to find the actual load address and then use the offset to alter the correct memory locations but I am a Java programmer and I have almost no experience in C++. If anyone has a good resource or anything ANY help would be great. Thanks in advance.
Feel free to PM or post any questions.
We just got our first project assigned and we have to alter the PE header for the project using C++ in a windows (XP if it matters) environment. Does anyone know any resource for me to take a look at? I have found plenty about the values store and what they are used for but nothing about how to alter them. At http://msdn.microsoft.com/msdnmag/issues/02/02/PE/ it describes how to find the Relative Virtual Address and how to find the real address based on the RVA and the actual load address. I'm assuming the key here is to find the actual load address and then use the offset to alter the correct memory locations but I am a Java programmer and I have almost no experience in C++. If anyone has a good resource or anything ANY help would be great. Thanks in advance.
Feel free to PM or post any questions.