Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Application programming interface (API) protection method and device

An application programming interface and protection device technology, applied in the field of API protection, can solve the problems of shell code confusion virtualization, inability to hide external calls well, and poor security.

Active Publication Date: 2017-02-01
BEIJING SENSESHIELD TECH
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When the existing application program accesses the interface function API in the dynamic link library, it can analyze the specific logic information of the interface function or the specific information of the application program through breakpoint debugging and reverse analysis of the application program, which is relatively safe. Difference
Moreover, no matter how the dynamic link library is protected in the software, including the use of shell code to confuse virtualization, etc., it cannot hide external calls well, after all, the system interface is unified

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
  • Application programming interface (API) protection method and device
  • Application programming interface (API) protection method and device
  • Application programming interface (API) protection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0086] Below, specific embodiments of the present invention will be described in more detail in conjunction with the accompanying drawings, but they are not intended to limit the present invention.

[0087] Such as figure 1 As shown, it is a flowchart of an application programming interface API protection method in an embodiment of the present invention, wherein the method includes the following steps:

[0088] S1: Receive a first access request at the application program side, where the first access request includes information about interface functions requested by the application program;

[0089] In this embodiment, on the application program side, when the corresponding application program is executed and the API interface function needs to be accessed, a corresponding first access request will be generated, and the first access request may include the information of the interface function requested by the application program, Such as function name, parameter, parameter ...

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 invention provides an application programming interface (API) protection method and device. The method comprises the following steps: S1, receiving a first access request on an application program side, wherein the first access request includes information of an interface function of the application program request; S2, calling the interface function corresponding to the first access request based on the first access request, and sending a second access request encrypted by a first key to a system kernel during running of the interface function, wherein the second access request includes kernel data needed for executing the interface function; S3, receiving return information which is encrypted by a second key, includes the kernel data and is returned from the system kernel. By adopting the API protection method and device, higher anti-decoding performance and higher safety are achieved.

Description

technical field [0001] The invention relates to the field of API protection, in particular to an application programming interface API protection method and protection device. Background technique [0002] When the existing application program accesses the interface function API in the dynamic link library, it can analyze the specific logic information of the interface function or the specific information of the application program through breakpoint debugging and reverse analysis of the application program, which is more secure. Difference. Moreover, no matter how the dynamic link library is protected in the software, including the use of shell code to confuse virtualization, etc., it cannot hide external calls well, after all, the system interface is unified. Contents of the invention [0003] The invention provides an application programming interface API protection method and a protection device capable of strengthening the security protection for interface functions....

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
IPC IPC(8): G06F21/52
CPCG06F21/52
Inventor 孙吉平张伟双杨磊
Owner BEIJING SENSESHIELD TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products