Bypassing File Access Restrictions for Malware Scanning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing antivirus software is ineffective in detecting malware that employs file access restrictions to avoid detection, leaving computers vulnerable to malware infections and resulting in significant costs for disinfection and repair.

Innovation Solution

A method and system that bypasses restrictive access attributes to allow antivirus software to scan files for malware by identifying error messages, using backup services, impersonating authorized users, and creating duplicate file handles to access encrypted or locked files.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If antivirus software uses traditional scanning methods, then it can detect known malware signatures, but it cannot detect malware that employs file access restrictions to avoid detection

Engineering Contradiction:
Improvemalware detection effectivenessVSAvoidability to handle restricted access files
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent introduces an intermediary component that acts as a mediator between the antivirus scanning system and the restricted access file. This intermediary obtains authorized access to the file through legitimate means (such as using backup service credentials or creating duplicate file handles) and allows the antivirus software to scan the file contents without violating the original access restrictions. This resolves the contradiction by enabling detection capability while respecting the file access control mechanisms.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent segments the file access process into distinct operational modes: normal access for application execution and privileged access for antivirus scanning. By separating these functions and implementing different access paths (through backup services, impersonation, or duplicate handles), the system enables antivirus software to scan restricted files without affecting the file's access control integrity for legitimate applications.

Inventive Principle:
Principle #1Segmentation

2Object-affected harmful factors

If malware uses file locking mechanisms, then it prevents unauthorized access and execution, but it also prevents antivirus software from scanning the file

Engineering Contradiction:
Improveprotection against unauthorized accessVSAvoidvirus scan capability
Core Design Contradiction:
Object-affected harmful factorsVSReliability

Solution Approach 1:

The patent implements preliminary action by obtaining authorized access credentials or establishing alternative access paths before the antivirus scanning process begins. The system prepares duplicate file handles or secures backup service access in advance, ensuring that scanning capability is established before the file's locked state prevents normal access attempts. This allows the antivirus software to scan the file without triggering access violations.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If antivirus software attempts to access restricted files, then it may detect malware, but it generates access violation errors that prevent scanning

Engineering Contradiction:
Improvemalware detection accuracyVSAvoidfile access simplicity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent introduces an intermediary access layer that handles the complexity of restricted file access. This intermediary component manages the acquisition of proper credentials, establishment of duplicate file handles, or coordination with backup services, thereby shielding the antivirus scanning operation from access violation errors. The scanning process operates through this intermediary without directly encountering the file's restricted access state.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS7660797B2Scanning data in an access restricted file for malware
Publication Date: 2010.02.09 MICROSOFT TECHNOLOGY LICENSING LLC
  • US7660797B2 patent drawing
  • US7660797B2 patent drawing
  • US7660797B2 patent drawing

AI summary

The present invention is directed toward a system, method, and computer-readable medium that scan a file for malware that maintains a restrictive access attribute that limits access to the file. In accordance with one aspect of the present invention, a method for performing a scan for malware is provided when antivirus software on a computer encounters a file with a restrictive access attribute that prevents the file from being scanned. More specifically, the method includes identifying the restrictive access attribute that limits access to the file; bypassing the restrictive access attribute to access data in the file; and using a scan engine to scan the data in the file for malware.