Ransomware detection in memory of a data processing unit using machine learning detection models
Abstract
Apparatuses, systems, and techniques for classifying one or more computer programs executed by a host device as being ransomware using a machine learning (ML) detection system. An integrated circuit is coupled to physical memory of a host device via a host interface. The integrated circuit hosts a hardware-accelerated security service to protect one or more computer programs executed by the host device. The security service obtains a series of snapshots of data stored in the physical memory and extracts a set of features from each snapshot of the series of snapshots, each snapshot representing the data at a point in time. The security service classifies a process of the one or more computer programs as ransomware or non-ransomware using the set of features and outputs an indication of ransomware responsive to the process being classified as ransomware.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 43 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method comprising: obtaining, using a data processing unit (DPU) operatively coupled to a host device, a series of snapshots of data stored in physical memory of the host device, the data being associated with one or more computer programs executed by the host device, wherein the series of snapshots of data are obtained by the DPU using out-of-band memory acquisitions isolated from the one or more computer programs; extracting, using a machine learning (ML) detection system, a set of features from each snapshot of the series of snapshots, each snapshot representing the data at a point in time; classifying, using the set of features and the ML detection system, a process of the one or more computer programs as ransomware or non-ransomware; and outputting an indication of ransomware responsive to the process being classified as ransomware.
- Claim 2Depends on #1
The method of claim 1, wherein the ML detection system comprises a random-forest classification model, wherein the random-forest classification model is a time-series-based model trained to classify a process as ransomware or non-ransomware using cascading of different numbers of snapshots in the series of snapshots.
- Claim 3Depends on #2
The method of claim 2, wherein the cascading of different numbers of snapshots in the series of snapshots comprises: a first number of snapshots obtained over a first amount of time; a second number of snapshots obtained over a second amount of time greater than the first amount of time, the second number of snapshots comprising the first number of snapshots; and a third number of snapshots obtained over a third amount of time greater than the second amount of time, the third number of snapshots comprising the second number of snapshots.
- Claim 4Depends on #1
The method of claim 1, wherein the ML detection system comprises a time-based classification model trained to classify a process as ransomware or non-ransomware using different feature sets over different amounts of time.
- Claim 5Depends on #4
The method of claim 4, wherein the different feature sets comprise: a first set of features extracted from a first set of snapshots, representing the data stored in the physical memory over a first period; and a second set of features extracted from a second set of snapshots, representing the data stored in the physical memory over a second period greater than the first period.
- Claim 6Depends on #5
The method of claim 5, wherein the different feature sets further comprise a third set of features extracted from a third set of snapshots, representing the data stored in the physical memory over a third period greater than the second period.
- Claim 7Depends on #1
The method of claim 1, wherein extracting the set of features comprises extracting the set of features from different memory plugins from each snapshot of the series of snapshots, wherein the data comprises information about each process of a list of processes of the one or more computer programs, wherein the set of features further comprises at least one of: information about one or more threads used by one or more processes in the list of processes; information about one or more modules used by one or more processes in the list of processes; information about handles used by one or more processes in the list of processes; information about virtual address descriptors (VADs); or information about environment variables.
- Claim 8Independent Claim
An integrated circuit comprising: a host interface operatively coupled to physical memory associated with a host device; a central processing unit (CPU) operatively coupled to the host interface; and an acceleration hardware engine operatively coupled to the host interface and the CPU, wherein the CPU and the acceleration hardware engine are to host a hardware-accelerated security service to protect the host device, wherein the hardware-accelerated security service is to: obtain a series of snapshots of data stored in the physical memory of the host device, the data being associated with one or more computer programs executed by the host device, wherein the series of snapshots of data are obtained by the hardware-accelerated security service using out-of-band memory acquisitions isolated from the one or more computer programs; extract, using a machine learning (ML) detection system, a set of features from each snapshot of the series of snapshots, each snapshot representing the data at a point in time; classify, using the set of features and the ML detection system, a process of the one or more computer programs as ransomware or non-ransomware; and output an indication of ransomware responsive to the process being classified as ransomware.
- Claim 9Depends on #8
The integrated circuit of claim 8, wherein the integrated circuit is a data processing unit (DPU), wherein the DPU is a programmable data center infrastructure on a chip, wherein the one or more computer programs comprises at least one of a host operating system (OS), an application, a guest operating system, or a guest application.
- Claim 10Depends on #8
The integrated circuit of claim 8, wherein: the hardware-accelerated security service is to obtain a series of snapshots of the data stored in the physical memory, each snapshot representing the data at a point in time; the ML detection system comprises: feature extraction logic to extract a set of features from different memory plugins from each snapshot of the series of snapshots; and a random-forest classification model, wherein the random-forest classification model is a time-series-based model trained to classify a process as ransomware or non-ransomware using cascading of different numbers of snapshots in the series of snapshots.
- Claim 11Depends on #10
The integrated circuit of claim 10, wherein the cascading of different numbers of snapshots in the series of snapshots comprises: a first number of snapshots obtained over a first amount of time; a second number of snapshots obtained over a second amount of time greater than the first amount of time, the second number of snapshots comprising the first number of snapshots; and a third number of snapshots obtained over a third amount of time greater than the second amount of time, the third number of snapshots comprising the second number of snapshots.
- Claim 12Depends on #8
The integrated circuit of claim 8, wherein the one or more computer programs reside in a first computing domain, wherein the hardware-accelerated security service and the ML detection system reside in a second computing domain different than the first computing domain.
- Claim 13Depends on #8
The integrated circuit of claim 8, wherein the hardware-accelerated security service is out-of-band security software in a trusted domain that is different and isolated from the ransomware.
- Claim 14Depends on #8
The integrated circuit of claim 8, further comprising a direct memory access (DMA) controller coupled to the host interface, wherein the DMA controller is to read the data from the physical memory via the host interface, wherein the host interface is a Peripheral Component Interconnect Express (PCIe) interface.
- Claim 15Independent Claim
A computing system comprising: a data processing unit (DPU) comprising a host interface, a central processing unit (CPU), and an acceleration hardware engine, the DPU to host a hardware-accelerated security service to protect a host device, wherein the hardware-accelerated security service is to extract a plurality of features from data stored in physical memory associated with the host device, the data being associated with one or more computer programs executed by the host device; and accelerated pipeline hardware coupled to the DPU, wherein the accelerated pipeline hardware is to: obtain a series of snapshots of data stored in the physical memory of the host device, the data being associated with the one or more computer programs, wherein the series of snapshots of data are obtained by the accelerated pipeline hardware using out-of-band memory acquisitions isolated from the one or more computer programs; extract, using a machine learning (ML) detection system, a set of features from each snapshot of the series of snapshots, each snapshot representing the data at a point in time; classify, using the set of features and the ML detection system, a process of the one or more computer programs as ransomware or non-ransomware; and output an indication of ransomware responsive to the process being classified as ransomware.
- Claim 16Depends on #15
The computing system of claim 15, wherein: the hardware-accelerated security service is to obtain a series of snapshots of the data stored in the physical memory, each snapshot representing the data at a point in time; the ML detection system comprises: feature extraction logic to extract a set of features from different memory plugins from each snapshot of the series of snapshots; and a random-forest classification model, wherein the random-forest classification model is a time-series-based model trained to classify a process as ransomware or non-ransomware using cascading of different numbers of snapshots in the series of snapshots.
- Claim 17Depends on #16
The computing system of claim 16, wherein the cascading of different numbers of snapshots in the series of snapshots comprises: a first number of snapshots obtained over a first amount of time; a second number of snapshots obtained over a second amount of time greater than the first amount of time, the second number of snapshots comprising the first number of snapshots; and a third number of snapshots obtained over a third amount of time greater than the second amount of time, the third number of snapshots comprising the second number of snapshots.
- Claim 18Depends on #15
The computing system of claim 15, wherein the one or more computer programs comprises at least one of a host operating system (OS), an application, a guest operating system, or a guest application, wherein the one or more computer programs reside in a first computing domain, wherein the hardware-accelerated security service resides in a second computing domain different than the first computing domain, and wherein the ML detection system resides in the second computing domain or a third computing domain different than the first computing domain and the second computing domain.
- Claim 19Depends on #15
The computing system of claim 15, wherein the hardware-accelerated security service is out-of-band security software in a trusted domain that is different and isolated from the ransomware.
- Claim 20Depends on #15
The computing system of claim 15, further comprising a direct memory access (DMA) controller coupled to the host interface, wherein the DMA controller is to read the data from the physical memory via the host interface, wherein the host interface is a Peripheral Component Interconnect Express (PCIe) interface.
Technical Overview & Description
RELATED APPLICATIONS This application is a continuation of U.S. application Ser. No. 17/864,303, filed Jul. 13, 2022, which claims the benefit of U.S. Provisional Application No. 63/309,849, filed Feb. 14, 2022, the entire contents of which are incorporated by reference. This application is related to co-pending U.S. application Ser. No. 17/864,306, co-pending U.S. application Ser. No. 17/864,310, and co-pending U.S. application Ser. No. 17/864,312, all of which were filed concurrently. TECHNICAL FIELD At least one embodiment pertains to processing resources used to perform and facilitate operations for detecting whether one or more computer programs are subject to malicious activity. For example, at least one embodiment pertains to processors or computing systems used to provide and enable a data processing unit (DPU) to determine, using a machine learning (ML) detection system, whether one or more computer programs, executed by a host device, are subject to malicious activity based on features extracted from data stored in physical memory of the host device, according to various novel techniques described herein. BACKGROUND Machine learning involves training a computing system-using training data-to identify features in data that may facilitate detection and classification. Training can be supervised or unsupervised. Machine learning models can use various computational algorithms, such as decision tree algorithms (or other rule-based algorithms), artificial neural networks, and the like. During an inference stage, new data is input into a trained machine learning model, and the trained machine learning model can classify items of interest using features identified during training. BRIEF DESCRIPTION OF DRAWINGS Various embodiments in accordance with the present disclosure will be described with reference to the drawings, in which: FIG. 1 A is a block diagram of an example system architecture, according to at least one embodiment. FIG. 1 B is a block diagram of an
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (43)
Non-Patent Literature (10)
- Botacin, M et al.,
- “
- Heaven: A Hardware-Enhanced AntiVirus ENgine to Accelerate Real-time, Signature-based Malware Detection
- ”
- , Expert Systems with Applications, 2022, pp. 1-16.
- Botacin, M et al.,
- “
- Near-Memory
- &
- In-Memory Detection of Fileless Malware,