Abstract:
In an inspection facility (e.g. at a gateway server, at a proxy server, at a firewall to a network, at an entrance to a local area network or even at the user&#39;s computer) connected to an anti-virus center for updates, a method for protecting a computer from suspicious objects (e.g. a file, an executable, a Web page, an email message, etc.), the method comprising the steps of: inspecting an object; upon determining the object as suspicious, holding the object in quarantine (e.g. preventing from the object to be forwarded to its destination) for a time period, thereby enabling the inspection facility to be updated during the time period by the anti-virus center; upon ending of the time period, re-inspecting the object, thereby inspecting the object by updated inspection tests; and upon determining the object as malicious by the re-inspection, blocking the object, otherwise forwarding the object toward its destination.

Description:
FIELD OF THE INVENTION  
       [0001]     The present invention relates to the field of computer virus filtering. More particularly, the invention relates to a method for protecting a computer from a suspicious object.  
       BACKGROUND OF THE INVENTION  
       [0002]     The term “inspection” refers in the art to the activity of detecting viruses and other forms of maliciousness. A well known inspection method is looking for “virus signature”, a sequence of bytes that characterizes a virus infection, within an object. While virus signature is a method for detecting known viruses, sometimes more sophisticated methods are required for detecting unknown malicious objects. One of these methods is known in the art as emulation, i.e. executing the code of an executable under control.  
         [0003]     Viruses and other malicious forms may harm a computer in a variety of ways, such as modifying operating system executables, the FAT (File Allocation Table) of a computer, changing the registry values, etc. Thus, when an executable cannot be indicated as malicious (e.g. by virus signature methods), but its code comprises invocation of functions that malicious forms use, the executable can be considered as suspicious.  
         [0004]     While malicious objects are blocked and harmless objects are passed on toward their destination, there is a question of how to treat a suspicious object. In the prior art, it is common to send a suspicious object toward its destination, with a warning thereof. When a user tries to open the object, e.g. an email message, a warning is displayed and the user is given the opportunity to cancel processing the suspicious object. However, the majority of the users ignore warnings, especially due to the tremendous number of messages and warnings that a user gets while operating his computer, and consequently exposes their computer to malicious objects.  
         [0005]     Therefore, there is an object of the present invention to protect a computer from suspicious objects.  
         [0006]     Other objects and advantages of the invention will become apparent as the description proceeds.  
       SUMMARY OF THE INVENTION  
       [0007]     In an inspection facility (e.g. at a gateway server, at a proxy server, at a firewall to a network, at an entrance to a local area network or even at the user&#39;s computer) connected to an anti-virus center for updates, a method for protecting a computer from suspicious objects (e.g. a file, an executable, a Web page, an email message, etc.), the method comprising the steps of: inspecting an object; upon determining the object as suspicious, holding the object in quarantine (e.g. preventing from the object to be forwarded to its destination) for a time period, thereby enabling the inspection facility to be updated during the time period by the anti-virus center; upon ending of the time period, re-inspecting the object, thereby inspecting the object by updated inspection tests; and upon determining the object as malicious by the re-inspection, blocking the object, otherwise forwarding the object toward its destination.  
         [0008]     The method may further comprise: inspecting at said inspection facility the object during the time period by at least one new inspection method (i.e. that has not been used previously for inspecting the object); and upon determining the object as malicious, informing the anti-virus center with the findings of the inspection. The inspection method may be, for example, emulation of the object, controlled execution of the object by automatic means, controlled execution of the object by a human factor, etc. An object can be determined as suspicious also by a test, e.g. an unusual number of objects having the same CRC.  
         [0009]     The scope of the present invention also includes a system, for protecting a computer, that comprises at least the inspection facility, and preferably also the anti-virus center.  
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0010]     The present invention may be better understood in conjunction with the following figures:  
         [0011]      FIG. 1  schematically illustrates a system in which the present invention may be implemented.  
         [0012]      FIG. 2  is a flowchart of a method for protecting a computer from a suspicious object, according to a preferred embodiment of the invention.  
         [0013]      FIG. 3  schematically illustrates the tests that may be carried out during the quarantine time, according to one embodiment of the invention.  
     
    
     DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS  
       [0014]      FIG. 1  schematically illustrates a system in which the present invention may be implemented. The computers  21  are connected to the local area network  20 . The local area network  20  is connected to the Internet  10 . The gateway server  30  is interposed between the local area network  20  and the internet  10 . Thus, every object that enters the network  20  can be inspected at the gateway server  30 .  
         [0015]     At the gateway server  30  a filtering facility  50  filters files that arrive to the gateway in their path to the destination, one or more of the computers  21 . The filtering facility  50  is connected via the Internet to a server  40  of an anti-virus company. The connection enables the filtering facility  50  to be updated, i.e. by the latest virus signatures and other filtering tools.  
         [0016]     At a gateway, an object that has been determined as malicious is typically “blocked”, i.e. not passed on toward its destination. However, as specified above, in addition to the situation where an object is classified as malicious or harmless, there is a situation where an object is suspicious.  
         [0017]     There are a variety of inspection methods, like identifying virus signatures within an object, and emulation. A virus signature is a string of characters specific to a virus or a family of viruses (e.g. that have been composed by the same programmer with the same routines). Some of the inspection methods, such as emulation, analyze an object. An object may be of a human readable text (e.g. a script file), or compiled code (e.g. Windows EXE file). In a readable object, calls to a function can be recognized by scanning the text, however in order to process a compiled object, the object should disassembled (converted to Assembly computer language), and then be scanned.  
         [0018]      FIG. 2  is a flowchart of a method for protecting a computer from a suspicious object, according to a preferred embodiment of the invention.  
         [0019]     On block  101 , the object is inspected.  
         [0020]     For example, if an inspection process of a Windows EXE file has detected usage of registry access functions, then further inspection analysis should be carried out in order to determine the purpose of those functions. However, if the inspection fails to determine what the registry functions intend to do with the registry, then the EXE file can be considered as suspicious.  
         [0021]     An object may be determined as suspicious also by a dedicated test thereof. For example, the CRC (Cyclic Redundancy Checks) value of every object that passes through a gateway server can be calculated and stored in a database. When a certain CRC value appears more often than usually, it may indicate that objects having said CRC value are suspicious. The CRC may be calculated for the whole object, a part of it, a specific part of it (e.g. a function) and so forth.  
         [0022]     Thus, an object may be indicated as suspicious because the tests for determining maliciousness failed to determine the object as malicious despite of the fact the object comprises common operations of malicious objects, such as amending the registry. However, an object may be determined as suspicious also by dedicated tests thereof, e.g. indication of an abnormal number of objects of the same kind (e.g. a specific program, specific CRC value of certain functions, etc.) that pass through a gateway, because this is what happens in a virus outbreak.  
         [0023]     From block  102 :  
         [0024]     If the inspection determines that the object is harmless than the object is forwarded to its destination, as denoted by block  105 .  
         [0025]     If the inspection determines that the object is malicious, the object is blocked, as denoted by block  103 .  
         [0026]     However, if the inspection determines that the object is suspicious, the object is put into quarantine (i.e. delayed) for a time period (e.g. a few hours, a day, etc.), as denoted by block  104 . Afterwards the object is re-inspected, as denoted by block  106 .  
         [0027]     In case there is a virus outbreak, if the inspection facility is connected to an anti-virus company (e.g. via the Internet), during the quarantine time the testing tables (e.g. virus signatures) upon which the object is inspected may be updated by the anti-virus company. Thus, after the quarantine time, when the delayed object is re-inspected (block  106 ), the inspection facility may be updated to recognize the new virus, and consequently new forms of maliciousness will be filtered.  
         [0028]      FIG. 3  schematically illustrates the tests that may be carried out during the quarantine time, according to one embodiment of the invention.  
         [0029]     At block  201 , the suspicious object is sent to the anti-virus company for further inspection. The anti-virus company may inspect the object by human intervention, as denoted by block  202 . This is useful especially for objects in which a malicious code is activated by a user interface operation, like clicking on a specific button. The object may be executed under a controlled platform, e.g. emulation, as denoted by block  203 . Another test that the anti-virus company may perform is counting the number of instances of the same object that are sent from the clients, as denoted by block  204 . For example, when a certain suspicious object is send from or to an unusual number of clients (e.g. more than 30), it may indicate a virus outbreak.  
         [0030]     After all the tests are complete, and a new virus or malicious form has been detected, the anti-virus company may update its virus table (e.g. by adding the virus signature of a new discovered virus) as denoted by block  205 , and propagate it to its users, other gateway servers, anti-virus companies, and so forth, as denoted by block  206 .  
         [0031]     At the client side, the suspicious object is re-inspected by the updated anti-virus tables, as denoted by block  106 .  
         [0032]     It should be noted that although the examples herein refer to virus signatures, other anti-virus tests may also be updated, such as providing new versions of a testing procedure, adding new procedures to the inspection program of the gateway server, and so forth.  
         [0033]     It should be noted that although the present invention has been described as herein as implemented by a gateway server, the present invention can be implemented also by a firewall server, etc., and even by the end user&#39;s computer.  
         [0034]     The following elements play a role with regard to the present invention: 
        a client;     an inspection facility operating in an entry point to said client;     an anti-virus center, which concentrates information about viruses and other malicious forms from said client and other clients, investigate new viruses and other malicious forms, and propagate its findings (e.g. virus signatures of new viruses) to its clients, including said client.        
 
         [0038]     Thus, when implementing the present invention on a gateway server, the following elements play a role with regard to the present invention: 
        a client;     an inspection facility (an anti-virus program) operating at the gateway;     an anti-virus center, which concentrates information about viruses and other malicious forms from said client and other clients, investigate new viruses and other malicious forms, and propagate its findings (e.g. virus signatures of new viruses) to its clients, including said client.        
 
         [0042]     When implementing the present invention on a user computer, the following elements play a role with regard to the present invention: 
        a client, e.g. a web browser operating at a user&#39;s computer;     an inspection facility, i.e. an anti-virus program operating at the user&#39;s computer;     an anti-virus center, which concentrates information about viruses and other malicious forms from said client and other clients, investigate new viruses and other malicious forms, and propagate its findings (e.g. virus signatures of new viruses) to its clients, including said client. The anti-virus center may be also a program running on the same user&#39;s computer        
 
         [0046]     Those skilled in the art will appreciate that the invention can be embodied by other forms and ways, without losing the scope of the invention. The embodiments described herein should be considered as illustrative and not restrictive.