[Paper Review] Minerva: A File-Based Ransomware Detector
Minerva proposes a file-based ransomware detection system that builds behavioral profiles of files based on operations received over time windows, enabling detection of both traditional and evasive ransomware. It achieves 99.45% average accuracy and 99.66% average recall, detecting 99.97% of attacks within one second.
Ransomware attacks have caused billions of dollars in damages in recent years, and are expected to cause billions more in the future. Consequently, significant effort has been devoted to ransomware detection and mitigation. Behavioral-based ransomware detection approaches have garnered considerable attention recently. These behavioral detectors typically rely on process-based behavioral profiles to identify malicious behaviors. However, with an increasing body of literature highlighting the vulnerability of such approaches to evasion attacks, a comprehensive solution to the ransomware problem remains elusive. This paper presents Minerva, a novel, robust approach to ransomware detection. Minerva is engineered to be robust by design against evasion attacks, with architectural and feature selection choices informed by their resilience to adversarial manipulation. We conduct a comprehensive analysis of Minerva across a diverse spectrum of ransomware types, encompassing unseen ransomware as well as variants designed specifically to evade Minerva. Our evaluation showcases the ability of Minerva to accurately identify ransomware, generalize to unseen threats, and withstand evasion attacks. Furthermore, over 99% of detected ransomware are identified within 0.52sec of activity, enabling the adoption of data loss prevention techniques with near-zero overhead.
Motivation & Objective
- Address the critical vulnerability of process-based ransomware detectors to evasion attacks that distribute workload across benign-looking processes.
- Overcome the limitations of process-level behavioral modeling by shifting detection focus to file-level operations.
- Design a resilient detection system using features that are intrinsically tied to core ransomware behaviors and difficult to evade without increasing detectable overhead.
- Demonstrate effectiveness against both traditional and state-of-the-art evasive ransomware techniques.
- Ensure generalization to unseen ransomware variants through robust, adaptive feature selection.
Proposed method
- Construct file-based behavioral profiles by aggregating all system operations (e.g., read, write, open) performed on a file within a defined time window.
- Extract discriminative features from these profiles, including operation frequency, entropy of data, number of distinct processes accessing the file, and read/write mismatch indicators.
- Use machine learning to classify each file’s behavioral profile as benign or malicious based on these features.
- Identify ransomware processes as those interacting with files classified as malicious in their time window.
- Select features that are inherently linked to encryption behavior—such as high entropy in writes and frequent read/write operations—making evasion costly or detectable.
- Design the system to be resilient to adaptive attacks by ensuring that evading one feature (e.g., entropy) forces the malware to trigger others (e.g., high I/O volume).
Experimental results
Research questions
- RQ1Can file-level behavioral profiling detect ransomware more effectively than process-level behavioral modeling, especially under evasion attacks?
- RQ2Which file operation features are most discriminative for identifying both traditional and evasive ransomware?
- RQ3How quickly can a file-based detection system identify ransomware activity after malicious operations begin?
- RQ4To what extent is the detection model resilient to adaptive, unseen ransomware variants not present in the training data?
- RQ5Can features that are difficult to evade without increasing detectable system behavior improve detection robustness?
Key findings
- Minerva achieves an average accuracy of 99.45% and an average recall of 99.66% in detecting ransomware across diverse attack scenarios.
- 99.97% of ransomware attacks are detected within one second of the onset of malicious activity, demonstrating low-latency response.
- The system remains effective against evasive ransomware that distributes workload across multiple processes to mimic benign behavior, which bypasses process-level detectors.
- Minerva generalizes well to unseen ransomware variants, showing resilience to adaptive attacks that attempt to evade its specific features.
- Features such as average data entropy, operation frequency, and number of accessing processes are highly effective discriminators, as they are intrinsically tied to encryption behavior and hard to manipulate without detection.
- The file-based approach is inherently robust to common evasion techniques like process-level obfuscation and system call perturbation, as these do not alter the fundamental file-level behavior.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.