Font Size: a A A

Obtain PE File Content In The Windows Operating System

Posted on:2012-06-18Degree:MasterType:Thesis
Country:ChinaCandidate:D B LiuFull Text:PDF
GTID:2218330338963719Subject:Computer technology
Abstract/Summary:PDF Full Text Request
The rapid development of computer network technologies, Distributed System for the continuous expansion of application, Distributed applications for high reliability and availability requirements need more and more urgent. A high-availability system requirements for service will not under any circumstances be interrupted and can provide the correct services, therefore, Therefore, fault-tolerant in distributed systems is hot spot and difficulties for distributed systems, at the same time, is also a challenging topics.This paper comes from Natural Science Foundation of Shandong Province, It is mainly for the Windows application.It states how to save the contents of the executable file into a separate file on disk, and continuously update the contents of the document. So that when an application fails, you can get the latest contents from the file contents, to achieve the rapid recovery purposes. In this paper, a bit of work done as followed:(1)1 study of the structure of the executable file deeply, and carefullyanalysis of the structure of the contents of the executable file.Then I write a programto obtain the executable data segment, resource section and other sections of data.(2)Describe the the relationship between dynamic link library and the process address space;then I analyze two ways to load dynamic link librabry:one is implicitly loaded, the other is explicitly loaded; at last I listed two methods to inject the dynamic link library into the applications:Using Windows hooks and use the remote thread injection with dynamic link library.(3)1 have written a dynamic link library, which will get the executable file being executed. It including its data segment, global variables and so on,whose data may be changed the program is initialized. Then I write a window application, which uses windows hooks to inject above dynamic link library into applications and show the contents of the executable file.(4)Write the content of the executable file into a file on the disk,anduse the backend application continuously to update the content.When application fail,it can provide the latest content.
Keywords/Search Tags:process, thread, dynamic link library, executable file
PDF Full Text Request
Related items