← Back to Patent Explorer
US5956481A Expired / Lapsed US ⏱️ 0.0 years remaining

Method and apparatus for protecting data files on a computer from virus infection

Assignee: Microsoft Technology Licensing LLC
•
Filing: 1997-02-06
•
Granted: 1999-09-21
•
Expires: 2017-02-06
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract Protection of data files on a computer system from infection or damage by a computer virus. A virus protection system can detect either an external or internal open file event for a file maintained on a local or remote computer. Typically, the protection system is implemented as an internal component of the program module that processes the files protected by the protection system. Prior to responding to a detected open file event, an inquiry is conducted to determine whether the file is likely to contain a virus. If so, a notice is generated to indicate that the file may contain a virus, thereby advising of the possible danger of spreading the virus to other files if the file opening is completed. If the file is not likely to contain the virus, the response to the detected open file event is completed by opening the file for processing by the program module.

Inventors

  • 👤 James E. Walsh
  • 👤 Ebbe H. A. Altberg

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-28 20:54
CPC Classifications
G; G06; G06F; G06F21/00; G06F21/50; G06F21/55; G06F21/56; G06F21/562; G06F21/565; G06F21/566; G06F11/00; G06F11/004; G06F11/30; G06F11/32

Claims Analysis

Total Claims: 38
Claim 1
Independent Claim 109 words
A computer-implemented method for protecting files on a computer from infection by a virus, the files compatible with a program module running on the computer, comprising the steps of: detecting one of an external and internal open file event for a selected one of the files; prior to responding to the detected open file event, determining whether the selected file is likely to contain the virus; in the event that the selected file is likely to contain the virus, then providing a notice advising that the selected file may contain the virus; otherwise, responding to the open file event by opening the file for operation with the program module.
Claim 2
Dependent Claim 109 words
A computer-implemented method for protecting files on a computer from infection by a virus, the files compatible with a program module running on the computer, comprising the steps of: detecting one of an external and internal open file event for a selected one of the files; prior to responding to the detected open file event, determining whether the selected file is likely to contain the virus; in the event that the selected file is likely to contain the virus, then providing a notice advising that the selected file may contain the virus; otherwise, responding to the open file event by opening the file for operation with the program module.
Claim 3
Dependent Claim 33 words
The computer-implemented method of claim 1 further comprising the step of opening the selected file for operation with the program module in response to selecting an open file option presented by the notice.
Claim 4
Dependent Claim 39 words
The computer-implemented method of claim 2 further comprising the step of terminating a response to the open file event in response to selecting a close file option presented by the notice, thereby preventing an opening of the selected file.
Claim 5
Dependent Claim 55 words
The computer-implemented method of claim 3 further comprising the step of opening the selected file in a safe mode in response to selecting a virus protection option presented by the notice, wherein the selected file is opened in the safe mode as a protected file that does not include any components associated with the virus.
Claim 6
Dependent Claim 33 words
The computer-implemented method of claim 4 wherein the virus is a macro virus and the protected file is loaded for operation with the program module without loading any macro of the selected file.
Claim 7
Dependent Claim 32 words
The computer-implemented method of claim 5 wherein the protected file is marked as read-only to make it difficult for the selected file to be saved as a replacement for the selected file.
Claim 8
Dependent Claim 36 words
The computer-implemented method of claim 1 wherein the determining step comprises determining whether the selected file comprises a component associated with the virus and, if so, identifying the selected file as likely to contain the virus.
Claim 9
Dependent Claim 40 words
The computer-implemented method of claim 1 wherein the determining step comprises determining whether the selected file has been previously examined for virus infection and, if so, identifying the selected file as a clean file that does not contain the virus.
Claim 10
Dependent Claim 75 words
The computer-implemented method of claim 1 wherein the determining step comprises: determining whether the selected file comprises a component associated with the virus; if the selected file comprises a component associated with the virus, then determining whether the file is a predetermined type that is unlikely to contain the virus; if so, identifying the selected file as available for operation with the program module; otherwise, identifying the selected file as likely to contain the virus.
Claim 11
Dependent Claim 23 words
The computer-implemented method of claim 9 wherein the virus is a macro virus and the component of the selected file is a macro.
Claim 12
Dependent Claim 29 words
The computer-implemented method of claim 9, wherein the step of determining whether the file is a predetermined type comprises checking whether the selected file resides in a predetermined directory.
Claim 13
Dependent Claim 59 words
The computer-implemented method of claim 9, wherein a digital signature is assigned to the selected file when the selected file is examined for virus protection, and wherein the step of determining whether the file is a predetermined type comprises checking the digital signature of the selected file to determine whether the file was previously opened by a trusted entity.
Claim 14
Dependent Claim 132 words
A computer-readable medium having computer executable instructions for a virus protection routine incorporated within a program module, for causing a computer to perform the steps of: detecting a request to access a data file in response to one of an external and internal open file event; in response to the request to access the data file, determining whether the data file contains a known virus component; if the data file contains a known virus component, then (i) providing an advisory notice that the data file is susceptible to infection by a virus; and (ii) providing an option to access the data file using a safe mode; and if the option to access the data file in the safe mode is selected, then accessing the data file with the known virus component disabled.
Claim 15
Dependent Claim 132 words
A computer-readable medium having computer executable instructions for a virus protection routine incorporated within a program module, for causing a computer to perform the steps of: detecting a request to access a data file in response to one of an external and internal open file event; in response to the request to access the data file, determining whether the data file contains a known virus component; if the data file contains a known virus component, then (i) providing an advisory notice that the data file is susceptible to infection by a virus; and (ii) providing an option to access the data file using a safe mode; and if the option to access the data file in the safe mode is selected, then accessing the data file with the known virus component disabled.
Claim 16
Dependent Claim 58 words
The computer-readable medium of claim 13, having further computer executable instructions for causing the computer to perform the steps of: providing an option to access the data file in an unrestricted mode; and if the option to access the data file in an unrestricted mode is selected, then accessing the data file with the known virus component enabled.
Claim 17
Dependent Claim 54 words
The computer-readable medium of claim 13, having further computer executable instructions for causing the computer to perform the steps of: providing an option to cancel the access to the data file; and if the option to cancel the access to the data file is selected, then canceling the request to access the data file.
Claim 18
Dependent Claim 38 words
The computer-readable medium of claim 13, wherein the step of determining whether the data file contains a known virus component comprises: if the known virus component is a macro, then determining whether the data file contains a macro.
Claim 19
Dependent Claim 41 words
The computer-readable medium of claim 13, wherein the step of determining whether the data file contains the known virus component comprises the step of: if the known virus component is a customization, then determining whether the data file contains a customization.
Claim 20
Dependent Claim 32 words
The computer-readable medium of claim 13, wherein the step of detecting a request to access a data file comprises detecting an external file open event or detecting an internal file open event.
Claim 21
Dependent Claim 29 words
The computer-readable medium of claim 13, wherein the step of accessing the data file with the known virus component disabled comprises accessing the data file in a read-only mode.
Claim 22
Dependent Claim 61 words
The computer-readable medium of claim 13, having further computer executable instructions for causing the computer to perform the steps of: if the data file contains a known virus component, then determining whether the data file resides in a predetermined directory; and if the data file resides in a predetermined directory, then accessing the data file with the known virus component enabled.
Claim 23
Dependent Claim 138 words
The computer-readable medium of claim 13, wherein a digital signature is assigned to the data file to indicate that the data file has been examined for infection by a virus and to indicate whether the data file has been accessed in the safe mode, and wherein the computer-readable medium has further computer executable instructions for causing the computer to perform the steps of: if the data file contains a known virus component, then checking the digital signature for the data file to determine whether the data file has been previously examined for infection by a virus; and if the data file has been previously examined for infection by a virus, and if the digital signature indicates that the data file has been accessed in the safe mode, then accessing the data file with the known virus component disabled.
Claim 24
Dependent Claim 222 words
A computer-implemented method for protecting a plurality of files on a computer from infection by a known virus component using a virus check routine incorporated within a program module, the program module operative to access the files and the virus check routine operative to store a digital signature with a selected data file once the selected data file is accessed by the program module, comprising the steps of: detecting a request to access the selected data file in response to one of an external and internal open file event; determining whether the selected data file contains the known virus component; if the selected data file contains the known virus component, then determining whether the selected data file was previously accessed by the program module by (i) obtaining the digital signature for the selected data file; (ii) obtaining a digital session key for the present session of the program module; and (iii) comparing the digital signature with the digital session key; if the digital signature matches the digital session key, then determining that the selected data file was previously accessed by the program module; determining whether the selected data file was previously accessed using a safe access mode; and if the selected data file was previously accessed using the safe access mode, then accessing the selected data file using the safe access mode.
Claim 25
Dependent Claim 222 words
A computer-implemented method for protecting a plurality of files on a computer from infection by a known virus component using a virus check routine incorporated within a program module, the program module operative to access the files and the virus check routine operative to store a digital signature with a selected data file once the selected data file is accessed by the program module, comprising the steps of: detecting a request to access the selected data file in response to one of an external and internal open file event; determining whether the selected data file contains the known virus component; if the selected data file contains the known virus component, then determining whether the selected data file was previously accessed by the program module by (i) obtaining the digital signature for the selected data file; (ii) obtaining a digital session key for the present session of the program module; and (iii) comparing the digital signature with the digital session key; if the digital signature matches the digital session key, then determining that the selected data file was previously accessed by the program module; determining whether the selected data file was previously accessed using a safe access mode; and if the selected data file was previously accessed using the safe access mode, then accessing the selected data file using the safe access mode.
Claim 26
Dependent Claim 31 words
The computer-implemented method of claim 22, wherein the step of accessing the selected data file using the safe access mode comprises accessing the selected data file without the known virus component.
Claim 27
Dependent Claim 31 words
The computer-implemented method of claim 22, wherein the step of accessing the selected data file using the safe access mode further comprises accessing the selected data file in a read-only mode.
Claim 28
Dependent Claim 96 words
The computer-implemented method of claim 22, further comprising the steps of: if the digital signature does not match the digital session key, then (i) displaying an advisory message warning that the selected data file is susceptible to infection by a virus; and (ii) providing an option to process the selected data file using the safe access mode; and if the option to process the selected data file using the safe access mode is selected, then accessing the selected data file without the known virus component; otherwise, accessing the selected data file with the known virus component.
Claim 29
Dependent Claim 168 words
A computer-implemented method for detecting a known virus component using a virus check routine incorporated within a program module operative to process a file that is susceptible to a virus, comprising: detecting a request to process a selected file in response to one of an external and internal open file event; determining whether the selected file contains a known virus component; if the selected file contains a known virus component, then (i) providing an advisory notice indicating that the selected file contains a known virus component; and (ii) providing file processing options to process the selected file; receiving one of the file processing options as a selected file processing option; processing the selected file in accordance with the selected file processing option; detecting a second request to process the selected file; and if the advisory notice indicating that the selected file contains a known virus component was previously provided, then processing the selected file in accordance with the selected file processing option without providing a second advisory notice.
Claim 30
Dependent Claim 168 words
A computer-implemented method for detecting a known virus component using a virus check routine incorporated within a program module operative to process a file that is susceptible to a virus, comprising: detecting a request to process a selected file in response to one of an external and internal open file event; determining whether the selected file contains a known virus component; if the selected file contains a known virus component, then (i) providing an advisory notice indicating that the selected file contains a known virus component; and (ii) providing file processing options to process the selected file; receiving one of the file processing options as a selected file processing option; processing the selected file in accordance with the selected file processing option; detecting a second request to process the selected file; and if the advisory notice indicating that the selected file contains a known virus component was previously provided, then processing the selected file in accordance with the selected file processing option without providing a second advisory notice.
Claim 31
Dependent Claim 57 words
The computer-implemented method of claim 26, wherein the file processing options comprise: a safe mode file processing option to process the selected file without the known virus component; an unrestricted mode file processing option to process the selected file with the known virus component; and an abort mode file processing option to abort processing the selected file.
Claim 32
Dependent Claim 31 words
The computer-implemented method of claim 26, wherein the step of processing the selected file in accordance with the selected file processing option comprises assigning a digital signature to the selected file.
Claim 33
Dependent Claim 83 words
The computer-implemented method of claim 28, wherein the step of detecting a second request to process the selected file comprises: obtaining the digital signature for the selected file; obtaining a digital session key for the present session of the program module; and comparing the digital signature for the selected file with the digital session key for the present session of the program module; if the digital session key and the digital signature match, then detecting a second request to process the selected file.
Claim 34
Dependent Claim 26 words
The computer-implemented method of claim 26, wherein the step of detecting a request process a selected file comprises detecting an internal or external open file command.
Claim 35
Dependent Claim 29 words
The computer-implemented method of claim 26, wherein the step of determining whether the selected file contains a known virus component comprises determining whether the selected file contains a macro.
Claim 36
Dependent Claim 29 words
The computer-implemented method of claim 26, wherein the step of determining whether the selected file contains a known virus component comprises determining whether the selected file contains a customization.
Claim 37
Dependent Claim 19 words
The computer-implemented method of claim 26, further comprising the step of determining whether the selected file is a template.
Claim 38
Dependent Claim 22 words
The computer-implemented method of claim 26, further comprising the step of determining whether the selected file is located in a predetermined directory.

References Cited (Backward Citations)

US5257381A Cited
US5398196A Cited
US5684875A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2002-09-20 2003-03-22 2003-09-21 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2006-09-20 2007-03-22 2007-09-21 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2010-09-20 2011-03-22 2011-09-21 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag