Efficient Cyber Scan Files For Cyber Scanning

The optimization algorithm addresses inefficiencies in malware scanning by minimizing data exposure and leveraging deduplication to efficiently identify uncontaminated recovery points, enhancing the speed and efficiency of cybersecurity incident recovery.

US20260377536A1Pending Publication Date: 2026-11-26INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/093611
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing automated malware scanning processes for data recovery points are inefficient due to the large volume of data that needs to be scanned, leading to issues with network bandwidth, storage space, and time consumption, which hampers the rapid identification of uncontaminated recovery points during cybersecurity incidents.

Method used

An optimization algorithm that intelligently collaborates with a malware scanning application to minimize the data presented for scanning by identifying and presenting only the changed data extents and using deduplication to streamline the scanning process, ensuring efficient and rapid identification of uncontaminated recovery points.

Benefits of technology

This approach reduces the time and resources required for malware scanning by focusing on minimal data exposure, thereby enabling faster identification of uncontaminated recovery points and ensuring rapid operational recovery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260377536A1-D00000_ABST
    Figure US20260377536A1-D00000_ABST
Patent Text Reader

Abstract

Cyber scan optimization is provided. A current backup generation version of a data object is presented to a malware scanning application to perform a cyber scan of the current backup generation version of the data object. It is determined whether the cyber scan of the current backup generation version of the data object performed by the scanning application indicates that the current backup generation version of the data object is contaminated. In response to determining that the cyber scan of the current backup generation version of the data object performed by the scanning application indicates that the current backup generation version of the data object is contaminated, a set of cyber scan efficient files corresponding to the data object is retrieved. The set of cyber scan efficient files corresponding to the data object is presented to the malware scanning application for scanning.
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUND

[0001] The disclosure relates generally to data resiliency and more specifically to performing cyber scans to detect file contamination.

[0002] Data resiliency is an ability of an entity, such as an enterprise, company, business, organization, institution, agency, or individual, to recover from cybersecurity breaches and other types of data compromise. Data resilience is of growing relevance because entities are facing an increasing number of cyberthreats. Also, these cyberthreats are becoming increasingly sophisticated as malicious users search for ways to disrupt entities and / or hold their data hostage through sophisticated cyberattacks. Data resiliency requires that an entity implement measures such as data backup and recovery to protect against cyberthreats such as malware and ransomware. By ensuring data resilience, an entity can maintain operation continuity even in the face of cyberattacks.SUMMARY

[0003] According to one illustrative embodiment, a method is provided. The method presents a current backup generation version of a data object to a malware scanning application to perform a cyber scan of the current backup generation version of the data object. The method determines whether the cyber scan of the current backup generation version of the data object performed by the scanning application indicates that the current backup generation version of the data object is contaminated. In response to determining that the cyber scan of the current backup generation version of the data object performed by the scanning application does indicate that the current backup generation version of the data object is contaminated, the method retrieves a set of cyber scan efficient files corresponding to the data object from an analysis algorithm. The method presents the set of cyber scan efficient files corresponding to the data object retrieved from the analysis algorithm to the malware scanning application for cyber scanning. According to other illustrative embodiments, a computer system and computer program product are provided.BRIEF DESCRIPTION OF THE DRAWINGS

[0004] FIG. 1 is a pictorial representation of a computing environment in which illustrative embodiments may be implemented;

[0005] FIG. 2 is a diagram illustrating an example of a cyber scan optimization system in accordance with an illustrative embodiment;

[0006] FIGS. 3A-3B are a flowchart illustrating a process for an optimization algorithm in accordance with an illustrative embodiment;

[0007] FIG. 4 is a flowchart illustrating a process for an analysis algorithm in accordance with an illustrative embodiment; and

[0008] FIGS. 5A-5B are a flowchart illustrating a process for a data process function in accordance with an illustrative embodiment.DETAILED DESCRIPTION

[0009] Various aspects of the present disclosure are described by narrative text, flowcharts, block diagrams of computer systems, and / or block diagrams of the machine logic included in computer program product (CPP) embodiments. With respect to any flowcharts, depending upon the technology involved, the operations can be performed in a different order than what is shown in a given flowchart. For example, again depending upon the technology involved, two operations shown in successive flowchart blocks may be performed in reverse order, as a single integrated step, concurrently, or in a manner at least partially overlapping in time.

[0010] A CPP embodiment is a term used in the present disclosure to describe any set of one, or more, storage media (also called “mediums”) collectively included in a set of one, or more, storage devices that collectively include machine readable code corresponding to instructions and / or data for performing computer operations specified in a given CPP claim. A “storage device” is any tangible device that can retain and store instructions for use by a computer processor. Without limitation, the computer-readable storage medium may be an electronic storage medium, a magnetic storage medium, an optical storage medium, an electromagnetic storage medium, a semiconductor storage medium, a mechanical storage medium, or any suitable combination of the foregoing. Some known types of storage devices that include these mediums include: diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), static random access memory (SRAM), compact disc read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanically encoded device (such as punch cards or pits / lands formed in a major surface of a disc), or any suitable combination of the foregoing. A computer-readable storage medium, as that term is used in the present disclosure, is not to be construed as storage in the form of transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide, light pulses passing through a fiber optic cable, electrical signals communicated through a wire, and / or other transmission media. As will be understood by those of skill in the art, data is typically moved at some occasional points in time during normal operations of a storage device, such as during access, de-fragmentation or garbage collection, but this does not render the storage device as transitory because the data is not transitory while it is stored.

[0011] With reference now to the figures, and in particular, with reference to FIG. 1 and FIG. 2, diagrams of data processing environments are provided in which illustrative embodiments may be implemented. It should be appreciated that FIG. 1 and FIG. 2 are only meant as examples and are not intended to assert or imply any limitation with regard to the environments in which different embodiments may be implemented. Many modifications to the depicted environments may be made.

[0012] FIG. 1 shows a pictorial representation of a computing environment in which illustrative embodiments may be implemented. Computing environment 100 contains an example of an environment for the execution of at least some of the computer code involved in performing the inventive methods of illustrative embodiments, such as cyber scan optimization code 200.

[0013] For example, cyber scan optimization code 200 minimizes the amount of data that a data protection application needs to present or expose to a malware scanning application for scanning. To do this, cyber scan optimization code 200 attempts to only present or expose the minimum amount of data corresponding to a backup generation of a data object (e.g., virtual machine images, databases, flash storage volumes, and the like) in order for the malware scanning application to perform a valid cyber scan. In other words, cyber scan optimization code 200 does not want to change the malware scanning application, but rather present or expose only those portions of the data corresponding to the data object that the malware scanning application needs to perform an efficient and valid cyber scan, which minimizes the time for the malware scanning application and the data protection application to determine the most recent uncontaminated versions of that particular data object.

[0014] Cyber scan optimization code 200 uses the data protection application to perform data deduplication when identifying data extents within a data object. Further, the data protection application knows the reconstruction order of these data extents to rebuild or reconstitute the data object. Thus, a data object can be seen as a sequence of deduplicated data extents. Each backup generation version of a data object can be seen as a different sequence of deduplicated data extents where the data protection application can determine the differences between the different sequences of the different backup generation versions corresponding to the data object.

[0015] As a part of data resiliency, cyber scan optimization code 200 determines a set of uncontaminated recovery points for a data object that cyber scan optimization code 200 presents to the user to restore operation continuity. This is done by cyber scan optimization code 200 utilizing an optimization algorithm that progressively leverages the malware scanning application to scan backwards in time through a plurality of backup generation versions corresponding to a data object. From backup generation version to backup generation version of the data object, cyber scan optimization code 200 identifies only changed data extent ranges of the data object, with some amount of buffer added, for subsequent scans by the malware scanning application. As a result, cyber scan optimization code 200 limits the overall volume of data that the malware scanning application has to scan, decreasing the time needed for the malware scanning and identification process, thereby increasing efficiency.

[0016] In addition to cyber scan optimization code 200, computing environment 100 includes, for example, computer 101, wide area network (WAN) 102, end user device (EUD) 103, remote server 104, public cloud 105, and private cloud 106. In this embodiment, computer 101 includes processor set 110 (including processing circuitry 120 and cache 121), communication fabric 111, volatile memory 112, persistent storage 113 (including operating system 122 and cyber scan optimization code 200, as identified above), peripheral device set 114 (including user interface (UI) device set 123, storage 124, and Internet of Things (IoT) sensor set 125), and network module 115. Remote server 104 includes remote database 130. Public cloud 105 includes gateway 140, cloud orchestration module 141, host physical machine set 142, virtual machine set 143, and container set 144.

