IP Library Granted Patent US 12,430,430
Granted Patent B2
US 12,430,430 · App. 18/379,699 · Granted Sep 30, 2025

Selective malware scanning of files on virtualized snapshots

Inventors: Mandar Nanivadekar (Pune, IN); Leena Shuklendu Soman (Pune, IN); Boris Weissman (Palo Alto, CA)
Assignee: VMware LLC
G06F21/565G06F21/564
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,430,430
App. No.
18/379,699
Granted
Sep 30, 2025
Kind
B2
Abstract

A VCI snapshot associated with a version of a malware infected VCI is scanned for malware. The malware scanning includes selecting a first file of the VCI snapshot and determining that a file, in a previously scanned VCI snapshot associated with another version of the malware infected VCI, which corresponds to the selected first file has a clean reputation indicator. Further, it is determined that the metadata of the selected first file matches metadata of the corresponding file. Based on these determinations, the malware scanning proceeds to scan the next file for malware without scanning the selected first file for malware.

Claims (79)

1. A system comprising:

one or more processors; and

one or more non-transitory computer readable media executable by the one or more processors to perform operations comprising:

instantiating a virtual computing instance (VCI) using a VCI snapshot of a version of a malware infected VCI;

generate generating a current file system data structure of the instantiated VCI, wherein the generated current file system data structure includes data associated with a group of files in the VCI snapshot of the version of the malware infected VCI;

identifying a subgroup of clean files in the group of files using a previous file system data structure associated with a previously scanned VCI snapshot of another version of the malware infected VCI, wherein files in the subgroup of clean files have data in the current file system data structure that matches corresponding data in the previous file system data structure and have clean reputation indicators in the previous file system data structure;

determining a subgroup of files to be scanned in the group of files, wherein the subgroup of files to be scanned omits the identified subgroup of clean files;

scanning the determined subgroup of files for malware using a malware detection agent;

determining that the version of the malware infected VCI is clean of malware using the scanning; and

deploying, based on determining that the version of the malware infected VCI is clean of malware, a clean version of the malware infected VCI using the version of the malware infected VCI.

2. The system of claim 1 , wherein instantiating the VCI using the VCI snapshot of the version of the malware infected VCI includes:

deploying the instantiated VCI in an isolated recovery environment; and

installing the malware detection agent on the instantiated VCI.

3. The system of claim 1 , wherein determining the subgroup of files to be scanned in the group of files includes:

identifying a file in the group of files that corresponds to a malware infected file in the previously scanned VCI snapshot using a reputation indicator of the malware infected file in the previous file system data structure; and

including the identified file in the subgroup of files to be scanned.

4. The system of claim 1 , wherein determining the subgroup of files to be scanned in the group of files includes:

identifying a file in the group of files for which a corresponding file is not present in the previously scanned VCI snapshot using the previous file system data structure; and

including the identified file in the subgroup of files to be scanned.

5. The system of claim 1 , wherein determining the subgroup of files to be scanned in the group of files includes:

identifying a file in the group of files that corresponds to a file with a clean reputation indicator in the previous file system data structure and for which data in the current file system data structure differs from corresponding data in the previous file system data structure; and

including the identified file in the subgroup of files to be scanned.

6. The system of claim 1 , wherein identifying the subgroup of clean files in the group of files further includes:

comparing file attributes associated with a selected file of the group of files in the current file system data structure to file attributes associated with a corresponding file in the previous file system data structure;

based on the compared file attributes matching, compare a disk cluster mapping of the selected file in the current file system data structure to a corresponding disk cluster mapping of the corresponding file in the previous file system data structure; and

based on the compared disk cluster mappings matching and a reputation indicator in the previous file system data structure indicating the corresponding file to the selected file is clean, including the selected file in the subgroup of clean files.

7. The system of claim 1 the operations further comprising:

recovering data from the version of the malware infected VCI based on the determination that the version of the malware infected VCI is clean of malware.

8. An apparatus comprising:

one or more non-transitory computer readable media executable by one or more processors to perform operations comprising:

instantiating a virtual computing instance (VCI) using a VCI snapshot of a version of a malware infected VCI;

generating a current file apparatus data structure of the instantiated VCI, wherein the generated current file apparatus data structure includes data associated with a group of files in the VCI snapshot of the version of the malware infected VCI;

identifying a subgroup of clean files in the group of files using a previous file apparatus data structure associated with a previously scanned VCI snapshot of another version of the malware infected VCI, wherein files in the subgroup of clean files have data in the current file apparatus data structure that matches corresponding data in the previous file apparatus data structure and have clean reputation indicators in the previous file apparatus data structure;

determining a subgroup of files to be scanned in the group of files, wherein the subgroup of files to be scanned omits the identified subgroup of clean files;

scanning the determined subgroup of files for malware using a malware detection agent;

determining that the version of the malware infected VCI is clean of malware using the scanning; and

deploying, based on determining that the version of the malware infected VCI is clean of malware, a clean version of the malware infected VCI using the version of the malware infected VCI.

9. The apparatus of claim 8 , wherein instantiating the VCI using the VCI snapshot of the version of the malware infected VCI includes:

deploying the instantiated VCI in an isolated recovery environment; and

installing the malware detection agent on the instantiated VCI.

