DEFENSE METHOD AND DEVICE AGAINST INTELLIGENT BOTS USING MASQUERADED VIRTUAL MACHINE INFORMATION

Abstract
A defense method and device against intelligent bots using masqueraded virtual machine information are provided. The method includes performing global hooking on a virtual machine detection request transmitted by a process, determining, on the basis of pre-stored malicious process information, whether or not, the process transmitting the virtual machine detection request corresponds to a malicious process, and when the process is found to correspond to the malicious process as a result of the determination, determining that the process is generated by the intelligent bot, and returning the masqueraded virtual machine information to the process.
Description
CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority to and the benefit of Korean Patent Application No. 10-2010-0039358, filed Apr. 28, 2010, the disclosure of which is incorporated herein by reference in its entirety.


BACKGROUND

The present invention relates to a defense method and device against intelligent bots using masqueraded virtual machine information. More specifically, the present invention relates to a defense method and device against intelligent bots using masqueraded virtual machine information for stopping malicious processes of the intelligent bots.


Discussion of Related Art

Intelligent bots refer to programs that periodically collect information or carry out services without direct participation of a user. In general, such intelligent bots search a terminal connected to the Internet using parameters provided by a user, collect information in which the user has an interest, and provide the collected information to the user. However, these intelligent bots by nature may he used for malicious behaviors according to a user's intent.


Accordingly, to analyze the malicious behaviors using these intelligent bots, security experts execute a virtual machine, and cause the intelligent bot to be executed on the virtual machine, thereby analyzing and tracing the malicious behaviors.


However, to cope with this analyzing and tracing method based on the execution of the virtual machine, producers of the intelligent bots make use of a method of detecting the execution of the virtual machine. According to this method of detecting the execution of the virtual machine, it is detected whether or not the intelligent bot is executed on the virtual machine, and if it is determined that the intelligent bot is executed on the virtual machine, the intelligent bot is terminated without conducting any malicious behavior.


SUMMARY OF THE INVENTION

The present invention is directed to a defense method and device against intelligent bots using masqueraded virtual machine information, in which the intelligent bot detecting execution of a virtual machine is provided with masqueraded virtual machine information so as to determine that it is operated on the virtual machine to stop its malicious process, thereby preventing damages such as a distributed denial-of-service (DDoS) attack or information leakage by causing the intelligent bot not to conduct a malicious process even when a user terminal is infected with the intelligent bot.


One aspect of the present invention provides a defense method against intelligent bots using masqueraded virtual machine information. The method includes: performing global hooking on a virtual machine detection request transmitted by a process; determining, on the basis of pre-stored malicious process information, whether or not the process transmitting the virtual machine detection request corresponds to a malicious process; and when the process is found to correspond to the malicious process as a result of the determination, determining that the process is generated by the intelligent bot, and returning the masqueraded virtual machine information to the process.


Determining, on the basis of pre-stored malicious process information, whether or not the process transmitting the virtual machine detection request corresponds to a malicious process may include determining whether or not the process corresponds to the malicious process of executing any one of access to a file of a user terminal, lookup of a network address of a virtual machine, and access to a registry of the user terminal.


Determining, on the basis of pre-stored malicious process information, whether or not the process transmitting the virtual machine detection request corresponds to a malicious process may further include determining whether or not the process is included in a white list that is a list of pre-stored normal processes.


Determining, on the basis of pre-stored malicious process information, whether or not the process transmitting the virtual machine detection request corresponds to a malicious process may further include determining whether or not a binary hash value of the virtual machine detection request is identical to a hash value of a pre-stored malicious code.


Determining, on the basis of pre-stored malicious process information, whether or not the process transmitting the virtual machine detection request corresponds to a malicious process may further include storing the binary hash value of the virtual machine detection request if the binary hash value is not identical to the hash value of the pre-stored malicious code.


The masqueraded virtual machine information may include at least one selected from masqueraded file information, masqueraded network address information, and masqueraded registry information, all of which are for masquerading as a state where a user terminal makes use of a virtual machine.


The method may further include: when the process is found not to correspond to the malicious process as a result of the determination, transmitting the virtual machine detection request to a window kernel of a user terminal; and receiving, a normal value of the virtual machine detection request from the window kernel of the user terminal, and returning the received value to the process.