[0017] Computer 101 may take the form of a mainframe computer, quantum computer, desktop computer, laptop computer, tablet computer, or any other form of computer now known or to be developed in the future that is capable of, for example, running a program, accessing a network, and querying a database, such as remote database 130. As is well understood in the art of computer technology, and depending upon the technology, performance of a computer-implemented method may be distributed among multiple computers and / or between multiple locations. On the other hand, in this presentation of computing environment 100, detailed discussion is focused on a single computer, specifically computer 101, to keep the presentation as simple as possible. Computer 101 may be located in a cloud, even though it is not shown in a cloud in FIG. 1. On the other hand, computer 101 is not required to be in a cloud except to any extent as may be affirmatively indicated.

[0018] Processor set 110 includes one, or more, computer processors of any type now known or to be developed in the future. Processing circuitry 120 may be distributed over multiple packages, for example, multiple, coordinated integrated circuit chips. Processing circuitry 120 may implement multiple processor threads and / or multiple processor cores. Cache 121 is memory that is located in the processor chip package(s) and is typically used for data or code that should be available for rapid access by the threads or cores running on processor set 110. Cache memories are typically organized into multiple levels depending upon relative proximity to the processing circuitry. Alternatively, some, or all, of the cache for the processor set may be located “off chip.” In some computing environments, processor set 110 may be designed for working with qubits and performing quantum computing.

[0019] Computer-readable program instructions are typically loaded onto computer 101 to cause a series of operational steps to be performed by processor set 110 of computer 101 and thereby effect a computer-implemented method, such that the instructions thus executed will instantiate the methods specified in flowcharts and / or narrative descriptions of computer-implemented methods included in this document (collectively referred to as “the inventive methods”). These computer-readable program instructions are stored in various types of computer-readable storage media, such as cache 121 and the other storage media discussed below. The program instructions, and associated data, are accessed by processor set 110 to control and direct performance of the inventive methods. In computing environment 100, at least some of the instructions for performing the inventive methods of illustrative embodiments may be stored in cyber scan optimization code 200 in persistent storage 113.

[0020] Communication fabric 111 is the signal conduction path that allows the various components of computer 101 to communicate with each other. Typically, this fabric is made of switches and electrically conductive paths, such as the switches and electrically conductive paths that make up buses, bridges, physical input / output ports, and the like. Other types of signal communication paths may be used, such as fiber optic communication paths and / or wireless communication paths.

[0021] Volatile memory 112 is any type of volatile memory now known or to be developed in the future. Examples include dynamic type random access memory (RAM) or static type RAM. Typically, volatile memory 112 is characterized by random access, but this is not required unless affirmatively indicated. In computer 101, the volatile memory 112 is located in a single package and is internal to computer 101, but, alternatively or additionally, the volatile memory may be distributed over multiple packages and / or located externally with respect to computer 101.

[0022] Persistent storage 113 is any form of non-volatile storage for computers that is now known or to be developed in the future. The non-volatility of this storage means that the stored data is maintained regardless of whether power is being supplied to computer 101 and / or directly to persistent storage 113. Persistent storage 113 may be a read only memory (ROM), but typically at least a portion of the persistent storage allows writing of data, deletion of data, and re-writing of data. Some familiar forms of persistent storage include magnetic disks and solid-state storage devices. Operating system 122 may take several forms, such as various known proprietary operating systems or open-source portable operating system interface-type operating systems that employ a kernel.

[0023] Peripheral device set 114 includes the set of peripheral devices of computer 101. Data communication connections between the peripheral devices and the other components of computer 101 may be implemented in various ways, such as Bluetooth connections, Near-Field Communication (NFC) connections, connections made by cables (such as universal serial bus (USB) type cables), insertion-type connections (for example, secure digital (SD) card), connections made through local area communication networks, and even connections made through wide area networks such as the internet. In various embodiments, UI device set 123 may include components such as a display screen, speaker, microphone, wearable devices (such as smart glasses and smart watches), keyboard, mouse, printer, touchpad, and haptic devices.

[0024] Storage 124 is external storage, such as an external hard drive, or insertable storage, such as an SD card. Storage 124 may be persistent and / or volatile. In some embodiments, storage 124 may take the form of a quantum computing storage device for storing data in the form of qubits. In embodiments where computer 101 is required to have a large amount of storage (e.g., where computer 101 locally stores and manages a large database) then this storage may be provided by peripheral storage devices designed for storing very large amounts of data, such as a storage area network (SAN) that is shared by multiple, geographically distributed computers.

[0025] IoT sensor set 125 is made up of sensors that can be used in Internet of Things applications. For example, one sensor may be a thermometer and another sensor may be a motion detector.

[0026] Network module 115 is the collection of computer software, hardware, and firmware that allows computer 101 to communicate with other computers through WAN 102. Network module 115 may include hardware, such as modems or Wi-Fi signal transceivers, software for packetizing and / or de-packetizing data for communication network transmission, and / or web browser software for communicating data over the internet. In some embodiments, network control functions and network forwarding functions of network module 115 are performed on the same physical hardware device. In other embodiments (e.g., embodiments that utilize software-defined networking (SDN)), the control functions and the forwarding functions of network module 115 are performed on physically separate devices, such that the control functions manage several different network hardware devices. Computer-readable program instructions for performing the inventive methods can typically be downloaded to computer 101 from an external computer or external storage device through a network adapter card or network interface included in network module 115.

[0027] WAN 102 is any wide area network (e.g., the internet) capable of communicating computer data over non-local distances by any technology for communicating computer data, now known or to be developed in the future. In some embodiments, the WAN 102 may be replaced and / or supplemented by local area networks (LANs) designed to communicate data between devices located in a local area, such as a Wi-Fi network. The WAN and / or LANs typically include computer hardware such as copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers, and edge servers.

[0028] EUD 103 is any computer system that is used and controlled by an end user (e.g., a system administrator who utilizes the cyber scan optimization services provided by computer 101), and may take any of the forms discussed above in connection with computer 101. EUD 103 typically receives helpful and useful data from the operations of computer 101. For example, in a hypothetical case where computer 101 is designed to provide a data object recovery point recommendation to the end user, this recommendation would typically be communicated from network module 115 of computer 101 through WAN 102 to EUD 103. In this way, EUD 103 can display, or otherwise present, the data object recovery point recommendation to the end user. In some embodiments, EUD 103 may be a client device, such as a thin client, heavy client, mainframe computer, desktop computer, laptop computer, tablet computer, smart phone, and so on.

[0029] Remote server 104 is any computer system that serves at least some data and / or functionality to computer 101. Remote server 104 may be controlled and used by the same entity that operates computer 101. Remote server 104 represents the machine(s) that collect and store helpful and useful data for use by other computers, such as computer 101. For example, in a hypothetical case where computer 101 is designed and programmed to provide a data object recovery point recommendation based on historical data, then this historical data may be provided to computer 101 from remote database 130 of remote server 104.

[0030] Public cloud 105 is any computer system available for use by multiple entities that provides on-demand availability of computer system resources and / or other computer capabilities, especially data storage (cloud storage) and computing power, without direct active management by the user. Cloud computing typically leverages sharing of resources to achieve coherence and economies of scale. The direct and active management of the computing resources of public cloud 105 is performed by the computer hardware and / or software of cloud orchestration module 141. The computing resources provided by public cloud 105 are typically implemented by virtual computing environments that run on various computers making up the computers of host physical machine set 142, which is the universe of physical computers in and / or available to public cloud 105. The virtual computing environments (VCEs) typically take the form of virtual machines from virtual machine set 143 and / or containers from container set 144. It is understood that these VCEs may be stored as images and may be transferred among and between the various physical machine hosts, either as images or after instantiation of the VCE. Cloud orchestration module 141 manages the transfer and storage of images, deploys new instantiations of VCEs and manages active instantiations of VCE deployments. Gateway 140 is the collection of computer software, hardware, and firmware that allows public cloud 105 to communicate through WAN 102.

[0031] Some further explanation of virtualized computing environments (VCEs) will now be provided. VCEs can be stored as “images.” A new active instance of the VCE can be instantiated from the image. Two familiar types of VCEs are virtual machines and containers. A container is a VCE that uses operating-system-level virtualization. This refers to an operating system feature in which the kernel allows the existence of multiple isolated user-space instances, called containers. These isolated user-space instances typically behave as real computers from the point of view of programs running in them. A computer program running on an ordinary operating system can utilize all resources of that computer, such as connected devices, files and folders, network shares, CPU power, and quantifiable hardware capabilities. However, programs running inside a container can only use the contents of the container and devices assigned to the container, a feature which is known as containerization.

