Recovery Point Objective Optimized File Recovery
US-2022100378-A1 · Mar 31, 2022 · US
US2025021648A1 · US · A1
| Field | Value |
|---|---|
| Publication number | US-2025021648-A1 |
| Application number | US-202418898976-A |
| Country | US |
| Kind code | A1 |
| Filing date | Sep 27, 2024 |
| Priority date | Mar 29, 2022 |
| Publication date | Jan 16, 2025 |
| Grant date | — |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Embodiments of this application provide a method for detecting ransomware, a related system, and a storage medium. The method includes: obtaining a partial feature of a target file based on preset data in the target file, where the partial feature includes a partial incremental entropy and/or partial histogram statistical data; determining, based on the partial feature of the target file, whether the target file is an encrypted file; and determining, if the target file is the encrypted file, that the target file is attacked by the ransomware. The method can increase file detection efficiency and accuracy.
Opening claim text (preview).
What is claimed is: 1 . A method for detecting ransomware, comprising: obtaining a partial feature of a target file based on preset data in the target file, wherein the partial feature comprises a partial incremental entropy and/or partial histogram statistical data; determining, based on the partial feature of the target file, whether the target file is an encrypted file; and determining, if the target file is the encrypted file, that the target file is attacked by the ransomware. 2 . The method according to claim 1 , wherein the method further comprises: obtaining a magic number and a file name extension of the target file; determining, based on a preset correspondence between the magic number and the file name extension, whether the magic number corresponds to the file name extension in the target file; and triggering, if the magic number corresponds to the file name extension in the target file, the operation of obtaining a partial feature of a target file based on preset data in the target file. 3 . The method according to claim 1 , wherein the method further comprises: obtaining a plurality of operation records of a plurality of operated files, wherein the plurality of operation records correspond to the plurality of operated files, and each of the plurality of operation records is for recording an operation on an operated file corresponding to the operation record; generating a plurality of operation mode sequences within first preset duration based on the plurality of operation records, wherein the plurality of operation mode sequences correspond to the plurality of operation records; obtaining, one by one from the plurality of operation mode sequences, an operation mode sequence that matches a preset operation mode sequence; and determining, when a quantity of operation mode sequences that match the preset operation mode sequence is greater than a first preset quantity, an operated file corresponding to the operation mode sequence that matches the preset operation mode sequence as the target file. 4 . The method according to claim 1 , wherein the method further comprises: obtaining a plurality of operation records of a plurality of operated files, and obtaining, based on the plurality of operation records, a same operated file on which a write operation is performed by a same device, wherein the plurality of operation records correspond to the plurality of operated files, and each of the plurality of operation records is for recording an operation on an operated file corresponding to the operation record; successively obtaining a write offset and a write length of the same operated file on which the write operation is performed by the same device; accumulating, if a current write offset is greater than a previous write offset for the same operated file on which the write operation is performed by the same device, a current write length and a previous write length for the same operated file to obtain an accumulated write length value of the same operated file; obtaining a write ratio of the same operated file based on a size of the same operated file and the accumulated write length value; and determining, if the write ratio of the same operated file within second preset duration is not less than a preset write ratio, the same operated file on which the write operation is performed by the same device as the target file. 5 . The method according to claim 1 , wherein the method further comprises: obtaining a plurality of operation records of a plurality of operated files, and obtaining operated files corresponding to a first operation based on the plurality of operation records, wherein the plurality of operation records correspond to the plurality of operated files, and each of the plurality of operation records is for recording an operation on an operated file corresponding to the operation record; obtaining, one by one from the operated files corresponding to the first operation, an operated file that matches a preset abnormal file name extension; and determining, when a quantity of operated files that match the preset abnormal file name extension is greater than a second preset quantity, the operated file that matches the preset abnormal file name extension as the target file. 6 . The method according to claim 1 , wherein the method further comprises: obtaining a plurality of operation records of a plurality of operated files, and obtaining an operated file corresponding to a second operation and a third operation based on the plurality of operation records, wherein the plurality of operation records correspond to the plurality of operated files, each of the plurality of operation records is for recording an operation on an operated file corresponding to the operation record, and the second operation and the third operation are operations corresponding to a same operated file; and determining, if a quantity of types of name extensions of operated files corresponding to the second operation is not less than a third preset quantity, a quantity of types of name extensions of operated files corresponding to the third operation is not less than a fourth preset quantity, and the quantity of types of the name extensions of the operated files corresponding to the second operation is greater than the quantity of types of the name extensions of the operated files corresponding to the third operation, the operated file corresponding to the second operation and the third operation as the target file. 7 . The method according to claim 1 , wherein the method further comprises: sending the target file to a user to determine whether the target file undergoes an encryption operation performed by the user; and sending an alarm prompt if the user does not perform the encryption operation on the target file. 8 . An apparatus for detecting ransomware, comprising at least one processor; and a computer-readable storage medium coupled to the at least one processor and storing programming instructions, the programming instructions, when executed by the at least one processor, instruct the at least one processor to perform the following operations: obtaining a partial feature of a target file based on preset data in the target file, wherein the partial feature comprises a partial incremental entropy and/or partial histogram statistical data; determining, based on the partial feature of the target file, whether the target file is an encrypted file; and determining, if the target file is the encrypted file, that the target file is attacked by the ransomware. 9 . The apparatus according to claim 8 , wherein the at least one processor is further configured to perform the following operations: obtaining a magic number and a file name extension of the target file; determining, based on a preset correspondence between the magic number and the file name extension, whether the magic number corresponds to the file name extension in the target file; and triggering, if the magic number corresponds to the file name extension in the target file, the operation of obtaining a partial feature of a target file based on preset data in the target file. 10 . The apparatus according to claim 8 , wherein the at least one processor is further configured to perform the following operations: obtaining a plurality of operation records of a plurality of operated files, wherein the plurality of operation records correspond to the plurality of operated files, and each of the plurality of operation records is for recording an operation on an operated file corresponding to the operation record; generating a plurality of operation mode sequences within first preset duration based on the plurality of operation
involving event detection and direct action · CPC title
Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities · CPC title
with visual {or acoustical} indication of the functioning of the machine · CPC title
by checking file integrity · CPC title
Computer malware detection or handling, e.g. anti-virus arrangements · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.