# US 2026/0086737 A1 · Method and apparatus for ransomware detection

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0086737 A1
- Document ID: US20260086737A1
- Status: Published application
- Kind: A1
- Application number: 18/896,031
- Filed: 2024-09-25
- Published: 2026-03-26
- Earliest claimed: 2024-09-25
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Dikla SHAPIRO; Amit BERMAN; Elisha HALPERIN; Lior BINYAMINI; Evgeny BLAICHMAN; Noam LIVNE
- Web page: https://patentgrep.com/patent/US20260086737A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 21/554: {involving event detection and direct action}
- H04L 63/1416: {Event detection, e.g. attack signature detection}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A nonvolatile memory device includes a memory storing a read segments database and processing circuitry configured to parse read and write commands received from a host, detect write after read operations based on the read and write commands and the read segments database, determine features of the write after read operations, determine a probability of a ransomware attach based on the features, and output a warning in response to determining a likely ransomware attack.

## Claims

### Claim 1

A nonvolatile memory device comprising:
a memory storing a read segments database; and
processing circuitry configured to,
parse read and write commands received from a host,
detect write after read operations based on the read and write commands and the read segments database,
determine features of the write after read operations,
determine a probability of a ransomware attack based on the features, and
output a warning in response to determining a likely ransomware attack.

### Claim 2 (depends on 1)

The nonvolatile memory device of claim 1, wherein the read segments database includes a static hash table portion and a dynamic extensions list portion.

### Claim 3 (depends on 2)

The nonvolatile memory device of claim 2, wherein the hash table portion includes a plurality of chunk entries, and
wherein one or more of the chunk entries includes a pointer to a linked list of segment allocations.

### Claim 4 (depends on 3)

The nonvolatile memory device of claim 3, wherein the linked list of segment allocations includes a maximum of four segment allocations in the hash table portion corresponding with each chunk entry of the plurality of chunk entries.

### Claim 5 (depends on 4)

The nonvolatile memory device of claim 4, wherein a fourth segment allocation of a respective chunk entry of the plurality of chunk entries includes a pointer to a dynamic allocation included in the dynamic extensions list portion.

### Claim 6 (depends on 1)

The nonvolatile memory device of claim 1, wherein the processing circuitry is further configured to manage the read segments database.

### Claim 7 (depends on 1)

The nonvolatile memory device of claim 1, wherein the processing circuitry is further configured to classify the features using a random forest state machine.

### Claim 8 (depends on 7)

The nonvolatile memory device of claim 7, wherein the processing circuitry is further configured to determine the probability of the ransomware attack based on a majority vote of trees included in the random forest state machine.

### Claim 9 (depends on 2)

The nonvolatile memory device of claim 2, wherein the processing circuitry is further configured to manage the static hash table using cuckoo hashing.

### Claim 10 (depends on 2)

The nonvolatile memory device of claim 2, wherein the processing circuitry is further configured to manage the static hash table to be below 80% utilization.

### Claim 11

A method for determining a ransomware attack, the method comprising:
parsing read and write commands received from a host;
detecting write after read operations based on the read and write commands and a read segments database;
determining features of the write after read operations;
determining a probability of a ransomware attack based on the features; and
outputting a warning in response to determining a likely ransomware attack.

### Claim 12 (depends on 11)

The method of claim 11, wherein the read segments database includes a static hash table portion and a dynamic extension list portion.

### Claim 13 (depends on 12)

The method of claim 12, wherein the hash table portion includes a plurality of chunk entries, and
wherein one or more of the chunk entries includes a pointer to a linked list of segment allocations.

### Claim 14 (depends on 13)

The method of claim 13, wherein the linked list of segment allocations includes a number of segment allocations in the hash table portion corresponding with each chunk entry of the plurality of chunk entries.

### Claim 15 (depends on 14)

The method of claim 14, wherein a last segment allocation of the number of segment allocations of a respective chunk entry of the plurality of chunk entries includes a pointer to a dynamic allocation included in the dynamic extension list portion.

### Claim 16 (depends on 11)

The method of claim 11, wherein the determining the features includes classifying the features using a random forest state machine.

### Claim 17 (depends on 16)

The method of claim 16, wherein the determining the probability of the ransomware attack includes determining the probability based on a majority vote of trees included in the random forest state machine.

### Claim 18 (depends on 12)

The method of claim 12, further comprising:
managing the static hash table using cuckoo hashing.

### Claim 19

A system comprising:
a host; and
a nonvolatile memory device including a memory storing a read segments database and processing circuitry configured to
parse read and write commands received from the host,
detect write after read operations based on the read and write commands and the read segments database,
determine features of the write after read operations,
determine a probability of a ransomware attack based on the features, and
output a warning in response to determining a likely ransomware attack.

### Claim 20 (depends on 19)

The system of claim 19, wherein the read segments database includes a static hash table portion and a dynamic extension list portion.