Another aspect of the present invention provides a defense device against intelligent bots using masqueraded virtual machine information. The device includes: a virtual machine information database storing the masqueraded virtual machine information for masquerading as a state where a user terminal makes use of a virtual machine, and malicious process information for determining a malicious process; and a global hooking module performing global hooking on a virtual machine detection request of a process, determining, on the basis of the malicious process information stored in the virtual machine information database, whether or not the process transmitting the virtual machine detection request corresponds to a malicious process, and when the process is found to correspond to the malicious process as a result of the determination, returning the masqueraded virtual machine information stored in the virtual machine information database to the process.


The global hooking module may include: a file control module that, when the process has access to a file of the user terminal, determines the process as a malicious process on the basis of the malicious process information, receives the masqueraded file information for masquerading as the virtual machine from the virtual machine information database, and returns the received information to the process; a network control module that, when the process executes lookup of a virtual machine network address, determines the process as a malicious process on the basis of the malicious process information, receives the masqueraded network address information for masquerading as the virtual machine from the virtual machine information database, and returns the received information to the process and a registry control module that, when the process has access to a registry of the user terminal, determines the process as a malicious process on the basis of the malicious process information, receives the masqueraded registry information for masquerading as the virtual machine from the virtual machine information database, and returns the received information to the process.


The global hooking module may determine the process as a malicious process when the process is not included in a white list that is a list of normal processes stored in the virtual machine information database.


The global hooking module may determine the process as a malicious process when a binary hash value of the virtual machine detection request is identical to a hash value of a malicious code stored in the virtual machine information database.


The masqueraded virtual machine information may include at least one selected from masqueraded file information, masqueraded network address information, and masqueraded registry information, all of which are for masquerading as a state where the user terminal makes use of the virtual machine.


The malicious process information may be information for accessing at least one selected from a file of the user terminal, a network address of the virtual machine, and a registry of the user terminal.


When the process is found not to correspond to the malicious process as a result of the determination, the global hooking module may transmit the virtual machine detection request to a window kernel of a user terminal, receive a normal value of the virtual machine detection request from the window kernel of the user terminal, and return the received value to the process.





BRIEF DESCRIPTION OF THE DRAWINGS

The above and other objects features and advantages of the present invention will become more apparent to those of ordinary skill in the art by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:



FIG. 1 illustrates the configuration of a defense device against intelligent bots using masqueraded virtual machine information according to an exemplary embodiment of the present invention;



FIG. 2 is a flowchart for explaining a defense method against intelligent bots using masqueraded virtual machine information according to an exemplary embodiment of the present invention; and



FIG. 3 is a flowchart for explaining a defense method against intelligent bots using masqueraded virtual machine information according to another exemplary embodiment of the present invention.





DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS

The present invention will now be described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments of the invention are shown. Throughout the drawings, it should he noted that the same reference numerals or symbols are used to designate like or equivalent elements having the same function. The detailed descriptions of known function and construction unnecessarily obscuring the subject matter of the present invention will be omitted.



FIG. 1 illustrates the configuration of a defense device against intelligent bots using masqueraded virtual machine information according to an exemplary embodiment of the present invention. The configuration of the defense device against intelligent bots u sing masqueraded virtual machine information will he described with reference to FIG. 1.


As illustrated in FIG. 1, a defense device 100 against intelligent bots includes a global hooking module 110 and a virtual machine information database 120.


To determine whether or not an intelligent bot 130 makes use of a virtual machine at a user terminal, a request to detect the virtual machine for executing a process is transmitted to the user terminal, and then the global hooking module 110 performs global hooking on the virtual machine detection request.


The global hooking module 110 determines whether or not the process transmitting the virtual machine detection request is a malicious process on the basis of malicious process information stored in the virtual machine information database 120.


The virtual machine information database 120 stores masqueraded virtual machine information for masquerading as the state where the user terminal makes use of the virtual machine, and the malicious process information for determining the malicious process. The malicious process information stored in the virtual machine information database 120 may be made up of information for providing access to at least one selected from a file of the user terminal, a network address of the virtual machine, and a registry of the user terminal.


Thus, when it is determined that the process is the malicious process, the global hooking module 110 reads the virtual machine information, which is for masquerading as the state where the user terminal makes use of the virtual machine, from the virtual machine information database 120, and then returns the read virtual machine information to the intelligent bot 130 executing the process. Here, the virtual machine information is stored in the virtual machine information database 120, and may include at least one selected from masqueraded file information, masqueraded network address information, and masqueraded registry information, all of which are for masquerading as the state where the user terminal makes use of the virtual machine.


