Automatic ransomware detection with on-demand file system locking and automatic repair

Through the collection and analysis of file statistics of the hierarchical storage management system, we can identify and respond to ransomware attacks, lock file system access, and repair affected files. This solves the problems of detection delay and file system shutdown in the existing technology, and realizes the detection of ransomware. Rapid response and automatic remediation of attacks.

CN114222990BActive Publication Date: 2024-10-22INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080056991.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-08-13
Filing Date
2020-07-10
Publication Date
2024-10-22
Estimated Expiration
2040-07-10

AI Technical Summary

Technical Problem

Existing technology is difficult to quickly detect and prevent ransomware attacks, resulting in the file system being discovered only after it has been encrypted, resulting in file loss or the need for a complete system recovery, which is time-consuming and not real-time.

Method used

Adopting a hierarchical storage management system, by collecting file statistics of the file system, identifying affected files, locking file system access, undoing coordinated processing, repairing affected files, and automatically repairing ransomware attacks before detecting them.

Benefits of technology

Enables rapid detection and near real-time response to ransomware attacks, prevents further encryption of files, and provides automatic repair of encrypted files before an attack is detected, reducing file system downtime and data loss risk.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114222990B_ABST
    Figure CN114222990B_ABST
Patent Text Reader

Abstract

A method and system for detecting ransomware and repairing data after an attack. The method includes: collecting statistical information about files in a file system; identifying affected files based on the collected statistical information about the files; locking access to the file system in response to identifying the affected files; revoking coordination processing; repairing the affected files; and unlocking access to the file system. The system includes a computer node, a file system, a plurality of disk storage components, a backup client, and a hierarchical storage client. The hierarchical storage client is configured to collect statistical information about files in a file system, identify affected files based on the collected statistical information about the files, lock access to the file system in response to the identified affected files, revoke coordination processing, repair the affected files; and unlock access to the file system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to file system protection, and more particularly to detecting and responding to malware or ransomware attacks on a file system. Background Art

[0002] Ransomware is a type of malware from the cryptomining family that threatens to publish a victim's data or permanently block access to the data unless a ransom is paid. Simple ransomware can lock a system in a way that is not difficult to reverse for a knowledgeable person. However, more advanced malware uses a technique known as cryptomining, in which it encrypts the victim's files, making them inaccessible, and then demands a ransom to decrypt them. In a properly implemented cryptomining attack, recovering files without the decryption key is problematic.

[0003] Typically, a ransomware attack is performed using a trojan disguised as a legitimate file that the user is tricked into downloading or opening when it arrives as an email attachment. However, some versions can circulate between computers without user interaction.

[0004] Current solutions detect a ransomware attack only after the entire file system or at least a large portion of the file system (multiple directories) has been encrypted. In order to repair the affected files from a ransomware attack, a full recovery of the file system must be performed. Usually, if available, a full system recovery is from a backup. However, this takes a lot of time and stops the operation of the affected file system. In the worst case, the user has no backup or the encrypted files have been backed up and loses all files, or is forced to pay a fee to the ransomware attacker to get their files back. Summary of the invention

[0005] According to an embodiment of the present disclosure, a translator detection and management system is disclosed. An embodiment of the system includes a computer node, a file system, a plurality of disk storage components, a backup client, and a hierarchical storage client. The hierarchical storage client is configured to collect file statistics in the file system, identify affected files based on the collected file statistics, lock access to the file system in response to the identified affected files, undo coordination processing, repair the affected files; and unlock access to the file system. In some embodiments, the collected file statistics include collected file access statistics; and collected file deduplication and compression ratios. In some embodiments, the hierarchical storage client further includes an observation and control module (OCM), an observation and control module table (OCMt), an enhanced migration module (EMM), an enhanced file system coordination module (EFRM), and an enhanced recall module (ERM). In an embodiment, the OCM is configured to register with the file system and receive notifications from the file system when a new file is created or an existing file in the file system is changed. Notify the EMM of new files or changed files; and initiate pre-migration of new or changed files. In some embodiments, the EMM is configured to calculate the deduplication and compression ratio of the file during the pre-migration of the file, notify the OCM of the deduplication and compression ratio, and enter the deduplication and compression ratio of the tile into the entry of the file in the OCMt. In some embodiments, the EMM is further configured to collect the deduplication and compression ratio when the file is migrated. In some embodiments, the EMM is further configured to generate a block-level hash map of the file at the first pre-migration, generate a second block-level hash map of the file at the second pre-migration of the file, compare the block-level hash map with the second block-level hash map, determine that a predetermined portion of the compared block-level hash maps does not match, and identify the file as affected in response to exceeding the predetermined portion. In some embodiments, the OCM is also configured to store the block-level hash map of the file in the OCMt. In some embodiments, the OCM is also configured to determine whether an abnormal amount of file write access to the file system has occurred. In some embodiments, the OCM is also configured to define a watermark of accepted write access to files in the file system.

[0006] According to an embodiment of the present disclosure, a method for detecting transaction software is disclosed. The method includes: collecting file statistics in a file system; identifying affected files based on the collected file statistics; locking access to the file system in response to identifying the affected files; undoing the coordination process; repairing the affected files; and unlocking access to the file system. In some embodiments, collecting file statistics includes collecting file access statistics and collecting file deduplication and compression ratios. In some embodiments, collecting file access statistics includes registering an observation and control module (OCM) with the file system, notifying the OCM when a new file is created or an existing file in the file system is changed, notifying the new file or the changed file to the enhanced migration module by the OCM, and initiating pre-migration of the new or changed file. In some embodiments, the method includes registering a change tracking process at the new file or the existing file by the OCM for notification when a write access occurs to the new file or the existing file. In some embodiments, the method includes receiving a notification of the write access, and adding data associated with the file to an observation and control module table (OCMt). In some embodiments, the method includes receiving a notification of a second or subsequent write access to the file, and adding data associated with the file to the OCMt. In some embodiments, collecting file deduplication and compression ratios includes calculating the deduplication and compression ratios of the file by an enhanced migration module (EMM) during pre-migration of the file, notifying the OCM of the deduplication and compression ratios of the file by the EMM, and entering the deduplication and compression ratios of the file in a file entry in an observation and control module table (OCMt).

