Identifying ransomware host attackers

By detecting write block attributes in the data storage system, ransomware attacks are identified and data state is protected, solving the problems of rapid detection and data recovery in ransomware attacks and reducing data loss and the impact of attacks.

CN116933249BActive Publication Date: 2026-11-20DELL PROD LP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210695340.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2022-04-06
Filing Date
2022-06-17
Publication Date
2026-11-20
Estimated Expiration
2042-06-17

AI Technical Summary

Technical Problem

Existing technologies are unable to quickly detect and recover data in ransomware attacks, and cannot effectively identify the source of the attack, resulting in prolonged data outages and significant data loss.

Method used

By identifying the block set attributes of written data objects in the data storage system, the possibility of ransomware attacks can be detected, and the data state can be protected at the first moment. Ransomware attributes can be generated to identify suspected infected host.

Benefits of technology

It enables rapid detection and response before ransomware attacks occur, reducing data unavailability time, minimizing data loss, and isolating infected hosts to prevent further attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116933249B_ABST
    Figure CN116933249B_ABST
Patent Text Reader

Abstract

A technique to identify a host suspected to be a source of ransomware infection includes initiating a tracking interval in response to a data storage system detecting a suspected ransomware attack. During the tracking interval, write requests received by the data storage system are analyzed and ransomware attributes of the write requests are generated. The ransomware attributes of the write requests indicate a risk of ransomware infection and are associated with hosts from which the respective write requests originated. A particular host is identified as a suspected source of ransomware infection based at least in part on the ransomware attributes associated with the particular host.
Need to check novelty before this filing date? Find Prior Art

Description

Background Technology

[0001] A data storage system is a hardware and software arrangement in which a storage processor is coupled to an array of non-volatile storage devices, such as disk drives, electronic flash drives, and / or optical drives. The storage processor serves storage requests from a host machine (“host”) that specify blocks, files, and / or other data elements to be written, read, created, deleted, etc. Software running on the storage processor manages incoming storage requests and performs various data processing tasks to organize and protect the data elements on the non-volatile storage devices.

[0002] The unfortunate reality of modern technology is that computers can become targets of ransomware attacks. For example, ransomware scripts may infiltrate a host machine and attempt to encrypt files or portions of files backed by a data storage system. The resulting encryption renders the files unreadable. A ransom note may remain on the affected host, and a large sum of money may be paid for the key that can decrypt the data. Because ransomware may contain errors, even paying for the key does not guarantee complete data recovery.

[0003] Various solutions have been proposed to respond to ransomware attacks. Some solutions perform detailed analysis of backups in an attempt to evade attacks. Assuming a clean backup prior to the attack can be identified, it can be restored on the host system, allowing the host system to continue its normal operation. Summary of the Invention

[0004] Unfortunately, the methods described above for managing ransomware attacks can be passive and slow. The host machine may remain offline for extended periods until a clean backup can be found and restored, and significant data loss may occur.

[0005] These deficiencies are addressed at least in part by the techniques disclosed herein, which identify a set of blocks containing data objects written between a first time point and a second time point, determine a set of attributes for the block set, and protect the state of the data objects at the first time point in response to the attribute set indicating the likelihood of a ransomware attack. Advantageously, the techniques can detect ransomware attacks occurring between the first and second time points based on the attributes of the blocks written during the time interval. The second time point may be approximately the present, and the first time point may be the most recent time in the past, thus enabling timely detection and response in many cases, even before any user detects that a ransomware attack has occurred. If the attack is confirmed, the data objects can be restored to their state at the first time point. Therefore, recovery can be performed quickly, minimizing data unavailability and data loss.

[0006] While the aforementioned techniques have successfully limited the damage caused by ransomware attacks, they do not inherently identify the source of the attack, such as the host from which the ransomware-infected data originated. However, we have recognized that identifying the infected host can be particularly useful because it allows the isolation of that host while other hosts can remain operational. Furthermore, without knowing the host that initiated the attack, it is impossible to determine whether the infected host will immediately resume the attack after the affected data objects are recovered and reconnected. Therefore, a method for identifying the source of a suspected ransomware attack is needed.

[0007] To at least partially address this need, an improved technique for identifying hosts suspected of being sources of ransomware infection includes initiating a tracking interval in response to a data storage system detecting a suspected ransomware attack. During the tracking interval, write requests received by the data storage system are analyzed, and ransomware attributes of these write requests are generated. The ransomware attributes of the write requests indicate the risk of ransomware infection and are associated with the host from which the corresponding write request originated. The host is identified as a suspected source of ransomware infection, at least in part, based on the ransomware attributes associated with a specific host.

[0008] Advantageously, it can prevent suspected hosts (or multiple suspected hosts if necessary) from writing any additional data to the data storage system, thus preventing suspected hosts from continuing their attacks. Simultaneously, it allows other unsuspected hosts to resume normal operation. Therefore, the impact of an attack after the affected data objects are recovered may be limited to only one or more hosts, thereby reducing the extent of data unavailability.

[0009] Some implementations relate to a method for identifying hosts suspected of being sources of ransomware infection. The method includes: initiating a tracking interval by a data storage system in response to detecting suspected ransomware-infected data in the data storage system; and generating ransomware attributes for a set of write requests received by the data storage system during the tracking interval, wherein the write requests in the set are associated with corresponding hosts from which the write requests originated. The method further includes identifying a specific host from the corresponding hosts as the source of the suspected ransomware-infected data based on the ransomware attributes.

[0010] Other embodiments relate to a computerized device that is structured and arranged to execute a method for a host whose identifier is suspected to be a source of ransomware infection, such as the method described above. Other embodiments relate to a computer program product. The computer program product stores instructions that, when executed on the control circuitry of the computerized device, cause the computerized device to execute a method for a host whose identifier is suspected to be a source of ransomware infection, such as the method described above.

[0011] The above overview is presented for illustrative purposes to help readers easily grasp the exemplary features presented herein; however, this overview is not intended to illustrate required elements or limit the embodiments described herein in any way. It should be understood that the above features can be combined in any technically significant manner, and all such combinations are intended to be disclosed herein, regardless of whether such combinations are explicitly identified. Attached Figure Description

[0012] As shown in the accompanying drawings, the foregoing and other features and advantages will become apparent from the following description of a particular embodiment, in which the same reference numerals refer to the same or similar parts in different views.

[0013] Figure 1 This is a block diagram of an exemplary environment in which certain implementations of improved technologies can be practiced.

[0014] Figure 2 It shows that it can be shown Figure 1 A flowchart of an exemplary activity performed in the environment.

[0015] Figure 3 This is a block diagram illustrating an exemplary arrangement for detecting and responding to ransomware.

[0016] Figure 4 yes Figure 1 A more detailed block diagram of the ransomware protection manager.

[0017] Figure 5 This is a block diagram of an exemplary data path from which information for determining one or more attributes of a block can be obtained.

[0018] Figure 6 This is a block diagram illustrating exemplary cache statistics from which information for determining one or more attributes of a block can be obtained.

[0019] Figure 7 This is a block diagram of an exemplary arrangement that uses a single data storage system to protect data from ransomware attacks.

[0020] Figure 8 This is a block diagram of an exemplary arrangement for asynchronous replication between two data storage systems to protect data from ransomware attacks.

[0021] Figure 9 This is a block diagram of an exemplary arrangement used to identify the source of a suspected ransomware attack.

[0022] Figure 10 This is a flowchart illustrating an exemplary method for identifying the source of a suspected ransomware attack by associating ransomware attributes with the corresponding initiator.

[0023] Figure 11 This is a flowchart illustrating an exemplary method for identifying the source of a suspected ransomware attack by associating ransomware attributes with the corresponding host.

[0024] Figure 12 This is a flowchart illustrating an exemplary method for identifying a host suspected of being the source of a ransomware infection. Detailed Implementation

[0025] Implementation schemes for the improved techniques will now be described. It should be understood that such implementation schemes are provided by way of example to illustrate certain features and principles of this disclosure, but are not intended to be limiting.

[0026] This instruction manual is provided in the following sections:

[0027] Section I presents exemplary environments and techniques for protecting data from ransomware attacks.

[0028] Section II presents an exemplary method for identifying hosts suspected of being sources of ransomware infection.