Hereinafter, the global hooking module 110 will be described in greater detail.


The global hooking module 110 may includes a file control module 111, a network control module 112, and a registry control module 113.


When the process has access to the file of the user terminal, the file control module 111 determines the process as a malicious process with reference to the malicious process information stored in the virtual machine information database 120. Thus, the file control module 111 may receive the masqueraded file information for masquerading as the virtual machine from the virtual machine information database 120, and then return the received information to the intelligent bot 130 executing the process.


Further, when the process executes lookup of a virtual machine network address, the network control module 112 determines the process as a malicious process with reference to the malicious process information stored in the virtual machine information database 120. Thus, the network control module 112 may receive the masqueraded network address information for masquerading as the virtual machine from the virtual machine information database 120, and then return the received information to the intelligent bot 130 executing the process.


Further, when the process requests access to a registry of the user terminal, the registry control module 113 determines the process as a malicious process with reference to the malicious process information stored in the virtual machine information database 120. Thus, the registry control module 113 may receive the masqueraded registry information for masquerading as the virtual machine from the virtual machine information database 120, and then return the received information to the intelligent bot 130 executing the process.


In addition, the global hooking module 110 may be configured to determine the process as a malicious process when a binary hash value of the virtual machine detection request is identical to a hash value of the malicious code stored in the virtual machine information database 120.


Meanwhile, the global hooking module 110 may be configured to determine whether or not the process is included in a list of normal processes, i.e. a white list, stored in the virtual machine information database 120, and to execute the process of determining the malicious process as described above only when the process is not included in the white list as a result of the determination.


When it is determined that the process transmitting the virtual machine detection request is not the malicious process, or that the process is included in the white list, the global hooking module 110 may determine the process as a normal process. As described above, when the process is determined as the normal process, the global hooking machine 110 may transmit the virtual machine detection request to a window kernel 140 of the user terminal, receive a normal value of the virtual machine detection request from the window kernel 140 of the user terminal, and return the received value to the intelligent bot 130 executing the process.


Meanwhile, according, to the exemplary embodiment of the present invention, the virtual machine detection request of the intelligent bot 130 may include a request intended for the virtual machine implemented in VMware or CW Sandbox.


Thus, according to the exemplary embodiment of the present invention, the masqueraded virtual machine information may be provided to determine that the intelligent bot detecting the operation of the virtual machine is operated on the virtual machine, thereby causing the intelligent bot to stop the malicious process.



FIG. 2 is a flowchart for explaining a defense method against intelligent bots using masqueraded virtual machine information according to an exemplary embodiment of the present invention. The defense method against intelligent bots using masqueraded virtual machine information according to an exemplary embodiment of the present invention will be described with reference to FIG. 2.


According to an exemplary embodiment of the present invention, the defense device against intelligent bots performs global hooking on the virtual machine detection request of a process (S210).


The defense device against intelligent bots determines, on the basis of pre-stored malicious processes, whether or not the process transmitting the virtual machine detection request corresponds to a malicious process (S220).


As a result, if the process corresponds to the malicious process, the defense device against intelligent bots returns masqueraded virtual machine information to the process (S230). Here, the masqueraded virtual machine information is information for masquerading as the state where the user terminal makes use of the virtual machine.


Meanwhile, when it is determined that the process does not correspond to the malicious process, the defense device against intelligent bots may transmit the virtual machine detection request to the window kernel of the user terminal (S240). Afterwards, the defense device against intelligent bots may receive a normal value of the virtual machine detection request from the window kernel of the user terminal, and return the received value to the process (S250).



FIG. 3 is a flowchart for explaining a defense method against intelligent bots using masqueraded virtual machine information according to another exemplary embodiment of the present invention. The defense method against intelligent bots using masqueraded virtual machine information according to another exemplary embodiment of the present invention will described with reference to FIG. 3.


The defense device against intelligent bots may perform global hooking on the virtual machine detection request of a process (S310), and determine whether or not the process is included in a white list (S320). Here, the white list refers to a list of normal processes, and is stored in the virtual machine information database.


As a result of the determination, if the process is not included in the white list, the defense device against intelligent bots determines whether or not the process executes any one selected from access to a file of the user terminal, lookup of a network address of the virtual machine, and access to a registry of the user terminal (S330).


When it is determined that the process executes any one selected from access to a file of the user terminal, lookup of a network address of the virtual machine, and access to a registry of the user terminal, the defense device against intelligent bots can determine whether or not the process is a malicious process on the basis of whether or not a binary hash value of the virtual machine detection request is identical to a hash value of a malicious code stored in the virtual machine information database (S335).