[0007] In some embodiments, identifying the affected file includes generating a block-level hash map of the file at a first pre-migration of the file, storing the block-level hash map of the file in an observation and control module table (OCMt), generating a second block-level hash map of the file at a second pre-migration of the file, comparing the block-level hash map with the second block-level hash map, determining that a predetermined portion of the compared block-level hash maps does not match, and identifying the file as affected in response to the determination. In some embodiments, identifying the affected file includes determining whether an abnormal amount of file write accesses to the file system have occurred. In some embodiments, determining whether an abnormal amount of file write accesses to the file system have occurred includes traversing the observation and control module table (OCMt), establishing a total of write accesses to files in the OCMt for a recent observation cycle, and establishing a total of write accesses to files in the OCMt for an observation cycle prior to the recent observation cycle. In some embodiments, determining whether an abnormal amount of file write accesses to the file system have occurred includes traversing the observation and control module table (OCMt), and for each file in the table accessed in a previous observation cycle, reading the associated deduplication and compression ratio entry for each file from the OCMt as the most recent ratio. For each file, a current deduplication and compression ratio of the associated file is calculated as a current ratio, the current ratio of each file is compared to a recent ratio of the corresponding file from a previous observation period, and when the current ratio is lower than the recent ratio, the associated file is determined to have abnormal file access. In some embodiments, identifying the affected file includes defining a watermark for accepting write access to the file in the file system.

[0008] In some embodiments, locking access to the file system in response to identifying the affected files includes: traversing an observation module table (OCMt) to determine whether a threshold number of files have been marked as affected files; blocking write access to the file system; stopping all migration processing by an enhanced migration module (EMM); and stopping all reconciliation processing by an enhanced file system reconciliation module (EFRM). In some embodiments, undoing the reconciliation processing includes: writing an undo log of the changes to be reconciled by the enhanced file system reconciliation module (EFRM), determining that the reconciliation processing at the EFRM has been stopped, and applying the undo log to undo all reconciliation activities at the storage server. In some embodiments, repairing the affected files includes traversing an observation and control module table (OCMt) to identify each file marked as an affected file in the OCMt, moving the affected files to a quarantine folder, and restoring a latest version of the affected files from the storage server, the latest version having a migration timestamp that is prior to a timestamp associated with a current version of the affected files. In some embodiments, repairing the affected files includes traversing an observation and control module table (OCMt) to identify each file in the OCMt that is marked as an affected file, stubbing the affected files, and linking a cleaned version of the affected files to a version of the affected files in the storage server that was migrated before a timestamp associated with a current version of the affected files.

[0009] The above summary is not intended to describe each illustrated embodiment or every implementation of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The accompanying drawings included in this application are incorporated into the specification and form a part of the specification. They show embodiments of the present disclosure and are used to explain the principles of the present disclosure together with the specification. The accompanying drawings only illustrate certain embodiments and do not limit the present disclosure.

[0011] Figure 1 is a block diagram illustrating a system for providing a backup architecture with ransomware detection and management in accordance with an illustrative embodiment.

[0012] Figure 2 is a block diagram illustrating components of an HSM client in greater detail according to an exemplary embodiment.

[0013] Figure 3 is a flow chart illustrating a process for detecting and protecting a system from a ransomware attack according to various embodiments of the present disclosure.

[0014] Figure 4 is a block diagram illustrating a computing system according to one embodiment.

[0015] Figure 5is a graphical representation showing an illustrative cloud computing environment.

[0016] Figure 6 A set of functional abstraction layers provided by a cloud computing environment is shown according to one illustrative embodiment.

[0017] Although the present invention may have various modifications and alternative forms, its details have been shown by way of example in the accompanying drawings and will be described in detail. However, it should be understood that its purpose is not to limit the present invention to the specific embodiments described. On the contrary, the present invention covers all modifications, equivalents and alternatives that fall within the spirit and scope of the present invention. DETAILED DESCRIPTION

[0018] Various aspects of the present disclosure relate to the protection of file systems, and more particularly to protecting file systems from malware or ransomware attacks. Although the present disclosure is not necessarily limited to such applications, various aspects of the present disclosure may be understood through a discussion of various examples using this context.

[0019] A ransomware attack is one of the most devastating problems that can happen to files in a file system. This has significant impacts on the file system and the file owner. A ransomware attack cannot be detected quickly enough to prevent the loss of access to the files. Often, the owner of the file system is aware of the ransomware attack only after the files have been encrypted.

[0020] Modern backup software (e.g., IBM Spectrum Protect) is able to detect if the backup rate or deduplication rate in a file system backup shows a deviation from normal processing. Unfortunately, this detection occurs at the next backup that occurs after the file system has been infected. This means that all files have already been encrypted and it is too late to stop the attack. In order to repair the affected files, a full recovery of the file system must be performed. However, this takes a lot of time and stops production on the affected file system. In the worst case, the user does not have a backup and loses all files, or is forced to pay the ransomware attackers to get their files back.

[0021] Current solutions do not protect against attacks that affect the entire file system. Current solutions detect a ransomware attack only after the entire file system has been encrypted. In order to repair this file system, a full system restore must be restored from a backup, if available.

[0022] The present disclosure addresses weaknesses in current protection systems by quickly (near real-time) detecting a ransomware attack, and providing a near real-time reaction to a detected ransomware attack to prevent further encryption of files and / or file systems. The present disclosure also provides automatic repair of encrypted files before a ransomware attack is detected. In addition, the present disclosure can interlock or coordinate with a virus scanner to automatically repair files that have been infected by a virus or other corruption.

[0023] Figure 1 1 is a block diagram illustrating a system for providing a backup architecture with ransomware detection and management according to an illustrative embodiment. The backup system 100 employs a hierarchical storage management solution (HSM) to manage files. The backup system 100 includes a computer node 110, a file system 120, disk storage components 130-1, 130-2, 130-N (collectively referred to as disk storage components 130), a backup client 140, a backend server 150, and a hierarchical storage management client 160 (HSM client 160).