[0029] Part I: Protecting Data from Ransomware Attacks

[0030] This section describes a technique for protecting data from ransomware attacks. The technique identifies a set of blocks containing data objects written between a first time point and a second time point, determines a set of attributes for the block set, and protects the state of the data objects at the first time point in response to the attribute set indicating the likelihood of a ransomware attack.

[0031] The disclosed techniques are applicable to a variety of implementations. In some arrangements, the techniques are performed by a single data storage system configured to take periodic snapshots (point-in-time versions) of data objects. The data storage system can identify blocks in which data objects are written between each pair of consecutive snapshots, determine the attributes of these blocks, and protect the earlier snapshot in a pair of current snapshots in response to the attributes indicating the likelihood of a ransomware attack. This “standalone” implementation utilizes snapshot technology, a common feature in data storage systems that support block-based storage.

[0032] In other arrangements, the technique is implemented by a first data storage system and a second data storage system configured to perform asynchronous replication of data objects hosted by the first data storage system. Asynchronous replication is arranged to take periodic snapshots of the data objects in the first data storage system, calculate the difference between the current snapshot and the previous snapshot, and transmit the difference to the second data storage system, where the calculated difference is applied to a copy of the data objects. The difference, also referred to herein as an "increment set," indicates the blocks of data objects written between consecutive snapshots. When the second data storage system receives the increment set from the first data storage system, it determines the attributes of the blocks specified by the increment set and, in response to the attributes indicating the likelihood of a ransomware attack, protects the earlier snapshot in a pair of current snapshots. Thus, this implementation leverages the characteristics of asynchronous replication technology, which is also common in data storage systems supporting block-based storage.

[0033] Both standalone and replication-based solutions can be implemented in a lightweight manner. Snapshots, whether managed directly or as part of asynchronous replication, can be provided in a form that consumes significantly less storage space compared to backups. Therefore, creating and protecting snapshots against ransomware attacks has virtually no impact on the storage resources of the data storage system. The low impact of snapshots also helps ensure that false detections of ransomware attacks can be easily tolerated.

[0034] Figure 1 An exemplary environment 100 is shown in which an improved technique can be practiced. Here, multiple hosts 110 are configured to access a data storage system 116 via a network 114. The data storage system 116 includes: one or more storage processors 120, referred to herein as “nodes” (e.g., nodes 120a and 120b); and storage devices 190, such as disk drives, electronic flash drives, etc. Nodes 120 may be provided as circuit board assemblies or blades inserted into a chassis (not shown) that encloses and cools the nodes. The chassis has a backplane or middleboard for interconnecting the nodes 120 and can be additionally connected between the nodes 120 using cables. In some examples, nodes 120 are part of a storage cluster, such as a storage cluster containing any number of storage devices, where each device includes a pair of nodes 120 connected to a shared storage device. In some arrangements, host applications run directly on nodes 120, making the presence of a separate host 110 unnecessary. However, no specific hardware configuration is required because any number of nodes 120 can be provided in any arrangement, including a single node, and one or more nodes 120 can be any one or more types of computing devices capable of running software and processing host I / O.

[0035] Network 114 can be any type of network or combination of networks, such as Storage Area Network (SAN), Local Area Network (LAN), Wide Area Network (WAN), Internet, and / or some other type of network or combination of networks. Where a host 110 is provided, such host 110 can connect to node 120 using various technologies, such as Fibre Channel, iSCSI (Internet Small Computer System Interface), NVMeOF (Non-Volatile Memory Fast (NVMe) over Fabrics), NFS (Network File System), and CIFS (General Internet File System). Fibre Channel, iSCSI, and NVMeOF are known to be block-based protocols, while NFS and CIFS are file-based protocols. Node 120 can each be configured to receive I / O requests 112 according to block-based and / or file-based protocols and respond to such I / O requests 112 by reading from or writing to storage device 190.

[0036] The depiction of node 120a is intended to represent all nodes 120. As shown, node 120a includes one or more communication interfaces 122, a collection of processing units 124, and memory 130. Communication interfaces 122 include, for example, SCSI target adapters and / or network interface adapters for converting electronic and / or optical signals received via network 114 into electronic form for use by node 120a. The collection of processing units 124 includes one or more processing chips and / or assemblies, such as multiple multi-core CPUs (Central Processing Units). Memory 130 includes volatile memory, such as RAM (Random Access Memory), and non-volatile memory, such as one or more ROMs (Read Only Memory), disk drives, solid-state drives, etc. The collection of processing units 124 and memory 130 together form control circuitry, which is structured and arranged to perform various methods and functions as described herein. Furthermore, memory 130 includes various software structures implemented in the form of executable instructions. When the executable instructions are executed by the collection of processing units 124, the collection of processing units 124 performs the operations constructed by the software. Although certain software constructs are shown and described in detail, it should be understood that memory 130 typically includes many other software components not shown, such as operating systems, various applications, processes, and daemons.

[0037] like Figure 1As further shown, memory 130 "includes" (i.e., implemented by executing software instructions) cache 140 and numerous facilities such as deduplication facility 150, compression facility 152, snapshot facility 154, and replication facility 156. These facilities may be useful in various implementations but should not be considered essential. Memory 130 may further implement data path 160, ransomware protection manager (RWPM) 170, and any number of data objects, such as data objects 180. Data objects 180 can be any type of object, such as LUN (Logical Unit), file system, virtual machine disk, etc. In some examples, node 120 is agnostic to the contents of data object 180 and simply treats data object 180 as a block-based volume.

[0038] Data object 180 is composed of blocks, where a "block" is a unit of allocatable storage space. Block sizes are typically uniform, for example, 4kB (kilobytes), 8kB, or 16kB. However, specific block sizes are not required, and implementations can support non-uniform block sizes. Data storage system 116 is configured to access data object 180 using a block-based protocol, for example, by specifying the blocks of data object 180 to be created, read, updated, or deleted.

[0039] Cache 140 is configured to receive incoming writes 112w from host 110 and arrange the data into pages 142, which may have block sizes. Cache 140 is configured to temporarily store incoming data until node 120a can process the data to incorporate it into a data object (such as data object 180). Cache 140 can also store recently read data of the data object and can track statistics 144 related to cache performance. For example, statistics 114 may include write cache hit rates, which can be tracked on a per-data-object (per-volume) basis. Write cache "hit rate" refers to the proportion of writes that may have found a block to write in cache 140.

[0040] Deduplication facility 150 is configured to perform deduplication, that is, the process of replacing redundant blocks with pointers to a smaller number of retained copies of those blocks. Deduplication can be performed inline or near-inline, where pages 142 in cache 140 are compared with an existing set of blocks in data storage system 116 (e.g., using hash-based matching), and duplicate copies are avoided before being written to the persistent data object structure. In some examples, deduplication can also be performed in the background, that is, out-of-band, along with the initial processing of incoming writes. Deduplication is sometimes abbreviated as "deduplication," and the ability to perform deduplication on the data of a data object can be described as the "deduplication capability" of the data object. In one example, the metadata of the data object is used, for example, via deduplication tags to track whether a particular block is duplicated or original.

[0041] Compression facility 152 is configured to perform data compression. Similar to deduplication, compression can be performed inline or near-inline, where pages 142 in cache 140 are compressed before being written to the persistent data object structure. In one example, the metadata tracking block of the data object is compressed. Some blocks are easier to compress than others. Typically, compression is performed block by block after an attempt at deduplication.

[0042] Snapshot facility 154 is configured to generate and manage snapshots. A snapshot (or "snap") is a point-in-time version of a data object; that is, it preserves a version of the data object's state at the time it is captured, even as the data object continues to evolve in response to changes. In one example, a snapshot is initially created as a new data object with its own identity and metadata, but the snapshot's metadata points to the data of the data object from which the snapshot was captured. Therefore, no data needs to be copied, and the snapshot is initially a small, lightweight structure. Over time, as the data object changes, new blocks are allocated to accommodate new writes, and the data object's pointers are adjusted to point to the new blocks. However, the data in the snapshot remains unchanged. Therefore, changes to the data object after a snapshot is captured have no effect on the snapshot itself. It should be understood that lightweight snapshots can be implemented in various ways, and the above description is intended to be illustrative rather than restrictive.