For example, the defense device against intelligent bots may determine whether or not the process is a malicious process on the basis of whether or not the process has access to a media access control (MAC) address, such as 00-05-69-xx-xx-xx, 00-0c-29-xx-xx-xx, or 00-50-56-xx-xx-xx, which is used in the virtual machine, or on the basis of whether or not the process has access to the registry and then information such as a product identification (ID), a hard drive, a video drive, etc., which are used in the virtual machine.


As a result of the determination, when it is determined that the process is the malicious process because the virtual machine detection request corresponds to any one of the access to the file of the user terminal, the lookup of the network address of the virtual machine, and the access to the registry of the user terminal, and because the binary hash value of the virtual machine detection request is identical to the hash value of the malicious code, the defense device against intelligent bots returns masqueraded virtual machine information, which is for masquerading as the state where the user terminal makes use of the virtual machine, to the process (S340). Here, the masqueraded virtual machine information may include at least one of masqueraded file information, masqueraded network address information, and masqueraded registry information, all of which are for masquerading as the state where the user terminal makes use of the virtual machine.


Meanwhile, as a result of the determination, if it is determined that the process is included in the white list, that the virtual machine detection request does not correspond to any one of the access to the file of the user terminal, the lookup of the network address of the virtual machine, and the access to the registry of the user terminal, or that the binary hash value of the virtual machine detection request is riot identical to the hash value of the malicious code, the defense device against intelligent bots determines that the process does not correspond to the malicious process, and may transmit the virtual machine detection request to the window kernel of the user terminal (S350).


Further, if it is determined that the process is not included in the white list, that the virtual machine detection request corresponds to any one of the access to the file of the user terminal, the lookup of the network address of the virtual machine, and the access to the registry of the user terminal, and that the binary hash value of the virtual machine detection request is not identical to the hash value of the malicious code, the binary hash value of the virtual machine detection request is stored in the virtual machine information database (S336). Here, a separate external system analyzes processes for the file, registry, and network, and determines whether or not each process is the malicious process. If each process is the malicious process, the binary hash value is stored as the hash value of the malicious code in the virtual machine information database.


As a result, the defense device against intelligent bots may receive the normal value of the virtual machine detection request from the window kernel of the user terminal, and return the received value to the process (S360).


Thus, according to embodiments of the present invention, the masqueraded virtual machine information can he provided to the intelligent bot detecting the execution of the virtual machine such that the intelligent bot determines that the virtual machine is operated, thereby causing the intelligent bot to stop the malicious process. As such, according to embodiments of the present invention, even when the user terminal is infected with the intelligent bot, the intelligent bot is caused not to conduct its malicious process, so that it is possible to prevent secondary damages such as a distributed denial-of-service (DDoS) attack or information leakage.


The above-mentioned embodiments of the present invention may be implemented by arbitrary various methods. For example, the embodiments may be implemented as hardware, software, or a combination thereof. If the embodiments are implemented as the software, they may be implemented as the software executed on one or more processors using various operating systems or platforms. In addition, such software may be written using any of a number of suitable programming languages, and may also be compiled as executable machine language code or intermediate code that is executed on a framework or a virtual machine.


In this respect, the invention may be embodied as a computer readable medium (e.g., a computer memory, one or more floppy discs, compact discs, optical discs, magnetic tapes, flash memories, etc.) encoded with one or more programs that, when executed on one or more computers or other processors, perform methods that implement the above-mentioned various embodiments of the invention.


According to embodiments of the present invention, an intelligent bot detecting execution of a virtual machine is provided with masqueraded virtual machine information so as to determine that it is operated on the virtual machine to stop its malicious process, so that it is possible to prevent secondary damages such as a distributed denial-of-service (DDoS) attack or information leakage by causing the intelligent bot not to conduct a malicious process although a user terminal is infected with the intelligent bot.


In the drawings and specification, there have been disclosed typical exemplary embodiments of the invention and, although specific terms are employed, they are used in a generic and descriptive sense only and not for purposes of limitation. As for the scope of the invention, it is to be set forth in the following claims. Therefore, it will be understood by those of ordinary skill in the art that various changes in form and details may he made therein without departing from the spirit and scope of the present invention as defined by the following claims.