[0024] Briefly, in Figure 1 , a backup client 140 runs on a compute node 110. The compute node has a local installation of a file system 120 and has access to a disk storage component 130 via a network. The backup client 140 component 140 is connected to a backend server 150. An HSM client 160 is typically installed on one (or more) compute nodes 110 (or in a multiple cluster environment). The HSM client 160 reads data from the file system 120 installed on (more) compute nodes 110 and sends the file data to the backend server 150 via migration. The HSM client 160 runs on a compute node 110. The compute node has a local installation of a file system 120 and has access to a disk storage component 130 via a network. The HSM client 160 component 160 is connected to a backend server 150.

[0025] Hierarchical storage management solutions usually virtually expand the space of the file system 120 by introducing additional hierarchical storage layers. The reason for introducing storage layers is to store large amounts of data at a lower cost and higher efficiency than traditional rotating disks. In many cases, the HSM tiered environment consists of different flash or solid-state drives (SSDs) (layer 0) and hard disk drives (HDDs) (layers 1-N-1) and tapes as the last layer (layer N) in the hierarchical structure. The process of moving files between layers is called migration and recall. Migration means moving file data to the next lower layer and replacing the data on the higher layer with only the metadata required to identify the new location of the file data in the lower layer for later recall. The metadata is usually called a "stub file" and does not consume space. Recall means moving data back to a higher layer in the storage hierarchy. The physical location of the file data is transparent to the users of the file system 120 and the stored data. The HSM solution does not distinguish between different file versions. Changes in file data require recalls from the lower layer to the online layer. These functions are performed by the HSM client 160 component 160 through corresponding migration modules and recall modules ( Figure 2 ) to achieve this.

[0026] In terms of migrating files from higher layers to lower layers, Unix HSM knows three different file migration states, resident, pre-migrated, and migrated. In the resident state, the file data exists only in the active file system 120 (layer 0). There is no valid copy of the resident file in the backup server, such as the Spectrum Protect server (layer 1). This is the migration state for newly created or changed files. In the pre-migration state, the file data has a valid copy in both the file system 120 (layer 0) and the backup server (layer 1). The pre-migration state also applies to files recalled from the backup server for reading. The HSM file pre-migration state is also called dual mode. In the migration state, the file in layer 0 is replaced by a stub file and exists only in the backup server (layer 1). The migration state persists until data access is attempted to the file data.

[0027] When a file data access is performed, a transparent recall is initiated. Data is advanced to tier 0, while the data access system recall is blocked, waiting for it to complete. User recall of files from lower tiers to higher tiers can be performed through explicit recall HSM commands to recall a file or a list of files, or by using commands such as the Spectrum Scale MMApplyPolicy command to drive the recall of files whose attributes match a set of policy rule criteria. If an application triggers a recall by accessing a file, it must wait until the complete file data is recalled from the backup server to the file system 120. The type of access can be read, write, or truncate.