[0032] Private cloud 106 is similar to public cloud 105, except that the computing resources are only available for use by a single entity. While private cloud 106 is depicted as being in communication with WAN 102, in other embodiments a private cloud may be disconnected from the internet entirely and only accessible through a local / private network. A hybrid cloud is a composition of multiple clouds of different types (for example, private, community or public cloud types), often respectively implemented by different vendors. Each of the multiple clouds remains a separate and discrete entity, but the larger hybrid cloud architecture is bound together by standardized or proprietary technology that enables orchestration, management, and / or data / application portability between the multiple constituent clouds. In this embodiment, public cloud 105 and private cloud 106 are both part of a larger hybrid cloud.

[0033] Public cloud 105 and private cloud 106 are programmed and configured to deliver cloud computing services and / or microservices (not separately shown in FIG. 1). Unless otherwise indicated, the word “microservices” shall be interpreted as inclusive of larger “services” regardless of size. Cloud services are infrastructure, platforms, or software that are typically hosted by third-party providers and made available to users through the internet. Cloud services facilitate the flow of user data from front-end clients (for example, user-side servers, tablets, desktops, laptops), through the internet, to the provider's systems, and back. In some embodiments, cloud services may be configured and orchestrated according to as “as a service” technology paradigm where something is being presented to an internal or external customer in the form of a cloud computing service. As-a-Service offerings typically provide endpoints with which various customers interface. These endpoints are typically based on a set of application programming interfaces (APIs). One category of as-a-service offering is Platform as a Service (PaaS), where a service provider provisions, instantiates, runs, and manages a modular bundle of code that customers can use to instantiate a computing platform and one or more applications, without the complexity of building and maintaining the infrastructure typically associated with these things. Another category is Software as a Service (Saas) where software is centrally hosted and allocated on a subscription basis. SaaS is also known as on-demand software, web-based software, or web-hosted software. Four technological sub-fields involved in cloud services are: deployment, integration, on demand, and virtual private networks.

[0034] As used herein, when used with reference to items, “a set of” means one or more of the items. For example, a set of clouds is one or more different types of cloud environments. Similarly, “a number of,” when used with reference to items, means one or more of the items. Moreover, “a group of” or “a plurality of” when used with reference to items, means two or more of the items.

[0035] Further, the term “at least one of,” when used with a list of items, means different combinations of one or more of the listed items may be used, and only one of each item in the list may be needed. In other words, “at least one of” means any combination of items and number of items may be used from the list, but not all of the items in the list are required. The item may be a particular object, a thing, or a category.

[0036] For example, without limitation, “at least one of item A, item B, or item C” may include item A, item A and item B, or item B. This example may also include item A, item B, and item C or item B and item C. Of course, any combinations of these items may be present. In some illustrative examples, “at least one of” may be, for example, without limitation, two of item A, one of item B, and ten of item C, or four of item B and seven of item C, or other suitable combinations.

[0037] With the rise of cybersecurity incidents such as ransomware and other malware affecting entities (e.g., enterprises, businesses, companies, organizations, institutions, agencies, and the like) at an exponentially-rising rate, data resiliency is of foremost concern for many technical infrastructure leaders. As such, these technical infrastructure leaders are implementing holistic data protection and data resiliency solutions to help facilitate data protection, enable incident detection, and orchestrate recovery.

[0038] A component to these holistic data protection and data resiliency solutions is automated malware scanning of recovery points (e.g., data backups) to help identify an uncontaminated or safe point-in-time prior to data compromise (e.g., malware infection). Such automated malware scanning often involves performing restores of data objects to a segregated malware scanning storage location (e.g., cleanroom) where scanning takes place. Depending on the type and characteristics of the data objects being protected (e.g., virtual machine images, databases, flash storage volumes, or the like), the sheer volume of data that is retrieved and processed by a scan can be problematic in terms of network bandwidth, malware scanning storage location space, and, critically, time. Thus, a need exists to optimize the automated malware scanning and identification process so that uncontaminated or safe recovery points can be identified and the minimum viable operation of an entity can be restored in the fastest way possible.

[0039] Illustrative embodiments enable intelligent collaboration between the malware scanning application and the data protection application. The malware scanning application is responsible for performing a cyber scan (also known as a cybersecurity scan) against data objects and providing an indication as to whether the data objects are “uncontaminated” or “contaminated.” As used herein, uncontaminated means that a data object is uncompromised or free from malware infection (e.g., in a “healthy” state).

[0040] Conversely, contaminated means that the data object is compromised or containing a malware infection (e.g., in a “sick” state).

[0041] The data protection application provides a set of data files representing a backup copy of a data object (e.g., a backup generation version) for certain protected data, either via performing a restore of the set of data files representing the copy of the data object to a segregated malware scanning storage location or via exposing a mount point where the malware scanning application can mount the set of data files and perform a scan against. The malware scanning application processes each respective data file of the set of data files representing the copy of the data object that the data protection application either presented or exposed to the malware scanning application. Afterward, the malware scanning application provides an indication of either uncontaminated or contaminated for each respective data file of the set of data files representing that particular data object.

[0042] As the data protection application processes a backup generation version corresponding to a particular data object, the data protection application is aware of which portions of that particular data object have changed in the form of ranges of data extents for that particular data object. A data extent is a logical contiguous unit or block of data. Together, the malware scanning application and the data protection application are capable of determining uncontaminated and contaminated recovery points for that particular data object and providing an indication to the user of a safe recovery point for that particular data object prior to a malware infection.

[0043] It should be noted that the description below utilizes certain acronyms and terms for the optimization and analysis algorithms utilized by the data protection application of illustrative embodiments. The acronyms and terms may include, for example: “CSE files;”“DEL files;”“IS;”“CURRENT;”“PREVIOUS;” and “RECOVERY_POINTS.”

[0044] The acronym CSE files stands for Cyber Scan Efficient files. Cyber Scan Efficient files are a set of files corresponding to a copy of a data object (e.g., a particular backup generation version) that the data protection application has optimized for presentation or exposure to the malware scanning application for scanning. The acronym DEL files stands for Data Extent Layout files. Data Extent Layout files are deduplicated data extent layout mapping files for specific backup generation versions of the data object and provide the reconstruction order of the data extents to rebuild the data object. The acronym IS stands for Identical Score. The Identical Score represents an amount or level of similarity between two sequences of deduplicated data extents that the data protection application is comparing in two different backup generation versions of the data object. The data protection application increments the Identical Score for each matching deduplicated data extent.

[0045] The term CURRENT represents the current backup generation version of the data object that the data protection application is currently evaluating. The term PREVIOUS represents the former (e.g., immediately prior or preceding) CURRENT backup generation version of the data object that the data protection application had just previously evaluated. The term RECOVERY_POINTS represents a set of one or more recovery points corresponding to the data object that the data protection application determined to be uncontaminated. The data protection application presents the set of recovery points to a user for selection to recover the data object at a point in time prior to malware infection.

[0046] Illustrative embodiments also use certain parameters as input to the optimization algorithm of the data protection application to modify or alter the behavior of the optimization algorithm. The parameters may include, for example, “[GENERATIONS],”“[MAX_ITERATIONS],”“[N_FACTOR],”“[FULL_THRESHOLD],” and “[FULL_IF_CONTAMINATED].”

[0047] The parameter [GENERATIONS] represents a defined number of sequential uncontaminated backup generation versions of the data object that the data protection application is to find. The data protection application uses this defined number of sequential uncontaminated backup generation versions of the data object as the set of uncontaminated recovery points that the data protection application presents to the user for selection.

[0048] The parameter [MAX_ITERATIONS] represents a defined maximum number of backup generation versions of the data object that the data protection application is to evaluate. Illustrative embodiments use this defined maximum number of backup generation versions of the data object to evaluate as a way to limit the optimization algorithm of the data protection algorithm.

[0049] The parameter [N_FACTOR] represents the “neighboring factor” that the optimization algorithm of the data protection application utilizes to determine the number or percentage of deduplicated data extents to add to either or both ends of the CSE files (i.e., Cyber Scan Efficient files) that the data protection application presents or exposes to the malware scanning application for scanning. The optimization algorithm uses the added deduplicated data extents to the ends of the CSE files as a buffer for attaining a minimum viable scan to address possible straddling of malware affecting previously uncontaminated data.

