Methods and systems for detecting a ransomware attack using entropy analysis and file update patterns

US2020387609A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2020387609-A1
Application numberUS-201916431188-A
CountryUS
Kind codeA1
Filing dateJun 4, 2019
Priority dateJun 4, 2019
Publication dateDec 10, 2020
Grant date

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.

This disclosure and the exemplary embodiments described herein, provide methods and systems for detecting a ransomware infection in one or more files. According to an exemplary embodiment, a low frequency encryption analysis and a high frequency encryption analysis of a plurality of received files is performed to determine if the one or more of the files are encrypted. If a file is encrypted, a watcher is utilized to monitor file events associated with the files for determining if one or more of the files are infected with ransomware.

First claim

Opening claim text (preview).

What is claimed is: 1 . A processor implemented method for detecting a ransomware infection in a plurality of files received by a device operatively associated with a file synchronization and sharing network, each file including a plurality of sequential bytes of digital information, the method comprising: a) determining a value-count of byte values included in a file section associated with a received file, the value-count including a count of byte value occurrences of the byte values included in the file section; b) performing a low frequency analysis of the file section to determine if the file section is low frequency encrypted, the low frequency analysis including b1) calculating one or both of a low frequency entropy value associated with the file section and a low frequency average value of substantially all byte values associated with the file section, the low frequency entropy value associated with the count of byte value occurrences of the byte values included in the file section, and b2) comparing one or both of the calculated low frequency entropy value to a low frequency entropy threshold value and the calculated low frequency average value of substantially all byte values to a low frequency average value range threshold to determine if the received file is low frequency encrypted; c) performing a high frequency analysis of the file section to determine if the file section is high frequency encrypted, the high frequency analysis including c1) calculating one or both of a high frequency entropy value associated with the file section and a high frequency high-low probability ratio value associated with the file section, the high frequency entropy value associated with a plurality of subsection entropy values where each subsection entropy value is calculated for one of a plurality of consecutive subsections of bytes included in the file section, and the high frequency high-low probability ratio is calculated by dividing a high probability measure of a byte value by a low probability measure of a byte value included in the file section, and c2) comparing one or both of the calculated high frequency entropy value to a high frequency entropy threshold value and the calculated high frequency high-low probability ratio to a high frequency high-low probability threshold to determine if the received file is high frequency encrypted; d) if the file section is low frequency encrypted and high frequency encrypted, setting an encryption status condition associated with the received file to indicate the received file is encrypted; and e) if the received file encryption status condition indicates the received file is encrypted, utilizing a watcher to monitor file events associated with the plurality of files received by the device associated with the file synchronization and sharing network to determine if one or more of the plurality of files are ransomware infected. 2 . The processor implemented method for detecting a ransomware infection in a plurality of files according to claim 1 , wherein the value-count includes a total number of byte value occurrences in the file section for each possible byte value, and a)-d) are repeated for each of the plurality of files received by the device associated with the file synchronization and sharing network. 3 . The processor implemented method for detecting a ransomware infection in a plurality of files according to claim 1 , further comprising: setting the encryption status condition as true if one or both of a) the calculated low frequency entropy value is greater than or equal to the low frequency entropy threshold value indicating low frequency encryption of the received file, and b) the calculated low frequency average value of substantially all byte values is outside the low frequency average value range threshold indicating low frequency encryption of the received file, and one or both of c) the calculated high frequency entropy value is greater than or equal to the high frequency entropy threshold value indicating high frequency encryption of the received file and d) the calculated high frequency high-low probability ratio value is less than or equal to the high frequency high-low probability threshold value indicating high frequency encryption of the received file. 4 . The processor implemented method for detecting a ransomware infection in a plurality of files according to claim 1 , wherein the low frequency analysis of the file section b1) calculates the low frequency entropy value associated with the file section and calculates the low frequency average value of substantially all byte values associated with the file section, and b2) compares the calculated low frequency entropy value to the low frequency entropy threshold value and compares the calculated low frequency average value of substantially all byte values to the low frequency average value range threshold to determine if the received file is low frequency encrypted. 5 . The processor implemented method for detecting a ransomware infection in a plurality of files according to claim 1 , wherein the high frequency analysis of the file section c1 a) calculates a high frequency entropy value for each of one or more of the plurality of subsections of bytes, c1b) calculates a high frequency average entropy value of the one or more plurality of subsection bytes, and c1c) determines a low calculated high frequency entropy value of the one or more plurality of subsection bytes, and c2a) compares the calculated high frequency average entropy value of the one or more plurality of subsection bytes to a high frequency entropy average threshold, c2b) compares the low calculated high frequency entropy value of the one or more plurality of subsection bytes to a high frequency entropy minimum threshold and c2c) compares the calculated high frequency high-low probability ratio value to a high frequency high-low probability threshold value to determine if the received file is high frequency encrypted. 6 . The processor implemented method for detecting a ransomware infection in a plurality of files according to claim 1 , wherein the low frequency analysis of the file section b1) calculates the low frequency entropy value associated with the file section and calculates the low frequency average value of substantially all byte values associated with the file section, and b2) compares the calculated low frequency entropy value to the low frequency entropy threshold value and compares the calculated low frequency average value of substantially all byte values to the low frequency average value range threshold to determine if the received file is low frequency encrypted, and wherein the high frequency analysis of the file section c1a) calculates a high frequency entropy value for each of one or more of the plurality of subsections of bytes, c1b) calculates a high frequency average entropy value of the one or more plurality of subsection bytes, and c1c) determines a low calculated high frequency entropy value of the one or more plurality of subsection bytes, and c2a) compares the calculated high frequency average entropy value of the one or more plurality of subsection bytes to a high frequency entropy average threshold, c2b) compares the low calculated high frequency entropy value of the one or more plurality of subsection bytes to a high frequency entropy minimum threshold and c2c) compares the calculated high frequency high-low probability ratio value to a high frequency high-low probability threshold value to determine if the received file is high frequency encrypted. 7 . The processor implemented method for detecting a ransomware infection in a plurality of files according to claim 6 , wherein the low frequency entropy threshold value is 7.92, the low frequency average value range threshold

Assignees

Inventors

Classifications

  • G06F21/552Primary

    involving long-term monitoring or reporting · CPC title

  • involving event detection and direct action · CPC title

  • G06F21/565Primary

    by checking file integrity · CPC title

  • Test or assess a computer or a system · 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 US2020387609A1 cover?
This disclosure and the exemplary embodiments described herein, provide methods and systems for detecting a ransomware infection in one or more files. According to an exemplary embodiment, a low frequency encryption analysis and a high frequency encryption analysis of a plurality of received files is performed to determine if the one or more of the files are encrypted. If a file is encrypted, a…
Who is the assignee on this patent?
Datto Inc
What technology area does this patent fall under?
Primary CPC classification G06F21/552. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Dec 10 2020 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).