[0028] The coordination method ensures that the content of the file system 120 and the content of the backup server are synchronized. The coordination function is performed by the HSM client 160 component 160 through the corresponding coordination module ( Figure 2 For example, in Spectrum Protect for space management, the client uses the Spectrum Scale policy engine to generate a list of all migrated files in the file system 120 and performs a quick comparison between the listed files and the files stored in the Spectrum Protect server.

[0029] Typical anti-ransomware systems are based on two different architecture types to prevent ransomware execution.

[0030] The first type of architecture is a clone of the antivirus architecture. The anti-ransomware is installed on the local compute node like a watcher. It monitors the file system data and executed programs for specific signatures of known ransomware. The anti-ransomware needs input of known ransomware signatures, just like a virus scanner needs the latest updates for new viruses. Without knowing the ransomware signature, it cannot identify, detect, and prevent ransomware attacks and encryption of local file systems.

[0031] The second architectural type of anti-ransomware is based on defining pre-access restrictions to files, directories, and file systems. The software needs to be installed on the local computing node and authorizes specific trusted applications to write access to specific areas. For example, directories can be marked as protected and only registered applications are allowed to write data into these directories. The software does not perform any detection of ransomware. It simply protects the data from being overwritten by any unknown or untrusted application. This can be ransomware or just another application that the consumer wants to use. This anti-ransomware usually claims to have behavioral detection internally, but simply collects a lot of feedback from consumers, like a typical desktop firewall asking their consumers whether to allow the application to do so.

[0032] Typically, known ransomware detection and prevention applications such as Bitdefender, Zone Alarm, Panda or Webroot apply the following approach. Directories can be marked as protected and only registered applications are allowed to write data to these directories. Local file change tracking is used to identify ransomware attacks on files. Applications detected as malicious will be stopped by the ransomware detection application on the local system. A limitation of this approach is that the ransomware detection application must be running on the local system under attack. Furthermore, manual protection of directories introduces inflexibility to the system.

[0033] Unlike previous systems, the HSM client 160 of the present disclosure does not have the restriction of having to run on a local system. The protected file system 120 can be local, but can also be remote. There is no need to manually identify protected directories. There is no need to stop the application, but access to the file system 120 will be locked to prevent further changes to the file.

[0034] Figure 2 is a block diagram illustrating in greater detail the components of HSM client 160. HSM client 160 includes observation and control module 220 (OCM 220), migration module 240, recall module 260, and coordination module 280.

[0035] The OCM 220 module 220 is a module of the HSM client 160 that is configured to collect and maintain file access statistics and to collect and maintain file deduplication statistics. The OCM 220 module 220 maintains the collected data in an observation and control module table 225 (OCMt 225). The OCM 220 uses a file system 120 control interface, such as DMAPI or a Windows filter driver, to collect file information and prevent write access to observed and affected files in the file system 120.

[0036] The migration module 240 is a component of the system that is configured to move file data to the next lower layer and replace the data on the higher layer with only metadata identifying the new location of the file data in the lower layer for later recall. The migration module 240 includes an enhanced migration module 245 (EMM 245). The EMM 245 is configured to materialize the file deduplication and compression rates to the OCM 220 module 220. In addition, the EMM 245 is configured to create a block-level hash map of the file while migrating it and materialize the hash map to the OCM 220 module 220. The EMM 245 is also configured to migrate the file to the back-end server 150 (e.g., a Spectrum Protect server). The back-end server 150 is configured with a module that delays deletion until the ransomware infection can be eliminated.

[0037] The recall module is a component of the system configured to move data back to a higher layer in the storage hierarchy. The recall module 260 includes an enhanced recall module 265 (ERM 265). The ERM 265 is a module configured to stop access to files on the file system 120.

[0038] The coordination module 280 is a component of the system configured to synchronize the contents of the file system 120 with the contents of the backend server 150. The coordination module also includes an enhanced file system coordination module 285 (EFRM 285). The EFRM 285 is configured to immediately stop the coordination process as needed. In addition, the EFRM 285 may include an undo log function.

[0039] Figure 3 3 is a flow chart illustrating a process for detecting and protecting a system from ransomware attacks according to various embodiments of the present disclosure. Process 300 begins by collecting statistics for a file. This is shown in step 310. In this step, OCM 220 collects file access statistics and file deduplication and compression rates.

[0040] In order to collect file access statistics, OCM 220 registers with file system 120 to receive notifications if new files are created or if existing files are changed. When OCM 220 receives notification about a newly created or changed file, it registers the change tracking mechanism at the file to receive notifications when write access occurs. When registration has been completed, OCM 220 notifies EMM 245 about the new or changed file and initiates pre-migration of the file. When the first write access occurs, OCM 220 adds the file name to OCMt 225 and enters the access time for the given file. Subsequent write accesses to the same file in the same observation period will add additional timestamps to the table.

[0041] In order to collect the file deduplication rate and compression rate at the time of pre-migration, EMM 245 de-duplicates and compresses the file so that the data is effectively transmitted to EHS. EMM 245 calculates the deduplication rate and compression ratio of the file. After the pre-migration of the file has been completed, EMM 245 notifies OCM 220 that the migration has been completed and provides the deduplication rate and compression rate to OCM 220. OCM220 inputs the deduplication rate and compression rate of the given file to OCMt 225. Subsequent migration will cause the entry attached to the same file to be added. When the resident file is not pre-migrated but migrated, the same situation occurs. If the pre-migration file is migrated, then there is no need to collect additional information because it has been collected when the data was sent to EHS for the last time (at the time of pre-migration).

[0042]

[0043]

[0044] Table 1

[0045] Table 1 shows an example of an entry for a file, (File A) in OCMt 225 based on the process of steps 310 and 320. It should be noted that the comment column of Table 1 does not exist in OCMt 225, but is provided in this example to provide additional information to the reader (such as what has changed in each entry). In some embodiments, the file access statistics are based not only on the frequency of write access to the file, but also take into account that the file size does not change in terms of write access. However, when encryption is performed on the file, the file size changes. In some embodiments, the process takes into account that the access to the file follows a pattern. The pattern can be a directory traversal, an index node table traversal, a user-specific file system 120 traversal, or a recorded access rejection rate. This information can be used to detect abnormal access activity. In some embodiments, the file access statistics are based on a recall of the write ratio of the file. In this embodiment, OCM 220 interacts with ERM 265 to collect this information and enters the information into OCMt table 225. This can also be used to identify abnormal access patterns. In some embodiments, the file access statistics are based on the coordinated expiration rate of the file. In this approach, OCM 220 interacts with EFRM 285 to collect this information and enter it into OCMt table 225. This information can also be used to identify abnormal patterns in the system.

[0046] Based on the collected file statistics, the process continues to identify the affected files. This is shown in step 320. In this step, OCM 220 identifies whether the file is affected when it is sent to EHS. When the pre-migration of the file occurs for the first time, EMM 245 creates a block-level hash map of the file and sends the hash to OCM 220. OCM 220 stores the information in OCMt225. When the pre-migration of the file occurs at a later time than the second time, a block-level hash map is created and compared with the hash map information stored in OCMt 225 from the previous run. When the hash map has a 100% difference, EMM 245 assumes that the file is affected by encryption. EMM 245 notifies OCM 220 that the file is affected. OCM 220 enters this information in OCMt225. However, in some embodiments, the difference percentage in the hash map can be less than 100% for EMM 245 to assume that the file is affected by encryption.

[0047] OCM 220 further identifies whether an abnormal amount of file write accesses has occurred in file system 120. OCM 220 traverses OCMt 225 and builds a sum Sn of write accesses for all files in the table for the most recent observation period. OCM 220 further builds a second sum Sn-1 of write accesses for all files in the table in the observation period before the most recent observation period. If the result of Sn is significantly higher than the result of Sn-1, the process can move to block access to file system 120. Alternatively, OCM 220 can traverse OCMt 225. For each file in the table accessed in the last observation period, the entry for deduplication rate and compression rate is read. OCM 220 accesses the file and calculates the current deduplication rate and compression rate of the given file. If the current deduplication rate and compression rate are significantly lower than the most recent deduplication rate, OCM 220 can mark the file for abnormal file access in table OCMt225.

[0048] OCM 220 may also define watermarks for accepted write accesses to files in file system 120 .

[0049] The interval at which OCM 220 checks for ransomware attacks is defined. This interval is called an observation interval (OI). It can be defined by an administrator and determines how quickly OCM 220 can detect an attack. The smaller the OI, the faster the attack is detected. However, very small intervals have the risk of false detection. OI should be much smaller than the usual interval (such as 24 hours) of backing up the file system 120 to benefit from the capabilities of OCM 220. OCM 220 runs file access statistics for the last X OI, where X OI represents a time span of several days or weeks. Calculate the average amount of written files in the file system 120 and the average distribution. OCM220 then runs file access statistics for the current OI and calculates the amount of written files in the file system 120. Compare the results from the last X OI with the results from the current OI. Apply standard statistical methods (e.g., 3 sigma methods) to determine whether there is an abnormally high file change rate in the current OI. However, any statistical method can be applied. If an unusually high change rate is detected, then OCMt 225 is traversed and all files that have changed in the last OI are identified. OCM 220 can then check whether the entire (or other threshold) file has been changed by comparing hashed blocks, and whether the deduplication rate and compression rate have decreased. If the answer to both is yes, then OCM 220 can continue to lock access to file system 120.

[0050] When it is determined that an attack is in progress, the system continues to lock access to files and / or the file system 120. This is shown in step 330. In this step, the OCM 220 locks write access to files in the file system 120 when abnormal write access is detected. In order to lock file access, the OCMt 225 table is traversed. If a predetermined number of files are marked as having abnormal write access, the OCM 220 continues to lock all further write access to complete the file system 120 using the ERM 265. This is to prevent more files from being overwritten. The OCM 220 notifies the EMM 245 to stop all migration processing. This is to prevent the affected files from being migrated to the back-end server 150 and invalidate the unaffected versions of the files on the back-end server 150. The OCM 220 notifies the EFRM 285 to stop all coordination processing. This is to prevent the unaffected versions of the migrated files from being deleted on the back-end server 150. In some embodiments, the OCM 220 interacts with a virus scanner. If a file in the observed file system 120 is infected by a virus, then OCM 220 receives notification from the virus scanner. OCM 220 will lock write access to the given file and start automatic repair as described below. In another embodiment, OCM 220 interacts with a virus or malware scanning tool that is automatically launched by OCM 220 when an attack is observed and used to remove malware or viruses from the affected system.

[0051] After the file access is locked, the system continues to undo the coordination process that has occurred. This is shown in step 340. When an abnormal write is detected, OCM 220 continues to undo the coordination process. When the coordination process was started before the attack, EFRM285 wrote an undo log, which contained all changes to be coordinated at the back-end server 150. The back-end server 150 is configured to collect coordination activities from EFRM 285, but does not delete files until EFRM 285 finally commits coordination. The actual deletion only occurs several observation cycles after the file has been detected as abandoned. When EFRM 285 stops at OCM 220 due to abnormal write access to the file system 120, the undo log will be used to undo all coordination activities at the back-end server 150. When EFRM 285 completes coordination regularly, the changes at the back-end server 150 will be committed and the undo log will be deleted.

[0052] After stopping the coordination process, the system continues to repair the files damaged by the attack. This is shown in step 350.

[0053] OCM 220 automatically repairs the affected files by traversing OCMt 225 to identify the files that were marked as abnormal write access. In some embodiments, OCM 220 then moves the files to a quarantine folder. OCM 220 then restores the latest version of the file from backend server 150. It does this by identifying a version of the file at backend server 150 that has a migration timestamp from before the abnormal write access was detected to the original name of the file. This continues for all affected files in the table.

[0054] In some embodiments, OCM 220 recovers the file by clearing the affected file. The stub file is then linked to the version of the file at the backend server 150 that was migrated before the anomalous write access based on the migration timestamp.

[0055] After the file is restored, the system proceeds to unlock the locked file. This is shown in step 360. OCM 220 can unlock the file after a predetermined time from the start of the attack or from the time the file is restored. In some embodiments, the unlocking process is manually performed by the file system 120 administrator. In some embodiments, OCM 220 can generate a notification to the user to notify them of the detected attack. In this way, the user can warn the system that the encryption is intentional or unintentional. If the encryption is intentional, the system can continue to allow the encryption to continue. In some embodiments, the user is assigned the task of identifying and removing the ransomware before unlocking the file. The user can then use the removal tool to remove the ransomware from the system. After removing the ransomware from the system, the user can return an indication to OCM 220: the ransomware has been removed and the file system can be unlocked. In some embodiments, the user may need to remove the ransomware before restoring the affected files.

[0056] Reference now Figure 4 , shows a high-level block diagram of an example computer system 401 that can be used to implement one or more of the methods, tools, and modules described herein and any related functionality (e.g., using one or more processor circuits of a computer or a computer processor) according to an embodiment of the present disclosure. In some embodiments, the main components of the computer system 401 may include one or more CPUs 402, a memory subsystem 404, a terminal interface 412, a storage device interface 416, an I / O (input / output) device interface 414, and a network interface 418, all of which may be directly or indirectly communicatively coupled for inter-component communication via a memory bus 403, an I / O bus 408, and an I / O bus interface unit 410.

[0057] Computer system 401 may include one or more general purpose programmable central processing units (CPUs) 402-1, 402-2, 402-3, and 402-N, collectively referred to herein as CPUs 402. In some embodiments, computer system 401 may include multiple processors typical of relatively large systems; however, in other embodiments, computer system 401 may alternatively be a single CPU system. Each CPU 402 may execute instructions stored in a memory subsystem 404 and may include one or more levels of onboard cache.

[0058] System memory 404 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 422 or cache memory 424. Computer system 401 may also include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 426 may be provided for reading from and writing to non-removable, non-volatile magnetic media such as "hard drives". Although not shown, a disk drive for reading from and writing to a removable, non-volatile disk (e.g., "floppy disk") may be provided, or an optical drive or other optical medium for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM, etc. may be provided. In addition, memory 404 may include flash memory, such as a flash stick drive or a flash drive. The memory device may be connected to memory bus 403 via one or more data medium interfaces. Memory 404 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of different embodiments.

[0059] Although the memory bus 403 is Figure 4 404 and I / O bus 408. In the embodiment of the present invention, the computer system 401 is shown as a single bus structure that provides a direct communication path between the CPU 402, the memory subsystem 404 and the I / O bus interface 410, but in some embodiments, the memory bus 403 may include multiple different buses or communication paths, which may be arranged in any of a variety of forms, such as hierarchical point-to-point links, star or mesh configurations, multi-layer buses, parallel and redundant paths, or any other suitable type of configuration. In addition, although the I / O bus interface 410 and the I / O bus 408 are shown as a single corresponding unit, in some embodiments, the computer system 401 may include multiple I / O bus interface units 410, multiple I / O buses 408, or both. In addition, although multiple I / O interface units are shown that separate the I / O bus 408 from the various communication paths to various I / O devices, in other embodiments, some or all of the I / O devices may be directly connected to one or more system I / O buses.

[0060] In some embodiments, computer system 401 may be a multi-user mainframe computer system, a single-user system, or a server computer or similar device having little or no direct user interface but receiving requests from other computer systems (clients). In addition, in some embodiments, computer system 401 may be implemented as a desktop computer, a portable computer, a laptop or notebook computer, a tablet computer, a pocket computer, a phone, a smart phone, a network switch or router, or any other suitable type of electronic device.

[0061] Notice, Figure 4 The main components of the exemplary computer system 401 are intended to be depicted. However, in some embodiments, the various components may have more Figure 4 The greater or lesser complexity represented in , may exist different from Figure 4 Components may be those shown in or in addition to those shown in, and the number, type, and configuration of these components may vary.

[0062] One or more programs / utilities 428 may be stored in memory 404, each having at least one set of program modules 430. Programs / utilities 428 may include a hypervisor (also referred to as a virtual machine monitor), one or more operating systems, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data, or some combination thereof, may include an implementation of a networking environment. Programs 428 and / or program modules 403 typically perform the functions or methods of various embodiments.

[0063] It should be understood that although the present disclosure includes detailed descriptions about cloud computing, the implementation of the teachings set forth herein is not limited to cloud computing environments. Instead, embodiments of the present invention can be implemented in conjunction with any other type of computing environment now known or later developed.

[0064] Cloud computing is a service delivery model for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be quickly provisioned and released with minimal management effort or interaction with the provider of the service. The cloud model may include at least five characteristics, at least three service models, and at least four deployment models.

[0065] Features are as follows:

[0066] On-demand self-service: Cloud consumers can unilaterally and automatically provision computing capabilities, such as server time and network storage, as needed without requiring manual interaction with the service provider.

[0067] Wide Area Network Access: Capabilities are available over the network and accessed through standard mechanisms that facilitate use by heterogeneous thin or thick client platforms (e.g., mobile phones, laptops, and PDAs).

[0068] Resource pooling: A provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, where different physical and virtual resources are dynamically allocated and reallocated based on demand. There is location independence in the sense that consumers typically do not control or know the exact location of the resources provided, but are able to specify the location at a higher level of abstraction (e.g., country, state, or data center).

[0069] Rapid elasticity: In some cases, the ability to scale out quickly and in quickly can be provisioned quickly and elastically. To the consumer, the capacity available for provisioning often appears to be unlimited and can be purchased in any quantity at any time.

[0070] Metered Services: Cloud systems automatically control and optimize resource usage by leveraging metering capabilities at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported, providing transparency to both providers and consumers of the utilized services.

[0071] The service model is as follows:

[0072] Software as a Service (SaaS): The capability provided to the consumer is to use the provider's applications running on the cloud infrastructure. The applications are accessible from a variety of client devices through a thin client interface such as a web browser (e.g., web-based email). The consumer does not manage or control the underlying cloud infrastructure including the network, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.

[0073] Platform as a Service (PaaS): The capability provided to consumers is to deploy consumer-created or acquired applications onto cloud infrastructure, where the applications are created using programming languages ​​and tools supported by the provider. The consumer does not manage or control the underlying cloud infrastructure including networks, servers, operating systems, or storage, but has control over the deployed applications and possible configuration of the application hosting environment.

[0074] Infrastructure as a Service (IaaS): The capabilities provided to consumers are processing, storage, networking, and other basic computing resources on which consumers can deploy and run arbitrary software, which may include operating systems and applications. Consumers do not manage or control the underlying cloud infrastructure, but have control over the operating system, storage, deployed applications, and possibly limited control over selected networking components (e.g., host firewalls).

[0075] The deployment model is as follows:

[0076] Private Cloud: The cloud infrastructure is operated only for the organization. It can be managed by the organization or a third party and can exist inside or outside the building.

[0077] Community cloud: The cloud infrastructure is shared by several organizations and supports a specific community with shared concerns (e.g., mission, security requirements, policies, and compliance considerations). It can be managed by the organization or a third party and can exist on-premises or off-premises.

[0078] Public cloud: Cloud infrastructure is available to the general public or large industrial groups and is owned by an organization that sells cloud services.

[0079] Hybrid cloud: A cloud infrastructure is a combination of two or more clouds (private, community or public) that remain a unique entity but are bound together by standardized or proprietary technologies that enable data and application portability (e.g., cloud bursting for load balancing between clouds).

[0080] The cloud computing environment is service-oriented, with a focus on statelessness, low coupling, modularity, and semantic interoperability. At the core of cloud computing is an infrastructure consisting of a network of interconnected nodes.

[0081] System 600 may be employed in a cloud computing environment. Figure 5 is a graphical representation of an illustrative cloud computing environment 550 according to one embodiment. As shown, the cloud computing environment 550 includes one or more cloud computing nodes 510 with which a local computing device used by a cloud consumer can communicate, the local computing device being, for example, a personal digital assistant (PDA) or cellular phone 554A, a desktop computer 554B, a laptop computer 554C, and / or an automobile computer system 554N. The nodes 9Y can communicate with each other. They can be physically or virtually grouped (not shown) in one or more networks, such as a private cloud, community cloud, public cloud, or hybrid cloud, or a combination thereof, as described above. This allows the cloud computing environment 550 to provide infrastructure, platform, and / or software as a service for which the cloud consumer does not need to maintain resources on a local computing device. It should be understood that Figure 5 The types of computing devices 554A-N shown in are intended to be illustrative only, and computing node 510 and cloud computing environment 550 may communicate with any type of computerized device over any type of network and / or network-addressable connection (eg, using a web browser).

[0082] Reference now Figure 6 , showing the cloud computing environment 550 ( Figure 5 ) provides a set of functional abstraction layers. It should be understood in advance that Figure 6 The components, layers, and functions shown in are intended to be illustrative only, and the embodiments of the present disclosure are not limited thereto. As depicted, the following layers and corresponding functions are provided:

[0083] The hardware and software layer 660 includes hardware and software components. Examples of hardware components include: mainframes 661; servers based on RISC (Reduced Instruction Set Computer) architecture 662; servers 663; blade servers 664; storage devices 665; and network and networking components 666. In some embodiments, software components include network application server software 667 and database software 668.

[0084] Virtualization layer 670 provides an abstraction layer from which the following examples of virtual entities can be provided: virtual servers 671 ; virtual storage 672 ; virtual networks 673 , including virtual private networks; virtual applications and operating systems 674 ; and virtual clients 675 .

[0085] In one example, the management layer 680 may provide the functionality described below. Resource provisioning 681 provides dynamic procurement of computing resources and other resources used to perform tasks in a cloud computing environment. Metering and pricing 682 provides cost tracking when resources are utilized in a cloud computing environment, as well as billing or invoicing for consumption of these resources. In one example, these resources may include application software licenses. Security provides authentication for cloud consumers and tasks, as well as protection for data and other resources. User portal 683 provides access to the cloud computing environment for consumers and system administrators. Service level management 684 provides cloud computing resource allocation and management so that the required service levels are met. Service level agreement (SLA) planning and fulfillment 685 provides pre-scheduling and procurement of cloud computing resources, where future demand is anticipated based on the SLA.

[0086] Workload layer 690 provides examples of functionality that can take advantage of a cloud computing environment. Examples of workloads and functionality that can be provided from this layer include: mapping and navigation 691; software development and lifecycle management 692; layout detection 693; data analysis processing 694; transaction processing 695; and database 696.

[0087] The present invention may be a system, method and / or computer program product at any possible level of technical detail integration. The computer program product may include a computer-readable storage medium (or multiple media) having computer-readable program instructions thereon, and the computer-readable program instructions are used to cause a processor to perform various aspects of the present invention.

[0088] A computer-readable storage medium may be a tangible device capable of retaining and storing instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of computer-readable storage media includes the following: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device such as a punch card or a raised structure in a groove on which instructions are recorded, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium should not be interpreted as a temporary signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (e.g., a light pulse by an optical fiber cable), or an electrical signal transmitted by a wire.

[0089] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to a corresponding computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical transmission fibers, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in a computer-readable storage medium in the corresponding computing / processing device.

[0090] The computer-readable program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, configuration data of an integrated circuit, or source code or object code written in any combination of one or more programming languages ​​(including object-oriented programming languages, such as Smalltalk, C++, etc.) and procedural programming languages ​​(such as "C" programming language or similar programming languages). The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or completely on a remote computer or server. In the latter case, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider via the Internet). In some embodiments, in order to perform various aspects of the present invention, an electronic circuit including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) may execute a computer-readable program instruction by utilizing the state information of the computer-readable program instructions to personalize the electronic circuit.