[0050] The parameter [FULL_THRESHOLD] represents a defined maximum percentage threshold level of data difference between two backup generation versions of the data object. If the data protection application determines that the data difference between two backup generation versions of the data object is greater than or equal to the defined maximum percentage threshold level, then the data protection application presents the entire current backup generation of the data object to the malware scanning application for a full security scan instead of a data protection application CSE-optimized scan. Conversely, if the data protection application determines that the data difference between the two backup generation versions of the data object is less than the defined maximum percentage threshold level, then the data protection application presents only the optimized CSE files corresponding to the data object to the malware scanning application for scanning instead of the entire current backup generation version of the data object.

[0051] The parameter [FULL_IF_CONTAMINATED] represents a Boolean value that controls whether or not the data protection application is to present a non-optimized next-oldest backup generation version of the data object in its entity to the malware scanning application when the current backup generation version being evaluated by the data protection application is found to be contaminated (i.e., failed a scan by the malware scanning application).

[0052] At first, the data protection application presents the current backup generation version of the data object that is currently being evaluated to the malware scanning application for scanning. If the malware scanning application finds that the current backup generation version of data object is contaminated, then the data protection application evaluates the [FULL_IF_CONTAMINATED] Boolean.

[0053] If the data protection application determines that the [FULL_IF_CONTAMINATED] Boolean is set to true, then the data protection application moves to the previous unoptimized backup generation version of the data object in its entirety. Then, the data protection application presents this previous unoptimized backup generation version of the data object in its entirety to the malware scanning application as a new current backup generation version of the data object for scanning. In other words, the malware scanning application scans the new current backup generation version fully without any optimizations made by the data protection application.

[0054] If the data protection application determines that the [FULL_IF_CONTAMINATED] Boolean is set to false, then the data protection application still moves to the previous unoptimized backup generation version of the data object as the new current backup generation version of the data object, but now utilizes the optimization algorithm described below to generate optimized CSE files containing changed data extent ranges representing the differences between two backup generation versions along with the [N_FACTOR]-based buffer added to the CSE files. Within the analysis algorithm, the current backup generation version becomes PREVIOUS (i.e., the former current backup generation version), while the backup generation version being compared to a later backup generation version becomes the next backup generation version (i.e., the new current backup generation version). In addition to these changed data extent ranges, the optimization algorithm also adds to the CSE files the ranges of the backup generation versions that the malware scanning application identified as contaminated. The malware scanning application scans these optimized CSE files. However, if the malware scanning application does not support identifying the contaminated ranges of the backup generation versions, then the data protection application behaves as though the [FULL_IF_CONTAMINATED] Boolean is set to true moving to the next unoptimized previous backup generation version of the data object in its entirety.

[0055] If the malware scanning application finds that the current backup generation version of data object currently being evaluated (known as the PREVIOUS backup generation version in the analysis algorithm during comparison) is uncontaminated, then the data protection application adds this uncontaminated current backup generation version of the data object to a set of recovery points (RECOVERY_POINTS) available to the user for recovering the data object from malware infection. Afterward, the data protection application moves to the previous backup generation version of the data object where this previous backup generation version now becomes the new current backup generation version for comparison. The data protection application utilizes the optimization algorithm described below to generate the optimized CSE files containing changed data extent ranges representing the differences between two backup generation versions along with the [N_FACTOR]-based buffer added to the CSE files. These CSE files become the files that the malware scanning application is to scan.

[0056] When the data protection application iterates to the previous (e.g., next) backup generation version of the data object, the data protection application only needs to identify the differences between the current backup generation version of the data object being evaluated and the previous backup generation version of the data object. However, it should be noted that these identified differences between backup generation versions should be large enough for the malware scanning application to perform a valid cyber scan. This is why the data protection application uses the [N_FACTOR]-based buffer to expand the generated CSE files to satisfy the valid cyber scan requirement.

[0057] Given that the data protection application has performed deduplication of data extents of the data object, the data protection application only needs to identify the minimal differences or changes between two backup generation versions of the data object and present these minimal differences as CSE files to the malware scanning application. The data protection application utilizes the [FULL_IF_CONTAMINATED] Boolean when the user wants to be cautious and have the malware scanning application fully scan the next backup generation version of the data object after the malware scanning application found a contaminated backup generation version, rather than scanning optimized CSE files.

[0058] Illustrative embodiments do not need to alter the functioning of the malware scanning application. For example, the data protection application only presents data files that the malware scanning application is capable of processing and is aware of those malware scanning application requirements. The intention of illustrative embodiments is to minimize the amount of data the malware scanning application needs to scan for each backup generation version of the data object so that illustrative embodiments can identify a set of uncontaminated data object backup generation versions (e.g., recovery points) by the quickest means possible.

[0059] It should be noted that in the optimization algorithm described below, the data protection application can present data files to the malware scanning application for scanning in different ways. For example, the data protection application may retrieve and present relevant data files representing a copy of the data object to a malware scanning storage location hosted separately where the malware scanning application can scan the relevant data files. Alternatively, the data protection application may retrieve and expose a mount point corresponding to the relevant data files to the malware scanning application whereby the malware scanning application can access and scan the relevant data files directly.

[0060] The optimization algorithm of the data protection application starts by initializing a set of recovery points (RECOVERY_POINTS) to empty. It should be noted that the malware scanning application has determined that the set of recovery points is uncontaminated. In addition, the optimization algorithm sets the most recent backup generation version of the data object as the current backup generation version (CURRENT) being evaluated. Further, the optimization algorithm retrieves and presents the full unoptimized current backup generation version of the data object to the malware scanning application for scanning.

[0061] Afterward, the optimization algorithm initiates a backup generation version evaluation loop. The optimization algorithm exits the backup generation version evaluation loop when the maximum number of backup generation versions to be evaluated by the optimization algorithm is met ([MAX_ITERATIONS]). Otherwise, if the maximum number of backup generation versions to be evaluated by the optimization algorithm has not been met, the optimization algorithm continues the backup generation version evaluation loop.

[0062] For example, if the malware scanning application indicates that the current backup generation version of the data object (CURRENT) is contaminated, then the optimization algorithm marks the current backup generation version as contaminated. In addition, the optimization algorithm sets the set of RECOVERY_POINTS to empty because the defined number of sequential uncontaminated backup generation versions ([GENERATIONS]) has not been met. Further, the optimization algorithm sets the current backup generation version being evaluated equal to a previous backup generation version of the data object. Furthermore, if the [FULL_IF_CONTAMINATED] Boolean value is set to true or the malware scanning application does not support reporting contaminated data ranges within the current backup generation version being scanned, then the optimization algorithm retrieves and presents the full unoptimized backup generation version of the data object to the malware scanning application for scanning and returns to the start of the version evaluation loop above.

[0063] Alternatively, if the [FULL_IF_CONTAMINATED] Boolean value is set to false, then the optimization algorithm executes the analysis algorithm described below to generate a set of CSE files representing the optimized difference between the CURRENT backup generation version of the data object and the most recent (e.g., immediately preceding) CURRENT backup generation version of the data object, which the optimization algorithm labelled as a PREVIOUS backup generation version of the data object. In addition, the optimization algorithm adds the contaminated data extent ranges reported by the malware scanning application (if supported) as additional CSE files to the set of CSE files. The optimization algorithm presents this set of CSE files to the malware scanning application for scanning. Afterward, the optimization algorithm returns to the start of the version evaluation loop above.

[0064] If the malware scanning application indicates that the current backup generation version of the data object (CURRENT) is uncontaminated, then the optimization algorithm adds the CURRENT backup generation version to the set of RECOVERY_POINTS. If the number of recovery points in the set of RECOVERY_POINTS is equal to the defined number of sequential uncontaminated backup generation versions to find ([GENERATIONS]), then the optimization algorithm stops the backup generation version evaluation loop. Alternatively, if the number of recovery points in the set of RECOVERY_POINTS is less than the defined number of sequential uncontaminated backup generation versions to find, then the optimization algorithm sets the current backup generation version being evaluated equal to the previous backup generation version of the data object. In addition, the optimization algorithm executes the analysis algorithm described below to generate the set of CSE files representing the optimized difference between the CURRENT backup generation version of the data object and the immediately preceding CURRENT backup generation version of the data object, which the optimization algorithm labelled as the PREVIOUS backup generation version of the data object. Further, the optimization algorithm presents the set of CSE files to the malware scanning application for scanning. Afterward, the optimization algorithm returns to the start of the backup generation version evaluation loop above.

