Anomaly and ransomware detection
Some examples relate generally to computer architecture software for information security and, in some more particular aspects, to machine learning based on changes in snapshot metadata for anomaly and ransomware detection in a file system.
1. An anomaly and ransomware detection system, comprising:
a storage device configured to store one or more snapshots of a primary machine; and
one or more processors in communication with the storage device and a production system, the one or more processors configured to perform one or more anomaly and ransomware detection operations that are offloaded to a cloud-based software-as-a-service platform, the one or more anomaly and ransomware detection operations comprising:
taking a first snapshot and a second snapshot of the primary machine and storing the first snapshot and the second snapshot in the storage device;
identifying one or more changes in filesystem metadata based on the first snapshot and the second snapshot;
generating training data based on the one or more changes in the filesystem metadata;
training a first machine-learning model and a second machine-learning model using the training data, wherein the training of the first machine-learning model and the second machine-learning model is based on the training data being derived from snapshot-based metadata, and wherein the first machine-learning model is configured to detect anomalies and the second machine-learning model is configured to detect whether an anomaly is a ransomware encryption anomaly;
detecting the anomaly from a new snapshot of the primary machine using the first machine-learning model; and
passing, in response to detecting the anomaly, the new snapshot of the primary machine through the second machine-learning model to detect whether the detected anomaly is a ransomware encryption anomaly.
2. The anomaly and ransomware detection system of claim 1 , wherein the storage device is a backup storage device and the one or more changes in the filesystem metadata are sourced from a backup system that includes the backup storage device.
3. The anomaly and ransomware detection system of claim 1 , wherein the one or more anomaly and ransomware detection operations are performed without impacting the production system.
4. The anomaly and ransomware detection system of claim 1 , wherein the first machine-learning model and the second machine-learning model comprise an anomaly model, an encryption model, or both.
5. A computer-implemented method at an anomaly and ransomware detection system, the anomaly and ransomware detection system including one or more processors in communication with a storage device and a production system, the one or more processors configured to perform one or more anomaly and ransomware detection operations that are offloaded to a cloud-based software-as-a-service platform, the one or more anomaly and ransomware detection operations, comprising:
taking a first snapshot and a second snapshot of a primary machine and storing the first snapshot and the second snapshot in the storage device;
identifying one or more changes in filesystem metadata based on the first snapshot and the second snapshot;
generating training data based on the one or more changes in the filesystem metadata;
training a first machine-learning model and a second machine-learning model using the training data, wherein the training of the first machine-learning model and the second machine-learning model is based on the training data being derived from snapshot-based metadata, and wherein the first machine-learning model is configured to detect anomalies and the second machine-learning model is configured to detect whether an anomaly is a ransomware encryption anomaly;
detecting the anomaly from a new snapshot of the primary machine using the first machine-learning model; and
passing, in response to detecting the anomaly, the new snapshot of the primary machine through the second machine-learning model to detect whether the detected anomaly is a ransomware encryption anomaly.
6. The computer-implemented method of claim 5 , wherein the storage device is a backup storage device and the one or more changes in the filesystem metadata are sourced from a backup system that includes the backup storage device.
7. The computer-implemented method of claim 5 , wherein the one or more anomaly and ransomware detection operations are performed without impacting the production system.
8. The computer-implemented method of claim 5 , wherein the first machine-learning model and the second machine-learning model comprise an anomaly model, an encryption model, or both.
9. A non-transitory, machine-readable medium storing instructions which, when read by a machine, cause the machine to perform one or more anomaly and ransomware detection operations that are offloaded to a cloud-based software-as-a-service platform, the one or more anomaly and ransomware detection operations comprising:
taking a first snapshot and a second snapshot of a primary machine and storing the first snapshot and the second snapshot in a storage device;
identifying one or more changes in filesystem metadata based on the first snapshot and the second snapshot;
generating training data based on the one or more changes in the filesystem metadata;
training a first machine-learning model and a second machine-learning model using the training data, wherein the training of the first machine-learning model and the second machine-learning model is based on the training data being derived from snapshot-based metadata, and wherein the first machine-learning model is configured to detect anomalies and the second machine-learning model is configured to detect whether an anomaly is a ransomware encryption anomaly;
detecting the anomaly from a new snapshot of the primary machine using the first machine-learning model; and
passing, in response to detecting the anomaly, the new snapshot of the primary machine through the second machine-learning model to detect whether the detected anomaly is a ransomware encryption anomaly.
10. The non-transitory, machine-readable medium of claim 9 , wherein the storage device is a backup storage device and the one or more changes in the filesystem metadata are sourced from a backup system that includes the backup storage device.
11. The non-transitory, machine-readable medium of claim 9 , wherein the one or more anomaly and ransomware detection operations are performed without impacting a production system.
12. The non-transitory, machine-readable medium of claim 9 , wherein the first machine-learning model and the second machine-learning model comprise an anomaly model, an encryption model, or both.