[0091] Various aspects of the present invention are described herein with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to embodiments of the present invention. It will be understood that each frame of the flowchart and / or block diagram and the combination of frames in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0092] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device create a device for implementing the functions / actions specified in one or more boxes of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, which can guide the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable storage medium having the instructions stored therein includes an article of manufacture, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes of the flowchart and / or block diagram.

[0093] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device, so that a series of operational steps are performed on the computer, other programmable apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable apparatus, or other device implement the functions / actions specified in one or more boxes of the flowchart and / or block diagram.

[0094] Flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention.In this regard, each frame in the flow chart or block diagram can represent the module, segment or part of instruction, which includes one or more executable instructions for realizing the specified logical function.In some alternative embodiments, the function noted in the frame may not occur in the order noted in the figure.For example, two frames shown continuously can actually be performed substantially simultaneously, or these frames can sometimes be performed in reverse order, depending on the function involved.It will also be noted that the combination of the frames in each frame of the block diagram and / or flow chart illustration and the block diagram and / or flow chart illustration can be realized by a dedicated hardware-based system that performs a specified function or action or performs a combination of special hardware and computer instructions.

[0095] The present invention may be a system, method and / or computer program product at any possible level of technical detail integration. The computer program product may include a computer-readable storage medium (or multiple media) having computer-readable program instructions thereon, and the computer-readable program instructions are used to cause a processor to perform various aspects of the present invention.