[0043] Replication facility 156 is configured to perform replication on data objects, i.e., by maintaining one or more copies of the data objects. Typically, replication is performed between two data storage systems, one designated as the "source" and the other as the "destination." The source is the data storage system that "hosts" the data objects (i.e., makes the data objects available for host 110 to read and / or write), while the destination is the data storage system that maintains "copies" of the data objects (i.e., current or near-current copies of the data objects). In one example, replication facility 156 is configured to perform asynchronous replication, also known as "snapshot delivery." Asynchronous replication works by periodically taking snapshots of the data objects according to a specified schedule (such as every five minutes, every hour, or at other rates typically defined by the administrator). Each time a new snapshot of the data object is taken, replication facility 156 calculates an increment set, i.e., the set of changes or differences between the blocks of the new snapshot and the blocks of the previous snapshot. Replication facility 156 then transmits (or "delivers") the increment set to the destination, which applies the increment set when updating the copy. Once the update is complete, the contents of the copy are identical to the contents of the data object in the latest snapshot taken at the source.

[0044] Data path 160 is configured to provide metadata for accessing data objects (such as data object 180). As described in more detail below, data path 160 may include, for example, various logical blocks, mapping pointers, and block virtualization structures, and may track various attributes of the blocks.

[0045] The Ransomware Protection Manager (RWPM) 170 is configured to detect ransomware attacks and protect the state of data objects just before the attack. For example, the RWPM 170 is configured to identify blocks written to data object 180 between a first and a second time point, determine the attributes of the newly written blocks, and analyze the attributes for signs of a ransomware attack. If a ransomware attack is suspected, the RWPM 170 is configured to protect the state of data object 180 at the first time point before the suspected attack and generate an alert indicating that a ransomware attack may be in progress. The alert can take various forms, such as email messages or other communications with administrators and / or any number of users.

[0046] In an exemplary operation, host 110 issues I / O request 112 to data storage system 116. Node 120a receives I / O request 112 at communication interface 122 and initiates further processing. Such processing may involve reading and / or writing data object 180. New writes may be subject to deduplication, or compression may be performed if deduplication cannot be achieved. In some examples, a snapshot of data object 180 may be taken and a copy of data object 180 may be performed. If host 110 is infected with ransomware, I / O request 112 may include reading blocks of data object 180 and then writing encrypted versions of those blocks back to data object 180.

[0047] Figure 2 An exemplary method 200 that can be performed and / or guided by RWPM 170 is shown. Method 200 provides a brief overview of various implementations, including implementations performed by a single data storage system (independently) and implementations involving two data storage systems participating in asynchronous replication.

[0048] At 210, the changes to the blocks of data object 180 between the first and second time points are identified. In one example, this action involves identifying new blocks that have been written during the time period between the first and second snapshots of data object 180.

[0049] At 220, variations are analyzed for suspected ransomware attacks. For example, RWPM 170 collects and / or generates attributes of new blocks. RWPM 170 then determines the likelihood of a ransomware attack based on these attributes. This determination can take various forms. In some examples, a ransomware score is generated, where a higher score corresponds to a greater probability of a ransomware attack, and a lower score corresponds to a lower probability. The ransomware score can be based on a combination of attributes, such as an algebraic combination (e.g., a weighted sum), or using a combination of machine learning, such as a neural network, for example, a neural network with attributes provided as input and weights for balancing the attribute contributions.

[0050] At point 230, RWPM 170 determines whether a ransomware attack is suspected. For example, the ransomware score can be compared to a threshold, where scores exceeding the threshold are considered indicative of a suspected attack, and scores below the threshold are considered not indicative of a suspected attack. In some examples, the determination of a ransomware attack is based on anomaly detection rather than on an absolute score. Using anomaly detection can help accommodate differences in data or data access patterns among different users. For example, a baseline score can be determined based on multiple operations of RWPM 170, and the determination at point 230 can be in response to a current set of attributes that produce scores exceeding the baseline score by a specified amount. This specified amount can be user-adjustable, allowing users to tune the sensitivity of RWPM 170 based on their preferences.

[0051] If action 230 determines that a ransomware attack is suspected, the operation proceeds to 240, whereby RWPM 170 raises an alert (e.g., sends an email to the user) and protects the state of the data object at a first point in time. Protecting the state of the data object may include retaining a first snapshot, which serves as a reference for determining new writes. Retaining the first snapshot may involve protecting it from being edited or deleted, even by an administrator. In some examples, retaining the snapshot involves generating a new snapshot of the first snapshot. This new snapshot is referred to herein as the "pre-attack snapshot." The pre-attack snapshot is then protected from being edited or deleted. If, for example, a ransomware attack is confirmed based on user analysis of a second snapshot, the pre-attack snapshot can be used as the basis for restoring the data object 180 to its state prior to the ransomware attack.

[0052] Optionally, even after a suspected ransomware attack, method 200 can continue. For example, the operation can proceed to 250, thus obtaining the state of data object 180 at a new point in time. For example, a third snapshot of data object 180 is obtained and method 200 is repeated. During the repetition, the aforementioned first snapshot can be deleted. Then, the aforementioned second snapshot can become the new "first snapshot," and the third snapshot can become the new "second snapshot."

[0053] If action 230 determines that there is no suspicion of a ransomware attack, the operation proceeds to 250, and method 200 is repeated as described above. Method 200 can be repeated in this way indefinitely.

[0054] Figure 3 An exemplary arrangement for detecting ransomware attacks using snapshots is illustrated. The depicted arrangement is applicable to implementations performed by a single data storage system, and also applicable to implementations involving two data storage systems participating in asynchronous replication.

[0055] As shown in the figure, data object 180 evolves over time, for example, in response to a new write 112w. At time T1, a snapshot 310-1 of data object 180 is taken, which is here designated as object 180-1. Snapshot 310-1 thus provides a point-in-time version of data object 180 at time T1.

[0056] At time T2, a snapshot 310-2 of data object 180 is acquired, the object here designated as object 180-2. Snapshot 310-2 thus provides a point-in-time version of data object 180 at time T2. Here, snapshot 310-1 can be considered the "first" snapshot, and snapshot 310-2 can be considered the "second" snapshot. As indicated by arrow 320, a difference is generated between the first snapshot 310-1 and the second snapshot 310-2, shown as increment set 310-1. Increment set 330-1 thus identifies blocks of data object 180 written after the acquisition of the first snapshot 310-1 but before the acquisition of the second snapshot 310-2.

[0057] When incremental set 330-1 is identified, RWPM 170 obtains, generates, or otherwise determines the set of attributes of the newly written block specified by incremental set 330-1. RWPM 170 then uses the set of attributes to calculate a determination of whether a ransomware attack is suspected. In this case, it is assumed that no ransomware attack is suspected.

[0058] At time T3, a snapshot 310-3 of data object 180 is acquired, the object here designated as object 180-3. Here, snapshot 310-2 can be considered the "first" snapshot, and snapshot 310-3 can be considered the "second" snapshot (snapshot 310-1 can be ignored or deleted). As indicated, an incremental set 330-2 is generated between snapshots 310-2 and 310-3. RWPM 170 then determines the set of attributes of the newly written block (this time the block identified in incremental set 330-2), and RWPM 170 calculates a determination of whether a ransomware attack is suspected. In this case, it is assumed that a ransomware attack is suspected. As a result, a pre-attack snapshot 340 is acquired from the "first" snapshot 310-2. Pre-attack snapshot 340 is secure, so that if a ransomware attack is confirmed, it can still be used to recover data object 180. An alert may also be sent at this time.

[0059] Figure 4 An example of RWPM 170 is shown in more detail. RWPM 170 is considered to include an incremental set of attribute history 410, an anomaly detector 420, and a hybrid learning engine 440. It should be understood that the components depicted in RWPM 170 are presented as examples and should not be construed as requirements or limitations.

[0060] The increment set history 410 records the history of the attribute 402 determined for the corresponding increment set. In one example, the increment set attribute history 410 includes multiple rows 412, where each row 412 provides the corresponding attribute set 402 determined for the corresponding increment set. Columns can be provided for different attributes, which are identified as X1 to X... N In the example shown, N = 7 (more or fewer attributes can be used). Additional columns can be provided to record timestamps, such as the time when each increment set was created, and the score Y calculated based on the corresponding attribute 402 for that increment set.