10. The apparatus of claim 8 , wherein determining the subgroup of files to be scanned in the group of files includes:

identifying a file in the group of files that corresponds to a malware infected file in the previously scanned VCI snapshot using a reputation indicator of the malware infected file in the previous file apparatus data structure; and

including the identified file in the subgroup of files to be scanned.

11. The apparatus of claim 8 , wherein determining the subgroup of files to be scanned in the group of files includes:

identifying a file in the group of files for which a corresponding file is not present in the previously scanned VCI snapshot using the previous file apparatus data structure; and

including the identified file in the subgroup of files to be scanned.

12. The apparatus of claim 8 , wherein determining the subgroup of files to be scanned in the group of files includes:

identifying a file in the group of files that corresponds to a file with a clean reputation indicator in the previous file apparatus data structure and for which data in the current file apparatus data structure differs from corresponding data in the previous file apparatus data structure; and

including the identified file in the subgroup of files to be scanned.

13. The apparatus of claim 8 , wherein identifying the subgroup of clean files in the group of files further includes:

comparing file attributes associated with a selected file of the group of files in the current file apparatus data structure to file attributes associated with a corresponding file in the previous file apparatus data structure;

based on the compared file attributes matching, compare a disk cluster mapping of the selected file in the current file apparatus data structure to a corresponding disk cluster mapping of the corresponding file in the previous file apparatus data structure; and

based on the compared disk cluster mappings matching and a reputation indicator in the previous file apparatus data structure indicating the corresponding file to the selected file is clean, including the selected file in the subgroup of clean files.

14. The apparatus of claim 8 , the operations further comprising:

recovering data from the version of the malware infected VCI based on the determination that the version of the malware infected VCI is clean of malware.

15. A method comprising:

instantiating a virtual computing instance (VCI) using a VCI snapshot of a version of a malware infected VCI;

a malware detector being further configured to generate a current file system data structure of the instantiated VCI, wherein the generated current file system data structure includes data associated with a group of files in the VCI snapshot of the version of the malware infected VCI;

identifying a subgroup of clean files in the group of files using a previous file system data structure associated with a previously scanned VCI snapshot of another version of the malware infected VCI, wherein files in the subgroup of clean files have data in the current file system data structure that matches corresponding data in the previous file system data structure and have clean reputation indicators in the previous file system data structure;

a malware scanner of the malware detector configured to determine a subgroup of files to be scanned in the group of files, wherein the subgroup of files to be scanned omits the identified subgroup of clean files;

scanning the determined subgroup of files for malware using a malware detection agent;

determining that the version of the malware infected VCI is clean of malware using the scanning; and

deploying, based on determining that the version of the malware infected VCI is clean of malware, a clean version of the malware infected VCI using the version of the malware infected VCI.

16. The method of claim 15 , wherein instantiating the VCI using the VCI snapshot of the version of the malware infected VCI includes:

deploying the instantiated VCI in an isolated recovery environment; and

installing the malware detection agent on the instantiated VCI.

17. The method of claim 15 , wherein determining the subgroup of files to be scanned in the group of files includes:

identifying a file in the group of files that corresponds to a malware infected file in the previously scanned VCI snapshot using a reputation indicator of the malware infected file in the previous file system data structure; and

including the identified file in the subgroup of files to be scanned.

18. The method of claim 15 , wherein determining the subgroup of files to be scanned in the group of files includes:

identifying a file in the group of files for which a corresponding file is not present in the previously scanned VCI snapshot using the previous file system data structure; and

including the identified file in the subgroup of files to be scanned.

19. The method of claim 15 , wherein determining the subgroup of files to be scanned in the group of files includes:

identifying a file in the group of files that corresponds to a file with a clean reputation indicator in the previous file system data structure and for which data in the current file system data structure differs from corresponding data in the previous file system data structure; and

including the identified file in the subgroup of files to be scanned.

20. The method of claim 15 , wherein identifying the subgroup of clean files in the group of files further includes:

comparing file attributes associated with a selected file of the group of files in the current file system data structure to file attributes associated with a corresponding file in the previous file system data structure;

based on the compared file attributes matching, compare a disk cluster mapping of the selected file in the current file system data structure to a corresponding disk cluster mapping of the corresponding file in the previous file system data structure; and

based on the compared disk cluster mappings matching and a reputation indicator in the previous file system data structure indicating the corresponding file to the selected file is clean, including the selected file in the subgroup of clean files.

Assignments (2)
CHANGE OF NAME Recorded Aug 7, 2024
From: VMWARE, INC.
To: VMWARE LLC
Reel/Frame 068480/0595 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 13, 2023
From: NANIVADEKAR, MANDAR; SOMAN, LEENA SHUKLENDU; WEISSMAN, BORIS
To: VMWARE, INC.
Reel/Frame 065207/0317 →
Priority Claims (1)
IN 202341050099 · Jul 25, 2023 · national
Continuity (1)
Related Publication 20250036762A1 · Jan 30, 2025
References Cited (3)
US 9977894B2 · Gilbert · 2018 [cited by examiner]
US 20200319979A1 · Kulaga · 2020 [cited by examiner]
US 20240086284A1 · Warwick · 2024 [cited by examiner]