[0096] Computer readable storage medium can be a tangible device capable of retaining and storing instructions used by an instruction execution device. Computer readable storage medium can be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of computer readable storage medium includes the following: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device such as a punch card or a raised structure in a groove with instructions recorded thereon, and any suitable combination of the foregoing. As used herein, computer readable storage medium should not be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (e.g., a light pulse by an optical fiber cable), or an electrical signal transmitted by a wire.

[0097] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to a corresponding computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical transmission fibers, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in a computer-readable storage medium in the corresponding computing / processing device.

[0098] The computer-readable program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, configuration data of an integrated circuit, or source code or object code written in any combination of one or more programming languages ​​(including object-oriented programming languages, such as Smalltalk, C++, etc.) and procedural programming languages ​​(such as "C" programming language or similar programming languages). The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or completely on a remote computer or server. In the latter case, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider via the Internet). In some embodiments, in order to perform various aspects of the present invention, an electronic circuit including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) may execute a computer-readable program instruction by utilizing the state information of the computer-readable program instructions to personalize the electronic circuit.

[0099] Various aspects of the present invention are described herein with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to embodiments of the present invention. It will be understood that each frame of the flowchart and / or block diagram and the combination of frames in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0100] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device create a device for implementing the functions / actions specified in one or more boxes of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, which can guide the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable storage medium having the instructions stored therein includes an article of manufacture, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes of the flowchart and / or block diagram.

