Method and device for realizing host remote control based on PE file structure
A technology of remote control device and file structure, applied in computer security devices, electrical components, instruments, etc., can solve the problems of remote control failure, no introduction of methods, loss of host authority, etc., so as to avoid being detected and killed and reduce the loss of host computers. The effect of permissions
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] Such as figure 1 As shown, a method for realizing remote control of a host based on a PE file structure, the method includes:
[0040] S1: Obtain the PE file of the Windows operating system, and determine the target PE file according to the preset condition; the preset condition is the running frequency of the PE file; the step of determining the target PE file according to the preset condition includes: when the PE file When the running frequency is greater than the preset threshold, the PE file is determined as the target PE file.
[0041] S2: Find the blank area of the target PE file, and inject shellcode into the found blank area; the specific process is:
[0042] step by step through the PE structure pointer to find the location of the section table of the target PE file;
[0043] Align all the sections of the target PE file, and after the alignment, the part other than the actual data location of each section is used as the blank area;
[0044] Determine the ...
Embodiment 2
[0076] Based on Embodiment 1 of the present invention, Embodiment 2 of the present invention also provides a device for realizing remote control of a host based on a PE file structure, and the device includes:
[0077] The target PE file obtaining module is used to obtain the PE file of the Windows operating system, and determines the target PE file according to preset conditions;
[0078] The shellcode injection module is used to find the blank space of the target PE file, and inject shellcode into the blank space found;
[0079] The entry point acquisition module of the target PE file is used to use the starting address of the shellcode as the entry point of the target PE file;
[0080] The jump module is used to jump to the original entry point of the PE file after the shellcode is executed.
[0081]Further, the Shellcode injection module is also used for:
[0082] step by step through the PE structure pointer to find the location of the section table of the target PE fil...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