[0065] In response to the optimization algorithm determining that the maximum number of backup generation versions to be evaluated by the optimization algorithm has been met ([MAX_ITERATIONS]), the optimization algorithm exits the backup generation version evaluation loop. Afterward, the optimization algorithm returns the set of RECOVERY_POINTS to the user as the available uncontaminated set of recovery points for data object.

[0066] Description of the analysis algorithm follows. The analysis algorithm starts by retrieving data extent layout mappings for the current NEXT backup generation version of the data object and the PREVIOUS backup generation version of the data object. The analysis algorithm stores these data extent layout mappings within Data Extent Layout (DEL) files (e.g., a DEL.PREVIOUS file and a DEL.NEXT file). In addition, the analysis algorithm initializes the data extent pointers for the previous Data Extent Layout file (DEL.PREVIOUS file) and the current next Data Extent Layout file (current DEL. NEXT file) to zero.

[0067] Further, the analysis algorithm, using a data process function, processes the DEL.PREVIOUS file and the current DEL.NEXT file by comparing data extents looking for matching data extents. Furthermore, the analysis algorithm adjusts the PREVIOUS CSE files, which are not part of the current NEXT CSE files, based on the [N_FACTOR]-based buffer that expands the PREVIOUS CSE files to include at least one of preceding data extents and succeeding data extents to address possible malware straddling of CSE files. The analysis algorithm returns a set of PREVIOUS CSE files, which are not part of the current NEXT CSE files, to the malware scanning application for scanning.

[0068] Description of the data process function of the analysis algorithm follows. The data processing function starts with pointers at position zero for both the previous Data Extent Layout file (DEL.PREVIOUS file) and the current next Data Extent Layout file (current DEL.NEXT file). Then, the data process function begins evaluating data extents within the current DEL.NEXT file. During the Identical Analysis Phase of the analysis algorithm, for each data extent pointed to within the current DEL.NEXT file, the data process function searches for a matching data extent (e.g., that same data extent) within the DEL.PREVIOUS file. For example, the data process function determines whether the data extent at the current position of the pointer in the current DEL.NEXT file is the same data extent as the data extent at the current position of the pointer in the DEL.PREVIOUS file.

[0069] If the data process function determines that a matching data extent exists within the current DEL.NEXT file and the DEL.PREVIOUS file, then the data process function identifies the pointer position of the matching data extent within the DEL.PREVIOUS file relative to the beginning of the DEL.PREVIOUS file and records the identified pointer position of the matching data extent within the DEL.PREVIOUS file as a counterpart index for the matching data extent within the current DEL.NEXT file. Otherwise, if the data process function does not find a matching data extent within the DEL.PREVIOUS file at the current pointer position within the current DEL.NEXT file, then the data process function marks the counterpart index corresponding to that particular data extent at the current pointer position within the current DEL.NEXT file as infinite.

[0070] The data process function also determines whether the counterpart index corresponding to the data extent at the current pointer position within the current DEL.NEXT file is adjacent to another counterpart index corresponding to another data extent at an immediately preceding pointer position within the current DEL.NEXT file.

[0071] If the counterpart index of a data extent at the current pointer position within the current DEL.NEXT file is adjacent to the counterpart index of a preceding data extent at the immediately preceding pointer position within the current DEL.NEXT file, then the data process function increases the Identical Score by one. Otherwise, if the counterpart index of the data extent at the current pointer position within the current DEL.NEXT file is not adjacent to the counterpart index of a preceding data extent at the immediately preceding pointer position within the current DEL.NEXT file, then the data process function sets the Identical Score to one. In addition, when the counterpart index of that particular data extent at the current pointer position within the current DEL.NEXT file is marked as infinite, the data process function sets the Identical Score to zero.

[0072] Further, the data process function determines whether the Identical Score is greater than or equal to a predefined Identical Score threshold level (IS_THRESHOLD). If the data process function determines that the Identical Score is less than the predefined IS_THRESHOLD, then the data process function moves the pointer position for the DEL.PREVIOUS file to the next data extent after the data extent corresponding to the counterpart index and increments the current pointer position for the current DEL.NEXT file by one to the next data extent.

[0073] If the data process function determines that the Identical Score is greater than or equal to the predefined IS_THRESHOLD, then the data process function generates a new CSE file and adds contiguous data extents corresponding to the latest increase in the Identical Score within the current DEL.NEXT file to the new CSE file. The data process function then moves the pointer of the DEL.PREVIOUS file to the next data extent after the data extent corresponding to the counterpart index. In addition, the data process function increments the data extent pointer of the current DEL.NEXT file by one.

[0074] Afterward, the process data function changes from the Identical Analysis Phase to an Organic Growth Phase. During the Organic Growth phase, the data process function compares the data extent pointed to within the current DEL.NEXT file to the data extent pointed to within the DEL.PREVIOUS file.

[0075] If the data process function determines that signatures of both data extents pointed to within the current DEL.NEXT file and the DEL.PREVIOUS file are equal (e.g., the same data extent), then the data process function adds this matching data extent into the current new CSE file and increments the data extent pointer in both the DEL.PREVIOUS file and the current DEL.NEXT file by one. Then, the data process function returns to the start of the Organic Growth Phase where the data process function continues comparing data extents.

[0076] If the data process function determines that signatures of both data extents pointed to within the current DEL.NEXT file and the DEL.PREVIOUS file are not equal (e.g., not the same data extent), then the data process function closes the current new Cyber Scan Efficient file and records the set of data extents, from both the DEL.PREVIOUS file and the current DEL.NEXT file, that comprise the current new CSE file. In addition, the data process function resets the Identical Score to zero and moves the data extent pointer for the DEL.PREVIOUS file to the next data extent after the data extent corresponding to the counterpart index. Afterward, the data process function returns to the start of the Identical Analysis Phase where the data process function continues searching for matching data extents within the current DEL.NEXT file and the DEL.PREVIOUS file.

[0077] It should be noted that the data process function continues comparing data extents until the data extent pointer exceeds the size of the current DEL.NEXT file. The data process function subsequently returns a set of CSE files corresponding to the current next DEL.NEXT file, which ends performance of the data process function and analysis algorithm.

[0078] Thus, illustrative embodiments provide deduplication awareness allowing for the generation of space and time-efficient CSE files that illustrative embodiments present to the malware scanning application for scanning. Illustrative embodiments compare successive backup generation versions of the data object to identify changed data extent ranges between backup generation versions in need of malware scanning to generate the optimized CSE files.

[0079] Hence, illustrative embodiments provide one or more technical solutions that overcome a technical problem with the amount of time and storage space needed by current solutions to perform a cyber scan of a contaminated data object. As a result, these one or more technical solutions provide a technical effect and practical application in the field of cyber scans.

[0080] With reference now to FIG. 2, a diagram illustrating an example of a cyber scan optimization system is depicted in accordance with an illustrative embodiment. Cyber scan optimization system 201 may be implemented in a computing environment, such as computing environment 100 in FIG. 1. Cyber scan optimization system 201 is a collection of hardware and software components for minimizing the amount of data that a data protection application needs to present to a malware scanning application for scanning to determine a set of uncontaminated recovery points for a data object to recover the data object as quickly as possible after contamination.

[0081] In this example, cyber scan optimization system 201 includes computer 202, client device 204, and host device 206. Computer 202 may be, for example, computer 101 in FIG. 1. Client device 204 may be, for example, EUD 103 in FIG. 1. Host device 206 may be, for example, one of host physical machine set 142 in FIG. 1. However, it should be noted that cyber scan optimization system 201 is intended as an example only and not as a limitation on illustrative embodiments. For example, cyber scan optimization system 201 may include any number of computers, client devices, host devices, and other devices and components not shown.

[0082] In this example, at 208, user 210 sends a cyber scan optimization request corresponding to data object 212 to computer 202 via client device 204. Data object 212 may be, for example, a virtual machine image, a database, a flash storage volume, or the like. In response to receiving the cyber scan optimization request, computer 202 uses data protection application 214 to retrieve backup generation versions 216 from host device 206. However, even though backup generation versions 216 are shown as residing on host device 206, in alternative illustrative embodiments backup generation versions 216 may reside on one or more different host devices or storage locations. Backup generation versions 216 are different sets of data files, where each set of data files represents a different backup copy of data object 212. Each respective backup generation version of backup generation versions 216 is comprised of data extents 218. Data extents 218 represent a plurality of logical data chunks or segments within a particular backup generation version.

