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

Method and system for detecting debugging mode of software

A technology for debugging status and detecting software, applied in software testing/debugging, electrical digital data processing, instruments, etc., can solve problems such as failure, increase the difficulty of piracy, reduce the possibility of analysis or deception, and avoid analysis and tampering Effect

Inactive Publication Date: 2008-12-10
BEIJING SENSELOCK SOFTWARE TECH CO LTD
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] 3. The countermeasures are also in the software, which can be easily modified and become invalid

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 system for detecting debugging mode of software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] The software protection device in this embodiment uses an 8-bit single-chip microcomputer with a timer. The software sends data to the software protection device at the encryption point, and continues to run after obtaining the response data returned by the software protection device. In this embodiment, the software protection device uses a timer overflow interrupt to perform timing. Select encryption point A and encryption point B, and determine that the upper limit time for the software to run from encryption point A to encryption point B is 100ms;

[0061] After the software protection device is activated, the timer is started to count. Use the global variable m to record the timing time, add 1 to m every time the timer overflows and reset the initial value of the timer, which is determined by the timing accuracy required by anti-tracking, the timing frequency of the single-chip microcomputer and the length of the timer register. Assuming that the timing accuracy i...

Embodiment 2

[0067] The software protection device described in this embodiment is the smart card-type dongle Senselock IV of Beijing Sensilo Data Protection Center.

[0068] Senselock EL provides a 64-bit addition timer. When the timing frequency is 0.25MHz, the timing accuracy is 4 microseconds, and the timing time before overflow is as long as 4.7 hours. It also provides the corresponding operation API interface: _set_timer() to set the timing Mode and initial value, _start_timer() starts the timer to start timing, _stop_timer() stops the timer, _get_timer() obtains the current count value of the timer.

[0069] Assuming that the software has been protected with the Senselock EL encryption key, usually the code at the encryption point is transplanted to the Senselock EL to run, and this part of the code is changed in the software to call the corresponding program in the Senselock EL.

[0070] Assume that the timing frequency of the dongle used is 0.25MHz, and the timing accuracy require...

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 and a system for detecting the debugging status of a software. The invention acquires the authentic operational time of the designated code of the software in a software protection device, so as to realize the reliable detection of debugging operation and provide basis for counteracting the tracking to the protected software. Because the invention utilizes the software protection device to realize the detection of operation time without relying on the time information of a general-purpose computer, the invention can guarantee the accurate operational time that is hard to be distorted and has excellent shielding performance, thus greatly enhancing the availability of countermeasures for the tracking of the software.

Description

technical field [0001] The invention relates to software protection technology, in particular to a method and system for detecting that software is in a debugging state. Background technique [0002] Debugging and analyzing the software running process is an important means for pirates to crack software. If pirates can be prevented from debugging software, the risk of software being pirated will be greatly reduced. There are several ways to achieve this, such as suppressing the debugger's trace command, blocking keyboard input, or detecting and countering debugging behavior in software. [0003] Detecting software runtime is an important debugging behavior detection technique. Because technical means such as interruption or single-step operation are often used for analysis in the process of debugging software, and these means will make the running time of the software much higher than the time required for normal running. Therefore, checking the running time of the softwar...

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 Applications(China)
IPC IPC(8): G06F21/22G06F11/36G06F21/14
Inventor 孙吉平韩勇
Owner BEIJING SENSELOCK SOFTWARE TECH CO LTD