1. Field of the Invention
This invention relates to the field of data processing systems. More particularly, this invention relates to data processing systems that apply a plurality of tests to a target computer file, such as, for example, a plurality of anti computer virus test to scan a suspect computer file for computer viruses.
2. Description of the Prior Art
It is known to provide anti computer virus programs that apply a plurality of tests to a suspect computer file to identify if it contains a computer virus. As new computer viruses are released, tests to detect those computer viruses are developed and added to the list of tests that an anti computer virus applies to a suspect computer file. As the number of known of computer viruses increases, then the number of tests required also increases. Typical anti computer virus programs at the current time potentially apply tests for up to 60,000 different known computer viruses. The amount of computer processing resource required to perform these tests is large and ever-increasing.
There are various different types of computer virus. Some computer viruses infect only executable EXE and COM computer files, whereas other computer viruses may be macro viruses or embedded HTML viruses that only infect different file types. When a scanning engine receives a request to scan a particular computer file, then it is known to arrange that the scanning engine will select only those test drivers that check for computer viruses that could possibly infect that type of computer file, e.g. there is no point in checking an EXE file for an embedded Word macro virus.
Measures that can reduce the processing load associated with anti computer virus defence mechanisms and increase the efficiency and effectiveness of protection against computer viruses are strongly advantageous.
Viewed from one aspect, the invention provides a computer program product comprising a computer program operable to control a computer to apply a plurality of anti computer virus tests to a target computer file, said computer program comprising:
The classification of anti computer virus test drivers within the library may advantageously be used to establish a priority ordering for the application of those test drivers. In particular, as the number of possible tests increases, it may be that processing resources will only allow some of the tests to be applied. In this circumstance, the classification of the anti computer virus test drivers, such that the ones representing the highest threats and/or that can be achieved relatively quickly are applied first, produces an improved overall protection level compared to just sequentially applying all of the tests in the library without any methodical ordering based upon priority. Furthermore, a user may early terminate a scanning operation and in such circumstances it is important that the most threatening computer virus should have been checked for first such that the risk associated with early termination of the full virus scan is reduced.
The classifications that are associated with the anti computer virus test drivers may include one or more of whether that driver relates to a newly released virus, a highly infectious virus, a highly damaging virus, a common virus, a test that is quick to perform, an average threat level virus, a rare virus, and a test that is slow to perform. This list may also be viewed as an approximate priority ordering, but it will be appreciated that the priority ordering once classifications are available may be dynamically altered in dependence upon the file type of the target computer file or the identity of the anti computer virus program making the test request.
Viewed from further aspects, the invention also provides a method of applying a plurality of tests to a target computer file and an apparatus for applying a plurality of tests to a target computer file.
The above, and other objects, features and advantages of this invention will be apparent from the following detailed description of illustrative embodiments which is to be read in connection with the accompanying drawings, in which:
At step 4, the drivers matching the identity of the test initiator are selected from the library of anti computer virus test drivers stored within the system. The drivers have classification data associated with them indicating the computer file types to which they apply and the identity of different test initiators that will use them. The library of drivers may be viewed as a database and the selection a search and filtering operation through this database. The driver selection is made upon the basis of the identity of the test initiator rather than upon the file type of the target computer file.
At step 6, the priority order of the drivers selected at step 4 is established and the drivers are sorted into an order where the highest priority drivers will be applied first and the lowest priority drivers applied last.
At step 8, the selected and ordered drivers are loaded into random access memory from which they may be rapidly retrieved as opposed to being stored upon non-volatile storage media such as the hard disk drive of a system. At step 10, the program waits until it receives a scan request.
At step 12, when a scan request is received, a determination is made based upon the computer file type as to whether or not this particular test initiator is responsible for anti computer virus scanning for that file type. It may be that the target computer file needs processing, such as by unzipping or by searching for embedded further computer files before a determination can be made at step 12 as to whether or not to scan. The different test initiators may be different anti computer virus programs, such as an e-mail body scanner, an e-mail attachment scanner, an on-access scanning agent, an on-demand scanner, a firewall scanner or a network server scanner amongst other program types. As an example, an e-mail body scanner will typically only be responsible for scanning computer files to see if they contain any HTML embedded viruses. The responsibility for scanning e-mail attachments which may have a wide variety of file types and be subject to many more different potential virus threats is handled by other programs within the anti-virus computer system as a whole, such as an e-mail attachment scanner or a firewall scanner.
If the test at step 12 is that no scan is required, then processing proceeds to step 14 at which a pass result is returned to the scan requestor.
If a scan is required, then processing proceeds to step 16 at which the selected and ordered drivers produced from steps 4 and 6 are applied in their priority order. During the scanning that takes place at step 16, an early terminate request can be received, for example by a user cancelling the scanning process or by an automatic time-out, but the priority ordering carried out at step 6 will have ensured that at least the highest threat viruses will have been scanned for.
At step 18, a test is made as to whether or not the scanning tests have been passed. If the tests have been passed, then processing proceeds to step 14 and a pass result is returned, whereas if the tests have not been passed then processing proceeds to step 20 and a fail result is returned.
The computer program product described above may take the form of a computer program stored within the computer system 200 on the hard disk drive 208, within the random access memory 204, within the read-only memory 206, or downloaded via the network interface circuit 220. The computer program product may also take the form of a recording medium such as a compact disk or floppy disk drive that may be used for distribution purposes. When operating under control of the above described computer program product, the various components of the computer 200 serve to provide the appropriate circuits and logic for carrying out the above described functions and acts. It will be appreciated that the computer 200 illustrated in
Although illustrative embodiments of the invention have been described in detail herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various changes and modifications can be effected therein by one skilled in the art without departing from the scope and spirit of the invention as defined by the appended claims.
Number | Name | Date | Kind |
---|---|---|---|
5948104 | Gluck et al. | Sep 1999 | A |
6067410 | Nachenberg | May 2000 | A |
Number | Date | Country | |
---|---|---|---|
20020116628 A1 | Aug 2002 | US |