[0083] Data protection application 214 includes optimization algorithm 220 and analysis algorithm 222. Analysis algorithm 222 includes data process function 224. Data protection application 214 uses optimization algorithm 220, analysis algorithm 222, and data process function 224 to generate Cyber Scan Efficient files 226. Cyber Scan Efficient files 226 contain changed data extents 228. Changed data extents 228 represent differences or variations in data extents 218 corresponding to two different versions of backup generation versions 216. Changed data extents 228 may include buffer 230. Buffer 230 represents a set of specified data extents added to at least one of the beginning or end of a changed data extent to cover for potential malware straddling of different data extents. It should be noted that Cyber Scan Efficient files 226 correspond not just to data object 212 alone, but rather Cyber Scan Efficient files 226 correspond to a space-optimized version of deduplication-aware changes made between successive backup generation versions 216 of data object 212 along with buffer 230. In other words, Cyber Scan Efficient files 226 are space-optimized, deduplication-aware differences between backup generation versions 216.

[0084] Data protection application 214 only presents Cyber Scan Efficient files 226 to malware scanning application 232 for scanning which decreases the amount of time to scan for and identify data contamination in one or more of backup generation versions 216. Based on a result of the cyber scans performed by malware scanning application 232 on each of backup generation versions 216, data protection application is able to identify a set of uncontaminated recovery points for data object 212. At 234, data protection application 214 outputs the set of uncontaminated recovery points to client device 204 corresponding to user 210. User 210 may send a selection of a particular uncontaminated recovery point to computer 202 for computer 202 to automatically recover data object 212 at a point prior to contamination.

[0085] With reference now to FIGS. 3A-3B, a flowchart illustrating a process for an optimization algorithm is shown in accordance with an illustrative embodiment. The process shown in FIGS. 3A-3B may be implemented in a computer, such as, for example, computer 101 in FIG. 1 or computer 202 in FIG. 2. For example, the process shown in FIGS. 3A-3B may be implemented by cyber scan optimization code 200 in FIG. 1.

[0086] The process begins when the computer receives a cyber scan optimization request from a client device of a user (operation 302). In response to receiving the cyber scan optimization request, the computer initializes a set of recovery points (RECOVERY_POINTS) to empty using the optimization algorithm (operation 304). In addition, using the optimization algorithm, the computer sets a most recent backup generation version of a data object as a current backup generation version (CURRENT) being evaluated by the optimization algorithm (operation 306). Further, using the optimization algorithm, the computer retrieves and presents a full unoptimized current backup generation version of the data object to a malware scanning application for scanning (operation 308).

[0087] Afterward, the computer makes a determination as to whether a maximum number of backup generation versions to be evaluated by the optimization algorithm ([MAX_ITERATIONS]) has been reached (operation 310). If the computer determines that the maximum number of backup generation versions to be evaluated by the optimization algorithm has been reached, it results in a yes output of operation 310. As a result of the yes output of operation 310, the process terminates. If the computer determines that the maximum number of backup generation versions to be evaluated by the optimization algorithm has not been reached, it results in a no output of operation 310. As a result of the no output of operation 310, using the optimization algorithm, the computer determines whether the scan by the malware scanning application indicates that the current backup generation version of the data object (CURRENT) is contaminated (operation 312).

[0088] If the computer determines that the scan by the malware scanning application does indicate that the current backup generation version of the data object (CURRENT) is contaminated, it results in a yes output of operation 312. As a result of the yes output of operation 312, the computer marks the current backup generation version of the data object (CURRENT) as contaminated using the optimization algorithm (operation 314).

[0089] In addition, using the optimization algorithm, the computer sets the set of recovery points (RECOVERY_POINTS) to empty (operation 316). Further, using the optimization algorithm, the computer sets the current backup generation version of the data object (CURRENT) to a previous backup generation version of the data object (operation 318).

[0090] Furthermore, using the optimization algorithm, the computer makes a determination as to whether a [FULL_IF_CONTAMINATED] Boolean value is set to true (operation 320). If the computer determines that the [FULL_IF_CONTAMINATED] Boolean value is set to true, it results in a yes output of operation 320. As a result of the yes output of operation 320, using the optimization algorithm, the computer retrieves and presents the full unoptimized backup generation version of the data object (CURRENT) to the malware scanning application for scanning (operation 322). Thereafter, the process returns to operation 310.

[0091] Returning to operation 320, if the computer determines that the [FULL_IF_CONTAMINATED] Boolean value is set to false, it results in a no output of operation 320. As a result of the no output of operation 320, the computer retrieves a set of Cyber Scan Efficient files (CSE files) (operation 324). The set of CSE files represents the optimized difference between the current backup generation version of the data object (CURRENT) and a more recent CURRENT backup generation version of the data object. The set of CSE files corresponds not just to the data object, but rather the set of CSE files corresponds to a space-optimized version of deduplication-aware changes made between the successive backup generations of the data object along with some buffer. In other words, the set of CSE files are the space-optimized, deduplication-aware differences between the two backup generation versions. The optimization algorithm labels the more recent current backup generation version of the data object as a previous backup generation version of the data object (PREVIOUS).

[0092] In addition, the computer adds contaminated data extent ranges reported by the malware scanning application as additional CSE files to the set of CSE files (operation 326). Further, the computer presents the set of CSE files to the malware scanning application for scanning (operation 328). Thereafter, the process returns to operation 310.

[0093] Returning to operation 312, if the computer determines that the scan by the malware scanning application does not indicate that the current backup generation version of the data object (CURRENT) is contaminated, it results in a no output of operation 312. As a result of the no output of operation 312, using the optimization algorithm, the computer adds the current backup generation version of the data object (CURRENT) to the set of recovery points (RECOVERY_POINTS) (operation 330). Afterward, using the optimization algorithm, the computer determines whether a number of recovery points in the set of recovery points is equal to a defined number of sequential uncontaminated backup generation versions ([GENERATIONS]) (operation 332).

[0094] If the computer determines that the number of recovery points in the set of recovery points is equal to [GENERATIONS], it results in a yes output of operation 332. As a result of the yes output of operation 332, the computer outputs the set of recovery points (RECOVERY_POINTS) (operation 334). Thereafter, the process terminates.

[0095] If the computer determines that the number of recovery points in the set of recovery points (RECOVERY_POINTS) is less than the defined number of sequential uncontaminated backup generation versions ([GENERATIONS]), it results in a no output of operation 332. As a result of the no output of operation 332, using the optimization algorithm, the computer sets the current backup generation version of the data object (CURRENT) equal to the previous backup generation version of the data object (PREVIOUS) (operation 336). In addition, the computer retrieves the set CSE files representing the optimized difference between the current backup generation version of the data object (CURRENT) and the more recent CURRENT backup generation version of the data object (PREVIOUS) (operation 338). Thereafter, the process returns to operation 328.

[0096] With reference now to FIG. 4, a flowchart illustrating a process for an analysis algorithm is shown in accordance with an illustrative embodiment. The process shown in FIG. 4 may be implemented in a computer, such as, for example, computer 101 in FIG. 1 or computer 202 in FIG. 2. For example, the process shown in FIG. 4 may be implemented by cyber scan optimization code 200 in FIG. 1.

[0097] The process begins when the computer retrieves data extent layout mappings for a current NEXT backup generation version of the data object and a PREVIOUS backup generation version of the data object using the analysis algorithm (operation 402). Using the analysis algorithm, the computer stores the data extent layout mappings within a Data Extent Layout previous file (DEL.PREVIOUS file) and a Data Extent Layout next file (DEL.NEXT file) (operation 404).

[0098] In addition, using the analysis algorithm, the computer initializes data extent pointers for the DEL.PREVIOUS file and the DEL.NEXT file to zero (operation 406). Further, using a data process function of the analysis algorithm, the computer analyze data extents contained in the DEL.PREVIOUS file and the DEL.NEXT file based on the data extent layout mappings for the current NEXT backup generation version of the data object and a PREVIOUS backup generation version of the data object (operation 408).

[0099] Furthermore, using the analysis algorithm, the computer generates previous Cyber Scan Efficient files (PREVIOUS CSE files) based on returned next Cyber Scan Efficient files (NEXT CSE files) (operation 410). It should be noted that each of the PREVIOUS CSE files consists only of a set of data extents comprising each adjacent string of gaps between the NEXT CSE files returned by the data process function, along with appended data extents only present in the PREVIOUS CSE files.