[0061] To process the current increment set 414, the anomaly detector 420 may receive attributes 412a of the current increment set 414 and the increment set attribute history 410 as input. The anomaly detector 420 may further receive sensitivity input 416, such as a user-adjustable setting specifying the sensitivity level applied by the anomaly detector 420 when generating a detection 430 of a suspected ransomware attack. The output of the anomaly detector includes the detection 430 of a suspected ransomware attack, and an alert 432 indicating that a suspected attack has been detected, as well as information for, for example, by combining... Figure 3 The creation and retention of the pre-attack snapshot 340 protects the instruction 434 used to determine the first snapshot of the current increment set 414.

[0062] In one example, anomaly detector 420 operates model 422 to detect suspected ransomware attacks. As shown, model 422 can be provided as an equation for generating a score Y, which is represented by attributes X1 to X... N The weighted sum of the attributes, where the attributes are represented by the corresponding coefficients K1 to K. N Weighted. For example.

[0063]

[0064] Preferably, the anomaly detector 420 triggers the detection of a suspected ransomware attack based on an abnormal increase in score Y above a baseline score, which may, for example, be established as a moving average of scores calculated based on a previous increment set. Alternatively, a weighted sum could be used, for example, as a neural network.

[0065] coefficients K1 to K N These values ​​can be adjusted over time to optimize for specific users and improve the accuracy of model 422. In some examples, coefficients K1 to K... NAdjustments are made based on user feedback 426. For example, the hybrid learning engine 440 can correlate the detection 430 of a suspected ransomware attack with the incremental set that led to those detections and with user feedback 426 that indicates whether the suspected attack is a real attack or a false positive (i.e., anomalous behavior unrelated to a ransomware attack). Using the history of the incremental set attributes 410 for backtesting and optimization, the hybrid learning engine 440 can focus on generating coefficient values ​​for improved detections.

[0066] In some examples, the hybrid learning engine 440 is implemented at least in part using a data analytics platform, which may be implemented locally on a data storage system, on a separate computer, or elsewhere (such as in the cloud). In some examples, the hybrid learning engine 440 applies a batch learning approach, where data about incremental set attributes, detections, and user feedback is stored locally and periodically passed to the data analytics platform, which then operates on batches based on the accumulated information.

[0067] We will continue to refer to this. Figure 4 This describes an example of attribute 402 used to support the detection of block-based ransomware attacks. Such examples may include the following items:

[0068] Increment set size The size of the increment set (i.e., the number of blocks identified as being written into the increment set) can be a strong indicator of a ransomware attack. Attack scripts tend to generate large amounts of encrypted data and write it to data objects in a short period. Therefore, a sudden increase in the increment set size is highly suggestive of a ransomware attack.

[0069] Incremental set entropy Cryptographic blocks written during ransomware attacks tend to have high entropy. The entropy value of a block can be calculated directly, for example, using well-known software functions. However, we have recognized that block compressibility is strongly negatively correlated with entropy, meaning that the higher the compressibility of a block, the lower its entropy. Similarly, the lower the compressibility of a block, the higher its entropy. As described more fully below, the compressed size of the blocks can be readily available in the system metadata. Therefore, the entropy of blocks in the increment set can be easily estimated based on these compressed block sizes. For example, if a 4kB block is compressed to 1kB, the entropy of that block is considered low. Conversely, if a 4kB block is compressed to only 3.99kB, the entropy of that block is considered high. Therefore, a significant increase in the compressed size of blocks in the increment set may indicate a ransomware attack.

[0070] Incremental set fragment entropyThe number of blocks (or ranges) with high entropy in the increment set. Ransomware attacks typically encrypt only a portion of the data object (e.g., just enough to render the data object unusable). Therefore, even if the entropy of the increment set remains stable as a whole, an increase in the number of blocks or other ranges with high entropy in the increment set may indicate a ransomware attack.

[0071] First N bytes of entropy Some ransomware attacks encrypt files smaller than the block size (e.g., less than 4kB), where each file may be stored in its corresponding block. In such cases, only the first N bytes of the block are encrypted. This type of encryption can be detected by examining the entropy of the initial N-byte region of the block in the increment set. The value of N can be user-selectable; for example, typical values ​​for N range from 32 bytes to 256 bytes. The entropy of small regions of the block can be calculated efficiently and directly, for example, using known entropy functions. Therefore, an increase in the entropy of the first N bytes can provide additional indication of a ransomware attack.

[0072] Increment set deduplication Blocks encrypted by ransomware attacks tend to have poor deduplication, meaning they are unlikely to match blocks already stored in the data storage system. As described below, system metadata stores information indicating whether blocks have been deduplicated. The deduplication score can be calculated as the percentage of deduplicated blocks in the incremental set. A reduction in the deduplication rate of blocks in the incremental set can be a strong indication of a ransomware attack.

