Patent ID: 8650650

Claim:
A computer-implemented method for performing antivirus analysis of a file, comprising: detecting, by a hardware processor, an attempt to execute the file on a computer; collecting an identifier of the file and one or more current attributes of the file; using the identifier to search in a data store for one or more old attributes of the file; comparing one or more of the current attributes of the file with one or more of the old attributes of the file found in the data store to determine whether the file is modified; selecting a synchronous file access method or an asynchronous file access method for the antivirus application to perform antivirus analysis of the file based on the determination of whether the file is modified or unmodified; and when the file is determined to be modified, synchronously accessing the file by an antivirus software to perform antivirus analysis of the file, wherein during the synchronous access of the file one or more other programs are prohibited from accessing the analyzed file; when the file is determined to be unmodified, asynchronously accessing the file by the antivirus software to perform antivirus analysis of the file, wherein during the asynchronous access of the file one or more of the other programs are allowed to access the analyzed file.