[0100] Moreover, using the analysis algorithm, the computer expands the PREVIOUS CSE files by the N_FACTOR to include at least one of a set of preceding data extents and a set of succeeding data extents to address potential malware straddling between CSE files (operation 412). Afterward, using the analysis algorithm, the computer returns a set of PREVIOUS CSE files that are not part of the NEXT CSE files for presentation to the malware scanning application for scanning.

[0101] With reference now to FIGS. 5A-5B, a flowchart illustrating a process for a data process function is shown in accordance with an illustrative embodiment. The process shown in FIGS. 5A-5B may be implemented in a computer, such as, for example, computer 101 in FIG. 1 or computer 202 in FIG. 2. For example, the process shown in FIGS. 5A-5B may be implemented by cyber scan optimization code 200 in FIG. 1.

[0102] The process begins when the computer initializes pointers “i” and “j” for Data Extent Layout next file (DEL.NEXT file) and Data Extent Layout previous file (DEL.PREVIOUS file), respectively, to position zero using the data processing function (operation 502). Afterward, the computer evaluates and compares data extents at different pointer positions within the DEL.NEXT file and the DEL.PREVIOUS file. For example, during Identical Analysis Phase 503 of the data process function, at each pointer “i” position corresponding to a particular data extent within the DEL.NEXT file, the data process function searches for a matching data extent at each corresponding pointer “j” position within the DEL.PREVIOUS file. As a result, using the data process function, the computer makes a determination as to whether a data extent at a current position of pointer “i” in the DEL.NEXT file is equal to a data extent at a current position of pointer “j” in the DEL.PREVIOUS file (operation 504).

[0103] If the computer determines that the data extent at the current position of pointer “i” in the DEL.NEXT file is equal to the data extent at the current position of pointer “j” in the DEL.PREVIOUS file, it results in a yes output of operation 504. As a result of the yes output of operation 504, using the data process function, the computer identifies the position of pointer “j” corresponding to the data extent within the DEL.PREVIOUS file relative to a beginning of the DEL.PREVIOUS file as a counterpart index for the data extent at the position of pointer “i” within the DEL.NEXT file (operation 506).

[0104] Using the data process function, the computer makes a determination as to whether the counterpart index corresponding to the data extent at the current position of pointer “i” within the DEL.NEXT file is adjacent to another counterpart index corresponding to another data extent at an immediately preceding position of pointer “i” (e.g., “i”−1) within the current DEL.NEXT file (operation 508). If the computer determines whether the counterpart index corresponding to the data extent at the current position of pointer “i” within the DEL.NEXT file is adjacent to another counterpart index corresponding to another data extent at the immediately preceding position of pointer “i” within the current DEL.NEXT file, it results in a yes output of operation 508. As a result of the yes output of operation 508, using the data process function, the computer increments an Identical Score by one (operation 510). Thereafter, the process proceeds to operation 518.

[0105] Returning to operation 508, if the computer determines whether the counterpart index corresponding to the data extent at the current position of pointer “i” within the DEL.NEXT file is not adjacent to another counterpart index corresponding to another data extent at the immediately preceding position of pointer “i” within the current DEL.NEXT file, it results in a no output of operation 508. As a result of the no output of operation 508, using the data process function, the computer sets the Identical Score to one (operation 512). Thereafter, the process proceeds to operation 518.

[0106] Returning to operation 504, if the computer determines that the data extent at the current position of pointer “i” in the DEL.NEXT file is not equal to the data extent at the current position of pointer “j” in the DEL.PREVIOUS file, it results in a no output of operation 504. As a result of the no output of operation 504, using the data process function, the computer marks the counterpart index corresponding to the data extent at the current position of pointer “i” within the DEL.NEXT file as infinite (operation 514). In addition, using the data process function, the computer sets the Identical Score to zero in response to marking the counterpart index of the data extent at the current position of pointer “i” within the current DEL.NEXT file as infinite (operation 516).

[0107] Using the data process function, the computer makes a determination as to whether the Identical Score is greater than or equal to a predefined Identical Score threshold level (IS_THRESHOLD) (operation 518). If the computer determines that the Identical Score is less than the IS_THRESHOLD, it results in a no output of operation 518. As a result of the no output of operation 518, using the data process function, the computer moves the position of pointer “j” for the DEL.PREVIOUS file to the next data extent after the data extent corresponding to the counterpart index and increments the current position of pointer “i” for the DEL.NEXT file by one (e.g., “i”+1) to a next data extent (operation 520). Thereafter, the process returns to operation 504.

[0108] Returning to operation 518, if the computer determines that the Identical Score is greater than or equal to the IS_THRESHOLD, it results in a yes output of operation 518. As a result of the yes output of operation 518, using the data process function, the computer generates a new Cyber Scan Efficient file (new CSE file) and adds contiguous data extents corresponding to the latest increase in the Identical Score within the DEL.NEXT file to the new CSE file (operation 522). In addition, using the data process function, the computer moves the position of pointer “j” in the DEL.PREVIOUS file to the next data extent after the data extent corresponding to the counterpart index and increments the position of pointer “i” in the DEL.NEXT file by one (e.g., “i”+1) (operation 524).

[0109] Afterward, the process data function changes from Identical Analysis Phase 503 to Organic Growth Phase 525. During Organic Growth Phase 525, using the data process function, the computer compares the data extent pointed to within the DEL.NEXT file to the data extent pointed to within the DEL.PREVIOUS file.

[0110] Afterward, using the data process function, the computer makes a determination as to whether the next data extent pointed to by pointer “i” within the DEL.NEXT file is equal to the next data extent pointed to by pointer “j” within the DEL.PREVIOUS file (operation 526).

[0111] If the computer determines that the next data extent pointed to by pointer “i” within the DEL.NEXT file is equal to the next data extent pointed to by pointer “j” within the DEL.PREVIOUS file, it results in a yes output of operation 526. As a result of the yes output of operation 526, using the data process function, the computer adds the next data extent into the new CSE file (operation 528). Further, using the data process function, the computer increments the position of pointer “i” in the DEL.NEXT file and the position of pointer “j” in the DEL.PREVIOUS file by one (operation 530). Thereafter, the process returns to operation 526.

[0112] If the computer determines that the next data extent pointed to by pointer “i” within the DEL.NEXT file is not equal to the next data extent pointed to by pointer “j” within the DEL.PREVIOUS file, it results in a no output of operation 526. As a result of the no output of operation 526, using the data process function, the computer closes the new CSE file (operation 532). In addition, using the data process function, the computer records the set of data extents that comprise the new CSE file (operation 534). Further, using the data process function, the computer resets the Identical Score to zero (operation 536). Furthermore, using the data process function, the computer moves the position of pointer “j” for the DEL.PREVIOUS file to the next data extent after the data extent corresponding to the counterpart index (operation 538). Thereafter, the process returns to operation 504.

[0113] It should be noted that the data process function stops when the position of pointer “i” exceeds the size of the DEL.NEXT file. Afterward, the data process function returns a set of new CSE files corresponding to the DEL.NEXT file for scanning by the malware scanning application.

[0114] Thus, illustrative embodiments of the present disclosure provide a computer-implemented method, computer system, and computer program product for minimizing the amount of data that a data protection application needs to present to a malware scanning application for scanning to determine a set of uncontaminated recovery points for a data object to recover the data object as quickly as possible after contamination. The descriptions of the various embodiments of the present disclosure have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method comprising:retrieving data extent layout mappings for a current backup generation version of a data object and a previous backup generation version of the data object using an analysis algorithm;analyzing data extents contained in the current backup generation version of the data object and the previous backup generation version of the data object based on the data extent layout mappings for the current backup generation version of the data object and the previous backup generation version of the data object using the analysis algorithm:generating a set of cyber scan efficient files based analyzing the data extents contained in the current backup generation version of the data object and the previous backup generation version of the data object, wherein the set of cyber scan efficient files only consists of changed data extent ranges between the current backup generation version of the data object and the previous backup generation version of the data object;presenting the current backup generation version of the data object to a malware scanning application to perform a cyber scan of the current backup generation version of the data object;determining whether the cyber scan of the current backup generation version of the data object performed by the malware scanning application indicates that the current backup generation version of the data object is contaminated;responsive to determining that the cyber scan of the current backup generation version of the data object performed by the malware scanning application does indicate that the current backup generation version of the data object is contaminated, retrieving the set of cyber scan efficient files corresponding to the data object from the analysis algorithm; andpresenting the set of cyber scan efficient files corresponding to the data object retrieved from the analysis algorithm to the malware scanning application for cyber scanning.

