[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN102982281B - Program state testing method and system - Google Patents

Program state testing method and system Download PDF

Info

Publication number
CN102982281B
CN102982281B CN201210449282.4A CN201210449282A CN102982281B CN 102982281 B CN102982281 B CN 102982281B CN 201210449282 A CN201210449282 A CN 201210449282A CN 102982281 B CN102982281 B CN 102982281B
Authority
CN
China
Prior art keywords
information
program
file
grade
hostage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210449282.4A
Other languages
Chinese (zh)
Other versions
CN102982281A (en
Inventor
张晓霖
郑文彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qizhi Business Consulting Co ltd
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210449282.4A priority Critical patent/CN102982281B/en
Publication of CN102982281A publication Critical patent/CN102982281A/en
Application granted granted Critical
Publication of CN102982281B publication Critical patent/CN102982281B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a kind of program state testing method and system, utilize the program in believable white list to load malice dll file and cause Initiative Defense normally cannot tackle the problem of rogue program to solve rogue program.Wherein, this system comprises client and server, and wherein, client comprises: characteristic information acquisition module; Transmission module on characteristic information; Described server comprises: matching module; Upgraded module, is suitable for high in the clouds discrimination condition described in periodic detection and whether meets promotion condition, if meet, then obtains new discrimination condition, and the upgrading completing high in the clouds discrimination condition by reloading described new discrimination condition upgrades; Wherein, promotion condition is configured in the server; Client also comprises: determination module, is suitable for receiving the matching result that described server returns, and determines whether described pending program exists the dll file of being held as a hostage according to described matching result.The embodiment of the present invention can tackle rogue program more effectively.

Description

Program state testing method and system
Technical field
The present invention relates to technical field of network security, be specifically related to a kind of program state testing method and system.
Background technology
Rogue program is a recapitulative term, refers to that any intentional establishment is used for performing without permission and the software program of normally harmful act.Computer virus, backdoor programs, Key Logger, password steal taker, Word and excel macro virus, leading viruses, script virus (batch, windowsshell, java etc.), wooden horse, crime software, spyware and ad ware etc., be all that some can be referred to as the example of rogue program.
Global rogue program quantity is that geometry level increases now, in order to adapt to the renewal speed of rogue program, to identify rapidly and killing rogue program, generally utilizes initiative type safeguard technology killing rogue program at present.Initiative type safeguard technology carries out the autonomous real-time protection technology analyzing judgement based on the behavior of program; it is from the most original definition; directly using the behavior of program as the foundation judging rogue program; and then derive by using feature database in this locality, arranging behavior asset pricing in this locality and differentiating, tackle the behavior of rogue program in modes such as the heuristic virus killings in this locality, thus reach the object of protection client device to a certain extent.
But in order to reduce the impact on program feature as far as possible, initiative type safeguard technology only detects the exe file of program, and dynamic link library (DynamicLinkLibrary, the DLL) file of not scrutiny program loading.Therefore, some rogue programs just utilize this point, together with by DLL technology of kidnapping the dll file of this rogue program being packaged in the program (program that such as operating system carries) in white list trusty, when user selects to perform the program in this white list, the dll file of rogue program wherein will be loaded, thus makes initiative type safeguard technology can not successfully tackle this rogue program.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the program condition detecting system solved the problem at least in part and corresponding program state testing method.
According to one aspect of the present invention, provide a kind of program state testing method, comprising:
When pending program creation process being detected, obtain the characteristic information of described pending program;
The characteristic information of described pending program is uploaded onto the server, by server, the characteristic information of described pending program is mated with the high in the clouds discrimination condition pre-set, obtain matching result;
Receive the matching result that described server returns, and determine whether described pending program exists the dll file of being held as a hostage according to described matching result;
Described in server periodic detection, whether high in the clouds discrimination condition meets promotion condition, if meet, then server obtains new discrimination condition, and the upgrading completing described high in the clouds discrimination condition by reloading described new discrimination condition upgrades;
Wherein, described promotion condition is configured in the server.
In the embodiment of the present invention, program state testing method also comprises:
If exist, then by server, killing is carried out to described dll file of being held as a hostage;
According to server killing result, corresponding operation is performed to described pending program.
In the embodiment of the present invention, matching result is the dll file information that described pending program needs to check,
Describedly determine whether described pending program exists the dll file of being held as a hostage, and comprising according to described matching result:
Whether there is the described dll file information needing to check under judging assigned catalogue, if exist, then determine that described pending program exists the dll file of being held as a hostage; Wherein, described in the dll file of being held as a hostage be the dll file existed under assigned catalogue, the relative catalogue that described assigned catalogue is current directory or specifies.
In the embodiment of the present invention, the specific dll file information that after high in the clouds discrimination condition comprises multiple specific program matching condition and meets this specific program matching condition, needs check.
In the embodiment of the present invention, by server, the characteristic information of described pending program is mated with the high in the clouds discrimination condition pre-set, obtains matching result, comprising:
By server, the characteristic information of described pending program is mated with described specific program matching condition;
The specific dll file information that obtained the specific program matching condition meeting and match by server after, needs check;
Described specific dll file information is needed the dll file information of inspection as described pending program.
In the embodiment of the present invention, specific program matching condition comprises at least one in following information:
File name information, document size information, file characteristic value information, file icon information, name of product information, inner name information, raw filename information, and the order line information of process, process path information and parent process routing information;
The characteristic information of pending program comprises at least one in following information:
The file name information of pending program, document size information, file characteristic value information, file icon information, name of product information, inner name information, raw filename information, and the order line information of the process of pending program creation, process path information and parent process routing information.
In the embodiment of the present invention, before by server killing being carried out to described dll file of being held as a hostage, also comprise:
Obtain the EXE file that described pending program is corresponding;
The information of the information of EXE file corresponding for described pending program and described dll file of being held as a hostage is uploaded onto the server;
Describedly by server, killing is carried out to described dll file of being held as a hostage, comprising:
Obtain the grade of described EXE file and the grade of described dll file of being held as a hostage by server, described grade comprises safe class, unknown grade, suspicious/height suspicion level and malice grade;
According to the grade of described EXE file and the grade of described dll file of being held as a hostage, killing is carried out to described dll file of being held as a hostage.
In the embodiment of the present invention, the dll file of being held as a hostage is one or more,
According to server killing result, corresponding operation is performed to described pending program, comprising:
When at least one is for malice grade in the grade of described EXE file and the grade of described dll file of being held as a hostage, tackle the execution of described pending program;
When the grade of described EXE file and the grade of described dll file of being held as a hostage are safe class, allow the execution of described pending program;
When there is no malice grade in the grade of described EXE file and the grade of described dll file of being held as a hostage, and during the grade of the grade of at least one dll file of being held as a hostage higher than described EXE file, obtain wherein the highest grade, grade the highest described in the grade of described EXE file is revised as, allow the execution of described pending program, and tackle the suspicious operation initiated after pending program performs.
In the embodiment of the present invention, suspicious be operating as following any one:
File operation, registry operations, process operation and network operation.
In the embodiment of the present invention, pending program is the program in white list.
In the embodiment of the present invention, high in the clouds discrimination condition stores in the server.
According to another aspect of the present invention, provide a kind of program condition detecting system, comprise client and server, wherein,
Client comprises:
Characteristic information acquisition module, is suitable for when pending program creation process being detected, obtains the characteristic information of described pending program;
Transmission module on characteristic information, is suitable for the characteristic information of described pending program to upload onto the server;
Described server comprises:
Matching module, is suitable for the characteristic information of described pending program to mate with the high in the clouds discrimination condition pre-set, obtains matching result;
Upgraded module, is suitable for high in the clouds discrimination condition described in periodic detection and whether meets promotion condition, if meet, then obtains new discrimination condition, and the upgrading completing described high in the clouds discrimination condition by reloading described new discrimination condition upgrades;
Wherein, described promotion condition is configured in the server;
Described client also comprises:
Determination module, is suitable for receiving the matching result that described server returns, and determines whether described pending program exists the dll file of being held as a hostage according to described matching result.
In the embodiment of the present invention, server also comprises:
Killing module, is suitable for, when the check result of the determination module of client is for existing, carrying out killing to described dll file of being held as a hostage;
Client also comprises:
Processing module, is suitable for performing corresponding operation according to server killing result to described pending program.
In the embodiment of the present invention, matching result is the dll file information that described pending program needs to check,
Determination module comprises:
Judge submodule, whether there is the described dll file information needing to check under being suitable for judging assigned catalogue, if exist, then determine that described pending program exists the dll file of being held as a hostage; Wherein, described in the dll file of being held as a hostage be the dll file existed under assigned catalogue, the relative catalogue that described assigned catalogue is current directory or specifies.
In the embodiment of the present invention, the specific dll file information that after high in the clouds discrimination condition comprises multiple specific program matching condition and meets this specific program matching condition, needs check.
In the embodiment of the present invention, matching module comprises:
Matched sub-block, is suitable for the characteristic information of described pending program to mate with described specific program matching condition;
Specific dll file acquisition of information submodule, the specific dll file information that after being suitable for obtaining the satisfied specific program matching condition matched, needs check;
Determine submodule, be suitable for the dll file information described specific dll file information being needed inspection as described pending program.
In the embodiment of the present invention, specific program matching condition comprises at least one in following information:
File name information, document size information, file characteristic value information, file icon information, name of product information, inner name information, raw filename information, and the order line information of process, process path information and parent process routing information;
The characteristic information of pending program comprises at least one in following information:
The file name information of pending program, document size information, file characteristic value information, file icon information, name of product information, inner name information, raw filename information, and the order line information of the process of pending program creation, process path information and parent process routing information.
In the embodiment of the present invention, client also comprises:
File acquisition module, the killing module be suitable at server obtains the EXE file that described pending program is corresponding before carrying out killing to described dll file of being held as a hostage;
Transmission module on fileinfo, is suitable for the information of the information of EXE file corresponding for described pending program and described dll file of being held as a hostage to upload onto the server;
Killing module comprises:
Ranked queries submodule, is suitable for inquiring about the grade of described EXE file and the grade of described dll file of being held as a hostage, and described grade comprises safe class, unknown grade, suspicious/height suspicion level and malice grade;
Killing submodule, is suitable for carrying out killing according to the grade of described EXE file and the grade of described dll file of being held as a hostage to described dll file of being held as a hostage.
In the embodiment of the present invention, the dll file of being held as a hostage is one or more,
Processing module comprises:
Program intercepts submodule, is suitable for, when at least one is for malice grade in the grade of described EXE file and the grade of described dll file of being held as a hostage, tackling the execution of described pending program;
Implementation sub-module, is suitable for, when the grade of described EXE file and the grade of described dll file of being held as a hostage are safe class, allowing the execution of described pending program;
Suspicious operation intercepting submodule, be suitable for when there is no malice grade in the grade of described EXE file and the grade of described dll file of being held as a hostage, and during the grade of the grade of at least one dll file of being held as a hostage higher than described EXE file, obtain wherein the highest grade, grade the highest described in the grade of described EXE file is revised as, allow the execution of described pending program, and tackle the suspicious operation initiated after pending program performs.
In the embodiment of the present invention, suspicious be operating as following any one:
File operation, registry operations, process operation and network operation.
In the embodiment of the present invention, pending program is the program in white list.
In the embodiment of the present invention, high in the clouds discrimination condition stores in the server.
Can when pending program creation process being detected according to program state testing method of the present invention and system, the high in the clouds discrimination condition pre-set by server checks whether described pending program exists the dll file of being held as a hostage, if there is the dll file of being held as a hostage in pending program, then by server, killing is carried out to described dll file of being held as a hostage, then according to server killing result, corresponding operation is performed to described pending program.Solving rogue program thus utilizes the program in believable white list load malice dll file and cause Initiative Defense normally cannot tackle the problem of rogue program, achieves the beneficial effect more effectively tackling rogue program.
Secondly, high in the clouds of the present invention discrimination condition is preserved in the server, when meeting promotion condition, can upgrade by the whole network at once, updating speed is very fast, does not need client upgrade file to come into force, rogue program for burst has good interception result, thus avoids the loss of user.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the process flow diagram of program state testing method according to an embodiment of the invention;
Fig. 2 shows the process flow diagram of program state testing method according to an embodiment of the invention;
Fig. 3 shows the process flow diagram of program state testing method according to an embodiment of the invention;
Fig. 4 shows the schematic diagram of the high in the clouds discrimination condition according to the embodiment of the present invention;
Fig. 5 shows the structured flowchart of program condition detecting system according to an embodiment of the invention; And
Fig. 6 shows the structured flowchart of program condition detecting system according to an embodiment of the invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
The present invention can be applied to computer system/server, and it can operate with other universal or special computing system environment numerous or together with configuring.The example of the well-known computing system being suitable for using together with computer system/server, environment and/or configuration includes but not limited to: personal computer system, server computer system, thin client, thick client computer, hand-held or laptop devices, system based on microprocessor, Set Top Box, programmable consumer electronics, NetPC Network PC, minicomputer system large computer system and comprise the distributed cloud computing technology environment of above-mentioned any system, etc.
Computer system/server can describe under the general linguistic context of the computer system executable instruction (such as program module) performed by computer system.Usually, program module can comprise routine, program, target program, assembly, logic, data structure etc., and they perform specific task or realize specific abstract data type.Computer system/server can be implemented in distributed cloud computing environment, and in distributed cloud computing environment, task is performed by the remote processing devices by communication network links.In distributed cloud computing environment, program module can be positioned at and comprise on the Local or Remote computing system storage medium of memory device.
Embodiment one:
With reference to Fig. 1, show the process flow diagram of program state testing method according to an embodiment of the invention, the method specifically can comprise:
Step S101, when pending program creation process being detected, obtains the characteristic information of described pending program.
Step S102, uploads onto the server the characteristic information of described pending program, is mated by the characteristic information of described pending program, obtain matching result by server with the high in the clouds discrimination condition pre-set.
Step S103, receives the matching result that described server returns, and determines whether described pending program exists the dll file of being held as a hostage according to described matching result.
For the detailed process of the program state testing method that the present embodiment proposes, will introduce in detail in the following embodiments.
The high in the clouds discrimination condition in server can be utilized to detect pending program by above-mentioned steps S101-step S103 and whether there is the dll file of being held as a hostage, follow-uply can treat executive routine by testing result and process.If detect that pending program exists the dll file of being held as a hostage, then follow-uply can carry out killing by server to the dll file of being held as a hostage, then according to server killing result, corresponding operation be performed to described pending program.Solving rogue program thus utilizes the program in believable white list load malice dll file and cause Initiative Defense normally cannot tackle the problem of rogue program, more effectively can tackle rogue program.
Embodiment two:
With reference to Fig. 2, show the process flow diagram of program state testing method according to an embodiment of the invention.
In order to adapt to the renewal speed of rogue program, to identify rapidly and killing rogue program, generally utilize initiative type safeguard technology killing rogue program at present.Initiative type safeguard technology carries out the autonomous real-time protection technology analyzing judgement based on the behavior of program, protects by arranging the key position of intercept point to system at the key position of system.When there being program to perform behavior (such as write registration table, create plan target, revise browser homepage, revise the behavior such as default browser and registration browser plug-in) of these key positions of amendment, will tackle this program, need after interception to judge whether this act of revision is maliciously, usually be by judging whether perform the program of this act of revision realizes safely to the judgement of behavior, if program is malice, then illustrate that this act of revision is malice, therefore need the execution of tackling this program.
In general, initiative type safeguard technology by checking the file of program, with the security of trace routine.But when scrutiny program file, need the cryptographic hash of calculation document, also need accesses network, these are all more time-consuming operations, and general program can load tens even up to a hundred dll files, even if use caching technology to be optimized, or the start-up time of the obvious prolongation program of meeting.Therefore, in order to reduce the impact on program feature as far as possible, initiative type safeguard technology only detects the EXE file of program, and the dll file of not scrutiny program loading.Therefore, some rogue programs just utilize this point, together with by DLL technology of kidnapping the dll file of this rogue program being packaged in the program (program that such as operating system carries) in white list trusty, when user selects to perform the program in this white list, the dll file of rogue program wherein will be loaded, thus makes initiative type safeguard technology can not successfully tackle this rogue program.
In order to prevent rogue program from utilizing program in white list trusty to break through Initiative Defense and successful execution, the embodiment of the present invention proposes a kind of program state testing method, concrete, and this program state testing method comprises the following steps:
Step S201, when pending program creation process being detected, the high in the clouds discrimination condition pre-set by server checks whether described pending program exists the dll file of being held as a hostage.
It should be noted that, this step S201 checks whether described pending program exists the process of the dll file of being held as a hostage, and relative to above-described embodiment one, this step S201 can comprise the step S101-step S103 in above-described embodiment one.
Step S202, if exist, then carries out killing by server to described dll file of being held as a hostage.
Step S203, performs corresponding operation according to server killing result to described pending program.
Can when there is the dll file of being held as a hostage in pending program by above-mentioned steps S201-step S203, further by server, killing is carried out to these dll files of being held as a hostage, then according to server killing result, corresponding operation is performed to described pending program.For concrete processing procedure, will introduce in detail in the following embodiments.
The program state testing method that the embodiment of the present invention proposes checks by treating the dll file of being held as a hostage in executive routine, can solve rogue program utilizes the program in white list trusty load malice dll file and cause Initiative Defense normally cannot tackle the problem of rogue program, achieves the beneficial effect more effectively tackling rogue program.
Embodiment three:
Below, concrete program state testing method is described in detail.
With reference to Fig. 3, show the process flow diagram of program state testing method according to an embodiment of the invention, described method comprises:
Step S301, when pending program creation process being detected, the high in the clouds discrimination condition pre-set by server checks whether described pending program exists the dll file of being held as a hostage.
The embodiment of the present invention is mainly when pending program creation process, increase the query script to dll file, need to check whether pending program exists the dll file of being held as a hostage, if existed, then illustrate that this pending program is likely utilized by rogue program, therefore will check these dll files of being held as a hostage whether safety further.
In the present embodiment, the high in the clouds discrimination condition pre-set by server checks whether described pending program exists the dll file of being held as a hostage.
High in the clouds discrimination condition stores in the server, discrimination condition comprises multiple specific program matching condition and meets the specific dll file information that needs check after this specific program matching condition beyond the clouds, the present embodiment is exactly some characteristic informations of pending program will be mated with high in the clouds discrimination condition, and then judges according to matching result.For concrete matching process, perform in the server.
Concrete, this step S301 can comprise following sub-step:
Sub-step a1, obtains the characteristic information of described pending program.
Wherein, the characteristic information of pending program can comprise at least one in following information:
The file name information of pending program, document size information, file characteristic value information, file icon information, name of product information, inner name information, raw filename information, and the order line information of the process of pending program creation, process path information and parent process routing information.
Certainly, the characteristic information of described pending program can also comprise other information, and the present embodiment is not limited this.
Sub-step a2, uploads onto the server the characteristic information of described pending program.
Because the present embodiment needs the high in the clouds discrimination condition by pre-setting to check whether described pending program exists the dll file of being held as a hostage, high in the clouds discrimination condition stores in the server, therefore after the characteristic information getting pending program, first need these characteristic informations to upload onto the server, by server, the characteristic information of pending program is mated with high in the clouds discrimination condition.
Sub-step a3, is mated the characteristic information of described pending program with described high in the clouds discrimination condition by server, obtains the dll file information that described pending program needs to check, using the described dll file information checked that needs as matching result;
Below, the process of carrying out with high in the clouds discrimination condition mating specifically is introduced.
Seen from the above description, discrimination condition comprises multiple specific program matching condition and meets the specific dll file information that needs check after this specific program matching condition beyond the clouds, in embodiments of the present invention, the characteristic information of pending program can be mated with specific program matching condition, thus obtain the dll file information needing to check.
Because specific program matching condition needs to mate with the characteristic information of pending program, therefore, in described specific program matching condition, also can comprise some information corresponding with the characteristic information of program, the specific program matching condition matched with the characteristic information of pending program can be found by these information.
In the present embodiment, described specific program matching condition can comprise at least one in following information:
File name information, document size information, file characteristic value information, file icon information, name of product information, inner name information, raw filename information, and the order line information of process, process path information and parent process routing information.Certainly, described specific program matching condition can also comprise other information, and the present embodiment is not limited this.
Concrete, can be comprised by the processing procedure of server for specific program matching condition:
(i) the characteristic information of described pending program is mated with described specific program matching condition;
(ii) the specific dll file information that after obtaining the specific program matching condition meeting and match, needs check;
(iii) described specific dll file information is needed the dll file information of inspection as described pending program.
Concrete, can be described by following instance.
As shown in Figure 4, be the schematic diagram of high in the clouds discrimination condition described in the embodiment of the present invention.
As can be seen from the figure, condition and rreturn value two parts are comprised in this high in the clouds discrimination condition, multiple expression formula is contained in its conditional one row, these expression formulas are the specific program matching condition described in the embodiment of the present invention, rreturn value one row contain multiple character string, specify the specific dll file information that after meeting corresponding specific program matching condition, needs check in these character strings.
(Fig. 3 is the part sectional drawing of high in the clouds discrimination condition can to comprise the information such as name of product information (hi.GEN), document size information (hi.DSI), inner name information (hi.ITN), raw filename information (hi.ORN), process path information (hi.DST), parent process routing information (hi.SRC), the capable information of process commands (hi.CLE) in the expression formula that condition one arranges, wherein some information does not show in figure 3), these information are suitable for mating with the characteristic information of pending program.
In the character string that rreturn value one arranges, specify the specific dll file information that after meeting corresponding specific program matching condition, needs check after " DLL: ", in the present embodiment, described dll file information can be the title of dll file.In addition, in the character string that rreturn value one arranges, multiple specific dll file information needing to check can be specified, be separated by with comma between each dll file information.
Such as, the characteristic information getting current pending program is name of product information " Kingsoft refitting master-hand ", then this name of product information is mated with high in the clouds discrimination condition, through judging, " (hi.GEN:like in specific program matching condition, Kingsoft refitting master-hand) " be the condition matched with name of product information " Kingsoft reset master-hand ", therefore, can from rreturn value " (return_extinfo:<hips>DLL:kdum p.dll corresponding to this condition, irrlicht.dll</hips>) obtain " and need the dll file name checked to be called " kdump.dll " and " irrlicht.dll ".
It should be noted that, high in the clouds discrimination condition described in the present embodiment can also comprise other information, such as whether come into force, condition sequence number, application percentage etc., those skilled in the art carry out respective handling according to actual conditions, and the present embodiment is not limited this.
Sub-step a4, the described pending program that reception server issues needs the dll file information checked.
After server gets the dll file information of described pending program needs inspection according to high in the clouds discrimination condition, the described dll file information checked that needs is needed to be issued to client, then client needs the dll file information checked to judge, to determine the dll file that described pending program is held as a hostage to these further.
Whether sub-step a5, exist the described dll file information needing to check, if exist, then determine that described pending program exists the dll file of being held as a hostage under judging assigned catalogue.
In general, dll file can be stored in system directory, if need when program performs to call some dll file, then, under these dll files being stored in assigned catalogue, the dll file be therefore stored under assigned catalogue is the dll file that this program is called.In the present embodiment, described assigned catalogue can be current directory or the relative catalogue of specifying.
So whether client, after the dll file information receiving the pending program needs inspection that server issues, exists the dll file information that described needs check under also needing to judge assigned catalogue further.If there is the described dll file information needing to check under assigned catalogue, illustrate that described pending program exists the dll file of being held as a hostage, and described in the dll file of being held as a hostage be assigned catalogue under the dll file that exists, need to carry out killing to these dll files of being held as a hostage; If there is not the described dll file information needing to check under assigned catalogue, illustrate that these dll files can not be loaded by pending program, therefore do not need to carry out killing to it.
Such as, still be described with above-mentioned citing, if the pending program that server is handed down to client needs the dll file information checked to be dll file title " kdump.dll " and " irrlicht.dll ", then whether there are these dll file titles under judging assigned catalogue.
Such as, there is one of them dll file name under judging assigned catalogue and be called " kdump.dll ", then using dll file that dll file " kdump.dll " is held as a hostage as pending program.
It should be noted that, corresponding to above-described embodiment one, sub-step a1 in the present embodiment is the detailed process of the step S101 in above-described embodiment one, sub-step a2-sub-step a3 is the detailed process of the step S102 in above-described embodiment one, sub-step a4-sub-step a5 is the detailed process of the step S103 in above-described embodiment one, and the present embodiment is discussed no longer in detail at this.
Step S302, obtains the EXE file that described pending program is corresponding.
Step S303, if there is the described dll file information needing to check under assigned catalogue, then uploads onto the server the information of the information of EXE file corresponding for described pending program and described dll file of being held as a hostage.
Wherein, the information of the file uploaded can comprise the information such as cryptographic hash, file path of file, and the embodiment of the present invention is not limited this.
Because existing Initiative Defense only checks the EXE file of program, and the dll file of not scrutiny program, if rogue program utilizes program in believable white list to load malice dll file, then rogue program just can walk around the interception of Initiative Defense and successful execution.
Therefore, the embodiment of the present invention proposes not only to check the EXE file of program, the dll file of program is also checked, but be not that all dll files are checked, but by mating with high in the clouds discrimination condition, determine the dll file of being held as a hostage in program, then killing is carried out to these dll files of being held as a hostage.
Concrete, the process of file being carried out to killing is performed by server, therefore, if judge to there is the dll file of being held as a hostage in pending program in step s 201, and define the dll file of being held as a hostage, then the information of the information of EXE file corresponding for described pending program and described dll file of being held as a hostage all is uploaded onto the server, by server, killing is carried out to these files; If judge there is not the dll file of being held as a hostage in pending program, then illustrate that this pending program is not utilized by rogue program, now only need the information of EXE file corresponding for pending program to upload onto the server.
Such as, in step S301, judge that the dll file that pending program is held as a hostage is " kdump.dll ", then be that the information of EXE file corresponding to the pending program in " Kingsoft reset master-hand " uploads onto the server by the information of dll file " kdump.dll " and name of product information.
Step S304, carries out killing by server to described dll file of being held as a hostage.
Server, after the information of EXE file corresponding to the pending program receiving client upload and the information of described dll file of being held as a hostage, namely carries out killing according to described fileinfo to corresponding file.
This step S304 specifically can comprise:
Sub-step b1, obtains the grade of described EXE file and the grade of described dll file of being held as a hostage by server.
In the present embodiment, described grade comprises safe class, unknown grade, suspicious/height suspicion level and malice grade.For the setting of grade, can arrange when grade is 10-29 is safe class (file of this grade is text of an annotated book part), be unknown grade (file of this grade is grey file) when grade is 30-49, being suspicious/height suspicion level (file of this grade is apocrypha) when grade is 50-69, is malice grade (file of this grade is malicious file) when grade is more than or equal to 70.Certainly, can also arrange described grade is other forms, and the present invention is not limited this.
Sub-step b2, carries out killing according to the grade of described EXE file and the grade of described dll file of being held as a hostage to described dll file of being held as a hostage.
Concrete, can pass through for killing portable perform bulk (PortableExecute, PE) the cloud killing engine of type file, or artificial intelligence engine (QihooVirtualMachine, QVM) carries out killing to described EXE file and the dll file of being held as a hostage.Wherein, PE type file is often referred to the program file in Windows operating system, and common PE type file comprises the type files such as EXE, DLL, OCX, SYS, COM.
Antivirus engine can according to the recognition result to file hierarchies, and according to the blacklist preserved in antivirus engine, and/or white list carries out killing to corresponding document.
For concrete killing process, those skilled in the art carry out respective handling according to practical experience, and the present embodiment is discussed no longer in detail at this.
Step S305, performs corresponding operation according to server killing result to described pending program.
Server is after getting EXE file and the grade of dll file of being held as a hostage, and the grade got is handed down to client, and client performs corresponding operation according to server killing result to described pending program.
Concrete, this step S305 can comprise following sub-step:
Sub-step c1, when at least one is for malice grade in the grade of described EXE file and the grade of described dll file of being held as a hostage, tackles the execution of described pending program.
In the present embodiment, described dll file of being held as a hostage is one or more, if there is malice grade in the grade of the EXE file got and the grade of the dll file of being held as a hostage, then illustrate that this pending program is risky, now need the execution of tackling described pending program.
Sub-step c2, when the grade of described EXE file and the grade of described dll file of being held as a hostage are safe class, allows the execution of described pending program.
Sub-step c3, when there is no malice grade in the grade of described EXE file and the grade of described dll file of being held as a hostage, and during the grade of the grade of at least one dll file of being held as a hostage higher than described EXE file, obtain wherein the highest grade, grade the highest described in the grade of described EXE file is revised as, allow the execution of described pending program, and tackle the suspicious operation initiated after pending program performs.
If the grade of EXE file does not meet two kinds of situations in above-mentioned sub-step c1 and sub-step c2 with the grade of the dll file of being held as a hostage, grade the highest described in then the grade of EXE file being revised as, and the execution of described pending program can be allowed, now because the EXE file of pending program also may exist risk, therefore, when initiating suspicious operation after pending program performs, can the operation suspicious to these tackle.
Such as, in step S301, determine that the dll file that pending program is held as a hostage is " kdump.dll ", the grade being got the EXE file of pending program by server is safe class, the grade of " kdump.dll " is suspicious/height suspicion level, wherein the highest file hierarchies is suspicious/height suspicion level, now, the grade by described EXE file is revised as suspicious/height suspicion level.
And, because the grade of EXE file has been modified, therefore follow-up when this pending program performs some suspicious operation, namely judge this program whether safety by the grade of EXE file, if EXE file is suspicious, then can tackle these suspicious operations.
Wherein, suspicious operation can be following any one: file operation, registry operations, process operation and network operation.
Such as, can be the file relevant to windows operating system for file operation, or the application software that some charging capacitys are larger (as qq, Ali Wang Wang etc.), or the operation of the shortcut of desktop etc.;
Operation for registration table can be that program write registration table loads automatically, and destroys registration table etc.;
For process operation can be mutually inject (process inserts in another process and perform some codes), process threading operation far away between process, (such as some rogue program terminates QQ process to end process, again login can be truncated to password, or the follow-up certain operations of process) etc.;
Can be install to drive or service, global hook inject, web page contents etc. in record keyboard operation, amendment browser for network operation.
Certainly, can also comprise some other operation, the embodiment of the present invention is not limited this.
It should be noted that, the situation that the present embodiment mainly utilizes the program in white list trusty to load malice dll file for rogue program processes, therefore, the grade of EXE file should be safe class, if have the grade of dll file higher than the grade of this EXE file, then revise the grade of EXE file.
Step S306, described in server periodic detection, whether high in the clouds discrimination condition meets promotion condition, if meet, then server obtains new discrimination condition, and the upgrading completing described high in the clouds discrimination condition by reloading described new discrimination condition upgrades.
High in the clouds discrimination condition in the present embodiment needs regularly upgrading to upgrade.Concrete, promotion condition can be configured in the server, described in server periodic detection, whether high in the clouds discrimination condition meets promotion condition, when meeting, server directly obtains new high in the clouds discrimination condition, and replace original high in the clouds discrimination condition by new high in the clouds discrimination condition, thus upgrading renewal is carried out to original high in the clouds discrimination condition.
Wherein, promotion condition can judge according to the FileVersion of local discrimination condition, and then upgrade than if any during the version upgraded, also can specify and upgrade to an indicated release when local version meets certain condition, the embodiment of the present invention is not limited this.
Such as, if found the new program (QQ game) be utilized, but there is not this program in the discrimination condition of high in the clouds, then can increase a specific program matching condition in discrimination condition beyond the clouds, comprising the dll file information of the characteristic information (" QQ game ") of this program and needs inspection after meeting this specific program matching condition.
Certainly, other mode can also be adopted to carry out upgrading to high in the clouds discrimination condition and upgrade, the present embodiment is not limited this.
Because high in the clouds discrimination condition is preserved in the server, therefore when meeting promotion condition, client upgrade file is not needed to come into force, therefore can upgrade by the whole network at once, updating speed is very fast, and the rogue program for burst has good interception result, thus avoids the loss of user.
Finally, it should be noted that, the situation that the embodiment of the present invention mainly utilizes the program in white list trusty to load malice dll file for rogue program processes.If pending program is the program in white list trusty, the now EXE file of an initiative type safeguard technology scrutiny program, will judge that this program is safe, thus allow it to perform, if but rogue program utilizes the program in this white list to load malice dll file, then this rogue program also can successful execution.
Therefore, for this situation, the embodiment of the present invention is by when pending program creation process being detected, the high in the clouds discrimination condition pre-set by server checks whether described pending program exists the dll file of being held as a hostage, if there is the dll file of being held as a hostage in pending program, then by server, killing is carried out to described dll file of being held as a hostage, then according to server killing result, corresponding operation is performed to described pending program.Solving rogue program thus utilizes the program in believable white list load malice dll file and cause Initiative Defense normally cannot tackle the problem of rogue program, achieves the beneficial effect more effectively tackling rogue program.
It should be noted that, for aforesaid embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the application is not by the restriction of described sequence of movement, because according to the application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action might not be that the application is necessary.
Embodiment four:
With reference to Fig. 5, show the structured flowchart of program condition detecting system according to an embodiment of the invention, described system comprises client 501 and server 502.
Wherein, client comprises: transmission module 5012 and determination module 5013 on characteristic information acquisition module 5011, characteristic information, described server comprises: matching module 5021.
Characteristic information acquisition module 5011, is suitable for when pending program creation process being detected, obtains the characteristic information of described pending program;
Transmission module 5012 on characteristic information, is suitable for the characteristic information of described pending program to upload onto the server;
Matching module 5021, is suitable for the characteristic information of described pending program to mate with the high in the clouds discrimination condition pre-set, obtains matching result;
Determination module 5013, is suitable for receiving the matching result that described server returns, and determines whether described pending program exists the dll file of being held as a hostage according to described matching result.
The high in the clouds discrimination condition in server can be utilized to detect pending program by above-mentioned modules and whether there is the dll file of being held as a hostage, if detect that pending program exists the dll file of being held as a hostage, then follow-uply can carry out killing by server to the dll file of being held as a hostage, then according to server killing result, corresponding operation be performed to described pending program.Thus rogue program can be solved utilize the program in believable white list to load malice dll file and cause Initiative Defense normally cannot tackle the problem of rogue program, more effectively tackle rogue program.
Embodiment five:
With reference to Fig. 6, show the structured flowchart of program condition detecting system according to an embodiment of the invention, described system comprises client 601 and server 602.
Wherein, client 601 comprises: checking module 6011, EXE file acquisition module 6012, upper transmission module 6013 and processing module 6014; Server 602 comprises: dll file data obtaining module 6021, killing module 6022 and upgraded module 6023.
Checking module 6011, is suitable for when pending program creation process being detected, and the high in the clouds discrimination condition pre-set by server checks whether described pending program exists the dll file of being held as a hostage;
It should be noted that, above-mentioned checking module is mainly suitable for checking whether described pending program exists the dll file of being held as a hostage, relative to above-described embodiment four, the function of this checking module can corresponding to the function of the several module realization of transmission module 5012, matching module 5021 and determination module 5013 on the characteristic information acquisition module 5011 in above-described embodiment four, characteristic information.
Wherein, described pending program is the program in white list, in the discrimination condition storage server of described high in the clouds.
Described checking module 6011 comprises:
Characteristic information obtains submodule, is suitable for the characteristic information obtaining described pending program;
Wherein, the characteristic information of described pending program can comprise at least one in following information:
The file name information of pending program, document size information, file characteristic value information, file icon information, name of product information, inner name information, raw filename information, and the order line information of the process of pending program creation, process path information and parent process routing information.
Characteristic information uploads submodule, is suitable for the characteristic information of described pending program to upload onto the server.
Described server 602 comprises:
Dll file data obtaining module 6021, be suitable for by the characteristic information of described pending program is mated with described high in the clouds discrimination condition, obtain the dll file information that described pending program needs to check, using the described dll file information checked that needs as matching result;
Wherein, described high in the clouds discrimination condition comprises multiple specific program matching condition and meets the specific dll file information that needs check after this specific program matching condition.
Described dll file data obtaining module comprises:
Matched sub-block, is suitable for the characteristic information of described pending program to mate with described specific program matching condition;
Described specific program matching condition can comprise at least one in following information:
File name information, document size information, file characteristic value information, file icon information, name of product information, inner name information, raw filename information, and the order line information of process, process path information and parent process routing information.
Specific dll file acquisition of information submodule, the specific dll file information that after being suitable for obtaining the satisfied specific program matching condition matched, needs check;
Determine submodule, be suitable for the dll file information described specific dll file information being needed inspection as described pending program.
Described checking module 6011 also comprises:
Receive submodule, be suitable for the dll file information of the described pending program needs inspection that reception server issues;
Judge submodule, whether there is the described dll file information needing to check under being suitable for judging assigned catalogue, if exist, then determine that described pending program exists the dll file of being held as a hostage; Wherein, described in the dll file of being held as a hostage be the dll file existed under assigned catalogue, the relative catalogue that described assigned catalogue is current directory or specifies.
It should be noted that, corresponding to above-described embodiment four, characteristic information in the present embodiment obtains the submodule that submodule can comprise for the characteristic information acquisition module in above-described embodiment four, characteristic information uploads the submodule that submodule can comprise for transmission module on the characteristic information in above-described embodiment four, the submodule that dll file acquisition of information submodule can comprise for the matching module in above-described embodiment four, receive submodule and judge the submodule that submodule can comprise as the determination module in above-described embodiment four, the present embodiment is discussed no longer in detail at this.
Described client 601 also comprises:
File acquisition module 6012, the killing module be suitable at server obtains the EXE file that described pending program is corresponding before carrying out killing to described dll file of being held as a hostage;
Transmission module 6013 on fileinfo, is suitable for the information of the information of EXE file corresponding for described pending program and described dll file of being held as a hostage to upload onto the server;
Described server 602 also comprises:
Killing module 6022, is suitable for, when the check result of the determination module of client is for existing, carrying out killing to described dll file of being held as a hostage;
Described killing module 6022 comprises:
Ranked queries submodule, is suitable for inquiring about the grade of described EXE file and the grade of described dll file of being held as a hostage, and described grade comprises safe class, unknown grade, suspicious/height suspicion level and malice grade;
Killing submodule, is suitable for carrying out killing according to the grade of described EXE file and the grade of described dll file of being held as a hostage to described dll file of being held as a hostage.
Described client also comprises:
Processing module 6014, is suitable for performing corresponding operation according to server killing result to described pending program;
Wherein, described in the dll file of being held as a hostage be one or more, described processing module 6014 comprises:
Program intercepts submodule, is suitable for, when at least one is for malice grade in the grade of described EXE file and the grade of described dll file of being held as a hostage, tackling the execution of described pending program;
Implementation sub-module, is suitable for, when the grade of described EXE file and the grade of described dll file of being held as a hostage are safe class, allowing the execution of described pending program;
Suspicious operation intercepting submodule, be suitable for when there is no malice grade in the grade of described EXE file and the grade of described dll file of being held as a hostage, and during the grade of the grade of at least one dll file of being held as a hostage higher than described EXE file, obtain wherein the highest grade, grade the highest described in the grade of described EXE file is revised as, allow the execution of described pending program, and tackle the suspicious operation initiated after pending program performs.
Wherein, described suspicious operation can be following any one: file operation, registry operations, process operation and network operation, certainly, described suspicious operation can also be other certain operations, and the embodiment of the present invention is not limited this.
Described server 602 also comprises:
Upgraded module 6023, is suitable for high in the clouds discrimination condition described in periodic detection and whether meets promotion condition, if meet, then obtains new discrimination condition, and the upgrading completing described high in the clouds discrimination condition by reloading described new discrimination condition upgrades;
Wherein, described promotion condition is configured in the server.
According to high in the clouds discrimination condition, the program condition detecting system of the embodiment of the present invention can check whether pending program exists the dll file of being held as a hostage, and treat the dll file that executive routine is held as a hostage and carry out killing, then treat executive routine according to server killing result and perform corresponding operation.Solving rogue program thus utilizes the program in believable white list load malice dll file and cause Initiative Defense normally cannot tackle the problem of rogue program, achieves the beneficial effect more effectively tackling rogue program.
Secondly, the high in the clouds discrimination condition of the embodiment of the present invention is preserved in the server, when meeting promotion condition, client upgrade file is not needed to come into force, therefore can upgrade by the whole network at once, updating speed is very fast, and the rogue program for burst has good interception result, thus avoids the loss of user.
For said procedure condition detecting system embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method shown in Fig. 1, Fig. 2 and Fig. 3.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Those skilled in the art are easy to it is envisioned that: the combination in any application of each embodiment above-mentioned is all feasible, therefore the combination in any between each embodiment above-mentioned is all the embodiment of the application, but this instructions does not just detail one by one at this as space is limited.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the program condition detecting system of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
Disclosed herein is A1, a kind of program state testing method, comprising: when pending program creation process being detected, obtain the characteristic information of described pending program; The characteristic information of described pending program is uploaded onto the server, by server, the characteristic information of described pending program is mated with the high in the clouds discrimination condition pre-set, obtain matching result; Receive the matching result that described server returns, and determine whether described pending program exists the dll file of being held as a hostage according to described matching result; Described in server periodic detection, whether high in the clouds discrimination condition meets promotion condition, if meet, then server obtains new discrimination condition, and the upgrading completing described high in the clouds discrimination condition by reloading described new discrimination condition upgrades; Wherein, described promotion condition is configured in the server.A2, method according to A1, also comprise: if exist, then carry out killing by server to described dll file of being held as a hostage; According to server killing result, corresponding operation is performed to described pending program.A3, method according to A1, described matching result is the dll file information that described pending program needs to check, describedly determine whether described pending program exists the dll file of being held as a hostage according to described matching result, comprise: under judging assigned catalogue, whether there is the dll file information that described needs check, if exist, then determine that described pending program exists the dll file of being held as a hostage; Wherein, described in the dll file of being held as a hostage be the dll file existed under assigned catalogue, the relative catalogue that described assigned catalogue is current directory or specifies.A4, method according to A3, the specific dll file information that after described high in the clouds discrimination condition comprises multiple specific program matching condition and meets this specific program matching condition, needs check.A5, method according to A4, describedly by server, the characteristic information of described pending program to be mated with the high in the clouds discrimination condition pre-set, obtain matching result, comprising: by server, the characteristic information of described pending program is mated with described specific program matching condition; The specific dll file information that obtained the specific program matching condition meeting and match by server after, needs check; Described specific dll file information is needed the dll file information of inspection as described pending program.A6, method according to A5, described specific program matching condition comprises at least one in following information: file name information, document size information, file characteristic value information, file icon information, name of product information, inner name information, raw filename information, and the order line information of process, process path information and parent process routing information; The characteristic information of described pending program comprises at least one in following information: the file name information of pending program, document size information, file characteristic value information, file icon information, name of product information, inner name information, raw filename information, and the order line information of the process of pending program creation, process path information and parent process routing information.A7, method according to A2, before carrying out killing by server to described dll file of being held as a hostage, also comprise: obtain the EXE file that described pending program is corresponding; The information of the information of EXE file corresponding for described pending program and described dll file of being held as a hostage is uploaded onto the server; Describedly by server, killing is carried out to described dll file of being held as a hostage, comprise: obtain the grade of described EXE file and the grade of described dll file of being held as a hostage by server, described grade comprises safe class, unknown grade, suspicious/height suspicion level and malice grade; According to the grade of described EXE file and the grade of described dll file of being held as a hostage, killing is carried out to described dll file of being held as a hostage.A8, method according to A7, described dll file of being held as a hostage is one or more, described foundation server killing result performs corresponding operation to described pending program, comprise: when at least one is for malice grade in the grade of described EXE file and the grade of described dll file of being held as a hostage, tackle the execution of described pending program; When the grade of described EXE file and the grade of described dll file of being held as a hostage are safe class, allow the execution of described pending program; When there is no malice grade in the grade of described EXE file and the grade of described dll file of being held as a hostage, and during the grade of the grade of at least one dll file of being held as a hostage higher than described EXE file, obtain wherein the highest grade, grade the highest described in the grade of described EXE file is revised as, allow the execution of described pending program, and tackle the suspicious operation initiated after pending program performs.A9, method according to A8, described suspicious be operating as following any one: file operation, registry operations, process operation and network operation.A10, method according to A1, described pending program is the program in white list.A11, method according to A1, described high in the clouds discrimination condition stores in the server.
Disclosed herein is A12, a kind of program condition detecting system, comprise client and server, wherein, client comprises: characteristic information acquisition module, is suitable for when pending program creation process being detected, obtains the characteristic information of described pending program; Transmission module on characteristic information, is suitable for the characteristic information of described pending program to upload onto the server; Described server comprises: matching module, is suitable for the characteristic information of described pending program to mate with the high in the clouds discrimination condition pre-set, and obtains matching result; Upgraded module, is suitable for high in the clouds discrimination condition described in periodic detection and whether meets promotion condition, if meet, then obtains new discrimination condition, and the upgrading completing described high in the clouds discrimination condition by reloading described new discrimination condition upgrades; Wherein, described promotion condition is configured in the server; Described client also comprises: determination module, is suitable for receiving the matching result that described server returns, and determines whether described pending program exists the dll file of being held as a hostage according to described matching result.A13, system according to A12, described server also comprises: killing module, is suitable for, when the check result of the determination module of client is for existing, carrying out killing to described dll file of being held as a hostage; Described client also comprises: processing module, is suitable for performing corresponding operation according to server killing result to described pending program.A14, system according to A12, described matching result is the dll file information that described pending program needs to check, described determination module comprises: judge submodule, the described dll file information needing to check whether is there is under being suitable for judging assigned catalogue, if exist, then determine that described pending program exists the dll file of being held as a hostage; Wherein, described in the dll file of being held as a hostage be the dll file existed under assigned catalogue, the relative catalogue that described assigned catalogue is current directory or specifies.A15, system according to A14, the specific dll file information that after described high in the clouds discrimination condition comprises multiple specific program matching condition and meets this specific program matching condition, needs check.A16, system according to A15, described matching module comprises: matched sub-block, is suitable for the characteristic information of described pending program to mate with described specific program matching condition; Specific dll file acquisition of information submodule, the specific dll file information that after being suitable for obtaining the satisfied specific program matching condition matched, needs check; Determine submodule, be suitable for the dll file information described specific dll file information being needed inspection as described pending program.A17, system according to A16, described specific program matching condition comprises at least one in following information: file name information, document size information, file characteristic value information, file icon information, name of product information, inner name information, raw filename information, and the order line information of process, process path information and parent process routing information; The characteristic information of described pending program comprises at least one in following information: the file name information of pending program, document size information, file characteristic value information, file icon information, name of product information, inner name information, raw filename information, and the order line information of the process of pending program creation, process path information and parent process routing information.A18, system according to A13, described client also comprises: file acquisition module, and the killing module be suitable at server obtains the EXE file that described pending program is corresponding before carrying out killing to described dll file of being held as a hostage; Transmission module on fileinfo, is suitable for the information of the information of EXE file corresponding for described pending program and described dll file of being held as a hostage to upload onto the server; Described killing module comprises: ranked queries submodule, is suitable for inquiring about the grade of described EXE file and the grade of described dll file of being held as a hostage, and described grade comprises safe class, unknown grade, suspicious/height suspicion level and malice grade; Killing submodule, is suitable for carrying out killing according to the grade of described EXE file and the grade of described dll file of being held as a hostage to described dll file of being held as a hostage.A19, system according to A18, described dll file of being held as a hostage is one or more, described processing module comprises: program intercepts submodule, be suitable for, when at least one is for malice grade in the grade of described EXE file and the grade of described dll file of being held as a hostage, tackling the execution of described pending program; Implementation sub-module, is suitable for, when the grade of described EXE file and the grade of described dll file of being held as a hostage are safe class, allowing the execution of described pending program; Suspicious operation intercepting submodule, be suitable for when there is no malice grade in the grade of described EXE file and the grade of described dll file of being held as a hostage, and during the grade of the grade of at least one dll file of being held as a hostage higher than described EXE file, obtain wherein the highest grade, grade the highest described in the grade of described EXE file is revised as, allow the execution of described pending program, and tackle the suspicious operation initiated after pending program performs.A20, system according to A19, described suspicious be operating as following any one: file operation, registry operations, process operation and network operation.A21, system according to A12, described pending program is the program in white list.A22, system according to A12, described high in the clouds discrimination condition stores in the server.

Claims (18)

1. a program state testing method, comprising:
When pending program creation process being detected, obtain the characteristic information of described pending program;
The characteristic information of described pending program is uploaded onto the server, by server, the characteristic information of described pending program is mated with the high in the clouds discrimination condition pre-set, obtain matching result; Wherein, described high in the clouds discrimination condition comprises multiple specific program matching condition and meets the specific dll file information that needs check after this specific program matching condition; Described matching result is the dll file information that described pending program needs to check;
Receive the matching result that described server returns, and determine whether described pending program exists the dll file of being held as a hostage according to described matching result;
Described in server periodic detection, whether high in the clouds discrimination condition meets promotion condition, if meet, then server obtains new discrimination condition, and the upgrading completing described high in the clouds discrimination condition by reloading described new discrimination condition upgrades; Wherein, described promotion condition is configured in the server; Described promotion condition comprises: increased the program that there is the dll file of being held as a hostage newly and there is not specific program matching condition corresponding to this program in the discrimination condition of described high in the clouds, then the new discrimination condition corresponding to this promotion condition increases specific program matching condition corresponding to a newly-increased program relative to described high in the clouds discrimination condition.
2. method according to claim 1, also comprises:
If exist, then by server, killing is carried out to described dll file of being held as a hostage;
According to server killing result, corresponding operation is performed to described pending program.
3. method according to claim 1,
Describedly determine whether described pending program exists the dll file of being held as a hostage, and comprising according to described matching result:
Whether there is the described dll file information needing to check under judging assigned catalogue, if exist, then determine that described pending program exists the dll file of being held as a hostage; Wherein, described in the dll file of being held as a hostage be the dll file existed under assigned catalogue, the relative catalogue that described assigned catalogue is current directory or specifies.
4. method according to claim 3,
Describedly by server, the characteristic information of described pending program to be mated with the high in the clouds discrimination condition pre-set, obtains matching result, comprising:
By server, the characteristic information of described pending program is mated with described specific program matching condition;
The specific dll file information that obtained the specific program matching condition meeting and match by server after, needs check;
Described specific dll file information is needed the dll file information of inspection as described pending program.
5. method according to claim 4,
Described specific program matching condition comprises at least one in following information:
File name information, document size information, file characteristic value information, file icon information, name of product information, inner name information, raw filename information, and the order line information of process, process path information and parent process routing information;
The characteristic information of described pending program comprises at least one in following information:
The file name information of pending program, document size information, file characteristic value information, file icon information, name of product information, inner name information, raw filename information, and the order line information of the process of pending program creation, process path information and parent process routing information.
6. method according to claim 2,
Before by server killing being carried out to described dll file of being held as a hostage, also comprise:
Obtain the EXE file that described pending program is corresponding;
The information of the information of EXE file corresponding for described pending program and described dll file of being held as a hostage is uploaded onto the server;
Describedly by server, killing is carried out to described dll file of being held as a hostage, comprising:
Obtain the grade of described EXE file and the grade of described dll file of being held as a hostage by server, described grade comprises safe class, unknown grade, height suspicion level and malice grade;
According to the grade of described EXE file and the grade of described dll file of being held as a hostage, killing is carried out to described dll file of being held as a hostage.
7. method according to claim 6, described in the dll file of being held as a hostage be one or more,
Described foundation server killing result performs corresponding operation to described pending program, comprising:
When at least one is for malice grade in the grade of described EXE file and the grade of described dll file of being held as a hostage, tackle the execution of described pending program;
When the grade of described EXE file and the grade of described dll file of being held as a hostage are safe class, allow the execution of described pending program;
When there is no malice grade in the grade of described EXE file and the grade of described dll file of being held as a hostage, and during the grade of the grade of at least one dll file of being held as a hostage higher than described EXE file, obtain wherein the highest grade, grade the highest described in the grade of described EXE file is revised as, allow the execution of described pending program, and tackle the suspicious operation initiated after pending program performs.
8. method according to claim 7, described suspicious be operating as following any one:
File operation, registry operations, process operation and network operation.
9. method according to claim 1, described pending program is the program in white list.
10. method according to claim 1, described high in the clouds discrimination condition stores in the server.
11. 1 kinds of program condition detecting systems, comprise client and server, wherein,
Client comprises:
Characteristic information acquisition module, is suitable for when pending program creation process being detected, obtains the characteristic information of described pending program;
Transmission module on characteristic information, is suitable for the characteristic information of described pending program to upload onto the server;
Described server comprises:
Matching module, is suitable for the characteristic information of described pending program to mate with the high in the clouds discrimination condition pre-set, obtains matching result; Wherein, described high in the clouds discrimination condition comprises multiple specific program matching condition and meets the specific dll file information that needs check after this specific program matching condition; Described matching result is the dll file information that described pending program needs to check;
Upgraded module, is suitable for high in the clouds discrimination condition described in periodic detection and whether meets promotion condition, if meet, then obtains new discrimination condition, and the upgrading completing described high in the clouds discrimination condition by reloading described new discrimination condition upgrades; Wherein, described promotion condition is configured in the server; Described promotion condition comprises: increased the program that there is the dll file of being held as a hostage newly and there is not specific program matching condition corresponding to this program in the discrimination condition of described high in the clouds, then the new discrimination condition corresponding to this promotion condition increases specific program matching condition corresponding to a newly-increased program relative to described high in the clouds discrimination condition;
Described client also comprises:
Determination module, is suitable for receiving the matching result that described server returns, and determines whether described pending program exists the dll file of being held as a hostage according to described matching result.
12. systems according to claim 11,
Described server also comprises:
Killing module, is suitable for, when the check result of the determination module of client is for existing, carrying out killing to described dll file of being held as a hostage;
Described client also comprises:
Processing module, is suitable for performing corresponding operation according to server killing result to described pending program.
13. systems according to claim 11,
Described determination module comprises:
Judge submodule, whether there is the described dll file information needing to check under being suitable for judging assigned catalogue, if exist, then determine that described pending program exists the dll file of being held as a hostage; Wherein, described in the dll file of being held as a hostage be the dll file existed under assigned catalogue, the relative catalogue that described assigned catalogue is current directory or specifies.
14. systems according to claim 13,
Described matching module comprises:
Matched sub-block, is suitable for the characteristic information of described pending program to mate with described specific program matching condition;
Specific dll file acquisition of information submodule, the specific dll file information that after being suitable for obtaining the satisfied specific program matching condition matched, needs check;
Determine submodule, be suitable for the dll file information described specific dll file information being needed inspection as described pending program.
15. systems according to claim 14,
Described specific program matching condition comprises at least one in following information:
File name information, document size information, file characteristic value information, file icon information, name of product information, inner name information, raw filename information, and the order line information of process, process path information and parent process routing information;
The characteristic information of described pending program comprises at least one in following information:
The file name information of pending program, document size information, file characteristic value information, file icon information, name of product information, inner name information, raw filename information, and the order line information of the process of pending program creation, process path information and parent process routing information.
16. systems according to claim 12,
Described client also comprises:
File acquisition module, the killing module be suitable at server obtains the EXE file that described pending program is corresponding before carrying out killing to described dll file of being held as a hostage;
Transmission module on fileinfo, is suitable for the information of the information of EXE file corresponding for described pending program and described dll file of being held as a hostage to upload onto the server;
Described killing module comprises:
Ranked queries submodule, is suitable for inquiring about the grade of described EXE file and the grade of described dll file of being held as a hostage, and described grade comprises safe class, unknown grade, height suspicion level and malice grade;
Killing submodule, is suitable for carrying out killing according to the grade of described EXE file and the grade of described dll file of being held as a hostage to described dll file of being held as a hostage.
17. systems according to claim 16, described in the dll file of being held as a hostage be one or more,
Described processing module comprises:
Program intercepts submodule, is suitable for, when at least one is for malice grade in the grade of described EXE file and the grade of described dll file of being held as a hostage, tackling the execution of described pending program;
Implementation sub-module, is suitable for, when the grade of described EXE file and the grade of described dll file of being held as a hostage are safe class, allowing the execution of described pending program;
Suspicious operation intercepting submodule, be suitable for when there is no malice grade in the grade of described EXE file and the grade of described dll file of being held as a hostage, and during the grade of the grade of at least one dll file of being held as a hostage higher than described EXE file, obtain wherein the highest grade, grade the highest described in the grade of described EXE file is revised as, allow the execution of described pending program, and tackle the suspicious operation initiated after pending program performs.
18. systems according to claim 11, described pending program is the program in white list.
CN201210449282.4A 2012-11-09 2012-11-09 Program state testing method and system Active CN102982281B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210449282.4A CN102982281B (en) 2012-11-09 2012-11-09 Program state testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210449282.4A CN102982281B (en) 2012-11-09 2012-11-09 Program state testing method and system

Publications (2)

Publication Number Publication Date
CN102982281A CN102982281A (en) 2013-03-20
CN102982281B true CN102982281B (en) 2016-03-30

Family

ID=47856285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210449282.4A Active CN102982281B (en) 2012-11-09 2012-11-09 Program state testing method and system

Country Status (1)

Country Link
CN (1) CN102982281B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105844155B (en) * 2013-06-28 2019-04-26 北京奇虎科技有限公司 Macro-virus searching and killing method and system
CN103593613A (en) * 2013-11-26 2014-02-19 北京网秦天下科技有限公司 Method, terminal, server and system for computer virus detection
CN103886042B (en) * 2014-03-10 2017-07-21 珠海市君天电子科技有限公司 A kind of method and device for recognizing dynamic link library
CN104123489A (en) * 2014-07-02 2014-10-29 珠海市君天电子科技有限公司 Method and device for monitoring executable program
CN104079673B (en) * 2014-07-30 2018-12-07 北京奇虎科技有限公司 A kind of methods, devices and systems for preventing DNS from kidnapping in application downloading
CN105631327A (en) * 2015-12-16 2016-06-01 北京奇虎科技有限公司 Virus checking and killing method and system as well as client
CN107330320B (en) * 2016-04-29 2020-06-05 腾讯科技(深圳)有限公司 Method and device for monitoring application process
CN110197005A (en) * 2019-05-07 2019-09-03 珠海格力电器股份有限公司 Automatic identification method and device for CAE model of air conditioner
CN113162936B (en) * 2021-04-25 2023-04-07 亿次网联(杭州)科技有限公司 Method and system for preventing abnormal dynamic analysis

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838136A (en) * 2006-04-24 2006-09-27 南京树声科技有限公司 Method for searching harmful program in computer memory device
CN102081722A (en) * 2011-01-04 2011-06-01 奇智软件(北京)有限公司 Method and device for protecting appointed application program
CN102663288A (en) * 2012-03-22 2012-09-12 奇智软件(北京)有限公司 Virus killing method and device thereof
CN103001947A (en) * 2012-11-09 2013-03-27 北京奇虎科技有限公司 Program processing method and program processing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8387139B2 (en) * 2008-02-04 2013-02-26 Microsoft Corporation Thread scanning and patching to disable injected malware threats

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838136A (en) * 2006-04-24 2006-09-27 南京树声科技有限公司 Method for searching harmful program in computer memory device
CN102081722A (en) * 2011-01-04 2011-06-01 奇智软件(北京)有限公司 Method and device for protecting appointed application program
CN102663288A (en) * 2012-03-22 2012-09-12 奇智软件(北京)有限公司 Virus killing method and device thereof
CN103001947A (en) * 2012-11-09 2013-03-27 北京奇虎科技有限公司 Program processing method and program processing system

Also Published As

Publication number Publication date
CN102982281A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
CN103001947B (en) A kind of program processing method and system
CN102982281B (en) Program state testing method and system
CN102999720B (en) Program identification method and system
CN103077353B (en) The method and apparatus of Initiative Defense rogue program
CN102902919B (en) A kind of identifying processing methods, devices and systems of suspicious operation
US9596257B2 (en) Detection and prevention of installation of malicious mobile applications
CN103020524B (en) Computer virus supervisory system
US10261763B2 (en) Extensible data transformation authoring and validation system
US11455400B2 (en) Method, system, and storage medium for security of software components
Homayoun et al. A blockchain-based framework for detecting malicious mobile applications in app stores
CN102882875B (en) Active defense method and device
US20200084230A1 (en) Method And System For Modeling All Operations And Executions Of An Attack And Malicious Process Entry
CN103049695B (en) A kind of method for supervising of computer virus and device
CN103281325A (en) Method and device for processing file based on cloud security
CN103473501B (en) A kind of Malware method for tracing based on cloud security
CN105427096A (en) Payment security sandbox realization method and system and application program monitoring method and system
CN102999721B (en) A kind of program processing method and system
CN103279707A (en) Method, device and system for actively defending against malicious programs
CN104517054A (en) Method, device, client and server for detecting malicious APK
CN104036019A (en) Method and device for opening webpage links
CN105631312A (en) Method and system for processing rogue programs
CN106372507A (en) Method and device for detecting malicious document
CN104572197A (en) Processing method and device for starting items
CN102857519B (en) Active defensive system
CN103970574A (en) Office program running method and device and computer system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee after: Beijing Qizhi Business Consulting Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240115

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Beijing Qizhi Business Consulting Co.,Ltd.