Unlock instant, AI-driven research and patent intelligence for your innovation.

A processing method and device when a function is hooked

A function and detection function technology, applied in the field of information security, can solve problems such as low system security and inability to obtain real operation results, and achieve the effect of high system security

Active Publication Date: 2022-04-01
FEITIAN TECHNOLOGIES
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Under the iOS system, when the function to be called is hooked, the function logic will change. After the device calls the hooked function, the real running result cannot be obtained, and the system security is low.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A processing method and device when a function is hooked
  • A processing method and device when a function is hooked
  • A processing method and device when a function is hooked

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the purpose, technical solution and advantages of the present application clearer, the embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0027] When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0028] In the description of the present application, it should be understood that the terms "first", "second" and so on are used for descriptive purposes only, and should not be understood as indicating or implying relative importance. Those of ordinary skill in the art can unde...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the present application discloses a method and device for processing when a function is hooked, wherein the method includes: using a custom hook detection function to perform hook detection on a detected function to be called, and determine whether there is a target framework in the detected function If there is an inline hook of the target framework in the detected function, obtain the starting address of the detected function, add the first specified length to the starting address of the detected function, and obtain the target address; traverse the program occupied by the detected function If the area address is found, the area address is received through the preset function; the preset function that receives the area address is called to execute the function logic when the detected function is not hooked. By using the method provided in the present application, it can be realized that the detected function can still execute the original function logic of the detected function even when the detected function is hooked.

Description

technical field [0001] The present application relates to the field of information security, in particular to a processing method and device when a function is hooked. Background technique [0002] Hook technology is used to hook the target function in the program to change the original execution flow of the program. Before the system calls the target function, use the hook technology to replace the target function with a custom function, so that the program executes the logic of the custom function to achieve the purpose of "dropping" the function; the inline hook (inline hook) is to modify the instructions in the target function , use the jump instruction to change the instruction of the hook point, so as to achieve the purpose of hooking the target function. [0003] Under the iOS system, when the function to be called is hooked, the function logic will change. After the device calls the hooked function, the real running result cannot be obtained, and the system security...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F21/52
CPCG06F21/52
Inventor 陆舟
Owner FEITIAN TECHNOLOGIES