Ransomware resetter

US10839072B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10839072-B2
Application numberUS-201815876284-A
CountryUS
Kind codeB2
Filing dateJan 22, 2018
Priority dateJan 22, 2018
Publication dateNov 17, 2020
Grant dateNov 17, 2020

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method and a related system for a protection against unauthorized file encryption in a file system may be provided. The method may comprise providing an anti-ransomware file access unit, determining, by the anti-ransomware file access unit, an entropy value for a portion of a file to be written to the file system, and upon determining that the entropy value is equal or above a threshold value, performing a copy-on-write process to the file to be written, whereby the file is written to a copy-on-write storage area.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for a protection against unauthorized file encryption in a file system, comprising: continuously monitoring operations of an executable file; in response to detecting a process id associated with an executable file, calculating a hash value of the executable file; searching a copy-on-write directory for an entry including the calculated hash value; based on locating a corresponding entry in the copy-on-write directory, intercepting input and output system calls from the executable file; based on an operation being a request to write a file, determining an entropy value for a portion of the file to be written; upon determining that the entropy value is equal to or a above a threshold value, performing a copy-on-write process to the file to be written, wherein a copy-on-write entry is created in the copy-on-write directory for the executable file not having a corresponding entry, and wherein the copy-on-write entry includes the process id associated with the executable file, a program name, the calculated hash, and a file system path to the executable file, otherwise writing the file to a host file system; and based on the operation being a request to read the file, returning to the operation a file handle from either a copy-on-write storage area or from the host file system, depending on a location of the file. 2. The method according to claim 1 , wherein the threshold is a predefined threshold value. 3. The method according to claim 1 , further comprising: upon determining that the entropy value is below the threshold value, performing a write operation of the file in the file system, wherein the original file is modified. 4. The method according to claim 1 , further comprising: copying files from the copy-on-write storage area to the file system. 5. The method according to claim 1 , wherein the copy-on-write storage area is outside of, and separate from, the file system. 6. The method according to claim 1 , wherein the entropy value is determined by: compressing data comprised in the file; comparing a compression value of the file or parts thereof; and deriving the entropy value from the compression value. 7. The method according to claim 1 , further comprising reading a file by: searching an index of the copy-on-write storage area for the entry matching the file, and, based on the match of the file in the index, reading the file from the copy-on-write storage area, otherwise, reading the file from the file system. 8. The method according to claim 1 , further comprising: providing a separate anti-ransomware file access unit for every process accessing the file system. 9. A system for a protection against unauthorized file encryption in a file system, comprising a memory, one or more processors, one or more tangible computer-readable storage devices, an anti-ransomware file access unit, and a plurality of program instructions stored on at least one of the one or more storage devices for execution by at least one of the one or more processors to perform the method comprising: continuously monitoring operations of an executable file; in response to detecting a process id associated with an executable file, calculating a hash value of the executable file; searching a copy-on-write directory for an entry including the calculated hash value; based on locating a corresponding entry in the copy-on-write directory, intercepting input and output system calls from the executable file; based on an operation being a request to write a file, determining an entropy value for a portion of the file to be written; upon determining that the entropy value is equal to or a above a threshold value, performing a copy-on-write process to the file to be written, wherein a copy-on-write entry is created in the copy-on-write directory for the executable file not having a corresponding entry, and wherein the copy-on-write entry includes the process id associated with the executable file, a program name, the calculated hash, and a file system path to the executable file, otherwise writing the file to a host file system; and based on the operation being a request to read the file, returning to the operation a file handle from either a copy-on-write storage area or from the host file system, depending on a location of the file. 10. The system according to claim 9 , wherein based on determining, that the entropy value is below the threshold value, performing a write operation of the file in the file system, wherein the original file is modified. 11. The system according to claim 9 , wherein a message is generated if the copy-on-write process is performed, and wherein the message indicates a security breach. 12. The system according to claim 9 , further comprising: copying files from the copy-on-write storage area to the file system in response to determining that the files in the copy-on-write storage area is not infected. 13. The system according to claim 9 , wherein the copy-on-write storage area is outside of, and separate from, the file system. 14. The system according to claim 9 , wherein the anti-ransomware file access unit determines the entropy value by: compressing data comprised in the file; comparing a compression value of the file or parts thereof; and deriving the entropy value from the compression value. 15. The system according to claim 9 , further comprising: searching an index of the copy-on-write storage area for the entry matching the file, and based on locating the file in the index, reading the file from the copy-on-write storage area, otherwise, reading the file from the file system. 16. The system according to claim 9 , further comprising: a separate anti-ransomware file access unit for every process accessing the files system. 17. A computer program product for a protection against unauthorized file encryption in a file system, the computer program product comprising a non-transitory computer readable storage device having program instructions embodied therewith, the program instructions being executable by one or more computing systems to cause the one or more computing systems to: continuously monitoring operations of an executable file; in response to detecting a process id associated with an executable file, calculating a hash value of the executable file; searching a copy-on-write directory for an entry including the calculated hash value; based on locating a corresponding entry in the copy-on-write directory, intercepting input and output system calls from the executable file; based on an operation being a request to write a file, determining an entropy value for a portion of the file to be written; upon determining that the entropy value is equal to or a above a threshold value, performing a copy-on-write process to the file to be written, wherein a copy-on-write entry is created in the copy-on-write directory for the executable file not having a corresponding entry, and wherein the copy-on-write entry includes the process id associated with the executable file, a program name, the calculated hash, and a file system path to the executable file, otherwise writing the file to a host file system; and based on the operation being a request to read the file, returning to the operation a file handle from either a copy-on-write storage area or from the host file system, depending on a location of the file.

Assignees

Inventors

Classifications

  • G06F21/554Primary

    involving event detection and direct action · CPC title

  • using file content signatures, e.g. hash values · CPC title

  • in semiconductor storage media, e.g. directly-addressable memories · CPC title

  • by selection of backup contents · CPC title

  • in relation to data integrity, e.g. data losses, bit errors · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10839072B2 cover?
A method and a related system for a protection against unauthorized file encryption in a file system may be provided. The method may comprise providing an anti-ransomware file access unit, determining, by the anti-ransomware file access unit, an entropy value for a portion of a file to be written to the file system, and upon determining that the entropy value is equal or above a threshold value…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F21/554. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Nov 17 2020 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).