[0101] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device, so that a series of operational steps are performed on the computer, other programmable apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable apparatus, or other device implement the functions / actions specified in one or more boxes of the flowchart and / or block diagram.

[0102] Flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention.In this regard, each frame in the flow chart or block diagram can represent the module, segment or part of instruction, which includes one or more executable instructions for realizing the specified logical function.In some alternative embodiments, the function noted in the frame may not occur in the order noted in the figure.For example, two frames shown continuously can actually be performed substantially simultaneously, or these frames can sometimes be performed in reverse order, depending on the function involved.It will also be noted that the combination of the frames in each frame of the block diagram and / or flow chart illustration and the block diagram and / or flow chart illustration can be realized by a dedicated hardware-based system that performs a specified function or action or performs a combination of special hardware and computer instructions.

[0103] The description of various embodiments of the present disclosure has been presented for illustrative purposes, but is not intended to be exhaustive or limited to the disclosed embodiments. 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 terms used herein are selected to explain the principles of the embodiments, practical applications, or technical improvements existing in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A ransomware detection and management system, comprising: Computer nodes; File system; Multiple disk storage components; Backup client; Backend server; as well as The hierarchical storage client is configured to collect file statistics information for files in the file system, wherein the collected file statistics information includes collected file access statistics information, collected file deduplication rate and compression rate; Identify affected files based on collected file statistics; In response to the identified affected files, locking access to the file system; Revocation of coordination processing; Repair the affected files; unlocking access to the file system; as well as The hierarchical storage client further includes: The enhanced migration module EMM is configured as follows: calculating a deduplication rate and a compression rate for the file during pre-migration of the file; notifying an observation and control module OCM of said deduplication rate and said compression rate; and The deduplication rate and compression rate for the file are entered into the entry for the file in the observation and control module table OCMt.

