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

Software security protection method and equipment

A software security and software technology, applied in the field of computer and communication, can solve problems such as software damage and lack of interface protection, and achieve the effect of enhancing security and increasing difficulty

Active Publication Date: 2013-08-14
BEIJING SENSESHIELD TECH
View PDF4 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Since the export interface between the executable program of java software and the dynamic link library is realized by function name and function prototype, the information exposed by these export interfaces is likely to be used by crackers to detect and discover the logic and flow of the software , thereby damaging the software
However, the current code protection mainly simply protects the executable program of java software, or simply protects the local code in the dynamic link library, and lacks protection for the interface between them.

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
  • Software security protection method and equipment
  • Software security protection method and equipment
  • Software security protection method and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0028] Specifically, please refer to image 3 shown in the flowchart and refer to figure 2 The shown block diagram specifies the detailed operation of an embodiment of the inventive method for securing software. like image 3 As shown, an embodiment of the method for protecting software security of the present invention includes the following steps:

[0029] S1: Enumerate the dynamic link library files in the software, if you find the dynamic link library files, then execute S2, if there is no dynamic link library files in the software, then end; if there is no dynamic link library files in the software, you don’t need to proceed Interface protection, that's obvious. If the software includes a dynamic link library file, the method of the present invention is used for protection.

[0030] S2: Find all export functions in the dynamic link library file, assign an index to each export function to build an export function table, store the name of the export function and the in...

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 discloses a software security protection method. The method includes the steps of searching for all export functions in dynamic link library files in software and establishing a table of export functions; checking whether names of the corresponding called export functions exist in the table of export functions or not; if yes, storing related parameters of a local method into the table of export functions; if not calling the local method, actuating a replacement step; adapting, namely generating dispatch code snippets and replacing codes, which call the local method, in executable files; and replacing, namely generating a unified export function and replacing the names of all export functions with the name of the unified export function, wherein the unified export function is used for jumping to an original export function. By the software security protection method and system, only the unified export function is exposed from an interface of the software, and the software is more difficult to decompile and debug and is safer.

Description

technical field [0001] The invention relates to the technical field of computer and communication, in particular to a method and device for protecting software safety, which strengthens the safety protection of the interface between executable files and local dynamic link library files, and prevents them from being destroyed. Background technique [0002] A lot of Java software includes some executable programs (such as .jar, .war or .class format files) and local dynamic link library files (such as .dll or .so format files). When the software is running, the executable program calls the export interface in the dynamic link library to perform functions that can only be realized by native code. Due to the dynamic link between them, the export interface is realized through the mechanism related to the function name and function prototype (signature). Each export function has a corresponding local (native) method. In java software, the executable program Call the corresponding...

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/57
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