[0073] Read-after-write (WaRP) mode Ransomware attacks tend to operate by reading data from a data object, encrypting that data, and then writing the encrypted data back to the data object. Due to node 120a ( Figure 1 The cache can be configured to temporarily store recently read blocks in cache 140, so it is expected that a ransomware attack performing many read-modify-write operations may result in increased cache hits on blocks of data objects. Therefore, an increase in the cache hit rate of 140 in response to host writes to data objects could be a strong indicator of a ransomware attack.

[0074] Sequential patterns Ransomware attacks tend to write encrypted data in long sequence patterns. For example, based on the sequence of LBAs (Logical Block Addresses) of the written data objects, incremental sets of blocks can be analyzed against the sequence pattern. Therefore, an increase in sequence writing may be another strong indicator of a ransomware attack.

[0075] It should be emphasized that attribute 402 described above is merely an example of an attribute applicable to block-based detection of ransomware attacks. More or fewer attributes may be used, and attributes other than those mentioned may also be used. Furthermore, it should be understood that attribute 402 can be readily obtained from system metadata and / or statistics, or calculated based on the analysis of blocks identified in the incremental set. A certain amount of preprocessing can be performed on attribute 402 to express it in general terms, making attribute 402 readily combinable by model 422. For example, attribute 402 can be individually scored on a scale of 1 to 10, where "1" indicates the lowest risk of a ransomware attack and "10" indicates the highest risk. For example, a very large incremental set entropy value may correspond to "10". Similarly, a very high incremental set deduplication value may correspond to "1". This is merely an example.

[0076] Figure 5 Showing more details Figure 1 An exemplary data path 160. Data path 160 provides an arrangement of metadata for accessing data (such as data blocks of data object 180) in data storage system 116. In some examples, the metadata may be used to provide certain attributes 402 used by RWPM 170.

[0077] As shown in the figure, data path 160 includes namespace 510, mapping structure 520 (“mapper”), virtual block layer 530, and physical block layer 540. Namespace 510 is configured to organize logical data, such as LUNs, file systems, virtual machine disks, snapshots, clones, etc., and may include data objects 180 and their snapshots. In one example, namespace 510 provides a large logical address space and is named block 512 (a block is shown). Mapper 520 is configured to point logical block 512 in namespace 510 to the corresponding descriptor 532 of a virtual block in virtual block layer 530. Mapper 520 may include multi-level pointers, such as top-level 522, middle-level 524, and leaf 526, which together can map large amounts of data. Virtual block layer 530 provides a degree of indirection between mapper 520 and physical block layer 540, allowing physical blocks to move without interfering with pointers in mapper 520. Physical block 542 (a physical block is shown) in physical block layer 540 is typically compressed.

[0078] In one example, descriptors 532 in the virtual block layer store metadata about the blocks they represent. The metadata of descriptor 532 includes a pointer 534 to the physical block 542 that stores the compressed block. It also includes the compressed size 536 of the compressed block 542 and a deduplication flag 538. The deduplication flag 538 indicates whether the block has been deduplicated.

[0079] In one example, processing an incremental set might involve reading metadata, such as compressed size 536 and / or deduplication flag 538, from descriptor 532. In a standalone scenario where only a single data storage system is used, the storage system could perform a modified read operation that obtains metadata 536 and / or 538 from the associated descriptor 532.

[0080] In cases involving asynchronous replication, replication facility 156 ( Figure 1 The system can read blocks identified by the incremental set as part of its normal operation, allowing it to acquire the identified blocks and send them to the destination. This type of "read copy" typically reads the descriptor 532 of the associated virtual block to access the physical data. In one example, this copy function is adapted to acquire, in addition to the data, the compressed size 536 and / or deduplication tag 538, so that metadata 536 and / or 538 can be propagated to the destination along with the incremental set and the associated blocks. Metadata 536 and / or 538 is thus available to the destination as attribute 402 of the incremental set, which can be used by the RWPM170 at the destination to detect suspected ransomware attacks.

[0081] Figure 6 An example of cache statistics 144 is shown in more detail. Here, write hit rate statistics are maintained on a volume-by-volume basis. For example, hit rates 610-1 and 610-2 are maintained for the corresponding volumes V1 and V2, where one of volumes V1 or V2 may correspond to data object 180. In one example, the write hit rate of the volume of data object 180 is provided to RWPM 170 as an indicator of read-after-write mode (WaRP), which can be used to detect suspected ransomware attacks.

[0082] Figure 7 An exemplary arrangement for preventing ransomware attacks in a standalone scenario (i.e., involving a single data storage system and not relying on asynchronous replication) is shown. In the example shown, snapshot facility 154 performs a desired snapshot of data object 180. Circled numbers depict exemplary sequences.

[0083] At (1), the snapshot facility 154 generates the first snapshot S1 of the data object 180 at the first time point.

[0084] At a later point (2), i.e., at the second point in time, the snapshot facility 154 acquires a second snapshot S2 of the data object 180. For example, the interval between the first and second snapshots can be set by the administrator.

[0085] At (3), snapshot facility 154 calculates increment set 414, which provides the difference between S1 and S2. Increment set 414 identifies the blocks of data object 180 written between the first time point and the second time point.

[0086] At (4), RWPM 170 indicates a modified read operation 710 of descriptor 532 and obtains certain attributes 720 from the read operation 710. Attributes 720 may include the aforementioned compressed size 536 and / or deduplication flag 538. At this time, RWPM 170 may also obtain or determine other attributes, such as attribute 722 indicating cache hit rate.

[0087] At (5), RWPM 170 processes attributes 720 and 722 (and any other attributes) and determines whether a suspected ransomware attack has been detected. If an attack is detected, at (6), RWPM 170 sends alert 432, and at (7), RWPM 170 instructs snapshot facility 154 to protect S1, for example, by acquiring a pre-attack snapshot 340 of S1 and protecting the pre-attack snapshot 340 from deletion or tampering. In some examples, alert 432 is sent after protecting S1 rather than before, where the priority is to retain S1. If a suspected ransomware attack is confirmed, data object 180 can be recovered from the pre-attack snapshot 340.

[0088] Figure 8 An exemplary arrangement for preventing ransomware attacks using asynchronous replication is illustrated. Here, replication facility 156a on a first data storage system 116a (source) coordinates with replication facility 156b on a second data storage system 116b (destination) to perform desired snapshots and related activities on data object 180. The replication of data object 180 creates and maintains a copy 180R of data object 180 in the second data storage system 116b. The circled numbers again depict the exemplary sequence.

[0089] At (1), the replication facility 156a generates the first snapshot S1 of the data object 180 at the first time point.

[0090] At point (2) that occurs later, i.e., at the second time point, the replication facility 156a acquires the second snapshot S2 of the data object 180.

[0091] At (3), replication facility 156a calculates increment set 414, which provides the difference between S1 and S2. Increment set 414 identifies the blocks of data object 180 written between the first time point and the second time point.

[0092] At (4), the replication facility 156a performs a “read copy” by reading the blocks identified in the increment set 414. In doing so, for example by reading the associated descriptor 432 to obtain the compressed size 536 and / or deduplication mark 538 of each of the identified blocks, the replication facility 156a also obtains certain attributes A1.

[0093] At (5), replication facility 156a sends change information 810 to replication facility 156b in the second data storage system 116b, which receives the change information 810. Change information 810 includes an increment set 414 (including a specified block) and any attribute A1 acquired or otherwise determined by the first data storage system 116a. Here, we assume that replication facility 156b has already created a snapshot S1, for example, a snapshot of copy 180R acquired before the application of change information 810. The snapshot S1 on the destination matches the snapshot S1 on the source.

[0094] At (6), the RWPM 170 at the destination processes the received attribute A1 and attribute A2 (if any) obtained or otherwise provided at the destination, and determines whether a suspected ransomware attack has been detected. If an attack is detected, at (7), the RWPM 170 sends an alert 432, and at (8), the RWPM 170 instructs the replication facility 156b to protect the local snapshot S1, for example, by acquiring a pre-attack snapshot 340 of S1 and protecting the pre-attack snapshot 340 from deletion or tampering. In some examples, the order of actions (7) and (8) may be reversed, or the two actions may be performed simultaneously.

[0095] At (9) (which can be executed regardless of the suspected ransomware attack), the replication facility 156b applies the changes specified by the increment set 414 to copy 180R so that copy 180R is up-to-date with the second snapshot S2 at the source.

[0096] At (10), replication facility 156b can acquire a snapshot S2 of copy 180R that matches S2 at the source. At this point, and while the pre-attack snapshot 340 is already protected, S1 can be deleted (i.e., "refreshed"). S2 can then perform the role of S1 for subsequent incremental sets. If the suspected ransomware attack is confirmed again, data object 180 can be recovered from the pre-attack snapshot 340.

[0097] Compared to a standalone implementation, using asynchronous replication may offer certain advantages. For example, the operation of the RWPM170 imposes a computational workload that could potentially slow down critical real-time operations of the production system, which may already be busy keeping up with incoming I / O requests. Therefore, moving the operation of the RWPM170 from the busy production system to a less busy replication site reduces the computational workload of operating the RWPM170, thus better allowing the production system to meet its real-time requirements. However, a standalone implementation may still be useful in systems with lower performance requirements and in systems that do not offer asynchronous replication.

[0098] An improved technique for protecting data from ransomware attacks has been described. The technique identifies a set of blocks (e.g., an increment set 414) of data object 180 written between a first time point and a second time point, determines an attribute set 402 of the block set, and protects the state of the data object at the first time point in response to the attribute set 402 indicating the likelihood of a ransomware attack.

[0099] Having described some implementation schemes, many alternative implementation schemes or variations can be made. For example, although a snapshot has been described as a way to capture the state of a data object at a specified point in time, a snapshot is merely an example. Other implementation schemes can use backup copies, clones, or other versions of the data object.

[0100] Furthermore, while implementation schemes involving one or more data storage systems have been described, other implementation schemes may involve computers, including those not typically considered data storage systems. Such computers may include servers, such as those used in data centers and enterprises, as well as general-purpose computers, personal computers, and many devices, such as smartphones, tablets, personal data assistants, etc.

[0101] Section 2: Identifying Suspected Ransomware Infection Sources

[0102] This section proposes an improved technique for identifying hosts suspected of being sources of ransomware infection. The technique includes initiating a tracking interval in response to a data storage system detecting a suspected ransomware attack. During the tracking interval, write requests received by the data storage system are analyzed, and ransomware attributes of these write requests are generated. The ransomware attributes of the write requests indicate the risk of ransomware infection and are associated with the host from which the corresponding write request originated. The host is identified as a suspected source of ransomware infection, at least in part, based on the ransomware attributes associated with a specific host.

[0103] The techniques disclosed in this section may accompany those disclosed in Section I, but this is not required. For example, the techniques disclosed in this section can be used in any environment where a suspected ransomware attack has occurred or is occurring. Therefore, the features and details in Section I should not be construed as limiting.

[0104] Figure 9 An exemplary arrangement 900 that can be used to identify ransomware infection data sources is shown. Figure 9 The components depicted can be, for example, at node 120 of data storage system 116. Figure 1The arrangement 900 includes a database 910 and various initiator structures 920. In one example, the initiator structure 920 is part of the communication interface 122 on node 120 and represents the corresponding initiator port operating on a host such as host 110. The arrangement 900 also includes an attribute tracker 970 and a cache 140, which can be similar to a combination of... Figure 1 The cache described.

[0105] Database 910 stores the association between initiator ports and corresponding hosts 110. An "initiator" port can be part of an initiator-target-LUN connection, which defines a "path" in SCSI (Small Computer System Interface) technology. For example, host 110 can include any number of initiator ports, which can be coupled to any number of "target" ports (not shown) in data storage system 116 via corresponding paths. Paths may be specific to a particular LUN (Logical Unit), which is also referred to herein as a "volume". Initiator and target ports can be implemented using various technologies such as Fibre Channel, iSCSI, and / or NVMe. Each initiator port has a corresponding identifier (ID), as does each host 110. Multiple hosts can access the same volume via corresponding initiator ports. In one example, database 910 lists all known initiator ports and identifies the corresponding host 110 associated with each of them; that is, the host running on each initiator port. In one example, database 910 is populated when node 120 starts up (e.g., based on the discovery of initiator ports and hosts).

[0106] Initiator structure 920 is typically a memory-resident data structure that represents a corresponding initiator port on host 110 on a one-to-one basis. Initiator structure 920 may include buffer 922 or otherwise be associated with a buffer. Buffer 922 is configured to receive and temporarily store dataset 930 arriving in write request 112w. For example, buffer 922 shown in “INIT1” initiator structure 920 may store dataset 930 arriving from “initiator port 1” provided on the host. However, the exemplary arrangement of buffer 922 is merely illustrative and not limiting.

[0107] The attribute tracker 970 is configured to associate ransomware attributes 960 with the corresponding originator port and / or the corresponding host. As described below, ransomware attributes 960 are generated based on the analysis of dataset 930 specified by write request 112w.

[0108] In an exemplary operation, it is assumed that the data storage system 116 has already been configured, for example, by generating a detection 430 ( Figure 4 A suspected ransomware attack was detected. For example, the attack could target data object 180 ( Figure 1 The data ( ). Detection can be performed using the techniques described in Section I (by comparing snapshots), but this is not necessary, as suspected ransomware attacks can be detected in any way.

[0109] In response to the detection of a suspected ransomware attack (430), data storage system 116 takes action to identify the suspected attack source. To this end, node 120 initiates a tracing interval, also referred to herein as a "time slice," during which node 120 tracks write requests 112w for data objects 180 identified as suspected attack targets. The purpose of the tracing is to determine whether the dataset 930 specified by write request 112w suggests a ransomware infection. The tracing interval is preferably short, such as 10 milliseconds or 100 milliseconds, but can be longer or shorter depending on the circumstances. Based on ITL information 912, node 120 associates write request 112w with the corresponding initiator (initiator port or equivalent initiator structure 920). Node 120 may further (e.g., by accessing database 910) associate write request 112w with the corresponding host 110. Node 120 generates ransomware attributes 960 for the dataset 930 specified by write request 112w and stores the attributes in attribute tracker 970. For example, attribute tracker 970 assigns attributes 960 based on the initiator (and / or host) and populates content when a new write request 112w is processed. At the end of the tracking interval, or at any other suitable time, node 120 analyzes the accumulated content of attribute tracker 970 and identifies the initiator and / or host associated with the ransomware attribute 960 indicating a suspected ransomware infection. If a suspected initiator is identified, node 120 can identify the associated host from database 910. In some cases, multiple initiators and / or hosts are identified as suspected. Node 120 can then take action to protect data storage system 116 from further infection. In some examples, node 120 can deregister a suspected host, thereby preventing the suspected host from making any further I / O requests 112 to data storage system 116. In other examples, node 120 sends an alert to the administrator, notifying the administrator of the suspected host and requesting confirmation to prevent further I / O requests 112 from said host. In other examples, node 120 can warn the administrator of the suspected host, but relies on the administrator to take remedial action. Various options are envisioned.

[0110] Now continue with the reference. Figure 9 This describes an exemplary processing of a specific write request 112w via the data path through node 120. For example... Figure 9 As shown at the top, communication interface 122 receives the dataset 930 of write request 112w into buffer 922. For this example, we assume that the ITL information 912 of write request 112w specifies "Initiator 1" (INIT1).

[0111] As shown in box 924, one or more data elements (such as tag 940) may be applied to dataset 930. In one example, tag 940 is selectively applied only to dataset 930 for volumes corresponding to suspected attack targets (e.g., data object 180). The specific volume (or LUN) targeted by write request 112w can be read from the associated ITL information 912. Also in some examples, tag 940 is applied only when the tracing interval is active. Tag 940 may include an initiator ID tag 940i, which specifies an identifier of the initiator port from which write request 112w originated. Tag 940 may also include a fine-grained tracing tag 940f. Fine-grained tracing tag 940f acts as a signal to lower levels of the data path that dataset 930 will be analyzed for signs of ransomware infection. In some examples, fine-grained tracing tag 940f is tagged with an associated time limit 940tl, such as timeout, which corresponds to the tracing interval. The time limit 940tl allows lower-level data paths that may not directly know the tracking interval to selectively ignore fine-grained tracking after the time limit expires. In some examples, tag 940 may include host ID tag 940, which may be provided as an alternative to or supplement to initiator ID tag 940i.

[0112] As part of the normal processing of its write requests, node 120 may perform a memory copy 950 of dataset 930 (along with tag 940) to copy the dataset to cache 140. In one example, node 120 uses memory copy 950 as an opportunity to perform additional actions related to identifying the source of the ransomware infection. For example, node 120 performs the actions specified by box 952, such as checking tag 940 and selectively generating ransomware attributes 960. For example, if tag 940f specifies fine-grained tracking and the associated time limit has not yet expired, node 120 continues to generate one or more ransomware attributes 960 for dataset 930.

[0113] At this point, any number of ransomware attributes 960 can be generated for dataset 930. One example involves calculating the entropy of dataset 930. Entropy can be calculated based on the entire dataset 930 or, for efficiency, only a portion of dataset 930 (such as the first sector (512 bytes), the first 1kB, etc.). As described above... Figure 4As explained, high entropy can be a strong indicator of ransomware infection. Another example involves whether copying dataset 930 to cache 140 results in a cache hit or a cache miss (see arrow 980). A cache hit means that dataset 930 (or a previous version of the same data) has already been found in cache 140, implying that attempting to copy to cache 140 might indicate a read-after-write (WaRP) pattern, which was discussed above as a potentially strong indicator of a ransomware attack. These ransomware attributes 960 are mentioned as examples but are not intended to be restrictive. Other attributes and / or additional attributes can be used.

[0114] When ransomware attributes 960 are generated at box 952, node 120 updates attribute tracker 970 to include ransomware attributes 960 of dataset 930 and associates those attributes with the corresponding initiator ID (based on read tag 940i) and / or with the corresponding host ID (based on read tag 940h). In some examples, node 120 generates ransomware scores 960s for dataset 930 based on the attributes. Scores 960s can be generated in any suitable manner (such as by using a weighted sum or by using a combination). Figure 4 Any other technique described is used to generate scores based on the corresponding attribute 960. However, other examples can avoid generating scores during the tracking interval, for example, to avoid associated latency.

[0115] During the numerous write requests received within the tracking interval, attribute tracker 970 accumulates numerous records of ransomware attributes 960, along with associated initiator IDs and / or host IDs. Based on these records, node 120 can aggregate attributes 960 based on initiator and / or host, and generate a ransomware infection score or other indication on a per-initiator or per-host basis. Initiators or hosts receiving high scores or other indications can be flagged as suspected.

[0116] Ransomware infection scores or other indicators can be calculated in various ways. As a simple example, the scores 960 of the various datasets 930 can be averaged on a per-initiator basis, with the average obtained from each initiator provided as the total score. The total score can be compared to a threshold score, such that initiators whose total scores exceed the threshold are considered suspected. Hosts 110 associated with suspected initiators can be easily identified by accessing database 910. Similar methods can be used to calculate the total score of each host. For example, the scores 960 of the various datasets 930 can be averaged on a per-host basis, with the average obtained from each host provided as the total score, which can be compared to a threshold to identify suspected hosts. However, these examples are provided for illustrative purposes only, as implementations are not limited to specific ways of scoring or combining ransomware attributes.

[0117] Figures 10 to 12 Exemplary methods 1000, 1100, and 1200 that can be performed in conjunction with environment 100 are shown. Methods 1000, 1100, and 1200 are typically performed, for example, by combining... Figure 1 and Figure 9 The described software construct is executed, residing in the memory 130 of the storage processor 120a and run by the set of processing units 124. The various actions of methods 1000, 1100, and 1200 can be ordered in any suitable manner. Therefore, embodiments can be constructed that execute actions in a different order than that shown, which may include executing several actions simultaneously.

[0118] Figure 10 An exemplary method 1000 is shown to identify the source of a suspected ransomware attack by associating ransomware attributes with the corresponding initiator. Method 1000 begins at 1010, where node 120 detects a suspected ransomware attack on data in an affected volume (e.g., a volume (or LUN) associated with data object 180).

[0119] At 1020, in response to the detection, node 120 initiates a tracing interval of 1022 or a time slice, during which fine-grained tracing can be performed on write requests to the affected volume.

[0120] At 1030, node 120 receives a write request 112w for the affected volume during tracking interval 1022. Write request 112w includes a corresponding dataset 930. Node 120 generates ransomware attributes 960 for dataset 930 and stores the attributes, along with an indication of the corresponding initiator ID, in attribute tracker 970. For example, shortly after receiving dataset 930 into buffer 922, node 120 applies tags 940 (such as an initiator ID tag 940i and a fine-grained tracking tag 940f) to dataset 930. During memory copy 950 from buffer 922 to cache 140, node 120 can read tags 940. If a fine-grained tracking tag 940f exists (and the time limit has not expired), node 120 can determine one or more ransomware attributes, such as entropy and, for example, whether a cache hit exists for dataset 930, and can store the attributes, along with the corresponding initiator ID, in attribute tracker 970, which can be read from tag 940i. These activities can be repeated for any number of write requests 112w received during the tracking interval and for any number of affected volumes. Any write requests for other volumes (i.e., those not affected by the suspected ransomware attack) can be handled in the normal manner, i.e., without generating tags 940 or attributes 960.

[0121] At point 1040, the tracing interval ends. At this point, for example, node 120 stops applying tag 140 to dataset 930 for the affected volume. Generation of ransomware attributes 960 for dataset 930 ceases, and writes are processed in the usual manner. Although fine-grained tracing may proceed indefinitely, it should be understood that such tracing consumes valuable computational resources at particularly critical points in write processing (during the initial data ingestion). Therefore, ending the tracing interval is preferably to avoid continued performance degradation.

[0122] At 1050, node 120 accesses attribute tracker 970, analyzes attributes 960 on a perpetrator basis, and identifies any suspected perpetrators based on these attributes. For example, a score indicating ransomware infection can be calculated for the attributes associated with each perpetrator, and this score can be compared to a threshold. Scores exceeding the threshold can indicate a suspected perpetrator.

[0123] At 1060, node 120 maps any suspected initiator to the corresponding host 110. For example, node 120 accesses database 910 and looks up the host associated with each suspected initiator. This identifies one or more suspected hosts 110.

[0124] At 1070, node 120 initiates a remedy. For example, node 120 blocks I / O request 112 from the suspected host, alerts the administrator to the suspected host and obtains confirmation of blocking I / O requests from the suspected host, or alerts the administrator and relies on the administrator to take corrective action.

[0125] Figure 11 An exemplary method 1100 is shown for identifying the source of a suspected ransomware attack by associating ransomware attributes with a corresponding host. For example, method 1100 can be used as an alternative to method 1000 when host-to-sponsor mapping information is readily available to node 120 with low latency. For example, method 1100 can also be used in conjunction with method 1000 where both sponsor-based and host-based tracing are required.

[0126] Actions 1110 and 1120 are similar Figure 10 Actions 1010 and 1020. At 1110, node 120 detects a suspected ransomware attack on data in the affected volume (e.g., the volume (or LUN) associated with data object 180). At 1120, in response to the detection, node 120 initiates a tracing interval 1022, during which fine-grained tracing can be performed on write requests to the affected volume.

[0127] At 1130, as previously described, node 120 receives a write request 112w for the affected volume during tracing interval 1022. Write request 112w includes a corresponding dataset 930, and node 120 generates ransomware attributes 960 for dataset 930. However, in this case, node 120 stores the attributes along with an indication of the corresponding host ID in attribute tracker 970. To enable this functionality, in addition to looking up tracing tag 940f, the node can also apply a host ID tag 940h. As previously described, node 120 can read tag 940 during memory copy 950. If a fine-grained tracing tag 940f exists (and the time limit has not expired), node 120 can determine one or more ransomware attributes and at this time store the attributes along with the corresponding host ID in attribute tracker 970, which can be read from tag 940h. These activities can be repeated for any number of write requests 112w received during the tracing interval and for the affected volume.

[0128] At 1140, the tracking interval ends. As previously stated, node 120 stops applying tag 140 to dataset 930 for the affected volume. Generation of ransomware attributes 960 for dataset 930 stops, and writes are handled in the usual manner.

[0129] At 1150, node 120 accesses attribute tracker 970, analyzes attributes on a per-host basis, and identifies any suspected hosts based on these attributes. For example, a ransomware infection score or other indicator can be calculated for the attributes associated with each host, and such scores or other indicators can be compared to thresholds. Scores exceeding the thresholds can indicate a suspected host.

[0130] At 1160, node 120 initiates remediation, for example, by blocking I / O requests 112 from the suspected host, by alerting the administrator to the suspected host and obtaining confirmation of blocking I / O requests from the suspected host, or by alerting the administrator and relying on the administrator to take corrective action.

[0131] Figure 12 An exemplary method 1200 for identifying a host suspected of being infected with ransomware is shown, and a summary of some of the features in Section II above is provided.

[0132] At 1210, data storage system 116 initiates tracking interval 1022 in response to the detection of suspected ransomware infection data in data storage system 116. For example, tracking interval 1022 is initiated in response to detection 430 ( Figure 4 Initiated by ).

[0133] At 1220, ransomware attributes 960 are generated for the set of write requests received by data storage system 116 during tracking interval 1022. Write request 112w in the set of write requests is associated with the corresponding host 110 from which write request 112w originates. This association can be achieved, for example, by identifying the initiator from which write request 112w is received and by referencing the database 910 that associates the initiator with the corresponding host.

[0134] At 1230, based on ransomware attribute 960, a specific host is identified from the corresponding host 110 as the source of data suspected of being infected by ransomware. Further I / O requests 112 from the specific host can then be blocked or otherwise managed to prevent further damage. Any number of suspected hosts can be identified in this way.

[0135] An improved technique for identifying a host 110 suspected of being a source of ransomware infection has been described. The technique includes initiating a tracking interval 1022 in response to a data storage system 116 detecting a suspected ransomware attack. During the tracking interval 1022, write requests 112w received by the data storage system 116 are analyzed, and ransomware attributes 960 of these write requests 112w are generated. The ransomware attributes 960 of the write requests 112w indicate the risk of ransomware infection and are associated with the host 110 from which the corresponding write request 112w originates. The host is identified as a suspected source of ransomware infection, at least in part, based on the ransomware attributes 960 associated with a particular host.

[0136] Having described some implementation schemes, many alternative implementation schemes or variations can be made. For example, an implementation scheme that initiates host identification in response to the detection of a suspected ransomware attack has been described. However, this is only an example, as it is possible to initiate a tracing interval, generate ransomware attributes, and identify suspected hosts based on those attributes at any time without necessarily responding to the detection of a suspected ransomware attack.

[0137] In some examples, the described actions of generating ransomware attributes can be performed continuously. For instance, it might occur where the time between consecutive snapshots is longer than the duration of the attack, meaning the ransomware attack could have already been completed before any attack was detected. To enable host identification in such cases, ransomware attributes can be acquired during the time period between consecutive snapshots before the attack is detected. When the attack is later detected, the collected ransomware attributes can be analyzed, and suspected hosts can be identified, for example, in the same manner as described above. If no attack is detected, the collected ransomware attributes, such as those stored in attribute tracker 970, can be cleared. While continuous tracking of ransomware attributes may impact performance, it remains reasonable in situations where an impending ransomware attack is suspected. Therefore, it is conceivable that continuous tracking of ransomware attributes might be a feature that administrators can selectively enable or disable.

[0138] Furthermore, although features have been shown and described with reference to their particular embodiments, such features may be included and therefore included in any disclosed embodiments and variations thereof. Thus, it should be understood that features disclosed in connection with any embodiment are included in any other embodiment.

[0139] Furthermore, the improvement or a portion thereof may be embodied in a computer program product comprising one or more non-transitory computer-readable storage media, such as magnetic disks, magnetic tapes, optical discs, DVDs, optical discs, flash drives, solid-state drives, SD (Secure Digital) chips or devices, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), etc. Figure 2 and Figure 12 (Examples are shown in the text as media 260 and 1250). Any number of computer-readable media may be used. The media may be encoded with instructions that, when executed on one or more computers or other processors, perform one or more processes described herein. Such media may be considered as articles or machines and may be transported from one machine to another.

[0140] The words “including,” “containing,” and “having” used throughout this document are intended to describe certain items, steps, elements, or aspects of something in an open-ended manner. Furthermore, as used herein and unless specifically stated otherwise, the word “set” refers to one or more of something. This is true regardless of whether the phrase “a set of…” is followed by a singular or plural object and regardless of whether it is used with a singular or plural verb. Moreover, a “set” of elements can describe fewer than all existing elements. Therefore, there may be additional elements of the same type that do not belong to the set. Additionally, ordinal expressions such as “first,” “second,” and “third” may be used as adjectives in this document for identification purposes. Unless specifically indicated, these ordinal expressions are not intended to imply any order or sequence. Thus, for example, a “second” event may occur before or after a “first” event, or a second event may occur even if a first event did not occur. Furthermore, the identification of a particular element, feature, or behavior as “first” should not be construed as requiring the existence of a “second” or other such element, feature, or behavior. Rather, a “first” item may be unique. Furthermore, unless explicitly stated otherwise, the intent of “based on” is non-exclusive. Therefore, unless otherwise expressly indicated, “based on” should be interpreted as meaning “at least partially based on”. Although certain embodiments are disclosed herein, it should be understood that these are provided by way of example only and should not be construed as restrictive.

[0141] Therefore, those skilled in the art will understand that various changes in form and detail may be made to the embodiments disclosed herein without departing from the scope of the appended claims.

Claims

1. A method for identifying a host suspected of being a source of ransomware infection, comprising: A tracking interval is initiated by the data storage system in response to the detection of suspected ransomware infection data associated with a specific volume in the data storage system; Ransomware attributes are generated for a set of write requests received by the data storage system during the tracking interval, wherein the write requests in the set are associated with a corresponding host from which the write requests originated, and specify a corresponding volume, a corresponding dataset of data to be written, and a corresponding initiator, wherein the data storage system stores the association between the initiator and the host, and wherein generating the ransomware attributes includes: analyzing the corresponding dataset and generating ransomware attributes for write requests targeting the specific volume; and Based on the ransomware attributes, a specific host is identified from the corresponding hosts as the source of the data suspected of being infected by ransomware; The method is characterized by: The dataset specified by the write request is labeled with the identifier of the corresponding initiator; Based on the aforementioned tags, the ransomware attributes are associated with the corresponding initiator; and Identify a set of initiators, for which the associated ransomware attributes indicate a suspected ransomware infection. The source of the data for the suspected ransomware infection, which is identified by the specific host identifier, includes: a host that identifies the host associated with the set of originators.

2. The method of claim 1, wherein analyzing the corresponding dataset includes calculating a corresponding entropy measure of the dataset or a portion thereof.

3. The method of claim 1, wherein analyzing the corresponding dataset includes tracking cache hits and / or misses of the corresponding dataset in the cache.

4. The method of claim 1, wherein receiving the write request includes storing the corresponding dataset in a buffer, and wherein analysis of the corresponding dataset is performed when the corresponding dataset is copied from the buffer to a cache.

5. The method of claim 1, wherein the method further comprises associating a write request with a corresponding host by means of the steps of: (i) identifying the initiator specified by the write request, and (ii) determining the corresponding host with which the database associates the identified initiator.

6. The method according to claim 1, wherein the method further comprises: Map the corresponding initiator to the corresponding host; The dataset specified by the write request is marked with the identifier of the corresponding host; as well as The ransomware attributes are associated with the corresponding host based on the tags. The source of the data that identifies the specific host as the suspected ransomware infection includes the identifying host, whose associated ransomware attributes indicate a suspected ransomware infection.

7. The method according to claim 1, further comprising: The dataset specified by the write request is marked with an indicator that specifies fine-grained tracking; This includes generating the ransomware attributes, including analyzing the corresponding dataset, which is performed in response to the dataset including the indicator specifying fine-grained tracking.

8. The method of claim 7, wherein marking the dataset with the indicator specifying fine-grained tracking includes specifying a time limit corresponding to the tracking interval, and wherein analyzing the corresponding dataset is in response to the time limit indicated by the indicator not yet expiring.

9. The method of claim 1, further comprising disabling write requests from the specific host in response to identifying the specific host as the source of the suspected ransomware infection data.

10. A computerized device comprising control circuitry, the control circuitry including a set of processing units coupled to a memory, the control circuitry being structured and arranged as follows: A tracking interval is initiated in response to the detection of data in the computerized device that suggests a ransomware infection associated with a specific volume; Ransomware attributes are generated for a set of write requests received by a data storage system during the tracking interval, wherein the write requests in the set are associated with the corresponding host from which the write requests originated, and specify the corresponding volume, the corresponding dataset of data to be written, and the corresponding initiator, wherein the data storage system stores the association between the initiator and the host, and wherein generating the ransomware attributes includes: Analyze the corresponding dataset and generate ransomware attributes for write requests targeting the specific volume; and Based on the ransomware attributes, a specific host is identified from the corresponding hosts as the source of the data suspected of being infected by ransomware; The control circuit described therein is further structured and arranged as follows: The dataset specified by the write request is labeled with the identifier of the corresponding initiator; Based on the aforementioned tags, the ransomware attributes are associated with the corresponding initiator; and Identify a set of initiators, and for the set of initiators, the associated ransomware attributes indicate a suspected ransomware infection. The source of the data that identifies the specific host as the suspected ransomware infection includes: hosts that identify the set of originators.

11. A computer program product comprising a non-transitory computer-readable medium having instructions that, when executed by control circuitry of a computerized device, cause the computerized device to execute a method for identifying a host suspected of being a source of ransomware infection, the method comprising: A tracking interval is initiated by the data storage system in response to the detection of suspected ransomware infection data associated with a specific volume in the data storage system; Ransomware attributes are generated for a set of write requests received by the data storage system during the tracking interval, wherein the write requests in the set are associated with a corresponding host from which the write requests originated, and specify a corresponding volume, a corresponding dataset of data to be written, and a corresponding initiator, wherein the data storage system stores the association between the initiator and the host, and wherein generating the ransomware attributes includes: analyzing the corresponding dataset and generating ransomware attributes for write requests targeting the specific volume; and Based on the ransomware attributes, a specific host is identified from the corresponding hosts as the source of the data suspected of being infected by ransomware; The method further includes: The dataset specified by the write request is labeled with the identifier of the corresponding initiator; Based on the aforementioned tags, the ransomware attributes are associated with the corresponding initiator; and Identify a set of initiators, and for the set of initiators, the associated ransomware attributes indicate a suspected ransomware infection. The source of the data that identifies the specific host as the suspected ransomware infection includes: hosts that identify the set of originators.

12. The computer program product of claim 11, wherein receiving the write request includes storing the corresponding dataset in a buffer, and wherein analysis of the corresponding dataset is performed when the corresponding dataset is copied from the buffer to a cache.

13. The computer program product of claim 11, wherein the method further comprises: Map the corresponding initiator to the corresponding host; The dataset specified by the write request is marked with the identifier of the corresponding host; as well as The ransomware attributes are associated with the corresponding host based on the tags. The source of the data that identifies the specific host as the suspected ransomware infection includes the identifying host, whose associated ransomware attributes indicate a suspected ransomware infection.

14. The computer program product of claim 11, further comprising: The dataset specified by the write request is marked with an indicator that specifies fine-grained tracking; This includes generating the ransomware attributes, including analyzing the corresponding dataset, which is performed in response to the dataset including the indicator specifying fine-grained tracking.

Citation Information

Patent Citations

  • Method and system for protecting data from ransomware attack

    CN116933250A

  • Measurement Interval Anomaly Detection-based Generation of Snapshots

    US20210383010A1