2. The system according to claim 1, wherein the hierarchical storage client further comprises: The OCM; The OCMt; Enhanced file system coordination module EFRM; as well as Enhanced Recall Module ERM.

3. The system of claim 2, wherein the OCM is configured to registering with the file system; receiving notifications from the file system when new files are created or existing files in the file system are changed; Notifying the EMM of the new or changed file; as well as A pre-migration of the new file or the changed file is initiated.

4. The system of claim 3, wherein the OCM is further configured to A change tracking process is registered at the new file or the existing file to receive notification when write access to the new file or the existing file occurs.

5. The system of claim 4, wherein the OCM is further configured to: In response to receiving notification of write access to the file, data associated with the file is added to the OCMt.

6. The system of claim 5, wherein the data associated with the file comprises: the file name for the file in question; as well as The time of the access to the file.

7. The system of claim 5, wherein the OCM is further configured to: In response to a second or subsequent notification of write access to the file, second or subsequent data associated with the file is added to the OCMt.

8. The system of claim 1, wherein the EMM is further configured to collect the deduplication rate and the compression rate when files are migrated.

9. The system of claim 1, further comprising: The EMM is further configured to: Generating a block-level hash map of the file at a first pre-migration time; generating a second block-level hash map of the file at a second pre-migration time of the file; comparing the block-level hash map with the second block-level hash map; determining that a predetermined portion of the compared block-level hash maps does not match; In response to exceeding the predetermined portion, identifying the file as affected; and The OCM is further configured to store the block-level hash map of the file in the OCMt.

10. The system of claim 2, wherein the OCM is further configured to determine whether an abnormal amount of file write accesses to the file system has occurred.

11. The system of claim 10, wherein the OCM is further configured to: Traverse the OCMt Constructing the sum of write accesses to files in the OCMt for the most recent observation period; For the observation period preceding the most recent observation period, a sum of write accesses is constructed for the file in the OCMt.

12. The system of claim 10, wherein the OCM is further configured to: Traversing the OCMt; for each file in the table accessed in a previous observation period, reading from the OCMt the associated deduplication rate and compression rate entries for each file as the most recent rate; For each file, calculating a current deduplication rate and compression rate for the associated file as a current ratio; comparing the current ratio for each file with a most recent ratio for the corresponding file from the previous observation period; and When the current ratio is lower than the most recent ratio, it is determined that the associated file has abnormal file access.

13. The system of claim 2, wherein the OCM is further configured to define a watermark for accepted write access to the file in the file system.

14. The system of claim 13, wherein the OCM is further configured to: defining an observation interval during which the operations and control module checks for ransomware attacks; calculating an average amount of writes to files in the file system over a predetermined number of observation intervals; calculating a distribution of the average amount; Calculate the amount of files written for the current observation interval; comparing the amount of the file written for the current observation interval to a calculated average; determining whether the amount of files written for the current observation interval exceeds a predetermined rate of change compared to the calculated average; as well as When the predetermined rate of change is exceeded: traversing the OCMt to identify all files that have changed in a previous observation interval; For each changed file, determining whether the entire file is changed and whether the deduplication rate and compression rate are reduced; as well as When the determination is positive, the file is determined to be an affected file.

15. The system of claim 2, wherein the OCM is further configured to: determining whether an abnormal amount of file write accesses to the file system have occurred; and A watermark defining an acceptance of accepted write access to the file in the file system.

16. The system of claim 2, wherein the OCM is further configured to: traversing the OCMt to determine whether a threshold number of files have been marked as affected files; preventing further write access to said file system; wherein the EMM is configured to stop all migration processing in response to the notification of the block by the OCM; and The EFRM is configured to stop all coordination processing in response to notification of the block by the OCM.

17. The system of claim 2, wherein the OCM is further configured to: Traversing the OCMt to identify each file marked as an affected file; moving the affected files to a quarantine folder; and A latest version of the affected file is restored from the storage server, the latest version having a migration timestamp that precedes a timestamp associated with a current version of the affected file.

18. The system of claim 2, wherein the OCM is further configured to: Traversing the OCMt to identify each file marked as an affected file; stubbing the affected files; and The stub version of the affected file is linked to a version of the affected file in the storage server that was migrated before a timestamp associated with a current version of the affected file.

19. A ransomware detection and management system, comprising: Computer nodes; File system; Multiple disk storage components; Backup client; Backend server; as well as The hierarchical storage client is configured to collect file statistics information for files in the file system, wherein the collected file statistics information includes collected file access statistics information, collected file deduplication rate and compression rate; Identify affected files based on collected file statistics; In response to the identified affected files, locking access to the file system; Revocation of coordination processing; Repair the affected files; unlocking access to the file system; as well as The hierarchical storage client further includes: The observation and control module OCM is configured as: Traversing the observation and control module table OCMt to identify each file marked as an affected file; moving the affected files to a quarantine folder; and A latest version of the affected file is restored from the storage server, the latest version having a migration timestamp that precedes a timestamp associated with a current version of the affected file.

20. A ransomware detection and management system, comprising: Computer nodes; File system; Multiple disk storage components; Backup client; Backend server; as well as The hierarchical storage client is configured to collect file statistics information for files in the file system, wherein the collected file statistics information includes collected file access statistics information, collected file deduplication rate and compression rate; Identify affected files based on collected file statistics; In response to the identified affected files, locking access to the file system; Revocation of coordination processing; Repair the affected files; unlocking access to the file system; as well as The hierarchical storage client further includes: The observation and control module OCM is configured as: Traversing the observation and control module table OCMt to identify each file marked as an affected file; stubbing the affected files; as well as The stub version of the affected file is linked to a version of the affected file in the storage server that was migrated before a timestamp associated with a current version of the affected file.