Claims
  • 1. A defense method against intelligent bots using masqueraded virtual machine information, the method comprising: performing global hooking on a virtual machine detection request transmitted by a process;determining, on the basis of pre-stored malicious process information, whether or not the process transmitting the virtual machine detection request corresponds to a malicious process; andwhen the process is found to correspond to the malicious process as a result of the determination, determining that the process is generated by the intelligent bot, and returning the masqueraded virtual machine information to the process.
  • 2. The method of claim 1, wherein determining, on the basis of pre-stored malicious process information, whether or not the process transmitting the virtual machine detection request corresponds to a malicious process includes determining whether or not the process corresponds to the malicious process of executing any one of access to a file of a user terminal, lookup of a network address of a virtual machine, and access to a registry of the user terminal.
  • 3. The method of claim 1, wherein determining, on the basis of pre-stored malicious process information, whether or not the process transmitting the virtual machine detection request corresponds to a malicious process further includes determining whether or not the process is included in a white list that is a list of pre-stored normal processes.
  • 4. The method of claim 1, wherein determining, on the basis of pre-stored malicious process information, whether or not the process transmitting the virtual machine detection request corresponds to a malicious process further includes determining whether or not a binary hash value of the virtual machine detection request is identical to a hash value of a pre-stored malicious code.
  • 5. The method of claim 4, wherein determining, on the basis of pre-stored malicious process information, whether or not the process transmitting the virtual machine detection request corresponds to a malicious process further includes storing the binary hash value of the virtual machine detection request if the binary hash value is not identical to the hash value of the pre-stored malicious code.
  • 6. The method of claim 1, wherein the masqueraded virtual machine information includes at least one selected from masqueraded file information, masqueraded network address information, and masqueraded registry information, all of which are for masquerading as a state where a user terminal makes use of a virtual machine.
  • 7. The method of claim 1, further comprising: when the process is found not to correspond to the malicious process as a result of the determination, transmitting the virtual machine detection request to a window kernel of a user terminal; andreceiving a normal value of the virtual machine detection request from the window kernel of the user terminal, and returning the received value to the process.
  • 8. A defense device against intelligent bots using masqueraded virtual machine information, the device comprising: a virtual machine information database storing the masqueraded virtual machine information for masquerading as a state where a user terminal makes use of a virtual machine, and malicious process information for determining a malicious process; anda global hooking module performing global hooking on a virtual machine detection request of a process, determining, on the basis of the malicious process information stored in the virtual machine information database, whether or not the process transmitting the virtual machine detection request corresponds to a malicious process, and when the process is found to correspond to the malicious process as a result of the determination, returning the masqueraded virtual machine information stored in the virtual machine information database to the process.
  • 9. The device of claim 8, wherein the global hooking module includes: a file control module that, when the process has access to a file of the user terminal, determines the process as a malicious process on the basis of the malicious process information, receives the masqueraded file information for masquerading as the virtual machine from the virtual machine information database, and returns the received information to the process;a network control module that, when the process executes lookup of a virtual machine network address, determines the process as a malicious process on the basis of the malicious process information, receives the masqueraded network address information for masquerading as the virtual machine from the virtual machine information database, and returns the received information to the process; anda registry control module that, when the process has access to a registry of the user terminal, determines the process as a malicious process on the basis of the malicious process information, receives the masqueraded registry information for masquerading as the virtual machine from the virtual machine information database, and returns the received information to the process.
  • 10. The device of claim 8, wherein the global hooking module determines the process as a malicious process when the process is not included in a white list that is a list of normal processes stored in the virtual machine information database.
  • 11. The device of claim 8, wherein the global hooking module determines the process as a malicious process when a binary hash value of the virtual machine detection request is identical to a hash value of a malicious code stored in the virtual machine information database.
  • 12. The device of claim 8, wherein the masqueraded virtual machine information includes at least one selected from masqueraded file information, masqueraded network address information, and masqueraded registry information, all of which are for masquerading as a state where the user terminal makes use of the virtual machine.
  • 13. The device of claim 8, wherein the malicious process information is information for accessing at least one selected from a file of the user terminal, a network address of the virtual machine, and a registry of the user terminal.
  • 14. The device of claim 8, wherein, when the process is found not to correspond to the malicious process as a result of the determination, the global hooking module transmits the virtual machine detection request to a window kernel of a user terminal, receives a normal value of the virtual machine detection request from the window kernel of the user terminal, and returns the received value to the process.
Priority Claims (1)
Number Date Country Kind
10-2010-0039358 Apr 2010 KR national