Method and device for protecting.NET software security

A software security and software technology, which is applied in the field of computer and communication, can solve problems such as software damage and less involvement, and achieve the effect of enhancing security and increasing difficulty

Active Publication Date: 2013-07-03
BEIJING SENSESHIELD TECH
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Since the interface between the .NET executable program and the dynamic link library is realized by the function name and signature, the current code protection is mainly to simply protect the .NET executable program, or simply protect the local code in the d

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
  • Method and device for protecting.NET software security
  • Method and device for protecting.NET software security
  • Method and device for protecting.NET software security

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0039] Specifically, please refer to image 3 Flow chart shown and reference figure 2 The shown block diagram details the detailed working process of an embodiment of the inventive method for protecting the security of .NET software. Such as image 3 As shown, an implementation of the method for protecting .NET software security of the present invention includes the following steps:

[0040] S1: Enumerate the dynamic link library files in the .NET software, if a dynamic link library file is found, execute S2, if there is no dynamic link library file in the software, then end; if there is no dynamic link library file in the software, then no The need for interface protection is obvious. If the software includes dynamic link library files, the method of the present invention is used for protection.

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

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 method for protecting.NET software security. The method comprises the following steps of: searching: searching for all derivative functions from a dynamic link library of software and establishing a derivative function table; checking: checking whether names for calling the derivative functions are in the derivative function table or not; if so, storing the associated parameters in a local method in the derivative function table; if the local method is not called, executing a replacing step; rewriting: generating a dispatch code fragment to replace a code for calling the local method in an executable file; and replacing: generating uniform derivative functions and replacing names of the derivative functions by those of uniform derivative functions, wherein the uniform derivative functions are used for skipping to the original derivative functions. According to the method and the system, the interface of the software is exposed just by the uniform derivative functions, so that the decompilation and debugging difficulty of the software is improved, and the software security is enhanced.

Description

Technical field [0001] The present invention relates to the field of computer and communication technology, in particular to a method and equipment for protecting the safety of .NET software, strengthening the safety protection of the interface between an executable file and a local dynamic link library file, and preventing damage. Background technique [0002] Many .NET software contains some executable programs (.exe files for managed code) and local dynamic link library files (such as files in .dll format). When the software is running, the executable program calls the interface exported in the dynamic library to perform functions that only local code can achieve. Since they are dynamically linked, the export interface is realized through the mechanism related to the function name and the function prototype (signature). Each exported function has a corresponding local (PInvoke) method, which is called in the .NET managed code Local method to call the corresponding export func...

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/14
Inventor 孙吉平韩勇
Owner BEIJING SENSESHIELD TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products