US 12,081,583 B2
Automatic ransomware detection and mitigation
Stefan Bender, Woerrstadt (DE); Dominic Mueller-Wicke, Weilburg (DE); Mauro Cruciani, Bodenheim (DE); Christian Mueller, Dichtelbach (DE); Thomas Schreiber, Klein-Winternheim (DE); Frank Mueller, Moerfelden-Walldorf (DE); and Kai Boerner, Kelsterbach (DE)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Apr. 22, 2020, as Appl. No. 16/854,943.
Prior Publication US 2021/0336968 A1, Oct. 28, 2021
Int. Cl. H04L 9/40 (2022.01); G06F 11/14 (2006.01)
CPC H04L 63/145 (2013.01) [G06F 11/1451 (2013.01); G06F 2201/84 (2013.01)] 19 Claims
OG exemplary drawing
 
1. A computer-implemented method for ransomware detection and mitigation, the method comprising:
performing, in predetermined time intervals, snapshot backups of data in a block-oriented storage device;
responsive to performing a first snapshot backup, storing an identification of changed data blocks in a commit table, the storing occurring prior to performing a next snapshot backup according to the predetermined time intervals;
determining an interval malware index value indicative of a changed block rate as identified in the commit table;
detecting ransomware based on the interval malware index value being larger than a predefined interval malware index threshold value;
responsive to the detected ransomware, performing an emergency snapshot prior to performing the next snapshot backup according to the predetermined time intervals, the emergency snapshot being performed independent of and out of sequence with the predetermined time intervals for snapshot backups;
in response to determining a file has been affected by the detected ransomware, repairing the file using unencrypted data blocks from the first snapshot backup, using the identification of changed data blocks stored in the commit table; and
deleting the identification of changed data blocks in the commit table in response to a second snapshot backup being performed.