2. (canceled)3. The method of claim 1, further comprising:expanding the set of cyber scan efficient files using a neighboring factor to include at least one of a set of preceding data extents and a set of succeeding data extents in the set of cyber scan efficient files to address potential malware straddling between cyber scan efficient files.

4. The method of claim 1, further comprising:determining whether a first data extent at a first current pointer position in the current backup generation version of the data object is equal to a second data extent at a second current pointer position in the previous backup generation version of the data object; andresponsive to determining that the first data extent at the first current pointer position in the current backup generation version of the data object is equal to the second data extent at the second current pointer position in the previous backup generation version of the data object, identifying the second current pointer position corresponding to the second data extent within the previous backup generation version of the data object relative to a beginning of the previous backup generation version as a counterpart index for the first data extent at the first current pointer position within the current backup generation version of the data object.

5. The method of claim 4, further comprising:determining whether the counterpart index corresponding to the first data extent at the first current pointer position within the current backup generation version of the data object is adjacent to another counterpart index corresponding to another data extent at an immediately preceding pointer position within the current backup generation version; andresponsive to determining that the counterpart index corresponding to the first data extent at the first current pointer position within the current backup generation version of the data object is adjacent to another counterpart index corresponding to another data extent at the immediately preceding pointer position within the current backup generation version, increasing an identical score by one.

6. The method of claim 5, further comprising:determining whether the identical score is greater than or equal to a predefined identical score threshold level; andresponsive to determining that the identical score is greater than or equal to the predefined identical score threshold level, generating the set of cyber scan efficient files and adding contiguous data extents corresponding to a latest increase in the identical score within the current backup generation version of the data object to the set of cyber scan efficient files.

7. The method of claim 6, further comprising:moving the second current pointer position in the previous backup generation version to a second next data extent after the second data extent corresponding to the counterpart index and incrementing the first current pointer position in the current backup generation version by one to form a third pointer position in the current backup generation version pointing to a first next data extent; anddetermining whether the first next data extent pointed to within the current backup generation version is equal to the second next data extent pointed to within the previous backup generation version.

8. The method of claim 7, further comprising:responsive to determining that the first next data extent pointed to within the current backup generation version is equal to the second next data extent pointed to within the previous backup generation version, adding the first next data extent pointed to within the current backup generation version into the set of cyber scan efficient files and incrementing the third pointer position in the current backup generation version and the second current pointer position in the previous backup generation version by one.

9. The method of claim 7, further comprising:responsive to determining that the first next data extent pointed to within the current backup generation version is not equal to the second next data extent pointed to within the previous backup generation version, closing the set of cyber scan efficient files, recording a set of data extents comprising the set of cyber scan efficient files, and resetting the identical score to zero.

10. The method of claim 1, further comprising:responsive to determining that the cyber scan of the current backup generation version of the data object performed by the malware scanning application does not indicate that the current backup generation version of the data object is contaminated, adding the current backup generation version of the data object to a set of recovery points for the data object;determining whether a number of recovery points in the set of recovery points for the data object is equal to a defined number of sequential uncontaminated backup generation versions; andresponsive to determining that the number of recovery points in the set of recovery points for the data object is equal to the defined number of sequential uncontaminated backup generation versions, outputting the set of recovery points for the data object to a client device of a user to recover the data object prior to contamination.

11. A computer system comprising:a processor set;one or more computer-readable storage media; andprogram instructions stored on the one or more computer-readable storage media to cause the processor set to perform operations comprising:retrieving data extent layout mappings for a current backup generation version of a data object and a previous backup generation version of the data object using an analysis algorithm;analyzing data extents contained in the current backup generation version of the data object and the previous backup generation version of the data object based on the data extent layout mappings for the current backup generation version of the data object and the previous backup generation version of the data object using the analysis algorithm;generating a set of cyber scan efficient files based analyzing the data extents contained in the current backup generation version of the data object and the previous backup generation version of the data object, wherein the set of cyber scan efficient files only consists of changed data extent ranges between the current backup generation version of the data object and the previous backup generation version of the data object;presenting the current backup generation version of the data object to a malware scanning application to perform a cyber scan of the current backup generation version of the data object;determining whether the cyber scan of the current backup generation version of the data object performed by the malware scanning application indicates that the current backup generation version of the data object is contaminated;responsive to determining that the cyber scan of the current backup generation version of the data object performed by the malware scanning application does indicate that the current backup generation version of the data object is contaminated, retrieving the set of cyber scan efficient files corresponding to the data object from the analysis algorithm; andpresenting the set of cyber scan efficient files corresponding to the data object retrieved from the analysis algorithm to the malware scanning application for cyber scanning.

12. (canceled)13. The computer system of claim 11, wherein the operations further comprise:expanding the set of cyber scan efficient files using a neighboring factor to include at least one of a set of preceding data extents and a set of succeeding data extents in the set of cyber scan efficient files to address potential malware straddling between cyber scan efficient files.

14. The computer system of claim 11, wherein the operations further comprise:determining whether a first data extent at a first current pointer position in the current backup generation version of the data object is equal to a second data extent at a second current pointer position in the previous backup generation version of the data object; andresponsive to determining that the first data extent at the first current pointer position in the current backup generation version of the data object is equal to the second data extent at the second current pointer position in the previous backup generation version of the data object, identifying the second current pointer position corresponding to the second data extent within the previous backup generation version of the data object relative to a beginning of the previous backup generation version as a counterpart index for the first data extent at the first current pointer position within the current backup generation version of the data object.

15. A computer program product comprising:one or more computer-readable storage media; andprogram instructions stored on the one or more computer-readable storage media to perform operations comprising:retrieving data extent layout mappings for a current backup generation version of a data object and a previous backup generation version of the data object using an analysis algorithm;analyzing data extents contained in the current backup generation version of the data object and the previous backup generation version of the data object based on the data extent layout mappings for the current backup generation version of the data object and the previous backup generation version of the data object using the analysis algorithm;generating a set of cyber scan efficient files based analyzing the data extents contained in the current backup generation version of the data object and the previous backup generation version of the data object, wherein the set of cyber scan efficient files only consists of changed data extent ranges between the current backup generation version of the data object and the previous backup generation version of the data object;presenting the current backup generation version of the data object to a malware scanning application to perform a cyber scan of the current backup generation version of the data object;determining whether the cyber scan of the current backup generation version of the data object performed by the malware scanning application indicates that the current backup generation version of the data object is contaminated;responsive to determining that the cyber scan of the current backup generation version of the data object performed by the malware scanning application does indicate that the current backup generation version of the data object is contaminated, retrieving the set of cyber scan efficient files corresponding to the data object from the analysis algorithm; andpresenting the set of cyber scan efficient files corresponding to the data object retrieved from the analysis algorithm to the malware scanning application for cyber scanning.

16. (canceled)17. The computer program product of claim 15, wherein the operations further comprise:expanding the set of cyber scan efficient files using a neighboring factor to include at least one of a set of preceding data extents and a set of succeeding data extents in the set of cyber scan efficient files to address potential malware straddling between cyber scan efficient files.

18. The computer program product of claim 15, wherein the operations further comprise:determining whether a first data extent at a first current pointer position in the current backup generation version of the data object is equal to a second data extent at a second current pointer position in the previous backup generation version of the data object; andresponsive to determining that the first data extent at the first current pointer position in the current backup generation version of the data object is equal to the second data extent at the second current pointer position in the previous backup generation version of the data object, identifying the second current pointer position corresponding to the second data extent within the previous backup generation version of the data object relative to a beginning of the previous backup generation version as a counterpart index for the first data extent at the first current pointer position within the current backup generation version of the data object.

19. The computer program product of claim 18, wherein the operations further comprise:determining whether the counterpart index corresponding to the first data extent at the first current pointer position within the current backup generation version of the data object is adjacent to another counterpart index corresponding to another data extent at an immediately preceding pointer position within the current backup generation version; andresponsive to determining that the counterpart index corresponding to the first data extent at the first current pointer position within the current backup generation version of the data object is adjacent to another counterpart index corresponding to another data extent at the immediately preceding pointer position within the current backup generation version, increasing an identical score by one.

20. The computer program product of claim 19, wherein the operations further comprise:determining whether the identical score is greater than or equal to a predefined identical score threshold level; andresponsive to determining that the identical score is greater than or equal to the predefined identical score threshold level, generating the set of cyber scan efficient files and adding contiguous data extents corresponding to a latest increase in the identical score within the current backup generation version of the data object to the set of cyber scan efficient files.